File management method and apparatus
A file management method and file management technology, which are applied in the field of file management methods and devices, can solve the problems affecting the performance of video servers and the low utilization value of disk storage space, so as to improve the utilization rate of system resources, increase the use value, and improve the experience. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] Such as figure 1 Shown is a schematic flowchart of a file management method provided in Embodiment 1 of the present disclosure, including the following steps:
[0042] S101. Determine the storage time of files corresponding to different live channels.
[0043] S102. For any live channel, when the storage time of any file broadcast on the live channel exceeds the storage time of the file corresponding to the live channel, delete said any file.
[0044] Specifically, firstly, the storage duration of files corresponding to different live channels is determined, and then according to the live channel to which any file belongs, the storage duration of the file can be determined. By adopting the above-mentioned method, it is possible to avoid mechanically deleting files in live channels with different access frequencies with a unified file storage time as the standard, which has strong flexibility.
[0045] Further, in the above step S101, determining the file storage time ...
Embodiment 2
[0054] Such as figure 2 Shown is a schematic flowchart of a file management method provided in Embodiment 2 of the present disclosure, including the following steps:
[0055] S201. Determine the storage time of files corresponding to different live channels.
[0056] S202. For any live channel, when the storage duration of any file broadcast on the live channel exceeds the storage duration of the file corresponding to the live channel, and the user corresponding to any of the above files within the latest second preset time period When the access frequency is lower than the set threshold, delete any of the above files.
[0057] Specifically, for any live channel, when the storage time of any file broadcast on the live channel exceeds the storage time of the file corresponding to the live channel, it means that the possibility of the file being accessed again is extremely low, and it can be Delete it to prevent it from continuing to occupy the disk storage space of the serve...
Embodiment 3
[0062] Such as image 3 Shown is a schematic flow chart of a file management method provided in Embodiment 3 of the present disclosure, including the following steps:
[0063] S301. Determine at least one file storage duration corresponding to each live channel.
[0064] S302. After the above-mentioned any file is played on the live channel, determine the file priority of the above-mentioned any file; according to the file priority of the any file in the live channel, select at least one file corresponding to the live channel In Save Time, determine the file save time corresponding to any of the above files.
[0065] S303. When the storage duration of any of the above files exceeds the determined file storage duration corresponding to the any file, delete any of the above files.
[0066] Specifically, more than one file storage duration can be determined for each live channel, and different file priorities are determined for files within each live channel, and files are corr...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com