[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN109445916A - A kind of method and apparatus for clearing up Android system memory - Google Patents

A kind of method and apparatus for clearing up Android system memory Download PDF

Info

Publication number
CN109445916A
CN109445916A CN201811168915.8A CN201811168915A CN109445916A CN 109445916 A CN109445916 A CN 109445916A CN 201811168915 A CN201811168915 A CN 201811168915A CN 109445916 A CN109445916 A CN 109445916A
Authority
CN
China
Prior art keywords
android system
restarting
app
night
equipment
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.)
Pending
Application number
CN201811168915.8A
Other languages
Chinese (zh)
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.)
Yingwang Technology (shenzhen) Co Ltd
Original Assignee
Yingwang Technology (shenzhen) 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 Yingwang Technology (shenzhen) Co Ltd filed Critical Yingwang Technology (shenzhen) Co Ltd
Priority to CN201811168915.8A priority Critical patent/CN109445916A/en
Publication of CN109445916A publication Critical patent/CN109445916A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5022Mechanisms to release resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of method and apparatus for clearing up Android system memory, wherein clearing up the method for Android system memory comprising steps of collecting the habit of user's night use Android system, obtain the free time at Android system night;Android system is restarted within the free time at the night.The present invention is restarted Android system and is handled in the case where user's unaware, to promote the operational efficiency of the equipment of the operation Android system such as mobile phone.

Description

A kind of method and apparatus for clearing up Android system memory
Technical field
The present invention relates to Android system and its equipment more particularly to a kind of methods for clearing up Android system memory.
Background technique
It is well known that using android system (Android system) if mobile phone for a long time do not shut down, system will become Very Caton, even if user clears up memory, still not as good as smooth when being just switched on.The main reason for android system is more used and more is blocked Be there is extensive application running quietly from the background, and the basic cleaning of these applications is not fallen, they can receive it is various respectively After the Receiver notice of sample and wake up.As a comparison, the method that the background process killed in iOS system is restarted is very Limited, briefly, iOS is really to clear up memory, and many applications be can't get rid of in android system, constantly be lived again, respectively Kind process is stealthily being run from the background with service, so as to cause system Caton and power consumption.
Summary of the invention
In order to solve Android system Caton in the prior art the technical issues of proposes a kind of cleaning Android system memory Method, comprising steps of
The habit of user's night use Android system is collected, the free time at Android system night is obtained;
Android system is restarted within the free time at the night.
Method of the invention further include: the use state for recording Android system before the restart after restarting, restores Android The use state of system, and/or the APP of Android system is handled according to the habit of user.
Specifically: before restarting, record the list of all APP in current Android system in foreground;After restarting, according to Corresponding APP, which is opened, according to the list is at foreground.Before restarting, the ring status of current Android system is recorded;Restart Later, restore the corresponding ring status of Android system according to the ring status.It obtains user in nearest a period of time and uses peace The frequency of APP in tall and erect system;And before the restart, the occupied memory of the APP not used in preset duration is cleared up, and frozen Cleared up APP is tied, its self-starting is prevented.
Preferably, the specific flag bit of assignment before restarting judges whether the flag bit is assigned after restarting, thus Execute the recovery and/or processing operation.
Preferably, meet within the free time at the night Android system play music, from the background have data downloading, Equipment where Android system is in any one condition that the equipment where bright screen state, Android system is in in call Reboot operation is not executed then.
The invention also provides the equipment of the method cleaning Android system memory described by adopting the above technical scheme.
The equipment includes mobile phone, tablet computer.
Using the present invention, the equipment moment of the operation Android system such as mobile phone can be allowed to keep the higher speed of service, promoted User experience, while will not influence the normal use of user again.
Detailed description of the invention
Fig. 1 restarts flow chart for a preferred embodiment of the invention.
Fig. 2 is to restore flow chart after the restarting of an of the invention preferred embodiment.
Specific embodiment
The method of cleaning Android system memory proposed by the present invention takes the mobile phone as an example.
As shown in Figure 1 and Figure 2, this method first collects the habit of user's night use Android system, obtains Android system night Free time restart mobile phone within the free time at Android system night, avoid most of user from restarting using mobile phone shutdown Frequency is seldom, is only just to go the problem of restarting mobile phone Caton is not all right.Solve that modern life rhythm is fast, and people are reluctant simultaneously Meaning waits this period for restarting booting.
, can be within the free time at Android system night on the basis of above-mentioned technical proposal, further judgement is used Whether family is also using mobile phone, specifically includes: then to regard as user and using mobile phone when user is when playing music;Work as hand There is downloading task on machine backstage, then it is assumed that user is using mobile phone;When mobile phone is in bright screen state, then it is assumed that user is using hand Machine;When mobile phone is in talking state, then it is assumed that user is using mobile phone.If meeting any one in these conditions, then not Restart mobile phone.
On the basis of above-mentioned technical proposal, the use state of Android system can be further recorded before the restart, After restarting, restore the use state of Android system, and/or handle APP according to the use habit of user.
Specifically the list of all APP in current Android system in foreground can be recorded, then again before the restart After restarting, the list according to record opens corresponding APP and is at foreground.The bell of current Android system is recorded before restarting Sound state restores the corresponding ring status of Android system according to the ring status after restarting.It obtains in nearest a period of time User uses the frequency of APP in Android system, and before the restart, and the APP not used in preset duration is occupied interior Cleaning is deposited, and freezes cleared up APP, prevents its self-starting.
The specific flag bit of assignment before the restart judges whether the flag bit is assigned after restarting, to be different from Common restarts, to execute above-mentioned recovery and/or processing operation.And user in the reboot process also do not light by mobile phone screen, Booting the tinkle of bells is not issued simultaneously yet.
The present invention also protects the equipment using above method cleaning Android system memory simultaneously.The equipment is enumerated in addition to above-mentioned Mobile phone other than, further include tablet computer etc. other use Android system equipment.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (9)

1. a kind of method for clearing up Android system memory, which is characterized in that comprising steps of
The habit of user's night use Android system is collected, the free time at Android system night is obtained;
Android system is restarted within the free time at the night.
2. the method as described in claim 1, which is characterized in that further include: record Android system before the restart uses shape State after restarting, restores the use state of Android system, and/or according to the habit of user to the APP of Android system at Reason.
3. method according to claim 2, which is characterized in that specifically: before restarting, records and be in current Android system The list of all APP on foreground;After restarting, corresponding APP is opened according to the list and is at foreground.
4. method according to claim 2, which is characterized in that specifically: before restarting, record the tinkle of bells of current Android system State;After restarting, restore the corresponding ring status of Android system according to the ring status.
5. method according to claim 2, which is characterized in that specifically: it obtains user in nearest a period of time and uses Android The frequency of APP in system;And before the restart, the occupied memory of the APP not used in preset duration is cleared up, and freezed The APP cleared up prevents its self-starting.
6. method according to claim 2, which is characterized in that the specific flag bit of assignment before restarting judges after restarting Whether the flag bit is assigned, thereby executing the recovery and/or processing operation.
7. the method as described in claim 1, which is characterized in that meet Android system within the free time at the night and broadcasting Equipment where putting the music on, having data to be in bright screen state, Android system in the equipment where downloading, Android system from the background is in Any one condition in call does not execute reboot operation then.
8. using the equipment of the cleaning Android system memory of method described in above-mentioned any one claim.
9. equipment as claimed in claim 8, which is characterized in that the equipment includes mobile phone, tablet computer.
CN201811168915.8A 2018-10-08 2018-10-08 A kind of method and apparatus for clearing up Android system memory Pending CN109445916A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811168915.8A CN109445916A (en) 2018-10-08 2018-10-08 A kind of method and apparatus for clearing up Android system memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811168915.8A CN109445916A (en) 2018-10-08 2018-10-08 A kind of method and apparatus for clearing up Android system memory

Publications (1)

Publication Number Publication Date
CN109445916A true CN109445916A (en) 2019-03-08

Family

ID=65545017

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811168915.8A Pending CN109445916A (en) 2018-10-08 2018-10-08 A kind of method and apparatus for clearing up Android system memory

