CN112954445B - Streaming media file playing method and device, computer equipment and storage medium - Google Patents

Streaming media file playing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN112954445B
CN112954445B CN202110280798.XA CN202110280798A CN112954445B CN 112954445 B CN112954445 B CN 112954445B CN 202110280798 A CN202110280798 A CN 202110280798A CN 112954445 B CN112954445 B CN 112954445B
Authority
CN
China
Prior art keywords
file
cache
streaming media
data segment
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110280798.XA
Other languages
Chinese (zh)
Other versions
CN112954445A (en
Inventor
柳助民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Xunlei Network Technology Co Ltd
Original Assignee
Shenzhen Xunlei Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Xunlei Network Technology Co Ltd filed Critical Shenzhen Xunlei Network Technology Co Ltd
Priority to CN202110280798.XA priority Critical patent/CN112954445B/en
Publication of CN112954445A publication Critical patent/CN112954445A/en
Application granted granted Critical
Publication of CN112954445B publication Critical patent/CN112954445B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • 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/44004Processing 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 video buffer management, e.g. video decoder buffer or video display buffer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application relates to a streaming media file playing method, a streaming media file playing device, computer equipment and a storage medium. The method comprises the following steps: acquiring a playing link corresponding to a target streaming media file in a cloud server; extracting a file identifier corresponding to the target streaming media file from the play link; determining a target cache file matched with the file identification in the locally stored cache files; the target cache file belongs to a part of the target streaming media file; reading a cache data segment in the target cache file; the buffer data segment is a data segment which is read out from the target streaming media file by the player and written into the target buffer file according to the read-out sequence; and playing the cached data segment in the player. By adopting the method, the efficiency of playing the streaming media file can be improved.

Description

Streaming media file playing method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and apparatus for playing a streaming media file, a computer device, and a storage medium.
Background
With the development of computer technology, the cloud broadcasting technology is widely applied to streaming media playing services. Through the cloud broadcasting technology, the playing terminal can play the streaming media file stored in the cloud server on line without downloading the streaming media file to the local. However, when the streaming media file stored in the cloud server is directly played online, the opening speed of the streaming media file is slow, and time is wasted.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a streaming media file playing method, apparatus, computer device, and storage medium capable of improving the opening speed.
A streaming media file playing method, the method comprising:
acquiring a playing link corresponding to a target streaming media file in a cloud server;
extracting a file identifier corresponding to the target streaming media file from the play link;
determining a target cache file matched with the file identification in the locally stored cache files; the target cache file belongs to a part of the target streaming media file;
reading a cache data segment in the target cache file; the buffer data segment is a data segment which is read out from the target streaming media file by the player and written into the target buffer file according to the read-out sequence;
And playing the cached data segment in the player.
In one embodiment, the cache file comprises a continuous broadcast cache file; the data segments in the continuous broadcasting buffer memory file comprise continuous broadcasting video head data segments and continuous broadcasting video frame data segments; the method further comprises the steps of:
when the player plays the streaming media file, acquiring a continuous playing video head data segment read from the played streaming media file;
writing the continuous broadcasting video head data segment into a continuous broadcasting cache file;
when the playing is exited, recording the playing exiting time, and acquiring continuous playing video frame data segments in a period adjacent to the playing exiting time;
and writing the continuous broadcasting video frame data segment into the continuous broadcasting cache file.
In one embodiment, the cache file comprises a first active cache file; the method further comprises the steps of:
acquiring a new play link added to the player within a first target period;
and caching the streaming media file corresponding to the newly added playing link to obtain a first active cache file.
In one embodiment, the caching the streaming media file corresponding to the newly added play link to obtain a first active cache file includes:
Reading a video header data segment and a video frame data segment in the streaming media file; the video frame data segment is a data segment read from a target video frame of the streaming media file; the target video frame comprises a starting video frame of the streaming media file and a video frame of a preset frame number after the starting video frame;
and generating a first active cache file according to the video header data segment and the video frame data segment.
In one embodiment, the cache file comprises a second active cache file; the method further comprises the steps of:
determining a streaming media file played in a second target period;
selecting a streaming media file to be recommended, wherein the streaming media file to be recommended has an association relation with the streaming media file;
and caching the streaming media file and the streaming media file to be recommended to obtain a second active cache file.
In one embodiment, the reading the cached data segment in the target cache file includes:
obtaining a cache record file corresponding to the cache file;
extracting file record information from the cache record file;
and reading the cache data segment in the cache file according to the file record information.
In one embodiment, the method further comprises:
acquiring file information of the cache file; the file information comprises a cache file identifier, a cache file size and a cache file creation time;
storing the file information into a cache information file;
the determining the target cache file matched with the file identification in the locally stored cache files comprises the following steps:
judging whether a cache file identifier matched with the file identifier exists in the cache information file or not;
if yes, determining the cache file corresponding to the matched cache file identification as a target cache file.
In one embodiment, the method further comprises:
acquiring a file score of the cache file; the file score is calculated according to the initial score, the data quantity score and the time score;
acquiring the total data amount of the cache file;
and deleting the cache file corresponding to the file score smaller than the preset score threshold when the total data amount is larger than the total data amount threshold.
A streaming media file playback apparatus, the apparatus comprising:
the acquisition module is used for acquiring a playing link corresponding to the target streaming media file in the cloud server;
The extraction module is used for extracting the file identification corresponding to the target streaming media file from the play link;
the determining module is used for determining a target cache file matched with the file identifier from locally stored cache files; the target cache file belongs to a part of the target streaming media file;
the data segment reading module is used for reading the cache data segment in the target cache file; the buffer data segment is a data segment which is read out from the target streaming media file by the player and written into the target buffer file according to the read-out sequence;
and the playing module is used for playing the cached data segment in the player.
In one embodiment, the cache file comprises a continuous broadcast cache file; the data segments in the continuous broadcasting buffer memory file comprise continuous broadcasting video head data segments and continuous broadcasting video frame data segments; the apparatus further comprises:
the acquisition module is also used for acquiring the continuous playing video head data segment read from the played streaming media file when the streaming media file is played by the player;
the writing module is used for writing the continuous broadcasting video head data segment into a continuous broadcasting cache file;
the acquisition module is also used for recording the exiting playing time when exiting playing and acquiring the continuous playing video frame data segment in the period adjacent to the exiting playing time;
The writing module is further configured to write the continuous broadcast video frame data segment into the continuous broadcast cache file.
In one embodiment, the cache file comprises a first active cache file; the apparatus further comprises:
the acquisition module is further used for acquiring a newly added play link added to the player in a first target period;
and the caching module is used for caching the streaming media file corresponding to the newly added playing link to obtain a first active caching file.
In one embodiment, the cache module is further configured to:
reading a video header data segment and a video frame data segment in the streaming media file; the video frame data segment is a data segment read from a target video frame of the streaming media file; the target video frame comprises a starting video frame of the streaming media file and a video frame of a preset frame number after the starting video frame;
and generating a first active cache file according to the video header data segment and the video frame data segment.
In one embodiment, the cache file comprises a second active cache file; the apparatus further comprises:
the determining module is used for determining the streaming media file played in the second target period;
The selection module is used for selecting the streaming media files to be recommended, which have association relations with the streaming media files;
and the caching module is also used for caching the streaming media file and the streaming media file to be recommended to obtain a second active caching file.
In one embodiment, the data segment reading module is further configured to:
obtaining a cache record file corresponding to the cache file;
extracting file record information from the cache record file;
and reading the cache data segment in the cache file according to the file record information.
In one embodiment, the apparatus further comprises:
the acquisition module is also used for acquiring file information of the cache file; the file information comprises a cache file identifier, a cache file size and a cache file creation time;
the storage module is also used for storing the file information into a cache information file;
the determining module is further configured to:
judging whether a cache file identifier matched with the file identifier exists in the cache information file or not;
if yes, determining the cache file corresponding to the matched cache file identification as a target cache file.
In one embodiment, the apparatus further comprises:
The acquisition module is also used for acquiring the file score of the cache file; the file score is calculated according to the initial score, the data quantity score and the time score;
the acquisition module is also used for acquiring the total data amount of the cache file;
and the deleting module is used for deleting the cache file corresponding to the file score smaller than the preset score threshold when the total data amount is larger than the total data amount threshold.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the streaming media file playing method when the processor executes the computer program.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the streaming media file playing method.
In the above embodiment, the computer device obtains the play link corresponding to the target streaming media file in the cloud server and extracts the file identifier corresponding to the target streaming media file from the play link. And determining a target cache file matched with the file identification in the locally stored cache file, reading the cache data segment from the target cache file and playing the cache data segment in a player. The computer equipment obtains the target cache file from the local and reads the cache data segment from the target cache file for playing, and the speed of obtaining the data is higher because the computer equipment obtains the data from the local for playing. The buffer data segments stored in the target buffer file are written into the target buffer file according to the sequence read out by the player from the target streaming media file, that is, the buffer data segments are formed according to the process read out by the player and have no fixed size. Therefore, when the computer equipment stores the cached data segment, the storage space is opened only according to the actual size of the cached data segment read by the player, and the redundant storage space is not required to be reserved according to the fixed size, so that the storage space is saved.
Drawings
FIG. 1a is a diagram of an application environment of a streaming media file playing method according to an embodiment;
FIG. 1b is a flowchart illustrating a method for playing a streaming media file according to an embodiment;
FIG. 2 is a schematic diagram of a video selection interface in a player according to one embodiment;
FIG. 3 is a schematic diagram of a player reading a data segment in one embodiment;
FIG. 4 is a flowchart of a method for obtaining a resume cache file according to an embodiment;
FIG. 5 is a schematic diagram of an additional playback link interface in a player according to one embodiment;
FIG. 6 is a block diagram illustrating a streaming media file playback apparatus according to an embodiment;
FIG. 7 is a block diagram illustrating a streaming media file playback apparatus according to another embodiment;
fig. 8 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The streaming media file playing method provided by the application can be applied to an application environment shown in fig. 1 a. The computer device 102 obtains a play link corresponding to the target streaming media file in the cloud server 104 and extracts a file identifier corresponding to the target streaming media file from the play link. And determining a target cache file matched with the file identification in the locally stored cache file, and reading the cache data segment from the target cache file to play in the player. The computer device 102 may be a terminal or a server. The terminal may be, but not limited to, various personal computers, notebook computers, smartphones, tablet computers and portable wearable devices, and the server may be implemented by a separate server or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 1b, a method for playing a streaming media file is provided, and the method is applied to the computer device in fig. 1a for illustration, and includes the following steps:
s102, the computer equipment acquires a playing link corresponding to the target streaming media file in the cloud server.
The cloud server is a virtual physical server formed by integrating computing, storing and network resources, and consists of a CPU, a memory, an operating system and a cloud hard disk. The cloud server may store the streaming media file in the cloud hard disk, and when receiving the video acquisition request, extract the streaming media file from the cloud hard disk and send the streaming media file to the requester through the network.
Wherein, the streaming media file is a file composed of compressed packets and capable of being transmitted in a streaming mode in a segmented mode in a network, and comprises a video stream, an audio stream, an image stream, an animation stream and the like. The streaming media file is formatted as RA (real-time sound), RM (real-time media of video or audio), RP (real-time image), etc. Because the streaming media file is composed of independent compressed packets, the computer device can start playing the acquired data by acquiring only part of the compressed packets of the streaming media file. The target streaming media file is a streaming media file to be played, which is interested by a user, and can be a video streaming file or an audio streaming file.
The playing link is a download address of the streaming media file in the cloud server, and may be a URL link or a BT seed, etc. In one embodiment, as shown in fig. 2, the computer device obtains a video selection instruction triggered in a video selection window of the player, and obtains a play link corresponding to the target streaming media file according to the video selection instruction.
S104, the computer equipment extracts the file identification corresponding to the target streaming media file from the play link.
The file identifier is an identifier of the streaming media file and is used for uniquely marking the streaming media file. The file identity may be a sequence of numbers or characters, such as 1120A20. In one embodiment, as shown in fig. 2, the computer device obtains a video selection instruction triggered by clicking on the video selection window, obtains a play link of video 4 from the video selection instruction, and then extracts a file identifier of video 4 from the play link of video 4.
S106, the computer equipment determines a target cache file matched with the file identification from the locally stored cache files; the target cache file is part of the target streaming media file.
The locally stored cache file is a file generated by caching the streaming media file in the cloud server by the computer equipment. The computer device may cache the played streaming media file, may cache the streaming media file that is not being played, and may also cache the streaming media file that is being played. The computer device may cache a portion of a streaming media file or may cache all of the data of the streaming media file.
Wherein matching with the file identity refers to being associated with the file identity. The target cache file is a file obtained by caching the target streaming media file, and belongs to a part of the target streaming media file, for example, the target cache file may include a video header and a part of video frames of the target streaming media file. The computer device may determine whether it matches the extracted file identity by the identity of the target cache file. For example, the identification of the target cache file may be the same as the extracted file identification, or have a certain mapping relationship.
S108, the computer equipment reads the cache data segment in the target cache file; the buffered data segments are data segments that the player reads from the target streaming media file and writes to the target buffered file in the order of reading.
Wherein the buffered data segment is a continuous segment of data in the buffered file. For example, the cached data segment may be data from 0 to 100k in the target cache file. The player reads data from the target streaming media file by taking the data segment as a unit, writes the read data segment into the target cache file, and the data segment written into the target cache file by the player is the cache data segment. Wherein the player is software capable of playing video or audio files stored in the form of digital signals. During video playback, even if played sequentially, the player may not read the data segments sequentially from the played streaming media file. For example, as shown in fig. 3, the player reads 0-100k of data from the streaming media file to form data segment 1, stores data segment 1 in the buffer file, jumps to 2100k, reads 2100-3000k of data to form data segment 2, stores data segment 2 in the buffer file, jumps to 800k, reads 800-2000k of data to form data segment 3, and so on.
In one embodiment, the player reads the data segment from the target streaming media file and stores the data segment in the target cache file when playing the target streaming media file. In another embodiment, for a target streaming media file that is not being played, the computer device performs one virtual play through the player, opens only the target streaming media file to read the data segments, does not decode and render, and then stores the read data segments in the target cache file.
S110, the computer equipment plays the cached data segment in the player.
After the computer equipment acquires the cached data segment, the cached data segment is played through a player. The data in the buffered data segment may be a compressed and encoded data packet, so the computer device first decompresses the data in the buffered data segment and then plays the data. If the data in the buffer data segment is the data multiplexed with the video and the audio, the computer equipment also demultiplexes the buffer data segment and plays the buffer data segment.
In the above embodiment, the computer device obtains the play link corresponding to the target streaming media file in the cloud server and extracts the file identifier corresponding to the target streaming media file from the play link. And determining a target cache file matched with the file identification in the locally stored cache file, reading the cache data segment from the target cache file and playing the cache data segment in a player. The computer equipment obtains the target cache file from the local and reads the cache data segment from the target cache file for playing, and the speed of obtaining the data is higher because the computer equipment obtains the data from the local for playing. The buffer data segments stored in the target buffer file are written into the target buffer file according to the sequence read out by the player from the target streaming media file, that is, the buffer data segments are formed according to the process read out by the player and have no fixed size. Therefore, when the computer equipment stores the cached data segment, the storage space is opened only according to the actual size of the cached data segment read by the player, and the redundant storage space is not required to be reserved according to the fixed size, so that the storage space is saved.
In one embodiment, the cache file comprises a continuous play cache file; the data segments in the continuous broadcasting cache file comprise continuous broadcasting video head data segments and continuous broadcasting video frame data segments; as shown in fig. 4, the method further comprises the steps of:
s402, when the player plays the streaming media file, the computer equipment acquires the continuous playing video head data segment read from the played streaming media file.
S404, the computer equipment writes the continuous playing video head data segment into the continuous playing buffer file.
And S406, when the playing is exited, the computer equipment records the playing exiting time and acquires the continuous playing video frame data segment in the period adjacent to the playing exiting time.
And S408, the computer equipment writes the continuous broadcasting video frame data segment into the continuous broadcasting buffer file.
The continuous playing cache file is a cache file obtained by caching streaming media files which are started to play but not played. For the streaming media file which is not played, after the play is exited, if the computer device is opened again, the player can directly start playing from the position of exiting the play.
The continuous playing video head data segment is a data segment composed of data in the video head of the streaming media file which is not played. The continuous playing video frame data segment is a data segment formed by data in video frames of the streaming media file which are not played. Wherein the time period adjacent to the exit playing time is a time period before the exit playing time and/or a time period after the exit playing time.
In one embodiment, the player, while playing the streaming media file, writes the video header of the played streaming media file to a buffer file and buffers the video frame being played. If the player exits the playback during the playback, the player records the exit playback time and may also delete the buffered video frames to save storage space. The computer device re-opens the streaming media file after exiting playing, but does not play in the player, but only reads the video frame data segment in the period adjacent to the exiting playing time and writes into the buffer file. The computer equipment sets a buffer area when playing the streaming media file so as to temporarily store the video frame data segments of the video frames being played, and can quickly acquire the video frame data segments in the time period adjacent to the exiting playing time from the buffer area when re-opening the streaming media file.
When the computer equipment exits the playing of the streaming media file, the continuous playing video head data segment and the continuous playing video frame data segment of the streaming media file which are not played when the computer equipment exits the playing are stored in the continuous playing cache file, and when the streaming media file which is not played is opened again, the continuous playing video head data segment and the continuous playing video frame data segment can be directly read from the continuous playing cache file which is stored locally to play, so that compared with the playing of the data of the streaming media file read from the cloud server, the time for reading the data is shortened, and the playing efficiency is improved. In addition, the probability of re-opening the streaming media file which exits from playing in the playing process is high, so that the streaming media file is cached, and the cache hit rate is improved.
In one embodiment, the cache file comprises a first active cache file; the method further comprises the steps of: the method comprises the steps that a computer device obtains a newly added playing link added to a player in a first target period; and caching the streaming media file corresponding to the newly added playing link to obtain a first active cache file.
Wherein the first target period is a period of time within a first time threshold from the current time. The newly added play link is a play link added to the player during the first target period. For example, as shown in fig. 5, the computer device obtains an instruction of the newly added play link triggered by clicking the "plus" control in the player, and adds the newly added play link to the newly added link list of the player according to the instruction. When the mouse clicks the playing link in the newly added link list, the player plays the streaming media file corresponding to the playing link in the playing window.
Since the streaming media file corresponding to the newly added play link added to the player in the first target period is the streaming media file of interest to the user. Therefore, the computer equipment caches the streaming media file corresponding to the newly added play link, and can play the streaming media file through the first active cache file when the streaming media file corresponding to the newly added play link is played, so that the speed of opening the streaming media file is improved. The computer equipment caches the streaming media files corresponding to the newly added playing links, so that the streaming media files interested by the user can be cached, the hit rate of the cache is improved, and the cache space is saved.
In one embodiment, the computer device caches the streaming media file corresponding to the newly added play link to obtain a first active cached file, including: reading a video header data segment and a video frame data segment in a streaming media file; the video frame data segment is a data segment read from a target video frame of the streaming media file; the target video frame comprises a start video frame of the streaming media file and a video frame of a preset frame number after the start video frame; and generating a first active cache file according to the video header data segment and the video frame data segment.
The video header data segment is a data segment formed by the player reading data in the video header of the streaming media file. The video header is the header of the video file, and information of the video file is recorded, including video frame rate, bit rate, sampling frequency and the like. The computer device can only decode and play the video file if the video header of the video file is acquired. The video frame data segment is a data segment formed by reading data in a target video frame of the streaming media file by the player.
The first active cache file generated by the computer device comprises a video header data segment and a video frame data segment of the streaming media file, wherein the video frame data segment is only a data segment in a target video frame. The computer device only caches part of the data in the streaming media file, so that the storage space can be saved.
In one embodiment, the cache file comprises a second active cache file; the method further comprises the steps of: the computer equipment determines the streaming media file played in the second target period; selecting a streaming media file to be recommended, wherein the streaming media file to be recommended has an association relation with the streaming media file; and caching the streaming media file and the streaming media file to be recommended to obtain a second active cache file.
Wherein the second target period is a period of time within a second time threshold from the current time. The second time threshold may be the same as the first time threshold or may be different from the first time threshold. The association relationship with the streaming media file may be the same type as the streaming media file, and the type may be the same style, the same director, the same subject, etc. In one embodiment, file names of the streaming media files and file names of the corresponding streaming media files to be recommended are stored in file catalogues of the cloud server, and the positions of the file names of the streaming media files to be recommended in the catalogues are adjacent to the file names of the streaming media files.
In one embodiment, the computer device obtains the video header data segments of the streaming media file and the streaming media file to be recommended and the video frame data segments for a period of time from the start point, and then stores the video header data segments and the video frame data segments in the buffer file.
Because the streaming media file played in the second target period is the streaming media file recently watched by the user, and the streaming media file to be recommended has an association relationship with the streaming media file played in the second target period, the user is interested in comparing the streaming media file to be recommended, and the computer equipment caches the streaming media file to be recommended, so that the streaming media file to be recommended can be quickly opened through the second active cache file when the streaming media file to be recommended is played, and the playing efficiency is improved.
In one embodiment, a computer device reads a cached data segment in a target cache file, comprising: obtaining a cache record file corresponding to the cache file; extracting file record information from the cache record file; and reading the cached data segment in the cached file according to the file record information.
The buffer record file is a file for recording information of the buffer file and the buffer data segment. The file record information comprises a flag bit, a version number, a corresponding original file size, the number of cache data segments, the position of a video head, the description of the data segments and the like of the cache file.
In one embodiment, in the cache record file, the computer device represents a flag bit with 4 bytes for marking whether the cache file is legal; the version number is represented by 4 bytes, e.g., the version number may be 1, 2, etc.; the size of an original file is represented by 8 bytes, and the original file is a streaming media file to be cached in a cloud server; the number of the cache data segments in the cache file is represented by 4 bytes; the video header position is represented by 8 bytes, which is the cut-off position of the video header in the cache file. For each buffered data segment in the buffered file, the computer device is described in the buffered record file with 24 bytes, respectively, the first 8 bytes specifying the start position of the buffered data segment in the buffered file, the second 8 bytes specifying the start position of the buffered data segment in the original file, and the third 8 bytes specifying the length of the buffered data segment.
The information of the cache file and the cache data segments is recorded in the cache record file, wherein the information comprises the position of the cache data segments in the original file and the size of each cache data segment, and the computer equipment can correctly read and play the cache data segments in the cache file through the cache record file.
In one embodiment, the method further comprises: acquiring file information of a cache file; the file information comprises a cache file identifier, a cache file size and a cache file creation time; storing the file information into a cache information file; determining a target cache file matched with the file identification in the locally stored cache files comprises the following steps: judging whether a cache file identifier matched with the file identifier exists in the cache information file; if yes, determining the cache file corresponding to the matched cache file identification as a target cache file.
The cache information file is a file for recording file information of the cache file, and may be an XML (Extensible Markup Language ) format file. The file information may also include the source of the cached file, the time the cached file was last used, and so on. The source of the cache file comprises a cache during playing and an active pre-cache. The buffer memory is used for buffering when the streaming media file is withdrawn from playing in the process of playing the streaming media file. Active pre-caching is the caching of streaming media files that are interesting to users who have not yet played.
Because the cache file identifiers of the cache files are recorded in the cache information files, the computer equipment judges whether the cache file identifiers matched with the file identifiers exist in the cache information files after acquiring the file identifiers. If the target streaming media file exists, the computer equipment is indicated to have cached the target streaming media file, and the target streaming media file can be opened quickly through caching the file.
The computer equipment records the cache file identification of each cache file through the cache information file, judges whether the target streaming media file is cached or not through the recorded cache file identification, and can quickly find the corresponding cache file through the cache file identification when the target streaming media file is cached.
In one embodiment, a computer device obtains a file score for a cached file; the file score is calculated according to the initial score, the data quantity score and the time score; acquiring the total data amount of the cache file; when the total data amount is larger than the total data amount threshold, deleting the cache file corresponding to the file score smaller than the preset score threshold.
The initial score is a set basic score according to whether the cache file is read or not. When the cache file is read, setting a higher initial score; when the cache file is not read, a lower initial score is set. The data amount score is a score deducted according to the size of the cache file and is proportional to the size of the cache file. The time score is a score deducted according to the last time the cache file was read, and the longer the last time the cache file was read is from the current time, the greater the time score is.
The total data amount of the cache files is the data amount of all the cache files stored locally by the computer equipment. When the total data amount is greater than the total data amount threshold, the computer equipment caches more cache files, occupies more storage space, and needs to delete part of the cache files to release the storage space.
When the cache files occupy more storage space, the computer equipment deletes partial cache files with lower file scores to release the storage space, so that the problem that new streaming media files cannot be cached due to insufficient space can be avoided.
It should be understood that, although the steps in the flowcharts of fig. 1b and 4 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 1b, 4 may comprise steps or phases, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed sequentially, but may be performed alternately or alternately with other steps or at least a part of the steps or phases in other steps.
In one embodiment, as shown in fig. 6, there is provided a streaming media file playing device, including: an acquisition module 602, an extraction module 604, a determination module 606, a data segment reading module 608, and a playback module 610, wherein:
the obtaining module 602 is configured to obtain a play link corresponding to a target streaming media file in the cloud server;
an extracting module 604, configured to extract a file identifier corresponding to the target streaming media file from the play link;
a determining module 606, configured to determine, from among locally stored cache files, a target cache file that matches the file identifier; the target cache file belongs to a part of the target streaming media file;
a data segment reading module 608, configured to read a cached data segment in the target cache file; the buffer data segment is a data segment which is read out from the target streaming media file by the player and written into the target buffer file according to the read-out sequence;
a playing module 610, configured to play the buffered data segment in the player.
In the above embodiment, the computer device obtains the play link corresponding to the target streaming media file in the cloud server and extracts the file identifier corresponding to the target streaming media file from the play link. And determining a target cache file matched with the file identification in the locally stored cache file, reading the cache data segment from the target cache file and playing the cache data segment in a player. The computer equipment obtains the target cache file from the local and reads the cache data segment from the target cache file for playing, and the speed of obtaining the data is higher because the computer equipment obtains the data from the local for playing. The buffer data segments stored in the target buffer file are written into the target buffer file according to the sequence read out by the player from the target streaming media file, that is, the buffer data segments are formed according to the process read out by the player and have no fixed size. Therefore, when the computer equipment stores the cached data segment, the storage space is opened only according to the actual size of the cached data segment read by the player, and the redundant storage space is not required to be reserved according to the fixed size, so that the storage space is saved.
In one embodiment, as shown in fig. 7, the cache file includes a continuous play cache file; the data segments in the continuous broadcasting buffer memory file comprise continuous broadcasting video head data segments and continuous broadcasting video frame data segments; the apparatus further comprises:
the obtaining module 602 is further configured to obtain a continuous-playing video header data segment read from the played streaming media file when the streaming media file is played by the player;
a writing module 612, configured to write the continuous playing video header data segment into a continuous playing cache file;
the obtaining module 602 is further configured to record an exit playing time when exiting playing, and obtain a continuous playing video frame data segment in a period adjacent to the exit playing time;
the writing module 612 is further configured to write the subsequent video frame data segment into the subsequent buffer file.
In one embodiment, the cache file comprises a first active cache file; the apparatus further comprises:
the obtaining module 602 is further configured to obtain a new play link added to the player in the first target period;
and the caching module 614 is configured to cache the streaming media file corresponding to the newly added play link to obtain a first active cache file.
In one embodiment, the buffering module 614 is further configured to:
reading a video header data segment and a video frame data segment in the streaming media file; the video frame data segment is a data segment read from a target video frame of the streaming media file; the target video frame comprises a starting video frame of the streaming media file and a video frame of a preset frame number after the starting video frame;
and generating a first active cache file according to the video header data segment and the video frame data segment.
In one embodiment, the cache file comprises a second active cache file; the apparatus further comprises:
the determining module 606 is configured to determine a streaming media file played in a second target period;
a selecting module 616, configured to select a streaming media file to be recommended that has an association relationship with the streaming media file;
the caching module 614 is further configured to cache the streaming media file and the streaming media file to be recommended to obtain a second active cache file.
In one embodiment, the data segment reading module 608 is further configured to:
obtaining a cache record file corresponding to the cache file;
extracting file record information from the cache record file;
And reading the cache data segment in the cache file according to the file record information.
In one embodiment, the apparatus further comprises:
the obtaining module 602 is further configured to obtain file information of the cached file; the file information comprises a cache file identifier, a cache file size and a cache file creation time;
a storage module 618, configured to store the file information into a cache information file;
the determining module 606 is further configured to:
judging whether a cache file identifier matched with the file identifier exists in the cache information file or not;
if yes, determining the cache file corresponding to the matched cache file identification as a target cache file.
In one embodiment, the apparatus further comprises:
the obtaining module 602 is further configured to obtain a file score of the cached file; the file score is calculated according to the initial score, the data quantity score and the time score;
the obtaining module 602 is further configured to obtain a total amount of data of the cache file;
the deleting module 620 is configured to delete the cached file corresponding to the file score less than the preset score threshold when the total data amount is greater than the total data amount threshold.
The specific limitation of the streaming media file playing device may be referred to the limitation of the streaming media file playing method hereinabove, and will not be described herein. The modules in the streaming media file playing device may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal or a server, and the computer device is taken as an example of a terminal, and the internal structure of the terminal may be shown in fig. 8. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program, when executed by a processor, implements a streaming media file playing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 8 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of: acquiring a playing link corresponding to a target streaming media file in a cloud server; extracting a file identifier corresponding to the target streaming media file from the play link; determining a target cache file matched with the file identification in the locally stored cache files; the target cache file is part of the target streaming media file; reading a cache data segment in a target cache file; the buffer data segment is a data segment which is read out from the target streaming media file by the player and written into the target buffer file according to the read-out sequence; and playing the cached data segment in the player.
In one embodiment, the data segments in the continuous broadcast buffer file include continuous broadcast video header data segments and continuous broadcast video frame data segments; the processor when executing the computer program also implements the steps of: the cache file comprises a continuous playing cache file; when a player plays a streaming media file, acquiring a continuous playing video head data segment read from the played streaming media file; writing the continuous broadcasting video head data segment into a continuous broadcasting cache file; when the playing is exited, recording the playing exiting time, and acquiring continuous playing video frame data segments in a period adjacent to the playing exiting time; writing the continuous broadcasting video frame data segment into the continuous broadcasting buffer file.
In one embodiment, the cache file comprises a first active cache file; the processor when executing the computer program also implements the steps of: acquiring a new playing link added to a player in a first target period; and caching the streaming media file corresponding to the newly added playing link to obtain a first active cache file.
In one embodiment, the processor when executing the computer program further performs the steps of: reading a video header data segment and a video frame data segment in a streaming media file; the video frame data segment is a data segment read from a target video frame of the streaming media file; the target video frame comprises a start video frame of the streaming media file and a video frame of a preset frame number after the start video frame; and generating a first active cache file according to the video header data segment and the video frame data segment.
In one embodiment, the cache file comprises a second active cache file; the processor when executing the computer program also implements the steps of: determining a streaming media file played in a second target period; selecting a streaming media file to be recommended, wherein the streaming media file to be recommended has an association relation with the streaming media file; and caching the streaming media file and the streaming media file to be recommended to obtain a second active cache file.
In one embodiment, the processor when executing the computer program further performs the steps of: obtaining a cache record file corresponding to the cache file; extracting file record information from the cache record file; and reading the cached data segment in the cached file according to the file record information.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring file information of a cache file; the file information comprises a cache file identifier, a cache file size and a cache file creation time; storing the file information into a cache information file; determining a target cache file matched with the file identification in the locally stored cache files comprises the following steps: judging whether a cache file identifier matched with the file identifier exists in the cache information file; if yes, determining the cache file corresponding to the matched cache file identification as a target cache file.
In one embodiment, the processor when executing the computer program further performs the steps of: obtaining a file score of a cache file; the file score is calculated according to the initial score, the data quantity score and the time score; acquiring the total data amount of the cache file; when the total data amount is larger than the total data amount threshold, deleting the cache file corresponding to the file score smaller than the preset score threshold.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring a playing link corresponding to a target streaming media file in a cloud server; extracting a file identifier corresponding to the target streaming media file from the play link; determining a target cache file matched with the file identification in the locally stored cache files; the target cache file is part of the target streaming media file; reading a cache data segment in a target cache file; the buffer data segment is a data segment which is read out from the target streaming media file by the player and written into the target buffer file according to the read-out sequence; and playing the cached data segment in the player.
In one embodiment, the data segments in the continuous broadcast buffer file include continuous broadcast video header data segments and continuous broadcast video frame data segments; the computer program when executed by the processor also performs the steps of: the cache file comprises a continuous playing cache file; when a player plays a streaming media file, acquiring a continuous playing video head data segment read from the played streaming media file; writing the continuous broadcasting video head data segment into a continuous broadcasting cache file; when the playing is exited, recording the playing exiting time, and acquiring continuous playing video frame data segments in a period adjacent to the playing exiting time; writing the continuous broadcasting video frame data segment into the continuous broadcasting buffer file.
In one embodiment, the cache file comprises a first active cache file; the computer program when executed by the processor also performs the steps of: acquiring a new playing link added to a player in a first target period; and caching the streaming media file corresponding to the newly added playing link to obtain a first active cache file.
In one embodiment, the computer program when executed by the processor further performs the steps of: reading a video header data segment and a video frame data segment in a streaming media file; the video frame data segment is a data segment read from a target video frame of the streaming media file; the target video frame comprises a start video frame of the streaming media file and a video frame of a preset frame number after the start video frame; and generating a first active cache file according to the video header data segment and the video frame data segment.
In one embodiment, the cache file comprises a second active cache file; the computer program when executed by the processor also performs the steps of: determining a streaming media file played in a second target period; selecting a streaming media file to be recommended, wherein the streaming media file to be recommended has an association relation with the streaming media file; and caching the streaming media file and the streaming media file to be recommended to obtain a second active cache file.
In one embodiment, the computer program when executed by the processor further performs the steps of: obtaining a cache record file corresponding to the cache file; extracting file record information from the cache record file; and reading the cached data segment in the cached file according to the file record information.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring file information of a cache file; the file information comprises a cache file identifier, a cache file size and a cache file creation time; storing the file information into a cache information file; determining a target cache file matched with the file identification in the locally stored cache files comprises the following steps: judging whether a cache file identifier matched with the file identifier exists in the cache information file; if yes, determining the cache file corresponding to the matched cache file identification as a target cache file.
In one embodiment, the computer program when executed by the processor further performs the steps of: obtaining a file score of a cache file; the file score is calculated according to the initial score, the data quantity score and the time score; acquiring the total data amount of the cache file; when the total data amount is larger than the total data amount threshold, deleting the cache file corresponding to the file score smaller than the preset score threshold.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (11)

1. A method for playing a streaming media file, the method comprising:
acquiring a playing link corresponding to a target streaming media file in a cloud server;
extracting a file identifier corresponding to the target streaming media file from the play link;
determining a target cache file matched with the file identification in the locally stored cache files; the target cache file belongs to a part of the target streaming media file; the cache file comprises a continuous broadcasting cache file written with a continuous broadcasting video head data segment and a continuous broadcasting video frame data segment; the continuous playing video header data segment is a data segment read from a video header of a streaming media file when the streaming media file is played; the continuous playing video frame data segment is a video frame data segment which is acquired when the streaming media file exits playing and is in a period adjacent to the exiting playing time;
Reading a cache data segment in the target cache file; the buffer data segment is a data segment which is read out from the target streaming media file by the player and written into the target buffer file according to the read-out sequence;
and playing the cached data segment in the player.
2. The method of claim 1, wherein the period of time adjacent to the exit playtime comprises a period of time prior to the exit playtime and/or a period of time after the exit playtime.
3. The method of claim 1, wherein the cache file comprises a first active cache file; the method further comprises the steps of:
acquiring a new play link added to the player within a first target period;
and caching the streaming media file corresponding to the newly added playing link to obtain a first active cache file.
4. The method of claim 3, wherein the caching the streaming media file corresponding to the newly added play link to obtain a first active cache file includes:
reading a video header data segment and a video frame data segment in the streaming media file; the video frame data segment is a data segment read from a target video frame of the streaming media file; the target video frame comprises a starting video frame of the streaming media file and a video frame of a preset frame number after the starting video frame;
And generating a first active cache file according to the video header data segment and the video frame data segment.
5. The method of claim 1 or 3 or 4, wherein the cache file comprises a second active cache file; the method further comprises the steps of:
determining a streaming media file played in a second target period;
selecting a streaming media file to be recommended, wherein the streaming media file to be recommended has an association relation with the streaming media file;
and caching the streaming media file and the streaming media file to be recommended to obtain a second active cache file.
6. The method of claim 1, wherein the reading the cached data segment in the target cache file comprises:
obtaining a cache record file corresponding to the cache file;
extracting file record information from the cache record file;
and reading the cache data segment in the cache file according to the file record information.
7. The method according to claim 1, wherein the method further comprises:
acquiring file information of the cache file; the file information comprises a cache file identifier, a cache file size and a cache file creation time;
storing the file information into a cache information file;
The determining the target cache file matched with the file identification in the locally stored cache files comprises the following steps:
judging whether a cache file identifier matched with the file identifier exists in the cache information file or not;
if yes, determining the cache file corresponding to the matched cache file identification as a target cache file.
8. The method according to claim 1, wherein the method further comprises:
acquiring a file score of the cache file; the file score is calculated according to the initial score, the data quantity score and the time score;
acquiring the total data amount of the cache file;
and deleting the cache file corresponding to the file score smaller than the preset score threshold when the total data amount is larger than the total data amount threshold.
9. A streaming media file playing device, the device comprising:
the acquisition module is used for acquiring a playing link corresponding to the target streaming media file in the cloud server;
the extraction module is used for extracting the file identification corresponding to the target streaming media file from the play link;
the determining module is used for determining a target cache file matched with the file identifier from locally stored cache files; the target cache file belongs to a part of the target streaming media file; the cache file comprises a continuous broadcasting cache file written with a continuous broadcasting video head data segment and a continuous broadcasting video frame data segment; the continuous playing video header data segment is a data segment read from a video header of a streaming media file when the streaming media file is played; the continuous playing video frame data segment is a video frame data segment which is acquired when the streaming media file exits playing and is in a period adjacent to the exiting playing time;
The data segment reading module is used for reading the cache data segment in the target cache file; the buffer data segment is a data segment which is read out from the target streaming media file by the player and written into the target buffer file according to the read-out sequence;
and the playing module is used for playing the cached data segment in the player.
10. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 8 when the computer program is executed.
11. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 8.
CN202110280798.XA 2021-03-16 2021-03-16 Streaming media file playing method and device, computer equipment and storage medium Active CN112954445B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110280798.XA CN112954445B (en) 2021-03-16 2021-03-16 Streaming media file playing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110280798.XA CN112954445B (en) 2021-03-16 2021-03-16 Streaming media file playing method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112954445A CN112954445A (en) 2021-06-11
CN112954445B true CN112954445B (en) 2023-05-12

Family

ID=76230097

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110280798.XA Active CN112954445B (en) 2021-03-16 2021-03-16 Streaming media file playing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112954445B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114679438B (en) * 2022-03-03 2024-04-30 上海艾策通讯科技股份有限公司 Streaming media data transmission method, device, computer equipment and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1992602A (en) * 2005-12-29 2007-07-04 盛趣信息技术(上海)有限公司 Method for implementing real-time broadcast to the downloaded multimedia file based on P2P network
CN105516115B (en) * 2015-12-02 2019-06-18 华为软件技术有限公司 A kind of method that channel quickly plays and user equipment (UE)
CN105898380A (en) * 2015-12-14 2016-08-24 乐视云计算有限公司 Rapid network video play starting method and device
CN106101843B (en) * 2016-06-06 2019-06-07 腾讯科技(北京)有限公司 The methods of exhibiting and device of rich media file
CN107547940B (en) * 2017-09-13 2019-11-12 广州酷狗计算机科技有限公司 Video playing processing method, equipment and computer readable storage medium
CN108763375A (en) * 2018-05-17 2018-11-06 上海七牛信息技术有限公司 A kind of media file caching method, device and multimedia play system
CN110493324A (en) * 2019-07-29 2019-11-22 咪咕视讯科技有限公司 Method for down loading, downloader and computer readable storage medium
CN110996134B (en) * 2019-12-23 2022-09-09 腾讯科技(深圳)有限公司 Video playing method, device and storage medium
CN112492341B (en) * 2020-11-30 2024-02-23 深圳前海微众银行股份有限公司 Live broadcast time shift caching method, device and system and computer readable storage medium

Also Published As

Publication number Publication date
CN112954445A (en) 2021-06-11

Similar Documents

Publication Publication Date Title
US10163135B2 (en) Combining user content with supplemental content at a data storage device
CN100512409C (en) Data processing apparatus and data processing method
CN102129474B (en) Method, device and system for retrieving video data
US7287222B2 (en) Information processing apparatus and method that determines effectiveness of metadata for editing information content
CN110418186B (en) Audio and video playing method and device, computer equipment and storage medium
JP6367334B2 (en) Video processing method, apparatus, and playback apparatus
JP2002541698A (en) Streaming information equipment with buffer read / write synchronization function
US11250888B1 (en) Flash memory and method for storing and retrieving embedded audio video data
CN109840879B (en) Image rendering method and device, computer storage medium and terminal
US20170123713A1 (en) Device and process for data storage and read/write efficiency
CN102932679A (en) Network video previewing system and method
CN109885577B (en) Data processing method, device, terminal and storage medium
CN112954445B (en) Streaming media file playing method and device, computer equipment and storage medium
CN110493324A (en) Method for down loading, downloader and computer readable storage medium
JPH09135412A (en) Recording and reproducing device
CN111163297A (en) Method for realizing high concurrency and quick playback of video monitoring cloud storage
US8213772B2 (en) Editing apparatus, editing method, and program
CN105824820A (en) Media file buffer memory method and device
US11956482B2 (en) Systems and methods for storing and delivering content assets
CN108831510A (en) Method, apparatus, terminal and the storage medium that audio-video document is got ready
CN111263195B (en) Barrage processing method and device, server equipment and storage medium
CN112866409B (en) Object transmission and collection method based on object storage fragment uploading and terminal equipment
CN112203031B (en) Digital video caching system and method
CN110636368A (en) Media playing method and device
CN103905475A (en) Playback method of network application client and system thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant