CN104602104A - Cache file processing method and digital TV terminal - Google Patents

Cache file processing method and digital TV terminal Download PDF

Info

Publication number
CN104602104A
CN104602104A CN201510019603.0A CN201510019603A CN104602104A CN 104602104 A CN104602104 A CN 104602104A CN 201510019603 A CN201510019603 A CN 201510019603A CN 104602104 A CN104602104 A CN 104602104A
Authority
CN
China
Prior art keywords
cache file
deleted
terminal
digital
cache
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510019603.0A
Other languages
Chinese (zh)
Inventor
付平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Coship Electronics Co Ltd
Original Assignee
Shenzhen Coship Electronics 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 Shenzhen Coship Electronics Co Ltd filed Critical Shenzhen Coship Electronics Co Ltd
Priority to CN201510019603.0A priority Critical patent/CN104602104A/en
Publication of CN104602104A publication Critical patent/CN104602104A/en
Pending legal-status Critical Current

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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4432Powering on the client, e.g. bootstrap loading using setup parameters being stored locally or received from the server

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention provides a cache file processing method. The method comprises the steps of acquiring a deletion instruction of the cache files, wherein the deletion instruction carries quantity selection information for limiting the deletion number of the cache files; selecting the cache files limited by the quantity selection information and to be deleted from a cache file set according to the deletion instruction; deleting the cache files to be deleted. According to the method, the digital TV terminal can select and delete the cache file limited by the quantity selection information and to be deleted from the cache file set according to the input quantity selection information, that a user individually views the cache files to screen and delete is avoided, and therefore, the efficiency of releasing the storage space of the digital TV terminal to mount new application is increased; in addition, the cache files to be deleted can be deleted from the digital TV terminal to gain more storage space, that the files which are not to be deleted by the user are deleted can be avoided, and the user experience can be increased.

Description

A kind of cache file processing method and digital TV terminal
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of cache file processing method and digital TV terminal.
Background technology
The application that on existing Intelligent television terminal, general installation is abundant, allows user except seeing TV, can also carry out more mutual with Intelligent television terminal.Along with increasing of the application that Intelligent television terminal is installed, the corresponding minimizing of memory space on Intelligent television terminal, even when user wants to install new application, user storage space can be pointed out not enough, cannot install, need user to delete the application on Intelligent television terminal, vacate the application that memory space arrangement is new.Normally vacateed the memory space of Intelligent television terminal in prior art by following two kinds of modes: 1) user initiatively goes to check each application, find the application that can unload, thus new application is installed; 2) the cleaning software of specialty is installed on Intelligent television terminal, by cleaning software cleaning application program, thus the capacity of release memory space; There is following problem in above two kinds of manner of cleaning up: 1) user needs to go to check each application program, and user deletes one by one, takes time and effort, and efficiency is bad respectively; 2) clear up software to list all application programs and select manually to delete or automatically delete to user, although can vacate the memory space of Intelligent television terminal, user may be caused least to want, and the cache file cleared up is also cleaned.
Summary of the invention
The embodiment of the present invention provides a kind of method and digital TV terminal of cache file, can improve the confidentiality of file, fail safe.
Concrete, embodiments provide a kind of cache file processing method, comprising:
Obtain the delete instruction of cache file, described delete instruction carries the quantity limiting the number of deleting described cache file and selects information;
According to the cache file to be deleted that described delete instruction selects described quantity selection information to limit in cache file set; Select to delete described cache file to be deleted.
Wherein, at the delete instruction of described acquisition cache file, described delete instruction also comprises before carrying the step of the quantity selection information limiting the number of deleting described cache file:
According to described predetermined order rule, each cache file in cache file is sorted.
Wherein, according to described predetermined order rule, each cache file in cache file is sorted, comprising:
Obtain the application program launching number of times of each cache file difference correspondence in cache file set;
According to described application program launching number of times, each cache file described is sorted.
Wherein, according to described predetermined order rule, each cache file in cache file is sorted, comprising:
Obtain the capacity of each cache file in cache file set;
Capacity according to each cache file described sorts.
Wherein, after the step of the described cache file to be deleted of described deletion, also comprise:
The result after described cache file to be deleted is deleted in display.
Correspondingly, the embodiment of the present invention provides a kind of digital TV terminal, comprising:
Acquisition module: for obtaining the delete instruction of cache file, described delete instruction carries the quantity limiting the number of deleting described cache file and selects information;
Select module: for the cache file to be deleted selecting described quantity selection information to limit according to described delete instruction in cache file set;
Removing module: for deleting described cache file to be deleted.
Wherein, described digital TV terminal also comprises:
Order module: each cache file in cache file is sorted according to described predetermined order rule.
Wherein, described order module comprises:
Number of times acquiring unit: the application program launching number of times obtaining each cache file difference correspondence in cache file set;
Number of times sequencing unit: each cache file described is sorted according to described application program launching number of times.
Wherein, described order module comprises:
Capacity acquisition unit: the capacity obtaining each cache file in cache file set;
Capacity sequencing unit: the capacity according to each cache file described sorts.
Wherein, described digital TV terminal also comprises:
Display module, for showing the result of described cache file to be deleted.
In the embodiment of the present invention, when needing the memory space discharging digital TV terminal, information is selected by the quantity of input, digital TV terminal selects the cache file to be deleted selecting described quantity to select information to limit from buffer memory file set to delete, screening is deleted to avoid user to check cache file one by one to carry out, improve described digital TV terminal release memory space to install the efficiency of new opplication, and, described digital TV terminal vacates memory space by deleting cache file to be deleted, avoid the cache file deleted user and do not want to clear up, improve Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is some embodiments of the embodiment of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of a kind of cache file processing method that Fig. 1 provides for the embodiment of the present invention;
The schematic flow sheet of the another kind of cache file processing method that Fig. 2 provides for the embodiment of the present invention;
A kind of structural representation of digital TV terminal of Fig. 3 for providing in the embodiment of the present invention;
The structural representation of another kind of digital TV terminal of Fig. 4 for providing in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The cache file processing method that the embodiment of the present invention provides can be applied to digital TV terminal and delete cache file, vacates the scene of memory space.Such as: select information by the quantity of input, digital TV terminal selects the cache file to be deleted selecting described quantity to select information to limit from cache file to delete, user directly selects information deletion cache file to be deleted by the quantity of input, screening is deleted to avoid user to check cache file one by one to carry out, improve described digital TV terminal and vacate memory space to install the efficiency of new opplication, and, described digital TV terminal vacates memory space by deleting cache file, avoid deleting the cache file that user does not think cleaning, improve Consumer's Experience.
The embodiment of the present invention is digital TV terminal, specifically can comprise Set Top Box and display, or for comprising the all-in-one of Set Top Box and display.
Below in conjunction with accompanying drawing 1 and accompanying drawing 2, the cache file processing method that the embodiment of the present invention provides is described in detail.
Refer to Fig. 1, for embodiments providing a kind of schematic flow sheet of cache file processing method.As shown in Figure 1, the described method of the embodiment of the present invention can comprise the following steps S101-step S103.
S101, obtains the delete instruction of cache file, and described delete instruction carries the quantity limiting the number of deleting described cache file and selects information;
Concrete, described digital TV terminal can obtain delete instruction, and this delete instruction is triggered by the clicking operation of user, can also for automatically to trigger this delete instruction when the memory capacity of described digital TV terminal reaches certain threshold value.Described delete instruction carries quantity and selects information, described digital TV terminal can show the interface with described quantity selection information, described quantity selects the interface of information can be words identification, and described quantity selects information to be obtained by user's input operation.Described input operation can comprise text event detection or phonetic entry.
S102, according to the cache file to be deleted that described delete instruction selects described quantity selection information to limit in cache file set;
Concrete, described cache file set comprises the cache file that in described Digital Television, upper each application program of installing is corresponding respectively.Wherein, in order to be distinguished each cache file in described cache file set, make user can distinguish each cache file to be deleted in follow-up deletion action, avoid deleting the cache file to be deleted wanting to retain.Described digital TV terminal is by setting up a protocol related uniqueness identifying each cache file described, because " bag " name (file name) that application program on described digital TV terminal is corresponding is exactly a process, namely there is not the identical process of two names in described digital TV terminal, so " bag " name (file name) corresponding respectively according to each application program cache file corresponding to each application program can be searched, and add in cache file set by searching each cache file obtained, therefore each cache file in cache file set can be distinguished by " bag " name (file name) that each application program is corresponding respectively, user can be distinguished each cache file in follow-up operation, avoid deleting the cache file wanting to retain.Be understandable that, cache file set can be stored in digital TV terminal with the form of file.Be understandable that, each cache file in this cache file is dynamically updates corresponding along with the operation of user, namely, when described digital TV terminal performs this cache file processing method, current most complete cache file in this cache file set, has been gathered; Meanwhile, described digital TV terminal is set up a protocol related uniqueness identifying each cache file described and can be set up before described digital TV terminal obtains delete instruction.
The cache file to be deleted that described digital TV terminal can select described quantity selection information to limit according to described delete instruction in cache file set.Such as: when the quantity inputted in the delete instruction shown in the mode at interface of user in described digital TV terminal selects information for " 5 ", described digital TV terminal obtains 5 cache files as cache file to be deleted from described cache file set.Wherein, when the quantity of user's input selects information to be greater than the quantity of the cache file in described cache file set, be defaulted as and all cache files in described cache file set are deleted; Or point out user in the mode playing window, described quantity selects information to exceed the quantity of alternative cache file, allows user re-enter.
S103, deletes described cache file to be deleted;
Concrete, described digital TV terminal, after selecting cache file to be deleted, can delete described cache file to be deleted.It can be automatically delete that described digital TV terminal deletes described cache file to be deleted, or deletes by user is corresponding by digital TV terminal described in clicking operation.
Or, described digital TV terminal is after selecting cache file to be deleted, described cache file to be deleted can also be shown, so that user according to the title of shown cache file to be deleted select final required delete treat cache file, namely the chance that user carries out second selecting is given, what make that user can be more appropriate deletes unwanted for institute cache file from described digital TV terminal, improves Consumer's Experience.
In embodiments of the present invention, when needing the memory space discharging digital TV terminal, information is selected by the quantity of input, digital TV terminal selects the cache file to be deleted selecting described quantity to select information to limit from buffer memory file set to delete, screening is deleted to avoid user to check cache file one by one to carry out, improve described digital TV terminal release memory space to install the efficiency of new opplication, and, described digital TV terminal vacates memory space by deleting cache file to be deleted, avoid the cache file deleted user and do not want to clear up, improve Consumer's Experience.
Refer to Fig. 2, for embodiments providing the schematic flow sheet of another kind of cache file processing method.As shown in Figure 2, the described method of the embodiment of the present invention can comprise the following steps S201-step S206.
S201, sorts to each cache file in cache file according to described predetermined order rule;
Concrete, described digital TV terminal obtains described predetermined order rule, and namely described predetermined order rule write in advance in described digital TV terminal before acquisition delete instruction.Wherein, described predetermined order rule essence is the hard-and-fast rule that user determines the cache file clearing up which target application, such as: each cache file in described cache file set can sort according to its access times or capacity by described predetermined order rule, digital TV terminal selects quantity to select the cache file that limits of information by the delete instruction of follow-up acquisition again in described cache file set, if when quantity selects information to be 5, then default user wants to delete in described cache file set the cache file to be deleted coming latter 5.
By described predetermined order rule, rank is carried out to each cache file in described cache file set, intelligent is that user selects the cache file wanting to clear up fast, and remove to screen the file wanting to delete one by one without user, take time and effort, improve the efficiency of digital TV terminal release storage area.
Optional first kind of way, sort to each cache file in cache file according to described predetermined order rule, detailed process can be:
Obtain the application program launching number of times of each cache file difference correspondence in cache file set;
According to described application program launching number of times, each cache file described is sorted.
Concrete, for the ease of the rank of each cache file in described cache file set, digital TV terminal is by setting up a protocol related uniqueness identifying each cache file described, because " bag " name (file name) that application program on described digital TV terminal is corresponding is exactly a process, the identical process of two names is there is not in described digital TV terminal, so " bag " name (file name) corresponding respectively according to each application program the protocol related of the cache file corresponding with described application program can be set up, so, by the cache file that " bag " name of searching application program can find application program corresponding, and add cache file set to by searching each cache file obtained.According to above-mentioned protocol related, when application program starts at every turn, " bag " name corresponding to application program accumulates the number of starts that a number carrys out statistics application program, accordingly, can know which application program is frequent use, which less uses, and can sort according to the quantity accumulated of " bag " name corresponding to described application program to each cache file described.Be understandable that, each cache file in this cache file set is dynamically updates corresponding along with the operation of user, namely when described digital TV terminal performs this cache file processing method, gathered current most complete cache file in this cache file set, and the rank of each cache file described is also dynamic change.Predetermined order rule essence described above is carry out rank to the application program be of little use in digital TV terminal, for the cache file infrequently used of selecting fast of user's intelligence is deleted, and remove to screen the file wanting to delete one by one without user, take time and effort, improve the efficiency of digital TV terminal release storage area.
The optional second way, sort to each cache file in cache file according to described predetermined order rule, detailed process can be:
Obtain the capacity of each cache file in cache file set;
Capacity according to each cache file described sorts.
Concrete, for the ease of the rank of each cache file in described cache file set, digital TV terminal is by setting up a protocol related uniqueness identifying each cache file described, because " bag " name (file name) that application program on described digital TV terminal is corresponding is exactly a process, the identical process of two names is there is not in described digital TV terminal, so " bag " name (file name) corresponding respectively according to each application program the protocol related of the cache file corresponding with described application program can be set up, so, by the cache file that " bag " name of searching application program can find application program corresponding, and add cache file set to by searching each cache file obtained.According to above-mentioned protocol related, travel through the capacity of cache file corresponding to each application program, the size of the capacity of the cache file of each application program can be known, and by this capacity and corresponding " bag " name opening relationships, can each cache file described be sorted " bag " name corresponding according to described application program.Be understandable that, each cache file in this cache file set is dynamically updates corresponding along with the operation of user, namely when described digital TV terminal performs this cache file processing method, gathered current most complete cache file in this cache file set, and the rank of each cache file described is also dynamic change.Predetermined order described above rule essence be according to the capacity taking memory space in digital TV terminal number rank is carried out to each cache file, for the cache file taking digital TV terminal memory space more of selecting fast of user's intelligence is deleted, and remove to screen the file wanting to delete one by one without user, take time and effort, improve the efficiency of digital TV terminal release storage area.
S202, obtains delete instruction, and described delete instruction carries quantity and selects information;
S203, according to the cache file to be deleted that described delete instruction selects described quantity selection information to limit in cache file set;
Concrete, the cache file to be deleted that described digital TV terminal can select described quantity selection information to limit according to described delete instruction in cache file set.When described predetermined order rule is above-mentioned optional first kind of way, then: when the quantity inputted in the delete instruction shown in the mode at interface of user in described digital TV terminal selects information for " 5 ", described digital TV terminal obtains the number of starts and comes the cache file of latter 5 as cache file to be deleted from described cache file set; When described predetermined order rule is the above-mentioned optional second way, then: when the quantity inputted in the delete instruction shown in the mode at interface of user in described digital TV terminal selects information for " 5 ", described digital TV terminal acquisition capacity from described cache file set occupy memory space maximum come the cache file of latter 5 as cache file to be deleted.Wherein, when the quantity of user's input selects information to be greater than the quantity of the cache file in described cache file set, be defaulted as and all cache files in described cache file set are deleted; Or point out user in the mode playing window, described quantity selects information to exceed the quantity of alternative cache file, allows user re-enter.
S204, deletes described cache file to be deleted;
After the step of S204, can also comprise:
S205, the result after described cache file to be deleted is deleted in display.
Concrete, described digital TV terminal generates the interface that has described result, allows user understand described digital TV terminal and deletes situation after described cache file to be deleted, such as, described Digital Television middle-end releases how many capacity, deletes which cache file to be deleted.By showing described result, user is allowed better to control the memory space of described digital TV terminal.
Wherein, the step S202 of the embodiment of the present invention and S204 can distinguish step S101 and the S103 of embodiment shown in Figure 1, does not repeat at this.
In embodiments of the present invention, when needing the memory space discharging digital TV terminal, information is selected to be that the cache file of selecting fast of user's intelligence is deleted as cache file to be deleted according to the quantity of described default queueing discipline and input, and remove to screen the file wanting to delete one by one without user, take time and effort, improve the efficiency of digital TV terminal release storage area.
Below in conjunction with accompanying drawing 3 and accompanying drawing 4, the digital TV terminal 1 that the embodiment of the present invention provides is described in detail.It should be noted that, digital TV terminal 1 shown in accompanying drawing 3 and accompanying drawing 4, for performing Fig. 1 of the present invention and method embodiment illustrated in fig. 2, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to the embodiment shown in Fig. 1 and Fig. 2 of the present invention.
Refer to Fig. 3, for embodiments providing a kind of structural representation of digital TV terminal 1.As shown in Figure 3, the described digital TV terminal 1 of the embodiment of the present invention can comprise: acquisition module 11, selection module 12 and removing module 13.
Acquisition module 11: for obtaining the delete instruction of cache file, described delete instruction carries the quantity limiting the number of deleting described cache file and selects information;
In specific implementation, described acquisition module 11 can obtain delete instruction, this delete instruction can be triggered described acquisition module 11 by the clicking operation of user, can also for automatically triggering described acquisition module 11 when the memory capacity of described digital TV terminal 1 reaches certain threshold value.Described delete instruction carries quantity and selects information, and described quantity selects information to be obtained by user's input operation.Described input operation can comprise text event detection or phonetic entry.Such as: described delete instruction can show in the mode at interface, user selects information toward this interface input quantity.
Select module 12: for the cache file to be deleted selecting described quantity selection information to limit according to described delete instruction in cache file set;
In specific implementation, the cache file to be deleted that described selection module 12 selects described quantity selection information to limit according to described delete instruction in cache file set.Wherein, described cache file set comprises the cache file that in described Digital Television, upper each application program of installing is corresponding respectively.Wherein, in order to be distinguished each cache file in described cache file set, user can be distinguished cache file to be deleted in follow-up deletion action, avoid deleting the cache file to be deleted wanting to retain.Described digital TV terminal 1 is by setting up a protocol related uniqueness identifying each cache file described, because " bag " name (file name) that application program on described digital TV terminal 1 is corresponding is exactly a process, the identical process of two names is there is not in described digital TV terminal 1, so " bag " name (file name) corresponding respectively according to each application program cache file corresponding to each application program can be searched, and add in cache file set by searching each cache file obtained, therefore each cache file in cache file set can be distinguished by " bag " name (file name) that each application program is corresponding respectively, user can be distinguished each cache file to be deleted in follow-up operation, avoid deleting the cache file to be deleted wanting to retain.Be understandable that, cache file set can be stored in digital TV terminal 1 with the form of file.Be understandable that, each cache file in this cache file is dynamically updates corresponding along with the operation of user, namely, when described digital TV terminal 1 performs this cache file processing method, current most complete cache file in this cache file set, has been gathered; Meanwhile, described digital TV terminal 1 is set up a protocol related uniqueness identifying each cache file described and can be set up before described digital TV terminal 1 obtains delete instruction.
The cache file to be deleted that described selection module 12 can select described quantity selection information to limit according to described delete instruction in cache file set.Such as: when the quantity inputted in the delete instruction shown in the mode at interface of user in described digital TV terminal 1 selects information for " 5 ", described selection module 12 obtains 5 cache files as cache file to be deleted from described cache file set.Wherein, when the quantity of user's input selects information to be greater than the quantity of the cache file in described cache file set, be defaulted as and all cache files in described cache file set are deleted; Or point out user in the mode playing window, described quantity selects information to exceed the quantity of alternative cache file, allows user re-enter.
Removing module 13, for deleting described cache file to be deleted;
In specific implementation, described selection module 12 is after selecting cache file to be deleted, and described removing module 13 can delete described cache file to be deleted.It can be automatically delete that described removing module 13 deletes described cache file to be deleted, or is triggered by the clicking operation of user and correspondingly to delete.
Or, described removing module 13 is after selecting cache file to be deleted, interface generation module can also be comprised, for showing described cache file to be deleted, so that user selects the final required cache file deleted according to the title of shown cache file to be deleted, namely give the chance that user carries out second selecting, what it is such that user can be more appropriate deletes unwanted for institute cache file from described digital TV terminal 1, improves Consumer's Experience.
In embodiments of the present invention, when needing the memory space discharging digital TV terminal 1, the quantity that described acquisition module 11 obtains input selects information, after the cache file to be deleted that described selection module 12 selects described quantity to select information corresponding from cache file, described removing module 13 is deleted described cache file to be deleted, screening is deleted to avoid user to check cache file one by one to carry out, improve described digital TV terminal 1 and discharge memory space to install the efficiency of new opplication, and, described digital TV terminal 1 vacates memory space by deleting cache file to be deleted, avoid the cache file deleted user and do not want to clear up, improve Consumer's Experience.
Refer to Fig. 4, for embodiments providing the structural representation of another kind of digital TV terminal 2.As shown in Figure 4, the described digital TV terminal 21 of the embodiment of the present invention can comprise: order module 21, acquisition module 22, selection module 23, removing module 24; Wherein, the concrete structure of acquisition module 22 and removing module 24 can the specific descriptions of embodiment shown in Figure 3, do not repeat at this.
Order module 21: for sorting to each cache file in cache file according to described predetermined order rule.
In specific implementation, described digital TV terminal 2 obtains described predetermined order rule, and namely described predetermined order rule write in advance in described digital TV terminal 2 before described acquisition module 22 obtains delete instruction.Wherein, described predetermined order rule essence is the hard-and-fast rule that user determines the cache file clearing up which target application, such as: each cache file in described cache file set can sort according to its access times or capacity by described predetermined order rule, digital TV terminal 2 selects quantity to select the cache file that limits of information by the delete instruction of follow-up acquisition again in described cache file set, if when quantity selects information to be 5, then default user wants to delete in described cache file set the cache file to be deleted coming latter 5.
By described order module 21, rank is carried out to each cache file in described cache file set, intelligent is that user selects the cache file to be deleted wanting to clear up fast, and remove to screen the file wanting to delete one by one without user, take time and effort, improve the efficiency that digital TV terminal 2 discharges storage area.
Optional first kind of way, described order module 21 sorts to each cache file in cache file according to described predetermined order rule, and concrete structure can be:
Number of times acquiring unit: for obtaining the application program launching number of times of each cache file difference correspondence in cache file set;
Number of times sequencing unit: for sorting to each cache file described according to described application program launching number of times.
Be implemented as, for the ease of described order module 21, rank is carried out to each cache file in described cache file set, digital TV terminal 2 is by setting up a protocol related uniqueness identifying each cache file described, because " bag " name (file name) that application program on described digital TV terminal 2 is corresponding is exactly a process, the identical process of two names is there is not in described digital TV terminal 2, so " bag " name (file name) corresponding respectively according to each application program the protocol related of the cache file corresponding with described application program can be set up, so, by the cache file that " bag " name of searching application program can find application program corresponding, and add cache file set to by searching each cache file obtained.According to above-mentioned protocol related, when application program starts at every turn, described number of times acquiring unit accumulates the number of starts that a number carrys out statistics application program to " bag " name that application program is corresponding, accordingly, can know which application program is frequent use, which less uses, and namely described number of times sequencing unit can sort to each cache file described according to the quantity accumulated of " bag " name corresponding to described application program.Be understandable that, each cache file in this cache file set is dynamically updates corresponding along with the operation of user, namely when described digital TV terminal 2 performs this cache file processing method, gathered current most complete cache file in this cache file set, and the rank of each cache file described is also dynamic change.Number of times sequencing unit essence described above is carry out rank to the application program be of little use in digital TV terminal 2, for the cache file infrequently used of selecting fast of user's intelligence is deleted, and remove to screen the file wanting to delete one by one without user, take time and effort, improve the efficiency that digital TV terminal 2 discharges storage area.
The optional second way, described order module 21 sorts to each cache file in cache file according to described predetermined order rule, and concrete structure can be:
Capacity acquisition unit: for obtaining the capacity of each cache file in cache file set;
Capacity sequencing unit: for sorting according to the capacity of each cache file described.
Be implemented as, for the ease of the rank of each cache file in described cache file set, digital TV terminal 2 is by setting up a protocol related uniqueness identifying each cache file described, because " bag " name (file name) that application program on described digital TV terminal 2 is corresponding is exactly a process, the identical process of two names is there is not in described digital TV terminal 2, so " bag " name (file name) corresponding respectively according to each application program the protocol related of the cache file corresponding with described application program can be set up, so, by the cache file that " bag " name of searching application program can find application program corresponding, and add cache file set to by searching each cache file obtained.According to above-mentioned protocol related, described capacity acquisition unit travels through the capacity of cache file corresponding to each application program, the size of the capacity of the cache file of each application program can be known, and by this capacity and corresponding " bag " name opening relationships, described capacity sequencing unit can " bag " name corresponding according to described application program sort to each cache file described.Be understandable that, each cache file in this cache file set is dynamically updates corresponding along with the operation of user, namely when described digital TV terminal 2 performs this cache file processing method, gathered current most complete cache file in this cache file set, and the rank of each cache file described is also dynamic change.Capacity sequencing unit essence described above is carry out rank according to the number of the capacity taking memory space in digital TV terminal 2 to each cache file, for the cache file taking digital TV terminal 2 memory space more of selecting fast of user's intelligence is deleted, and remove to screen the file wanting to delete one by one without user, take time and effort, improve the efficiency that digital TV terminal 2 discharges storage area.
Acquisition module 22: for obtaining the delete instruction of cache file, described delete instruction carries the quantity limiting the number of deleting described cache file and selects information;
Select module 23: for the cache file to be deleted selecting described quantity selection information to limit according to described delete instruction in cache file set;
Be implemented as, the cache file to be deleted that described selection module 23 can select described quantity selection information to limit according to described delete instruction in cache file set.When described order module 21 is above-mentioned optional first kind of way, then: when described acquisition module 22 obtain the quantity inputted in the delete instruction that user shows in the mode at interface in described digital TV terminal 2 select information for " 5 " time, described selection module 23 obtains the number of starts and comes the cache file of latter 5 as cache file to be deleted from described cache file set; When described order module 21 is the above-mentioned optional second way, then: when described acquisition module 22 obtain the quantity inputted in the delete instruction that user shows in the mode at interface in described digital TV terminal 2 select information for " 5 " time, described selection module 23 acquisition capacity from described cache file set occupy memory space maximum come the cache file of latter 5 as cache file to be deleted.Wherein, when the quantity that acquisition module 22 obtains selects information to be greater than the quantity of the cache file in described cache file set, be defaulted as and all cache files in described cache file set are deleted; Or point out user in the mode playing window, described quantity selects information to exceed the quantity of alternative cache file, allows user re-enter.
Removing module 24, deletes described cache file to be deleted;
Described digital TV terminal 2 can also comprise:
Display module 25, display module, for showing the result after deleting described cache file to be deleted.
Be implemented as, described display module 25 generates the interface that has described result, allows user understand described removing module 24 and deletes situation after described cache file to be deleted, such as, described removing module 24 end releases how many capacity, deletes which cache file to be deleted.Show described result by described display module 25, allow user better control the memory space of described digital TV terminal 2.
Wherein, the acquisition module 22 of the embodiment of the present invention and removing module 24 can distinguish the acquisition module 11 of embodiment shown in Figure 3 and the concrete structure of removing module 13, do not repeat at this.
In embodiments of the present invention, when needing the memory space discharging digital TV terminal 2, what make selection module 23 be user's intelligence according to order module 21 and acquisition module 22 selects cache file fast as cache file to be deleted, and deleted by removing module 24, and remove to screen the file wanting to delete one by one without user, take time and effort, improve the efficiency that digital TV terminal 2 discharges storage area.In addition, shown the result of described removing module 24 by display module, allow user better control the memory space of described digital TV terminal 2.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (10)

