Movatterモバイル変換


[0]ホーム

URL:


CN113949921A - 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
CN113949921A
CN113949921ACN202111013323.0ACN202111013323ACN113949921ACN 113949921 ACN113949921 ACN 113949921ACN 202111013323 ACN202111013323 ACN 202111013323ACN 113949921 ACN113949921 ACN 113949921A
Authority
CN
China
Prior art keywords
short video
short
cleaning
control method
list
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111013323.0A
Other languages
Chinese (zh)
Other versions
CN113949921B (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

Images

Classifications

Landscapes

Abstract

The invention discloses a control method for short video cache cleaning, 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 short video cache cleaning, which can realize the cleaning of short videos in a local mobile terminal through the butt joint with a short video server or other background servers, thereby saving a large amount of storage space. The invention has the advantages of improving the accuracy of short video cleaning, having high efficiency, generating no side effect, being convenient for popularization and being capable of quickly occupying the market.

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
The popularity of mobile terminals is increasing and intelligent terminals are beginning to replace all non-intelligent terminals. The intelligent terminal brings a large number of application programs to users, and various applications are popularized, such as WeChat and the like. Short videos are becoming popular as a kind of content, and are continuously popularized in mobile terminals, and the time for audiences to browse short videos is on a gradually increasing trend.
Short video browsing occupies a certain storage space, mainly because the browsed short video is stored in the mobile terminal, which is a general technology. Such techniques have the benefit that short videos that have already been viewed do not need to be downloaded repeatedly, but rather take up too much memory. One way of cleaning is manually by the user. But the user does not necessarily know how to clean up and various problems may result.
One of the roles that the cell phone assistant has to play is to provide a cleaning task of the storage space. However, the cleaning for short video is not very smooth, and a mature technology is needed to deal with the technical problem.
Disclosure of Invention
Aiming at the technical defects 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:
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.
Preferably, the method further comprises the following steps before the step a:
i. and sending request information to the short video server for obtaining the short video cache directory.
Preferably, the step b comprises the steps of:
b1. determining a short video reservation list;
b2. and deleting the short videos in the short video cache directory outside the short video reservation list.
Preferably, the step b1 includes the following steps:
b11. sending hot short video list request information to the short video server;
b12. receiving a popular short video list from the short video server, and using the popular short video list as the short video reserved list.
Preferably, the step b1 includes the following steps:
b11', acquiring short video program information in short video caches in a plurality of user equipment;
b12'. counting the short video program information;
b13', using the short video information of the top three names as the short video reservation list.
Preferably, the step b13' includes the following steps:
b13, weighting the ranking information of the short video and the playing time length of the short video;
b 14' according to the weighting process result, and using the top three short video information as the short video reservation list.
Preferably, the following steps are included before the step b:
-determining whether the available storage space of the user equipment is below a first threshold;
-performing said step b if said available storage space is below said first threshold.
According to another aspect of the present invention, there is also provided a control device for short video buffer cleaning, including 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.
Preferably, the first processing means comprises the following means:
first determining means for determining a short video hold list;
first deleting means for deleting the short videos in the short video cache directory outside the short video reservation list.
Preferably, the control device further comprises the following means:
first determining means for determining whether an available storage space of the user equipment is lower than a first threshold; and
second processing means for starting the first processing means when the available storage space is below the first threshold.
The invention discloses a control method for short video cache cleaning, which can realize the cleaning of short videos in a local mobile terminal through the butt joint with a short video server or other background servers, thereby saving a large amount of storage space. The invention has the advantages of improving the accuracy of short video cleaning, having high efficiency, generating no side effect, being convenient for popularization and being capable of quickly occupying the market.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:
fig. 1 is a schematic specific flowchart illustrating a control method for short video cache cleaning according to a first embodiment of the present invention; and
fig. 2 is a schematic flowchart illustrating 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 with reference to the attached drawings.
The technical problem is solved by the invention, and the invention discloses a control method for short video cache cleaning, which determines how to clean short videos through interaction with a background server, thereby improving the efficiency and accuracy of cleaning storage space.
Specifically, in one embodiment, the control method may be implemented by:
step a, receiving a short video cache directory from a short video server. Preferably, a short video server sends the cache directory for storing the short video of the short video application program corresponding to the short video server to a control device (not shown in fig. 1 and 2) provided by the present invention, so that the control device obtains the corresponding short video cache 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, all short videos in the short video cache directory china are preferably deleted directly, thereby achieving the release of the storage space.
Further, those skilled in the art understand that in other embodiments, the short video cache directory may come from a third-party backend server, for example, a backend server specially arranges the short video cache directories corresponding to various short video applications, so that a plurality of short video cache directories may be provided at one time, which does not affect the essence of the present invention and is not described herein.
Further, those skilled in the art understand that, in the step a, the short video cache directories corresponding to the short video servers may be obtained from the plurality of short video servers, so as to finally determine the plurality of short video cache directories, such as a tremble short video, a fast-hand short video, and so on, which is not described herein again.
Further, those skilled in the art will understand that in another embodiment, the following steps are included before step a: and sending request information to the short video server for obtaining the short video cache directory. Namely, the control device firstly sends request information to one or more short video zone servers, and the request information originally requests to obtain the corresponding short video cache directory. Correspondingly, after receiving the requests, the short video server sends the corresponding short video cache directory to the control device.
Further, those skilled in the art will appreciate that, for improved security, the request message from the control device should include a handshake signal, so that the short video server determines that this is not a malicious request message. Such variations are within the scope of the present invention and are not described herein.
Further, fig. 1 shows a detailed flowchart of a control method for short video cache cleaning according to a first embodiment of the present invention, which specifically includes the following steps:
first, the process proceeds to step S101, where a short video cache directory from a short video server is received. Specifically, the step a may be implemented by referring to the above, which is not described herein again.
Then, step S102 is executed to determine a short video reservation list. Not every short video will be deleted for different implementation needs. For example, in this embodiment, a portion of the short video is retained, and the specific short video is preferably retained according to a short video retention list. Therefore, in this step, a short video hold list is determined. The short video hold list may be confirmed in a number of ways, for example a dialog box may pop up, the user may be asked to select the short video that he wishes to leave, etc. There is also a description that follows regarding implementations of this content.
And finally, entering step S103, deleting the short videos in the short video cache directory outside the short video reservation list. And deleting all the short videos outside the list according to the short video reservation list. Preferably, the deletion is an unrecoverable delete operation.
Further, as will be appreciated by those skilled in the art, 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 treats the hot short video list as the short video hold list. In this way, a reserved list of short videos that need to be reserved can be easily obtained.
Based on the embodiment shown in fig. 1, fig. 2 is a schematic flowchart illustrating a control method for short video buffer cleaning according to a second embodiment of the present invention.
Specifically, regarding the step S102, how to determine the short video reserved list can be implemented by the following steps:
first, S201 is executed to obtain short video program information in short video buffers in a plurality of user equipments. Those skilled in the art will understand that, by means of p2p and other technical means, communication of multiple user terminals can be realized, so as to realize sharing short video program information in short video applications in multiple user terminals, respectively. Such a technical scheme of p2p can be realized 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, count and count the short video program information in the multiple pieces of user equipment.
And finally, executing step S203, and using the short video information with the top three ranking numbers as the short video reservation list. Through a simple ranking mode, a short video reservation list which is most worthy of being reserved is determined.
In another preferred embodiment, the step S203 can be further detailed as follows:
firstly, step b13 ″ is executed, and the ranking information of the short videos and the playing time length of the short videos are weighted. Besides ranking the short videos, at least two short videos are adopted for weighting processing according to the playing time of the short videos.
And then, entering a step b 14', ranking according to the weighting processing result, and taking the short video information with the top three names as the short video reserved list. In this way, short videos with longer or shorter playing time duration are more easily retained.
Referring to the above-mentioned embodiments shown in fig. 1 and fig. 2, it is understood by those skilled in the art that, preferably, before step b or step S103 is performed, the following steps are further performed:
and c, 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. Through the steps, the operation of clearing the played short video can be realized only when the storage space is relatively short.
Further, referring to the embodiment and the variation shown in fig. 1 and fig. 2, it is understood by those skilled in the art that the present invention also provides a control device for short video buffer 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 apparatus can be implemented with reference to the descriptions of step a and step b, which are not described herein again.
Still further, in a preferred embodiment, the first processing means includes the following means:
first determining means for determining a short video hold list;
first deleting means for deleting the short videos in the short video cache directory outside the short video reservation list. Accordingly, the apparatus can also be implemented with reference to the description of the above steps, which is not described herein again.
Further, in a preferred embodiment, the control device further includes the following means:
first determining means for determining whether an available storage space of the user equipment is lower than a first threshold; and
second processing means for starting the first processing means when the available storage space is below the first threshold. Accordingly, the apparatus can also be implemented with reference to the description of the above steps, which is not described herein again.
The foregoing description of specific embodiments of the present invention has been presented. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes and modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention.

Claims (10)

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
CN113949921Atrue CN113949921A (en)2022-01-18
CN113949921B 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 (15)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20070103557A1 (en)*1999-06-022007-05-10Prabhu Girish VCustomizing a digital camera using firmware components provided by a service provider over a network
CN103237007A (en)*2013-03-222013-08-07华为技术有限公司Method and device for updating media files
CN103327079A (en)*2013-05-312013-09-25青岛海信传媒网络技术有限公司Multimedia resource caching method and device
CN103414747A (en)*2013-07-112013-11-27广东工业大学Adaptive streaming media caching method
US20150256583A1 (en)*2015-05-012015-09-10Elemental Technologies, Inc.Content delivery network video content invalidation through adaptive bitrate manifest manipulation
CN105430478A (en)*2015-11-272016-03-23青岛海信电器股份有限公司Network video buffer play method and device, and television
CN106658054A (en)*2016-10-132017-05-10合网络技术(北京)有限公司Video advertisement request link optimization method and apparatus
CN106657196A (en)*2015-11-022017-05-10华为技术有限公司Caching content elimination method and caching apparatus
WO2017166611A1 (en)*2016-03-312017-10-05乐视控股(北京)有限公司Media file deletion method and apparatus, and electronic device
WO2017185605A1 (en)*2016-04-252017-11-02乐视控股(北京)有限公司File management method and electronic equipment
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
CN108769787A (en)*2018-05-282018-11-06努比亚技术有限公司A kind of automatic caching method of video, terminal and computer readable storage medium
EP3567866A1 (en)*2018-05-082019-11-13Gree, Inc.Video distribution system, video distribution method, and storage medium storing video distribution program for distributing video containing animation of character object generated based on motion of actor
CN112714359A (en)*2019-10-242021-04-27北京达佳互联信息技术有限公司Video recommendation method and device, computer equipment and storage medium

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20070103557A1 (en)*1999-06-022007-05-10Prabhu Girish VCustomizing a digital camera using firmware components provided by a service provider over a network
CN103237007A (en)*2013-03-222013-08-07华为技术有限公司Method and device for updating media files
CN103327079A (en)*2013-05-312013-09-25青岛海信传媒网络技术有限公司Multimedia resource caching method and device
CN103414747A (en)*2013-07-112013-11-27广东工业大学Adaptive streaming media caching method
US20150256583A1 (en)*2015-05-012015-09-10Elemental Technologies, Inc.Content delivery network video content invalidation through adaptive bitrate manifest manipulation
CN106657196A (en)*2015-11-022017-05-10华为技术有限公司Caching content elimination method and caching apparatus
CN105430478A (en)*2015-11-272016-03-23青岛海信电器股份有限公司Network video buffer play method and device, and television
WO2017166611A1 (en)*2016-03-312017-10-05乐视控股(北京)有限公司Media file deletion method and apparatus, and electronic device
WO2017185605A1 (en)*2016-04-252017-11-02乐视控股(北京)有限公司File management method and electronic equipment
CN106658054A (en)*2016-10-132017-05-10合网络技术(北京)有限公司Video advertisement request link optimization 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
EP3567866A1 (en)*2018-05-082019-11-13Gree, Inc.Video distribution system, video distribution method, and storage medium storing video distribution program for distributing video containing animation of character object generated based on motion of actor
CN108769787A (en)*2018-05-282018-11-06努比亚技术有限公司A kind of automatic caching method of video, terminal and computer readable storage medium
CN112714359A (en)*2019-10-242021-04-27北京达佳互联信息技术有限公司Video recommendation method and device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李怡杉: "Android多媒体智能综合管理系统", 信息技术与信息化*

Also Published As

Publication numberPublication date
CN113949921B (en)2024-06-18

Similar Documents

PublicationPublication DateTitle
CN107659828B (en)Video image quality adjusting method and device, terminal equipment and storage medium
CN102006368B (en)Streaming media audio file play method based on mobile terminal memory card cache technology
CN102025956B (en)Processing method, device and system for fast forward and fast backward playing of network stream media
CN107480176B (en)Picture management method and device and terminal equipment
CN111447505B (en) Video editing method, network device and computer-readable storage medium
US10477253B2 (en)Method and apparatus for detecting video playability
CN103945259B (en)A kind of Online Video player method and device
CN103686375A (en) Video sharing method and device
CN104428744B (en)The method, apparatus and equipment of a kind of multimedia display
CN102307234A (en)Resource retrieval method based on mobile terminal
CN111246302A (en)Method, device and terminal for downloading data by browser
WO2017185605A1 (en)File management method and electronic equipment
WO2022095502A1 (en)Video acquisition method and terminal
CN105975470A (en)Method and device for processing historical records
CN104010223B (en)Adapter terminal system carries out the method and system of video playback
CN102193943B (en)Method and device for providing media data for user
CN105959725A (en)Method and device for loading media special effects in video
CN104778172B (en)Webpage information prefetches processing method, device and corresponding web page browsing device
CN103310001B (en)A kind of method and apparatus that list of videos is set
CN103365977A (en)Storage processing method and device for data on nonvolatile storage medium
CN111031117B (en) A multimedia file download method and related device
CN113821479B (en) A data request processing method and device based on metadata loading
CN105824820A (en)Media file buffer memory method and device
CN113949921B (en)Control method and control device for short video cache cleaning
WO2022100192A1 (en)Multimedia file processing methods and apparatus, terminal, and network access point device

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