CN105279018B - A kind of method and terminal of closing information push - Google Patents

A kind of method and terminal of closing information push Download PDF

Info

Publication number
CN105279018B
CN105279018B CN201510718487.1A CN201510718487A CN105279018B CN 105279018 B CN105279018 B CN 105279018B CN 201510718487 A CN201510718487 A CN 201510718487A CN 105279018 B CN105279018 B CN 105279018B
Authority
CN
China
Prior art keywords
time
application message
push
terminal
message push
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510718487.1A
Other languages
Chinese (zh)
Other versions
CN105279018A (en
Inventor
李路路
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510718487.1A priority Critical patent/CN105279018B/en
Publication of CN105279018A publication Critical patent/CN105279018A/en
Application granted granted Critical
Publication of CN105279018B publication Critical patent/CN105279018B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses the methods and terminal of a kind of push of closing information, and wherein the method, is applied to terminal, including:When detecting that application message pushes event, the runing time of statistics application information push, the runing time is current time and detects that application message pushes the time segment length between the time of event;When the runing time of application message push is more than the retention time of pre-set application message push and user does nothing application message push in the runing time, closes the application message and push corresponding process.Technical solution provided by the invention, when the runing time of application message push is greater than pre-set retention time and when interior user does nothing application message push at runtime, it closes application message and pushes corresponding process, overcome the problems such as user does not handle occupied terminal memory caused by information push, the decline of terminal cruising ability and Caton phenomenon for a long time.

Description

A kind of method and terminal of closing information push
Technical field
A kind of method pushed the present embodiments relate to terminal applies technical field more particularly to closing information and end End.
Background technique
With the development of smart machine, user may will be installed various application programs on intelligent devices, such as browser Client, shopping and client of game class etc..The message such as news or notice are usually pushed to by above-mentioned various clients User, so that user understands multidate information in time.
Information pushes while bringing advantage to the user, and also many detrimental effects is brought to user, for example, information The central processing unit of frequent dispatch terminal is pushed, system loading is increased, reduce mobile phone cruising ability, committed memory space and is gone out Existing Caton phenomenon etc..To solve the above problems, generally pushing or will apply by the manual closing information of user in the prior art Message push be set as exempting to push.
Summary of the invention
The present invention provides the method and terminal of a kind of closing message push, to overcome user not handle information push for a long time Caused by occupied terminal memory, the decline of terminal cruising ability and the problems such as Caton phenomenon.
On the one hand, the invention discloses a kind of methods of closing information push.The method is applied to terminal, including:? Detect application message push event when, statistics application information push runing time, the runing time be current time with Detect the time segment length between the time of application message push event;When the runing time of application message push is more than The retention time of pre-set application message push and user pushes not the application message in the runing time When carrying out any operation, closes the application message and push corresponding process.
On the other hand, the embodiment of the invention also discloses a kind of terminals of closing information push.The terminal, including:Fortune Row time statistical module, for when detecting that application message pushes event, the runing time of statistics application information push to be described Runing time is current time and detects that application message pushes the time segment length between the time of event;Information push terminates Module, for when the application message push runing time be more than pre-set application message push retention time and When user does nothing application message push in the runing time, the application message push pair is closed The process answered.
Technical solution provided by the invention, when the runing time of application message push is greater than pre-set retention time And at runtime interior user to application message push do nothing when, close application message push it is corresponding into Journey overcomes user and does not handle occupied terminal memory caused by information push, the decline of terminal cruising ability and Caton for a long time The problems such as phenomenon.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of the method for closing information push that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow diagram of the method for closing information push provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of structural schematic diagram one of the terminal for closing information push that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural schematic diagram two of the terminal for closing information push that the embodiment of the present invention three provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing or method described as flow chart.Although operations (or step) are described as the processing of sequence by flow chart, Many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be pacified again Row.The processing can be terminated when its operations are completed, it is also possible to have the additional step being not included in attached drawing.Institute Stating processing can correspond to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 is a kind of flow diagram of the method for closing information push that the embodiment of the present invention one provides.This method can To be executed by terminal, realized with software or example, in hardware, the terminal be such as smart phone, tablet computer, etc physics Equipment.Referring to Fig. 1, the method provided in this embodiment for closing message push specifically comprises the following steps S110- step S120:
Step S110:When detecting that application message pushes event, the runing time of statistics application information push, the fortune The row time is current time and detects that application message pushes the time segment length between the time of event.
When the reception information of application software in terminal pushes this function and is turned on, if terminal open mobile network or Person is in certain local area network, and terminal can receive the push of the information from internet.Information push can be application software The application message push that developer periodically sends to user terminal can also be based on the recent search record of user, Yong Huguan System and user behavior etc. may interested application letters by the user that internet excavates by the supplier of the application software Breath push.
When terminal through internet network receives application message push, that is, detect the push thing of application message push Part, to the time of application push event, when user pushes without any processing application message, meter when terminal record detects Calculate the time of detection push event and the time difference of current time, the runing time as application message push.
Step S120:When the runing time of application message push is more than the reservation of pre-set application message push Time and when user does nothing application message push in the runing time, close application letter Breath pushes corresponding process.
When the runing time in the terminal of application message push is more than the reservation of pre-set application message push Between when, show user may to the application message of terminal push lose interest in or without the time go concern application message push, Application message push occupies the memory of terminal, and application message push consumes terminal while operation in the system background of terminal Electricity consumption, reduce the cruising ability of terminal, and multiple application messages push push simultaneously is likely to cause user and opens There is Caton phenomenon in terminal when terminal.Therefore, when the runing time of application message push in the terminal is more than pre-set answers When the retention time and user pushed with information does nothing application message push, application message push is closed Process discharges terminal memory.
Wherein, application message push retention time length be configured according to the personal considerations of user, if User wishes the longer of the retention time setting that the time of application message push retention is longer, can push application message, If a period of time is busy recently by user, the push of sufficient time browse application information does not want to still receive to answer again It is pushed with information, application message can be pushed retention time and be set as the short period by user.The retention time of application message push Length can also be configured according to the system configuration of terminal.When the memory capacity of terminal is larger, application message pushes institute The memory of occupancy is smaller in contrast, and the retention time of application message push can be set longer;When the storage of terminal is held When measuring relatively small, application message push occupy memory it is relatively large, and have multiple application messages push when, it is most likely that Cause the phenomenon that cessation reaction is slow, at this point, application message push retention time can be set it is shorter.Further, institute The retention time for stating application message push is configured in terminal system or in the application program of terminal.At some ends In end, each application program can be assigned the memory headroom of certain capacity, when the memory headroom capacity of application program is enough, The retention time of the application message push can be set in the general setting of application program.In addition, user can also be at end The retention time of setting application push in the system at end, further, when the retention time of application message push is in terminal In when being configured, the retention time of multiple applications can be set as the reservation of same value or multiple applications simultaneously Time can be respectively set.
Technical solution provided in an embodiment of the present invention, when the runing time of application message push is greater than pre-set reservation When the time and when interior user does nothing application message push at runtime, closes application message push and correspond to Process, overcome user for a long time do not handle information push caused by occupied terminal memory, terminal cruising ability decline and The problems such as Caton phenomenon.
Embodiment two
Fig. 2 is a kind of flow diagram of the method for closing information push provided by Embodiment 2 of the present invention.Referring to fig. 2, The step S110 of embodiment one, when detecting that application message pushes event, the runing time of statistics application information push, specifically Including step S210- step S220:
Step S210, it detects the application message and pushes event, record the process identification (PID) of the application message push;
Step S220, the initial time for recording application message push, count the application process mark it is corresponding into The runing time of journey, and the process identification (PID) and the runing time are stored to spatial cache.
When terminal detects that application message pushes the time, what process identification (PID) and information to application message push pushed Initial time is recorded, and terminal makes the difference current time and initial time, when calculating the simultaneously operation of statistics application information push Between, the runing time of process identification (PID) and statistics that terminal pushes application message is stored into the spatial cache of terminal, statistics Runing time is used for and the retention time of application message push compares.
Referring to fig. 2, the step S120 of embodiment one, when the application message push runing time be more than the reservation when Between and in the runing time user to the application message push do nothing when, close the application message Corresponding process is pushed, step S230- step S240 is specifically included:
Step S230, whether runing time described in real-time judge is more than the retention time;
Step S240, when the runing time is more than the retention time and user answers in the runing time described When being done nothing with information push, terminates the corresponding process of the process identification (PID), empty the spatial cache.
Compared with the runing time of the application message push of terminal statistics carries out in real time with the retention time that application message pushes, When retention time of the runing time of application message push more than application message push and in the operation of application message push Interior user pushes without any processing application message, then terminates the corresponding process of application message push process identification (PID), deposit It stores up and is removed in the statistical time of the application message push of spatial cache and the process identification (PID) of application message push, spatial cache It is emptied.
Technical solution provided in an embodiment of the present invention, when the runing time of application message push is greater than pre-set reservation When the time and when interior user does nothing application message push at runtime, closes application message push and correspond to Process, overcome user for a long time do not handle information push caused by occupied terminal memory, terminal cruising ability decline and The problems such as Caton phenomenon.
Embodiment three
Fig. 3 is a kind of structural schematic diagram one of the terminal for closing information push that the embodiment of the present invention three provides.The end Hold the method for executing the promotion of the closing information in embodiment one and embodiment two.Referring to Fig. 3, the end of closing information push End, specifically includes with lower module:
Run time statistics module 31, for detect application message push event when, statistics application information push Runing time, the runing time are current time and detect that application message pushes the time segment length between the time of event Degree;
Information pushes ending module 32, for being more than pre-set application when the runing time of application message push Information push retention time and in the runing time user to the application message push do nothing when, It closes the application message and pushes corresponding process.
Further, the retention time of the application message push is in terminal system or in the application program of terminal It is configured.
Further, when the retention time of application message push is configured in the terminal, the institute of multiple applications Stating retention time and being set as same value or the retention time of multiple applications simultaneously can be respectively set.
Fig. 4 is a kind of structural schematic diagram two of the terminal for closing information push that the embodiment of the present invention three provides.Further Ground, referring to fig. 4, run time statistics module 31 specifically includes:
Process identification (PID) recording unit 311 records the application message push for detecting the application message push event Process identification (PID);
Run time statistics unit 312 counts the process mark for recording the initial time of the application message push The runing time of knowledge, and the process identification (PID) and the runing time are stored to spatial cache.
Further, referring to fig. 4, information pushes ending module 32, including:
Whether judging unit 321 is more than the retention time for runing time described in real-time judge;
The process end unit 322 of information push, for when the runing time is more than the retention time and user exists When doing nothing in the runing time to application message push, terminate the process of the application message push, Empty the spatial cache
Technical solution provided in an embodiment of the present invention pushes ending module composition by run time statistics module and information Terminal, when application message push runing time be more than pre-set application message push retention time and transporting When user does nothing application message push in the row time, closes application message and pushes corresponding process, it overcomes User does not handle occupied terminal memory caused by information push, the decline of terminal cruising ability and Caton phenomenon etc. for a long time and asks Topic.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, any to be familiar with this profession Technical staff, without departing from the scope of the present invention, when the technology contents using the disclosure above make a little change More or modify etc., any modification, equivalent replacement or improvement done within the spirit and principles of the present invention etc. should all include Within protection scope of the present invention.

Claims (8)

1. a kind of method of closing information push, is applied to terminal, which is characterized in that including:
When detecting that application message pushes event, the runing time of statistics application information push, the runing time is current Time segment length between time and the time for detecting application message push event;
When retention time of the runing time that the application message pushes more than the push of pre-set application message and in institute When stating in runing time user and doing nothing to application message push, it is corresponding to close the application message push Process;
Wherein, when detecting that application message pushes event, the runing time of statistics application information push, the runing time is Time segment length between current time and the time for detecting application message push event, including:
The application message push event is detected, the process identification (PID) of the application message push is recorded;
The initial time for recording the application message push counts the runing time that the application process identifies corresponding process, And the process identification (PID) and the runing time are stored to spatial cache.
2. the method according to claim 1, wherein the retention time of application message push is in terminal system It is configured in system or in the application program of terminal.
3. according to the method described in claim 2, it is characterized in that, working as the retention time of application message push in the terminal When being configured, when the retention time of multiple applications can be set as the reservation of same value or multiple applications simultaneously Between can be respectively set.
4. the method according to claim 1, wherein when the runing time of application message push is more than described Retention time and when user does nothing application message push in the runing time, is answered described in closing Corresponding process is pushed with information, including:
Whether runing time described in real-time judge is more than the retention time;
When the runing time is more than the retention time and user pushes not the application message in the runing time When carrying out any operation, terminates the corresponding process of the process identification (PID), empty the spatial cache.
5. a kind of terminal of closing information push, which is characterized in that including:
Run time statistics module, for detect application message push event when, statistics application information push operation when Between, the runing time is current time and detects that application message pushes the time segment length between the time of event;
Information pushes ending module, for being more than that pre-set application message pushes away when the runing time of application message push The retention time sent and when user does nothing application message push in the runing time, closes institute It states application message and pushes corresponding process;
Wherein, the run time statistics module, including:
Process identification (PID) recording unit records the process of the application message push for detecting the application message push event Mark;
It is right to count the process identification (PID) institute for recording the initial time of the application message push for run time statistics unit The runing time of process is answered, and the process identification (PID) and the runing time are stored to spatial cache.
6. terminal according to claim 5, which is characterized in that the retention time of the application message push is in terminal system It is configured in system or in the application program of terminal.
7. terminal according to claim 6, which is characterized in that when the application message push retention time in the terminal When being configured, when the retention time of multiple applications can be set as the reservation of same value or multiple applications simultaneously Between can be respectively set.
8. terminal according to claim 5, which is characterized in that the information pushes ending module, including:
Whether judging unit is more than the retention time for runing time described in real-time judge;
The process end unit of information push, for when the runing time is more than the retention time and user is in the operation When being done nothing in the time to application message push, terminates the process of the application message push, empty described Spatial cache.
CN201510718487.1A 2015-10-28 2015-10-28 A kind of method and terminal of closing information push Active CN105279018B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510718487.1A CN105279018B (en) 2015-10-28 2015-10-28 A kind of method and terminal of closing information push

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510718487.1A CN105279018B (en) 2015-10-28 2015-10-28 A kind of method and terminal of closing information push

Publications (2)

Publication Number Publication Date
CN105279018A CN105279018A (en) 2016-01-27
CN105279018B true CN105279018B (en) 2018-11-20

Family

ID=55148070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510718487.1A Active CN105279018B (en) 2015-10-28 2015-10-28 A kind of method and terminal of closing information push

Country Status (1)

Country Link
CN (1) CN105279018B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227530A (en) * 2016-07-21 2016-12-14 宇龙计算机通信科技(深圳)有限公司 A kind of configuration information pushes method and the mobile terminal of authority
WO2018032165A1 (en) * 2016-08-14 2018-02-22 阮元 Method for adjusting information transmission based on other user feedbacks and server
WO2018032195A1 (en) * 2016-08-14 2018-02-22 阮元 Method and server for adjusting information providing technology according to other users' feedback
WO2018032194A1 (en) * 2016-08-14 2018-02-22 阮元 Method and server for adjusting technology for increasing probability of user-desired information
CN106407074A (en) * 2016-09-13 2017-02-15 宇龙计算机通信科技(深圳)有限公司 Message pushing method and system
CN108228352B (en) * 2017-12-29 2021-07-20 北京视觉世界科技有限公司 Event filtering method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092700A (en) * 2013-02-01 2013-05-08 华为终端有限公司 Internal memory cleaning method and cleaning device and terminal device
CN103838630A (en) * 2014-03-03 2014-06-04 联想(北京)有限公司 Information processing method, system and electronic equipment
CN103984468A (en) * 2014-04-21 2014-08-13 联想(北京)有限公司 Method and device for information processing
CN104135424A (en) * 2014-02-14 2014-11-05 腾讯科技(深圳)有限公司 Application information push method, application server, application terminal and application information push system
CN104598315A (en) * 2014-12-12 2015-05-06 广州三星通信技术研究有限公司 Memory managing method, device and terminal
CN104717616A (en) * 2013-12-13 2015-06-17 腾讯科技(深圳)有限公司 Push message management method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092700A (en) * 2013-02-01 2013-05-08 华为终端有限公司 Internal memory cleaning method and cleaning device and terminal device
CN104717616A (en) * 2013-12-13 2015-06-17 腾讯科技(深圳)有限公司 Push message management method and device
CN104135424A (en) * 2014-02-14 2014-11-05 腾讯科技(深圳)有限公司 Application information push method, application server, application terminal and application information push system
CN103838630A (en) * 2014-03-03 2014-06-04 联想(北京)有限公司 Information processing method, system and electronic equipment
CN103984468A (en) * 2014-04-21 2014-08-13 联想(北京)有限公司 Method and device for information processing
CN104598315A (en) * 2014-12-12 2015-05-06 广州三星通信技术研究有限公司 Memory managing method, device and terminal

Also Published As

Publication number Publication date
CN105279018A (en) 2016-01-27

Similar Documents

Publication Publication Date Title
CN105279018B (en) A kind of method and terminal of closing information push
CN110874440B (en) Information pushing method and device, model training method and device, and electronic equipment
CN108156006B (en) Buried point data reporting method and device and electronic equipment
Yu et al. The lifecyle of a youtube video: Phases, content and popularity
US10897641B2 (en) Notifications on mobile devices
CN104579912B (en) Data pushing method and device
US20200219016A1 (en) Method for Cleaning Up Background Application, Storage Medium, and Electronic Device
CN107835311B (en) Application management method and device, storage medium and electronic equipment
CN109582470B (en) Data processing method and data processing device
CN108111554B (en) Control method and device for access queue
US9823945B2 (en) Method and apparatus for managing application program
WO2019062460A1 (en) Application control method and apparatus, storage medium and electronic device
CN109948077A (en) User behavior data acquisition method, device, equipment and computer storage medium
CN108595448B (en) Information pushing method and device
CN111405030B (en) Message pushing method and device, electronic equipment and storage medium
US20210350273A1 (en) Automatic machine learning feature backward stripping
WO2019062405A1 (en) Application program processing method and apparatus, storage medium, and electronic device
WO2022161325A1 (en) Prompting method and electronic device
CN107179930A (en) Method and device is recommended in one kind application unloading
CN104021218A (en) Information display method and device
CN104169902A (en) Synchronizing local and remote data
CN104360934A (en) Mobile terminal and processing method for notification of application program of mobile terminal
CN105354491B (en) Intelligent terminal standby mode detection method and device
CN107193562A (en) A kind of image processing method and device
CN107870811B (en) Application cleaning method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

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

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

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

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder