CN104811791A - Video removing method and device and terminal device - Google Patents

Video removing method and device and terminal device Download PDF

Info

Publication number
CN104811791A
CN104811791A CN201510197853.3A CN201510197853A CN104811791A CN 104811791 A CN104811791 A CN 104811791A CN 201510197853 A CN201510197853 A CN 201510197853A CN 104811791 A CN104811791 A CN 104811791A
Authority
CN
China
Prior art keywords
video file
deleted
video
file
cleaning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510197853.3A
Other languages
Chinese (zh)
Other versions
CN104811791B (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

The invention relates to the field of digital information and discloses a video removing method and device and a terminal device. The method includes the steps of scanning a memory to obtain stored video files; classifying the obtained video files according to storage paths of the video files, and determining whether the video files are video files to be deleted according to the classes of the video files; displaying the determined video files to be deleted on an interface; marking selected video files to be deleted after receiving a selection instruction input by a user; deleting the selected video files to be deleted from memory after receiving a delete instruction input by the user. According to the technical scheme of the video removing method and device and the terminal device, the technical problems of video removing missing and low removing efficiency are solved, and the beneficial effects of reducing the number of missing video during removing, reducing the workload of the user is and improving the removing efficiency are achieved.

Description

Method, device and terminal equipment that video is cleared up
Technical field
The present invention relates to digital information field, be specifically related to the method for a kind of video cleaning, device and terminal equipment.
Background technology
Along with the function of terminal equipment is more and more abundanter, the video stored in terminal equipment also gets more and more.Such as, user can by the camera capture video of terminal equipment, and the video storage of shooting is in terminal equipment; Also web download video can be passed through, by the video storage of download to terminal equipment.In addition, user, when carrying out Video chat by chat tool, also can produce video, and this video storage is in terminal equipment.
Therefore, often can store multitude of video in terminal equipment, part rubbish video in those videos, can be there is.Rubbish video refers to that user no longer needs, and does not preserve necessary video.Because video takes up space comparatively large, need the rubbish video in terminal equipment to delete with the memory space saving terminal equipment.In correlation technique, the method for cleaning video comprises: when user checks a certain file, and video name in display file folder, user judges whether to delete this video according to title.Adopt the method to carry out video cleaning, need user to check each video, add the workload of user, cleaning efficiency is low; In addition, only video in current file folder is shown at every turn, easily omit the video under some catalogues usually do not used, cause video to clear up not thorough.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of method, device and the terminal equipment that overcome the problems referred to above or the video cleaning that solves the problem at least in part.
According to one aspect of the present invention, provide the method for a kind of video cleaning, the method comprises:
Swept memory, obtains the video file stored;
According to the store path of video file, by the video file classification obtained, 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, mark the video file to be deleted chosen;
After the delete instruction receiving user's input, the video file to be deleted chosen is deleted from memory.
Alternatively, the described store path according to video file, by the video file classification obtained, specifically comprises:
Applying belonging to the store path determination video file of video file, by applying belonging to video file, video file being classified.
Alternatively, describedly judge whether described video file is video file to be deleted, specifically comprises according to generic:
When the application that video file generic is corresponding is unloaded, described video file is judged to be video file to be deleted.
Alternatively, described method also comprises:
After video file corresponding for unloaded application is judged to be video file to be deleted, directly described file to be deleted is deleted from memory.
Alternatively, described application comprises: camera application, describedly judges whether described video file is video file to be deleted, specifically comprises according to generic:
When video file generic is camera application classification, obtains 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 video file to be deleted.
Alternatively, described application comprises: instant messaging is applied, and describedly judges whether described video file is video file to be deleted, specifically comprises according to generic:
When video file generic is instant messaging applicating category, determine when the function items that video file is corresponding is arranged in preset function list, described video file to be judged to be video file to be deleted by the function items that video file is corresponding in instant communication applications.
Alternatively, the described function items determining video file correspondence in instant communication applications, specifically comprises:
Determine the storage directory of described video file in instant communication applications, draw the function items corresponding in instant communication applications of video file according to the storage directory determined.
Alternatively, described application comprises: web download is applied, and describedly judges whether described video file is video file to be deleted, specifically comprises according to generic:
When video file generic is web 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, described video file is judged to be video file to be deleted.
Alternatively, described method also comprises:
Resolve the video file obtained, in the information analytically gone out, extract the attribute information of video file.
Alternatively, the described video file to be deleted showing judgement in interface, specifically comprises:
The video file to be deleted of judgement and the attribute information of described video file to be deleted is shown in interface.
Alternatively, described attribute information comprises at least one information in following information: file generated time, file duration, file name, affiliated special edition.
According to a further aspect in the invention, provide the device of a kind of video cleaning, this device comprises:
Memory, is suitable for store video files;
Processor, is suitable for scanning described memory, obtains the video file stored, and according to the store path of video file, by the video file classification obtained, judges whether described video file is video file to be deleted according to generic;
Display, is suitable for the video file to be deleted showing the judgement of described processor in interface;
Receiver, is suitable for the instruction receiving user's input;
Described processor, is also suitable for, after described receiver receives the selection instruction of user's input, marking the video file to be deleted chosen; Receive the delete instruction of user's input at described receiver after, the video file to be deleted chosen is deleted from described memory.
Alternatively, described processor, being specifically suitable for applying belonging to the store path determination video file of video file, being classified by video file by applying belonging to video file.
Alternatively, described processor, is specifically suitable for, when the application that video file generic is corresponding is unloaded, described video file being judged to be video file to be deleted.
Alternatively, described processor is also suitable for, after video file corresponding for unloaded application is judged to be video file to be deleted, directly being deleted from memory by described file to be deleted.
Alternatively, described application comprises: camera application, described processor, specifically be suitable for 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 video file to be deleted.
Alternatively, described application comprises: instant messaging is applied, described processor, specifically be suitable for when video file generic is instant messaging applicating category, determine the function items that video file is corresponding in instant communication applications, when the function items that video file is corresponding is arranged in preset function list, described video file is judged to be video file to be deleted.
Alternatively, described processor, is specifically suitable for determining the storage directory of described video file in instant communication applications, draws the function items corresponding in instant communication applications of video file according to the storage directory determined.
Alternatively, described application comprises: web download is applied, described processor, specifically be suitable for when video file generic is web 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, described video file is judged to be video file to be deleted.
Alternatively, described processor, is also suitable for resolving the video file obtained, extracts the attribute information of video file in the information analytically gone out.
Alternatively, described display, is specifically suitable in interface, show the video file to be deleted of described processor judgement and the attribute information of described video file to be deleted.
Alternatively, described attribute information comprises at least one information in following information: file generated time, file duration, file name, affiliated special edition.
The present invention again discloses the terminal equipment of a kind of video cleaning, and this terminal equipment comprises: above-mentioned arbitrary described device.
Can scan video in memory according to of the present invention, and according to the store path of video file, by the video file classification obtained, judge whether video file is video file to be deleted according to generic, video file to be deleted is carried out showing and to select for user and to delete; So, can clear up for the whole or most of videos stored in terminal equipment, avoid the quantity of the video omitted video or decrease omission; Further, by visual classification before carrying out showing and delete, going out video file to be deleted according to presetting deletion condition criterion in generic, decreasing the quantity of the video that user checks, alleviating the workload of user, improve cleaning efficiency.Thus, in the present invention, technical scheme solves in cleaning and omits video and the low technical problem of cleaning efficiency, achieves to reduce in cleaning and omits number of videos, alleviate user job burden, improve the beneficial effect of cleaning efficiency.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of specification, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.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; Fig. 3 B shows the schematic diagram that rubbish has according to an embodiment of the invention scanned interface;
Fig. 4 A shows the schematic diagram at the interface of display 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 the schematic diagram at the interface selecting video file according to an embodiment of the invention; Fig. 4 D shows the schematic diagram at the interface of deleting 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, and Fig. 5 B shows the schematic diagram that garbage-cleaning according to an embodiment of the invention completes interface; And
Fig. 6 shows the structure chart of the device of video cleaning according to an embodiment of the invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, 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, and the method is suitable in terminal equipment, such as, and smart mobile phone, panel computer, PC; As shown in Figure 1, the method comprising the steps of S110-S150.
In step s 110, swept memory, obtains the video file stored.
For example, when swept 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 can comprise: DCIM/Camera, DCIM/100MEDIA, DCIM/100ANDRO, DCIM, Camera, Photo, my camera, camera/photo, camera, my photo.
Also can be that memory in terminal equipment is scanned totally, such as, from memory, scan the video file of AVI, wma, rmvb, rm, flash, mp4 and mid form.
When starting scanning, by clicking the cleaning data scanning button preset in the display screen of terminal equipment, or the preassembled software supporting a key scanning cleaning of cleaning data can be opened, carrying out the transmission of driver sweep instruction.
When user is by clicking the scanning button on display interface, terminal equipment confirms to receive scan instruction, trigger operation that the memory space of this terminal equipment is scanned and enter rubbish scanning display interface, after rubbish has scanned, having entered rubbish and scanned interface; As shown in Figure 3A, show the schematic diagram of rubbish scanning display interface according to an embodiment of the invention, as shown in Figure 3 B, show the schematic diagram that rubbish has according to an embodiment of the invention scanned interface.The memory space of terminal equipment can be nonvolatile storage space, such as, memory space in the storage devices such as SD (Secure Digital memory, the data accumulating body of safety) card, micro SD card also can be the internal memory in terminal equipment.
Terminal equipment, according to scan instruction, scans the bibliographic structure in memory space, obtains the directory information of the catalogue in memory space.The directory information of catalogue can comprise: the path of catalogue and title; In addition, the directory information of catalogue can also comprise: the size in the version number of catalogue, timestamp and shared space.
By above-mentioned scanning process, identify and obtain the video file stored in terminal equipment, in addition, in the process of scanning cleaning data, can clear up Other Waste data.
In practical application, in the process of scanning cleaning data, can by the relevant information of the catalogue of Current Scan (such as, the information such as path, bag name) with to download from cloud server in advance or the information of catalogue the local Clean Up Database stored is mated, Prune Policies corresponding to the catalogue matched, identify the catalogue of Current Scan for cleaning data, and the Prune Policies for clearing up these cleaning data can be determined further.Further, cloud server regularly can carry out renewal upgrading to the Clean Up Database of this locality, upgrades in time to the Prune Policies etc. of the catalogue recorded in Clean Up Database and correspondence.
Display interface is specially rubbish scanning result display interface, except above video information, " system disk rubbish ", " buffer memory " can also be shown in this interface, " unloading residual ", " advertisement ", " installation kit " and " large files " represent that data category is system disk junk data respectively, buffer memory junk data, unloading residual data, ad data, installation kit data and large file the wish catalogue of clearing up.And, corresponding " system disk rubbish ", " buffer memory ", " unloading is residual ", " advertisement ", " installation kit " and " large files ", show the size of respective suggestion cleaning data: " 100MB ", " 40MB ", " 20MB ", " 10MB ", " 10MB " and " 0MB " respectively." 200MB " that show in this interface represents each size for suggestion cleaning data in the catalogue of cleaning.
In the step s 120, according to the store path of video file, by the video file classification obtained, 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, can comprise the classification of the video file of acquisition: applying belonging to the store path determination video file of video file, being classified by video file by applying belonging to video file.
After getting video file, check the store path of video file, the application belonging to video file can be determined according to the store path of video file.Such as, if under video file is stored in directory of photos, then determines that this video file belongs to camera application, this video file is categorized into camera application classification.If under video file is stored in a certain immediate communication tool catalogue, then determines that this video file belongs to this instant messaging application, this video file is categorized into this instant messaging applicating category.If under video file is stored in a certain network download tool catalogue, then determines that this video file belongs to the application of this web download, this video file is categorized into this web download applicating category.
In one embodiment, above-mentionedly judge whether video file is that video file to be deleted can comprise according to generic: when the application that video file generic is corresponding is unloaded, video file is judged to be video file to be deleted.
When the improper unloading of application program, its some video corresponding still exists, and due to None-identified cleaning, makes these videos take memory space always, if this type of video is too much, can affect the performance of terminal, reduce Consumer's Experience.Therefore, in the present embodiment, the video file of unloaded application correspondence is judged to be video file to be deleted.Afterwards, in interface, show the video file to be deleted of judgement; After the selection instruction receiving user's input, mark the video file to be deleted chosen; After the delete instruction receiving user's input, the video file to be deleted chosen is deleted from memory.Or, also to the video file of the unloaded application correspondence determined, directly this video file can be deleted from memory; The video file to be deleted being about to judge directly is deleted, and no longer waits for the delete instruction of user.
Adopt technical scheme in the present embodiment, the video of unloaded application is cleared up, avoids these videos to take memory space always, improve Consumer's Experience.
In one embodiment, application can comprise: camera application, above-mentionedly judge whether described video file is video file to be deleted according to generic, can comprise: 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, video file is judged to be video file to be deleted.
For example, user carries out video capture by the camera application of terminal equipment, in some cases, because of shake or may press shooting key by mistake, and the video capture led to errors.The duration of the video file taken in these situations is usually shorter.Therefore, when the shooting duration of the video file of corresponding camera application is less than preset duration threshold value, just can judges that this video file is as the video clapped by mistake, thus this video file is judged to be video file to be deleted.
In one embodiment, application can comprise: instant messaging is applied, above-mentionedly judge whether video file is video file to be deleted according to generic, can comprise: when video file generic is instant messaging applicating category, determine the function items that video file is corresponding in instant communication applications, when the function items that video file is corresponding is arranged in preset function list, video file is judged to be video file to be deleted.
Further, the above-mentioned function items determining video file correspondence in instant communication applications, can comprise: determine the storage directory of video file in instant communication applications, draw the function items corresponding in instant communication applications of video file according to the storage directory determined.
Each instant messaging application has respective bibliographic structure, and bibliographic structure storage file is pressed in instant messaging application.Further, instant messaging application can have multiple function, such as, chat feature, friend circle photos and sending messages function and push news function, upload or download file function.The bibliographic structure according to oneself is applied in instant messaging, under the associated documents of each function being stored into the corresponding catalogue of function.Therefore, after determining the storage directory of video file in instant communication applications, the function items corresponding in instant communication applications of video file can be drawn according to the storage directory determined.
When the function items that video file is corresponding is arranged in preset function list, video file is judged to be video file to be deleted.Such as, propelling movement news function and chat feature are arranged in preset function list, when the function items that video file is corresponding be news function or chat feature time, video file is judged to be video file to be deleted.
In one embodiment, application can comprise: web download is applied, above-mentionedly judge whether described video file is video file to be deleted according to generic, can comprise: when video file generic is web 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, video file is judged to be video file to be deleted.
User can be applied by web download, such as, a sudden peal of thunder, electric donkey etc., the video resource in internet is downloaded.For this type of video, user, usually after having downloaded, can play in a short time, after finishing playing, usually can not again play.But, the default storage path due to this type of video may not be user the general routes be familiar with, make this type of video long-term existence in memory space, cause the waste of storage resources.
In the present embodiment, for the video file in web 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, illustrate that this video file stores the long period in terminal equipment, it may be play by user, then by less likely that user plays.Therefore, this video file is judged to be video file to be deleted.
In step s 130, which, in interface, show the video file to be deleted of judgement.
For example, in the interface of display, show the video file to be deleted determined, the mode display video file of thumbnail can be adopted, and the video file under same application is put into a grouping, by the mode display video file of grouping.
In one embodiment, said method also can comprise: resolve the video file obtained, extract the attribute information of video file in the information analytically gone out.
Wherein, attribute information can comprise at least one information in following information: file generated time, file duration, file name, affiliated special edition.
The above-mentioned video file to be deleted showing judgement in interface, can be included in interface and show the video file to be deleted of judgement 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, the attribute information of this video file is shown while display video file, so, more information about video file can be provided for user, facilitate user to judge whether to delete video file.
In step S140, after the selection instruction receiving user's input, mark the video file to be deleted chosen.
For example, when user clicks or use mouse to click thumbnail in touch-screen, receive the selection instruction of user's input, this selection instruction indicates the video file that clicked thumbnail is corresponding selected.
In step S150, after the delete instruction receiving user's input, the video file to be deleted chosen is deleted from memory.
For example, when user clicks or use mouse to click delete button in touch-screen, receive the delete instruction of user's input, the video file chosen is deleted by the instruction of this delete instruction, so, the video file chosen in step S140 is deleted from memory.Further, can before execution deletion action, the prompting that display video file will be deleted, after receiving the confirmation instruction of user's input, deletes the video file chosen from memory.
Adopt technical scheme in the present embodiment, can clear up for the whole or most of videos stored in terminal equipment, avoid the quantity of the video omitted video or decrease omission; Further, by visual classification before carrying out showing and delete, going out video file to be deleted according to presetting deletion condition criterion in generic, decreasing the quantity of the video that user checks, alleviating the workload of user, improve cleaning efficiency.Thus, in the present invention, technical scheme solves in cleaning and omits video and the low technical problem of cleaning efficiency, achieves to reduce in cleaning and omits number of videos, alleviate user job burden, improve the beneficial effect of cleaning efficiency.
Fig. 2 shows the flow chart of the method for video cleaning according to an embodiment of the invention, and the method is suitable in terminal equipment, such as, and smart mobile phone, panel computer, PC; As shown in Figure 2, the method comprises the steps.
In step S202, swept memory, obtains the video file stored.
In step S204, applying belonging to the store path determination video file of video file, by applying belonging to video file, video file being classified.
In step S206, when the application that video file generic is corresponding is unloaded, video file is judged to be video file to be deleted, and this video file to be deleted is deleted.
In step S208, when video file generic is camera application classification, obtain the shooting duration information of video file.
In step S210, when the shooting duration of video file is less than preset duration threshold value, video file is judged to be video file to be deleted.
In step S212, when video file generic is instant messaging applicating category, determine the storage directory of video file in instant communication applications, draw the function items corresponding in instant communication applications of video file according to the storage directory determined.
In step S214, when the function items that video file is corresponding is arranged in preset function list, video file is judged to be video file to be deleted.
In step S216, when video file generic is web download applicating category, obtain the storage date and time information of video file.
In step S218, when the storage date of video file exceedes predetermined interval duration threshold value to the interval duration of current date, video file is judged to be video file to be deleted.
In step S220, resolve the video file obtained, in the information analytically gone out, extract the attribute information of video file.
Wherein, attribute information can comprise at least one information in following information: file generated time, file duration, file name, affiliated special edition.
In step S222, in interface, show the video file to be deleted of judgement and the attribute information of video file to be deleted.
As shown in Figure 4 A, by camera application classification in interface, instant messaging applicating category, in web download applicating category, the quantity of video file to be deleted shows, and total number of video in showing down load application.After clicking a certain classification, enter in interface corresponding to this classification.Such as, after clicking camera application classification, enter in the interface of camera application classification, camera application classification interface as shown in Figure 4 B, demonstrates video file to be deleted and corresponding attribute information in camera application classification interface.Show video file and the attribute information of deletion in unloaded applicating category interface, compared with Fig. 4 B, there is no options and delete button.
In step S224, after the selection instruction receiving user's input, mark the video file to be deleted chosen.
User receives the selection instruction that this video file is selected after clicking by touch-screen or mouse the Option Box that in interface, video file is corresponding.Afterwards, mark the video file chosen, as shown in Figure 4 C, in interface, being marked as of video file is chosen.
In step S226, after the delete instruction receiving user's input, the video file to be deleted chosen is deleted from memory.
As shown in Figure 4 D, after user clicks delete button, receive the instruction of the deletion video file of user's input, " after deletion, video file can not be given for change, confirm to delete? in prompting "When user clicks in prompting after ACK button, receive the determination instruction of user.Afterwards, video file in the camera application classification chosen is deleted from memory.
For the selection of video file in the selection of video file in instant messaging applicating category and web download applicating category and delete procedure and above-mentioned camera application classification and delete procedure same or similar, do not repeat them here.
Adopt the said method of the embodiment of the present invention can to clear up the video stored in terminal equipment, can adopt for other data in terminal equipment and clear up with the following method.When user is by clicking the cleaning button on display interface, terminal equipment confirms to receive cleaning instruction, triggers the operation of carrying out clearing up and enters garbage-cleaning display interface, after garbage-cleaning completes, entering garbage-cleaning and complete interface; As shown in Figure 5A, show the schematic diagram of garbage-cleaning display interface according to an embodiment of the invention, as shown in Figure 5 B, show the schematic diagram that garbage-cleaning according to an embodiment of the invention completes interface.
When the improper unloading of application program, its some data corresponding still exist, and due to None-identified cleaning, make 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 virtual machine buffer memory bag name, i.e. the bag name of virtual-machine data, and original information is installation file bag name, is generally the bag name of each file in installation file list.
Further, in the technical scheme of the embodiment of the present invention, the database of the list that creaties directory in server beyond the clouds, wherein, the Prune Policies that in directory listing, corresponding record has the catalogue for clearing up and matches with the catalogue for clearing up.
The Prune Policies of the catalogue recorded in directory listing can comprise several as follows:
Clear up completely, by this catalogue, and all catalogues in this catalogue and file all carry out cleaning and delete.
Validity is cleared up, and is specially the file to exceeding effective duration in this catalogue, and namely stale file carries out cleaning deletion.
Careful cleaning, namely to user point out the risk that performs cleaning and after the instruction of determination cleaning receiving user, all catalogues in this catalogue and file carried out to cleaning deletion.
Part cleaning, namely to being designated the catalogue of clearing up completely in this catalogue or file carries out cleaning deletion; To the catalogue or the file that are designated careful cleaning in this catalogue, after the instruction of determination cleaning receiving user, carry out cleaning delete; To the catalogue or the file that are not designated cleaning or careful cleaning completely in this catalogue, do not carry out cleaning and delete.
More preferably, in the directory listing of the embodiment of the present invention, the corresponding catalogue for cleaning recorded also records the data category of the catalogue of this wish cleaning.The data category of catalogue comprises: system disk junk data, buffer memory 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, simplify user operation, after the cleaning data scanning of internal memory, nonvolatile storage space completes, can also clear up based on suspended window, allow user can management terminal device very easily.
And based on the method for cleaning of suspended window, specifically can comprising the following steps: according to the first suspended window being operated to the call instruction produced, calling the second suspended window; Receive and the cleaning instruction produced is operated to the second suspended window; According to cleaning instruction, file is cleared up.Wherein, the show state of the second suspended window called be following any one: when the first suspended window be memory usage show time, the second suspended window display conventional interface; When the first suspended window is memory usage and cleaning prompting shows, the second suspended window shows conventional interface and conventional interface increases cleaning prompting region.
Wherein, the content that the first suspended window is shown is: current memory occupancy; Or the cleaning of file clean-up that needs of current memory occupancy and detection is pointed out; Second suspended window comprises internal memory and accelerates interface, cleaning interface and conventional interface.
In practical application, conventional interface comprises from opening management function control, unloading prepackage functionality controls, privacy clearing function control, game/video acceleration functionality controls, software offloading functions control and timing clearing function control; It is the conventional interface of the second suspended window that internal memory accelerates interface, and cleaning prompting region is control regions, and is provided with and points out official documents and correspondence accordingly.Internal memory accelerates interface and comprises initial sub-interface and complete sub-interface, and initial sub-interface is for showing current memory occupancy, and which is provided with to click and accelerate functionality controls, this control is used for having called sub-interface.
Wherein, clear up interface to comprise the sub-interface of scanning, stop the sub-interface of scanning, clear up sub-interface and cleared up sub-interface.Scan sub-interface, stop the sub-interface of scanning, clear up sub-interface is respectively equipped with for call stop the sub-interface of scanning scan function control, for call clear up sub-interface stopping scan function control, for calling the key clearing function control clearing up sub-interface.
The exemplary that above are only video method for cleaning of the present invention illustrates, the present invention is not limited thereto.All do within spirit of the present invention or principle any amendment, equivalent replacement, improvement etc., be all included in protection scope of the present invention.
Fig. 6 shows the structure chart of the device of video cleaning according to an embodiment of the invention, and this device is suitable in terminal equipment, such as, and smart mobile phone, panel computer, PC; As shown in Figure 6, this device comprises
Memory 110, is suitable for store video files;
Processor 120, is suitable for swept memory 110, obtains the video file stored, and according to the store path of video file, by the video file classification obtained, judges whether described video file is video file to be deleted according to generic;
Display 130, is suitable for the video file to be deleted that video-stream processor 120 judges in interface;
Receiver 140, is suitable for the instruction receiving user's input;
Processor 120, is also suitable for, after receiver 140 receives the selection instruction of user's input, marking the video file to be deleted chosen; Receive the delete instruction of user's input at receiver 140 after, the video file to be deleted chosen is deleted from memory 110.
For example, when processor 120 swept memory 110, 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 can comprise: DCIM/Camera, DCIM/100MEDIA, DCIM/100ANDRO, DCIM, Camera, Photo, my camera, camera/photo, camera, my photo.
Also can be that memory in terminal equipment is scanned totally, such as, from memory 110, scan the video file of AVI, wma, rmvb, rm, flash, mp4 and mid form.
When starting scanning, by clicking the cleaning data scanning button preset in the display screen of terminal equipment, or the preassembled software supporting a key scanning cleaning of cleaning data can be opened, carrying out the transmission of driver sweep instruction.
When user is by clicking the scanning button on display interface, receiver 140 confirms to receive scan instruction, the operation that the memory space of Trigger processor 120 to this terminal equipment scans also enters rubbish scanning display interface, after rubbish has scanned, has entered rubbish and has scanned interface; As shown in Figure 3A, show the schematic diagram of rubbish scanning display interface according to an embodiment of the invention, as shown in Figure 3 B, show the schematic diagram that rubbish has according to an embodiment of the invention scanned interface.The memory space of memory 410 can be nonvolatile storage space, such as, memory space in the storage devices such as SD (Secure Digital memory, the data accumulating body of safety) card, micro SD card also can be the internal memory in terminal equipment.
Processor 120, according to scan instruction, scans the bibliographic structure in memory space, obtains the directory information of the catalogue in memory space.The directory information of catalogue can comprise: the path of catalogue and title; In addition, the directory information of catalogue can also comprise: the size in the version number of catalogue, timestamp and shared space.
By above-mentioned scanning process, identify and obtain the video file stored in terminal equipment, in addition, in the process of scanning cleaning data, can clear up Other Waste data.
In practical application, in the process of scanning cleaning data, processor 120 can by the relevant information of the catalogue of Current Scan (such as, the information such as path, bag name) with to download from cloud server in advance or the information of catalogue the local Clean Up Database stored is mated, Prune Policies corresponding to the catalogue matched, identify the catalogue of Current Scan for cleaning data, and the Prune Policies for clearing up these cleaning data can be determined further.Further, cloud server regularly can carry out renewal upgrading to the Clean Up Database of this locality, upgrades in time to the Prune Policies etc. of the catalogue recorded in Clean Up Database and correspondence.
The display interface that display 130 shows is specially rubbish scanning result display interface, except above video information, " system disk rubbish ", " buffer memory " can also be shown in this interface, " unloading residual ", " advertisement ", " installation kit " and " large files " represent that data category is system disk junk data respectively, buffer memory junk data, unloading residual data, ad data, installation kit data and large file the wish catalogue of clearing up.And, corresponding " system disk rubbish ", " buffer memory ", " unloading is residual ", " advertisement ", " installation kit " and " large files ", show the size of respective suggestion cleaning data: " 100MB ", " 40MB ", " 20MB ", " 10MB ", " 10MB " and " 0MB " respectively." 200MB " that show in this interface represents each size for suggestion cleaning data in the catalogue of cleaning.
In one embodiment, processor 120 is specifically suitable for applying belonging to the store path determination video file of video file, is classified by video file by applying belonging to video file.
After processor 120 gets video file, check the store path of video file, the application belonging to video file can be determined according to the store path of video file.Such as, if under video file is stored in directory of photos, then determines that this video file belongs to camera application, this video file is categorized into camera application classification.If under video file is stored in a certain immediate communication tool catalogue, then determines that this video file belongs to this instant messaging application, this video file is categorized into this instant messaging applicating category.If under video file is stored in a certain network download tool catalogue, then determines that this video file belongs to the application of this web download, this video file is categorized into this web download applicating category.
In one embodiment, processor 120 is specifically suitable for, when the application that video file generic is corresponding is unloaded, video file being judged to be video file to be deleted.
When the improper unloading of application program, its some video corresponding still exists, and due to None-identified cleaning, makes these videos take memory space always, if this type of video is too much, can affect the performance of terminal, reduce Consumer's Experience.Therefore, in the present embodiment, the video file of unloaded application correspondence is judged to be video file to be deleted by processor 120.Afterwards, display 130 shows the video file to be deleted of judgement in interface; Processor 120, after receiver 140 receives the selection instruction of user's input, marks the video file to be deleted chosen; Receive the delete instruction of user's input at receiver 140 after, the video file to be deleted chosen is deleted from memory 110.Or this video file also to the video file of the unloaded application correspondence determined, directly can be deleted by processor 120 from memory 110; The video file to be deleted being about to judge directly is deleted, and no longer waits for the delete instruction of user.
Adopt technical scheme in the present embodiment, the video of unloaded application is cleared up, avoids these videos to take memory space always, improve Consumer's Experience.
In one embodiment, application can comprise: camera application, processor 120 is specifically suitable for 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, video file is judged to be video file to be deleted.
For example, user carries out video capture by the camera application of terminal equipment, in some cases, because of shake or may press shooting key by mistake, and the video capture led to errors.The duration of the video file taken in these situations is usually shorter.Therefore, when the shooting duration of the video file of corresponding camera application is less than preset duration threshold value, just can judges that this video file is as the video clapped by mistake, thus this video file is judged to be video file to be deleted.
In one embodiment, application can comprise: instant messaging is applied, processor 120 is specifically suitable for when video file generic is instant messaging applicating category, determine the function items that video file is corresponding in instant communication applications, when the function items that video file is corresponding is arranged in preset function list, video file is judged to be video file to be deleted.
Further, processor 120 is specifically suitable for determining the storage directory of video file in instant communication applications, draws the function items corresponding in instant communication applications of video file according to the storage directory determined.
Each instant messaging application has respective bibliographic structure, and bibliographic structure storage file is pressed in instant messaging application.Further, instant messaging application can have multiple function, such as, chat feature, friend circle photos and sending messages function and push news function, upload or download file function.The bibliographic structure according to oneself is applied in instant messaging, under the associated documents of each function being stored into the corresponding catalogue of function.Therefore, after determining the storage directory of video file in instant communication applications, the function items corresponding in instant communication applications of video file can be drawn according to the storage directory determined.
When the function items that video file is corresponding is arranged in preset function list, video file is judged to be video file to be deleted.Such as, propelling movement news function and chat feature are arranged in preset function list, when the function items that video file is corresponding be news function or chat feature time, video file is judged to be video file to be deleted.
In one embodiment, application can comprise: web download is applied, upper processor 120 is specifically suitable for when video file generic is web 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, video file is judged to be video file to be deleted.
User can be applied by web download, such as, a sudden peal of thunder, electric donkey etc., the video resource in internet is downloaded.For this type of video, user, usually after having downloaded, can play in a short time, after finishing playing, usually can not again play.But, the default storage path due to this type of video may not be user the general routes be familiar with, make this type of video long-term existence in memory space, cause the waste of storage resources.
In the present embodiment, for the video file in web 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, illustrate that this video file stores the long period in terminal equipment, it may be play by user, then by less likely that user plays.Therefore, this video file is judged to be video file to be deleted.
For example, display 130 shows the video file to be deleted determined in the interface of display, can adopt the mode display video file of thumbnail, and the video file under same application be put into a grouping, by the mode display video file of grouping.
In one embodiment, processor 120 is also suitable for resolving the video file obtained, and extracts the attribute information of video file in the information analytically gone out.
Wherein, attribute information can comprise at least one information in following information: file generated time, file duration, file name, affiliated special edition.
Display 130 is specifically suitable in interface, show the video file to be deleted of judgement 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, the attribute information of this video file is shown while display video file, so, more information about video file can be provided for user, facilitate user to judge whether to delete video file.
For example, when user clicks or use mouse to click thumbnail in touch-screen, receiver 140 receives the selection instruction of user's input, and this selection instruction indicates the video file that clicked thumbnail is corresponding selected.
When user clicks or uses mouse to click delete button in touch-screen, receiver 140 receives the delete instruction of user's input, the video file chosen is deleted, so the video file chosen is deleted by processor 120 from memory 110 by the instruction of this delete instruction.Further, display 130 can before execution deletion action, and the prompting that display video file will be deleted, after receiver 140 receives the confirmation instruction of user's input, the video file chosen is deleted by processor 120 from memory 110.
For example, as shown in Figure 4 A, by camera application classification in the interface that display 130 shows, instant messaging applicating category, in web download applicating category, the quantity of video file to be deleted shows, and total number of video in showing down load application.After clicking a certain classification, enter in interface corresponding to this classification.Such as, after clicking camera application classification, enter in the interface of camera application classification, camera application classification interface as shown in Figure 4 B, demonstrates video file to be deleted and corresponding attribute information in camera application classification interface.Show video file and the attribute information of deletion in unloaded applicating category interface, compared with Fig. 4 B, there is no options and delete button.
After user clicks by touch-screen or mouse the Option Box that in interface, video file is corresponding, receiver 140 receives the selected selection instruction of this video file.Processor 120 marks the video file chosen, and as shown in Figure 4 C, in interface, being marked as of video file is chosen.
As shown in Figure 4 D, after user clicks delete button, receiver 140 receives the instruction of the deletion video file of user's input, and display 130 display reminding " after deletion, can not give for change, confirm to delete? by video file "When user clicks in prompting after ACK button, receiver 140 receives the determination instruction of user.Video file in the camera application classification chosen is deleted by processor 120 from memory 110.
For the selection of video file in the selection of video file in instant messaging applicating category and web download applicating category and delete procedure and above-mentioned camera application classification and delete procedure same or similar, do not repeat them here.
Adopt the such scheme of the embodiment of the present invention can to clear up the video stored in terminal equipment, following scheme can be adopted to clear up for other data in terminal equipment.When user is by clicking the cleaning button on display interface, receiver 140 confirms to receive cleaning instruction, and Trigger processor 120 carries out the operation of clearing up and enters garbage-cleaning display interface, after garbage-cleaning completes, enters garbage-cleaning and completes interface; As shown in Figure 5A, show the schematic diagram of garbage-cleaning display interface according to an embodiment of the invention, as shown in Figure 5 B, show the schematic diagram that garbage-cleaning according to an embodiment of the invention completes interface.
When the improper unloading of application program, its some data corresponding still exist, and due to None-identified cleaning, make 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 virtual machine buffer memory bag name, i.e. the bag name of virtual-machine data, and original information is installation file bag name, is generally the bag name of each file in installation file list.
Further, in the technical scheme of the embodiment of the present invention, the database of the list that creaties directory in server beyond the clouds, wherein, the Prune Policies that in directory listing, corresponding record has the catalogue for clearing up and matches with the catalogue for clearing up.
The Prune Policies of the catalogue recorded in directory listing can comprise several as follows:
Clear up completely, by this catalogue, and all catalogues in this catalogue and file all carry out cleaning and delete.
Validity is cleared up, and is specially the file to exceeding effective duration in this catalogue, and namely stale file carries out cleaning deletion.
Careful cleaning, namely to user point out the risk that performs cleaning and after the instruction of determination cleaning receiving user, all catalogues in this catalogue and file carried out to cleaning deletion.
Part cleaning, namely to being designated the catalogue of clearing up completely in this catalogue or file carries out cleaning deletion; To the catalogue or the file that are designated careful cleaning in this catalogue, after the instruction of determination cleaning receiving user, carry out cleaning delete; To the catalogue or the file that are not designated cleaning or careful cleaning completely in this catalogue, do not carry out cleaning and delete.
More preferably, in the directory listing of the embodiment of the present invention, the corresponding catalogue for cleaning recorded also records the data category of the catalogue of this wish cleaning.The data category of catalogue comprises: system disk junk data, buffer memory 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, simplify user operation, after the cleaning data scanning of internal memory, nonvolatile storage space completes, can also clear up based on suspended window, allow user can management terminal device very easily.
And based on the liquidating plan of suspended window, specifically can comprising: according to the first suspended window being operated to the call instruction produced, calling the second suspended window; Receive and the cleaning instruction produced is operated to the second suspended window; According to cleaning instruction, file is cleared up.Wherein, the show state of the second suspended window called be following any one: when the first suspended window be memory usage show time, the second suspended window display conventional interface; When the first suspended window is memory usage and cleaning prompting shows, the second suspended window shows conventional interface and conventional interface increases cleaning prompting region.
Wherein, the content that the first suspended window is shown is: current memory occupancy; Or the cleaning of file clean-up that needs of current memory occupancy and detection is pointed out; Second suspended window comprises internal memory and accelerates interface, cleaning interface and conventional interface.
In practical application, conventional interface comprises from opening management function control, unloading prepackage functionality controls, privacy clearing function control, game/video acceleration functionality controls, software offloading functions control and timing clearing function control; It is the conventional interface of the second suspended window that internal memory accelerates interface, and cleaning prompting region is control regions, and is provided with and points out official documents and correspondence accordingly.Internal memory accelerates interface and comprises initial sub-interface and complete sub-interface, and initial sub-interface is for showing current memory occupancy, and which is provided with to click and accelerate functionality controls, this control is used for having called sub-interface.
Wherein, clear up interface to comprise the sub-interface of scanning, stop the sub-interface of scanning, clear up sub-interface and cleared up sub-interface.Scan sub-interface, stop the sub-interface of scanning, clear up sub-interface is respectively equipped with for call stop the sub-interface of scanning scan function control, for call clear up sub-interface stopping scan function control, for calling the key clearing function control clearing up sub-interface.
Adopt technical scheme in the present embodiment, can clear up for the whole or most of videos stored in terminal equipment, avoid the quantity of the video omitted video or decrease omission; Further, by visual classification before carrying out showing and delete, going out video file to be deleted according to presetting deletion condition criterion in generic, decreasing the quantity of the video that user checks, alleviating the workload of user, improve cleaning efficiency.Thus, in the present invention, technical scheme solves in cleaning and omits video and the low technical problem of cleaning efficiency, achieves to reduce in cleaning and omits number of videos, alleviate user job burden, improve the beneficial effect of cleaning efficiency.
The invention also discloses the terminal equipment of a kind of video cleaning, this terminal equipment comprises: above-mentioned arbitrary described device.Described terminal equipment can be smart mobile phone, PC, panel computer, and the present invention is not particularly limited this.
It should be noted that:
Intrinsic not relevant to any certain computer, virtual bench or miscellaneous equipment with display at this algorithm provided.Various fexible unit also can with use based on together with this teaching.According to description above, the structure constructed required by this kind of device is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize the some or all parts in the equipment cleared up according to the video of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The present invention is following scheme openly:
The method of A1, a kind of video cleaning, the method comprises:
Swept memory, obtains the video file stored;
According to the store path of video file, by the video file classification obtained, 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, mark the video file to be deleted chosen;
After the delete instruction receiving user's input, the video file to be deleted chosen is deleted from memory.
A2, method according to A1, wherein, the described store path according to video file, by the video file classification obtained, specifically comprises:
Applying belonging to the store path determination video file of video file, by applying belonging to video file, video file being classified.
According to generic, A3, method according to A2, wherein, describedly judge whether described video file is video file to be deleted, specifically comprises:
When the application that video file generic is corresponding is unloaded, described video file is judged to be video file to be deleted.
A4, method according to A3, wherein, described method also comprises:
After video file corresponding for unloaded application is judged to be video file to be deleted, directly described file to be deleted is deleted from memory.
A5, method according to A2, wherein, described application comprises: camera application, describedly judges whether described video file is video file to be deleted, specifically comprises according to generic:
When video file generic is camera application classification, obtains 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 video file to be deleted.
A6, method according to A2, wherein, described application comprises: instant messaging is applied, and describedly judges whether described video file is video file to be deleted, specifically comprises according to generic:
When video file generic is instant messaging applicating category, determine when the function items that video file is corresponding is arranged in preset function list, described video file to be judged to be video file to be deleted by the function items that video file is corresponding in instant communication applications.
A7, method according to A6, wherein, describedly determine the function items that video file is corresponding in instant communication applications, specifically comprise:
Determine the storage directory of described video file in instant communication applications, draw the function items corresponding in instant communication applications of video file according to the storage directory determined.
A8, method according to A2, wherein, described application comprises: web download is applied, and describedly judges whether described video file is video file to be deleted, specifically comprises according to generic:
When video file generic is web 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, described video file is judged to be video file to be deleted.
A9, method according to A1, wherein, described method also comprises:
Resolve the video file obtained, in the information analytically gone out, extract the attribute information of video file.
A10, method according to A9, wherein, the described video file to be deleted showing judgement in interface, specifically comprises:
The video file to be deleted of judgement and the attribute information of described video file to be deleted is shown in interface.
A11, method according to A9 or A10, wherein, described attribute information comprises at least one information in following information: file generated time, file duration, file name, affiliated special edition.
The device of B12, a kind of video cleaning, this device comprises:
Memory, is suitable for store video files;
Processor, is suitable for scanning described memory, obtains the video file stored, and according to the store path of video file, by the video file classification obtained, judges whether described video file is video file to be deleted according to generic;
Display, is suitable for the video file to be deleted showing the judgement of described processor in interface;
Receiver, is suitable for the instruction receiving user's input;
Described processor, is also suitable for, after described receiver receives the selection instruction of user's input, marking the video file to be deleted chosen; Receive the delete instruction of user's input at described receiver after, the video file to be deleted chosen is deleted from described memory.
B13, device according to B12, wherein, described processor, being specifically suitable for applying belonging to the store path determination video file of video file, being classified by video file by applying belonging to video file.
B14, device according to B13, wherein, described processor, is specifically suitable for, when the application that video file generic is corresponding is unloaded, described video file being judged to be video file to be deleted.
B15, device according to B14, wherein, described processor is also suitable for, after video file corresponding for unloaded application is judged to be video file to be deleted, directly being deleted from memory by described file to be deleted.
B16, device according to B13, wherein, described application comprises: camera application, described processor, specifically be suitable for 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 video file to be deleted.
B17, device according to B13, wherein, described application comprises: instant messaging is applied, described processor, specifically be suitable for when video file generic is instant messaging applicating category, determine when the function items that video file is corresponding is arranged in preset function list, described video file to be judged to be video file to be deleted by the function items that video file is corresponding in instant communication applications.
B18, device according to B17, wherein, described processor, is specifically suitable for determining the storage directory of described video file in instant communication applications, draws the function items corresponding in instant communication applications of video file according to the storage directory determined.
B19, device according to B13, wherein, described application comprises: web download is applied, described processor, specifically be suitable for when video file generic is web 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, described video file is judged to be video file to be deleted.
B20, device according to B12, wherein, described processor, is also suitable for resolving the video file obtained, extracts the attribute information of video file in the information analytically gone out.
B21, device according to B20, wherein, described display, is specifically suitable for showing the attribute information of video file to be deleted that described processor judges and described video file to be deleted in interface.
B22, device according to B20 or B21, wherein, described attribute information comprises at least one information in following information: file generated time, file duration, file name, affiliated special edition.
The terminal equipment of C23, a kind of video cleaning, this terminal equipment comprises: the device as described in as arbitrary in B12-B22.

Claims (10)

1. a method for video cleaning, the method comprises:
Swept memory, obtains the video file stored;
According to the store path of video file, by the video file classification obtained, 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, mark the video file to be deleted chosen;
After the delete instruction receiving user's input, the video file to be deleted chosen is deleted from memory.
2. method according to claim 1, wherein, the described store path according to video file, by the video file classification obtained, specifically comprises:
Applying belonging to the store path determination video file of video file, by applying belonging to video file, video file being classified.
3. according to generic, method according to claim 2, wherein, describedly judges whether described video file is video file to be deleted, specifically comprises:
When the application that video file generic is corresponding is unloaded, described video file is judged to be video file to be deleted.
4. method according to claim 3, wherein, described method also comprises:
After video file corresponding for unloaded application is judged to be video file to be deleted, directly described file to be deleted is deleted from memory.
5. method according to claim 2, wherein, described application comprises: camera application, describedly judges whether described video file is video file to be deleted, specifically comprises according to generic:
When video file generic is camera application classification, obtains 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 video file to be deleted.
6. a device for video cleaning, this device comprises:
Memory, is suitable for store video files;
Processor, is suitable for scanning described memory, obtains the video file stored, and according to the store path of video file, by the video file classification obtained, judges whether described video file is video file to be deleted according to generic;
Display, is suitable for the video file to be deleted showing the judgement of described processor in interface;
Receiver, is suitable for the instruction receiving user's input;
Described processor, is also suitable for, after described receiver receives the selection instruction of user's input, marking the video file to be deleted chosen; Receive the delete instruction of user's input at described receiver after, the video file to be deleted chosen is deleted from described memory.
7. device according to claim 6, wherein, described processor, being specifically suitable for applying belonging to the store path determination video file of video file, being classified by video file by applying belonging to video file.
8. device according to claim 7, wherein, described processor, is specifically suitable for, when the application that video file generic is corresponding is unloaded, described video file being judged to be video file to be deleted.
9. device according to claim 8, wherein, described processor is also suitable for, after video file corresponding for unloaded application is judged to be video file to be deleted, directly being deleted from memory by described file to be deleted.
10. a terminal equipment for video cleaning, this terminal equipment comprises: the device as described in as arbitrary in claim 6-9.
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 true CN104811791A (en) 2015-07-29
CN104811791B 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)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105407203A (en) * 2015-10-22 2016-03-16 小米科技有限责任公司 Contact person information processing method and apparatus
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
CN106776847A (en) * 2016-11-28 2017-05-31 广东欧珀移动通信有限公司 Delete the method for media file, device and move on to terminal
CN106844225A (en) * 2016-12-22 2017-06-13 北京奇虎科技有限公司 Mobile terminal and its data clearing method and device
CN107145515A (en) * 2017-04-01 2017-09-08 北京安云世纪科技有限公司 A kind of method, device and mobile terminal of dynamic image displaying
CN107633043A (en) * 2017-09-14 2018-01-26 广东欧珀移动通信有限公司 Picture based reminding method, device, terminal device and storage medium
CN109213733A (en) * 2018-08-14 2019-01-15 上海碳蓝网络科技有限公司 File classifying method, equipment and system
CN110099170A (en) * 2019-04-26 2019-08-06 维沃移动通信有限公司 Image deletion 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

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888841A (en) * 2013-04-01 2014-06-25 海信集团有限公司 Method for displaying file information and television
CN104317628A (en) * 2014-11-13 2015-01-28 北京奇虎科技有限公司 Mobile terminal and storage space cleaning method thereof
CN104754002A (en) * 2013-12-30 2015-07-01 北京金山网络科技有限公司 File cleaning method and device, mobile terminal and cloud-side server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888841A (en) * 2013-04-01 2014-06-25 海信集团有限公司 Method for displaying file information and television
CN104754002A (en) * 2013-12-30 2015-07-01 北京金山网络科技有限公司 File cleaning method and device, mobile terminal and cloud-side server
CN104317628A (en) * 2014-11-13 2015-01-28 北京奇虎科技有限公司 Mobile terminal and storage space cleaning method thereof

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105407203A (en) * 2015-10-22 2016-03-16 小米科技有限责任公司 Contact person information processing method and apparatus
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
CN106776847A (en) * 2016-11-28 2017-05-31 广东欧珀移动通信有限公司 Delete the method for media file, device and move on to terminal
CN106844225A (en) * 2016-12-22 2017-06-13 北京奇虎科技有限公司 Mobile terminal and its data clearing method and device
CN107145515A (en) * 2017-04-01 2017-09-08 北京安云世纪科技有限公司 A kind of method, device and mobile terminal of dynamic image displaying
CN107633043A (en) * 2017-09-14 2018-01-26 广东欧珀移动通信有限公司 Picture based reminding method, device, terminal device and storage medium
CN109213733A (en) * 2018-08-14 2019-01-15 上海碳蓝网络科技有限公司 File classifying method, equipment and system
CN110099170A (en) * 2019-04-26 2019-08-06 维沃移动通信有限公司 Image deletion method and mobile terminal
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

