CN106020729A - Clearing method and device for multi-media data of mobile terminal - Google Patents
Clearing method and device for multi-media data of mobile terminal Download PDFInfo
- Publication number
- CN106020729A CN106020729A CN201610355758.6A CN201610355758A CN106020729A CN 106020729 A CN106020729 A CN 106020729A CN 201610355758 A CN201610355758 A CN 201610355758A CN 106020729 A CN106020729 A CN 106020729A
- Authority
- CN
- China
- Prior art keywords
- medium data
- retention cycle
- cycle
- described multi
- retention
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/062—Securing storage systems
- G06F3/0623—Securing storage systems in relation to content
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/0652—Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket
Abstract
The embodiment of the invention provides a clearing method and device for multi-media data of a mobile terminal. The method comprises following steps: setting retention cycles for multi-media data stored in the mobile terminal; effectively verifying multi-media data according to retention cycles; and deleting multi-media data when multi-media data is not effective. The embodiment has following beneficial effects: based on retention cycles, multi-media data is automatically cleared in order to avoid manual screening and deletion; especially in the great number of multi-media data, convenience of clearing operation is greatly improved and consumption of user's time is reduced.
Description
Technical field
The present invention relates to the technical field of mobile device, particularly relate to the multimedia number of a kind of mobile device
According to method for cleaning and the cleaning plant of multi-medium data of a kind of mobile device.
Background technology
Along with the development of communication science and technology, the such as mobile device such as mobile phone, wrist-watch the work of people, study,
The utilization rate of each side such as daily exchange is more and more higher.
These mobile devices are the most all configured with the hardware such as photographic head, mike so that take pictures, record a video,
Recording becomes the common function of mobile device.
Obtain owing to taking pictures, record a video and recording is data, and reusability is high, and cost is the lowest, therefore,
User can carry out whenever and wherever possible taking pictures, records a video, record.
Therefore, after long term accumulation, substantial amounts of multi-medium data can be stored, not only bad for user
Management, and occupy substantial amounts of storage resource, it is therefore desirable to clear up.
At present, it is usually the volume size detecting multi-medium data, when exceeding certain volume (such as 10M)
Time, prompting user clears up.
But, this manner of cleaning up screening conditions are single, it is impossible to meet the demand of user, user's great majority
In the case of can only rider select need cleaning multi-medium data, then delete, the most matchmakers
In the case of volume data quantity is various, operate the most loaded down with trivial details, expend user's substantial amounts of time.
Summary of the invention
In view of the above problems, the problem loaded down with trivial details in order to solve the cleaning operation of above-mentioned multi-medium data, this
The method for cleaning that bright embodiment proposes the multi-medium data of a kind of mobile device is a kind of mobile with corresponding
The cleaning plant of the multi-medium data of equipment.
In order to solve the problems referred to above, the embodiment of the invention discloses the multi-medium data of a kind of mobile device
Method for cleaning, including:
Multi-medium data configuration retention cycle to storage in mobile device;
According to described retention cycle, described multi-medium data is carried out validity check;
When described multi-medium data lost efficacy, delete described multi-medium data.
Preferably, the step bag of the described multi-medium data configuration retention cycle to storage in mobile device
Include:
In a mobile device during browsing multimedia data, receive retention cycle;
Call specify interface is set, to described multi-medium data configure described retention cycle.
Preferably, the described step to described multi-medium data configuration retention cycle includes:
Retention cycle is write in the first field of described multi-medium data;
Retention cycle mark is write in the second field of described multi-medium data.
Preferably, the described step that according to described retention cycle, described multi-medium data is carried out validity check
Suddenly include:
When listening to the load request of multi-medium data, it is judged that whether described multi-medium data has preservation
Cycle;
When described multi-medium data has retention cycle, it is judged that whether described multi-medium data is in described
In retention cycle;
If, it is determined that described multi-medium data is effective;
If not, it is determined that described multi-medium data lost efficacy.
Preferably, described judge whether described multi-medium data has the step of retention cycle and include:
Judge whether the second field of described multi-medium data has retention cycle mark;
If, it is determined that described multi-medium data has retention cycle;
If not, it is determined that described multi-medium data does not have retention cycle.
Preferably, the described step bag judging whether described multi-medium data is in described retention cycle
Include:
The reading and saving cycle from the first field of described multi-medium data;
Inquire about the described multi-medium data holding time when configuring described retention cycle;
Calculate current time and the time difference between the described holding time;
When described time difference is less than described retention cycle, confirm that described multi-medium data is in described preservation
In cycle;
When described time difference is more than or equal to described retention cycle, confirm that described multi-medium data is in institute
State outside retention cycle.
Preferably, described judge the step whether described multi-medium data has retention cycle after, institute
Method of stating also includes:
When described multi-medium data does not has retention cycle, load described multi-medium data.
Preferably, also include:
When described multi-medium data is effective, load described multi-medium data.
The embodiment of the invention also discloses the cleaning plant of the multi-medium data of a kind of mobile device, including:
Retention cycle configuration module, for preserving week to the multi-medium data configuration of storage in mobile device
Phase;
Validity check module, for carrying out effectiveness according to described retention cycle to described multi-medium data
Verification;
Multi-medium data removing module, for when described multi-medium data lost efficacy, deletes described multimedia
Data.
Preferably, described retention cycle configuration module includes:
Retention cycle receives submodule, when browsing multimedia data in a mobile device, receives and preserves
Cycle;
Interface interchange submodule is set, for call specify interface is set, described multi-medium data is joined
Put described retention cycle.
Preferably, described retention cycle configuration module includes:
Retention cycle write submodule, preserves week for write in the first field of described multi-medium data
Phase;
Retention cycle mark write submodule, protects for write in the second field of described multi-medium data
Cycle of deposit identifies.
Preferably, described validity check module includes:
First judges submodule, for when listening to the load request of multi-medium data, it is judged that described many
Whether media data has retention cycle;
Second judges submodule, for when described multi-medium data has retention cycle, it is judged that described many
Whether media data is in described retention cycle;The most then call and effectively determine submodule, if it is not,
Then call and invalid determine submodule;
Effectively determine submodule, be used for determining that described multi-medium data is effective;
Invalid determine submodule, be used for determining that described multi-medium data lost efficacy.
Preferably, described first judges that submodule includes:
Whether retention cycle mark judging unit, have in the second field judging described multi-medium data
Retention cycle is had to identify;The most then call and have first and determine unit, determine if it is not, then call second
Unit;
First determines unit, is used for determining that described multi-medium data has retention cycle;
Second determines unit, is used for determining that described multi-medium data does not have retention cycle.
Preferably, described second judges that submodule includes:
Retention cycle reads unit, for the week of reading and saving from the first field of described multi-medium data
Phase;
Holding time query unit, for inquire about described multi-medium data configure described retention cycle time
Holding time;
Time difference calculating unit, for calculating the time difference between current time and described holding time;
3rd determines unit, for when described time difference is less than described retention cycle, confirming described many matchmakers
Volume data is in described retention cycle;
4th determines unit, for when described time difference is more than or equal to described retention cycle, confirming institute
State multi-medium data to be in outside described retention cycle.
Preferably, also include:
First multi-medium data load-on module, is used for when described multi-medium data does not has retention cycle,
Load described multi-medium data.
Preferably, also include:
Second multi-medium data load-on module, for when described multi-medium data is effective, loads described many
Media data.
The embodiment of the present invention includes advantages below:
The multi-medium data configuration retention cycle that the embodiment of the present invention stores in a mobile device, certain
Under the conditions of, according to retention cycle, multi-medium data is carried out validity check, if verifying this multi-medium data
Lost efficacy, then can delete this multi-medium data, it is achieved that based on automatic to multi-medium data of retention cycle
Cleaning, it is to avoid user manually carries out the operation screened, delete, and especially multi-medium data quantity is various
In the case of, substantially increase the simplicity of cleaning operation, decrease the consuming of user time.
Accompanying drawing explanation
Fig. 1 is the step of the method for cleaning embodiment 1 of the multi-medium data of a kind of mobile device of the present invention
Flow chart;
Fig. 2 is the Organization Chart of a kind of android system of the embodiment of the present invention;
Fig. 3 is the step of the method for cleaning embodiment 2 of the multi-medium data of a kind of mobile device of the present invention
Flow chart;
Fig. 4 is the structural frames of the cleaning plant embodiment of the multi-medium data of a kind of mobile device of the present invention
Figure.
Detailed description of the invention
Understandable, below in conjunction with the accompanying drawings for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from
The present invention is further detailed explanation with detailed description of the invention.
With reference to Fig. 1, it is shown that the method for cleaning of the multi-medium data of a kind of mobile device of the present invention is implemented
The flow chart of steps of example 1, specifically may include steps of:
Step 101, the multi-medium data configuration retention cycle to storage in mobile device;
In implementing, the embodiment of the present invention can be applied in a mobile device, such as, mobile phone, flat
Plate computer, personal digital assistant, wearable device (such as glasses, wrist-watch etc.) etc..
These mobile devices are commonly configured with one or more multimedia hardwares, such as, photographic head camera,
Mike MIC, to generate the multi-medium datas such as view data, video data, voice data.
The operating system of these mobile communication terminals can include Android (Android), IOS, Windows
Phone, Windows etc..
For making those skilled in the art be more fully understood that the embodiment of the present invention, in this manual, will
Android illustrates as a kind of example of operating system.
In implementing, if multi-medium data can be configured retention cycle in a mobile device.
So-called retention cycle, refers to that multi-medium data, from the time being saved between deletion, can be system
Acquiescence, it is also possible to being user setup, this is not any limitation as by the embodiment of the present invention.
In one embodiment of the invention, step 101 can include following sub-step:
Sub-step S11, in a mobile device during browsing multimedia data, receives retention cycle;
In embodiments of the present invention, user can pass through picture library, open the behaviour such as photographic head, unlatching mike
Make, all loading multimedia data can show, allow user browse.
These storage multi-medium datas in a mobile device, can be that mobile device generates, it is also possible to
It is that other-end sends, it is also possible to download from network, etc., this is not added with by the embodiment of the present invention
To limit.
As a example by generating multi-medium data, in android system, multi-media recording object can be created
MediaRecorder, the MediaRecorder recording service module to liking by application framework layer
MPS creates and records Service Instance StageFrightRecorder, controls the recording of multimedia file.
Wherein, StagefrightRecorder is the entity object for recording operation that MPS creates.
Interprocess communication is realized by AIDL interface, in order to take the photograph between application and the MPS of recorded video
As head application and development is convenient, android system provides packaged help class.
Application such as recorded video is realized by MediaRecorder object and MediaRecorderClient
Exchange with MPS.
MediaRecorder to as if the process space of the application that operates in recorded video inside, represent
MPS, MediaRecorderClient operate in and represent recorded video inside the multimedia server process space
Application.
By preset photographic head source class CameraSource from camera collection view data, video counts
According to.
Voice data is gathered from mike by preset audio-source class AudioSource.
When generating multi-medium data in android system, can inquire about in hardware abstraction layer and whether inquire about
There is life parameter.
In embodiments of the present invention, in the System menu of mobile device, offer arranges the control of retention cycle.
When browsing multimedia data, user clicks on this control can arrange acquiescence to certain multi-medium data
Retention cycle, or, input self-defining retention cycle.
Sub-step S12, call specify interface is set, to described multi-medium data configuration described preserve week
Phase.
As in figure 2 it is shown, in android system, run an application (as photographic head is applied), one
As need Java applications (application layer), Framework (application framework layer), Hardware (hard
Part level of abstraction), mutual between Linux Kernel (Linux inner core).
Trigger launcher searches application (as photographic head is applied) at Java applications (application layer)
Resource, obtain start entrance, Java code successively hand over virtual machine resolve perform, execution process
The middle interface that can call Framewrok (application framework layer) successively, Hardware (hardware abstraction layer)
Interface and the driving interface of Linux Kernel (Linux inner core).
Wherein, Java applications (application layer) is to operate in Java void with what Java language was write
Program on plan machine, as photographic head is applied.
Hardware (hardware abstraction layer) can be the hardware device to linux system (such as photographic head)
The encapsulation of operation interface, upwards provides interface, and shield bottom realizes details.
In embodiments of the present invention, the system of mobile device provides the api interface arranging retention cycle
(Application Programming Interface, application programming interface).
According to the specification of this api interface, retention cycle is joined as parameter, the multimedia selecting user
Putting retention cycle, this process can realize in application layer, and typically without revise multimedia data base (as
Picture library) structure.
Step 102, carries out validity check according to described retention cycle to described multi-medium data;
Owing to multi-medium data has retention cycle, need automatically to clear up, therefore, it can necessarily
Under conditions of, such as loading multimedia data, timing etc., multi-medium data is carried out validity check, with
Determine that this multi-medium data is the most effective.
Step 103, when described multi-medium data lost efficacy, deletes described multi-medium data.
In the embodiment of the present invention, if multi-medium data is positioned in retention cycle, the most effective;If multimedia
Data are positioned at outside life cycle, typically lose efficacy, then can delete this multi-medium data.
Certainly, delete multi-medium data, can be directly to delete multi-medium data itself, it is also possible to many
Media data is labeled as deleting, and does not shows, the most just deletes, in this section
In time, user can recover, and this is not any limitation as by the embodiment of the present invention.
The multi-medium data configuration retention cycle that the embodiment of the present invention stores in a mobile device, certain
Under the conditions of, according to retention cycle, multi-medium data is carried out validity check, if verifying this multi-medium data
Lost efficacy, then can delete this multi-medium data, it is achieved that based on automatic to multi-medium data of retention cycle
Cleaning, it is to avoid user manually carries out the operation screened, delete, and especially multi-medium data quantity is various
In the case of, substantially increase the simplicity of cleaning operation, decrease the consuming of user time.
With reference to Fig. 3, it is shown that the method for cleaning of the multi-medium data of a kind of mobile device of the present invention is implemented
The flow chart of steps of example 2, specifically may include steps of:
Step 301, the multi-medium data configuration retention cycle to storage in mobile device;
In implementing, in order to save the memory space of mobile device, multimedia number the most for convenience
According to unified management, retention cycle can be write in the attribute of multi-medium data.
Furthermore, retention cycle can be write in the first field of multi-medium data, can be many
Second field of media data writes retention cycle mark.
Wherein, retention cycle is designated and identifies this multi-medium data and have the information of retention cycle.
With exif (Exchangeable Image File Format, exchangeable image file) information as many
The example of the attribute of media data, exif information be a kind of standard for specification picture, sound, screen and
Shooting condition and the cameras such as aperture during shooting, shutter, white balance, ISO, focal length, date-time
The sound recorded when brand, model, color coding, shooting and global positioning system (GPS), contracting
The information such as sketch map.
The identifier between 0xFFE0--0xFFEF idle in Exif Information Pull jpeg file, note
Record photographing information, such as shutter speed, f-number etc..
In one example, it is possible to use whether 0XFFE0 record uses flash lamp when taking pictures, and this value is
Employ flash lamp when representing when 1 and take pictures, be to represent when 0 not use flash lamp.
Android system provides the exif interface support of multi-medium data, can read multi-medium data
In this type of information, come whether data recording multimedia data has preservation by this type of information in exif information
Cycle, retention cycle time a length of how much.
Expanded by the UserComment field (the first field) of the exif information of multi-medium data
Exhibition, record retention cycle, the management of the follow-up multi-medium data with retention cycle, simultaneously
The makenote field (the second field) of exif information is processed, when this field attribute is true,
Characterize multi-medium data and there is retention cycle.
Certainly, the configuration mode of above-mentioned multi-medium data is intended only as example, is implementing the embodiment of the present invention
Time, the configuration mode of other multi-medium datas can be set according to practical situation, such as, by independent
File, such as configuration literary compositions such as XML (Extensible Markup Language, extensible markup language)
Part, the retention cycle of data recording multimedia data, etc., this is not any limitation as by the embodiment of the present invention.Separately
Outward, in addition to the configuration mode of above-mentioned multi-medium data, those skilled in the art can also be according to actual need
Using the configuration mode of other multi-medium data, this is not any limitation as by the embodiment of the present invention.
Step 302, when listening to the load request of multi-medium data, it is judged that described multi-medium data is
No have retention cycle;
In implementing, open picture library, open the operation such as photographic head, unlatching mike, all can load
Multi-medium data.
When user opens picture library, unlatching photographic head, unlatching mike, it generally is the figure browsing generation
As multi-medium datas such as data, video data, voice datas, in order to present can add from data base to user
Carry multi-medium data, now go retention cycle is carried out validity check, existing logic can be used,
Without newly-increased logic, reduce the amendment to application.
In a kind of mode, it can be determined that the second field of multi-medium data is (such as exif information
Makenote field) in whether have retention cycle mark;
If, it is determined that multi-medium data has retention cycle;
If not, it is determined that multi-medium data does not have retention cycle.
Certainly, if retention cycle uses the mode records such as independent file (such as XML file), it is possible to
To use the modes such as the mark (such as ID) mating multi-medium data in this independent file to judge many matchmakers
Whether volume data has retention cycle, i.e. inquires in this independent file (such as XML file) and works as
The mark (such as ID) of front multi-medium data, then it is assumed that this multi-medium data has retention cycle, otherwise,
The mark (such as ID) of current multimedia data is not inquired in this independent file (such as XML file),
Then think that this multi-medium data does not have retention cycle, etc. the embodiment of the present invention this is not any limitation as.
Step 303, when described multi-medium data does not has retention cycle, loads described multi-medium data;
If multi-medium data does not have life cycle, then can show with this multi-medium data of normal load
Show.
Step 304, when described multi-medium data has retention cycle, it is judged that described multi-medium data is
No it is in described retention cycle;The most then perform step 305, if it is not, then perform step 301;
In implementing, can be from the first field of multi-medium data (such as exif information
UserComment field) in the reading and saving cycle;
The inquiry multi-medium data holding time when configuring this retention cycle, pass through
The modes such as System.currentTimeMillis () method read the current time of system, and calculate current time
And the time difference between the described holding time.
When this time difference is less than described retention cycle, confirm that multi-medium data is in retention cycle;
When this time difference is more than or equal to retention cycle, confirm that multi-medium data is in outside retention cycle.
Step 305, determines that described multi-medium data is effective;
Step 306, when described multi-medium data is effective, loads described multi-medium data;
If multi-medium data has retention cycle, and in life cycle, then can these be many with normal load
Media data shows.
Step 307, determines that described multi-medium data lost efficacy;
Step 308, when described multi-medium data lost efficacy, deletes described multi-medium data.
If multi-medium data has retention cycle, and outside life cycle, then can delete this multimedia
Data.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as one it be
The combination of actions of row, but those skilled in the art should know, and the embodiment of the present invention is not by described
The restriction of sequence of movement because according to the embodiment of the present invention, some step can use other orders or
Person is carried out simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description
Belong to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
With reference to Fig. 4, it is shown that the cleaning plant of the multi-medium data of a kind of mobile device of the present invention is implemented
The structured flowchart of example, specifically can include such as lower module:
Retention cycle configuration module 401, for preserving the multi-medium data configuration of storage in mobile device
Cycle;
Validity check module 402, for having described multi-medium data according to described retention cycle
The verification of effect property;
Multi-medium data removing module 403, for when described multi-medium data lost efficacy, deletes described many
Media data.
In one embodiment of the invention, described retention cycle configuration module 401 can include following son
Module:
Retention cycle receives submodule, when browsing multimedia data in a mobile device, receives and preserves
Cycle;
Interface interchange submodule is set, for call specify interface is set, described multi-medium data is joined
Put described retention cycle.
In one embodiment of the invention, described retention cycle configuration module 401 can include following son
Module:
Retention cycle write submodule, preserves week for write in the first field of described multi-medium data
Phase;
Retention cycle mark write submodule, protects for write in the second field of described multi-medium data
Cycle of deposit identifies.
In one embodiment of the invention, described validity check module 402 can include following submodule
Block:
First judges submodule, for when listening to the load request of multi-medium data, it is judged that described many
Whether media data has retention cycle;
Second judges submodule, for when described multi-medium data has retention cycle, it is judged that described many
Whether media data is in described retention cycle;The most then call and effectively determine submodule, if it is not,
Then call and invalid determine submodule;
Effectively determine submodule, be used for determining that described multi-medium data is effective;
Invalid determine submodule, be used for determining that described multi-medium data lost efficacy.
In one embodiment of the invention, described first judges that submodule can include such as lower unit:
Whether retention cycle mark judging unit, have in the second field judging described multi-medium data
Retention cycle is had to identify;The most then call and have first and determine unit, determine if it is not, then call second
Unit;
First determines unit, is used for determining that described multi-medium data has retention cycle;
Second determines unit, is used for determining that described multi-medium data does not have retention cycle.
In one embodiment of the invention, described second judges that submodule can include such as lower unit:
Retention cycle reads unit, for the week of reading and saving from the first field of described multi-medium data
Phase;
Holding time query unit, for inquire about described multi-medium data configure described retention cycle time
Holding time;
Time difference calculating unit, for calculating the time difference between current time and described holding time;
3rd determines unit, for when described time difference is less than described retention cycle, confirming described many matchmakers
Volume data is in described retention cycle;
4th determines unit, for when described time difference is more than or equal to described retention cycle, confirming institute
State multi-medium data to be in outside described retention cycle.
In one embodiment of the invention, it is also possible to include such as lower module:
First multi-medium data load-on module, is used for when described multi-medium data does not has retention cycle,
Load described multi-medium data.
In one embodiment of the invention, it is also possible to include such as lower module:
Second multi-medium data load-on module, for when described multi-medium data is effective, loads described many
Media data.
For device embodiment, due to itself and embodiment of the method basic simlarity, so the comparison described
Simply, relevant part sees the part of embodiment of the method and illustrates.
Each embodiment in this specification all uses the mode gone forward one by one to describe, and each embodiment stresses
Be all the difference with other embodiments, between each embodiment, identical similar part sees mutually
?.
Those skilled in the art are it should be appreciated that the embodiment of the embodiment of the present invention can be provided as method, dress
Put or computer program.Therefore, the embodiment of the present invention can use complete hardware embodiment, completely
Software implementation or the form of the embodiment in terms of combining software and hardware.And, the embodiment of the present invention
Can use and can be situated between with storage at one or more computers wherein including computer usable program code
The upper computer journey implemented of matter (including but not limited to disk memory, CD-ROM, optical memory etc.)
The form of sequence product.
The embodiment of the present invention is with reference to method according to embodiments of the present invention, terminal unit (system) and meter
The flow chart of calculation machine program product and/or block diagram describe.It should be understood that can be by computer program instructions
Each flow process in flowchart and/or block diagram and/or square frame and flow chart and/or square frame
Flow process in figure and/or the combination of square frame.Can provide these computer program instructions to general purpose computer,
The processor of special-purpose computer, Embedded Processor or other programmable data processing terminal equipment is to produce
One machine so that performed by the processor of computer or other programmable data processing terminal equipment
Instruction produce for realizing at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or
The device of the function specified in multiple square frames.
These computer program instructions may be alternatively stored in and computer or other programmable datas can be guided to process
In the computer-readable memory that terminal unit works in a specific way so that be stored in this computer-readable
Instruction in memorizer produces the manufacture including command device, and this command device realizes flow chart one
The function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded into computer or other programmable data processing terminals set
Standby upper so that on computer or other programmable terminal equipment, to perform sequence of operations step in terms of producing
The process that calculation machine realizes, thus the instruction performed on computer or other programmable terminal equipment provides and uses
In realizing in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame
The step of the function specified.
Although having been described for the preferred embodiment of the embodiment of the present invention, but those skilled in the art being once
Know basic creative concept, then these embodiments can be made other change and amendment.So,
Claims are intended to be construed to include preferred embodiment and fall into the institute of range of embodiment of the invention
There are change and amendment.
Finally, in addition it is also necessary to explanation, in this article, the relational terms of such as first and second or the like
It is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires
Or imply relation or the order that there is any this reality between these entities or operation.And, art
Language " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that
Process, method, article or terminal unit including a series of key elements not only include those key elements, and
Also include other key elements being not expressly set out, or also include for this process, method, article or
The key element that person's terminal unit is intrinsic.In the case of there is no more restriction, statement " include one
It is individual ... " key element that limits, it is not excluded that including the process of described key element, method, article or end
End equipment there is also other identical element.
Method for cleaning and one to the multi-medium data of a kind of mobile device provided by the present invention above
The cleaning plant of the multi-medium data of mobile device, is described in detail, used herein the most individual
Principle and the embodiment of the present invention are set forth by example, and the explanation of above example is only intended to help
Understand method and the core concept thereof of the present invention;Simultaneously for one of ordinary skill in the art, foundation
The thought of the present invention, the most all will change, in sum,
This specification content should not be construed as limitation of the present invention.
Claims (10)
1. the method for cleaning of the multi-medium data of a mobile device, it is characterised in that including:
Multi-medium data configuration retention cycle to storage in mobile device;
According to described retention cycle, described multi-medium data is carried out validity check;
When described multi-medium data lost efficacy, delete described multi-medium data.
Method the most according to claim 1, it is characterised in that described to storage in mobile device
Multi-medium data configuration retention cycle step include:
In a mobile device during browsing multimedia data, receive retention cycle;
Call specify interface is set, to described multi-medium data configure described retention cycle.
Method the most according to claim 1 and 2, it is characterised in that described to described multimedia
The step of data configuration retention cycle includes:
Retention cycle is write in the first field of described multi-medium data;
Retention cycle mark is write in the second field of described multi-medium data.
4. according to the method described in claim 1 or 2 or 3, it is characterised in that described in described basis
The step that retention cycle carries out validity check to described multi-medium data includes:
When listening to the load request of multi-medium data, it is judged that whether described multi-medium data has preservation
Cycle;
When described multi-medium data has retention cycle, it is judged that whether described multi-medium data is in described
In retention cycle;
If, it is determined that described multi-medium data is effective;
If not, it is determined that described multi-medium data lost efficacy.
Method the most according to claim 4, it is characterised in that described judgement described multimedia number
Include according to the step whether with retention cycle:
Judge whether the second field of described multi-medium data has retention cycle mark;
If, it is determined that described multi-medium data has retention cycle;
If not, it is determined that described multi-medium data does not have retention cycle.
Method the most according to claim 4, it is characterised in that described judgement described multimedia number
Include according to the step whether being in described retention cycle:
The reading and saving cycle from the first field of described multi-medium data;
Inquire about the described multi-medium data holding time when configuring described retention cycle;
Calculate current time and the time difference between the described holding time;
When described time difference is less than described retention cycle, confirm that described multi-medium data is in described preservation
In cycle;
When described time difference is more than or equal to described retention cycle, confirm that described multi-medium data is in institute
State outside retention cycle.
Method the most according to claim 4, it is characterised in that in the described multimedia of described judgement
After whether data have the step of retention cycle, described method also includes:
When described multi-medium data does not has retention cycle, load described multi-medium data.
Method the most according to claim 4, it is characterised in that also include:
When described multi-medium data is effective, load described multi-medium data.
9. the cleaning plant of the multi-medium data of a mobile device, it is characterised in that including:
Retention cycle configuration module, for preserving week to the multi-medium data configuration of storage in mobile device
Phase;
Validity check module, for carrying out effectiveness according to described retention cycle to described multi-medium data
Verification;
Multi-medium data removing module, for when described multi-medium data lost efficacy, deletes described multimedia
Data.
Device the most according to claim 9, it is characterised in that described retention cycle configuration module
Including:
Retention cycle receives submodule, when browsing multimedia data in a mobile device, receives and preserves
Cycle;
Interface interchange submodule is set, for call specify interface is set, described multi-medium data is joined
Put described retention cycle.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610355758.6A CN106020729A (en) | 2016-05-25 | 2016-05-25 | Clearing method and device for multi-media data of mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610355758.6A CN106020729A (en) | 2016-05-25 | 2016-05-25 | Clearing method and device for multi-media data of mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106020729A true CN106020729A (en) | 2016-10-12 |
Family
ID=57093445
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610355758.6A Pending CN106020729A (en) | 2016-05-25 | 2016-05-25 | Clearing method and device for multi-media data of mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106020729A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108121513A (en) * | 2017-12-26 | 2018-06-05 | 北京明朝万达科技股份有限公司 | A kind of data destruction method and system |
CN108183817A (en) * | 2017-12-20 | 2018-06-19 | 创新无限信息技术(武汉)股份有限公司 | Efficient unified configuring management method and system |
CN110083451A (en) * | 2019-04-16 | 2019-08-02 | 惠州Tcl移动通信有限公司 | Network parameter management method, device and the storage medium of mobile terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1932821A (en) * | 2005-09-14 | 2007-03-21 | 三星电子株式会社 | Method and apparatus for managing multimedia content stored in digital multimedia device |
CN101094465A (en) * | 2006-06-23 | 2007-12-26 | 北京握奇数据系统有限公司 | Device for automatic updating short message to be sent and received, and method for automatic updating short message |
CN102088420A (en) * | 2009-12-04 | 2011-06-08 | 中国移动通信集团公司 | Method and system for transmitting multi-media message as well as multi-media message service center (MMSC) |
CN103458209A (en) * | 2012-06-04 | 2013-12-18 | 中兴通讯股份有限公司 | Monitoring record aging processing method and device |
CN104994277A (en) * | 2015-06-30 | 2015-10-21 | 青岛海信移动通信技术股份有限公司 | Rapid shooting method and device for mobile communication terminal |
-
2016
- 2016-05-25 CN CN201610355758.6A patent/CN106020729A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1932821A (en) * | 2005-09-14 | 2007-03-21 | 三星电子株式会社 | Method and apparatus for managing multimedia content stored in digital multimedia device |
CN101094465A (en) * | 2006-06-23 | 2007-12-26 | 北京握奇数据系统有限公司 | Device for automatic updating short message to be sent and received, and method for automatic updating short message |
CN102088420A (en) * | 2009-12-04 | 2011-06-08 | 中国移动通信集团公司 | Method and system for transmitting multi-media message as well as multi-media message service center (MMSC) |
CN103458209A (en) * | 2012-06-04 | 2013-12-18 | 中兴通讯股份有限公司 | Monitoring record aging processing method and device |
CN104994277A (en) * | 2015-06-30 | 2015-10-21 | 青岛海信移动通信技术股份有限公司 | Rapid shooting method and device for mobile communication terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108183817A (en) * | 2017-12-20 | 2018-06-19 | 创新无限信息技术(武汉)股份有限公司 | Efficient unified configuring management method and system |
CN108121513A (en) * | 2017-12-26 | 2018-06-05 | 北京明朝万达科技股份有限公司 | A kind of data destruction method and system |
CN110083451A (en) * | 2019-04-16 | 2019-08-02 | 惠州Tcl移动通信有限公司 | Network parameter management method, device and the storage medium of mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101552194B1 (en) | System and method for managing and sharing image with album unit | |
WO2015043512A1 (en) | Picture management method and device | |
CN107277274B (en) | growth history recording terminal and growth history recording method | |
CN110543579A (en) | Image display method and electronic equipment | |
WO2018113725A1 (en) | Method and device for loading picture resource, and program and medium | |
CN110865837B (en) | Method and terminal for system upgrade | |
CN110175081B (en) | Optimization system and method for Android audio playing | |
CN106020729A (en) | Clearing method and device for multi-media data of mobile terminal | |
EP3523803A1 (en) | Automatically uploading image files based on image capture context | |
EP3926988B1 (en) | Third-party access of end-user device assets | |
CN105765533A (en) | Method and apparatus for firmware virtualization | |
CN113329176A (en) | Image processing method and related device applied to camera of intelligent terminal | |
KR20150057736A (en) | Apparatus and Method For Managing Image Files By Displaying Backup Information | |
CN109246467A (en) | Label is to the method, apparatus of sharing video frequency, video camera and smart phone | |
CN113709026B (en) | Method, device, storage medium and program product for processing instant communication message | |
CN106020730A (en) | Clearing method and device for multi-media data of mobile device | |
CN105138344A (en) | Method and system for randomly generating screensaver according to picture hotness | |
CN106527891B (en) | A kind of edit object selection method and relevant apparatus | |
CN110865981A (en) | File access method for mobile terminal and mobile terminal thereof | |
CN108876782A (en) | Recall video creation method and relevant apparatus | |
CN104574260A (en) | Image information generating method and device | |
CN109522177A (en) | A kind of task daily record processing system, method and device | |
CN117135341A (en) | Image processing method and electronic equipment | |
CN114979785B (en) | Video processing method, electronic device and storage medium | |
WO2023050418A1 (en) | Data processing method, data processing system, electronic device, and storage medium |
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: 20161012 |
|
RJ01 | Rejection of invention patent application after publication |