1. a cache file processing method, is characterized in that, comprising:
Obtain the delete instruction of cache file, described delete instruction carries the quantity limiting the number of deleting described cache file and selects information;
According to the cache file to be deleted that described delete instruction selects described quantity selection information to limit in cache file set;
Delete described cache file to be deleted.
2. the method for claim 1, is characterized in that, at the delete instruction of described acquisition cache file, described delete instruction also comprises before carrying the step of the quantity selection information limiting the number of deleting described cache file:
According to described predetermined order rule, each cache file in cache file is sorted.
3. method as claimed in claim 2, is characterized in that, sorts, comprising according to described predetermined order rule to each cache file in cache file:
Obtain the application program launching number of times of each cache file difference correspondence in cache file set;
According to described application program launching number of times, each cache file described is sorted.
4. method as claimed in claim 2, is characterized in that, sorts, comprising according to described predetermined order rule to each cache file in cache file:
Obtain the capacity of each cache file in cache file set;
Capacity according to each cache file described sorts.
5. the method as described in Claims 1 to 4 any one, is characterized in that, after the step of the described cache file to be deleted of described deletion, also comprises:
The result after described cache file to be deleted is deleted in display.
6. a digital TV terminal, is characterized in that, comprising:
Acquisition module: for obtaining the delete instruction of cache file, described delete instruction carries the quantity limiting the number of deleting described cache file and selects information;
Select module: for the cache file to be deleted selecting described quantity selection information to limit according to described delete instruction in cache file set;
Removing module: for deleting described cache file to be deleted.
7. digital TV terminal as claimed in claim 6, it is characterized in that, described digital TV terminal also comprises:
Order module: for sorting to each cache file in cache file according to described predetermined order rule.
8. digital TV terminal as claimed in claim 7, it is characterized in that, described order module comprises:
Number of times acquiring unit: for obtaining the application program launching number of times of each cache file difference correspondence in cache file set;
Number of times sequencing unit: for sorting to each cache file described according to described application program launching number of times.
9. digital TV terminal as claimed in claim 7, it is characterized in that, described order module comprises:
Capacity acquisition unit: for obtaining the capacity of each cache file in cache file set;
Capacity sequencing unit: for sorting according to the capacity of each cache file described.
10. the digital TV terminal as described in claim 6 ~ 9 any one, is characterized in that, described Digital Television middle-end also comprises:
Display module, for showing the result after deleting described cache file to be deleted.
CN201510019603.0A 2015-01-15 2015-01-15 Cache file processing method and digital TV terminal Pending CN104602104A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510019603.0A CN104602104A (en) 2015-01-15 2015-01-15 Cache file processing method and digital TV terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510019603.0A CN104602104A (en) 2015-01-15 2015-01-15 Cache file processing method and digital TV terminal

Publications (1)

Publication Number Publication Date
CN104602104A true CN104602104A (en) 2015-05-06

Family

ID=53127539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510019603.0A Pending CN104602104A (en) 2015-01-15 2015-01-15 Cache file processing method and digital TV terminal

Country Status (1)

Country Link
CN (1) CN104602104A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592361A (en) * 2015-12-22 2016-05-18 浪潮软件集团有限公司 Set top box background program cleaning method, device and system
CN105847395A (en) * 2016-04-25 2016-08-10 乐视控股(北京)有限公司 Cache file processing method and device
CN107018433A (en) * 2016-01-27 2017-08-04 晨星半导体股份有限公司 TV managing device and TV management method with combination remote controller
CN112347052A (en) * 2020-11-04 2021-02-09 深圳集智数字科技有限公司 File matching method and related device
CN112667575A (en) * 2019-10-16 2021-04-16 深圳市路通网络技术有限公司 Data packet cleaning method and device and related equipment thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002091825A (en) * 2000-09-13 2002-03-29 Nippon Telegr & Teleph Corp <Ntt> Network cache device, network cache control method and recording medium
CN101131673A (en) * 2006-08-22 2008-02-27 中兴通讯股份有限公司 General caching method
CN102654872A (en) * 2011-03-03 2012-09-05 腾讯科技(深圳)有限公司 Method and device for cleaning junk files generated by application programs
CN103246612A (en) * 2012-02-13 2013-08-14 阿里巴巴集团控股有限公司 Method and device for data caching

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002091825A (en) * 2000-09-13 2002-03-29 Nippon Telegr & Teleph Corp <Ntt> Network cache device, network cache control method and recording medium
CN101131673A (en) * 2006-08-22 2008-02-27 中兴通讯股份有限公司 General caching method
CN102654872A (en) * 2011-03-03 2012-09-05 腾讯科技(深圳)有限公司 Method and device for cleaning junk files generated by application programs
CN103246612A (en) * 2012-02-13 2013-08-14 阿里巴巴集团控股有限公司 Method and device for data caching

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592361A (en) * 2015-12-22 2016-05-18 浪潮软件集团有限公司 Set top box background program cleaning method, device and system
CN107018433A (en) * 2016-01-27 2017-08-04 晨星半导体股份有限公司 TV managing device and TV management method with combination remote controller
CN105847395A (en) * 2016-04-25 2016-08-10 乐视控股(北京)有限公司 Cache file processing method and device
CN112667575A (en) * 2019-10-16 2021-04-16 深圳市路通网络技术有限公司 Data packet cleaning method and device and related equipment thereof
CN112347052A (en) * 2020-11-04 2021-02-09 深圳集智数字科技有限公司 File matching method and related device