Also Published As

Publication number Publication date
CN104811791B (en) 2016-07-06

Similar Documents

Publication Publication Date Title
CN104811791A (en) Video removing method and device and terminal device
CN104809198B (en) Method, device and the terminal unit of picture cleaning
CN104881493B (en) file cleaning method and device
CN104239157B (en) Method and device for optimizing and cleaning data of mobile terminal
CN103559299B (en) Method, device and mobile terminal for cleaning up files
CN102520987B (en) Online experience and installation method, device, server and management system of application program
CN104572922A (en) Image processing method and device based on mobile equipment
US20140304616A1 (en) Mobile terminal and method for processing notification information
CN104754002B (en) Clear up method, apparatus, mobile terminal and the cloud server of file
US20100042933A1 (en) Region selection control for selecting browser rendered elements
CN103544251B (en) Multi-source image processing method and its device
CN104536792A (en) Method and device for eliminating application program residual files
CN104021159B (en) Client file cleaning method and device
EP2369533A1 (en) Method, system, computer-readable medium and mobile device for managing messages
CN105893278A (en) System cache garbage cleaning method and device and terminal equipment
CN103685514A (en) Method for storing page in webpage favorite and browser
CN104407937A (en) Method for loading data in browser and browser
CN104331376A (en) Method and device for clearing installation package stored in mobile terminal
CN104601683A (en) File download management method, mobile terminal and communication system
CN104463642A (en) Advertisement filtering processing method and device and browser client side
CN104536993A (en) Collected webpage processing method, collected webpage processing device and client-side
CN105893471B (en) Data processing method and electronic equipment
CN111125153A (en) Object management method, device, client and medium
CN110543451A (en) Method and device for efficiently cleaning equipment files
CN106201779A (en) Picture processing method and device and mobile terminal

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.