CN107479971A - A kind of data processing method, terminal and computer-readable recording medium - Google Patents

A kind of data processing method, terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107479971A
CN107479971A CN201710641679.6A CN201710641679A CN107479971A CN 107479971 A CN107479971 A CN 107479971A CN 201710641679 A CN201710641679 A CN 201710641679A CN 107479971 A CN107479971 A CN 107479971A
Authority
CN
China
Prior art keywords
application program
data
terminal
specific data
condition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710641679.6A
Other languages
Chinese (zh)
Other versions
CN107479971B (en
Inventor
王阳阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710641679.6A priority Critical patent/CN107479971B/en
Publication of CN107479971A publication Critical patent/CN107479971A/en
Application granted granted Critical
Publication of CN107479971B publication Critical patent/CN107479971B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a kind of data processing method, methods described includes:In each application program of terminal, it is determined that the application program of specific data need to be handled, the specific data are used to represent data caused by system space when corresponding application program is run in the terminal;In the specific data of identified each application program, it is determined that meeting the specific data to impose a condition;Delete it is described meet the specific data that impose a condition, or, the specific data for meeting to impose a condition are moved to the user's space of the terminal;It so, it is possible to reach the purpose of release system space in time;The embodiment of the invention also discloses a kind of terminal and computer-readable recording medium.

Description

A kind of data processing method, terminal and computer-readable recording medium
Technical field
The present invention relates to data processing technique, more particularly to a kind of data processing method, terminal and computer-readable storage Medium.
Background technology
The memory space of terminal is divided into two parts, wherein, a part is system space;Another part is that user is empty Between;User is during using application program, i.e. during terminal control application program is run, it will usually produces a large amount of Data, and these caused data parts are saved to user's space, another part is saved to system space;Through it is long when Between accumulation, the data for being stored in terminal system space can be more and more, cause the residual memory space of system space increasingly It is small, and then terminal may be made interim card occur when application program is run.
The content of the invention
In order to solve the above technical problems, the embodiment of the present invention provides a kind of data processing method, terminal and computer-readable Storage medium, the system space shared by application program can be cleared up according to actual demand, reach the mesh of release system space in time 's.
To reach above-mentioned purpose, what the technical scheme of the embodiment of the present invention was realized in:
The embodiments of the invention provide a kind of data processing method, methods described includes:
In each application program of terminal, it is determined that the application program of specific data need to be handled, the specific data are used for table Data caused by system space corresponding to showing during application program operation in the terminal;
In the specific data of identified each application program, it is determined that meeting the specific data to impose a condition;
The specific data for meeting to impose a condition are deleted, or, the specific data for meeting to impose a condition are moved To the user's space of the terminal.
Optionally, it is described in each application program of terminal, it is determined that the application program of specific data need to be handled, including:
For each application program of the terminal, it is determined that within the unit interval caused specific data data volume;
For identified each data volume, N number of application program corresponding to N number of data volume of maximum is defined as needing to handle The application program of specific data, N are the integer for being more than 0 of setting.
Optionally, it is described in each application program of terminal, it is determined that the application program of specific data need to be handled, including:
In each application program of the terminal, the application program for obtaining the authority for changing system space data is defined as The application program of specific data need to be handled.
Optionally, it is described impose a condition including:The generation time point and the time span at current time of specific data exceed Setting time length threshold.
Optionally, the specific data deleted the satisfaction and imposed a condition, or, by the spy for meeting to impose a condition Fixed number evidence is moved to the user's space of the terminal, including:
The first prompt message or the second prompt message are generated, it is described full whether first prompt message deletes for prompting The specific data to impose a condition enough, second prompt message are used to prompt whether to move the certain number for meeting to impose a condition According to;
When receiving data deletion instruction or data movement instructions, deleted and instructed based on the data, deleted described full The specific data to impose a condition enough;Or based on the data movement instructions, the specific data for meeting to impose a condition are moved Move to the user's space of the terminal.
The embodiment of the present invention additionally provides a kind of terminal, and the terminal includes memory, processor and is stored in described deposit On reservoir and the computer program that can run on the processor, wherein,
Following steps are realized when the computer program is by the computing device:
In each application program of terminal, it is determined that the application program of specific data need to be handled, the specific data are used for table Data caused by system space corresponding to showing during application program operation in the terminal;
In the specific data of identified each application program, it is determined that meeting the specific data to impose a condition;
The specific data for meeting to impose a condition are deleted, or, the specific data for meeting to impose a condition are moved To the user's space of the terminal.
Optionally, the computer program by the computing device when implement following steps:
For each application program of the terminal, it is determined that within the unit interval caused specific data data volume;
For identified each data volume, N number of application program corresponding to N number of data volume of maximum is defined as needing to handle The application program of specific data, N are the integer for being more than 0 of setting.
Optionally, the computer program by the computing device when implement following steps:
In each application program of the terminal, the application program for obtaining the authority for changing system space data is defined as The application program of specific data need to be handled.
Optionally, it is described impose a condition including:The generation time point and the time span at current time of specific data exceed Setting time length threshold.
Optionally, the computer program by the computing device when implement following steps:
The first prompt message or the second prompt message are generated, it is described full whether first prompt message deletes for prompting The specific data to impose a condition enough, second prompt message are used to prompt whether to move the certain number for meeting to impose a condition According to;
When receiving data deletion instruction or data movement instructions, deleted and instructed based on the data, deleted described full The specific data to impose a condition enough;Or based on the data movement instructions, the specific data for meeting to impose a condition are moved Move to the user's space of the terminal.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, and applied in terminal, the computer can Read storage medium and be stored with data processor, when the data processor is by least one computing device, cause institute The step of stating at least one computing device above-mentioned any one data processing method.
In a kind of data processing method provided in an embodiment of the present invention, terminal and computer-readable recording medium, first, In each application program of terminal, it is determined that the application program of specific data need to be handled, the specific data are answered for representing corresponding Data caused by system space when being run with program in the terminal;Then, in the specific of identified each application program In data, it is determined that meeting the specific data to impose a condition;The specific data for meeting to impose a condition are deleted, or, by described in The specific data for meeting to impose a condition are moved to the user's space of the terminal;It so, it is possible to reach release system space in time Purpose.
Brief description of the drawings
Fig. 1 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the flow chart of data processing method of the embodiment of the present invention;
Fig. 4 is that user's schematic diagram for setting N values is prompted in data processing method of the embodiment of the present invention;
Fig. 5 is the schematic diagram that data processing method of the embodiment of the present invention prompts user to carry out application program mandate;
Fig. 6 is the schematic diagram of the first prompt message shown in data processing method of the embodiment of the present invention in terminal;
Fig. 7 is the schematic diagram of the second prompt message shown in data processing method of the embodiment of the present invention in terminal;
Fig. 8 is the composition structural representation of terminal provided in an embodiment of the present invention.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move Dynamic terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting Dynamic terminal 100 can include:Display unit 106, user input unit 107, interface unit 108, memory 109, processor The part such as 110 and power supply 111.It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 1 is not formed Restriction to mobile terminal, mobile terminal can be included than illustrating more or less parts, either combine some parts or Different part arrangements.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system being based on below to the mobile terminal of the present invention enters Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system Unite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is used Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers Such as the function of attaching position register (not shown) etc, and preserve some and used about service features, data rate etc. The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, other wireless communication systems, such as GSM (Global System of Mobile are readily applicable to Communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet without Line service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division- Synchronous Code Division Multiple Access, TD SDMA) and following new network system System etc., is not limited herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the inventive method is proposed.
First embodiment
First embodiment of the invention proposes a kind of data processing method, can apply to be provided with the terminal of application program In, here, species of application program etc. is not limited.
Here, the terminal of above-mentioned record can be mobile terminal or fixed terminal, and the terminal of above-mentioned record includes But it is not limited to mobile phone, notebook computer, camera, PDA, PAD, PMP, guider etc..The mobile terminal can connect Internet is connected to, wherein, the mode of the connection can be that the mobile internet provided by operator is attached, and may be used also To be to carry out network connection by accessing WAP.
Here, if mobile terminal has operating system, the operating system can be UNIX, Linux, Windows, Android (Android), Windows Phone etc..
It should be noted that species, shape, size to the display screen on mobile terminal etc. is not limited, it is exemplary , the display screen on mobile terminal can be LCDs etc..
Fig. 3 is the flow chart of data processing method of the embodiment of the present invention, as shown in figure 3, the flow can include:
Step 301:In each application program of terminal, it is determined that the application program of specific data need to be handled, the certain number Data caused by system space during according to for representing corresponding application program operation in the terminal;
It is understood that for any one application program, operationally, may be in the space of the system of terminal Corresponding data are generated, at this point it is possible to which the data of these generations are referred to as into specific data corresponding to the application program;
As each application program run time is built up in terminal, the system space of terminal taken by specific data Memory space can be more and more, in this way, can determine that the application program of specific data need to be handled by this step, be convenient for The process of the follow-up specific data of removing.
Here, the application program that need to handle specific data can be the certain applications program in each application program of terminal, Can also be all application programs installed in terminal.
For example, being provided with 26 application programs in terminal altogether, it is designated as respectively using 1 to using 26, then can will apply 1 It is whole as the application program that need to handle specific data to application 26;Can also be in the selected part application into application 26 of application 1 Program is as the application program that need to handle specific data.
When actually implementing, application program Selection Strategy can be set, application program Selection Strategy is used to represent to determine to need Handle the mode of the application program of specific data;Afterwards, determine that answering for specific data need to be handled according to application program Selection Strategy Use program.
In an optional example, application program Selection Strategy can be the strategy that user formulates according to actual demand, When implementing, application program Selection Strategy can be inputted into terminal by the user input unit of terminal.
In this step, the mode for handling specific data can be that specific data are deleted in system space, or, will be specific Data are moved to the other memory space of terminal from system space.
Step 302:In the specific data of identified each application program, it is determined that meeting the certain number to impose a condition According to.
It is understood that for the specific data of each application program, due to application program operation corresponding to its expression When system space generation data, then, it is entirely useless data that the specific data of application program, which are not, in this way, passing through It is determined that meeting the specific data to impose a condition, it can be handled just for the specific data for meeting to impose a condition, improve number According to the validity and reliability of processing.
For example, for application 1, currently the particular data packet in system space includes 100 data files, based on this Step can filter out the data file for meeting to impose a condition, here, optionally show at one in this 100 data files In example, the data file that the satisfaction that is filtered out imposes a condition can be 30 data files.
Optionally, imposing a condition can be configured by the user of terminal, and be inputted by the user input unit of terminal Stored into terminal.
When actually implementing, this step can be implemented by the processor of terminal, it is preferable that the processor of terminal is periodically Ground is in the specific data of identified each application program, it is determined that meeting the specific data to impose a condition, in this way, passing through setting Processor fixed cycle really, can reduce the consumption of the calculation resources of the processor of terminal.
Step 303:The specific data for meeting to impose a condition are deleted, or, the satisfaction is imposed a condition specific Data are moved to the user's space of the terminal.
That is, for the specific data that satisfaction imposes a condition, there can be two kinds of processing sides that this step is recorded Formula, however, using which kind of processing mode, it can reach the purpose for discharging system space.
Optionally, can be according to user instruction, it is determined that the processing mode for the specific data for meeting to impose a condition;
Optionally, can also be according to the size of the residual memory space of the user's space of terminal, it is determined that being directed to the satisfaction The processing mode of the specific data to impose a condition;For example, the user's space of terminal residual memory space size exceed set When determining thresholding, the specific data for meeting to impose a condition are moved to the user's space of the terminal;Conversely, in terminal When the size of the residual memory space of user's space is no more than setting thresholding, the specific data for meeting to impose a condition are deleted.
In actual applications, the specific data for meeting to impose a condition can be deleted by the processor control of terminal, or Person, the specific data for meeting to impose a condition are moved to the user's space of the terminal by the processor control of terminal.
As can be seen that using the first embodiment of data processing method of the present invention, first, in each application program of terminal In, it is determined that the application program of specific data need to be handled, the specific data are used to represent when corresponding application program is run in institute State data caused by the system space of terminal;Then, in the specific data of identified each application program, it is determined that meeting to set The specific data of fixed condition;The specific data for meeting to impose a condition are deleted, or, the satisfaction is imposed a condition specific Data are moved to the user's space of the terminal;It so, it is possible to reach the purpose of release system space in time.
Second embodiment
In order to more embody the purpose of the present invention, on the basis of first embodiment of the invention, carry out further Illustrate.
In second embodiment of the invention, the flow of data processing method can include:
Step 401:In each application program of terminal, it is determined that the application program of specific data need to be handled, the certain number Data caused by system space during according to for representing corresponding application program operation in the terminal;
The implementation of the application program of specific data need to be handled for determination, in example 1, the terminal can be directed to Each application program, it is determined that within the unit interval caused specific data data volume;
For identified each data volume, N number of application program corresponding to N number of data volume of maximum is defined as needing to handle The application program of specific data, N are the integer for being more than 0 of setting.
Here, the unit interval can carry out self-defined setting with user, afterwards, by the user input unit of terminal input to In terminal;For example, the unit interval can be 35 points, 3 hours, 5 days, 07 hours etc. 8 days.
N value can carry out self-defined setting with user, afterwards, be inputted by the user input unit of terminal to terminal In;, can be with the display screen display reminding information of terminal, to prompt user to set N value when actually implementing;
Fig. 4 is that user's schematic diagram for setting N values is prompted in data processing method of the embodiment of the present invention, as shown in figure 4, eventually End display screen shows following prompt message:" value that N please be set ", and the rectangle frame for carrying out numerical value input is provided with, use Family after numerical value is inputted, click on " it is determined that " button, make terminal receive user setting N numerical value.
The implementation of 1 pair of application program for determining that specific data need to be handled of example is entered below by a specific example Row explanation.
The number of the application program of terminal is 30, and the unit interval is 2 hours, and N value is 5;It can so divide first Not by running each application program, determine that each application program runs caused data volume in 2 hours;Afterwards, to each application program Run 2 small caused data volumes to be ranked up, take application program conduct corresponding to 5 data volumes of maximum to handle certain number According to application program;In this way, it can clear up it just for 5 application programs that need to handle specific data and produced at system space Data.
As can be seen that in the implementation for the application program that need to handle specific data using the determination described in example 1, can With the data volume according to specific data, it is determined that the application program of specific data need to be handled, and respectively should the terminal is not it By the use of program all as the application program that need to handle specific data, follow-up data processing amount is advantageously reduced.
Simultaneously as identified application program is the larger application of data volume of caused specific data in the unit interval Program, therefore, it is possible to while the number for the application program that need to handle specific data is reduced as far as possible, improve system space release Capacity, add the efficiency of data processing.
The implementation of the application program of specific data need to be handled for determination, in example 2, in respectively should for the terminal With in program, the application program for obtaining the authority for changing system space data is defined as handling to the application journey of specific data Sequence.
Here, the authority for changing system space data is used to represent to repair application program in data caused by system space Change authority, that is to say, that application program is after the authority of modification system space data is obtained, can be with when running application program Application program is modified in data caused by system space.
Optionally, the authority for changing system space data includes but is not limited to:Read authority, delete authority, write-in authority Deng.
When actually implementing, can application program obtain the authority of modification system space data, can be set by user Put, user is corresponding equivalent to being sent to terminal when terminal sets certain application program to obtain the authority of modification system space data Authorization message so that terminal determine certain application program obtain modification system space data authority;
Fig. 5 is the schematic diagram that data processing method of the embodiment of the present invention prompts user to carry out application program mandate, such as Fig. 5 institutes Show, terminal display screen shows following prompt message:" application program that the authority for obtaining modification system space data please be set ", and On a display screen, corresponding application name is shown;In Fig. 5, represent that 3 differences of terminal should using 1, using 2 and application 3 With program, ellipsis below represents the other applications not shown in Fig. 5, can apply journey accordingly by clicking on choose Sequence;After the application program of all authorities for obtaining modification system space data is chosen, can click on " it is determined that " button, make terminal Receive all application programs of the authority of the acquisition modification system space data of user's setting.
As can be seen that in the implementation for the application program that need to handle specific data using the determination described in example 2, can It is determined that the application program of specific data need to be handled, and to be not that the terminal is respectively applied into journey according to authorized user message Sequence whole advantageously reduces follow-up data processing amount as the application program that need to handle specific data.
Further, can be according to pre-setting it is determined that obtain the application program of the authority of modification system space data Each application program importance ranking or priority ranking, choose the minimum M application program of importance degree or selection be excellent Application program of the M minimum application program of first level as the authority for obtaining modification system space data, so, due to being repaiied The importance for changing the application program of the authority of system space data is relatively low, then to application program reset its in system space During data, the higher application program of importance degree can be retained in the data of system space, can effectively be ensured The normal operation of the higher application program of the property wanted degree;Here, M can be the integer for being more than 0 that user is set.
Step 402:The implementation of this step is identical with step 302, repeats no more here.
Step 403:The implementation of this step is identical with step 303, repeats no more here.
3rd embodiment
In order to more embody the purpose of the present invention, on the basis of first embodiment of the invention, carry out further Illustrate.
The flow of the data processing method of second embodiment of the invention can include:
Step 501:The implementation of this step is identical with step 301, repeats no more here.
Step 502:In the specific data of identified each application program, it is determined that meeting the certain number to impose a condition According to;
Here, described impose a condition can include:The generation time point and the time span at current time of specific data surpass Cross setting time length threshold.
It is understood that the usual more than one of specific data of each application program, then, it can be sieved by this step Select the specific data for meeting to impose a condition;For example, if the generation time point of a specific data of some application program is 2 Before individual month, and time span threshold value is 40 days, then the generation time point and the time span at current time for corresponding to specific data surpass Setting time length threshold is crossed, the specific data that specific data corresponding to explanation impose a condition for satisfaction;If some applies journey The generation time point of one specific data of sequence be 1 month before, and time span threshold value be 40 days, then correspond to the production of specific data For the time span at raw time point and current time not less than setting time length threshold, specific data corresponding to explanation are not to meet The specific data to impose a condition.
Step 503:The specific data for meeting to impose a condition are deleted, or, the satisfaction is imposed a condition specific Data are moved to the user's space of the terminal.
Exemplarily, the implementation of this step can be:
The first prompt message or the second prompt message are generated, it is described full whether first prompt message deletes for prompting The specific data to impose a condition enough, second prompt message are used to prompt whether to move the certain number for meeting to impose a condition According to;
When receiving data deletion instruction or data movement instructions, deleted and instructed based on the data, deleted described full The specific data to impose a condition enough;Or based on the data movement instructions, the specific data for meeting to impose a condition are moved Move to the user's space of the terminal.
Fig. 6 is the schematic diagram of the first prompt message shown in data processing method of the embodiment of the present invention in terminal, such as Fig. 6 Shown, the display screen of terminal shows following first prompt message:" whether deleting the specific data for meeting to impose a condition ", And show following two select buttons:"Yes" and "No", when user clicks on "Yes" button, equivalent to terminal input data Delete instruction.
Fig. 7 is the schematic diagram of the second prompt message shown in data processing method of the embodiment of the present invention in terminal, such as Fig. 7 Shown, the display screen of terminal shows following second prompt message:" whether moving the specific data for meeting to impose a condition ", And show following two select buttons:"Yes" and "No", when user clicks on "Yes" button, equivalent to terminal input data Move.
3rd embodiment
Based on previous embodiment identical technical concept, third embodiment of the invention provides a kind of terminal, here, above-mentioned The terminal of record can be mobile terminal or fixed terminal, the terminal of above-mentioned record include but is not limited to mobile phone, Notebook computer, camera, PDA, PAD, PMP, guider etc..The mobile terminal can be connected to internet, wherein, institute The mode for stating connection can be that the mobile internet provided by operator is attached, and can also be and wirelessly connect by access Access point carries out network connection.
Here, the terminal of above-mentioned record can be mobile terminal or fixed terminal, and the terminal of above-mentioned record includes But it is not limited to mobile phone, notebook computer, camera, PDA, PAD, PMP, guider etc..The mobile terminal can connect Internet is connected to, wherein, the mode of the connection can be that the mobile internet provided by operator is attached, and may be used also To be to carry out network connection by accessing WAP.
Here, if mobile terminal has operating system, the operating system can be UNIX, Linux, Windows, Android (Android), Windows Phone etc..
It should be noted that species, shape, size to the display screen on mobile terminal etc. is not limited, it is exemplary , the display screen on mobile terminal can be LCDs etc..
Referring to Fig. 8, it illustrates a kind of terminal 80 provided in an embodiment of the present invention, can include:Memory 801, processing Device 802 and the computer program that can be run on the memory and on the processor is stored in, wherein,
In each application program of terminal, it is determined that the application program of specific data need to be handled, the specific data are used for table Data caused by system space corresponding to showing during application program operation in the terminal;
In the specific data of identified each application program, it is determined that meeting the specific data to impose a condition;
The specific data for meeting to impose a condition are deleted, or, the specific data for meeting to impose a condition are moved To the user's space of the terminal.
In actual applications, above-mentioned memory 801 can be volatile memory (volatile memory), such as with Machine access memory (RAM, Random-Access Memory);Or nonvolatile memory (non-volatile Memory), such as read-only storage (ROM, Read-Only Memory), flash memory (flash memory), hard disk (HDD, Hard Disk Drive) or solid state hard disc (SSD, Solid-State Drive);Or the memory of mentioned kind Combination, and provide instruction and data to processor 802.
Above-mentioned processor 802 can be application-specific IC (ASIC, Application Specific Integrated Circuit), digital signal processor (DSP, Digital Signal Processor), Digital Signal Processing Device (DSPD, Digital Signal Processing Device), programmable logic device (PLD, Programmable Logic Device), field programmable gate array (FPGA, Field Programmable Gate Array), central processing unit At least one of (CPU, Central Processing Unit), controller, microcontroller, microprocessor.It is appreciated that Ground, for different equipment, for realizing that the electronic device of above-mentioned first processor function can also be other, the present invention is implemented Example is not especially limited.
It is understood that for any one application program, operationally, may be in the space of the system of terminal Corresponding data are generated, at this point it is possible to which the data of these generations are referred to as into specific data corresponding to the application program;
As each application program run time is built up in terminal, the system space of terminal taken by specific data Memory space can be more and more, in this way, by determining that the application programs of specific data need to be handled, can be convenient for follow-up Remove the process of specific data.
Here, the application program that need to handle specific data can be the certain applications program in each application program of terminal, Can also be all application programs installed in terminal.
For example, being provided with 26 application programs in terminal altogether, it is designated as respectively using 1 to using 26, then can will apply 1 It is whole as the application program that need to handle specific data to application 26;Can also be in the selected part application into application 26 of application 1 Program is as the application program that need to handle specific data.
When actually implementing, application program Selection Strategy can be set, application program Selection Strategy is used to represent to determine to need Handle the mode of the application program of specific data;Afterwards, determine that answering for specific data need to be handled according to application program Selection Strategy Use program.
In an optional example, application program Selection Strategy can be the strategy that user formulates according to actual demand, When implementing, application program Selection Strategy can be inputted into terminal by the user input unit of terminal.
For example, the mode for handling specific data can be that specific data are deleted in system space, or, by specific data The other memory space of terminal is moved to from system space.
It is understood that for the specific data of each application program, due to application program operation corresponding to its expression When system space generation data, then, it is entirely useless data that the specific data of application program, which are not, in this way, passing through It is determined that meeting the specific data to impose a condition, it can be handled just for the specific data for meeting to impose a condition, improve number According to the validity and reliability of processing.
For example, for application 1, currently the particular data packet in system space includes 100 data files, Ke Yi In this 100 data files, the data file for meeting to impose a condition is filtered out, here, in an optional example, is screened The data file that the satisfaction gone out imposes a condition can be 30 data files.
Optionally, imposing a condition can be configured by the user of terminal, and be inputted by the user input unit of terminal Stored into terminal.
Preferably, the processor of terminal is periodically in the specific data of identified each application program, it is determined that full The specific data to impose a condition enough, in this way, by setting processor fixed cycle really, the computing of the processor of terminal can be reduced The consumption of resource.
For the specific data that satisfaction imposes a condition, two kinds of processing modes that step 303 can be used to record are carried out Data processing, however, using which kind of processing mode, it can reach the purpose for discharging system space.
Optionally, can be according to user instruction, it is determined that the processing mode for the specific data for meeting to impose a condition;
Optionally, can also be according to the size of the residual memory space of the user's space of terminal, it is determined that being directed to the satisfaction The processing mode of the specific data to impose a condition;For example, the user's space of terminal residual memory space size exceed set When determining thresholding, the specific data for meeting to impose a condition are moved to the user's space of the terminal;Conversely, in the use of terminal When the size of the residual memory space in family space is no more than setting thresholding, the specific data for meeting to impose a condition are deleted.
In actual applications, the specific data for meeting to impose a condition can be deleted by the processor control of terminal, or Person, the specific data for meeting to impose a condition are moved to the user's space of the terminal by the processor control of terminal.
Fourth embodiment
Based on previous embodiment identical technical concept, fourth embodiment of the invention provides a kind of computer-readable Jie Matter, part that the technical scheme of previous embodiment substantially contributes to prior art in other words or the technical scheme it is complete Portion or part can be embodied in the form of software product, and the computer software product is stored in a computer-readable storage In medium, including some instructions are make it that a computer equipment (can be that personal computer, server, or network are set It is standby etc.) or processor (processor) perform all or part of step of the present embodiment methods described.And foregoing storage medium Including:USB flash disk, mobile hard disk, read-only storage (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
Specifically, computer program instructions corresponding to a kind of data processing method in the present embodiment can be stored in In the storage mediums such as CD, hard disk, USB flash disk, when computer program corresponding with a kind of data processing method refers in storage medium When order is read or is performed by an electronic equipment, comprise the following steps:
In each application program of terminal, it is determined that the application program of specific data need to be handled, the specific data are used for table Data caused by system space corresponding to showing during application program operation in the terminal;
In the specific data of identified each application program, it is determined that meeting the specific data to impose a condition;
The specific data for meeting to impose a condition are deleted, or, the specific data for meeting to impose a condition are moved To the user's space of the terminal.
Optionally, the computer program instructions corresponding with data processing method in storage medium are read by an electronic equipment Or when being performed, specifically comprise the following steps:
For each application program of the terminal, it is determined that within the unit interval caused specific data data volume;
For identified each data volume, N number of application program corresponding to N number of data volume of maximum is defined as needing to handle The application program of specific data, N are the integer for being more than 0 of setting.
Optionally, the computer program instructions corresponding with data processing method in storage medium are read by an electronic equipment Or when being performed, specifically comprise the following steps:
In each application program of the terminal, the application program for obtaining the authority for changing system space data is defined as The application program of specific data need to be handled.
Optionally, it is described impose a condition including:The generation time point and the time span at current time of specific data exceed Setting time length threshold.
Optionally, the computer program instructions corresponding with data processing method in storage medium are read by an electronic equipment Or when being performed, specifically comprise the following steps:
The first prompt message or the second prompt message are generated, it is described full whether first prompt message deletes for prompting The specific data to impose a condition enough, second prompt message are used to prompt whether to move the certain number for meeting to impose a condition According to;
When receiving data deletion instruction or data movement instructions, deleted and instructed based on the data, deleted described full The specific data to impose a condition enough;Or based on the data movement instructions, the specific data for meeting to impose a condition are moved Move to the user's space of the terminal.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, these are belonged within the protection of the present invention.

Claims (10)

1. a kind of data processing method, it is characterised in that methods described includes:
In each application program of terminal, it is determined that the application program of specific data need to be handled, the specific data are used for expression pair Data caused by system space during the application program operation answered in the terminal;
In the specific data of identified each application program, it is determined that meeting the specific data to impose a condition;
The specific data for meeting to impose a condition are deleted, or, the specific data for meeting to impose a condition are moved to institute State the user's space of terminal.
2. according to the method for claim 1, it is characterised in that it is described in each application program of terminal, it is determined that needing to handle The application program of specific data, including:
For each application program of the terminal, it is determined that within the unit interval caused specific data data volume;
For identified each data volume, N number of application program corresponding to N number of data volume of maximum is defined as handling specific The application program of data, N are the integer for being more than 0 of setting.
3. according to the method for claim 1, it is characterised in that it is described in each application program of terminal, it is determined that needing to handle The application program of specific data, including:
In each application program of the terminal, the application program for obtaining the authority for changing system space data is defined as needing to locate Manage the application program of specific data.
4. according to the method for claim 1, it is characterised in that it is described impose a condition including:
The generation time point and the time span at current time of specific data exceed setting time length threshold.
5. the method according to claim 1 or 4, it is characterised in that described to delete the certain number for meeting to impose a condition According to, or, by the user's space for meeting the specific data that impose a condition and being moved to the terminal, including:
The first prompt message or the second prompt message are generated, whether first prompt message is used for prompting, which deletes the satisfaction, sets The specific data of fixed condition, second prompt message are used to prompt whether to move the specific data for meeting to impose a condition;
When receiving data deletion instruction or data movement instructions, deleted and instructed based on the data, deletion is described to be met to set The specific data of fixed condition;Or based on the data movement instructions, the specific data for meeting to impose a condition are moved to The user's space of the terminal.
6. a kind of terminal, it is characterised in that the terminal includes memory, processor and is stored on the memory and can be The computer program run on the processor, wherein,
Following steps are realized when the computer program is by the computing device:
In each application program of terminal, it is determined that the application program of specific data need to be handled, the specific data are used for expression pair Data caused by system space during the application program operation answered in the terminal;
In the specific data of identified each application program, it is determined that meeting the specific data to impose a condition;
The specific data for meeting to impose a condition are deleted, or, the specific data for meeting to impose a condition are moved to institute State the user's space of terminal.
7. terminal according to claim 6, it is characterised in that specific when the computer program is by the computing device Realize following steps:
For each application program of the terminal, it is determined that within the unit interval caused specific data data volume;
For identified each data volume, N number of application program corresponding to N number of data volume of maximum is defined as handling specific The application program of data, N are the integer for being more than 0 of setting.
8. terminal according to claim 6, it is characterised in that specific when the computer program is by the computing device Realize following steps:
In each application program of the terminal, the application program for obtaining the authority for changing system space data is defined as needing to locate Manage the application program of specific data.
9. terminal according to claim 6, it is characterised in that it is described impose a condition including:The generation time of specific data Point and the time span at current time exceed setting time length threshold.
A kind of 10. computer-readable recording medium, it is characterised in that applied in terminal, the computer-readable recording medium It is stored with data processor,
When the data processor is by least one computing device, cause at least one computing device right will Seek the step described in 1,2,3 or 5.
CN201710641679.6A 2017-07-31 2017-07-31 Data processing method, terminal and computer readable storage medium Active CN107479971B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710641679.6A CN107479971B (en) 2017-07-31 2017-07-31 Data processing method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710641679.6A CN107479971B (en) 2017-07-31 2017-07-31 Data processing method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107479971A true CN107479971A (en) 2017-12-15
CN107479971B CN107479971B (en) 2021-01-01

Family

ID=60598060

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710641679.6A Active CN107479971B (en) 2017-07-31 2017-07-31 Data processing method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107479971B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060167916A1 (en) * 2005-01-21 2006-07-27 Vertes Marc P Non-intrusive method for logging external events related to an application process, and a system implementing said method
US20070055714A1 (en) * 2005-09-06 2007-03-08 Yohsuke Ishii Migration system for confirming worm retention term
CN103823812A (en) * 2012-11-19 2014-05-28 苏州工业园区新宏博通讯科技有限公司 System data management method
CN104035769A (en) * 2014-05-30 2014-09-10 北京金山安全软件有限公司 Processing method and device for space shortage
CN104541252A (en) * 2012-05-20 2015-04-22 简易存储有限公司 Server-based hierarchical mass storage system
CN105574163A (en) * 2015-12-16 2016-05-11 北京金山安全软件有限公司 File processing method and device and electronic equipment
CN106249898A (en) * 2016-08-12 2016-12-21 北京金山安全软件有限公司 Prompting method and device for insufficient storage space and mobile device
CN106294576A (en) * 2016-07-28 2017-01-04 Tcl集团股份有限公司 The method for cleaning of a kind of Android system memory space and system
CN106502783A (en) * 2016-09-23 2017-03-15 深圳市金立通信设备有限公司 A kind of EMS memory management process and terminal device
CN106790581A (en) * 2016-12-28 2017-05-31 深圳天珑无线科技有限公司 Application data processing method, device and terminal

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060167916A1 (en) * 2005-01-21 2006-07-27 Vertes Marc P Non-intrusive method for logging external events related to an application process, and a system implementing said method
US20070055714A1 (en) * 2005-09-06 2007-03-08 Yohsuke Ishii Migration system for confirming worm retention term
CN104541252A (en) * 2012-05-20 2015-04-22 简易存储有限公司 Server-based hierarchical mass storage system
CN103823812A (en) * 2012-11-19 2014-05-28 苏州工业园区新宏博通讯科技有限公司 System data management method
CN104035769A (en) * 2014-05-30 2014-09-10 北京金山安全软件有限公司 Processing method and device for space shortage
CN105574163A (en) * 2015-12-16 2016-05-11 北京金山安全软件有限公司 File processing method and device and electronic equipment
CN106294576A (en) * 2016-07-28 2017-01-04 Tcl集团股份有限公司 The method for cleaning of a kind of Android system memory space and system
CN106249898A (en) * 2016-08-12 2016-12-21 北京金山安全软件有限公司 Prompting method and device for insufficient storage space and mobile device
CN106502783A (en) * 2016-09-23 2017-03-15 深圳市金立通信设备有限公司 A kind of EMS memory management process and terminal device
CN106790581A (en) * 2016-12-28 2017-05-31 深圳天珑无线科技有限公司 Application data processing method, device and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
MOSOFT: "详解Windows系统中如何释放C盘空间", 《HTTPS://BLOG.CSDN.NET/MOSOFT/ARTICLE/DETAILS/426519》 *

Also Published As

Publication number Publication date
CN107479971B (en) 2021-01-01

Similar Documents

Publication Publication Date Title
CN107729133A (en) A kind of method, terminal and computer-readable recording medium for running application program
CN107390968A (en) Method, terminal and the computer-readable recording medium that application interface exchanges
CN107729131A (en) A kind of event-handling method, terminal and computer-readable recording medium
CN107766523A (en) A kind of file management method, mobile terminal and computer-readable recording medium
CN104965641A (en) Method and apparatus for displaying information
CN107506999A (en) Method of payment, terminal and computer-readable recording medium
CN107704630A (en) File operation method, mobile terminal and storage medium
CN106161931A (en) The method and device of image preview
CN107566980A (en) The localization method and mobile terminal of a kind of mobile terminal
CN108075899A (en) A kind of auth method, mobile terminal and computer readable storage medium
CN107589887A (en) One kind applies startup method and terminal
CN107730260A (en) A kind of method, equipment and terminal realized Quick Response Code and paid
CN107741802A (en) Using startup method, terminal and computer-readable recording medium
CN106453402A (en) Data processing method and device
CN107273433A (en) A kind of file scanning method, equipment and computer-readable recording medium
CN107656706A (en) A kind of data processing method, terminal and computer-readable storage medium
CN106658353A (en) Data migration method and mobile equipment
CN107622213A (en) A kind of data access method, terminal and computer-readable recording medium
CN107066890A (en) A kind of method and device for handling and file being encrypted using obscuring
CN109828795A (en) A kind of apparatus control method, terminal and computer readable storage medium
CN106980554A (en) A kind of process handling method and device
CN107464215B (en) Image processing method and terminal based on electronic map
CN109344876A (en) A kind of public platform sort management method, terminal and storage medium
CN107360376A (en) A kind of image pickup method and terminal
CN108733772A (en) A kind of file delet method and terminal 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
GR01 Patent grant
GR01 Patent grant