Similar Documents

Publication Publication Date Title
CN104602104A (en) Cache file processing method and digital TV terminal
CN105528392B (en) Classification label ordering method and device
JP6014925B2 (en) Memory recovery method and apparatus
CN104951340A (en) Information processing method and device
CN105740078B (en) Memory management method, device and terminal
CN105760199B (en) A kind of application resource loading method and its equipment
CN108063818B (en) Data downloading method, device, terminal and computer readable storage medium
CN103747147B (en) Upgrade the method and apparatus of address list
CN108897492B (en) Data writing method and device
CN104811791A (en) Video removing method and device and terminal device
CN111475750A (en) Page preloading control method, device, system, equipment and storage medium
US11221775B1 (en) System and method for storing a database on flash memory or other degradable storage
CN104504027A (en) Method and device for automatically selecting webpage content
CN105893471B (en) Data processing method and electronic equipment
CN105159913A (en) Method and device for determining file to be cleaned
CN103747276A (en) CDN data deletion method and CDN server
CN103631603A (en) Software cleaning method and system
CN102819500A (en) Method and device for creating control interface of external equipment
CN104965731A (en) Data processing method and electronic terminal
CN108197204B (en) File processing method and device
US20150081710A1 (en) Data typing with probabilistic maps having imbalanced error costs
CN108228339B (en) Memory recovery method and device, terminal equipment and computer readable storage medium
CN107317860B (en) Preloading method and device for theme detail page and electronic equipment
CN110543451A (en) Method and device for efficiently cleaning equipment files
CN114490160A (en) Method, device, equipment and medium for automatically adjusting data tilt optimization factor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150506

WD01 Invention patent application deemed withdrawn after publication