WO2017185605A1 - Procédé de gestion de fichier et équipement électronique - Google Patents

Procédé de gestion de fichier et équipement électronique Download PDF

Info

Publication number
WO2017185605A1
WO2017185605A1 PCT/CN2016/099913 CN2016099913W WO2017185605A1 WO 2017185605 A1 WO2017185605 A1 WO 2017185605A1 CN 2016099913 W CN2016099913 W CN 2016099913W WO 2017185605 A1 WO2017185605 A1 WO 2017185605A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
live
duration
files
live channel
Prior art date
Application number
PCT/CN2016/099913
Other languages
English (en)
Chinese (zh)
Inventor
夏彦刚
Original Assignee
乐视控股(北京)有限公司
乐视云计算有限公司
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 乐视控股(北京)有限公司, 乐视云计算有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017185605A1 publication Critical patent/WO2017185605A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/113Details of archiving

Definitions

  • the present application relates to the field of file management, and in particular, to a file management method and an electronic device.
  • a large number of video files are usually stored in the video server, and the storage performance of the video files becomes an important aspect that affects the performance of the video server.
  • the storage performance of the video files becomes an important aspect that affects the performance of the video server.
  • how to improve the utilization value of the disk storage space becomes the key to improving the performance of the video server.
  • the frequency of historical broadcast programs of different live channels is usually different.
  • the frequency of historical broadcast programs of some popular live channels is re-accessed by users, and the history broadcasts of some of the less popular live channels. It is rarely revisited by the user.
  • the present invention provides a file management method and an electronic device, which are used to solve the problem that the prior art has low utilization value of the disk storage space and becomes a bottleneck affecting the performance of the video server.
  • a file management method comprising:
  • any live channel if any file broadcasted on the live channel has a file duration longer than the file duration of the live channel, the file is deleted.
  • determining a file save duration corresponding to different live channels including:
  • the file storage duration corresponding to different live channels is determined according to the content of the files respectively broadcasted on different live channels.
  • determining a file retention duration corresponding to different live channels respectively includes:
  • the file storage duration corresponding to different live channels is determined.
  • the method includes: determining, by each live channel, a file storage duration corresponding to each of the live channels;
  • the file priority of any of the files is determined; according to the file priority of the file in the live channel, the duration of at least one file corresponding to the live channel is saved. In the middle, determine the file storage duration corresponding to any of the above files;
  • deleting any of the files includes:
  • an embodiment of the present application further provides a non-volatile computer storage medium storing computer-executable instructions for performing the above-described file management method of the present application.
  • an embodiment of the present application further provides an electronic device, including: at least one processor; and a memory; wherein the memory stores a program executable by the at least one processor, where the instruction is The at least one processor executes to enable the at least one processor to perform the file management method of any of the above-mentioned embodiments of the present application.
  • the file retention time corresponding to different live channels is determined; for each live channel, the file deletion is performed according to the file storage duration corresponding to the live channel, which may be based on the popularity of the live channel or The degree of importance is set to set the file storage duration corresponding to the live channel, and the file in the corresponding live channel is deleted based on the file storage duration, thereby improving the utilization value of the disk storage space and improving the performance of the video server.
  • the solution of the present application can retain relatively important and frequently accessed files with high frequency, so that these files are later retrieved, there is no need to regenerate or obtain from other servers, thus improving system resource utilization. It also improves the user experience of the video request.
  • FIG. 1 is a schematic flowchart of a file management method according to Embodiment 1 of the present application.
  • FIG. 2 is a schematic flowchart of a file management method according to Embodiment 2 of the present application.
  • FIG. 3 is a schematic flowchart of a file management method according to Embodiment 3 of the present application.
  • FIG. 4 is a schematic flowchart of a file management method in Embodiment 4 of the present application.
  • FIG. 5 is a schematic structural diagram of a file management apparatus according to Embodiment 5 of the present application.
  • FIG. 6 is a schematic diagram showing the hardware structure of an apparatus for executing a file management method according to Embodiment 7 of the present application.
  • FIG. 1 is a schematic flowchart of a file management method according to Embodiment 1 of the present application, including the following steps:
  • the file save duration corresponding to different live channels is determined, and then according to the live channel to which any file belongs, the save duration of the file may be determined.
  • determining the file storage duration corresponding to the different live channels may specifically include: determining, according to the file content separately broadcasted on the different live channels, the file storage duration corresponding to the different live channels.
  • the division of the live channel is often based on the content of the file it contains. Therefore, the content of the file broadcasted on different live channels can usually reflect the characteristics of the broadcast channel and the viewing requirements of the channel.
  • the news channel and the military channel can determine the shorter file retention time; since the content of the file broadcasted by the variety channel and the movie channel is more entertaining, the possibility of repeated broadcast is greater, therefore, the variety channel and the movie channel are You can determine the length of the long file save.
  • the server may prompt the user to determine the file storage duration corresponding to different live channels based on the content of the files respectively broadcast by different live channels.
  • the method may further include: determining different live channels according to the user access frequency corresponding to the different live channels in the most recent first preset time period. The corresponding file save duration.
  • the user access frequency can intuitively reflect the user's favorite degree and viewing demand of the live channel, and the method for determining the file storage duration corresponding to different live channels according to the user access frequency is simple and easy, and the efficiency is high.
  • the first preset time period may be determined according to factors such as the overall frequency of the user accessing the server, the server processing capability, and the like.
  • the file deletion is performed according to the file storage duration corresponding to the live channel for each live channel, so that the corresponding channel of the live channel can be set according to the popularity or importance of the live channel.
  • the file is saved for a long period of time, and the file in the corresponding live channel is deleted based on the file storage duration, thereby improving the utilization value of the disk storage space, thereby improving the performance of the video server.
  • the solution of the present application can retain relatively important and frequently accessed files with high frequency, so that these files are later retrieved, there is no need to regenerate or obtain from other servers, thus improving system resource utilization. It also improves the user experience of the video request.
  • FIG. 2 is a schematic flowchart of a file management method according to Embodiment 2 of the present application, including the following steps:
  • the user may access a portion of the file multiple times during a certain period of time. At this time, the corresponding user access frequency of the above file may be higher in the second preset time period.
  • a uniform set threshold may be determined for the user access frequency of the file itself in the most recent second preset time period. Even if the storage duration of a file exceeds the duration of the file corresponding to the live channel to which it belongs, as long as the corresponding user access frequency of the file in the most recent second preset time period is not lower than the set threshold, the file may remain. The file is not deleted; only when the storage duration of a file exceeds the duration of the file corresponding to the live channel, and the corresponding user access frequency of the file in the second preset time period is lower than the file.
  • the second preset time period and the set threshold may be determined according to factors such as the overall frequency of the user accessing the server. Generally, the second preset time period may be smaller than the first preset time period.
  • the file deletion time is performed according to the file storage duration corresponding to the live channel to which the file belongs and the corresponding user access frequency of the file in the second preset time period, thereby performing file deletion.
  • FIG. 3 is a schematic flowchart of a file management method according to Embodiment 3 of the present application, including the following steps:
  • more than one file save duration may be separately determined, and different file priorities are determined for each file within each live channel, and the file pair is determined according to the file priority.
  • the length of time for different files should be saved to achieve a file with a higher priority in the same live channel.
  • the file has a longer retention time and a lower file priority.
  • the file has a shorter retention time, thus fully reflecting and satisfying the user. Improve the user experience by viewing different files in the live channel.
  • a hot file is highly likely to be repeatedly accessed by the user, so that a higher file priority can be determined, corresponding to a longer file save duration; a non-hot file is Users are less likely to repeat access, so they can determine lower file priorities, corresponding to lower file save durations.
  • the user can set a "like" button in the user interface of the file play, and the file that the user likes to "like” button can determine the highest file priority, corresponding to the longest file save time.
  • the duration of at least one file corresponding to the live channel is determined for each live channel, and the file corresponding to the file is determined according to the file priority of any file in the live channel.
  • the length of time to perform file deletion can improve the utilization of disk storage space and improve video server performance.
  • the solution of the present application can retain relatively important and frequently accessed files with high frequency, so that these files are later retrieved, there is no need to regenerate or obtain from other servers, thus improving system resource utilization. It also improves the user experience of the video request.
  • FIG. 4 is a schematic flowchart diagram of a file management method according to Embodiment 4 of the present application, including the following steps:
  • an embodiment in which more than one file save duration is determined may be used to refine the file save duration to certain types of files within each live channel; and at the same time, determine a user access frequency for the file itself.
  • the unified setting threshold embodiment can be more specifically determined for a file to determine whether to delete the file according to the determined file storage duration. Therefore, the solution provided by the two embodiments can be combined to further customize the user to access files in each live channel to improve the user experience.
  • each live channel is determined to be at least one file storage duration, and the file retention time corresponding to the file is determined according to the file priority of any file in the live channel.
  • the file deletion time corresponding to the live channel corresponding to the live channel and the corresponding user access frequency of the file in the second preset time period are respectively performed to perform file deletion, thereby improving the disk.
  • the value of storage space which in turn improves video server performance.
  • the solution of the present application can retain relatively important and frequently accessed files with high frequency, so that these files are later retrieved, there is no need to regenerate or obtain from other servers, thus improving system resource utilization. It also improves the user experience of the video request.
  • FIG. 5 is a schematic structural diagram of a file management apparatus according to Embodiment 5 of the present application, including:
  • the determining unit 501 is configured to determine a file storage duration corresponding to different live channels respectively;
  • the deleting unit 502 is configured to delete any file after the saving duration of any file broadcasted on the live channel exceeds the file storage duration corresponding to the live channel for any live channel.
  • the determining unit 501 is specifically configured to determine, according to the file content separately broadcasted on different live channels, the file storage duration corresponding to the different live channels.
  • the determining unit 501 is specifically configured to determine, according to the user access frequency corresponding to the different live channels in the most recent first preset time period, the file storage duration corresponding to the different live channels.
  • the determining unit 501 is specifically configured to determine at least one file storage duration corresponding to each live channel
  • the deleting unit 502 is further configured to determine a file priority of the file after the file is broadcasted on the live channel; according to the file priority of the file in the live channel, from the live broadcast Determining, according to at least one file storage duration corresponding to the channel, a file storage duration corresponding to the file;
  • the deleting unit 502 is specifically configured to delete any file after the storage duration of the file exceeds the determined file storage duration of the file.
  • the deleting unit 502 is specifically configured to: when the saved time of any file broadcasted on the live channel exceeds the file storage duration corresponding to the live channel, and the file is in the second preset time period If the corresponding user access frequency is lower than the set threshold, delete any of the files.
  • the file storage duration corresponding to different live channels is first determined; for each live channel, the file deletion is performed according to the file storage duration corresponding to the live channel, thereby Improve the use of disk storage space, and thus improve the performance of video servers.
  • the solution of the present application can retain relatively important and frequently accessed files with high frequency, so that these files are later retrieved, there is no need to regenerate or obtain from other servers, thus improving system resource utilization. It also improves the user experience of the video request.
  • Embodiment 6 of the present application provides a non-volatile computer storage medium storing computer-executable instructions, which can execute the file management method in any of the foregoing method embodiments.
  • FIG. 6 is a schematic diagram showing the hardware structure of an electronic device for performing a file management method according to Embodiment 7 of the present application. As shown in FIG. 6, the device includes:
  • processors 610 and memory 620 one processor 610 is taken as an example in FIG.
  • the apparatus for performing the processing method of the list item operation may further include: an input device 630 and an output device 640.
  • the processor 610, the memory 620, the input device 630, and the output device 640 can be connected via a bus or In other ways, the connection is made in FIG. 6 by way of a bus connection.
  • the memory 620 is a non-volatile computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer-executable program, and a module, as in the processing method of the list item operation in the embodiment of the present application.
  • the processor 610 executes various functional applications of the server and data processing by executing non-volatile software programs, instructions, and modules stored in the memory 620, that is, a processing method for implementing the operation of the list item operations of the above method embodiments.
  • the memory 620 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created by use of the processing device operated according to the list item, and the like. .
  • memory 620 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • memory 620 can optionally include memory remotely located relative to processor 610 that can be connected to the processing device of the list item operation over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Input device 630 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the processing device operating on the list item.
  • the output device 640 can include a display device such as a display screen.
  • the one or more modules are stored in the memory 620, and when executed by the one or more processors 610, perform a processing method of list item operations in any of the above method embodiments.
  • the electronic device of the embodiment of the present application exists in various forms, including but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
  • Such terminals include: PDA, MID and UMPC devices Etc., such as the iPad.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • the server consists of a processor, a hard disk, a memory, a system bus, etc.
  • the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

La présente invention concerne un procédé de gestion de fichier et un équipement électronique utilisés pour résoudre le problème selon lequel la valeur d'utilisation pour l'espace de mémorisation d'un disque magnétique est relativement faible dans l'état de la technique. Le problème provoque l'engorgement affectant les performances d'un serveur vidéo. Le procédé de gestion de fichier décrit comprend : la détermination d'une durée de mémorisation de fichier correspondant respectivement à différents canaux en direct ; pour n'importe quel canal en direct, lorsque la durée de mémorisation d'un fichier quelconque diffusé sur le canal en direct dépasse la durée de mémorisation du fichier correspondant au canal en direct, la suppression du fichier. Le mode de réalisation décrit de l'invention peut améliorer la valeur d'utilisation pour l'espace de mémorisation d'un disque magnétique, ce qui améliore donc davantage les performances d'un serveur vidéo. De plus, étant donné que la solution de la présente invention peut réserver des fichiers qui sont relativement importants et fréquemment revisionnés, les fichiers n'ont pas besoin d'être régénérés ou obtenus à partir d'autres serveurs lorsque les fichiers sont demandés ultérieurement, ce qui améliore donc le taux d'utilisation de ressources du système ainsi que la satisfaction de l'expérience d'un utilisateur demandant une séquence vidéo.
PCT/CN2016/099913 2016-04-25 2016-09-23 Procédé de gestion de fichier et équipement électronique WO2017185605A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610262862.0A CN105975484A (zh) 2016-04-25 2016-04-25 一种文件管理方法及装置
CN201610262862.0 2016-04-25

Publications (1)

Publication Number Publication Date
WO2017185605A1 true WO2017185605A1 (fr) 2017-11-02

Family

ID=56994634

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/099913 WO2017185605A1 (fr) 2016-04-25 2016-09-23 Procédé de gestion de fichier et équipement électronique

Country Status (2)

Country Link
CN (1) CN105975484A (fr)
WO (1) WO2017185605A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113949921A (zh) * 2021-08-31 2022-01-18 上海二三四五网络科技有限公司 一种短视频缓存清理的控制方法以及控制装置

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106886600B (zh) * 2017-02-28 2021-12-10 深圳传音控股股份有限公司 一种文件管理方法及终端
CN108228357B (zh) * 2018-01-22 2021-04-02 维沃移动通信有限公司 一种内存清理方法及移动终端
CN109218793A (zh) * 2018-11-30 2019-01-15 北京微播视界科技有限公司 视频加载方法、装置、电子设备及计算机可读存储介质
CN109903578B (zh) * 2019-03-20 2021-05-28 安徽宽广科技有限公司 一种基于物联网的车载视频监控报警系统
CN110413587A (zh) * 2019-06-26 2019-11-05 苏州浪潮智能科技有限公司 一种老化历史数据的方法和装置
CN111093094A (zh) * 2019-12-03 2020-05-01 深圳市万佳安物联科技股份有限公司 视频转码方法、装置、系统及电子设备及可读存储介质
CN115359397B (zh) * 2022-08-17 2023-04-07 北京博宏科元信息科技有限公司 一种射频视频融合数据管理方法、装置及计算机设备
CN116737676A (zh) * 2023-08-15 2023-09-12 中移(苏州)软件技术有限公司 文件存储方法、装置、电子设备及可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102202231A (zh) * 2011-04-21 2011-09-28 中兴通讯股份有限公司 时移频道的处理方法及装置
US20120321284A1 (en) * 2009-04-23 2012-12-20 International Business Machines Corporation Managing digital video recorder storage for a plurality of users
CN103636195A (zh) * 2011-06-24 2014-03-12 摩托罗拉移动有限责任公司 用于优化记录视频节目存储的方法和设备
US8831409B1 (en) * 2010-06-07 2014-09-09 Purplecomm Inc. Storage management technology

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103458282B (zh) * 2012-06-05 2016-03-30 腾讯科技(深圳)有限公司 视频直播方法及直播装置
CN105376270B (zh) * 2014-08-11 2020-04-24 腾讯科技(深圳)有限公司 提高上传效率的方法、装置和系统
CN104506934A (zh) * 2014-12-25 2015-04-08 合肥寰景信息技术有限公司 一种节省存储空间的视频处理方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120321284A1 (en) * 2009-04-23 2012-12-20 International Business Machines Corporation Managing digital video recorder storage for a plurality of users
US8831409B1 (en) * 2010-06-07 2014-09-09 Purplecomm Inc. Storage management technology
CN102202231A (zh) * 2011-04-21 2011-09-28 中兴通讯股份有限公司 时移频道的处理方法及装置
CN103636195A (zh) * 2011-06-24 2014-03-12 摩托罗拉移动有限责任公司 用于优化记录视频节目存储的方法和设备

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113949921A (zh) * 2021-08-31 2022-01-18 上海二三四五网络科技有限公司 一种短视频缓存清理的控制方法以及控制装置

Also Published As

Publication number Publication date
CN105975484A (zh) 2016-09-28

Similar Documents

Publication Publication Date Title
WO2017185605A1 (fr) Procédé de gestion de fichier et équipement électronique
WO2017185616A1 (fr) Procédé de stockage de fichiers et équipement électronique
US11662802B2 (en) Task management method and device
EP2075714B1 (fr) Appareil et procédés pour récupérer/télécharger un contenu sur un dispositif de communication
WO2018000624A1 (fr) Procédé et dispositif de commande de lecture de vidéos
WO2017113840A1 (fr) Procédé et dispositif de recommandation d'informations
CN109558444B (zh) 数据检索方法及装置
CN110753098B (zh) 下载请求执行方法及装置、服务器和存储介质
WO2017197888A1 (fr) Procédé de partage d'informations, terminal intelligent et système
EP3203749A1 (fr) Procédé pour commuter un terminal de lecture de vidéo, et dispositif terminal
WO2017092422A1 (fr) Procédé, dispositif et appareil terminal mobile de traitement multimédia basés sur la plateforme android
US20170181094A1 (en) Intelligent terminal power consumption control method and electronic device
US20170308546A1 (en) File storage method and electronic device
US20170171571A1 (en) Push Video Documentation Methods and Appliances
US9607088B2 (en) Method and apparatus for detecting multimedia content change, and resource propagation system
WO2022095502A1 (fr) Procédé d'acquisition de vidéo et terminal
US20160294903A1 (en) Method and device for pushing resources to mobile communication terminal by smart television
US10878078B2 (en) System notification service control method, apparatus, terminal device, and storage medium
CN107807934B (zh) 页面显示方法和装置以及计算设备
WO2014153963A1 (fr) Méthodes et systèmes de lecture de vidéo sur de multiples terminaux
CN110889062A (zh) 页面加载方法及装置、终端和计算机可读存储介质
CN108228776A (zh) 数据处理方法、装置、存储介质及电子设备
WO2023030116A1 (fr) Procédé et appareil d'affichage
CN111031117A (zh) 一种多媒体文件下载方法及相关装置
US20170034232A1 (en) Caching streaming media to user devices

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16900114

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16900114

Country of ref document: EP

Kind code of ref document: A1