Country Status (1)

Country Link
CN (1) CN109445916A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1569105B1 (en) * 2004-02-25 2009-04-15 Research In Motion Limited Memory management system and method for a mobile device
CN106371897A (en) * 2015-07-20 2017-02-01 青岛海信移动通信技术股份有限公司 Method and device for optimizing memory of intelligent mobile phone
CN107766134A (en) * 2017-09-26 2018-03-06 厦门美图移动科技有限公司 The cleaned system method and mobile device of a kind of mobile device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1569105B1 (en) * 2004-02-25 2009-04-15 Research In Motion Limited Memory management system and method for a mobile device
CN106371897A (en) * 2015-07-20 2017-02-01 青岛海信移动通信技术股份有限公司 Method and device for optimizing memory of intelligent mobile phone
CN107766134A (en) * 2017-09-26 2018-03-06 厦门美图移动科技有限公司 The cleaned system method and mobile device of a kind of mobile device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
OO莫醒醒OO: "《时刻保持性能 安卓自动重启技巧》", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/9FAA72315A50EE473C28CBD4.HTML》 *
胡思乱想: "《Android系统中利用crond功能的实现手机的定时重启或关机》", 《HTTPS://BLOG.SINA.COM.CN/S/BLOG_5374096D0101JMEL.HTML》 *

Similar Documents

Publication Publication Date Title
CN103092700B (en) Internal memory method for cleaning, device and terminal unit
CN109213539B (en) Memory recovery method and device
CN105656714B (en) Data acquisition reporting method and device for mobile equipment
CN105677477B (en) Method and device for optimizing application program resources and electronic equipment
US9164748B2 (en) Information backup method and apparatus
CN106256116B (en) A kind of method and terminal controlling application program
US20160048682A1 (en) Method and Apparatus for Clearing Malicious Power-Consuming Application, and User Terminal
CN104079724B (en) A kind of Mobile phone card falls card restoration methods and the mobile terminal of application Mobile phone card
CN106921506B (en) Data acquisition reporting method and system for mobile equipment
CN104461742B (en) Calculate equipment optimization method and device
CN103064716A (en) Method for fast uninstalling application programs of mobile terminal devices
CN103034516A (en) Terminal and method for opening application program
CN111258921A (en) Method and device for recycling garbage memory, electronic equipment and storage medium
WO2015120702A1 (en) Method, device, and mobile terminal for cleaning up application process
CN106445604A (en) Clearing method and device for applications
CN111045824A (en) Application control method and device, electronic equipment and computer readable medium
CN106095503A (en) The starting-up method of intelligent terminal and system
CN106844655A (en) Information processing method, device and computer equipment
US20080267176A1 (en) Selective preservation of network state during a checkpoint
CN110308951A (en) A kind of processing method and processing device of startup interface Caton, equipment, storage medium
CN103746835A (en) Data downloading method and apparatus
CN109445916A (en) A kind of method and apparatus for clearing up Android system memory
CN105592361A (en) Set top box background program cleaning method, device and system
CN107506235A (en) A kind of device and method for forbidding application program automatic running
CN104461922A (en) System optimization method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Two road 518000 Guangdong city of Shenzhen province Nanshan District Xili Kan industrial building D No. 11 501

Applicant after: INONE TECHNOLOGY (SHENZHEN) Co.,Ltd.

Address before: Shenzhen Nanshan District City, Guangdong province 518000 Dengliang road hancon center 702

Applicant before: INONE TECHNOLOGY (SHENZHEN) Co.,Ltd.

CB02 Change of applicant information
CB02 Change of applicant information

Address after: 253000 No. 6596, Dongfanghong East Road, Yuanqiao Town, economic and Technological Development Zone, De Zhou City, Shandong Province (e-n-303-46, Dezhou Zhongyuan science and technology innovation and entrepreneurship Park)

Applicant after: Yingwang Technology (Shandong) Co.,Ltd.

Address before: 518000 Room 501, building D, No. 11, Xili Dakan industrial Second Road, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: INONE TECHNOLOGY (SHENZHEN) Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20190308

RJ01 Rejection of invention patent application after publication