CN105843367A - Application processing method and electronic device - Google Patents

Application processing method and electronic device Download PDF

Info

Publication number
CN105843367A
CN105843367A CN201610177909.3A CN201610177909A CN105843367A CN 105843367 A CN105843367 A CN 105843367A CN 201610177909 A CN201610177909 A CN 201610177909A CN 105843367 A CN105843367 A CN 105843367A
Authority
CN
China
Prior art keywords
application program
file
electronic equipment
configuration file
measurement period
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
CN201610177909.3A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610177909.3A priority Critical patent/CN105843367A/en
Publication of CN105843367A publication Critical patent/CN105843367A/en
Pending legal-status Critical Current

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

Abstract

The present invention provides an application processing method and an electronic device. The application processing method comprises: acquiring use information of an application installed in an electronic device within a preset statistical period; if the use information meets a preset condition, deleting a configuration file of the application; and compressing a data file of the application, so as to obtain a compressed file, and deleting the data file. According to the method provided by the embodiments of the present invention, by collecting statistics of applications of which the use information within the preset statistical period meets the preset condition, and deleting the configuration file of the application, the application can be frozen, so as to avoid startup; and deletion of the data file can save the storage space of the electronic device, so as to solve the problems that in the prior art, electricity consumption of the electronic device is increased, standby time is shortened and the storage space of the electronic device is reduced because the number of applications with a low use frequency and low use time is increased and the applications are awakened for many times, so that user experience is affected.

Description

