Movatterモバイル変換


[0]ホーム

URL:


CN113949921B - Control method and control device for short video cache cleaning - Google Patents

Control method and control device for short video cache cleaning
Download PDF

Info

Publication number
CN113949921B
CN113949921BCN202111013323.0ACN202111013323ACN113949921BCN 113949921 BCN113949921 BCN 113949921BCN 202111013323 ACN202111013323 ACN 202111013323ACN 113949921 BCN113949921 BCN 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
Application number
CN202111013323.0A
Other languages
Chinese (zh)
Other versions
CN113949921A (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.)
Shanghai 2345 Network Technology Co ltd
Original Assignee
Shanghai 2345 Network Technology 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 Shanghai 2345 Network Technology Co ltdfiledCriticalShanghai 2345 Network Technology Co ltd
Priority to CN202111013323.0ApriorityCriticalpatent/CN113949921B/en
Publication of CN113949921ApublicationCriticalpatent/CN113949921A/en
Application grantedgrantedCritical
Publication of CN113949921BpublicationCriticalpatent/CN113949921B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

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

Control method and control device for short video cache cleaning
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)

CN202111013323.0A2021-08-312021-08-31Control method and control device for short video cache cleaningActiveCN113949921B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111013323.0ACN113949921B (en)2021-08-312021-08-31Control method and control device for short video cache cleaning

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111013323.0ACN113949921B (en)2021-08-312021-08-31Control method and control device for short video cache cleaning

Publications (2)

Publication NumberPublication Date
CN113949921A CN113949921A (en)2022-01-18
CN113949921Btrue CN113949921B (en)2024-06-18

Family

ID=79327694

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111013323.0AActiveCN113949921B (en)2021-08-312021-08-31Control method and control device for short video cache cleaning

Country Status (1)

CountryLink
CN (1)CN113949921B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103327079A (en)*2013-05-312013-09-25青岛海信传媒网络技术有限公司Multimedia resource caching method and device
CN106658054A (en)*2016-10-132017-05-10合网络技术(北京)有限公司Video advertisement request link optimization method and apparatus

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US7019778B1 (en)*1999-06-022006-03-28Eastman Kodak CompanyCustomizing a digital camera
CN103237007A (en)*2013-03-222013-08-07华为技术有限公司Method and device for updating media files
CN103414747A (en)*2013-07-112013-11-27广东工业大学Adaptive streaming media caching method
US9276983B2 (en)*2015-05-012016-03-01Amazon Technologies, Inc.Content delivery network video content invalidation through adaptive bitrate manifest manipulation
CN106657196B (en)*2015-11-022020-07-24华为技术有限公司 Method and device for eliminating cached content
CN105430478B (en)*2015-11-272019-05-07青岛海信电器股份有限公司A kind of network video buffered play method, apparatus and television set
CN105893534A (en)*2016-03-312016-08-24乐视控股(北京)有限公司Media file deleting method and device
CN105975484A (en)*2016-04-252016-09-28乐视控股(北京)有限公司File management method and apparatus
CN107562810A (en)*2017-08-102018-01-09北京时代云英科技有限公司Video big data is classified storage method
CN107707969A (en)*2017-09-042018-02-16深圳市屯奇尔科技有限公司Video broadcasting method, device and terminal device
WO2019216146A1 (en)*2018-05-082019-11-14グリー株式会社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-282020-10-30努比亚技术有限公司Video automatic caching method, terminal and computer readable storage medium
CN112714359B (en)*2019-10-242022-09-09北京达佳互联信息技术有限公司Video recommendation method and device, computer equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103327079A (en)*2013-05-312013-09-25青岛海信传媒网络技术有限公司Multimedia resource caching method and device
CN106658054A (en)*2016-10-132017-05-10合网络技术(北京)有限公司Video advertisement request link optimization method and apparatus

Also Published As

Publication numberPublication date
CN113949921A (en)2022-01-18

Similar Documents

PublicationPublication DateTitle
US20210067578A1 (en)Streaming media segments
CN111107438B (en)Video loading method and device and electronic equipment
CN102006368B (en)Streaming media audio file play method based on mobile terminal memory card cache technology
CN111246302B (en)Method, device and terminal for downloading data by browser
CN103945259B (en)A kind of Online Video player method and device
CN104428744B (en)The method, apparatus and equipment of a kind of multimedia display
CN109862100B (en)Method and device for pushing information
CN111787406A (en) A video playback method, electronic device and storage medium
CN110247985A (en)A kind of resource downloading method, device, electronic equipment and medium
CN104754384A (en)Video playing method and device based on intelligent router
CN112307058A (en) Short link processing method, device, storage medium and computer equipment
CN110213653B (en)Method and device for playing video
US20150268808A1 (en)Method, Device and System for Multi-Speed Playing
CN103310001B (en)A kind of method and apparatus that list of videos is set
CN111190861A (en) Hotspot file management method, server and computer-readable storage medium
CN111031117B (en) A multimedia file download method and related device
CN104010223A (en)Method and system for taking over terminal system for video playing
CN113949921B (en)Control method and control device for short video cache cleaning
CN111414515A (en)Resource auditing method, device, equipment and storage medium
CN105824820A (en)Media file buffer memory method and device
CN113821479A (en)Data request processing method and device based on metadata loading
CN102024035A (en)Resource retrieval method and device
CN108024137B (en)Broadcast data processing method and device, computing equipment and storage medium
EP2634706A2 (en)System and method for multimedia stream data searching and retrieval
CN109241444B (en)Content recommendation method, device, equipment and storage medium based on state machine

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
EE01Entry into force of recordation of patent licensing contract
EE01Entry 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


[8]ページ先頭

©2009-2025 Movatter.jp