CN113949921B - Control method and control device for short video cache cleaning - Google Patents
Control method and control device for short video cache cleaning Download PDFInfo
- Publication number
- CN113949921B CN113949921B CN202111013323.0A CN202111013323A CN113949921B CN 113949921 B CN113949921 B CN 113949921B CN 202111013323 A CN202111013323 A CN 202111013323A CN 113949921 B CN113949921 B CN 113949921B
- Authority
- CN
- China
- Prior art keywords
- short video
- short
- cleaning
- list
- 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.)
- Active
Links
- 238000004140 cleaning Methods 0.000 title claims abstract description 31
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000012545 processing Methods 0.000 claims description 15
- 231100000957 no side effect Toxicity 0.000 abstract description 2
- 230000014759 maintenance of location Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000000717 retained effect Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4335—Housekeeping operations, e.g. prioritizing content for deletion because of storage space restrictions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/251—Learning process for intelligent management, e.g. learning user preferences for recommending movies
- H04N21/252—Processing of multiple end-users' preferences to derive collaborative data
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computing Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a control method for cleaning short video cache, which comprises the following steps: a. receiving a short video cache directory from a short video server; b. and cleaning the short video cache in the user equipment according to the short video cache directory. According to another aspect of the invention, a control device for short video cache cleaning is also provided. The invention discloses a control method for cleaning short video cache, which can realize cleaning of short video in a local mobile terminal by butting with a short video server or other background servers, thereby saving a large amount of storage space. The invention has the advantages of at least improving the accuracy of short video cleaning, having high efficiency, having no side effect, being convenient for popularization and being capable of occupying the market rapidly.
Description
Technical Field
The invention belongs to the field of mobile internet, and particularly relates to a control method and a control device for short video cache cleaning aiming at a short video player and a corresponding mobile terminal.
Background
Mobile terminals are becoming increasingly popular and intelligent terminals are beginning to replace all non-intelligent terminals. Intelligent terminals bring a large number of application programs to users, and various applications are popularized, such as WeChat and the like. Short videos are a very popular content that is beginning to be continuously promoted in mobile terminals, and the time for the audience to browse short videos is in a growing trend.
Short video browsing takes up some memory space, mainly because short video that has been browsed is stored in the mobile terminal, which is a common technique. This technique has the advantage that short videos that have been browsed do not need to be downloaded repeatedly, and disadvantageously take up too much memory. One way of cleaning is by a user manually. But the user does not necessarily know how to clean up, so various problems can occur.
One of the roles that the phone assistant has is to provide a cleaning job of the storage space. But cleaning for short videos is not very smooth and requires a sophisticated technique to deal with this technical problem.
Disclosure of Invention
Aiming at the technical defects existing in the prior art, the invention aims to provide a control method for short video cache cleaning and a corresponding control device. Specifically, the method comprises the following steps:
i. Sending request information to the short video server for obtaining the short video cache directory;
a. receiving a short video cache directory from a short video server;
b1. Determining a short video reservation list;
b2. deleting the short videos in the short video cache directory outside the short video reservation list;
Wherein, the step b1 comprises the following steps:
b11'. Obtaining short video program information in short video caches in a plurality of user equipments;
b12' counting the short video program information;
And b13', taking the short video information with the top three ranking numbers as the short video reservation list.
Preferably, the step b1 further includes the steps of:
b11. Sending hot short video list request information to the short video server;
b12. And receiving a hot short video list from the short video server, and taking the hot short video list as the short video reserved list.
Preferably, the step b13' includes the steps of:
b 13', weighting the ranking information of the short video and the playing time length of the short video;
and b 14' ranking according to the weighted processing result, and taking the short video information with the top three ranking numbers as the short video reservation list.
Preferably, before the step b, the following steps are included:
-determining whether the available memory space of the user equipment is below a first threshold;
-if said available memory space is below said first threshold, performing said step b.
According to another aspect of the present invention, there is also provided a control device for short video cache cleaning, which is characterized by comprising:
A first transmitting device, configured to send request information to a plurality of short video servers, and obtain respective corresponding short video cache directories from the plurality of short video servers;
first receiving means for receiving a short video cache directory from a short video server;
The first processing device is used for cleaning the short video cache in the user equipment according to the short video cache directory, wherein the first processing device comprises the following devices:
first determining means for determining a short video reservation list;
A first deleting device, configured to delete short videos in the short video cache directory outside the short video reservation list;
wherein the first receiving means comprises the following means:
The first acquisition device is used for acquiring the short video program information in the short video caches in the plurality of user equipment;
first counting means for counting the short video program information;
And the third processing device is used for taking the short video information with the top three ranking numbers as the short video reservation list.
Preferably, the control device further comprises the following means:
A first judging device, configured to judge whether an available storage space of the user equipment is lower than a first threshold; and
And the second processing device is started when the available storage space is lower than the first threshold value.
The invention discloses a control method for cleaning short video cache, which can realize cleaning of short video in a local mobile terminal by butting with a short video server or other background servers, thereby saving a large amount of storage space. The invention has the advantages of at least improving the accuracy of short video cleaning, having high efficiency, having no side effect, being convenient for popularization and being capable of occupying the market rapidly.
Drawings
Other features, objects and advantages of the present invention will become more apparent upon reading of the detailed description of non-limiting embodiments, given with reference to the accompanying drawings in which:
FIG. 1 is a schematic flow chart of a control method for short video cache cleaning according to a first embodiment of the present invention; and
Fig. 2 is a schematic flow chart of a control method for short video cache cleaning according to a second embodiment of the present invention.
Detailed Description
In order to better and clearly show the technical scheme of the invention, the invention is further described below with reference to the accompanying drawings.
It is understood by those skilled in the art that the invention discloses a control method for cleaning short video cache, which determines how to clean short video through interaction with a background server, so as to improve the efficiency and accuracy of cleaning storage space.
Specifically, in one specific embodiment, the control method may be implemented by the following steps:
And a step a, receiving a short video cache directory from a short video server. Preferably, a short video server sends a buffer directory of a short video stored by a short video application program corresponding to the short video server to a control device (not shown in fig. 1 and fig. 2) provided by the present invention, so that the control device obtains the corresponding short video buffer directory.
And then, executing the step b, and cleaning the short video cache in the user equipment according to the short video cache directory. In the case that an accurate short video cache directory has been determined, it is preferable to delete all the short videos in the short video cache directory directly, so as to release the storage space.
Further, it will be understood by those skilled in the art that, in other embodiments, the short video cache directory may come from a third-party background server, for example, a background server specifically organizes short video cache directories corresponding to various short video applications, so that a plurality of short video cache directories may be given at a time, which does not affect the essential content of the present invention, and is not described herein.
Further, it will be understood by those skilled in the art that in the step a, the corresponding short video cache directories may be obtained from the plurality of short video servers, so that the plurality of short video cache directories, for example, the jittered short video, the fast-handed short video, etc., are also finally determined, which will not be described herein.
Still further, as will be appreciated by those skilled in the art, in another embodiment, the method further comprises the following steps prior to step a: and sending request information to the short video server for acquiring the short video cache directory. That is, the control device first sends request information to one or more short video zone servers, where the request information originally requests to obtain the corresponding short video cache directory. Correspondingly, after receiving the requests, the short video server sends corresponding short video cache catalogs to the control device.
Further, it will be appreciated by those skilled in the art that in order to increase security, the request information issued by the control means should include handshaking signals so that the short video server determines that this is not a malicious request information. Such modifications are within the scope of the present invention and are not described herein.
Further, fig. 1 shows a specific flow chart of a control method for short video cache cleaning according to a first embodiment of the present invention, specifically, the method includes the following steps:
First, the flow advances to step S101 to receive a short video cache directory from a short video server. Specifically, the method can be implemented by referring to the step a, and will not be described herein.
Step S102 is then performed to determine a short video retention list. Not every short video will be deleted for different implementation needs. For example, in this embodiment, a portion of the short video is reserved, and it is preferable to reserve a specific short video according to the short video reservation list. Therefore, in this step, a short video reservation list is determined. The short video retention list may be validated in a number of ways, for example a dialog box may be popped up, the user may be asked to select the short video desired to be left, etc. A description of this implementation follows.
Finally, step S103 is performed to delete the short video in the short video cache directory outside the short video reservation list. And according to the short video reserved list, deleting all short videos outside the list. Preferably, the deletion is a unrecoverable delete operation.
Further, it will be appreciated by those skilled in the art that in a preferred embodiment, the control means issues a hot short video list request message to the short video server and accordingly receives a hot short video list from the short video server and uses the hot short video list as the short video hold list. In this way, a short video reservation list to be reserved can be easily obtained.
Fig. 2 shows a specific flow chart of a control method for short video cache cleaning according to a second embodiment of the present invention based on the embodiment shown in fig. 1.
Specifically, for the above step S102, the step of determining how to determine the short video reservation list may be implemented by the following steps:
First, S201 is executed to acquire short video program information in short video caches in a plurality of user equipments. Those skilled in the art understand that communication between a plurality of user terminals can be realized by means of p2p and other technical means, so as to realize sharing of short video program information in short video application programs in the plurality of user terminals respectively. Such a p2p technical manner may be implemented by the control device provided by the present invention, and will not be described herein.
Then, step S202 is performed to count the short video program information, that is, to count the short video program information in the plurality of user equipments.
Finally, step S203 is executed, and the short video information with the top three ranking numbers is used as the short video reservation list. By a simple ranking approach, the short video retention list most worth being retained is determined.
In another preferred embodiment, the step S203 may be further refined as the following steps:
Step b13 "is executed first, and weighting processing is performed on the ranking information of the short video and the playing duration of the short video. Besides ranking the short videos, weighting is carried out by adopting at least two of the short videos according to the playing time length of the short videos.
And then, step b 14' is carried out, ranking is carried out according to the weighted processing result, and short video information with the top three ranking numbers is used as the short video reserved list. In this way, short video with longer or shorter play time is more easily retained.
Referring to the embodiment shown in fig. 1 and 2, it is understood by those skilled in the art that, preferably, before performing step b or step S103, the following steps are further performed:
And judging whether the available storage space of the user equipment is lower than a first threshold value, and if the available storage space is lower than the first threshold value, executing the operation of deleting the short video, namely executing the step b or the step S103. By such a step, it is possible to realize an operation of cleaning the played short video only when the storage space is relatively lacking.
Still further, referring to the embodiment and the variation shown in fig. 1 and fig. 2, those skilled in the art understand that the present invention further provides a control device for short video cache cleaning, which preferably includes the following devices:
first receiving means for receiving a short video cache directory from a short video server;
and the first processing device is used for cleaning the short video cache in the user equipment according to the short video cache directory.
Specifically, the above-mentioned apparatus may be implemented with reference to the descriptions of the above-mentioned step a and step b, which are not described herein.
Still further, in a preferred embodiment, said first processing means comprises the following means:
first determining means for determining a short video reservation list;
and the first deleting device is used for deleting the short videos in the short video cache directory outside the short video reserved list. Accordingly, the apparatus may also be implemented with reference to the description of the above steps, which is not described herein.
Still further, in a preferred embodiment, the control means further comprises means for:
A first judging device, configured to judge whether an available storage space of the user equipment is lower than a first threshold; and
And the second processing device is started when the available storage space is lower than the first threshold value. Accordingly, the apparatus may also be implemented with reference to the description of the above steps, which is not described herein.
The foregoing describes specific embodiments of the present invention. It is to be understood that the invention is not limited to the particular embodiments described above, and that various changes and modifications may be made by one skilled in the art within the scope of the claims without affecting the spirit of the invention.
Claims (6)
1. The control method for short video cache cleaning is characterized by comprising the following steps:
i. Sending request information to a plurality of short video servers, wherein the request information is used for obtaining corresponding short video cache catalogues from the short video servers;
a. receiving a short video cache directory from a short video server;
b1. Determining a short video reservation list;
b2. deleting the short videos in the short video cache directory outside the short video reservation list;
Wherein, the step b1 comprises the following steps:
b11'. Obtaining short video program information in short video caches in a plurality of user equipments;
b12' counting the short video program information;
And b13', taking the short video information with the top three ranking numbers as the short video reservation list.
2. The control method according to claim 1, wherein the step b1 further includes the steps of:
b11. Sending hot short video list request information to the short video server;
b12. And receiving a hot short video list from the short video server, and taking the hot short video list as the short video reserved list.
3. The control method according to claim 1, characterized in that the step b13' includes the steps of:
b 13', weighting the ranking information of the short video and the playing time length of the short video;
and b 14' ranking according to the weighted processing result, and taking the short video information with the top three ranking numbers as the short video reservation list.
4. A control method according to any one of claims 1 to 3, characterized by comprising, before said step b, the steps of:
-determining whether the available memory space of the user equipment is below a first threshold;
-if said available memory space is below said first threshold, performing said step b.
5. The control device for short video cache cleaning is characterized by comprising the following devices:
A first transmitting device, configured to send request information to a plurality of short video servers, and obtain respective corresponding short video cache directories from the plurality of short video servers;
first receiving means for receiving a short video cache directory from a short video server;
The first processing device is used for cleaning the short video cache in the user equipment according to the short video cache directory, wherein the first processing device comprises the following devices:
first determining means for determining a short video reservation list;
A first deleting device, configured to delete short videos in the short video cache directory outside the short video reservation list;
wherein the first receiving means comprises the following means:
The first acquisition device is used for acquiring the short video program information in the short video caches in the plurality of user equipment;
first counting means for counting the short video program information;
And the third processing device is used for taking the short video information with the top three ranking numbers as the short video reservation list.
6. The control device according to claim 5, characterized in that the control device further comprises the following means:
A first judging device, configured to judge whether an available storage space of the user equipment is lower than a first threshold; and
And the second processing device is started when the available storage space is lower than the first threshold value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111013323.0A CN113949921B (en) | 2021-08-31 | 2021-08-31 | Control method and control device for short video cache cleaning |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111013323.0A CN113949921B (en) | 2021-08-31 | 2021-08-31 | Control method and control device for short video cache cleaning |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113949921A CN113949921A (en) | 2022-01-18 |
CN113949921B true CN113949921B (en) | 2024-06-18 |
Family
ID=79327694
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111013323.0A Active CN113949921B (en) | 2021-08-31 | 2021-08-31 | Control method and control device for short video cache cleaning |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113949921B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103327079A (en) * | 2013-05-31 | 2013-09-25 | 青岛海信传媒网络技术有限公司 | Multimedia resource caching method and device |
CN106658054A (en) * | 2016-10-13 | 2017-05-10 | 合网络技术(北京)有限公司 | Video advertisement request link optimization method and apparatus |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7019778B1 (en) * | 1999-06-02 | 2006-03-28 | Eastman Kodak Company | Customizing a digital camera |
CN103237007A (en) * | 2013-03-22 | 2013-08-07 | 华为技术有限公司 | Method and device for updating media files |
CN103414747A (en) * | 2013-07-11 | 2013-11-27 | 广东工业大学 | Adaptive streaming media caching method |
US9276983B2 (en) * | 2015-05-01 | 2016-03-01 | Amazon Technologies, Inc. | Content delivery network video content invalidation through adaptive bitrate manifest manipulation |
CN106657196B (en) * | 2015-11-02 | 2020-07-24 | 华为技术有限公司 | Cache content elimination method and cache device |
CN105430478B (en) * | 2015-11-27 | 2019-05-07 | 青岛海信电器股份有限公司 | A kind of network video buffered play method, apparatus and television set |
CN105893534A (en) * | 2016-03-31 | 2016-08-24 | 乐视控股(北京)有限公司 | Media file deleting method and device |
CN105975484A (en) * | 2016-04-25 | 2016-09-28 | 乐视控股(北京)有限公司 | File management method and apparatus |
CN107562810A (en) * | 2017-08-10 | 2018-01-09 | 北京时代云英科技有限公司 | Video big data is classified storage method |
CN107707969A (en) * | 2017-09-04 | 2018-02-16 | 深圳市屯奇尔科技有限公司 | Video broadcasting method, device and terminal device |
KR102585051B1 (en) * | 2018-05-08 | 2023-10-04 | 그리 가부시키가이샤 | Moving picture delivery system for delivering moving picture including animation of character object generated based on motions of actor, moving picture delivery method, and moving picture delivery program |
CN108769787B (en) * | 2018-05-28 | 2020-10-30 | 努比亚技术有限公司 | Video automatic caching method, terminal and computer readable storage medium |
CN112714359B (en) * | 2019-10-24 | 2022-09-09 | 北京达佳互联信息技术有限公司 | Video recommendation method and device, computer equipment and storage medium |
-
2021
- 2021-08-31 CN CN202111013323.0A patent/CN113949921B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103327079A (en) * | 2013-05-31 | 2013-09-25 | 青岛海信传媒网络技术有限公司 | Multimedia resource caching method and device |
CN106658054A (en) * | 2016-10-13 | 2017-05-10 | 合网络技术(北京)有限公司 | Video advertisement request link optimization method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN113949921A (en) | 2022-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111107438B (en) | Video loading method and device and electronic equipment | |
CN111246302B (en) | Method, device and terminal for downloading data by browser | |
CN103945259B (en) | A kind of Online Video player method and device | |
CN110247985B (en) | Resource downloading method and device, electronic equipment and medium | |
CN101267330A (en) | Method and device for playing multimedia file | |
JP6336624B2 (en) | Multimedia display method, apparatus and device | |
CN109862100B (en) | Method and device for pushing information | |
CN1484796A (en) | User specified parallel data fetching for optimized web access | |
CN110213653B (en) | Method and device for playing video | |
CN112307058A (en) | Short link processing method and device, storage medium and computer equipment | |
CN103310001B (en) | A kind of method and apparatus that list of videos is set | |
JP7217181B2 (en) | WEARABLE DEVICE, INFORMATION PROCESSING METHOD, APPARATUS AND SYSTEM | |
CN113949921B (en) | Control method and control device for short video cache cleaning | |
CN111031117B (en) | Multimedia file downloading method and related device | |
CN110971962B (en) | Slice caching method and device and storage medium | |
CN106375319A (en) | Audio and video transcoding scheduling method, apparatus, device and system | |
CN105824820A (en) | Media file buffer memory method and device | |
CN111414515A (en) | Resource auditing method, device, equipment and storage medium | |
CN111190861A (en) | Hot file management method, server and computer readable storage medium | |
CN103796081B (en) | A kind of method, control device and media player for showing picture | |
CN105847867A (en) | Multimedia live content piloting method and device | |
CN107291870B (en) | Method for reading files in distributed storage in batch | |
CN105450758A (en) | Multimedia file play method and terminal | |
CN109166165A (en) | A kind of playback method of dynamic picture, terminal and can storage medium | |
CN108024137B (en) | Broadcast data processing method and device, computing equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
EE01 | Entry into force of recordation of patent licensing contract | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20220118 Assignee: Shanghai 2345 Mobile Technology Co.,Ltd. Assignor: SHANGHAI 2345 NETWORK TECHNOLOGY Co.,Ltd. Contract record no.: X2024310000085 Denomination of invention: A control method and device for clearing short video cache Granted publication date: 20240618 License type: Common License Record date: 20240805 |