The processing method of a kind of application program and electronic equipment
Technical field
The present invention relates to field of computer technology, the processing method and the electronics that particularly relate to a kind of application program set Standby.
Background technology
Along with the Internet and the development of software engineering, the application program in android system gets more and more, Android system is almost not added with any restriction for application program.Application program can unrestrictedly be registered extensively Broadcast receiver, when corresponding event occurs, be waken up operation, this kind of event such as signal intensity, geography Change in location, intervalometer have arrived etc..And in these events, some is the most per minute all to change , such as signal intensity, electric quantity change etc..If application program have registered the broadcast of a lot of this kind of event Receiver, can cause application program to abuse authority undoubtedly, uses frequency and uses time low-down application to increase Add, thus increase the consumption of electricity.And along with the increase of application program, the memory space of electronic equipment more comes The least, affect the experience of user.
Summary of the invention
The purpose of the embodiment of the present invention is to provide processing method and the electronic equipment of a kind of application program, it is intended to Solving along with application increases in prior art, the number of times that application is waken up also can increase, thus causes electronics to set The stand-by time that increases standby electric quantity consumption shortens and the reduction of electronic equipment memory space affects user's experience Problem.
First aspect, the embodiment of the present invention provides the processing method of a kind of application program, including:
Obtain the application program being installed on electronic equipment use information in default measurement period;
If use information meets pre-conditioned, then delete the configuration file of application program;
The data file of compression application program, it is thus achieved that compressed file, and delete data file.
Second aspect, the embodiment of the present invention also provides for a kind of electronic equipment, including:
Acquisition module, for obtaining application program the making in default measurement period being installed on electronic equipment Use information;
Removing module, if meeting pre-conditioned for use information, then deletes the configuration file of application program;
Processing module, for compressing the data file of application program, it is thus achieved that compressed file, and deletes data literary composition Part.
The technique scheme of the embodiment of the present invention at least includes following beneficial effect:
By obtaining the use information in default measurement period of the application program on electronic equipment, use is believed Breath compares with predetermined threshold value, when application program use information in default measurement period is less than presetting threshold During value, it is determined that use information meets pre-conditioned, then delete the configuration file of application program, and journey will be applied The data file compression of sequence deletes the data file of application program after obtaining compressed file, to save electronic equipment Memory space, improve user experience.And by deleting the configuration literary composition using less application program Part, can avoid these application programs to be waken up, thus saves the electricity of electronic equipment, extends electronic equipment Stand-by time.
Accompanying drawing explanation
Fig. 1 is the processing method schematic diagram of the embodiment of the present invention one application program;
Fig. 2 is the processing method schematic diagram of the embodiment of the present invention two application program;
Fig. 3 is the processing method schematic diagram of the embodiment of the present invention three application program;
Fig. 4 is the processing method schematic diagram of the embodiment of the present invention four application program;
Fig. 5 is embodiment of the present invention electronic equipment schematic diagram one;
Fig. 6 is embodiment of the present invention electronic equipment schematic diagram two;
Fig. 7 is embodiment of the present invention electronic device block diagram one;
Fig. 8 is embodiment of the present invention electronic device block diagram two.
Detailed description of the invention
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with attached Figure and specific embodiment are described in detail.
Embodiment one
As it is shown in figure 1, be the processing method schematic diagram of the embodiment of the present invention one application program:
The application program that step 101, acquisition are installed on electronic equipment use letter in default measurement period Breath.
First, open the control function of electronic equipment, the application program on electronic equipment is monitored, obtains The application program on power taking subset use information in default measurement period.Wherein, default system here The meter cycle can be able to be one month, ten days or one week according to the demand sets itself of user.
If step 102 use information meets pre-conditioned, then delete the configuration file of application program.
By obtain application program use information in default measurement period compares with predetermined threshold value, when When application program use information in default measurement period is less than predetermined threshold value, it is determined that use information meets pre- If condition, then need to delete the configuration file of application program.When multiple application programs are in default measurement period Use information when all meeting pre-conditioned, find corresponding configuration file for each application program, And configuration file is deleted.
When multiple application programs use information in default measurement period all meets pre-conditioned, Ke Yigen According to the sequencing of each application program obtained use information in default measurement period, to application program Respective profiles carry out deletion action.Such as, application program is being monitored, is obtaining electronic equipment On application program use information in default measurement period time, it is thus achieved that the first application program, the second application Program and the 3rd application program use information in default measurement period are satisfied by pre-conditioned, and electronics sets Standby obtain application program use information in default measurement period sequencing be the first application program, the First two application programs and the 3rd application program, then, when deleting the configuration file of application program, can delete The configuration file of the first application program, then deletes the configuration file of the second application program, finally deletes the 3rd The configuration file of application program.
It should be noted that the application program needing monitoring can be the application program being not frequently used, for Commonly used application program, then can join in white list, it is not necessary to making in measurement period is preset in monitoring Use information.And predetermined threshold value is to be configured for different users, when arranging predetermined threshold value, can Using statistics application program in multiple default measurement periods average use information as predetermined threshold value, when should During by program use information in default measurement period less than predetermined threshold value, carry out deleting respective profiles Operation.After deleting configuration file, application program will not be waken up and start.Can be the most normal with efficient solution Application program be awakened as frequently as those utilized in conventional solutions the power consumption problem caused.
Step 103, the data file of compression application program, it is thus achieved that compressed file, and delete data file.
After deleting the configuration file of application program, need the data file of application program is processed, Each application program has the data file of correspondence, may preserve some user data.If application program Configuration file is deleted, owing to application program can not be waken up again, then these data there just are not effect, Can compress it to save memory space.The data file of application program typically leaves/data/data/ <bag in Name > under catalogue, the inside includes/files ,/databases ,/cache ,/shared_prefs and some application journeys The subdirectory that sequence oneself creates.Obviously, after the configuration file of application program is deleted, these data and literary composition Part makes not use, if former state retains, and the memory space that waste is valuable.It is thus desirable to these data File processes.
After the data file finding application program, the data file of application program is compressed place Reason, obtains compressed file, then deletes the data file of application program.
By the data file of application program is compressed, then delete former data file, to compressed file Preserve, the memory space of electronic equipment can be saved.
By above-mentioned steps, the configuration file using less application program can be deleted, set saving electronics Standby electricity and the memory space of electronic equipment, solve in prior art due to the number of applications installed Increase, thus the electric quantity for electronic equipment consumption increase caused, the problem of electronic equipment stand-by time shortening;With Time compressed backup data file and delete data file solve electronic equipment memory space reduce affect user The problem of experience.
The processing method of embodiment of the present invention application program, by obtaining the application program on electronic equipment in advance If the use information in measurement period, use information is compared with predetermined threshold value, when application program is in advance If the use information in measurement period is less than predetermined threshold value, it is determined that use information meets pre-conditioned, then delete Except the configuration file of application program, and should by deleting after the data file compression acquisition compressed file of application program By the data file of program, to save the memory space of electronic equipment, improve the experience of user.And it is logical Cross and delete the configuration file using less application program, reach to freeze the purpose of these application programs, permissible Save the electricity of electronic equipment, extend the stand-by time of electronic equipment.
Embodiment two
As in figure 2 it is shown, be the processing method schematic diagram of the embodiment of the present invention two application program:
The application program that step 201, acquisition are installed on electronic equipment use frequency in default measurement period Rate information.
First, open the control function of electronic equipment, the application program on electronic equipment is monitored, obtains The application program on power taking subset use frequency information in default measurement period.Wherein, here pre- If measurement period can be able to be one month, ten days or one week according to the demand sets itself of user.Phase The use frequency information answered may is that one month and uses 20 times, within ten days, uses 10 times or one week to use 7 Secondary.When obtaining application program use frequency information in default measurement period, predetermined period can be added up The number of times that the icon of interior application program is clicked, obtains application program use frequency in default measurement period Rate information.
Step 202, use frequency less than presetting when application program use frequency information in default measurement period During rate, delete the configuration file of application program.
The application program obtained use frequency information in default measurement period is used frequency letter with presetting Breath compares, when application program use frequency information in default measurement period uses frequency less than presetting During information, then delete the configuration file of application program.
For android system, each application program has one to be referred to as joining of AndroidManifest.xml Put file, be positioned under the root of each application program, be directed to each application program, in default statistics Use frequency information in cycle less than when presetting use frequency, then needs will be located in the root of application program Under configuration file delete.Access information and registration owing to comprising this application program in configuration file are wide Broadcast the information of receiver.After deletion action, this application program does not just have entrance to enter, and will not receive yet Any broadcast, from without starting this application program.
Step 203, the data file of compression application program, it is thus achieved that compressed file, and delete data file.
After deleting the configuration file of application program, need the data file of application program is processed. It should be noted that each application program has the data file of correspondence, some user data may be preserved. If the configuration file of application program is deleted, then these data there just are not effect, can compress it To save memory space.For android system, the data file of application program typically leaves in / data/data/<bag name>under catalogue, the inside includes/files ,/databases ,/cache ,/shared_prefs with And the subdirectory that some application programs oneself create.Obviously, after the configuration file of application program is deleted, These data and file make not use, if former state retains, and the memory space that waste is valuable.Therefore need These data files are processed.
Firstly the need of finding the data file of application program, then the data file of application program is pressed Contracting processes, and obtains compressed file, then deletes the data file of application program.
The data file of application program is the file of storage user profile, and such as current wechat is in default statistics week Use frequency information in phase less than when presetting use frequency, then needs to delete the configuration file of wechat.Then Finding the data file of wechat, what the data file of wechat stored is the relevant information of user, including voice Information and Word message, and picture, video content etc..It is compressed the data file of wechat processing, Obtain a compressed file to preserve, with standby user follow-up recovery related data, then delete former data literary composition Part, reduces taking up room of data file.
By the data file of application program is compressed, then delete former data file, to compressed file Preserve, the memory space of electronic equipment can be saved.
The processing method of embodiment of the present invention application program, by obtaining the application program on electronic equipment in advance If the use frequency information in measurement period, it is directed to each application program, frequency information will be used and preset Use frequency compares, and when using frequency information less than when presetting use frequency, deletes this application program Configuration file, then the data file to this application program is compressed processing, and obtains compressed file and preserves, Delete former data file, to save the memory space of electronic equipment, improve the experience of user.And pass through Delete the configuration file using less application program, the startup of this application program can be avoided, save electronics The electricity of equipment.
Embodiment three
As it is shown on figure 3, be the processing method schematic diagram of the embodiment of the present invention three application program:
Step 301, when obtaining the use in default measurement period of the application program that is installed on electronic equipment Long message.
Open the control function of electronic equipment, the application program on electronic equipment is monitored, obtain electronics The application program on equipment use duration information in default measurement period.Here use duration information is Application program is nonexpondable total duration in default measurement period.
Such as: default measurement period is one week, the number of times that this application program used in a week is 3 times, pin It is required for adding up a time span to using each time.For when adding up each time, need to open user Carry out timing during this application program dynamic, terminate timing when user exits this application program.
After statistics, show that the time span that application program uses for the first time is 5 minutes, second time application The time span that program uses is 10 minutes, and the time span that application program uses for the third time is 20 minutes. On the basis of the time span 5 minutes that first time application program uses, cumulative second time application program uses Time span 10 minutes, and the time span that uses of third time application program 20 minutes, be applied During program use in default measurement period a length of 35 minutes.
Step 302, when application program use duration information in default measurement period is less than preset duration Time, delete the configuration file of application program.
Application program use duration information in default measurement period is compared with preset duration, when answering During with program use duration information in default measurement period less than preset duration, then delete application program Configuration file.
For android system, each application program has one to be referred to as joining of AndroidManifest.xml Put file, be positioned under the root of each application program, be directed to each application program, in default statistics When use duration information in cycle is less than preset duration, then it needs to be determined that the configuration file of this application program Storing path, finds the configuration file of this application program, is then deleted by the configuration file of this application program.
Owing to configuration file comprising access information and the information of registration broadcast receiver of this application program.? After deleting the configuration file of this application program, this application program does not just have entrance to enter, and will not receive yet and appoint What broadcast, from without starting this application program.Now, the icon of this application program on desktop is can not Mode of operation, the icon i.e. clicking on this application program will not start this application program.
Step 303, the data file of compression application program, it is thus achieved that compressed file, and delete data file.
Each application program has the data file of correspondence, may preserve some user data.If application journey The configuration file of sequence is deleted, then these data there just are not effect, can compress it to save storage Space.For android system, the data file of application program typically leaves/data/data/<bag name in> Under catalogue, the inside includes/files ,/databases ,/cache ,/shared_prefs and some application programs The subdirectory that oneself creates.Obviously, after the configuration file of application program is deleted, these data and file Make not use, if former state retains, the memory space that waste is valuable.It is thus desirable to these data literary compositions Part processes.
After deleting the configuration file of application program, require to look up the data file of application program, then It is compressed the data file of application program processing, obtains compressed file, then delete the number of application program According to file.
By the data file of application program is compressed, then delete former data file, to compressed file Preserve, the memory space of electronic equipment can be saved.
The processing method of embodiment of the present invention application program, by obtaining the application program on electronic equipment in advance If the use duration information in measurement period, it is directed to each application program, by making in default measurement period Compare with preset duration with duration information, when the use duration information in default measurement period is less than presetting During duration, the configuration file of this application program is deleted, then the data file of this application program is entered Row compression processes, and obtains compressed file and preserves, deleting former data file, to save the storage of electronic equipment Space, improves the experience of user.And by deleting the configuration file using less application program, can To avoid the startup of this application program, save the electricity of electronic equipment.
Embodiment four
As shown in Figure 4, for the processing method schematic diagram of the embodiment of the present invention four application program:
The application program that step 401, acquisition are installed on electronic equipment use letter in default measurement period Breath.
Open the control function of electronic equipment, the application program on electronic equipment is monitored, obtain electronics The application program on equipment use information in default measurement period.
If step 402 use information meets pre-conditioned, it is determined that the preservation of the configuration file of application program Path, and the configuration file of application program is backed up in preset path, it is thus achieved that backed-up config file, Delete the configuration file of application program.
Judge whether use information is less than predetermined threshold value, when the information of use is less than predetermined threshold value, it is determined that use Information meets pre-conditioned.It is then determined that the storing path of the configuration file of application journey, application program is joined Put file to back up.
When the configuration file of application program is backed up, back up in preset path, the most permissible The configuration file of application program is backuped under another newly-built backup folder content, it is also possible to will application The configuration file of program backups to high in the clouds.After obtaining backed-up config file, will be located in the root of application program Configuration file under catalogue is deleted.After deleting configuration file, application program will not be waken up and start. The power consumption problem caused can be awakened as frequently as those utilized in conventional solutions with the application program that efficient solution is never commonly used.
Step 403, the data file of compression application program, it is thus achieved that compressed file, and delete data file.
After deleting the configuration file of application program, the data file to application program is needed to carry out corresponding position Reason.Each application program has the data file of correspondence, is used for preserving some user data.If application journey The configuration file of sequence is deleted, owing to application program can not be waken up again, then these data there just are not work With, can compress it to save memory space.
When the data file of application program is carried out respective handling, it is necessary first to find the data of application program File, is then compressed the data file of application program processing, obtains compressed file, and then deleting should By the data file of program.
The file preserving the data file of application program can also be compressed backup.Obtain backing up file After, delete the file of the data file preserving application program.
By the data file of application program is compressed, then delete former data file, to compressed file Preserve, the memory space of electronic equipment can be saved.
The present embodiment can effectively play the effect freezing application program.For the application program that thaws, can be according to In the following manner is carried out:
1, compressed file is decompressed, the data file of the program that is applied, and data file is reduced To former storing path.
When needs recover this application program, it is necessary first to obtain the data file of application program, will be original The compressed file of storage decompresses, and obtains the data file of application program.In the data obtaining application program After file, the user data of storage in data file can be obtained.Meanwhile, data file is reduced to former Behind path, data file just can inquire about use for user.
When reacquiring data file, need in former storing path, decompress compressed file, obtain The data file of application program.
2, recall backed-up config file, backed-up config file is reduced to the configuration of the application program being deleted Under the former storing path of file.
Recall the backed-up config file of this application program, then by backed-up config file according to former application program The storing path of configuration file stores, and is reduced to by backed-up config file under former storing path, can be extensive The configuration file of multiple application program.
Owing to the configuration file after recovering comprising access information and the registration broadcast receiver of this application program Information.After recovering the configuration file of application program, this application program has entrance to enter, and can receive Broadcast, such that it is able to start this application program.Now, the icon of this application program on desktop is operable State, the figure rotating savings i.e. clicking on this application program starts this application program.
The processing method of embodiment of the present invention application program, by obtaining the application program on electronic equipment in advance If the use information in measurement period, it is directed to each application program, the use in default measurement period is believed Breath compares with predetermined threshold value, when the use information in default measurement period is less than predetermined threshold value, to this The configuration file of application program is deleted, and then the data file to this application program is compressed processing, Obtain compressed file and preserve, deleting former data file, to save the memory space of electronic equipment, improving and use The experience at family.Needs recover application program time, decompressing compressed file be applied program data literary composition Part, and the backed-up config file calling out application program is saved in original route, to recover this application program.This Inventive embodiments not only can be by deleting the configuration file using less application program, it is to avoid this application journey The startup of sequence, saves the electricity of electronic equipment, extends the stand-by time of electronic equipment, it is also possible to application journey Sequence carries out recovery operation, substantially increases the experience of user.
Embodiment five
The embodiment of a kind of electronic equipment provided for the embodiment of the present invention five below.The embodiment of electronic equipment Same design is belonged to, in the embodiment of electronic equipment in the details of the most detailed description with above-mentioned embodiment of the method Hold, be referred to said method embodiment.
Wherein, as shown in 5 figures, electronic equipment includes:
Acquisition module 10, for obtaining the application program being installed on electronic equipment in default measurement period Use information;
Removing module 20, if meeting pre-conditioned for use information, then deletes the configuration literary composition of application program Part;
Processing module 30, for compressing the data file of application program, it is thus achieved that compressed file, and deletes number According to file.
Wherein, as shown in Figure 6, acquisition module 10 includes:
First obtains submodule 11, for obtaining the application program being installed on electronic equipment in default statistics Use frequency information in cycle.
Removing module 20 includes:
First deletes submodule 21, for when application program use frequency information in default measurement period Less than when presetting use frequency, delete the configuration file of application program.
Wherein, acquisition module includes 10:
Second obtains submodule 12, for obtaining the application program being installed on electronic equipment in default statistics Use duration information in cycle.
Removing module 20 includes:
Second deletes submodule 22, for when application program use duration information in default measurement period During less than preset duration, delete the configuration file of application program.
Wherein, removing module 20 also includes:
First submodule 23, for determining the storing path of the configuration file of application program, and to application journey The configuration file of sequence backs up in preset path, it is thus achieved that backed-up config file;
Second submodule 24, for deleting the configuration file of application program.
The electronic equipment of the embodiment of the present invention, can obtain the multiple application journeys on electronic equipment by above-mentioned module Sequence use information in default measurement period, compares use information with predetermined threshold value, when application journey When sequence use information in default measurement period is less than predetermined threshold value, it is determined that use information meets default bar Part, freezes application program, to save the memory space of electronic equipment, improves the experience of user. And by deleting the configuration file using less application program, this application program does not just have entrance to enter, yet Will not receive any broadcast, from without starting this application program, the electricity that can save electronic equipment improves The experience of user.
It should be noted that the electronic equipment that the present invention provides be should electronic equipment in aforementioned manners, above-mentioned In embodiment of the method, all implementations are all be applicable to the embodiment of this electronic equipment, also can reach identical Technique effect.
Embodiment six
The embodiment of the present invention six provides a kind of electronic equipment, as it is shown in fig. 7, electronic equipment 700 includes: At least one processor 701, memorizer 702, at least one network interface 704 and user interface 703. Each assembly in electronic equipment 700 is coupled by bus system 705.It is understood that bus system 705 for realizing the connection communication between these assemblies.Bus system 705 in addition to including data/address bus, Also include power bus, control bus and status signal bus in addition.But for the sake of understanding explanation, at Fig. 7 Middle various buses are all designated as bus system 705.
Wherein, user interface 703 can include display, keyboard or pointing device (such as, mouse, rail Mark ball (trackball), touch-sensitive plate or touch screen etc..
The memorizer 702 being appreciated that in the embodiment of the present invention can be volatile memory or non-volatile Memorizer, maybe can include volatibility and nonvolatile memory.Wherein, nonvolatile memory is permissible It is read only memory (Read-OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), Electrically Erasable Read Only Memory (ElectricallyEPROM, EEPROM) or flash memory. Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is used as External Cache.By exemplary but be not restricted explanation, the RAM of many forms can use, such as Static RAM (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links dynamic random access memory (SynchlinkDRAM, SLDRAM) and straight Connect rambus random access memory (DirectRambusRAM, DRRAM).System described herein It is intended to include but not limited to these and the memorizer of other applicable type any with the memorizer 702 of method.
In some embodiments, memorizer 702 stores following element, executable module or data Structure, or their subset, or their superset: operating system 7021 and application program 7022.
Wherein, operating system 7021, comprise various system program, such as ccf layer, core library layer, drive Dynamic layers etc., are used for realizing various basic business and processing hardware based task.Application program 7022, Comprise various application program, such as display controller, media player (MediaPlayer), browser (Browser) etc., it is used for realizing various applied business.The program realizing embodiment of the present invention method can comprise In application program 7022.
In embodiments of the present invention, by calling program or the instruction of memorizer 702 storage, concrete, can To be program or the instruction of storage in application program 7022, processor 701 is installed on electronics for acquisition and sets Standby upper application program use information in default measurement period;If use information meets pre-conditioned, then Delete the configuration file of application program;The data file of compression application program, it is thus achieved that compressed file, and delete Data file.
The method that the invention described above embodiment discloses can apply in processor 701, or by processor 701 realize.Processor 701 is probably a kind of IC chip, has the disposal ability of signal.In reality During Xian, each step of said method can by the integrated logic circuit of the hardware in processor 701 or The instruction of person's software form completes.Above-mentioned processor 701 can be general processor, Digital Signal Processing Device (DigitalSignalProcessor, DSP), special IC (ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, Or other PLDs, discrete gate or transistor logic, discrete hardware components FPGA). Can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General place The reason processor etc. that device can be microprocessor or this processor can also be any routine.In conjunction with the present invention The step of the method disclosed in embodiment can be embodied directly in hardware decoding processor and perform, or uses Hardware and software module combination execution in decoding processor complete.Software module may be located at random storage Device, flash memory, read only memory, programmable read only memory or electrically erasable programmable memorizer, deposit In the storage medium that this areas such as device are ripe.This storage medium is positioned at memorizer 702, and processor 701 reads Information in memorizer 702, completes the step of said method in conjunction with its hardware.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, Microcode or a combination thereof realize.Realizing for hardware, processing unit can be implemented in one or more special collection Become circuit (ApplicationSpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), can compile Journey logical device (ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller, micro- Processor, for performing in other electronic unit or a combination thereof of herein described function.
Software is realized, can be come by the module (such as process, function etc.) performing function described herein Realize the techniques described herein.Software code is storable in performing in memorizer and by processor.Memorizer Can within a processor or realize outside processor.
Optionally, processor 701 is additionally operable to obtain the application program being installed on electronic equipment in default statistics Use frequency information in cycle, when application program use frequency information in default measurement period is less than pre- If use frequency, delete the configuration file of application program, then compress the data file of application program, obtain Obtain compressed file, and delete data file.
Optionally, processor 701 is additionally operable to obtain the application program being installed on electronic equipment in default statistics Use duration information in cycle, when application program use duration information in default measurement period is less than pre- If during duration, delete the configuration file of application program, then compress the data file of application program, it is thus achieved that pressure Contracting file, and delete data file.
Optionally, processor 701, when performing the operation deleting the configuration file of application program, is additionally operable to: Determine the storing path of the configuration file of application program, and to the configuration file of application program in preset path Back up, it is thus achieved that after backed-up config file, then delete the configuration file of application program.
Electronic equipment 700 is capable of each process that in previous embodiment, electronic equipment realizes, for avoiding weight Multiple, repeat no more here.
The electronic equipment of the embodiment of the present invention, the application program obtained on electronic equipment by processor 701 is existed Preset the use information in measurement period, use information is compared with predetermined threshold value, when application program exists When presetting the use information in measurement period less than predetermined threshold value, it is determined that use information meets pre-conditioned, then Delete the configuration file of application program, and the data file compression of application program is obtained deletion after compressed file The data file of application program, to save the memory space of electronic equipment, improves the experience of user.And By deleting the configuration file using less application program, make application program cannot receive any broadcast, from And the electricity of electronic equipment can be saved, extend the stand-by time of electronic equipment.
Embodiment seven
The embodiment of the present invention seven provides a kind of electronic equipment.As shown in Figure 8, electronic equipment 800 can be Mobile phone, panel computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer Deng.
Electronic equipment 800 in Fig. 8 includes radio frequency (RadioFrequency, RF) circuit 810, memorizer 820, input block 830, display unit 840, processor 860, voicefrequency circuit 870, WiFi (WirelessFidelity) module 880 and power supply 890.
Wherein, input block 830 can be used for receive user input numeral or character information, and produce with The user setup of electronic equipment 800 and function control relevant signal input.Specifically, the present invention implements In example, this input block 830 can include contact panel 831.Contact panel 831, also referred to as touch screen, Can collect user thereon or neighbouring touch operation (such as user uses finger, stylus etc. any applicable Object or adnexa operation on contact panel 831), and connect accordingly according to formula set in advance driving Connection device.Optionally, contact panel 831 can include touch detecting apparatus and two parts of touch controller. Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings, will letter Number send touch controller to;Touch controller receives touch information from touch detecting apparatus, and it is turned Change contact coordinate into, then give this processor 860, and order that processor 860 sends in addition can be received Perform.Furthermore, it is possible to use the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize Contact panel 831.Except contact panel 831, input block 830 can also include other input equipments 830, Other input equipments 830 can include but not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, one or more in action bars etc..
Wherein, display unit 840 can be used for the information that inputted by user of display or the information that is supplied to user with And the various menu interfaces of electronic equipment 800.Display unit 840 can include display floater 841, optionally, The form such as LCD or Organic Light Emitting Diode (OrganicLight-EmittingDiode, OLED) can be used Configure display floater 841.
It should be noted that contact panel 831 can cover display floater 841, formed and touch display screen, when this touches Touch display screen detect thereon or after neighbouring touch operation, send processor 860 to determine touch thing The type of part, regards touching to provide on display screen according to the type of touch event accordingly with preprocessor 860 Feel and export.
Touch display screen and include Application Program Interface viewing area and conventional control viewing area.This Application Program Interface The arrangement mode of viewing area and this conventional control viewing area does not limit, can be arranged above and below, left-right situs Etc. the arrangement mode that can distinguish two viewing areas.This Application Program Interface viewing area is displayed for application The interface of program.Each interface can comprise icon and/or the widget desktop of at least one application program The interface elements such as control.This Application Program Interface viewing area can also be the empty interface not comprising any content. This conventional control viewing area is for showing the control that utilization rate is higher, such as, settings button, interface numbering, The application icons etc. such as scroll bar, phone directory icon.
Wherein processor 860 is the control centre of electronic equipment 800, utilizes various interface and connection whole The various piece of individual mobile phone, by run or perform the software program that is stored in first memory 821 and/ Or module, and call the data being stored in second memory 822, perform the various of electronic equipment 800 Function and process data, thus electronic equipment 800 is carried out integral monitoring.Optionally, processor 860 One or more processing unit can be included.
In embodiments of the present invention, by call the software program stored in this first memory 821 and/or Data in module and/or this second memory 822, processor 860 is installed on electronic equipment for acquisition On application program use information in default measurement period;If use information meets pre-conditioned, then delete Configuration file except application program;The data file of compression application program, it is thus achieved that compressed file, and delete number According to file.
Alternatively, processor 860 is additionally operable to obtain the application program being installed on electronic equipment in default statistics Use frequency information in cycle, when application program use frequency information in default measurement period is less than pre- If use frequency, delete the configuration file of application program, then compress the data file of application program, obtain Obtain compressed file, and delete data file.
Optionally, processor 860 is additionally operable to obtain the application program being installed on electronic equipment in default statistics Use duration information in cycle, when application program use duration information in default measurement period is less than pre- If during duration, delete the configuration file of application program, then compress the data file of application program, it is thus achieved that pressure Contracting file, and delete data file.
Optionally, processor 860, when performing the operation deleting the configuration file of application program, is additionally operable to: Determine the storing path of the configuration file of application program, and to the configuration file of application program in preset path Back up, it is thus achieved that after backed-up config file, then delete the configuration file of application program.
The electronic equipment of the embodiment of the present invention, the application program obtained on electronic equipment by processor 860 is existed Preset the use information in measurement period, use information is compared with predetermined threshold value, when application program exists When presetting the use information in measurement period less than predetermined threshold value, it is determined that use information meets pre-conditioned, then Delete the configuration file of application program, and the data file compression of application program is obtained deletion after compressed file The data file of application program, to save the memory space of electronic equipment, improves the experience of user.And By deleting the configuration file using less application program, this application program does not just have entrance to enter, the most not Any broadcast can be received, from without starting this application program, the electricity of electronic equipment can be saved, extend The stand-by time of electronic equipment.
Those of ordinary skill in the art are it is to be appreciated that combine the disclosed embodiments in the embodiment of the present invention and retouch The unit of each example stated and algorithm steps, it is possible to electronic hardware or computer software and electronic hardware Be implemented in combination in.These functions perform with hardware or software mode actually, depend on technical scheme Application-specific and design constraint.Professional and technical personnel can use not Tongfang to each specifically should being used for Method realizes described function, but this realization is it is not considered that beyond the scope of this invention.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and foregoing description The specific works process of system, device and unit, be referred to the corresponding process in preceding method embodiment, Do not repeat them here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, Ke Yitong The mode crossing other realizes.Such as, device embodiment described above is only schematically, such as, The division of described unit, is only a kind of logic function and divides, and actual can have other division side when realizing Formula, the most multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can To ignore, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or logical Letter connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication connection, can be electrical, Machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, as The parts that unit shows can be or may not be physical location, i.e. may be located at a place, or Can also be distributed on multiple NE.Can select therein some or all of according to the actual needs Unit realizes the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, Can also be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit In.
If described function realizes and as independent production marketing or use using the form of SFU software functional unit Time, can be stored in a computer read/write memory medium.Based on such understanding, the skill of the present invention Part or the part of this technical scheme that prior art is contributed by art scheme the most in other words are permissible Embodying with the form of software product, this computer software product is stored in a storage medium, including Some instructions are with so that a computer equipment (can be that personal computer, server, or network set Standby etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium Including: USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can store program generation The medium of code.
Above-described is the preferred embodiment of the present invention, it should be pointed out that for the ordinary people of the art For Yuan, some improvements and modifications can also be made under without departing from principle premise of the present invention, these Improvements and modifications are the most within the scope of the present invention.

Claims (12)

1. the processing method of an application program, it is characterised in that including:
Obtain the application program being installed on electronic equipment use information in default measurement period;
If described use information meets pre-conditioned, then delete the configuration file of described application program;
Compress the data file of described application program, it is thus achieved that compressed file, and delete described data file.
The processing method of application program the most according to claim 1, it is characterised in that described acquisition is pacified The step of the application program being loaded on electronic equipment use information in default measurement period includes:
Obtain the described application program being installed on electronic equipment use frequency letter in default measurement period Breath.
The processing method of application program the most according to claim 2, it is characterised in that if described Use information meets pre-conditioned, then the step of the configuration file deleting described application program includes:
Described application program use frequency information in default measurement period, less than when presetting use frequency, is deleted Configuration file except described application program.
The processing method of application program the most according to claim 1, it is characterised in that described acquisition is pacified The step of the application program being loaded on electronic equipment use information in default measurement period includes:
Long letter when obtaining the described application program being installed on electronic equipment use in default measurement period Breath.
The processing method of application program the most according to claim 4, it is characterised in that if described Use information meets pre-conditioned, then the step of the configuration file deleting described application program includes:
When described application program use duration information in default measurement period is less than preset duration, delete institute State the configuration file of application program.
The processing method of application program the most according to claim 1, it is characterised in that described deletion institute The configuration file stating application program includes:
Determine the storing path of the configuration file of described application program, and the configuration file to described application program Preset path backs up, it is thus achieved that backed-up config file;
Delete the configuration file of described storing path.
7. an electronic equipment, it is characterised in that including:
Acquisition module, for obtaining application program the making in default measurement period being installed on electronic equipment Use information;
Removing module, if meeting pre-conditioned for described use information, then deletes joining of described application program Put file;
Processing module, for compressing the data file of described application program, it is thus achieved that compressed file, and deletes institute State data file.
Electronic equipment the most according to claim 7, it is characterised in that described acquisition module includes:
First obtains submodule, for obtaining the described application program being installed on electronic equipment in default statistics Use frequency information in cycle.
Electronic equipment the most according to claim 8, it is characterised in that described removing module includes:
First deletes submodule, for when described application program use frequency information in default measurement period Less than when presetting use frequency, delete the configuration file of described application program.
Electronic equipment the most according to claim 7, it is characterised in that described acquisition module includes:
Second obtains submodule, for obtaining the described application program being installed on electronic equipment in default statistics Use duration information in cycle.
11. electronic equipments according to claim 10, it is characterised in that described removing module includes:
Second deletes submodule, for when described application program use duration information in default measurement period During less than preset duration, delete the configuration file of described application program.
12. electronic equipments according to claim 7, it is characterised in that described removing module also includes:
First submodule, for determining the storing path of the configuration file of described application program, and answers described Back up in preset path with the configuration file of program, it is thus achieved that backed-up config file;
Second submodule, for deleting the configuration file of described storing path.
CN201610177909.3A 2016-03-24 2016-03-24 Application processing method and electronic device Pending CN105843367A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610177909.3A CN105843367A (en) 2016-03-24 2016-03-24 Application processing method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610177909.3A CN105843367A (en) 2016-03-24 2016-03-24 Application processing method and electronic device

Publications (1)

Publication Number Publication Date
CN105843367A true CN105843367A (en) 2016-08-10

Family

ID=56584561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610177909.3A Pending CN105843367A (en) 2016-03-24 2016-03-24 Application processing method and electronic device

Country Status (1)

Country Link
CN (1) CN105843367A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484472A (en) * 2016-09-29 2017-03-08 华为技术有限公司 A kind of method for recovering internal storage and terminal
CN106648780A (en) * 2016-12-26 2017-05-10 努比亚技术有限公司 Electronic device and application processing method
CN106843450A (en) * 2017-01-23 2017-06-13 努比亚技术有限公司 The storage processing method and device of a kind of terminal applies
CN107402626A (en) * 2017-07-31 2017-11-28 广东欧珀移动通信有限公司 Using cycle synchronisation management method, device, storage medium and electronic equipment
CN107491482A (en) * 2017-07-12 2017-12-19 维沃移动通信有限公司 A kind of reminding method and mobile terminal
CN107506235A (en) * 2017-08-08 2017-12-22 硕诺科技(深圳)有限公司 A kind of device and method for forbidding application program automatic running
CN107577471A (en) * 2017-09-14 2018-01-12 维沃移动通信有限公司 A kind of application control method and mobile terminal
CN107957907A (en) * 2016-10-14 2018-04-24 北京搜狗科技发展有限公司 A kind of applied program processing method and device
CN109144960A (en) * 2018-08-18 2019-01-04 王梅 The method and system of data pre-fetching are carried out in mobile Internet according to regional scope
CN109271345A (en) * 2018-08-18 2019-01-25 王梅 The method and system of data pre-fetching are carried out in mobile Internet based on navigation information
CN110032397A (en) * 2018-01-10 2019-07-19 广东欧珀移动通信有限公司 Application processing method and device, electronic equipment, computer readable storage medium
CN110309105A (en) * 2018-03-23 2019-10-08 阿里巴巴集团控股有限公司 Data processing method, system and equipment
CN111158780A (en) * 2019-12-27 2020-05-15 宇龙计算机通信科技(深圳)有限公司 Method, device, electronic equipment and medium for storing application data
CN112532628A (en) * 2020-11-27 2021-03-19 广州三七互娱科技有限公司 Cross-application login management method, device and system
CN113474756A (en) * 2019-04-12 2021-10-01 深圳市欢太科技有限公司 Application processing method and device, storage medium and electronic equipment
WO2024067256A1 (en) * 2022-09-28 2024-04-04 华为技术有限公司 Application management method, electronic device and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661470A (en) * 2008-08-25 2010-03-03 中兴通讯股份有限公司 System and method for managing historical data
CN102945159A (en) * 2012-10-24 2013-02-27 深圳市万凯达科技有限公司 Automatic application program cleaning method and system based on mobile terminal
CN103064716A (en) * 2013-01-14 2013-04-24 广东欧珀移动通信有限公司 Method for fast uninstalling application programs of mobile terminal devices
US20140380292A1 (en) * 2013-06-25 2014-12-25 Xiaomi Inc. Method, device, and storage medium for upgrading operating system
CN104881299A (en) * 2014-02-28 2015-09-02 可牛网络技术(北京)有限公司 Application program freezing method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661470A (en) * 2008-08-25 2010-03-03 中兴通讯股份有限公司 System and method for managing historical data
CN102945159A (en) * 2012-10-24 2013-02-27 深圳市万凯达科技有限公司 Automatic application program cleaning method and system based on mobile terminal
CN103064716A (en) * 2013-01-14 2013-04-24 广东欧珀移动通信有限公司 Method for fast uninstalling application programs of mobile terminal devices
US20140380292A1 (en) * 2013-06-25 2014-12-25 Xiaomi Inc. Method, device, and storage medium for upgrading operating system
CN104881299A (en) * 2014-02-28 2015-09-02 可牛网络技术(北京)有限公司 Application program freezing method and apparatus

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018059027A1 (en) * 2016-09-29 2018-04-05 华为技术有限公司 Memory collection method and terminal
CN106484472A (en) * 2016-09-29 2017-03-08 华为技术有限公司 A kind of method for recovering internal storage and terminal
US11822805B2 (en) 2016-09-29 2023-11-21 Huawei Technologies Co., Ltd. Method and terminal for reclaiming memory after freezing program
CN107957907A (en) * 2016-10-14 2018-04-24 北京搜狗科技发展有限公司 A kind of applied program processing method and device
CN106648780A (en) * 2016-12-26 2017-05-10 努比亚技术有限公司 Electronic device and application processing method
CN106843450A (en) * 2017-01-23 2017-06-13 努比亚技术有限公司 The storage processing method and device of a kind of terminal applies
CN107491482A (en) * 2017-07-12 2017-12-19 维沃移动通信有限公司 A kind of reminding method and mobile terminal
CN107402626A (en) * 2017-07-31 2017-11-28 广东欧珀移动通信有限公司 Using cycle synchronisation management method, device, storage medium and electronic equipment
CN107506235A (en) * 2017-08-08 2017-12-22 硕诺科技(深圳)有限公司 A kind of device and method for forbidding application program automatic running
CN107577471A (en) * 2017-09-14 2018-01-12 维沃移动通信有限公司 A kind of application control method and mobile terminal
CN110032397B (en) * 2018-01-10 2023-01-31 Oppo广东移动通信有限公司 Application processing method and device, electronic equipment and computer readable storage medium
CN110032397A (en) * 2018-01-10 2019-07-19 广东欧珀移动通信有限公司 Application processing method and device, electronic equipment, computer readable storage medium
CN110309105A (en) * 2018-03-23 2019-10-08 阿里巴巴集团控股有限公司 Data processing method, system and equipment
CN110309105B (en) * 2018-03-23 2023-08-11 阿里巴巴(北京)软件服务有限公司 Data processing method, system and equipment
CN109271345A (en) * 2018-08-18 2019-01-25 王梅 The method and system of data pre-fetching are carried out in mobile Internet based on navigation information
CN109144960B (en) * 2018-08-18 2022-05-06 轩克科技(上海)有限公司 Method and system for prefetching data in mobile internet according to area range
CN109271345B (en) * 2018-08-18 2022-09-30 王梅 Method and system for prefetching data based on navigation information in mobile internet
CN109144960A (en) * 2018-08-18 2019-01-04 王梅 The method and system of data pre-fetching are carried out in mobile Internet according to regional scope
CN113474756A (en) * 2019-04-12 2021-10-01 深圳市欢太科技有限公司 Application processing method and device, storage medium and electronic equipment
CN111158780A (en) * 2019-12-27 2020-05-15 宇龙计算机通信科技(深圳)有限公司 Method, device, electronic equipment and medium for storing application data
CN112532628A (en) * 2020-11-27 2021-03-19 广州三七互娱科技有限公司 Cross-application login management method, device and system
WO2024067256A1 (en) * 2022-09-28 2024-04-04 华为技术有限公司 Application management method, electronic device and readable storage medium

Similar Documents

Publication Publication Date Title
CN105843367A (en) Application processing method and electronic device
CN106101848B (en) A kind of barrage display methods and electronic equipment
EP3514683B1 (en) Memory collection method and terminal
CN106570372B (en) A kind of the starting method and mobile terminal of application program
CN106445392A (en) Operating method of status bar icon and mobile terminal
CN107562473B (en) Application program display method and mobile terminal
CN106959386B (en) A kind of creepage detection method and mobile terminal
CN105824663A (en) Background application cleaning method and mobile terminal
CN106125884B (en) A kind of processing method and mobile terminal of the background task of mobile terminal
CN105302442A (en) Image information processing method and terminal
CN106055232B (en) A kind of processing method and mobile terminal of message
CN106022078A (en) Fingerprint module starting control method and mobile terminal
CN107506130A (en) A kind of word delet method and mobile terminal
CN106874046A (en) The operating method and mobile terminal of a kind of application program
CN107566624A (en) A kind of power consumption of terminal and the display methods of temperature and terminal
CN105825114A (en) Unlocking method of mobile terminal and mobile terminal
CN107577471A (en) A kind of application control method and mobile terminal
CN106503179A (en) A kind of loading method of Webpage and mobile terminal
CN106445074A (en) Control method for application and mobile terminal
CN106776871A (en) The storage method and mobile terminal of a kind of multimedia file
CN105430632A (en) Data flow statistical method and mobile terminal
CN106850940A (en) The changing method and mobile terminal of a kind of state
CN107608728A (en) A kind of display control method and mobile terminal
CN107172304A (en) A kind of mobile terminal power consumption detection method and mobile terminal
CN106407417A (en) An application program data backup method and a mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160810

RJ01 Rejection of invention patent application after publication