CN104811791B - Method, device and the terminal device of video cleaning - Google Patents

Method, device and the terminal device of video cleaning Download PDF

Info

Publication number
CN104811791B
CN104811791B CN201510197853.3A CN201510197853A CN104811791B CN 104811791 B CN104811791 B CN 104811791B CN 201510197853 A CN201510197853 A CN 201510197853A CN 104811791 B CN104811791 B CN 104811791B
Authority
CN
China
Prior art keywords
video file
deleted
video
file
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510197853.3A
Other languages
Chinese (zh)
Other versions
CN104811791A (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510197853.3A priority Critical patent/CN104811791B/en
Publication of CN104811791A publication Critical patent/CN104811791A/en
Application granted granted Critical
Publication of CN104811791B publication Critical patent/CN104811791B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4335Housekeeping operations, e.g. prioritizing content for deletion because of storage space restrictions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

Digital information field of the present invention, discloses method, device and the terminal device of video cleaning, and the method includes: scanning memory, obtains the video file of storage;According to the store path of video file, the video file classification that will obtain, judge whether described video file is video file to be deleted according to generic;The video file to be deleted of judgement is shown in interface;After the selection instruction receiving user's input, the video file to be deleted that mark is chosen;After the deletion instruction receiving user's input, the video file to be deleted chosen is deleted from memory.Omit video and the low technical problem of cleaning efficiency during technical scheme solves cleaning in the present invention, achieve in minimizing cleaning and omit number of videos, alleviate user job burden, improve the beneficial effect of cleaning efficiency.

Description

Method, device and the terminal device of video cleaning
Technical field
The present invention relates to digital information field, be specifically related to method, device and the terminal of the cleaning of a kind of video Equipment.
Background technology
Along with the function of terminal device is more and more abundanter, in terminal device, the video of storage also gets more and more. Such as, user can be by the camera shooting video of terminal device, and the video of shooting is stored in terminal and sets In Bei;Network foradownloaded video can also be passed through, the video of download is stored terminal device.Additionally, use Family, when carrying out Video chat by chat tool, also can produce video, and this video is stored in terminal device In.
Therefore, terminal device often stores multitude of video, those videos can exist part rubbish and regard Frequently.Rubbish video refers to that user is no longer necessary to, and does not preserve the video of necessity.Owing to video is taken up space Relatively big, need to delete to save the memory space of terminal device by the rubbish video in terminal device.Relevant In technology, the method for cleaning video includes: when user checks a certain file, regards in display file Frequently title, user judges whether to delete this video according to title.Use the method to carry out video cleaning, need Wanting user to check each video, add the workload of user, cleaning efficiency is low;Additionally, the most only In pressing from both sides current file, video shows, easily omits the video under some catalogues being often used without, Cause video cleaning the most thorough.
Summary of the invention
In view of the above problems, it is proposed that the present invention is to provide one to overcome the problems referred to above or at least partly Ground solves method, device and the terminal device of the video cleaning of the problems referred to above.
According to one aspect of the present invention, it is provided that the method for a kind of video cleaning, the method includes:
Scanning memory, obtains the video file of storage;
According to the store path of video file, the video file classification that will obtain, judge according to generic Whether described video file is video file to be deleted;
The video file to be deleted of judgement is shown in interface;
After the selection instruction receiving user's input, the video file to be deleted that mark is chosen;
After the deletion instruction receiving user's input, by the video file to be deleted chosen from memory Delete.
Alternatively, the described store path according to video file, the video file classification that will obtain, specifically Including:
Store path according to video file determines to be applied belonging to video file, applies as belonging to video file Video file is classified.
Alternatively, described judge whether described video file is video file to be deleted according to generic, Specifically include:
When the application that video file generic is corresponding is the most unloaded, it is judged to treat by described video file Delete video file.
Alternatively, described method also includes:
After video file corresponding for unloaded application is judged to video file to be deleted, directly by described File to be deleted is deleted from memory.
Alternatively, described application includes: camera application, described according to generic judge described video literary composition Whether part is video file to be deleted, specifically includes:
When video file generic is camera application classification, obtain the shooting duration information of video file, When the shooting duration of video file is less than preset duration threshold value, described video file is judged to be deleted Video file.
Alternatively, described application includes: instant messaging apply, described according to generic judge described in regard Whether frequency file is video file to be deleted, specifically includes:
When video file generic is instant messaging applicating category, determine that video file is in instant messaging Function items corresponding in application, when the function items that video file is corresponding is positioned in preset function list, will Described video file is judged to video file to be deleted.
Alternatively, the described function items determining that video file is corresponding in instant communication applications, specifically include:
Determine described video file storage catalogue in instant communication applications, according to the storage catalogue determined Draw the function items corresponding in instant communication applications of video file.
Alternatively, described application includes: network download application, described according to generic judge described in regard Whether frequency file is video file to be deleted, specifically includes:
When video file generic is network download applicating category, obtain the storage date of video file Information, exceedes predetermined interval duration threshold value when the storage date of video file to the interval duration of current date Time, described video file is judged to video file to be deleted.
Alternatively, described method also includes:
Resolve the video file obtained, the information analytically gone out is extracted the attribute information of video file.
Alternatively, the described video file to be deleted showing judgement in interface, specifically include:
The video file to be deleted of judgement and the attribute letter of described video file to be deleted is shown in interface Breath.
Alternatively, at least one information during described attribute information includes following information: the file generated time, File duration, file name, affiliated special edition.
According to a further aspect in the invention, it is provided that the device of a kind of video cleaning, this device includes:
Memory, is suitable to store video file;
Processor, is suitable to scan described memory, obtains the video file of storage, according to video file Store path, the video file classification that will obtain, judge that whether described video file is according to generic Video file to be deleted;
Display, is suitable to show the video file to be deleted that described processor judges in interface;
Receiver, is suitable to receive the instruction of user's input;
Described processor, is further adapted for after described receiver receives the selection instruction of user's input, mark The video file to be deleted chosen;After described receiver receives the deletion instruction of user's input, will choosing In video file to be deleted delete from described memory.
Alternatively, described processor, it is particularly adapted to the store path according to video file and determines video file Affiliated application, applies as belonging to video file and is classified by video file.
Alternatively, described processor, it is particularly adapted to the application when video file generic is corresponding and is unloaded During load, described video file is judged to video file to be deleted.
Alternatively, described processor is further adapted for being judged to wait to delete by video file corresponding for unloaded application After video file, directly described file to be deleted is deleted from memory.
Alternatively, described application includes: camera application, and described processor is particularly adapted to work as video file When generic is camera application classification, obtain the shooting duration information of video file, when video file When shooting duration is less than preset duration threshold value, described video file is judged to video file to be deleted.
Alternatively, described application includes: instant messaging is applied, and described processor is particularly adapted to work as video When file generic is instant messaging applicating category, determine that video file is corresponding in instant communication applications Function items, when the function items that video file is corresponding is positioned in preset function list, by described video literary composition Part is judged to video file to be deleted.
Alternatively, described processor, it is particularly adapted to determine that described video file is in instant communication applications Storage catalogue, draws the merit corresponding in instant communication applications of video file according to the storage catalogue determined Can item.
Alternatively, described application includes: network downloads application, described processor, is particularly adapted to work as video When file generic is network download applicating category, obtain the storage date and time information of video file, when regarding The storage date of frequency file to the interval duration of current date exceed predetermined interval duration threshold value time, by described Video file is judged to video file to be deleted.
Alternatively, described processor, it is further adapted for resolving the video file obtained, in the information analytically gone out Extract the attribute information of video file.
Alternatively, described display, it is particularly adapted in interface, show that described processor judges to be deleted Video file and the attribute information of described video file to be deleted.
Alternatively, at least one information during described attribute information includes following information: the file generated time, File duration, file name, affiliated special edition.
The present invention discloses again the terminal device of a kind of video cleaning, and this terminal device includes: any of the above-described Described device.
Video in memory can be scanned according to the present invention, and according to the storage road of video file Footpath, the video file classification that will obtain, judge whether video file is video to be deleted according to generic File, carries out video file to be deleted being displayed for user and selects and delete;So, it is possible for end In end equipment, the wholly or largely video of storage is cleared up, it is to avoid omits video or decreases omission The quantity of video;Further, by visual classification before carrying out showing and deleting, according to pre-in generic If deleting condition criterion to go out video file to be deleted, decreasing the quantity of the video that user checks, alleviating The workload of user, improves cleaning efficiency.Thus, in the present invention, technical scheme solves something lost in cleaning Leakage video and the low technical problem of cleaning efficiency, achieve in minimizing cleaning and omit number of videos, subtract Light user job burden, improves the beneficial effect of cleaning efficiency.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the skill of the present invention Art means, and can being practiced according to the content of specification, and in order to allow, the present invention's is above and other Objects, features and advantages can become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred embodiment, various other advantage and benefit for this Field those of ordinary skill will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred embodiment, And it is not considered as limitation of the present invention.And in whole accompanying drawing, be denoted by the same reference numerals Identical parts.In the accompanying drawings:
Fig. 1 shows the flow chart of the method for video cleaning according to an embodiment of the invention;
Fig. 2 shows the flow chart of the method for video cleaning according to an embodiment of the invention;
Fig. 3 A shows the schematic diagram of rubbish scanning display interface according to an embodiment of the invention;Figure 3B shows that rubbish according to an embodiment of the invention has scanned the schematic diagram at interface;
Fig. 4 A shows the schematic diagram at the interface showing video file according to an embodiment of the invention; Fig. 4 B shows the schematic diagram at camera application classification interface according to an embodiment of the invention;Fig. 4 C shows Go out to select according to an embodiment of the invention the schematic diagram at the interface of video file;Fig. 4 D shows Delete the schematic diagram at the interface of video file according to an embodiment of the invention;
Fig. 5 A shows the schematic diagram of garbage-cleaning display interface according to an embodiment of the invention, figure 5B shows that garbage-cleaning according to an embodiment of the invention completes the schematic diagram at interface;And
Fig. 6 shows the structure chart of the device of video cleaning according to an embodiment of the invention.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and not Should be limited by embodiments set forth here.On the contrary, it is provided that these embodiments are able to more thoroughly Understand the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 shows the flow chart of the method for video cleaning according to an embodiment of the invention, the method Be suitable in terminal device, such as, smart mobile phone, panel computer, PC;As it is shown in figure 1, should Method includes step S110-S150.
In step s 110, scan memory, obtain the video file of storage.
For example, when scanning memory, can be that assigned catalogue is scanned, such as, according to The configuration file of camera shoot function, scanned photograph catalogue.Wherein, directory of photos comprises the steps that DCIM/Camera、DCIM/100MEDIA、DCIM/100ANDRO、DCIM、Camera、Photo、 My camera, camera/photo, camera, my photo.
Can also be that memory in terminal device is scanned totally, such as, scan from memory The video file of AVI, wma, rmvb, rm, flash, mp4 and mid form.
When starting scanning, can be by cleaning number set in advance in the display screen of click terminal device According to scanning button, or open the software that the preassembled key scanning supporting cleaning data is cleared up, come The transmission of driver sweep instruction.
When user is by clicking on the scanning button on display interface, terminal device confirms that receiving scanning refers to Order, triggers the operation being scanned the memory space of this terminal device and enters rubbish scanning display circle Face, after rubbish has scanned, enters rubbish and has scanned interface;As shown in Figure 3A, it is shown that root Rubbish according to one embodiment of the invention scans the schematic diagram of display interface, as shown in Figure 3 B, it is shown that Rubbish has scanned the schematic diagram at interface according to an embodiment of the invention.The memory space of terminal device Can be nonvolatile storage space, such as, SD (Secure Digital memory, the data of safety Memory body) memory space in the storage device such as card, micro SD card, it is also possible to it is in terminal device Internal memory.
Bibliographic structure in memory space, according to scan instruction, is scanned by terminal device, obtains storage The directory information of the catalogue in space.The directory information of catalogue may include that path and the title of catalogue; Additionally, the directory information of catalogue can also include: the version number of catalogue, timestamp and shared space Size.
By above-mentioned scanning process, identify and obtain the video file of storage in terminal device, additionally, During scanning cleaning data, Other Waste data can be cleared up.
In actual application, during scanning cleaning data, can being correlated with the catalogue of Current Scan Information (such as, the information such as path, bag name) with download from cloud server in advance or locally stored clear The information of the catalogue in reason database is mated, and according to Prune Policies corresponding to the catalogue matched, knows The catalogue not going out Current Scan is cleaning data, it is possible to further determine that out for clearing up this cleaning data Prune Policies.Further, local Clean Up Database can be periodically updated by cloud server Upgrading, upgrades in time to the catalogue of record in Clean Up Database and the Prune Policies etc. of correspondence.
Display interface is specially rubbish scanning result display interface, in addition to above video information, also may be used With show in this interface " system disk rubbish ", " caching ", " unloading remain ", " advertisement ", " installation kit " and " big file " represents that data category is system disk junk data, caching rubbish number respectively According to, unloading residual data, ad data, installation kit data and the catalogue to be cleared up of large file. And, corresponding " system disk rubbish ", " caching ", " unloading residual ", " advertisement ", " installation Bag " and " big file ", show respective suggestion respectively and clear up the size of data: " 100MB ", " 40MB ", " 20MB ", " 10MB ", " 10MB " and " 0MB ".This interface shows " 200MB " represent in each catalogue to be cleared up the size of suggestion cleaning data.
In the step s 120, according to the store path of video file, the video file that will obtain is classified, Judge whether video file is video file to be deleted according to generic.
In one embodiment, the above-mentioned store path according to video file, the video file classification that will obtain Comprise the steps that the store path according to video file to determine belonging to video file to apply, as belonging to video file Apply and video file is classified.
After getting video file, check the store path of video file, according to the storage road of video file Footpath can determine that the application belonging to video file.Such as, if video file is stored under directory of photos, Then determine that this video file belongs to camera application, this video file is categorized into camera application classification.If Video file is stored under a certain immediate communication tool catalogue, it is determined that this video file belongs to this IMU News application, is categorized into this instant messaging applicating category by this video file.If video file is stored in certain Under one network download tool catalogue, it is determined that this video file belongs to this network and downloads application, by this video Document classification downloads applicating category to this network.
In one embodiment, above-mentioned judge whether video file is video file to be deleted according to generic Comprise the steps that when the application that video file generic is corresponding is the most unloaded, be judged to treat by video file Delete video file.
When the improper unloading of application program, its some video corresponding yet suffers from, due to None-identified Cleaning so that these videos take memory space always, if this type of video is too much, can affect the property of terminal Can, reduce Consumer's Experience.Therefore, in the present embodiment, by video literary composition corresponding for the most unloaded application Part is judged to video file to be deleted.Afterwards, in interface, show the video file to be deleted of judgement;? After receiving the selection instruction of user's input, the video file to be deleted that mark is chosen;Receiving user After the deletion instruction of input, the video file to be deleted chosen is deleted from memory.Or, it is possible to Video file to the most unloaded application correspondence determined, directly by this video file from memory Delete;The video file to be deleted that will judge directly is deleted, and is no longer waiting for the deletion instruction of user.
Use technical scheme in the present embodiment, the video of unloaded application is cleared up, it is to avoid these Video takies memory space always, improves Consumer's Experience.
In one embodiment, application comprises the steps that camera application, above-mentioned according to generic judge described in regard Whether frequency file is video file to be deleted, it may include: when video file generic is camera application class Time other, obtain the shooting duration information of video file, when the shooting duration of video file is less than preset duration During threshold value, video file is judged to video file to be deleted.
For example, user carries out video capture by the camera application of terminal device, in some cases, Probably due to shake or press shooting key by mistake, and cause the video capture of mistake.Shooting in the case of these The duration of video file is the most comparatively short.Therefore, when the shooting duration of video file of corresponding camera application During less than preset duration threshold value, just can determine that this video file is the video by mistake clapped, thus by this video literary composition Part is judged to video file to be deleted.
In one embodiment, application comprise the steps that instant messaging apply, above-mentioned according to generic judgement regard Whether frequency file is video file to be deleted, it may include: when video file generic is that instant messaging should When using classification, determine the function items that video file is corresponding in instant communication applications, when video file is corresponding Function items when being positioned in preset function list, video file is judged to video file to be deleted.
Further, the above-mentioned function items determining that video file is corresponding in instant communication applications, it may include: Determining video file storage catalogue in instant communication applications, the storage catalogue according to determining draws video The function items corresponding in instant communication applications of file.
Each instant messaging application has respective bibliographic structure, and bibliographic structure storage is pressed in instant messaging application File.Further, instant messaging application can have a multiple function, such as, and chat feature, in friend circle Photos and sending messages function and push news function, upload or download file function.Instant messaging application according to The associated documents of each function are stored under function correspondence catalogue by the bibliographic structure of oneself.Therefore, exist After determining video file storage catalogue in instant communication applications, can be according to the storage mesh determined Record draws the function items corresponding in instant communication applications of video file.
When the function items that video file is corresponding is positioned in preset function list, it is judged to treat by video file Delete video file.Such as, propelling movement news function and chat feature are arranged in preset function list, When the function items that video file is corresponding is news function or chat feature, it is judged to video file wait to delete Except video file.
In one embodiment, application comprises the steps that network downloads application, above-mentioned judges institute according to generic State whether video file is video file to be deleted, it may include: under video file generic is network When carrying applicating category, obtain the storage date and time information of video file, when the storage date of video file is to working as When the interval duration on front date exceedes predetermined interval duration threshold value, video file is judged to video to be deleted File.
User can download application by network, such as, a sudden peal of thunder, electricity donkey etc., to regarding in internet Frequently resource is downloaded.For this type of video, user, generally after having downloaded, can play in a short time, After finishing playing, generally will not again play.But, owing to the default storage path of this type of video may It not the general routes be familiar with of user so that this type of video long-term existence, in memory space, causes and deposits The waste of storage resource.
In the present embodiment, the video file in applicating category is downloaded for network, obtain video file Storage date and time information, exceedes predetermined interval when the storage date of video file to the interval duration of current date During duration threshold value, illustrating that this video file has stored the long period in terminal device, it may be Play by user, then by user play less likely.Therefore, this video file is judged to Video file to be deleted.
In step s 130, in interface, show the video file to be deleted of judgement.
For example, show, in the interface of display, the video file to be deleted determined, contracting can be used The mode of sketch map shows video file, and is put into by the video file under same application in a packet, presses The mode of packet shows video file.
In one embodiment, said method may also include that and resolves the video file obtained, and analytically goes out Information is extracted the attribute information of video file.
Wherein, at least one information during attribute information can include following information: file generated time, file Duration, file name, affiliated special edition.
The above-mentioned video file to be deleted showing judgement in interface, it may include show judgement in interface Video file to be deleted and the attribute information of video file to be deleted.
In the present embodiment, the video file obtained is resolved, parses the attribute information of video file, While display video file, show the attribute information of this video file, so, it is possible to provide the user About the more information of video file, user is facilitated to judge whether to delete video file.
In step S140, after the selection instruction receiving user's input, it is to be deleted that mark is chosen Video file.
For example, when user clicks on or use mouse to click on thumbnail in touch-screen, use is received The selection instruction of family input, this selection instruction indicates the video file that clicked thumbnail is corresponding selected.
In step S150, after the deletion instruction receiving user's input, to be deleted regard choose Frequency file is deleted from memory.
For example, when user clicks on or use mouse to click on deletion button in touch-screen, receive The deletion instruction of user's input, the video file deletion that this deletion instruction instruction will be chosen, then, will step The video file chosen in rapid S140 is deleted from memory.It is possible to further grasp performing to delete Before work, the prompting that display video file will be deleted, after receiving the confirmation instruction of user's input, will choose Video file delete from memory.
Use technical scheme in the present embodiment, it is possible to wholly or largely regard for what terminal device stored Frequency is cleared up, it is to avoid omits video or decreases the quantity of video of omission;Further, showing By visual classification before showing and deleting, go out video to be deleted literary composition according to generic is preset deletion condition criterion Part, decreases the quantity of the video that user checks, alleviates the workload of user, improves cleaning efficiency. Thus, in the present invention, technical scheme solves and omits video in cleaning and the low technology of cleaning efficiency is asked Topic, achieves in minimizing cleaning and omits number of videos, alleviate user job burden, improve cleaning efficiency Beneficial effect.
Fig. 2 shows the flow chart of the method for video cleaning according to an embodiment of the invention, the method Be suitable in terminal device, such as, smart mobile phone, panel computer, PC;As in figure 2 it is shown, should Method comprises the steps.
In step S202, scan memory, obtain the video file of storage.
In step S204, determine according to the store path of video file and apply belonging to video file, press Video file is classified by application belonging to video file.
In step S206, when the application that video file generic is corresponding is the most unloaded, by video File is judged to video file to be deleted, and is deleted by this video file to be deleted.
In step S208, when video file generic is camera application classification, obtain video literary composition The shooting duration information of part.
In step S210, when the shooting duration of video file is less than preset duration threshold value, by video File is judged to video file to be deleted.
In step S212, when video file generic is instant messaging applicating category, determines and regard Frequency file storage catalogue in instant communication applications, the storage catalogue according to determining draws video file Function items corresponding in instant communication applications.
In step S214, when the function items that video file is corresponding is positioned in preset function list, will Video file is judged to video file to be deleted.
In step S216, when video file generic is network download applicating category, acquisition regards The storage date and time information of frequency file.
In step S218, exceed pre-when the storage date of video file to the interval duration of current date If during the duration threshold value of interval, video file being judged to video file to be deleted.
In step S220, resolve the video file obtained, the information analytically gone out is extracted video literary composition The attribute information of part.
Wherein, at least one information during attribute information can include following information: file generated time, file Duration, file name, affiliated special edition.
In step S222, interface shows video file to be deleted and the video to be deleted literary composition of judgement The attribute information of part.
As shown in Figure 4 A, by camera application classification in interface, instant messaging applicating category, network is downloaded In applicating category, the quantity of video file to be deleted shows, and video in application has been downloaded in display Total number.After clicking on a certain classification, enter in the interface that the category is corresponding.Such as, camera application is clicked on After classification, entering in the interface of camera application classification, camera application classification interface as shown in Figure 4 B, is clapped Take the photograph and applicating category interface demonstrates video file to be deleted and corresponding attribute information.Unloaded application Classification interface shows video file and the attribute information of deletion, compared with Fig. 4 B, do not have options and Delete button.
In step S224, after the selection instruction receiving user's input, it is to be deleted that mark is chosen Video file.
After user clicks on, by touch-screen or mouse, the Option Box that in interface, video file is corresponding, receive this The selection instruction that video file is selected.Afterwards, the video file that mark is chosen, as shown in Figure 4 C, In interface video file be marked as choose.
In step S226, after the deletion instruction receiving user's input, to be deleted regard choose Frequency file is deleted from memory.
As shown in Figure 4 D, after user clicks on deletion button, receive the deletion video literary composition of user's input The instruction of part, " after deletion, video file can not be given for change, confirms to delete in prompting?”.When user's point Hit in prompting after ACK button, receive the determination instruction of user.Afterwards, the camera application class will chosen Middle video file is deleted from memory.
Instant messaging applicating category and network are downloaded the selection of video file in applicating category and deleted Journey is same or similar, at this no longer with selection and the process of deletion of video file in above-mentioned camera application classification Repeat.
The video of storage in terminal device can be cleared up by the said method using the embodiment of the present invention, right Other data in terminal device can be adopted and be cleared up with the following method.When user is by clicking on display circle During cleaning button on face, terminal device confirms to receive cleaning instruction, triggers and carries out the operation cleared up also Enter garbage-cleaning display interface, after garbage-cleaning completes, enter garbage-cleaning and complete interface;Such as figure Shown in 5A, it is shown that the schematic diagram of garbage-cleaning display interface according to an embodiment of the invention, such as figure Shown in 5B, it is shown that garbage-cleaning completes the schematic diagram at interface according to an embodiment of the invention.
When the improper unloading of application program, its some data corresponding yet suffer from, due to None-identified Cleaning so that these data take spatial cache always, if this overabundance of data, can affect the performance of terminal, Reduce Consumer's Experience.
Therefore, the identification for application program invalid data is cleared up, and cache information is that virtual machine caches bag name, The i.e. bag name of virtual-machine data, original information, for installing file bag name, has usually installed file row The bag name of each file in table.
Further, in the technical scheme of the embodiment of the present invention, create directory in server beyond the clouds list Database, wherein, in directory listing corresponding record have the catalogue to be cleared up and with the catalogue to be cleared up The Prune Policies matched.
The Prune Policies of the catalogue described in directory listing can include the most several:
Clear up completely, all catalogues in this catalogue, and this catalogue and file will all carry out cleaning and delete Remove.
Validity is cleared up, and is specially the file exceeding effective duration in this catalogue, the most stale literary composition Part carries out cleaning and deletes.
With caution cleaning, i.e. prompts the user with and performs the risk of cleaning and clear up in the determination receiving user Carry out cleaning after instruction, to all catalogues in this catalogue and file to delete.
Part cleaning, i.e. to being designated the catalogue cleared up completely in this catalogue or file carries out cleaning and deletes; To this catalogue is designated the catalogue or file cleared up with caution, in the instruction that the determination receiving user is cleared up After carry out cleaning delete;To this catalogue is not designated cleaning completely or the catalogue of cleaning with caution or file, Do not carry out cleaning to delete.
More preferably, in the directory listing of the embodiment of the present invention, the corresponding catalogue to be cleared up the also record recorded There is the data category of this catalogue to be cleared up.The data category of catalogue includes: system disk junk data, slow Deposit junk data, ad data, installation kit data, unloading residual data and large file.
Further, in the embodiment of the present invention, in order to strengthen the interactive experience of product and user's vision, letter Change user operation, after the cleaning data scanning of internal memory, nonvolatile storage space completes, it is also possible to base Clear up in suspended window, allow the user can management terminal device the most easily.
And method for cleaning of based on suspended window, specifically may comprise steps of: according to the first suspended window The produced call instruction of operation, calls the second suspended window;Receive the second suspended window operation produced Cleaning instruction;According to cleaning instruction, file is cleared up.Wherein, showing of the second suspended window called Show state be following any one: when the first suspended window be memory usage show time, the second suspended window show Show conventional interface;When the first suspended window is memory usage and cleaning prompting shows, the second suspended window shows Show and on conventional interface and conventional interface, increase cleaning prompting region.
Wherein, the content that the first suspended window is shown is: current memory occupancy;Or current memory occupancy The cleaning needing file clean-up with detection is pointed out;Second suspended window includes that internal memory accelerates interface, cleaning interface And conventional interface.
In actual application, conventional interface includes from opening management functionality controls, unloading prepackage functionality controls, hidden Private clearing function control, game/video accelerate functionality controls, software offloading functions control and timing cleaning merit Can control;Internal memory accelerates the conventional interface that interface is the second suspended window, and cleaning prompting region is control regions, And be provided with and point out official documents and correspondence accordingly.Internal memory accelerates interface and includes initial sub-interface and complete sub-interface, initially Sub-interface is used for showing current memory occupancy, which is provided with click and accelerates functionality controls, and this control is used for Call sub-interface.
Wherein, cleaning interface includes scanning sub-interface, stopping scans sub-interface, clear up sub-interface and the most clear Manage sub-interface.Scan sub-interface, stop scanning sub-interface, clearing up to be respectively provided with on sub-interface and call Stop scan sub-interface scan function control, for call clear up sub-interface stopping scan function control, For calling the key clearing function control clearing up sub-interface.
Above are only the exemplary explanation of the video method for cleaning of the present invention, the invention is not restricted to this.All Any modification, equivalent substitution and improvement etc. made within the spirit of the present invention or principle, are all contained in this In the protection domain of invention.
Fig. 6 shows the structure chart of the device of video cleaning according to an embodiment of the invention, this device Be suitable in terminal device, such as, smart mobile phone, panel computer, PC;As shown in Figure 6, should Device includes
Memory 110, is suitable to store video file;
Processor 120, is suitable to scan memory 110, obtains the video file of storage, according to video file Store path, will obtain video file classification, whether judge described video file according to generic For video file to be deleted;
Display 130, is suitable to the video file to be deleted that video-stream processor 120 judges in interface;
Receiver 140, is suitable to receive the instruction of user's input;
Processor 120, is further adapted for after receiver 140 receives the selection instruction of user's input, mark The video file to be deleted chosen;After receiver 140 receives the deletion instruction of user's input, will choosing In video file to be deleted delete from memory 110.
For example, when processor 120 scans memory 110, can be that assigned catalogue is swept Retouch, such as, according to the configuration file of camera shoot function, scanned photograph catalogue.Wherein, photo mesh Record comprise the steps that DCIM/Camera, DCIM/100MEDIA, DCIM/100ANDRO, DCIM, Camera, Photo, my camera, camera/photo, camera, my photo.
Can also be that memory in terminal device is scanned totally, such as, sweep from memory 110 Describe the video file of AVI, wma, rmvb, rm, flash, mp4 and mid form.
When starting scanning, can be by cleaning number set in advance in the display screen of click terminal device According to scanning button, or open the software that the preassembled key scanning supporting cleaning data is cleared up, come The transmission of driver sweep instruction.
When user is by clicking on the scanning button on display interface, receiver 140 confirms to receive scanning Instruction, triggers processor 120 operation that is scanned the memory space of this terminal device and enters rubbish Scanning display interface, after rubbish has scanned, enters rubbish and has scanned interface;As shown in Figure 3A, Show the schematic diagram of the scanning display interface of rubbish according to an embodiment of the invention, as shown in Figure 3 B, Show that rubbish according to an embodiment of the invention has scanned the schematic diagram at interface.Memory 410 Memory space can be nonvolatile storage space, such as, and SD (Secure Digital memory, peace Full data accumulating body) memory space in the storage device such as card, micro SD card, it is also possible to it is terminal Internal memory in equipment.
Bibliographic structure in memory space, according to scan instruction, is scanned by processor 120, and acquisition is deposited The directory information of the catalogue in storage space.The directory information of catalogue may include that path and the title of catalogue; Additionally, the directory information of catalogue can also include: the version number of catalogue, timestamp and shared space Size.
By above-mentioned scanning process, identify and obtain the video file of storage in terminal device, additionally, During scanning cleaning data, Other Waste data can be cleared up.
In actual application, during scanning cleaning data, processor 120 can be by Current Scan The relevant information (such as, the information such as path, bag name) of catalogue with in advance from cloud server download or this The information of the catalogue in the Clean Up Database of ground storage is mated, according to clear corresponding to the catalogue matched Reason strategy, the catalogue identifying Current Scan is cleaning data, it is possible to further determine that out for clearing up The Prune Policies of these cleaning data.Further, cloud server can be periodically to local cleaning data Storehouse is updated upgrading, carries out the catalogue of record in Clean Up Database and the Prune Policies etc. of correspondence in time Update.
The display interface of display 130 display is specially rubbish scanning result display interface, except above Outside video information, it is also possible to show " system disk rubbish ", " caching " in this interface, " unload residual Stay ", " advertisement ", " installation kit " and " big file " represent that data category is system disk rubbish respectively Data, caching junk data, unloading residual data, ad data, installation kit data and large file The catalogue to be cleared up.And, corresponding " system disk rubbish ", " caching ", " unloading remains ", " advertisement ", " installation kit " and " big file ", show the big of respective suggestion cleaning data respectively Little: " 100MB ", " 40MB ", " 20MB ", " 10MB ", " 10MB " and " 0MB ". In this interface, " 200MB " of display represents the size of suggestion cleaning data in each catalogue to be cleared up.
In one embodiment, the store path that processor 120 is particularly adapted to according to video file determines video Application belonging to file, applies as belonging to video file and is classified by video file.
After processor 120 gets video file, check the store path of video file, according to video literary composition The store path of part can determine that the application belonging to video file.Such as, if video file is stored in Under directory of photos, it is determined that this video file belongs to camera application, this video file is categorized into shooting should Use classification.If video file is stored under a certain immediate communication tool catalogue, it is determined that this video file Belong to this instant messaging application, this video file is categorized into this instant messaging applicating category.If video File is stored under a certain network download tool catalogue, it is determined that this video file belongs to the download of this network should With, this video file is categorized into this network and downloads applicating category.
In one embodiment, processor 120 be particularly adapted to when application corresponding to video file generic Time unloaded, video file is judged to video file to be deleted.
When the improper unloading of application program, its some video corresponding yet suffers from, due to None-identified Cleaning so that these videos take memory space always, if this type of video is too much, can affect the property of terminal Can, reduce Consumer's Experience.Therefore, in the present embodiment, processor 120 is by right for the most unloaded application The video file answered is judged to video file to be deleted.Afterwards, display 130 shows judgement in interface Video file to be deleted;Processor 120 receiver 140 receive user input selection instruction after, The video file to be deleted that mark is chosen;After receiver 140 receives the deletion instruction of user's input, The video file to be deleted chosen is deleted from memory 110.Or, processor 120 also can be to sentencing The video file of the most unloaded application correspondence made, directly by this video file from memory 110 Delete;The video file to be deleted that will judge directly is deleted, and is no longer waiting for the deletion instruction of user.
Use technical scheme in the present embodiment, the video of unloaded application is cleared up, it is to avoid these Video takies memory space always, improves Consumer's Experience.
In one embodiment, application comprises the steps that camera application, processor 120 are particularly adapted to when video literary composition When part generic is camera application classification, obtains the shooting duration information of video file, work as video file Shooting duration less than preset duration threshold value time, video file is judged to video file to be deleted.
For example, user carries out video capture by the camera application of terminal device, in some cases, Probably due to shake or press shooting key by mistake, and cause the video capture of mistake.Shooting in the case of these The duration of video file is the most comparatively short.Therefore, when the shooting duration of video file of corresponding camera application During less than preset duration threshold value, just can determine that this video file is the video by mistake clapped, thus by this video literary composition Part is judged to video file to be deleted.
In one embodiment, application comprises the steps that instant messaging is applied, and processor 120 is particularly adapted to when regarding When frequency file generic is instant messaging applicating category, determine that video file is right in instant communication applications The function items answered, when the function items that video file is corresponding is positioned in preset function list, by video file It is judged to video file to be deleted.
Further, processor 120 is particularly adapted to the storage determining video file in instant communication applications Catalogue, draws the function items corresponding in instant communication applications of video file according to the storage catalogue determined.
Each instant messaging application has respective bibliographic structure, and bibliographic structure storage is pressed in instant messaging application File.Further, instant messaging application can have a multiple function, such as, and chat feature, in friend circle Photos and sending messages function and push news function, upload or download file function.Instant messaging application according to The associated documents of each function are stored under function correspondence catalogue by the bibliographic structure of oneself.Therefore, exist After determining video file storage catalogue in instant communication applications, can be according to the storage mesh determined Record draws the function items corresponding in instant communication applications of video file.
When the function items that video file is corresponding is positioned in preset function list, it is judged to treat by video file Delete video file.Such as, propelling movement news function and chat feature are arranged in preset function list, When the function items that video file is corresponding is news function or chat feature, it is judged to video file wait to delete Except video file.
In one embodiment, application comprises the steps that network downloads application, and upper processor 120 is particularly adapted to work as When video file generic is network download applicating category, obtain the storage date and time information of video file, When the storage date of video file exceedes predetermined interval duration threshold value to the interval duration of current date, general Video file is judged to video file to be deleted.
User can download application by network, such as, a sudden peal of thunder, electricity donkey etc., to regarding in internet Frequently resource is downloaded.For this type of video, user, generally after having downloaded, can play in a short time, After finishing playing, generally will not again play.But, owing to the default storage path of this type of video may It not the general routes be familiar with of user so that this type of video long-term existence, in memory space, causes and deposits The waste of storage resource.
In the present embodiment, the video file in applicating category is downloaded for network, obtain video file Storage date and time information, exceedes predetermined interval when the storage date of video file to the interval duration of current date During duration threshold value, illustrating that this video file has stored the long period in terminal device, it may be Play by user, then by user play less likely.Therefore, this video file is judged to Video file to be deleted.
For example, display 130 shows, in the interface of display, the video file to be deleted determined, Video file can be shown in the way of using thumbnail, and the video file under same application is put into one In packet, show video file by the mode of packet.
In one embodiment, processor 120 is further adapted for resolving the video file obtained, the letter analytically gone out Breath extracts the attribute information of video file.
Wherein, at least one information during attribute information can include following information: file generated time, file Duration, file name, affiliated special edition.
Display 130 is particularly adapted to show the video file to be deleted of judgement and video to be deleted in interface The attribute information of file.
In the present embodiment, the video file obtained is resolved, parses the attribute information of video file, While display video file, show the attribute information of this video file, so, it is possible to provide the user About the more information of video file, user is facilitated to judge whether to delete video file.
For example, when user clicks on or uses mouse to click on thumbnail in touch-screen, receiver 140 Receiving the selection instruction of user's input, this selection instruction indicates the video literary composition that clicked thumbnail is corresponding Part is selected.
When user clicks on or use mouse to click on deletion button in touch-screen, receiver 140 receives The deletion instruction of user's input, the video file chosen is deleted by this deletion instruction instruction, then, processes The video file chosen is deleted from memory 110 by device 120.Further, display 130 is permissible Before performing deletion action, the prompting that display video file will be deleted, it is defeated that receiver 140 receives user After the confirmation instruction entered, the video file chosen is deleted from memory 110 by processor 120.
For example, as shown in Figure 4 A, by camera application classification in the interface of display 130 display, Instant messaging applicating category, in network download applicating category, the quantity of video file to be deleted shows, And show and downloaded total number of video in application.After clicking on a certain classification, enter the category corresponding In interface.Such as, after clicking on camera application classification, entering in the interface of camera application classification, shooting should With classification interface as shown in Figure 4 B, camera application classification interface demonstrates video file to be deleted and Corresponding attribute information.Unloaded applicating category interface shows video file and the attribute information of deletion, Compared with Fig. 4 B, there is no options and delete button.
After user clicks on, by touch-screen or mouse, the Option Box that in interface, video file is corresponding, receiver 140 receive the selection instruction that this video file is selected.Processor 120 marks the video file chosen, As shown in Figure 4 C, in interface video file be marked as choose.
As shown in Figure 4 D, after user clicks on deletion button, receiver 140 receives user's input The instruction of deletion video file, display 130 display reminding " after deletion, video file can not be given for change, Confirm to delete?”.In user clicks on prompting after ACK button, receiver 140 receives user really Fixed instruction.In the camera application classification that processor 120 will be chosen, video file is deleted from memory 110.
Instant messaging applicating category and network are downloaded the selection of video file in applicating category and deleted Journey is same or similar, at this no longer with selection and the process of deletion of video file in above-mentioned camera application classification Repeat.
The video of storage in terminal device can be cleared up by the such scheme using the embodiment of the present invention, right Other data in terminal device can use following scheme to clear up.When user is by clicking on display circle During cleaning button on face, receiver 140 confirms to receive cleaning instruction, triggers processor 120 and carries out Cleaning operation and enter garbage-cleaning display interface, after garbage-cleaning completes, enter garbage-cleaning complete Become interface;As shown in Figure 5A, it is shown that garbage-cleaning display interface according to an embodiment of the invention Schematic diagram, as shown in Figure 5 B, it is shown that garbage-cleaning completes boundary according to an embodiment of the invention The schematic diagram in face.
When the improper unloading of application program, its some data corresponding yet suffer from, due to None-identified Cleaning so that these data take spatial cache always, if this overabundance of data, can affect the performance of terminal, Reduce Consumer's Experience.
Therefore, the identification for application program invalid data is cleared up, and cache information is that virtual machine caches bag name, The i.e. bag name of virtual-machine data, original information, for installing file bag name, has usually installed file row The bag name of each file in table.
Further, in the technical scheme of the embodiment of the present invention, create directory in server beyond the clouds list Database, wherein, in directory listing corresponding record have the catalogue to be cleared up and with the catalogue to be cleared up The Prune Policies matched.
The Prune Policies of the catalogue described in directory listing can include the most several:
Clear up completely, all catalogues in this catalogue, and this catalogue and file will all carry out cleaning and delete Remove.
Validity is cleared up, and is specially the file exceeding effective duration in this catalogue, the most stale literary composition Part carries out cleaning and deletes.
With caution cleaning, i.e. prompts the user with and performs the risk of cleaning and clear up in the determination receiving user Carry out cleaning after instruction, to all catalogues in this catalogue and file to delete.
Part cleaning, i.e. to being designated the catalogue cleared up completely in this catalogue or file carries out cleaning and deletes; To this catalogue is designated the catalogue or file cleared up with caution, in the instruction that the determination receiving user is cleared up After carry out cleaning delete;To this catalogue is not designated cleaning completely or the catalogue of cleaning with caution or file, Do not carry out cleaning to delete.
More preferably, in the directory listing of the embodiment of the present invention, the corresponding catalogue to be cleared up the also record recorded There is the data category of this catalogue to be cleared up.The data category of catalogue includes: system disk junk data, slow Deposit junk data, ad data, installation kit data, unloading residual data and large file.
Further, in the embodiment of the present invention, in order to strengthen the interactive experience of product and user's vision, letter Change user operation, after the cleaning data scanning of internal memory, nonvolatile storage space completes, it is also possible to base Clear up in suspended window, allow the user can management terminal device the most easily.
And liquidating plan of based on suspended window, specifically may include that and produced according to the first suspended window operation Raw call instruction, calls the second suspended window;Receive the second suspended window operation produced cleaning instruction; According to cleaning instruction, file is cleared up.Wherein, the display state of the second suspended window called for Descend any one: when the first suspended window is memory usage displaying, the second suspended window display conventional interface; When the first suspended window is memory usage and cleaning prompting shows, the second suspended window display conventional interface, And on conventional interface, increase cleaning prompting region.
Wherein, the content that the first suspended window is shown is: current memory occupancy;Or current memory occupancy The cleaning needing file clean-up with detection is pointed out;Second suspended window includes that internal memory accelerates interface, cleaning interface And conventional interface.
In actual application, conventional interface includes from opening management functionality controls, unloading prepackage functionality controls, hidden Private clearing function control, game/video accelerate functionality controls, software offloading functions control and timing cleaning merit Can control;Internal memory accelerates the conventional interface that interface is the second suspended window, and cleaning prompting region is control regions, And be provided with and point out official documents and correspondence accordingly.Internal memory accelerates interface and includes initial sub-interface and complete sub-interface, initially Sub-interface is used for showing current memory occupancy, which is provided with click and accelerates functionality controls, and this control is used for Call sub-interface.
Wherein, cleaning interface includes scanning sub-interface, stopping scans sub-interface, clear up sub-interface and the most clear Manage sub-interface.Scan sub-interface, stop scanning sub-interface, clearing up to be respectively provided with on sub-interface and call Stop scan sub-interface scan function control, for call clear up sub-interface stopping scan function control, For calling the key clearing function control clearing up sub-interface.
Use technical scheme in the present embodiment, it is possible to wholly or largely regard for what terminal device stored Frequency is cleared up, it is to avoid omits video or decreases the quantity of video of omission;Further, showing By visual classification before showing and deleting, go out video to be deleted literary composition according to generic is preset deletion condition criterion Part, decreases the quantity of the video that user checks, alleviates the workload of user, improves cleaning efficiency. Thus, in the present invention, technical scheme solves and omits video in cleaning and the low technology of cleaning efficiency is asked Topic, achieves in minimizing cleaning and omits number of videos, alleviate user job burden, improve cleaning efficiency Beneficial effect.
The invention also discloses the terminal device of a kind of video cleaning, this terminal device includes: any of the above-described Described device.Described terminal device can be smart mobile phone, PC, panel computer, the present invention This is not particularly limited.
It should be understood that
Algorithm and display be not solid with any certain computer, virtual bench or miscellaneous equipment provided herein Have relevant.Various fexible units can also be used together with based on teaching in this.As described above, Construct the structure required by this kind of device to be apparent from.Additionally, the present invention is also not for any specific Programming language.It is understood that, it is possible to use various programming languages realize the content of invention described herein, And the description done language-specific above is the preferred forms in order to disclose the present invention.
In specification mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that this Inventive embodiment can be put into practice in the case of not having these details.In some instances, not It is shown specifically known method, structure and technology, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand in each inventive aspect one Or multiple, above in the description of the exemplary embodiment of the present invention, each feature of the present invention is sometimes It is grouped together in single embodiment, figure or descriptions thereof.But, should be by the disclosure Method be construed to reflect an intention that i.e. the present invention for required protection require ratio in each claim The middle more feature of feature be expressly recited.More precisely, as the following claims reflect As, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows Claims of detailed description of the invention are thus expressly incorporated in this detailed description of the invention, the most each right Requirement itself is all as the independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out the module in the equipment in embodiment certainly Change adaptively and they are arranged in one or more equipment different from this embodiment.Permissible Module in embodiment or unit or assembly are combined into a module or unit or assembly, and in addition may be used To put them into multiple submodule or subelement or sub-component.Except such feature and/or process or Outside at least some in unit excludes each other, can use any combination that (this specification is included companion With claim, summary and accompanying drawing) disclosed in all features and so disclosed any method or All processes of person's equipment or unit are combined.Unless expressly stated otherwise, this specification (includes companion With claim, summary and accompanying drawing) disclosed in each feature can by provide identical, equivalent or phase Replace like the alternative features of purpose.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein include it Some feature included in its embodiment rather than further feature, but the group of the feature of different embodiment Close and mean to be within the scope of the present invention and formed different embodiments.Such as, in following power In profit claim, one of arbitrarily can mode making in any combination of embodiment required for protection With.
The all parts embodiment of the present invention can realize with hardware, or to process at one or more The software module run on device realizes, or realizes with combinations thereof.Those skilled in the art should Understand, microprocessor or digital signal processor (DSP) can be used in practice to realize basis The some or all merits of the some or all parts in the equipment of the video cleaning of the embodiment of the present invention Energy.The present invention is also implemented as part or all set for performing method as described herein Standby or device program (such as, computer program and computer program).Such realize this Bright program can store on a computer-readable medium, or can have one or more signal Form.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, Or provide with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, And those skilled in the art can design replacement in fact without departing from the scope of the appended claims Execute example.In the claims, should not will be located in any reference symbol between bracket to be configured to right is wanted The restriction asked.Word " comprises " and does not excludes the presence of the element or step not arranged in the claims.It is positioned at Word "a" or "an" before element does not excludes the presence of multiple such element.The present invention is permissible By means of including the hardware of some different elements and realizing by means of properly programmed computer.? If listing in the unit claim of equipment for drying, several in these devices can be by same Hardware branch specifically embodies.Word first, second and third use do not indicate that any order. Can be title by these word explanations.
The present invention is disclosed directly below scheme:
The method of A1, a kind of video cleaning, the method includes:
Scanning memory, obtains the video file of storage;
According to the store path of video file, the video file classification that will obtain, judge according to generic Whether described video file is video file to be deleted;
The video file to be deleted of judgement is shown in interface;
After the selection instruction receiving user's input, the video file to be deleted that mark is chosen;
After the deletion instruction receiving user's input, by the video file to be deleted chosen from memory Delete.
A2, according to the method described in A1, wherein, the described store path according to video file, will obtain The video file classification taken, specifically includes:
Store path according to video file determines to be applied belonging to video file, applies as belonging to video file Video file is classified.
A3, according to the method described in A2, wherein, described judge described video file according to generic Whether it is video file to be deleted, specifically includes:
When the application that video file generic is corresponding is the most unloaded, it is judged to treat by described video file Delete video file.
A4, according to the method described in A3, wherein, described method also includes:
After video file corresponding for unloaded application is judged to video file to be deleted, directly by described File to be deleted is deleted from memory.
A5, according to the method described in A2, wherein, described application includes: camera application, described basis Generic judges whether described video file is video file to be deleted, specifically includes:
When video file generic is camera application classification, obtain the shooting duration information of video file, When the shooting duration of video file is less than preset duration threshold value, described video file is judged to be deleted Video file.
A6, according to the method described in A2, wherein, described application includes: instant messaging apply, described Judge whether described video file is video file to be deleted according to generic, specifically include:
When video file generic is instant messaging applicating category, determine that video file is in instant messaging Function items corresponding in application, when the function items that video file is corresponding is positioned in preset function list, will Described video file is judged to video file to be deleted.
A7, according to the method described in A6, wherein, described determine that video file is in instant communication applications Corresponding function items, specifically includes:
Determine described video file storage catalogue in instant communication applications, according to the storage catalogue determined Draw the function items corresponding in instant communication applications of video file.
A8, according to the method described in A2, wherein, described application includes: network download application, described Judge whether described video file is video file to be deleted according to generic, specifically include:
When video file generic is network download applicating category, obtain the storage date of video file Information, exceedes predetermined interval duration threshold value when the storage date of video file to the interval duration of current date Time, described video file is judged to video file to be deleted.
A9, according to the method described in A1, wherein, described method also includes:
Resolve the video file obtained, the information analytically gone out is extracted the attribute information of video file.
A10, according to the method described in A9, wherein, the described video to be deleted showing judgement in interface File, specifically includes:
The video file to be deleted of judgement and the attribute letter of described video file to be deleted is shown in interface Breath.
A11, according to the method described in A9 or A10, wherein, described attribute information includes following information In at least one information: file generated time, file duration, file name, affiliated special edition.
The device of B12, a kind of video cleaning, this device includes:
Memory, is suitable to store video file;
Processor, is suitable to scan described memory, obtains the video file of storage, according to video file Store path, the video file classification that will obtain, judge that whether described video file is according to generic Video file to be deleted;
Display, is suitable to show the video file to be deleted that described processor judges in interface;
Receiver, is suitable to receive the instruction of user's input;
Described processor, is further adapted for after described receiver receives the selection instruction of user's input, mark The video file to be deleted chosen;After described receiver receives the deletion instruction of user's input, will choosing In video file to be deleted delete from described memory.
B13, according to the device described in B12, wherein, described processor, be particularly adapted to according to video literary composition The store path of part determines application belonging to video file, applies and classified by video file as belonging to video file.
B14, according to the device described in B13, wherein, described processor, be particularly adapted to work as video file When application that generic is corresponding is the most unloaded, described video file is judged to video file to be deleted.
B15, according to the device described in B14, wherein, described processor is further adapted for by unloaded application After corresponding video file is judged to video file to be deleted, directly by described file to be deleted from memory Middle deletion.
B16, according to the device described in B13, wherein, described application includes: camera application, described place Reason device, is particularly adapted to when video file generic is camera application classification, obtains the bat of video file Take the photograph duration information, when the shooting duration of video file is less than preset duration threshold value, by described video file It is judged to video file to be deleted.
B17, according to the device described in B13, wherein, described application includes: instant messaging apply, institute State processor, be particularly adapted to, when video file generic is instant messaging applicating category, determine video The function items that file is corresponding in instant communication applications, when the function items that video file is corresponding is positioned at default merit Time in energy list, described video file is judged to video file to be deleted.
B18, according to the device described in B17, wherein, described processor, be particularly adapted to determine described in regard Frequency file storage catalogue in instant communication applications, the storage catalogue according to determining draws video file Function items corresponding in instant communication applications.
B19, according to the device described in B13, wherein, described application includes: network download application, institute State processor, be particularly adapted to, when video file generic is network download applicating category, obtain video The storage date and time information of file, exceedes pre-when the storage date of video file to the interval duration of current date If during the duration threshold value of interval, described video file being judged to video file to be deleted.
B20, according to the device described in B12, wherein, described processor, be further adapted for resolve obtain regard Frequency file, extracts the attribute information of video file in the information analytically gone out.
B21, according to the device described in B20, wherein, described display, be particularly adapted in interface aobvious Show video file to be deleted and the attribute information of described video file to be deleted that described processor judges.
B22, according to the device described in B20 or B21, wherein, described attribute information includes following information In at least one information: file generated time, file duration, file name, affiliated special edition.
The terminal device of C23, a kind of video cleaning, this terminal device includes: institute as arbitrary in B12-B22 The device stated.

Claims (17)

1. a method for video cleaning, the method includes:
Scanning memory, obtains the video file of storage;
Store path according to video file determines to be applied belonging to video file, applies as belonging to video file Video file is classified, judges whether described video file is video file to be deleted according to generic;
The video file to be deleted of judgement is shown in interface;
After the selection instruction receiving user's input, the video file to be deleted that mark is chosen;
After the deletion instruction receiving user's input, by the video file to be deleted chosen from memory Delete;
Wherein, described application includes: camera application and/or instant messaging application;
When described application includes camera application, described whether judge described video file according to generic For video file to be deleted, specifically include: when video file generic is camera application classification, obtain Take the shooting duration information of video file, when the shooting duration of video file is less than preset duration threshold value, Described video file is judged to video file to be deleted;
When described application includes that instant messaging is applied, described judge described video file according to generic Whether it is video file to be deleted, specifically includes: when video file generic is instant messaging application class Time other, determine the function items that video file is corresponding in instant communication applications, when the merit that video file is corresponding When energy item is positioned in preset function list, described video file is judged to video file to be deleted.
Method the most according to claim 1, wherein, described judges described video according to generic Whether file is video file to be deleted, specifically includes:
When the application that video file generic is corresponding is the most unloaded, it is judged to treat by described video file Delete video file.
Method the most according to claim 2, wherein, described method also includes:
After video file corresponding for unloaded application is judged to video file to be deleted, directly by described File to be deleted is deleted from memory.
Method the most according to claim 1, wherein, when described application includes that instant messaging is applied, The described function items determining that video file is corresponding in instant communication applications, specifically includes:
Determine described video file storage catalogue in instant communication applications, according to the storage catalogue determined Draw the function items corresponding in instant communication applications of video file.
Method the most according to claim 1, wherein, described application also includes: network downloads application, Described judge whether described video file is video file to be deleted according to generic, specifically include:
When video file generic is network download applicating category, obtain the storage date of video file Information, exceedes predetermined interval duration threshold value when the storage date of video file to the interval duration of current date Time, described video file is judged to video file to be deleted.
Method the most according to claim 1, wherein, described method also includes:
Resolve the video file obtained, the information analytically gone out is extracted the attribute information of video file.
Method the most according to claim 6, wherein, described shows the to be deleted of judgement in interface Video file, specifically includes:
The video file to be deleted of judgement and the attribute letter of described video file to be deleted is shown in interface Breath.
8. according to the method described in claim 6 or 7, wherein, described attribute information includes following information In at least one information: file generated time, file duration, file name, affiliated special edition.
9. a device for video cleaning, this device includes:
Memory, is suitable to store video file;
Processor, is suitable to scan described memory, obtains the video file of storage, according to video file Store path determines application belonging to video file, applies and classified by video file as belonging to video file, root Judge whether described video file is video file to be deleted according to generic;
Display, is suitable to show the video file to be deleted that described processor judges in interface;
Receiver, is suitable to receive the instruction of user's input;
Described processor, is further adapted for after described receiver receives the selection instruction of user's input, mark The video file to be deleted chosen;After described receiver receives the deletion instruction of user's input, will choosing In video file to be deleted delete from described memory;
Wherein, described application includes: camera application and/or instant messaging application;
When described application includes camera application, described processor, it is particularly adapted to when class belonging to video file Not Wei camera application classification time, obtain video file shooting duration information, when the shooting of video file When length is less than preset duration threshold value, described video file is judged to video file to be deleted;
When described application includes that instant messaging is applied, described processor, it is particularly adapted to when video file institute When genus classification is instant messaging applicating category, determine the function that video file is corresponding in instant communication applications , when the function items that video file is corresponding is positioned in preset function list, described video file is judged For video file to be deleted.
Device the most according to claim 9, wherein, described processor, it is particularly adapted to work as video When application that file generic is corresponding is the most unloaded, described video file is judged to video to be deleted literary composition Part.
11. devices according to claim 10, wherein, described processor is further adapted for by unloaded After the video file of application correspondence is judged to video file to be deleted, directly by described file to be deleted from depositing Reservoir is deleted.
12. devices according to claim 9, wherein, described processor, it is particularly adapted to determine institute State video file storage catalogue in instant communication applications, draw video literary composition according to the storage catalogue determined The function items corresponding in instant communication applications of part.
13. devices according to claim 9, wherein, described application also includes: network is downloaded should With, described processor, it is particularly adapted to, when video file generic is network download applicating category, obtain Take the storage date and time information of video file, when the storage date of video file is to the interval duration of current date When exceeding predetermined interval duration threshold value, described video file is judged to video file to be deleted.
14. devices according to claim 9, wherein, described processor, it is further adapted for resolving acquisition Video file, the information analytically gone out is extracted the attribute information of video file.
15. devices according to claim 14, wherein, described display, it is particularly adapted at interface Video file to be deleted and the attribute of described video file to be deleted that the described processor of middle display judges are believed Breath.
16. according to the device described in claims 14 or 15, and wherein, described attribute information includes as follows At least one information in information: file generated time, file duration, file name, affiliated special edition.
The terminal device of 17. 1 kinds of video cleanings, this terminal device includes: as claim 9-16 is arbitrary Described device.
CN201510197853.3A 2015-04-23 2015-04-23 Method, device and the terminal device of video cleaning Active CN104811791B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510197853.3A CN104811791B (en) 2015-04-23 2015-04-23 Method, device and the terminal device of video cleaning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510197853.3A CN104811791B (en) 2015-04-23 2015-04-23 Method, device and the terminal device of video cleaning

Publications (2)

Publication Number Publication Date
CN104811791A CN104811791A (en) 2015-07-29
CN104811791B true CN104811791B (en) 2016-07-06

Family

ID=53696206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510197853.3A Active CN104811791B (en) 2015-04-23 2015-04-23 Method, device and the terminal device of video cleaning

Country Status (1)

Country Link
CN (1) CN104811791B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105407203B (en) * 2015-10-22 2018-04-24 小米科技有限责任公司 The processing method and processing device of associated person information
CN105574163A (en) * 2015-12-16 2016-05-11 北京金山安全软件有限公司 File processing method and device and electronic equipment
CN106201218A (en) * 2016-07-27 2016-12-07 北京金山安全软件有限公司 Method and device for clearing picture files in chat records and mobile device
CN106776847B (en) * 2016-11-28 2020-01-14 Oppo广东移动通信有限公司 Method and device for deleting media file and mobile terminal
CN106844225A (en) * 2016-12-22 2017-06-13 北京奇虎科技有限公司 Mobile terminal and its data clearing method and device
CN107145515B (en) * 2017-04-01 2020-12-11 北京安云世纪科技有限公司 Method and device for displaying dynamic image and mobile terminal
CN107633043B (en) * 2017-09-14 2020-12-04 Oppo广东移动通信有限公司 Picture reminding method and device, terminal equipment and storage medium
CN109213733A (en) * 2018-08-14 2019-01-15 上海碳蓝网络科技有限公司 File classifying method, equipment and system
CN110099170B (en) * 2019-04-26 2021-01-08 维沃移动通信有限公司 Picture deleting method and mobile terminal
CN110381335A (en) * 2019-08-24 2019-10-25 赵娜 The method and system that video file in internet video server is cleared up
CN114157880A (en) * 2022-02-08 2022-03-08 飞狐信息技术(天津)有限公司 Video deleting method and device, storage medium and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888841B (en) * 2013-04-01 2017-07-07 海信集团有限公司 A kind of method and TV for showing fileinfo
CN104754002B (en) * 2013-12-30 2019-03-26 北京猎豹网络科技有限公司 Clear up method, apparatus, mobile terminal and the cloud server of file
CN104317628A (en) * 2014-11-13 2015-01-28 北京奇虎科技有限公司 Mobile terminal and storage space cleaning method thereof

Also Published As

Publication number Publication date
CN104811791A (en) 2015-07-29

Similar Documents

Publication Publication Date Title
CN104811791B (en) Method, device and the terminal device of video cleaning
CN104809198B (en) Method, device and the terminal unit of picture cleaning
CN103369048B (en) Content share method based on drag operation and system
CN104754002B (en) Clear up method, apparatus, mobile terminal and the cloud server of file
US8655028B2 (en) Photo sharing system with face recognition function
CN103559299B (en) Method, device and mobile terminal for cleaning up files
CN106162248B (en) Management method and system that platform promotes position is broadcast live
CN104021160B (en) Client data cleaning method and device
CN104881493B (en) file cleaning method and device
CN102970358B (en) The control method of the local cache of mobile client and device in net dish
CN104239157B (en) Method and device for optimizing and cleaning data of mobile terminal
CN104021159B (en) Client file cleaning method and device
CN103761306A (en) Smart terminal file cleaning method and device
CN101953189A (en) The collection view of local and long-range social information
CN104462264A (en) Method and device for clearing junk files in operating system
CN105095107A (en) Buffer memory data cleaning method and apparatus
CN104572922A (en) Image processing method and device based on mobile equipment
CN105893278A (en) System cache garbage cleaning method and device and terminal equipment
CN104536792A (en) Method and device for eliminating application program residual files
CN104331376B (en) The method for cleaning and device of the installation kit stored in mobile terminal
EP2369533A1 (en) Method, system, computer-readable medium and mobile device for managing messages
CN104536993B (en) Collect the processing method of webpage, collect the processing unit and client of webpage
CN104636026A (en) File saving method and device and mobile terminal
CN106302750A (en) A kind of show the method for user interface interaction content, device, server and system
CN102521257A (en) Method and device for providing corresponding on-line picture according to thumbnail

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220718

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.