WO2022160743A1 - Video file playing system, audio/video playing process, and storage medium - Google Patents

Video file playing system, audio/video playing process, and storage medium Download PDF

Info

Publication number
WO2022160743A1
WO2022160743A1 PCT/CN2021/119404 CN2021119404W WO2022160743A1 WO 2022160743 A1 WO2022160743 A1 WO 2022160743A1 CN 2021119404 W CN2021119404 W CN 2021119404W WO 2022160743 A1 WO2022160743 A1 WO 2022160743A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
audio
data
decoding
module
Prior art date
Application number
PCT/CN2021/119404
Other languages
French (fr)
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 WO2022160743A1 publication Critical patent/WO2022160743A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44012Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving rendering scenes according to scene graphs, e.g. MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/439Processing of audio elementary streams
    • H04N21/4394Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally

Definitions

  • the invention relates to the technical field of video data processing, in particular to a video file playback system, a playback method and a storage medium.
  • a player is a tool for playing video files; nowadays, in order to meet the needs of users, many players (for example, clipping, etc.) allow users to modify video files.
  • an object of the present invention is to propose a video file playback system, so that the user can add or delete materials in real time during the process of playing the video file by the player, and the process of adding and deleting does not need to completely stop the player thread, Avoid performance loss.
  • an embodiment of the present invention proposes a video file playback system, including: an audio module, a video module, a material management module, and an effect management module; wherein, the material management module is used to store material information selected by a user, And according to the search request sent by the audio module or the video module, the corresponding material information is searched, and the material information is changed according to the user's change request; the effect management module is used to store the effect information corresponding to the material selected by the user, and according to the audio
  • the search request sent by the module or the video module searches for the corresponding effect information, and changes the effect information according to the user's change request; the material information and the effect information corresponding to the material information are provided with a resource read-write lock, and the resource In the read-write lock, the resource reading function is not mutually exclusive, and the resource reading function and the resource writing function are mutually exclusive; the audio module is used to perform audio data in the material information and the effect data corresponding to the audio data. Decoding and consumption to complete audio playback;
  • the material management module is set to store the material information selected by the user, and the corresponding material information is searched according to the search request sent by the audio module or the video module, and according to the user's change request The material information is changed;
  • the effect management module is used to store the effect information corresponding to the material selected by the user, search for the corresponding effect information according to the search request sent by the audio module or the video module, and change the effect information according to the user's change request;
  • the material information and the effect information corresponding to the material information are provided with a resource read-write lock.
  • the resource read functions are not mutually exclusive, and the resource read function and the resource write function are mutually exclusive;
  • the audio module is used to decode and consume the audio data in the material information and the effect data corresponding to the audio data to complete the audio playback;
  • the video module is used to decode and consume the video data in the material information and the effect data corresponding to the video data. Rendering to complete the video playback; enabling users to add and delete materials in real time during the process of playing video files on the player, and the process of adding and deleting does not need to completely stop the player thread to avoid performance loss.
  • video file playback system proposed according to the above embodiments of the present invention may also have the following additional technical features:
  • the audio module includes an audio decoding thread and an audio consumption thread, and the audio module is correspondingly provided with an audio lock, wherein the audio lock includes a first decoding block, a first recycling block and a search block, and the first A decoding block, the first recovery block and the search block are mutually exclusive in pairs.
  • the audio module decodes the audio data in the material information and the effect data corresponding to the audio data, including: the audio decoding thread judges whether the resource reading function of the resource read-write lock is available, and when the judgment result is yes. , determine whether the first decoding block is available; if so, obtain the current play time, and obtain the corresponding audio data and the effect data corresponding to the audio data according to the current play time to decode, and store the decoded data in the first a buffer queue.
  • the audio module plays the audio data in the material information and the effect data corresponding to the audio data, including: the audio consumption thread judges whether the resource reading function of the resource read-write lock is available, and when the judgment result is yes. , obtain the current play time, and query the first buffer queue according to the current play time to obtain the corresponding decoded audio data to play; after finishing the play of the decoded data, update the current play time.
  • the video module includes a video decoding thread and a video consumption thread, and the video module is correspondingly provided with a video lock, wherein the video lock includes a second decoding block, a second recycling block and a rendering block, and the first The second recycling block is mutually exclusive with the second decoding block and the rendering block, and the decoding block and the rendering block are not mutually exclusive.
  • the video module decodes the video data in the material information and the effect data corresponding to the video data, including: the video decoding thread judging whether the resource reading function of the resource read-write lock is available, and when the judgment result is: When it is, judge whether the second decoding block is available; if so, obtain the current play time, and obtain corresponding video data and the effect data corresponding to the video data according to the current play time to decode, and store the decoded data. into the second buffer queue.
  • the video module plays the video data in the material information and the effect data corresponding to the video data, including: the video consumption thread judges whether the resource reading function of the resource read-write lock is available, and when the judgment result is yes. , obtain the current play time, and query the second cache queue according to the current play time to obtain corresponding decoded video data for playing.
  • FIG. 1 is a schematic block diagram of a video file playback system according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of an audio decoding process flow according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of an audio playback process according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a video decoding process according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a video playback process according to an embodiment of the present invention.
  • the material management module is set to store the material information selected by the user, and the corresponding material information is searched according to the search request sent by the audio module or the video module, and according to the user's change request The material information is changed;
  • the effect management module is used to store the effect information corresponding to the material selected by the user, search for the corresponding effect information according to the search request sent by the audio module or the video module, and change the effect information according to the user's change request;
  • the material information and the effect information corresponding to the material information are provided with a resource read-write lock.
  • the resource read functions are not mutually exclusive, and the resource read function and the resource write function are mutually exclusive;
  • the audio module is used to decode and consume the audio data in the material information and the effect data corresponding to the audio data to complete the audio playback;
  • the video module is used to decode and consume the video data in the material information and the effect data corresponding to the video data. Rendering to complete the video playback; enabling users to add and delete materials in real time during the process of playing video files on the player, and the process of adding and deleting does not need to completely stop the player thread to avoid performance loss.
  • FIG. 1 is a schematic block diagram of a video file playback system according to an embodiment of the present invention. As shown in FIG.
  • the material management module 30 is used to store the material information selected by the user, search for the corresponding material information according to the search request sent by the audio module 10 or the video module 20, and change the material information according to the user's change request;
  • the effect management module 40 is used for storing the effect information corresponding to the material selected by the user, and searches for the corresponding effect information according to the search request sent by the audio module 10 or the video module 20, and changes the effect information according to the user's change request;
  • the material information (audio data or video data) and effect information (effects corresponding to audio data, such as voice changing, etc.; effects corresponding to video data, such as partial display, adding borders, etc.) are managed separately to avoid The problem of increased management complexity in a multi-threaded environment caused by the coupling of material information and effect information.
  • the management of the material information by the material management module includes: searching for the material according to the request, correspondingly adding, deleting and changing the material information according to the user's addition, deletion and change request, and changing the duration of the material according to the change of the material, And call back to inform the player to change the total duration according to the change result.
  • the management of the effect information by the effect management module includes: searching for effect information according to the request, and correspondingly adding, deleting and changing the effect information according to the user's addition, deletion and modification request.
  • a resource read-write lock is set for the effect information corresponding to the material information and the material information.
  • the resource read function is not mutually exclusive, and the resource read function and the resource write function are mutually exclusive;
  • the resource read functions are not mutually exclusive, that is, multiple resource read operations are allowed to be performed at the same time; the resource read function and the resource write function are mutually exclusive; that is, when there is a resource read operation While in progress; the operation of resource writing is not allowed; and when there is a resource writing operation (when the material or effect needs to be changed, such as adding, deleting, modifying, the material management module or the effect management module needs to perform a resource write lock (to make changes after acquiring a resource write lock) is in progress, resource read operations are not allowed.
  • the audio module 10 is used to decode and consume the audio data in the material information and the effect data corresponding to the audio data to complete the audio playback;
  • the audio module includes an audio decoding thread and an audio consumption thread, and the audio module is correspondingly provided with an audio lock, wherein the audio lock includes a first decoding block, a first recycling block and a search block, the first decoding block, the first The reclaim block and the lookup block are mutually exclusive.
  • the audio decoding and consumption process is divided into two threads to further improve the audio processing efficiency; and the multi-threaded process is managed through the audio lock to prevent multi-threaded concurrent errors.
  • the audio module decodes the audio data in the material information and the effect data corresponding to the audio data, including: the audio decoding thread judges whether the resource reading function of the resource read-write lock is available, and when the judgment result is yes, Determine whether the first decoding block is available; if so, obtain the current play time, and obtain the corresponding audio data and the effect data corresponding to the audio data according to the current play time for decoding, and store the decoded data in the first buffer queue. middle.
  • the audio module plays the audio data in the material information and the effect data corresponding to the audio data, including: the audio consumption thread judges whether the resource reading function of the resource read-write lock is available, and when the judgment result is yes , obtain the current play time, and query the first buffer queue according to the current play time to obtain the corresponding decoded audio data to play; after finishing the play of the decoded data, update the current play time.
  • the decoding process of the audio decoding thread includes the following steps:
  • S204 Acquire audio data and effect data corresponding to the current playback time for decoding.
  • S206 Store the audio data and effect data not corresponding to the current playing time in the first recycling queue.
  • the consumption process of the audio consumption thread includes the following steps:
  • S303 Acquire the corresponding decoded audio data stored in the first buffer queue according to the current playback time and play it.
  • step S309 determine whether the current audio playing task ends; if yes, go to step S310; if not, go to step S301.
  • the audio consumption thread is used for time driving; it can prevent the synchronization inconvenience caused by scattered time modification permissions.
  • the video module 20 is configured to decode and render the video data in the material information and the effect data corresponding to the video data, so as to complete the playback of the video.
  • the video module includes a video decoding thread and a video consumption thread, and the video module is correspondingly provided with a video lock, wherein the video lock includes a second decoding block, a second recycling block, and a rendering block, and the second recycling block and the second The decoding block and the rendering block are mutually exclusive, and the decoding block and the rendering block are not mutually exclusive.
  • the video module decodes the video data in the material information and the effect data corresponding to the video data, including: the video decoding thread judges whether the resource read function of the resource read-write lock is available, and when the judgment result is yes, Determine whether the second decoding block is available; if so, obtain the current play time, and obtain the corresponding video data and the effect data corresponding to the video data according to the current play time for decoding, and store the decoded data in the second cache queue. middle.
  • the video module plays the video data in the material information and the effect data corresponding to the video data, including: the video consumption thread judges whether the resource reading function of the resource read-write lock is available, and when the judgment result is yes , obtain the current play time, and query the second cache queue according to the current play time to obtain the corresponding decoded video data to play.
  • the decoding process of the video decoding thread includes the following steps:
  • S404 Acquire video data and video effects corresponding to the current playback time, and perform decoding.
  • S406 Store the video data and video effects of the non-current play time in the second recycling queue.
  • the consumption process of the video consumption thread includes the following steps:
  • S504 Acquire and play the decoded video data stored in the second buffer queue according to the current play time.
  • step S510 determine whether the current video playing task ends; if yes, go to step S511; if not, go to step S501.
  • the material management module is set to store the material information selected by the user, and the corresponding material information is searched according to the search request sent by the audio module or the video module.
  • the user's change request changes the material information;
  • the effect management module is used to store the effect information corresponding to the material selected by the user, and search for the corresponding effect information according to the search request sent by the audio module or the video module, and according to the user's change request.
  • the effect information is changed; the material information and the effect information corresponding to the material information are provided with a resource read-write lock.
  • the resource read functions are not mutually exclusive, and the resource read function and the resource write function are not mutually exclusive.
  • the audio module is used to decode and consume the audio data in the material information and the effect data corresponding to the audio data to complete the audio playback
  • the video module is used to decode and consume the video data in the material information and the corresponding effect data of the video data.
  • the effect data is decoded and rendered to complete the video playback; it enables the user to add and delete materials in real time while the player is playing the video file, and the process of adding and deleting does not need to completely stop the player thread to avoid performance loss. .
  • embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions
  • the apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
  • any reference signs placed between parentheses shall not be construed as limiting the claim.
  • the word “comprising” does not exclude the presence of elements or steps not listed in a claim.
  • the word “a” or “an” preceding an element does not preclude the presence of a plurality of such elements.
  • the invention can be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware.
  • the use of the words first, second, and third, etc. do not denote any order. These words can be interpreted as names.
  • first and second are only used for description purposes, and cannot be interpreted as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature defined as “first” or “second” may expressly or implicitly include one or more of that feature.
  • “plurality” means two or more, unless otherwise expressly and specifically defined.
  • the terms “installed”, “connected”, “connected”, “fixed” and other terms should be understood in a broad sense, for example, it may be a fixed connection or a detachable connection , or integrated; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal connection of the two elements or the interaction relationship between the two elements.
  • installed may be a fixed connection or a detachable connection , or integrated; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal connection of the two elements or the interaction relationship between the two elements.
  • a first feature "on” or “under” a second feature may be in direct contact between the first and second features, or the first and second features indirectly through an intermediary touch.
  • the first feature being “above”, “over” and “above” the second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is level higher than the second feature.
  • the first feature being “below”, “below” and “below” the second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature has a lower level than the second feature.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

Disclosed are a video file playing system, an audio/video playing process, and a storage medium. A material management module is used for managing material information selected by a user; an effect management module is used for managing effect information corresponding to a material selected by the user, wherein the material information and the effect information corresponding to the material information are provided with resource read-write locks, and in the resource read-write locks, resource read functions are not mutually exclusive, and resource read functions and resource write functions are mutually exclusive; an audio module is used for decoding and consuming audio data in the material information and effect data corresponding to the audio data, so as to complete playing of an audio; and a video module is used for decoding and rendering video data in the material information and effect data corresponding to the video data, so as to complete playing of a video. Therefore, the user can perform real-time addition and deletion of a material during the process of a player playing a video file, and there is no need to stop a player thread during the addition and deletion processes, thereby avoiding the loss of performance.

Description

视频文件播放系统、音视频播放流程、存储介质Video file playback system, audio and video playback process, storage medium
本申请要求于2021年1月29日提交的中国专利申请号为CN202110127821.1、申请名称为“视频文件播放系统”的中国专利首次申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the first Chinese patent application with the Chinese patent application number CN202110127821.1 filed on January 29, 2021 and the application name is "Video File Playing System", the entire contents of which are incorporated into this application by reference.
技术领域technical field
本发明涉及视频数据处理技术领域,特别涉及一种视频文件播放系统、播放方法、存储介质。The invention relates to the technical field of video data processing, in particular to a video file playback system, a playback method and a storage medium.
背景技术Background technique
播放器,是一种对视频文件进行播放的工具;现如今,为了满足用户的需求,很多播放器(例如,剪映等)都允许用户对视频文件进行修改。A player is a tool for playing video files; nowadays, in order to meet the needs of users, many players (for example, clipping, etc.) allow users to modify video files.
相关技术中,当用户通过播放器进行视频播放的过程中,需要进行素材的添加时;往往需要对播放器线程进行完全停止,并在用户完成对素材的添加之后,重新启动播放器线程;而如果不停止播放器线程,将导致播放器产生并发错误。这种方式下,用户无法对添加的素材产生的效果进行实时地查看;并且,频繁地终止和重启播放器线程导致资源浪费严重。In the related art, when the user needs to add material during the process of video playback through the player, it is often necessary to completely stop the player thread, and restart the player thread after the user completes the addition of the material; and Failure to stop the player thread will cause the player to generate a concurrency error. In this way, the user cannot view the effect of the added material in real time; moreover, frequently terminating and restarting the player thread leads to a serious waste of resources.
发明内容SUMMARY OF THE INVENTION
本发明旨在至少在一定程度上解决上述技术中的技术问题之一。为此,本发明的一个目的在于提出一种视频文件播放系统,使得用户能够在播放器进行视频文件播放的过程中,进行素材的实时增删,并且,增删过程无需对播放器线程进行完全停止,避免性能的损耗。The present invention aims to solve one of the technical problems in the above technologies at least to a certain extent. Therefore, an object of the present invention is to propose a video file playback system, so that the user can add or delete materials in real time during the process of playing the video file by the player, and the process of adding and deleting does not need to completely stop the player thread, Avoid performance loss.
为达到上述目的,本发明实施例提出了一种视频文件播放系统,包括:音频模块、视频模块、素材管理模块和效果管理模块;其中,所述素材管理模块用于存储用户选择的素材信息,并根据音频模块或视频模块发送的查找请求进行相应素材信息的查找,以及根据用户的变更请求对素材信息进行变更;所述效果管理模块用于存储用户选择的素材对应的效果信息,并根据音频模块或视频模块发送的查找请求进行相应效果信息的查找,以及根据用户的变更请求对效果信息进行变更;所述素材信息和所述素材信息对应的效果信息设置有资源读写锁,所述资源读写锁中,资源读取功能之间不互斥,资源读取功能与资源写入功能之间互斥;所述音频模块用于对素材信息中的音频数据和音频数据对应的效果数据进行解码和消费,以完成音频的播放;所述视频模块用于对素材信息中的视频数据和视频数据对应的效果数据进行解码和渲染,以完成视频的播放。To achieve the above purpose, an embodiment of the present invention proposes a video file playback system, including: an audio module, a video module, a material management module, and an effect management module; wherein, the material management module is used to store material information selected by a user, And according to the search request sent by the audio module or the video module, the corresponding material information is searched, and the material information is changed according to the user's change request; the effect management module is used to store the effect information corresponding to the material selected by the user, and according to the audio The search request sent by the module or the video module searches for the corresponding effect information, and changes the effect information according to the user's change request; the material information and the effect information corresponding to the material information are provided with a resource read-write lock, and the resource In the read-write lock, the resource reading function is not mutually exclusive, and the resource reading function and the resource writing function are mutually exclusive; the audio module is used to perform audio data in the material information and the effect data corresponding to the audio data. Decoding and consumption to complete audio playback; the video module is used for decoding and rendering the video data in the material information and the effect data corresponding to the video data to complete the video playback.
根据本发明实施例的视频文件播放系统,通过设置素材管理模块用于存储用户选择的素材信息,并根据音频模块或视频模块发送的查找请求进行相应素材信息的查找,以及根据用户的变更请求对素材信息进行变更;效果管理模块用于存储用户选择的素材对应的效果信息,并根据音频模块或视频模块发送的查找请求进行相应效果信息的查找,以及根据用户的变更请求对效果信息进行变更;素材信息和所述素材信息对应的效果信息设置有资源读写锁,所述资源读写锁中,资源读取功能之间不互斥,资源读取功能与资源写入功能之间互斥;音频模块用于对素材信息中的音频数据和音频数据对应的效果数据进行解码和消费,以完成音频的播放;视频模块用于对素材信息中的视频数据和视频数据对应的效果数据进行解码和渲染,以完成视频的播放;使得用户能够在播放器进行视频文件播放的过程中,进行素材的实时增删,并且,增删过程无需 对播放器线程进行完全停止,避免性能的损耗。According to the video file playback system according to the embodiment of the present invention, the material management module is set to store the material information selected by the user, and the corresponding material information is searched according to the search request sent by the audio module or the video module, and according to the user's change request The material information is changed; the effect management module is used to store the effect information corresponding to the material selected by the user, search for the corresponding effect information according to the search request sent by the audio module or the video module, and change the effect information according to the user's change request; The material information and the effect information corresponding to the material information are provided with a resource read-write lock. In the resource read-write lock, the resource read functions are not mutually exclusive, and the resource read function and the resource write function are mutually exclusive; The audio module is used to decode and consume the audio data in the material information and the effect data corresponding to the audio data to complete the audio playback; the video module is used to decode and consume the video data in the material information and the effect data corresponding to the video data. Rendering to complete the video playback; enabling users to add and delete materials in real time during the process of playing video files on the player, and the process of adding and deleting does not need to completely stop the player thread to avoid performance loss.
另外,根据本发明上述实施例提出的视频文件播放系统还可以具有如下附加的技术特征:In addition, the video file playback system proposed according to the above embodiments of the present invention may also have the following additional technical features:
可选地,所述音频模块包括音频解码线程和音频消费线程,所述音频模块对应设置有音频锁,其中,所述音频锁包括第一解码块、第一回收块和查找块,所述第一解码块、所述第一回收块和所述查找块之间两两互斥。Optionally, the audio module includes an audio decoding thread and an audio consumption thread, and the audio module is correspondingly provided with an audio lock, wherein the audio lock includes a first decoding block, a first recycling block and a search block, and the first A decoding block, the first recovery block and the search block are mutually exclusive in pairs.
可选地,所述音频模块对素材信息中的音频数据和音频数据对应的效果数据进行解码,包括:音频解码线程判断资源读写锁的资源读取功能是否可用,并在判断结果为是时,判断第一解码块是否可用;如果是,则获取当前播放时间,并根据所述当前播放时间获取相应的音频数据和该音频数据对应的效果数据进行解码,以及将解码后的数据存储到第一缓存队列中。Optionally, the audio module decodes the audio data in the material information and the effect data corresponding to the audio data, including: the audio decoding thread judges whether the resource reading function of the resource read-write lock is available, and when the judgment result is yes. , determine whether the first decoding block is available; if so, obtain the current play time, and obtain the corresponding audio data and the effect data corresponding to the audio data according to the current play time to decode, and store the decoded data in the first a buffer queue.
可选地,所述音频模块对素材信息中的音频数据和音频数据对应的效果数据进行播放,包括:音频消费线程判断资源读写锁的资源读取功能是否可用,并在判断结果为是时,获取当前播放时间,以及根据所述当前播放时间查询第一缓存队列,以获取相应的解码后音频数据进行播放;在完成解码后数据的播放后,对当前播放时间进行更新。Optionally, the audio module plays the audio data in the material information and the effect data corresponding to the audio data, including: the audio consumption thread judges whether the resource reading function of the resource read-write lock is available, and when the judgment result is yes. , obtain the current play time, and query the first buffer queue according to the current play time to obtain the corresponding decoded audio data to play; after finishing the play of the decoded data, update the current play time.
可选地,所述视频模块包括视频解码线程和视频消费线程,所述视频模块对应设置有视频锁,其中,所述视频锁包括第二解码块、第二回收块和渲染块,所述第二回收块与第二解码块和渲染块互斥,所述解码块与所述渲染块不互斥。Optionally, the video module includes a video decoding thread and a video consumption thread, and the video module is correspondingly provided with a video lock, wherein the video lock includes a second decoding block, a second recycling block and a rendering block, and the first The second recycling block is mutually exclusive with the second decoding block and the rendering block, and the decoding block and the rendering block are not mutually exclusive.
可选地,所述视频模块对素材信息中的视频数据和视频数据对应的效果数据进行解码,包括:所述视频解码线程判断资源读写锁的资源读取功能是否可用,并在判断结果为是时,判断第二解码块是否可用;如果是,则获取当前播放时间,并根据所述当前播放时间获取相应的视频数据和该视频数据对应的效 果数据进行解码,以及将解码后的数据存储到第二缓存队列中。Optionally, the video module decodes the video data in the material information and the effect data corresponding to the video data, including: the video decoding thread judging whether the resource reading function of the resource read-write lock is available, and when the judgment result is: When it is, judge whether the second decoding block is available; if so, obtain the current play time, and obtain corresponding video data and the effect data corresponding to the video data according to the current play time to decode, and store the decoded data. into the second buffer queue.
可选地,所述视频模块对素材信息中的视频数据和视频数据对应的效果数据进行播放,包括:视频消费线程判断资源读写锁的资源读取功能是否可用,并在判断结果为是时,获取当前播放时间,以及根据所述当前播放时间查询所述第二缓存队列,以获取相应的解码后视频数据进行播放。Optionally, the video module plays the video data in the material information and the effect data corresponding to the video data, including: the video consumption thread judges whether the resource reading function of the resource read-write lock is available, and when the judgment result is yes. , obtain the current play time, and query the second cache queue according to the current play time to obtain corresponding decoded video data for playing.
附图说明Description of drawings
图1为根据本发明实施例的视频文件播放系统的方框示意图;1 is a schematic block diagram of a video file playback system according to an embodiment of the present invention;
图2为根据本发明实施例的音频解码流程示意图;2 is a schematic diagram of an audio decoding process flow according to an embodiment of the present invention;
图3为根据本发明实施例的音频播放流程示意图;3 is a schematic diagram of an audio playback process according to an embodiment of the present invention;
图4为根据本发明实施例的视频解码流程示意图;4 is a schematic diagram of a video decoding process according to an embodiment of the present invention;
图5为根据本发明实施例的视频播放流程示意图。FIG. 5 is a schematic diagram of a video playback process according to an embodiment of the present invention.
具体实施方式Detailed ways
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。The following describes in detail the embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary, and are intended to explain the present invention and should not be construed as limiting the present invention.
相关技术中,当用户通过播放器进行视频播放的过程中,需要进行素材的添加时;往往需要对播放器线程进行完全停止;用户无法对添加的素材产生的效果进行实时地查看;并且,频繁地终止和重启播放器线程导致资源浪费严重。根据本发明实施例的视频文件播放系统,通过设置素材管理模块用于存储用户选择的素材信息,并根据音频模块或视频模块发送的查找请求进行相应素材 信息的查找,以及根据用户的变更请求对素材信息进行变更;效果管理模块用于存储用户选择的素材对应的效果信息,并根据音频模块或视频模块发送的查找请求进行相应效果信息的查找,以及根据用户的变更请求对效果信息进行变更;素材信息和所述素材信息对应的效果信息设置有资源读写锁,所述资源读写锁中,资源读取功能之间不互斥,资源读取功能与资源写入功能之间互斥;音频模块用于对素材信息中的音频数据和音频数据对应的效果数据进行解码和消费,以完成音频的播放;视频模块用于对素材信息中的视频数据和视频数据对应的效果数据进行解码和渲染,以完成视频的播放;使得用户能够在播放器进行视频文件播放的过程中,进行素材的实时增删,并且,增删过程无需对播放器线程进行完全停止,避免性能的损耗。In the related art, when the user needs to add material during the process of video playback through the player, the player thread often needs to be completely stopped; the user cannot view the effect of the added material in real time; and, frequently Terminating and restarting the player thread leads to a serious waste of resources. According to the video file playback system according to the embodiment of the present invention, the material management module is set to store the material information selected by the user, and the corresponding material information is searched according to the search request sent by the audio module or the video module, and according to the user's change request The material information is changed; the effect management module is used to store the effect information corresponding to the material selected by the user, search for the corresponding effect information according to the search request sent by the audio module or the video module, and change the effect information according to the user's change request; The material information and the effect information corresponding to the material information are provided with a resource read-write lock. In the resource read-write lock, the resource read functions are not mutually exclusive, and the resource read function and the resource write function are mutually exclusive; The audio module is used to decode and consume the audio data in the material information and the effect data corresponding to the audio data to complete the audio playback; the video module is used to decode and consume the video data in the material information and the effect data corresponding to the video data. Rendering to complete the video playback; enabling users to add and delete materials in real time during the process of playing video files on the player, and the process of adding and deleting does not need to completely stop the player thread to avoid performance loss.
为了更好的理解上述技术方案,下面将参照附图更详细地描述本发明的示例性实施例。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本发明,并且能够将本发明的范围完整的传达给本领域的技术人员。For better understanding of the above technical solutions, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present invention will be more thoroughly understood, and will fully convey the scope of the present invention to those skilled in the art.
为了更好的理解上述技术方案,下面将结合说明书附图以及具体的实施方式对上述技术方案进行详细的说明。In order to better understand the above technical solutions, the above technical solutions will be described in detail below with reference to the accompanying drawings and specific embodiments.
图1为根据本发明实施例的视频文件播放系统的方框示意图;如图1所示,该视频文件播放系统包括:音频模块10、视频模块20、素材管理模块30和效果管理模块40。1 is a schematic block diagram of a video file playback system according to an embodiment of the present invention; as shown in FIG.
其中,素材管理模块30用于存储用户选择的素材信息,并根据音频模块10或视频模块20发送的查找请求进行相应素材信息的查找,以及根据用户的变更请求对素材信息进行变更;Wherein, the material management module 30 is used to store the material information selected by the user, search for the corresponding material information according to the search request sent by the audio module 10 or the video module 20, and change the material information according to the user's change request;
效果管理模块40用于存储用户选择的素材对应的效果信息,并根据音频模块10或视频模块20发送的查找请求进行相应效果信息的查找,以及根据用户的变更请求对效果信息进行变更;The effect management module 40 is used for storing the effect information corresponding to the material selected by the user, and searches for the corresponding effect information according to the search request sent by the audio module 10 or the video module 20, and changes the effect information according to the user's change request;
也就是说,将素材信息(音频数据或视频数据)和效果信息(音频数据对应的效果,例如变声等;视频数据对应的效果,例如,部分显示、增加边框等)进行分开管理,以避免因为素材信息与效果信息耦合而导致的多线程环境下管理复杂度增加的问题。That is, the material information (audio data or video data) and effect information (effects corresponding to audio data, such as voice changing, etc.; effects corresponding to video data, such as partial display, adding borders, etc.) are managed separately to avoid The problem of increased management complexity in a multi-threaded environment caused by the coupling of material information and effect information.
其中,素材管理模块对于素材信息的管理包括:根据请求进行素材的查找、根据用户的增加、删除、更改请求对素材信息进行相应的增加、删除和更改、根据素材的变更进行素材时长的变更,并根据变更结果回调告知播放器以变更总时长。Among them, the management of the material information by the material management module includes: searching for the material according to the request, correspondingly adding, deleting and changing the material information according to the user's addition, deletion and change request, and changing the duration of the material according to the change of the material, And call back to inform the player to change the total duration according to the change result.
效果管理模块对于效果信息的管理包括:根据请求进行效果信息的查找、根据用户的增加、删除、更改请求对效果信息进行相应的增加、删除和更改。The management of the effect information by the effect management module includes: searching for effect information according to the request, and correspondingly adding, deleting and changing the effect information according to the user's addition, deletion and modification request.
素材信息和素材信息对应的效果信息设置有资源读写锁,资源读写锁中,资源读取功能之间不互斥,资源读取功能与资源写入功能之间互斥;A resource read-write lock is set for the effect information corresponding to the material information and the material information. In the resource read-write lock, the resource read function is not mutually exclusive, and the resource read function and the resource write function are mutually exclusive;
即言,当播放器需要对素材信息和素材信息对应的效果信息进行资源读取操作或者资源写入操作时;都需要先获取资源读写锁。其中,资源读取功能之间不互斥,即言,允许多个资源读取的操作同时进行;而资源读取功能与资源写入功能之间互斥;即言,当有资源读取操作正在进行时;不允许进行资源写入的操作;而当有资源写入操作(当素材或效果需要进行变更,例如增加、删除、修改时,则素材管理模块或效果管理模块需要进行资源写锁的获取,以在获取资源写锁之后进行变更)正在进行时,不允许进行资源读取的操作。That is to say, when the player needs to perform a resource read operation or a resource write operation on the material information and the effect information corresponding to the material information, it needs to obtain the resource read-write lock first. Among them, the resource read functions are not mutually exclusive, that is, multiple resource read operations are allowed to be performed at the same time; the resource read function and the resource write function are mutually exclusive; that is, when there is a resource read operation While in progress; the operation of resource writing is not allowed; and when there is a resource writing operation (when the material or effect needs to be changed, such as adding, deleting, modifying, the material management module or the effect management module needs to perform a resource write lock (to make changes after acquiring a resource write lock) is in progress, resource read operations are not allowed.
音频模块10用于对素材信息中的音频数据和音频数据对应的效果数据进 行解码和消费,以完成音频的播放;The audio module 10 is used to decode and consume the audio data in the material information and the effect data corresponding to the audio data to complete the audio playback;
即言,将音频解码、消费与视频解码、消费分开;以防止音频与视频之间需要进行不必要的互相等待;降低性能的损耗;同时,降低了音频与视频需要进行同步管理的复杂度。In other words, separate audio decoding and consumption from video decoding and consumption; to prevent unnecessary mutual waiting between audio and video; reduce performance loss; at the same time, reduce the complexity of audio and video synchronization management.
在一些实施例中,音频模块包括音频解码线程和音频消费线程,音频模块对应设置有音频锁,其中,音频锁包括第一解码块、第一回收块和查找块,第一解码块、第一回收块和查找块之间两两互斥。In some embodiments, the audio module includes an audio decoding thread and an audio consumption thread, and the audio module is correspondingly provided with an audio lock, wherein the audio lock includes a first decoding block, a first recycling block and a search block, the first decoding block, the first The reclaim block and the lookup block are mutually exclusive.
即言,将音频的解码与消费过程分为两个线程进行,进一步提高音频的处理效率;并且,通过音频锁对多线程的进程进行管理,以防止多线程并发错误。In other words, the audio decoding and consumption process is divided into two threads to further improve the audio processing efficiency; and the multi-threaded process is managed through the audio lock to prevent multi-threaded concurrent errors.
作为一种示例,音频模块对素材信息中的音频数据和音频数据对应的效果数据进行解码,包括:音频解码线程判断资源读写锁的资源读取功能是否可用,并在判断结果为是时,判断第一解码块是否可用;如果是,则获取当前播放时间,并根据当前播放时间获取相应的音频数据和该音频数据对应的效果数据进行解码,以及将解码后的数据存储到第一缓存队列中。As an example, the audio module decodes the audio data in the material information and the effect data corresponding to the audio data, including: the audio decoding thread judges whether the resource reading function of the resource read-write lock is available, and when the judgment result is yes, Determine whether the first decoding block is available; if so, obtain the current play time, and obtain the corresponding audio data and the effect data corresponding to the audio data according to the current play time for decoding, and store the decoded data in the first buffer queue. middle.
作为另一种示例,音频模块对素材信息中的音频数据和音频数据对应的效果数据进行播放,包括:音频消费线程判断资源读写锁的资源读取功能是否可用,并在判断结果为是时,获取当前播放时间,以及根据当前播放时间查询第一缓存队列,以获取相应的解码后音频数据进行播放;在完成解码后数据的播放后,对当前播放时间进行更新。As another example, the audio module plays the audio data in the material information and the effect data corresponding to the audio data, including: the audio consumption thread judges whether the resource reading function of the resource read-write lock is available, and when the judgment result is yes , obtain the current play time, and query the first buffer queue according to the current play time to obtain the corresponding decoded audio data to play; after finishing the play of the decoded data, update the current play time.
在本发明的一个具体实施例中,如图2所示,音频解码线程的解码流程包括以下步骤:In a specific embodiment of the present invention, as shown in Figure 2, the decoding process of the audio decoding thread includes the following steps:
S201,资源读锁获取。S201, the resource read lock is acquired.
S202,第一解码块获取。S202, the first decoding block is acquired.
S203,获取当前播放时间。S203, obtaining the current play time.
S204,获取当前播放时间对应的音频数据和效果数据进行解码。S204: Acquire audio data and effect data corresponding to the current playback time for decoding.
S205,将解码后的数据存储到第一缓存队列。S205: Store the decoded data in the first buffer queue.
S206,将非当前播放时间对应的音频数据和效果数据存储到第一回收队列。S206: Store the audio data and effect data not corresponding to the current playing time in the first recycling queue.
S207,第一解码块释放。S207, the first decoding block is released.
S208,资源读锁释放。S208, the resource read lock is released.
S209,判断当前音频解码任务是否结束;如果是,则执行步骤S210;如果否,则执行步骤S201。S209, determine whether the current audio decoding task ends; if yes, execute step S210; if not, execute step S201.
S210,结束。S210, end.
作为本发明的一个具体实施例,如图3所示,音频消费线程的消费流程包括以下步骤:As a specific embodiment of the present invention, as shown in Figure 3, the consumption process of the audio consumption thread includes the following steps:
S301,资源读锁获取。S301, the resource read lock is acquired.
S302,获取当前播放时间。S302, obtain the current play time.
S303,根据当前播放时间获取第一缓存队列中存储的相应的解码后音频数据进行播放。S303: Acquire the corresponding decoded audio data stored in the first buffer queue according to the current playback time and play it.
S304,更新当前播放时间。S304, update the current play time.
S305,获取第一回收块。S305, acquiring the first reclaimed block.
S306,释放第一回收队列中的音频数据。S306, release the audio data in the first recycling queue.
S307,第一回收块释放。S307, the first reclaimed block is released.
S308,资源读锁释放。S308, the resource read lock is released.
S309,判断当前音频播放任务是否结束;如果是,则执行步骤S310;如果否,则执行步骤S301。S309, determine whether the current audio playing task ends; if yes, go to step S310; if not, go to step S301.
S310,结束。S310, end.
由上述可知,通过在每一轮消费完成之后对资源进行回收,可以有效避免生产端负责回收而导致的资源重复回收问题;避免并发错误。并且,通过音频消费线程进行时间驱动;可以防止时间修改权限散落而导致的同步不便。It can be seen from the above that by recycling resources after each round of consumption, the problem of repeated resource recycling caused by the production end being responsible for recycling can be effectively avoided; concurrency errors can be avoided. In addition, the audio consumption thread is used for time driving; it can prevent the synchronization inconvenience caused by scattered time modification permissions.
视频模块20用于对素材信息中的视频数据和视频数据对应的效果数据进行解码和渲染,以完成视频的播放。The video module 20 is configured to decode and render the video data in the material information and the effect data corresponding to the video data, so as to complete the playback of the video.
在一些实施例中,视频模块包括视频解码线程和视频消费线程,视频模块对应设置有视频锁,其中,视频锁包括第二解码块、第二回收块和渲染块,第二回收块与第二解码块和渲染块互斥,解码块与渲染块不互斥。In some embodiments, the video module includes a video decoding thread and a video consumption thread, and the video module is correspondingly provided with a video lock, wherein the video lock includes a second decoding block, a second recycling block, and a rendering block, and the second recycling block and the second The decoding block and the rendering block are mutually exclusive, and the decoding block and the rendering block are not mutually exclusive.
作为一种示例,视频模块对素材信息中的视频数据和视频数据对应的效果数据进行解码,包括:视频解码线程判断资源读写锁的资源读取功能是否可用,并在判断结果为是时,判断第二解码块是否可用;如果是,则获取当前播放时间,并根据当前播放时间获取相应的视频数据和该视频数据对应的效果数据进行解码,以及将解码后的数据存储到第二缓存队列中。As an example, the video module decodes the video data in the material information and the effect data corresponding to the video data, including: the video decoding thread judges whether the resource read function of the resource read-write lock is available, and when the judgment result is yes, Determine whether the second decoding block is available; if so, obtain the current play time, and obtain the corresponding video data and the effect data corresponding to the video data according to the current play time for decoding, and store the decoded data in the second cache queue. middle.
作为另一种示例,视频模块对素材信息中的视频数据和视频数据对应的效果数据进行播放,包括:视频消费线程判断资源读写锁的资源读取功能是否可用,并在判断结果为是时,获取当前播放时间,以及根据当前播放时间查询第二缓存队列,以获取相应的解码后视频数据进行播放。As another example, the video module plays the video data in the material information and the effect data corresponding to the video data, including: the video consumption thread judges whether the resource reading function of the resource read-write lock is available, and when the judgment result is yes , obtain the current play time, and query the second cache queue according to the current play time to obtain the corresponding decoded video data to play.
在本发明的一个具体实施例中,如图4所示,视频解码线程的解码流程包括以下步骤:In a specific embodiment of the present invention, as shown in FIG. 4 , the decoding process of the video decoding thread includes the following steps:
S401,资源读锁获取。S401, the resource read lock is acquired.
S402,第二解码块获取。S402, the second decoding block is acquired.
S403,获取当前播放时间。S403, obtain the current play time.
S404,获取当前播放时间对应的视频数据和视频效果,并进行解码。S404: Acquire video data and video effects corresponding to the current playback time, and perform decoding.
S405,将解码后的视频数据存储到第二缓存队列。S405, store the decoded video data in the second buffer queue.
S406,将非当前播放时间的视频数据和视频效果存储到第二回收队列中。S406: Store the video data and video effects of the non-current play time in the second recycling queue.
S407,第二解码块释放。S407, the second decoding block is released.
S408,资源读锁释放。S408, the resource read lock is released.
S409,判断当前视频解码任务是否结束;如果是,则执行步骤S410;如果否,则执行步骤S401。S409, determine whether the current video decoding task ends; if yes, execute step S410; if not, execute step S401.
S410,结束。S410, end.
在本发明的一个具体实施例中,如图5所示,视频消费线程的消费流程包括以下步骤:In a specific embodiment of the present invention, as shown in FIG. 5 , the consumption process of the video consumption thread includes the following steps:
S501,资源读锁获取。S501, the resource read lock is acquired.
S502,渲染块获取。S502, the rendering block is acquired.
S503,获取当前播放时间。S503, obtain the current play time.
S504,根据当前播放时间获取第二缓存队列中存储的解码后的视频数据进行播放。S504: Acquire and play the decoded video data stored in the second buffer queue according to the current play time.
S505,渲染块释放。S505, the rendering block is released.
S506,第二回收块获取。S506, the second reclaimed block is acquired.
S507,释放第二回收队列中的视频资源。S507: Release the video resources in the second recycling queue.
S508,第二回收块释放。S508, the second reclaimed block is released.
S509,资源读锁释放。S509, the resource read lock is released.
S510,判断当前视频播放任务是否结束;如果是,则执行步骤S511;如果否,则执行步骤S501。S510, determine whether the current video playing task ends; if yes, go to step S511; if not, go to step S501.
S511,结束。S511, end.
综上所述,根据本发明实施例的视频文件播放系统,通过设置素材管理 模块用于存储用户选择的素材信息,并根据音频模块或视频模块发送的查找请求进行相应素材信息的查找,以及根据用户的变更请求对素材信息进行变更;效果管理模块用于存储用户选择的素材对应的效果信息,并根据音频模块或视频模块发送的查找请求进行相应效果信息的查找,以及根据用户的变更请求对效果信息进行变更;素材信息和所述素材信息对应的效果信息设置有资源读写锁,所述资源读写锁中,资源读取功能之间不互斥,资源读取功能与资源写入功能之间互斥;音频模块用于对素材信息中的音频数据和音频数据对应的效果数据进行解码和消费,以完成音频的播放;视频模块用于对素材信息中的视频数据和视频数据对应的效果数据进行解码和渲染,以完成视频的播放;使得用户能够在播放器进行视频文件播放的过程中,进行素材的实时增删,并且,增删过程无需对播放器线程进行完全停止,避免性能的损耗。To sum up, according to the video file playback system of the embodiment of the present invention, the material management module is set to store the material information selected by the user, and the corresponding material information is searched according to the search request sent by the audio module or the video module. The user's change request changes the material information; the effect management module is used to store the effect information corresponding to the material selected by the user, and search for the corresponding effect information according to the search request sent by the audio module or the video module, and according to the user's change request. The effect information is changed; the material information and the effect information corresponding to the material information are provided with a resource read-write lock. In the resource read-write lock, the resource read functions are not mutually exclusive, and the resource read function and the resource write function are not mutually exclusive. mutually exclusive; the audio module is used to decode and consume the audio data in the material information and the effect data corresponding to the audio data to complete the audio playback; the video module is used to decode and consume the video data in the material information and the corresponding effect data of the video data. The effect data is decoded and rendered to complete the video playback; it enables the user to add and delete materials in real time while the player is playing the video file, and the process of adding and deleting does not need to completely stop the player thread to avoid performance loss. .
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
应当注意的是,在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的部件或步骤。位于部件之前的单词“一”或“一个”不排除存在多个这样的部件。本发明可以借助于包括有若干不同部件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that, in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not preclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. do not denote any order. These words can be interpreted as names.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。Although preferred embodiments of the present invention have been described, additional changes and modifications to these embodiments may occur to those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the preferred embodiment and all changes and modifications that fall within the scope of the present invention.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit and scope of the invention. Thus, provided that these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
在本发明的描述中,需要理解的是,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技 术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本发明的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In the description of the present invention, it should be understood that the terms "first" and "second" are only used for description purposes, and cannot be interpreted as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature defined as "first" or "second" may expressly or implicitly include one or more of that feature. In the description of the present invention, "plurality" means two or more, unless otherwise expressly and specifically defined.
在本发明中,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”、“固定”等术语应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the present invention, unless otherwise expressly specified and limited, the terms "installed", "connected", "connected", "fixed" and other terms should be understood in a broad sense, for example, it may be a fixed connection or a detachable connection , or integrated; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal connection of the two elements or the interaction relationship between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.
在本发明中,除非另有明确的规定和限定,第一特征在第二特征“上”或“下”可以是第一和第二特征直接接触,或第一和第二特征通过中间媒介间接接触。而且,第一特征在第二特征“之上”、“上方”和“上面”可是第一特征在第二特征正上方或斜上方,或仅仅表示第一特征水平高度高于第二特征。第一特征在第二特征“之下”、“下方”和“下面”可以是第一特征在第二特征正下方或斜下方,或仅仅表示第一特征水平高度小于第二特征。In the present invention, unless otherwise expressly specified and limited, a first feature "on" or "under" a second feature may be in direct contact between the first and second features, or the first and second features indirectly through an intermediary touch. Also, the first feature being "above", "over" and "above" the second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is level higher than the second feature. The first feature being "below", "below" and "below" the second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature has a lower level than the second feature.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不应理解为必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例 或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms should not be construed as necessarily referring to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, without conflicting each other.
尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present invention have been shown and described above, it should be understood that the above-mentioned embodiments are exemplary and should not be construed as limiting the present invention. Embodiments are subject to variations, modifications, substitutions and variations.

Claims (10)

  1. 视频文件播放系统,其特征在于,包括音频模块、视频模块、素材管理模块和效果管理模块;A video file playback system is characterized in that it includes an audio module, a video module, a material management module and an effect management module;
    其中,所述素材管理模块用于存储用户选择的素材信息,并根据音频模块或视频模块发送的查找请求进行相应素材信息的查找,以及根据用户的变更请求对素材信息进行变更;Wherein, the material management module is used to store the material information selected by the user, search for the corresponding material information according to the search request sent by the audio module or the video module, and change the material information according to the user's change request;
    所述效果管理模块用于存储用户选择的素材对应的效果信息,并根据音频模块或视频模块发送的查找请求进行相应效果信息的查找,以及根据用户的变更请求对效果信息进行变更;The effect management module is used to store the effect information corresponding to the material selected by the user, search for the corresponding effect information according to the search request sent by the audio module or the video module, and change the effect information according to the user's change request;
    所述素材信息和所述素材信息对应的效果信息设置有资源读写锁,所述资源读写锁中,资源读取功能之间不互斥,资源读取功能与资源写入功能之间互斥;The material information and the effect information corresponding to the material information are provided with a resource read-write lock. In the resource read-write lock, the resource read functions are not mutually exclusive, and the resource read function and the resource write function are mutually exclusive. reprimand;
    所述音频模块用于对素材信息中的音频数据和音频数据对应的效果数据进行解码和消费,以完成音频的播放;The audio module is used to decode and consume the audio data in the material information and the effect data corresponding to the audio data to complete the audio playback;
    所述视频模块用于对素材信息中的视频数据和视频数据对应的效果数据进行解码和渲染,以完成视频的播放。The video module is used for decoding and rendering the video data in the material information and the effect data corresponding to the video data, so as to complete the playing of the video.
  2. 如权利要求1所述的视频文件播放系统,其特征在于,所述音频模块包括音频解码线程和音频消费线程,所述音频模块对应设置有音频锁,其中,所述音频锁包括第一解码块、第一回收块和查找块,所述第一解码块、所述第一回收块和所述查找块之间两两互斥。The video file playback system according to claim 1, wherein the audio module comprises an audio decoding thread and an audio consumption thread, the audio module is correspondingly provided with an audio lock, wherein the audio lock comprises a first decoding block , a first recovery block and a search block, and the first decoding block, the first recovery block and the search block are mutually exclusive.
  3. 如权利要求2所述的视频文件播放系统,其特征在于,所述音频模块对素材信息中的音频数据和音频数据对应的效果数据进行解码,包括:The video file playback system according to claim 2, wherein the audio module decodes the audio data in the material information and the effect data corresponding to the audio data, comprising:
    音频解码线程判断资源读写锁的资源读取功能是否可用,并在判断结果为 是时,判断第一解码块是否可用;The audio decoding thread judges whether the resource reading function of the resource read-write lock is available, and when the judgment result is yes, judges whether the first decoding block is available;
    如果是,则获取当前播放时间,并根据所述当前播放时间获取相应的音频数据和该音频数据对应的效果数据进行解码,以及将解码后的数据存储到第一缓存队列中。If yes, the current play time is acquired, and corresponding audio data and effect data corresponding to the audio data are acquired according to the current play time for decoding, and the decoded data is stored in the first buffer queue.
  4. 如权利要求2所述的视频文件播放系统,其特征在于,所述音频模块对素材信息中的音频数据和音频数据对应的效果数据进行播放,包括:The video file playback system according to claim 2, wherein the audio module plays the audio data in the material information and the effect data corresponding to the audio data, comprising:
    音频消费线程判断资源读写锁的资源读取功能是否可用,并在判断结果为是时,获取当前播放时间,以及根据所述当前播放时间查询第一缓存队列,以获取相应的解码后音频数据进行播放;The audio consumption thread judges whether the resource read function of the resource read-write lock is available, and when the judgment result is yes, obtains the current play time, and queries the first cache queue according to the current play time to obtain the corresponding decoded audio data to play;
    在完成解码后数据的播放后,对当前播放时间进行更新。After the playback of the decoded data is completed, the current playback time is updated.
  5. 如权利要求1所述的视频文件播放系统,其特征在于,所述视频模块包括视频解码线程和视频消费线程,所述视频模块对应设置有视频锁,其中,所述视频锁包括第二解码块、第二回收块和渲染块,所述第二回收块与第二解码块和渲染块互斥,所述解码块与所述渲染块不互斥。The video file playback system according to claim 1, wherein the video module comprises a video decoding thread and a video consumption thread, the video module is correspondingly provided with a video lock, wherein the video lock comprises a second decoding block , a second recycling block and a rendering block, the second recycling block and the second decoding block and the rendering block are mutually exclusive, and the decoding block and the rendering block are not mutually exclusive.
  6. 如权利要求5所述的视频文件播放系统,其特征在于,所述视频模块对素材信息中的视频数据和视频数据对应的效果数据进行解码,包括:The video file playback system according to claim 5, wherein the video module decodes the video data in the material information and the effect data corresponding to the video data, comprising:
    所述视频解码线程判断资源读写锁的资源读取功能是否可用,并在判断结果为是时,判断第二解码块是否可用;The video decoding thread judges whether the resource read function of the resource read-write lock is available, and when the judgment result is yes, judges whether the second decoding block is available;
    如果是,则获取当前播放时间,并根据所述当前播放时间获取相应的视频数据和该视频数据对应的效果数据进行解码,以及将解码后的数据存储到第二缓存队列中。If yes, obtain the current play time, obtain corresponding video data and effect data corresponding to the video data according to the current play time, decode the video data, and store the decoded data in the second buffer queue.
  7. 如权利要求6所述的视频文件播放系统,其特征在于,所述视频模块对素材信息中的视频数据和视频数据对应的效果数据进行播放,包括:The video file playback system according to claim 6, wherein the video module plays the video data in the material information and the effect data corresponding to the video data, comprising:
    视频消费线程判断资源读写锁的资源读取功能是否可用,并在判断结果为是时,获取当前播放时间,以及根据所述当前播放时间查询所述第二缓存队列,以获取相应的解码后视频数据进行播放。The video consumption thread judges whether the resource read function of the resource read-write lock is available, and when the judgment result is yes, obtains the current play time, and queries the second cache queue according to the current play time to obtain the corresponding decoded video data for playback.
  8. 一种音频的解码与消费流程,其特征在于,包括音频解码流程、音频消费流程;An audio decoding and consumption process, characterized in that it includes an audio decoding process and an audio consumption process;
    所述音频解码流程包含:获取资源读写锁、第一解码块、当前播放时间,获取当前播放时间对应的音频数据和效果数据并进行解码,将解码后的数据存储到第一缓存队列,将非当前播放时间对应的音频数据和效果数据存储到第一回收队列,释放所述第一解码块、资源读写锁;The audio decoding process includes: acquiring the resource read-write lock, the first decoding block, and the current playing time, acquiring and decoding the audio data and effect data corresponding to the current playing time, storing the decoded data in the first buffer queue, and storing the decoded data in the first buffer queue. The audio data and effect data not corresponding to the current playback time are stored in the first recycling queue, and the first decoding block and the resource read-write lock are released;
    所述音频消费流程包含:获取资源读写锁、当前播放时间,根据当前播放时间获取第一缓存队列中存储的相应的解码后音频数据进行播放并更新当前播放时间,释放第一回收队列中的音频数据、资源读写锁。The audio consumption process includes: acquiring the resource read-write lock and the current playback time, acquiring the corresponding decoded audio data stored in the first buffer queue according to the current playback time and playing and updating the current playback time, and releasing the audio data in the first recycling queue. Audio data, resource read-write lock.
  9. 一种视频的解码与消费流程,其特征在于,视频解码流程、视频消费流程;A video decoding and consumption process, characterized in that a video decoding process and a video consumption process;
    所述视频解码流程包含:获取资源读写锁、第二码块、当前播放时间,获取当前播放时间对应的视频数据和视频效果并进行解码,将解码后的视频数据存储到第二缓存队列,将非当前播放时间的视频数据和视频效果存储到第二回收队列中,释放所述第二解码块、资源读写锁;The video decoding process includes: acquiring a resource read-write lock, a second code block, and a current playback time, acquiring and decoding video data and video effects corresponding to the current playback time, and storing the decoded video data in a second cache queue, storing the video data and video effects of non-current playback time in the second recycling queue, releasing the second decoding block and resource read-write lock;
    所述视频消费流程包含:获取资源读写锁、渲染块、当前播放时间,根据当前播放时间获取第二缓存队列中存储的解码后的视频数据进行播放,释放渲染块、第二回收队列中的视频资源、资源读写锁。The video consumption process includes: acquiring resource read-write locks, rendering blocks, and current playback time, acquiring and playing the decoded video data stored in the second cache queue according to the current playback time, and releasing the rendering blocks and the data in the second recycling queue. Video resources, resource read-write locks.
  10. 一种计算机可读存储介质,存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求8所述的一种音频的解码与消费流程或权 利要求9所述的一种视频的解码与消费流程。A computer-readable storage medium storing a computer program, characterized in that, when the computer program is executed by a processor, the audio decoding and consumption process of claim 8 or the process of claim 9 is realized. Video decoding and consumption process.
PCT/CN2021/119404 2021-01-29 2021-09-18 Video file playing system, audio/video playing process, and storage medium WO2022160743A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110127821.1A CN112969092B (en) 2021-01-29 2021-01-29 Video file playing system
CN202110127821.1 2021-01-29

Publications (1)

Publication Number Publication Date
WO2022160743A1 true WO2022160743A1 (en) 2022-08-04

Family

ID=76273468

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/119404 WO2022160743A1 (en) 2021-01-29 2021-09-18 Video file playing system, audio/video playing process, and storage medium

Country Status (2)

Country Link
CN (1) CN112969092B (en)
WO (1) WO2022160743A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117765839A (en) * 2023-12-25 2024-03-26 广东保伦电子股份有限公司 Indoor intelligent navigation method, device and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112969092B (en) * 2021-01-29 2022-05-10 稿定(厦门)科技有限公司 Video file playing system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686077A (en) * 2013-11-29 2014-03-26 成都亿盟恒信科技有限公司 Double buffering method applied to realtime audio-video data transmission of 3G wireless network
US20150155008A1 (en) * 2013-12-02 2015-06-04 Magix Ag System and method for theme based video creation with real-time effects
CN106658117A (en) * 2016-12-30 2017-05-10 百度在线网络技术(北京)有限公司 Method and device for processing audio/video data
CN107396180A (en) * 2017-08-29 2017-11-24 北京小米移动软件有限公司 Video creating method and device based on mobile terminal
CN107491314A (en) * 2017-08-30 2017-12-19 四川长虹电器股份有限公司 Processing method is write based on Read-Write Locks algorithm is accessible to HBASE real time datas
CN107770626A (en) * 2017-11-06 2018-03-06 腾讯科技(深圳)有限公司 Processing method, image synthesizing method, device and the storage medium of video material
CN108647313A (en) * 2018-05-10 2018-10-12 福建星网视易信息系统有限公司 A kind of real-time method and system for generating performance video
CN112969092A (en) * 2021-01-29 2021-06-15 稿定(厦门)科技有限公司 Video file playing system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9542235B2 (en) * 2010-12-14 2017-01-10 Appsense, Limited Process-safe read/write locks
JP5695972B2 (en) * 2011-05-20 2015-04-08 日立マクセル株式会社 Content receiver and content information output method
CN102999378B (en) * 2012-12-03 2015-08-26 中国科学院软件研究所 A kind of read-write lock implement method
CN103581611A (en) * 2013-11-19 2014-02-12 北京兆维电子(集团)有限责任公司 Implementation method for audio and video recording based on routing server and routing server
CN105872668A (en) * 2016-03-31 2016-08-17 百度在线网络技术(北京)有限公司 Audio-video data processing method and device as well as vehicle-mounted terminal
US10503671B2 (en) * 2016-12-29 2019-12-10 Oath Inc. Controlling access to a shared resource
CN106658050B (en) * 2016-12-30 2020-02-21 北京奇虎科技有限公司 Concurrent reading and writing method and device for stream data
CN109947575B (en) * 2019-03-21 2021-08-24 恒生电子股份有限公司 Locking and releasing method of read-write lock and related system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686077A (en) * 2013-11-29 2014-03-26 成都亿盟恒信科技有限公司 Double buffering method applied to realtime audio-video data transmission of 3G wireless network
US20150155008A1 (en) * 2013-12-02 2015-06-04 Magix Ag System and method for theme based video creation with real-time effects
CN106658117A (en) * 2016-12-30 2017-05-10 百度在线网络技术(北京)有限公司 Method and device for processing audio/video data
CN107396180A (en) * 2017-08-29 2017-11-24 北京小米移动软件有限公司 Video creating method and device based on mobile terminal
CN107491314A (en) * 2017-08-30 2017-12-19 四川长虹电器股份有限公司 Processing method is write based on Read-Write Locks algorithm is accessible to HBASE real time datas
CN107770626A (en) * 2017-11-06 2018-03-06 腾讯科技(深圳)有限公司 Processing method, image synthesizing method, device and the storage medium of video material
CN108647313A (en) * 2018-05-10 2018-10-12 福建星网视易信息系统有限公司 A kind of real-time method and system for generating performance video
CN112969092A (en) * 2021-01-29 2021-06-15 稿定(厦门)科技有限公司 Video file playing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117765839A (en) * 2023-12-25 2024-03-26 广东保伦电子股份有限公司 Indoor intelligent navigation method, device and storage medium

Also Published As

Publication number Publication date
CN112969092B (en) 2022-05-10
CN112969092A (en) 2021-06-15

Similar Documents

Publication Publication Date Title
WO2022160743A1 (en) Video file playing system, audio/video playing process, and storage medium
TWI302267B (en) Systems and methods for caching multimedia date
US11853549B2 (en) Index storage in shingled magnetic recording (SMR) storage system with non-shingled region
CN108319654B (en) Computing system, cold and hot data separation method and device, and computer readable storage medium
KR101188472B1 (en) File input/output scheduling using immediate data chuncking
US8375007B2 (en) Status tool to expose metadata read and write queues
US8099548B2 (en) Power efficient media playback on general purpose portable devices
WO2017185579A1 (en) Method and apparatus for data storage
US20150143065A1 (en) Data Processing Method and Apparatus, and Shared Storage Device
CN105630834B (en) Method and device for deleting repeated data
CN112929755B (en) Video file playing method and device in progress dragging process
JP2007188497A (en) System and method for managing log information for transaction
WO2021253688A1 (en) Data synchronization method and apparatus, and data query method and apparatus
CN109558456A (en) A kind of file migration method, apparatus, equipment and readable storage medium storing program for executing
KR100899147B1 (en) Method of storing meta-data and system for storing meta-data
TW201308193A (en) Method for storing data of file allocation table
JP2007287147A (en) Fast file attribute search
CN114416677A (en) Cold storage data updating method, device, equipment and storage medium
US20140082624A1 (en) Execution control method and multi-processor system
KR20220072656A (en) File System-based Block Allocation Apparatus and Method
JPWO2013046342A1 (en) Virtual tape device and control method of virtual tape device
JP2009026334A (en) Writing delay database management system, and program
CN103853504A (en) Data access method of caching system
JP2007287204A (en) Device, method and program for reproducing
CN115203130A (en) File cleaning method, device, equipment and medium for distributed file system

Legal Events

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

Ref document number: 21922335

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21922335

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 19/09/2023)