WO2017080428A1 - 流媒体频道录制、回看方法、装置、服务器及存储介质 - Google Patents

流媒体频道录制、回看方法、装置、服务器及存储介质 Download PDF

Info

Publication number
WO2017080428A1
WO2017080428A1 PCT/CN2016/104951 CN2016104951W WO2017080428A1 WO 2017080428 A1 WO2017080428 A1 WO 2017080428A1 CN 2016104951 W CN2016104951 W CN 2016104951W WO 2017080428 A1 WO2017080428 A1 WO 2017080428A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
small
channel
information
aggregate
Prior art date
Application number
PCT/CN2016/104951
Other languages
English (en)
French (fr)
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 WO2017080428A1 publication Critical patent/WO2017080428A1/zh

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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • 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/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • 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/4334Recording operations
    • 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/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
    • H04N21/4383Accessing a communication channel
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • 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/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Definitions

  • the present invention relates to the field of Internet video playback technologies, and in particular, to a streaming media channel recording method and device, a review method and device, a server, and a storage medium.
  • HLS Internet Live Streaming
  • IPTV Internet Protocol Television
  • a large-capacity media file is usually divided into a large number of small slice files, and stored in a file system in units of small slice files.
  • the small number of small slice files are transferred to the terminal, which caters to the file transfer characteristics of the web server, and uses a continuously updated lightweight index file to control the split small slice file. Download and play, both live and on-demand.
  • the introduction of file segmentation and index files also makes it easier to switch bandwidth between adaptive streams, server failover, and file encryption.
  • Each channel basically has 3 code rates. Each code rate generally generates a small slice in 10 seconds. The duration of the lookback is generally set to 7. day. According to the lowest code rate of 512Kbps, a total of 18144000 small slice files need to be stored, and the minimum file size is 640KB. A large number of small shard files are stored in the file system, causing the file system to store too many files, thereby increasing the storage requirements and costs for the file system.
  • the embodiment of the present invention provides a streaming media channel recording method and device, a back-viewing method and device, a server, and a storage medium, which solve the problem in the prior art that a large number of small fragment files are stored in a file system, resulting in a file.
  • the system stores too many files, which increases the technical requirements for the storage requirements and costs of the file system; and in the process of streaming media channel review, because the file system stores a large number of small fragment files, The technical problem that the reading speed of the disk is greatly reduced when the user obtains the small fragment file.
  • the present invention provides a streaming media channel recording method, including:
  • the obtained small fragment file is stored in the aggregate file according to a preset aggregation rule, where the aggregate file is stored in the file system; and the description information of the small fragment file in the aggregate file is stored in the information description library. .
  • the aggregation rule is any one of an accumulation play duration aggregation rule, a deposit fragment accumulation number aggregation rule, and a deposit fragment accumulation occupation byte aggregation rule.
  • the cumulative play duration aggregation rule is to store the small slice files into the aggregate file in turn, and the accumulated small slice files are accumulated and played.
  • the duration is equal to the preset cumulative play duration threshold, the subsequent small shard file is stored in the next aggregate file;
  • the aggregation rule of the fragment accumulation number is to store the small fragment files in the aggregate file in turn, and the accumulated number of the small fragment files stored is equal to the pre- When the cumulative number threshold is set, the subsequent small fragment file is stored in the next aggregate file;
  • the accumulation rule of the storage fragment is to store the small fragment file into the aggregate file in turn, when the small fragment is stored.
  • the file cumulative occupied byte is equal to the preset cumulative occupied byte threshold, the subsequent small slice file is stored in the next aggregate file.
  • the small fragment file when the small fragment file is stored in the aggregate file, it is sequentially stored in a byte offset.
  • the description information includes a channel number, a code rate, byte offset information in the aggregate file, a storage path of the small slice file, and a start and end time.
  • the method further includes: obtaining a preset validity period lookback duration threshold, and determining, according to the validity period lookback duration threshold value and the description information of each small fragment file, the lookback period in the valid period
  • the small fragment file is aged before the threshold, and the aggregate file corresponding to the aged small fragment file is deleted from the file system.
  • the invention also provides a streaming media channel review method, comprising:
  • the file location information includes a channel number, a code rate, and a start and end time;
  • the information description library includes description information of the small slice file in the aggregate file, and the description information includes a channel. Number, code rate, byte offset information in the aggregate file, storage path and start and end time of the small slice file;
  • the resource location information includes total byte offset and storage of the first small slice file According to the file location information, the resource location information of the corresponding small fragment file in the file system is located from the information description library, including:
  • the present invention also provides a streaming media channel recording apparatus, including:
  • Obtaining a module configured to obtain a corresponding small fragment file from the streaming media source station according to the recording task;
  • a processing module configured to store the obtained small fragment file in an aggregate file according to a preset aggregation rule, where the aggregate file is stored in a file system; and store the description information of the small fragment file in the aggregate file In the information description library.
  • the processing module includes:
  • Selecting a sub-module configured to select the one of the small slice files using the cumulative play duration aggregation rule, the accumulated fragment accumulation number aggregation rule, and the storage fragment accumulation occupation byte aggregation rule stored in the aggregation file;
  • the processing submodule is configured to store the small fragment file according to the aggregation rule selected by the selection submodule.
  • the processing submodule includes:
  • the first processing unit is configured to store the small fragment file into the aggregate file according to the byte offset according to the cumulative play duration aggregation rule selected by the selection submodule, when the deposited small fragment When the accumulated play duration of the file is equal to the preset cumulative play duration threshold, the subsequent small slice file is stored in the next aggregate file;
  • the second processing unit is configured to store the small fragment file in the aggregate file according to the byte offset according to the accumulated fragment aggregation rule selected by the selection sub-module, and store the small fragment file.
  • the accumulated number is equal to the preset cumulative number threshold, the subsequent small shard file is stored in the next aggregate file;
  • the third processing unit is configured to store the small fragment file into the aggregate file according to the byte offset according to the accumulated fragmentation occupation byte aggregation rule selected by the selection submodule, and when the small fragment is stored When the file cumulative occupied byte is equal to the preset accumulated occupied byte threshold, the subsequent small slice file is stored in the next aggregate file.
  • the invention also provides a streaming media channel review device, comprising:
  • a receiving module configured to receive a channel review request sent by the terminal, where the channel lookback request includes file location information
  • a locating module configured to locate a corresponding small shard file in the file system from the information description library obtained by the streaming channel recording device according to any one of claims 9 to 11 according to the file location information Resource location information in ;
  • the sending module is configured to send the resource location information to the terminal, so that the terminal acquires a corresponding small fragment file for playing.
  • the file location information includes a channel number, a code rate, and a start and end time
  • the information description library includes description information of the small slice file in the aggregate file, and the description information includes a channel. Number, code rate, byte offset information in the aggregate file, storage path and start and end time of the small slice file
  • the resource location information includes total byte offset and storage of the first small slice file a path
  • the positioning module further includes:
  • a first positioning sub-module configured to match a channel number in the file positioning information with a channel number of the information in the information description library, to obtain a small fragment file description letter under the channel interest
  • a second positioning sub-module configured to match a code rate in the file location information with a code rate in the small slice file description information of the channel, to obtain a small fragment file of the channel at the code rate Description;
  • a third positioning sub-module configured to match a start and end time in the file location information with a start and end time in the small slice file description information of the channel at the code rate, to obtain a start and stop time of the channel rate of the channel Small piece file description information in the segment;
  • a fourth positioning sub-module configured to calculate the byte offset information and the small slice file storage path in each small slice file description information in the start and end time period according to the code rate of the channel
  • the channel has a total byte offset of the small slice file in the start and end time period, and finds a storage path of the first small slice file in the start and end time period of the channel rate of the channel;
  • the fifth positioning submodule is configured to locate a specific location of the corresponding small fragment file from the file system according to the total byte offset and the storage path of the first small fragment file.
  • the present invention finally provides a server comprising: the streaming media channel recording device according to any one of claims 9 to 11 and the streaming media channel review device according to claim 12 or 13;
  • the recording device stores the acquired small fragment file in an aggregate file according to a preset aggregation rule, where the aggregate file is stored in the file system, and the description information of the corresponding small fragment file in the aggregate file is stored in the information.
  • Description library
  • the review device After receiving the channel review request sent by the terminal, the review device obtains the small slice file description information corresponding to the terminal request from the information description library according to the channel review request, and according to the obtained description The information locates the resource location information of the corresponding small fragment file in the file system, and sends the resource location information to the terminal for the terminal to acquire the corresponding small fragment file for playing.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions for executing the streaming media channel recording described above. Method or streaming channel lookback method.
  • the streaming media channel recording method and device, the review method and device, the server and the computer storage medium provided by the present invention after obtaining the corresponding small fragment file from the streaming media source station according to the recording task, the obtained small fragment file
  • the aggregated file is stored in the file system according to the preset aggregation rule, and the aggregated file is stored in the file system, and the corresponding description information of the small slice file in the aggregate file is stored in the information description library.
  • the small fragment files are aggregated into the aggregate file according to the preset aggregation rule, and are stored in the file system in units of aggregate files, that is, the plurality of small fragment files are integrated into one large file for storage by using the aggregate file.
  • FIG. 1 is a flowchart of a method for recording a streaming media channel according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic diagram of file storage comparison before and after aggregation of small fragment files in a file system according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic diagram of an aging deletion process of an aggregate file according to Embodiment 1 of the present invention.
  • FIG. 4 is a flowchart of a streaming media channel review method according to Embodiment 2 of the present invention.
  • FIG. 5 is a flowchart of information matching in a file system and an information description library according to a terminal request according to Embodiment 2 of the present invention
  • FIG. 6 is a schematic diagram of a streaming media channel recording apparatus according to Embodiment 3 of the present invention.
  • FIG. 7 is a schematic diagram of a streaming media channel review device according to Embodiment 4 of the present invention.
  • FIG. 8 is a schematic diagram of a server according to Embodiment 5 of the present invention.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • FIG. 1 is a flowchart of a method for recording a streaming media channel according to an embodiment of the present invention.
  • the specific steps of the streaming media channel recording method are as follows:
  • the obtained small fragment file is stored in an aggregate file according to a preset aggregation rule, and the aggregate file is stored in a file system; and the description information of the small fragment file in the aggregate file is stored in the information description.
  • the library In the library.
  • the small fragment file when the small fragment file is recorded, the small fragment file is stored into the aggregate file according to the preset aggregation rule, and the small fragment file is stored in the file system as an aggregate file. It reduces the number of files required for recording, and it is also convenient to find a suitable file system to store recorded files.
  • information description library mentioned above can be stored in the file system, or in the database or elsewhere.
  • the recording task mentioned above is obtained from the management device, and the recording task is stored in the information description library, and all the recording information is periodically obtained from the information description library; the recording task includes the channel number and the streaming media source.
  • the main index file address information of the station is obtained by the channel number and the main index address information of the streaming media source station, and the main index file is parsed to obtain the code rate information and the sub-index file download address information under the channel;
  • the sub-index file downloads the address information, and obtains each sub-index file under the code rate of the channel; parses each sub-index file to obtain the download address information of each small slice file at the code rate of the channel, and finally accesses each small score in turn. Download the address information of the slice file to get the small slice file.
  • the preset aggregation rule has an accumulation play duration aggregation rule, a deposit fragment accumulation number aggregation rule, and a deposit fragment accumulation occupation byte aggregation rule.
  • the small slice file is sequentially stored in the aggregate file, and when the accumulated small slice file cumulative play duration is equal to the preset cumulative play duration threshold, the subsequent small slice file is stored in the next aggregate.
  • the small fragment file is sequentially stored in the aggregate file for the accumulated number of aggregation rules, and the subsequent small points are added when the accumulated number of small fragment files is equal to the preset cumulative number threshold.
  • the slice file is stored in the next aggregate file; for the accumulated fragment-occupied byte aggregation rule, the small slice file will be sequentially stored in the aggregate file, and the accumulated occupied bytes of the deposited small slice file are equal to the preset accumulation.
  • the byte threshold is occupied
  • the subsequent small slice file is stored in the next aggregate file.
  • the above thresholds can be configured according to actual conditions.
  • the above three preset aggregation rules are to aggregate a plurality of small fragment files into one large file for storage.
  • the aggregation rule is not limited to the above three types. The aggregation may be performed in other manners, and the aggregation mechanism is similar. For other aggregation rules, it is also within the scope of protection of this embodiment, and details are not described herein again.
  • the small slice file is stored using an aggregation rule that accumulates the play duration.
  • FIG. 2 is a schematic diagram of file storage comparison before and after aggregation of small fragment files in the file system according to the embodiment.
  • the prior art stores the small slice file directly in the file system, and in this embodiment, multiple small slice files are integrated into a large file through the aggregate file and stored in the file system, thereby reducing each file system. The number of files.
  • the small fragment file is sequentially stored in the aggregate file according to the byte offset, and the storage manner is as follows:
  • the starting value of the first small shard file is 0, the byte offset of all small shard files is 2, the first small shard file is stored in the aggregate file, and the second small score is The slice file is stored therein, the starting value of the small slice file is 2, and so on, until the aggregate file reaches the system-set storage threshold N.
  • the file, the starting value of the first small fragment file in the aggregate file is still 0.
  • each small fragment file is sequentially stored in the newly created aggregate file until the aggregate file reaches The storage threshold N set by the system.
  • the manner in which the small fragment file is stored according to the byte offset is not limited to the above manner, and the small fragment file may be stored in a byte offset by other methods. For other storage methods, it is also protected in this embodiment. Within the scope of this, it will not be described in detail here.
  • the description information mentioned in S12 includes a channel number, a code rate, byte offset information in the aggregate file, a storage path of the small slice file, and a start and end time, and the information is used to interact with the end user. When you need, you can retrieve the information you need quickly and easily.
  • FIG. 3 is a schematic diagram of an aging deletion process of an aggregate file according to the embodiment.
  • the lookup time of the aggregated file is 4 days
  • Day1 stores A small fragment file
  • the current lookback time is 5 days. Therefore, it is necessary to aging to delete the aggregate file in Day1, that is, when the recording is aggregated. If the file exceeds the length of the system configuration, the aging process deletes the description file of the corresponding shard file in the aggregate file and the information description library.
  • the specific aging deletion process is as follows:
  • Obtaining a preset validity period lookback time threshold determining, according to the validity period lookback time threshold value and the description information of each small fragment file, an aging small fragment file before the validity period review time duration threshold, and The aggregate file corresponding to the aging small slice file is deleted in the file system; the aging small slice file is a file that needs to be deleted after the validity period threshold is exceeded.
  • the F4 aggregate file spans Day1 and Day2.
  • the fragmentation file the corresponding description information is also deleted by aging. That is, according to the start and end time of the corresponding small fragment file description information, it is determined which small fragment files need to be deleted by aging; when the aggregate file is just aged and deleted, it is determined according to the end time of the last small fragment file playback.
  • the aggregate file needs to be deleted by aging.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • FIG. 4 is a flowchart of a streaming media channel review method according to an embodiment of the present invention.
  • This embodiment describes the streaming media channel review method based on the first embodiment.
  • the specific steps are as follows:
  • the present embodiment locates the small fragment file description information required by the terminal by matching the small fragment file and the description information stored in the first embodiment, so that the terminal can accurately obtain the required small fragment file for playing. , thereby improving the disk input/output throughput of the streaming channel lookback service.
  • the file location information mentioned in the foregoing steps includes a channel number, a code rate, and a start and stop time;
  • the information description library includes description information of the small slice file in the aggregate file, and the description information includes a channel number, a code rate, and The byte offset information in the aggregate file, the storage path of the small slice file, and the start and end time;
  • the resource location information includes the total byte offset and the storage path of the first small slice file.
  • the total byte offset here refers to finding the corresponding small fragment description information in the information description library according to the request sent by the terminal, and describing the byte offset information in the information through the first small fragment file and The byte offset in the description information of the last small slice file obtains the total byte offset information of the small slice file requested by the terminal.
  • FIG. 5 is a flowchart of information matching in the file system and the information description library according to the terminal request provided by the present embodiment.
  • the specific steps for matching this information are as follows:
  • the specific location of the corresponding small fragment file is located from the file system according to the total byte offset and the storage path of the first small fragment file.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • FIG. 6 is a schematic diagram of a streaming media channel recording apparatus according to an embodiment of the present invention.
  • the streaming channel recording device includes:
  • the obtaining module 61 is configured to obtain a corresponding small fragment file from the streaming media source station according to the recording task;
  • the processing module 62 is configured to store the obtained small fragment file in an aggregate file according to a preset aggregation rule, where the aggregate file is stored in the file system, and the description information of the small fragment file in the aggregate file is Stored in the information description library.
  • the information description library can be stored in the file system, in the database or in other places.
  • the recording task is obtained from the management device, including a channel number and a source channel primary index file address information of the streaming media channel, and the channel number is obtained through the channel number and the source index address of the streaming source source station.
  • the main index file is parsed, and the main index file is parsed to obtain the code rate information and the sub-index file download address information under the channel; according to the sub-index file download address information, each sub-index file under the code rate of the channel is obtained;
  • Each sub-index file is parsed, and the download address information of each small slice file at the code rate of the channel is obtained, and finally, the download address information of each small slice file is sequentially accessed to obtain a small slice file.
  • processing module 62 includes:
  • the selecting sub-module 621 is configured to select, in the small-slice file, which of the aggregation rules, the accumulated accumulation duration aggregation rule, the deposited fragment accumulation number aggregation rule, and the deposited fragment cumulative occupation byte aggregation rule are stored in the aggregation rule.
  • Aggregate file
  • the processing sub-module 622 is configured to store the small fragment file according to the aggregation rule selected by the selection sub-module 621.
  • the above three preset aggregation rules are to aggregate a plurality of small fragment files into one large file for storage.
  • the aggregation rule is not limited to the above three types, and may be aggregated by other methods, and the aggregation mechanism is similar to other The aggregation rule is also within the scope of protection of this embodiment, and details are not described herein again.
  • processing submodule 622 includes:
  • the first processing unit 6221 is configured to store the small fragment file into the aggregate file according to the byte offset according to the cumulative play duration aggregation rule selected by the selection sub-module 621, and when the stored small fragment file is accumulated, When the duration is equal to the preset cumulative play duration threshold, the subsequent small shard file is stored in the next aggregate file;
  • the second processing unit 6222 is configured to store the small fragment file in the aggregate file according to the byte offset according to the accumulated fragment aggregation rule selected by the selection sub-module 621, and store the small score.
  • the accumulated number of slice files is equal to the preset cumulative number threshold, the subsequent small slice files are stored in the next aggregate file;
  • the third processing unit 6223 is configured to store the slice according to the selection submodule 621 Accumulate the byte aggregation rule, and store the small fragment file in the aggregate file according to the byte offset. When the accumulated small fragment file is occupied by the preset cumulative occupied byte threshold, it will be small. The shard file is saved in the next aggregate file. In this embodiment, preferably, the small slice file is stored by the first processing unit 6221.
  • the small fragment files are sequentially stored into the aggregate file according to the byte offset, and the storage manner is as follows: It is assumed that the starting value of the first small fragment file is 0, and all the small fragment files are The byte offset is 2, the first small slice file is stored in the aggregate file, and the second small slice file is stored therein, the small slice file starts with a value of 2, and so on until The aggregate file reaches the storage threshold N set by the system. Create another aggregate file and continue to save the subsequent small slice file to the newly created aggregate file. The initial value of the first small slice file in the aggregate file is still 0. According to the storage mode of the previous aggregate file, Each small fragment file is stored in the newly created aggregate file until the aggregate file reaches the system-set storage threshold N.
  • the manner in which the small fragment file is stored according to the byte offset is not limited to the above two methods, and the small fragment file may be stored in a byte offset manner by other means, and other storage methods are also used. Within the scope of protection of this embodiment, details are not described herein again.
  • Obtaining a preset validity period lookback time threshold determining, according to the validity period lookback time threshold value and the description information of each small fragment file, an aging small fragment file before the validity period review time duration threshold, and The aggregate file corresponding to the aging small slice file is deleted in the file system; the aging small slice file is a file that needs to be deleted after the validity period threshold is exceeded.
  • the F4 aggregate file spans Day1 and Day2. Only the small fragment file in the Day1 part is deleted, and the corresponding description information needs to be deleted. That is, according to the start and end time of the corresponding small fragment file description information, it is determined which small fragment files need to be deleted by aging; when the aggregate file is just aged and deleted, it is determined according to the end time of the last small fragment file playback. The aggregate file needs to be deleted by aging.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • FIG. 7 is a schematic diagram of a streaming media channel review device according to an embodiment of the present invention.
  • the streaming media channel review device includes:
  • the receiving module 71 is configured to receive a channel review request sent by the terminal, where the channel lookback request includes file location information;
  • the locating module 72 is configured to locate, according to the file location information, a corresponding small shard file from the information description library obtained by the streaming channel recording device according to any one of claims 9-11 Resource location information in the system;
  • the sending module 73 is configured to send the resource location information to the terminal, so that the terminal acquires a corresponding small fragment file for playing.
  • the file location information includes a channel number, a code rate, and a start and end time
  • the information description library includes description information of the small slice file in the aggregate file, and the description information includes a channel number, a code rate, and a word in the aggregate file.
  • the resource location information includes the total byte offset and the storage path of the first small slice file. For the total byte offset, according to the request sent by the terminal, the corresponding small fragment description information is found in the information description library, and the byte offset information in the information is described by the first small fragment file and the last small The byte offset in the description information of the fragment file obtains the total byte offset information of the small fragment file requested by the terminal.
  • the positioning module 72 further includes:
  • the first positioning sub-module 721 is configured to match the channel number in the file positioning information with the channel number of the description information in the information description library, to obtain a small fragment file description in the channel. information;
  • the second locating sub-module 722 is configured to match a code rate in the file location information with a code rate in the small slice file description information of the channel, to obtain a small slice at the code rate of the channel.
  • File description information
  • the third locating sub-module 723 is configured to match the start and end time in the file location information with the start and end time in the small slice file description information of the channel at the code rate, to obtain the code rate of the channel.
  • the fourth locating sub-module 724 is configured to calculate a byte offset information and a small shard file storage path in each small slice file description information in the start and end time period according to the code rate of the channel. Describe the total byte offset of the small slice file in the start and end time period of the channel, and find the storage path of the first small slice file in the start and end time period of the code rate of the channel;
  • the fifth locating sub-module 725 is configured to locate a specific location of the corresponding small shard file from the file system according to the total byte offset and the storage path of the first small shard file.
  • Embodiment 5 is a diagrammatic representation of Embodiment 5:
  • FIG. 8 is a schematic diagram of a server provided by an embodiment.
  • the server includes a streaming channel recording device and a review device.
  • the recording device stores the recording task acquired from the management device into the information description library, and periodically acquires all the recording information from the information description library, and then obtains the main index file according to the recording information, and sequentially obtains the sub-index file, and A small shard file in a subindex file. Then, the recording device stores the obtained small fragment file in an aggregate file according to a preset aggregation rule, where the aggregate file is stored in the file system, and the description information of the corresponding small fragment file in the aggregate file is stored in the file.
  • Information description library
  • the viewing device After receiving the channel review request sent by the terminal, the viewing device obtains the small fragment file description information corresponding to the terminal request from the information description library according to the channel review request established according to the channel review request. And positioning the corresponding small segmentation text according to the obtained description information The resource location information in the file system is sent to the terminal for the terminal to acquire a corresponding small slice file for playing.
  • the embodiment further provides a system including a management device, a recording device, and a review device;
  • the management device sends a channel recording message to the recording device
  • the recording device records the live stream of the streaming media channel according to the channel recording message, and stores the recorded content in the file system and the information description library;
  • the lookback device finds the description information corresponding to the small fragment file requested by the user from the information description library, and then finds the corresponding small fragment file from the file system according to the description information, and sends the corresponding small fragment file to the end user for playing.
  • the obtaining module, the processing module, the receiving module, the positioning module and the sending module in the streaming channel review device can be implemented by a processor, and may also be implemented by a specific Logic circuit implementation; in practical applications, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA).
  • the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA).
  • the streaming media channel recording method or the streaming media channel viewing method is implemented in the form of a software function module, and is sold or used as a separate product, it may also be stored in a computer readable storage medium.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • program codes such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program for performing the above-mentioned streaming media channel recording method or streaming media channel review method according to an embodiment of the present invention. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明公开了一种流媒体频道录制方法及装置、回看方法及装置、服务器及存储介质,根据录制任务从流媒体源站获取到对应的小分片文件后,将获取到的小分片文件按照预设聚合规则存入聚合文件中,聚合文件存储于文件***,并且将所述小分片文件在聚合文件中对应的描述信息存入信息描述库中。通过聚合文件将多个小分片文件整合成一个大的文件进行存储,从而减少了文件***中存储的文件数目,降低了对该***的存储要求和成本。

Description

流媒体频道录制、回看方法、装置、服务器及存储介质 技术领域
本发明涉及互联网视频播放技术领域,尤其涉及一种流媒体频道录制方法及装置、回看方法及装置、服务器及存储介质。
背景技术
苹果公司提出的互联网电视流媒体(HTTP Live Streaming,HLS)规范,已经大量运用在HLS频道直播业务上,同时各种传统网络电视(Internet Protocol Television,IPTV)的频道时移回看业务也用HLS进行了实现。
现有技术中,在对HLS频道直播码流进行录制时,通常将容量巨大的媒体文件分割成数量众多的小分片文件,并以小分片文件为单位存入文件***。在进行HLS频道回看时,将划分成数量众多的小分片文件传递给终端,迎合了网页服务器的文件传输特性,并且采用一个不断更新的轻量级索引文件来控制分割后小分片文件的下载和播放,可同时支持直播和点播。此外,文件分割和索引文件的引入也使得带宽在自适应码流间切换、服务器故障冗余切换和文件加密保护等变得更加方便。
但是HLS频道回看业务常规情况下常常需要部署100多个频道,每个频道基本上有3个码率,每个码率一般10秒中生成一个小分片,回看的时长一般设置为7天。按照最低码率512Kbps计算,则总共需要存放18144000个小分片文件,最小文件大小是640KB。大量的小分片文件存入文件***,导致文件***存储了过多的文件数目,从而提高了对该文件***的存储要求和成本。此外,在进行流媒体频道回看的过程中,因为文件***存入大量的小分片文件,使得用户在获取小分片文件时磁盘的读取速度大大降低,基本上只能发挥一半的数据吞吐能力;同时在进行信息检索时因为文件数 量过大,导致检索效率较低,相应的检索准确率也受到很大影响。
发明内容
有鉴于此,本发明实施例提供一种流媒体频道录制方法及装置、回看方法及装置、服务器及存储介质,解决了现有技术中将大量的小分片文件存入文件***,导致文件***存储了过多的文件数目,从而提高了对该文件***的存储要求和成本的技术问题;以及在进行流媒体频道回看的过程中,因为文件***存入大量的小分片文件,使得用户在获取小分片文件时磁盘的读取速度大大降低的技术问题。
为解决上述技术问题,本发明提供一种流媒体频道录制方法,包括:
根据录制任务从流媒体源站获取对应的小分片文件;
将获取的小分片文件按预设聚合规则存储于聚合文件中,所述聚合文件存储于文件***;并将所述小分片文件在所述聚合文件中的描述信息存储于信息描述库中。
在本发明一种实施例中,所述聚合规则为累积播放时长聚合规则、存入分片累积个数聚合规则和存入分片累积占用字节聚合规则中的任意一种。
在本发明一种实施例中,所述聚合规则为累积播放时长聚合规则时,所述累积播放时长聚合规则为将小分片文件依次存入聚合文件,当存入的小分片文件累积播放时长等于预设累积播放时长阈值时,将后续的小分片文件存入下一聚合文件中;
所述聚合规则为存入分片累积个数聚合规则时,所述分片累积个数聚合规则为将小分片文件依次存入聚合文件,当存入的小分片文件累积个数等于预设累积个数阈值时,将后续的小分片文件存入下一聚合文件中;
所述聚合规则为存入分片累积占用字节聚合规则时,所述存入分片累积占用字节聚合规则为将小分片文件依次存入聚合文件,当存入的小分片 文件累积占用字节等于预设累积占用字节阈值时,将后续的小分片文件存入下一聚合文件中。
在本发明一种实施例中,将所述小分片文件存储于所述聚合文件中时,依次按照字节偏移量进行存储。
在本发明一种实施例中,所述描述信息包括频道号、码率、在聚合文件中的字节偏移量信息、小分片文件的存储路径和起止时间。
在本发明一种实施例中,还包括:获取预设的有效期回看时长阈值,根据所述有效期回看时长阈值和所述各小分片文件的描述信息确定出在所述有效期回看时长阈值之前的老化小分片文件,并从所述文件***中删除与所述老化小分片文件对应的聚合文件。
本发明还提供了一种流媒体频道回看方法,包括:
接收终端发送的频道回看请求,所述频道回看请求包括文件定位信息;
根据所述文件定位信息,从通过如权利要求1-6任一项所述的流媒体频道录制方法得到的信息描述库中定位出对应的小分片文件在所述文件***中的资源位置信息;
将所述资源位置信息发送给所述终端以供该终端获取对应的小分片文件进行播放。
在本发明一种实施例中,所述文件定位信息包括频道号、码率和起止时间;所述信息描述库包括小分片文件在所述聚合文件中的描述信息,所述描述信息包括频道号、码率、在聚合文件中的字节偏移量信息、小分片文件的存储路径和起止时间;所述资源位置信息包括总字节偏移量和第一个小分片文件的存储路径;根据所述文件定位信息,从信息描述库中定位出对应的小分片文件在所述文件***中的资源位置信息包括:
将所述文件定位信息中的频道号与所述信息描述库中描述信息的频道号进行匹配,得到该频道下的小分片文件描述信息;
将所述文件定位信息中的码率与所述该频道下的小分片文件描述信息中的码率进行匹配,得到该频道该码率下的小分片文件描述信息;
将所述文件定位信息中的起止时间与所述该频道该码率下的小分片文件描述信息中的起止时间进行匹配,得到该频道该码率该起止时间段内的小分片文件描述信息;
根据所述该频道该码率该起止时间段内的每个小分片文件描述信息中的字节偏移量信息和小分片文件存储路径,计算出所述该频道该码率该起止时间段内小分片文件的总字节偏移量,并查找出所述该频道该码率该起止时间段内第一个小分片文件的存储路径;
根据所述总字节偏移量和第一个小分片文件的存储路径,从所述文件***中定位出对应的小分片文件的具***置。
此外,本发明还提供了一种流媒体频道录制装置,包括:
获取模块,配置为根据录制任务从流媒体源站获取对应的小分片文件;
处理模块,配置为将获取的小分片文件按预设聚合规则存储于聚合文件中,所述聚合文件存储于文件***;并将所述小分片文件在所述聚合文件中的描述信息存储于信息描述库中。
在本发明一种实施例中,所述处理模块包括:
选择子模块,配置为选择所述小分片文件采用累积播放时长聚合规则、存入分片累积个数聚合规则和存入分片累积占用字节聚合规则中的哪一种聚合规则存储于聚合文件;
处理子模块,配置为根据所述选择子模块选择的聚合规则,对小分片文件进行存储。
在本发明一种实施例中,所述处理子模块包括:
第一处理单元,配置为根据所述选择子模块选择的累积播放时长聚合规则,将小分片文件依次按照字节偏移量存入聚合文件,当存入的小分片 文件累计播放时长等于预设累积播放时长阈值时,将后续的小分片文件存入下一聚合文件中;
第二处理单元,配置为根据所述选择子模块选择的存入分片累积个数聚合规则,将小分片文件依次按照字节偏移量存入聚合文件,当存入的小分片文件累积个数等于预设累积个数阈值时,将后续的小分片文件存入下一聚合文件中;
第三处理单元,配置为根据所述选择子模块选择的存入分片累积占用字节聚合规则,将小分片文件依次按照字节偏移量存入聚合文件,当存入的小分片文件累积占用字节等于预设累计占用字节阈值时,将后续的小分片文件存入下一聚合文件中。
本发明还提供了一种流媒体频道回看装置,包括:
接收模块,配置为接收终端发送的频道回看请求,所述频道回看请求包括文件定位信息;
定位模块,配置为根据所述文件定位信息,从通过如权利要求9-11任一项所述的流媒体频道录制装置得到的信息描述库中定位出对应的小分片文件在所述文件***中的资源位置信息;
发送模块,配置为将所述资源位置信息发送给所述终端以供该终端获取对应的小分片文件进行播放。
在本发明一种实施例中,所述文件定位信息包括频道号、码率和起止时间;所述信息描述库包括小分片文件在所述聚合文件中的描述信息,所述描述信息包括频道号、码率、在聚合文件中的字节偏移量信息、小分片文件的存储路径和起止时间;所述资源位置信息包括总字节偏移量和第一个小分片文件的存储路径;所述定位模块还包括:
第一定位子模块,配置为将所述文件定位信息中的频道号与所述信息描述库中描述信息的频道号进行匹配,得到该频道下的小分片文件描述信 息;
第二定位子模块,配置为将所述文件定位信息中的码率与所述该频道下的小分片文件描述信息中的码率进行匹配,得到该频道该码率下的小分片文件描述信息;
第三定位子模块,配置为将所述文件定位信息中的起止时间与所述该频道该码率下的小分片文件描述信息中的起止时间进行匹配,得到该频道该码率该起止时间段内的小分片文件描述信息;
第四定位子模块,配置为根据所述该频道该码率该起止时间段内的每个小分片文件描述信息中的字节偏移量信息和小分片文件存储路径,计算出所述该频道该码率该起止时间段内小分片文件的总字节偏移量,并查找出所述该频道该码率该起止时间段内第一个小分片文件的存储路径;
第五定位子模块,配置为根据所述总字节偏移量和第一个小分片文件的存储路径,从所述文件***中定位出对应的小分片文件的具***置。
本发明最后提供了一种服务器,包括:如权利要求9至11任一项所述的流媒体频道录制装置和如权利要求12或13所述的流媒体频道回看装置;
所述录制装置将获取的小分片文件按预设聚合规则存储于聚合文件中,所述聚合文件存储于文件***中,并将对应的小分片文件在聚合文件中的描述信息存储于信息描述库中;
所述回看装置接收到终端发送的频道回看请求后,根据所述频道回看请求,从所述信息描述库中获取与终端请求对应的小分片文件描述信息,并根据获取到的描述信息定位出对应的小分片文件在所述文件***中的资源位置信息,并将所述资源位置信息发送给所述终端以供该终端获取对应的小分片文件进行播放。
本发明实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行上述的流媒体频道录 制方法或流媒体频道回看方法。
本发明的有益效果是:
本发明提供的流媒体频道录制方法及装置、回看方法及装置、服务器及计算机存储介质,根据录制任务从流媒体源站获取到对应的小分片文件后,将获取到的小分片文件按照预设聚合规则存入聚合文件中,聚合文件存储于文件***,并且将所述小分片文件在聚合文件中对应的描述信息存入信息描述库中。通过按照预设聚合规则将小分片文件聚合存入聚合文件,并以聚合文件为单位存储于文件***,也就是说通过聚合文件将多个小分片文件整合成一个大的文件进行存储,从而减少了文件***中存储的文件数目,同时也降低了对该***的存储要求和成本。此外,通过将小分片文件整合成一个大的文件进行存储,使得在进行频道回看的过程中,因为文件***中存储的文件数目较小,***根据用户请求能很快的在文件***中定位到相应小分片文件的具***置,大大提高了***的检索效率和准确度。
附图说明
图1为本发明实施例一提供的流媒体频道录制方法流程图;
图2为本发明实施例一提供的文件***中小分片文件聚合前后的文件存储对比示意图;
图3为本发明实施例一提供的聚合文件老化删除过程示意图;
图4为本发明实施例二提供的流媒体频道回看方法流程图;
图5为本发明实施例二提供的根据终端请求在文件***和信息描述库中的信息匹配流程图;
图6为本发明实施例三提供的流媒体频道录制装置示意图;
图7为本发明实施例四提供的流媒体频道回看装置示意图;
图8为本发明实施例五提供的服务器示意图。
具体实施方式
为了在进行流媒体频道回看录制时降低录制所需的文件数目,进而大幅降低对文件***存储文件数目的需求,使得小分片文件存储成本也相应降低。下面通过具体实施方式结合附图对本发明作进一步详细说明。
实施例一:
请参考图1,图1为本实施例提供的流媒体频道录制方法流程图。
在本实施例中,流媒体频道录制方法具体步骤如下:
S11,根据录制任务从流媒体源站获取对应的小分片文件;
S12,将获取的小分片文件按预设聚合规则存储于聚合文件中,所述聚合文件存储于文件***;并将所述小分片文件在所述聚合文件中的描述信息存储于信息描述库中。
通过上述步骤,使得在对小分片文件进行录制时就将小分片文件按预设的聚合规则存入聚合文件,同时小分片文件往文件***中存储时是以聚合文件为单位,从而降低了录制所需的文件数目,同时也很方便找到合适的文件***来存放录制的文件。
进一步的,上述提到的信息描述库既可存放于文件***,也可存放于数据库中亦或其他地方。
此外,上述提到的录制任务是从管理装置中获取到的,并将录制任务存入信息描述库,定时从该信息描述库中获取所有的录制信息;该录制任务包括频道号和流媒体源站主索引文件地址信息等,通过频道号和流媒体源站主索引地址信息,获取主索引文件,并对主索引文件进行解析,得到该频道下的码率信息和子索引文件下载地址信息;根据子索引文件下载地址信息,得到该频道该码率下的各子索引文件;对各子索引文件进行解析,得到该频道该码率下各小分片文件下载地址信息,最后依次访问各小分片文件下载地址信息,获取小分片文件。
进一步的,上述预设聚合规则有如下几种方式:预设聚合规则有累积播放时长聚合规则、存入分片累积个数聚合规则和存入分片累积占用字节聚合规则。对于累积播放时长聚合规则,将小分片文件依次存入聚合文件,当存入的小分片文件累积播放时长等于预设累积播放时长阈值时,将后续的小分片文件存入下一聚合文件中;对于存入分片累积个数聚合规则,将小分片文件依次存入聚合文件,当存入的小分片文件累积个数等于预设累积个数阈值时,将后续的小分片文件存入下一聚合文件中;对于存入分片累积占用字节聚合规则,将将小分片文件依次存入聚合文件,当存入的小分片文件累积占用字节等于预设累积占用字节阈值时,将后续的小分片文件存入下一聚合文件中。上述的阈值均可根据实际情况进行配置,同时,上述的三种预设聚合规则均是将许多小分片文件聚合成一个大文件进行存储,这种聚合规则并不限定于上述三种,也可以通过其他方式进行聚合,聚合机制类似,对于其他聚合规则,也在本实施例保护的范围内,这里不再详细赘述。在本实施例中,优选地,采用累积播放时长的聚合规则对小分片文件存储。
进一步的,请参见图2,图2为本实施例提供的文件***中小分片文件聚合前后的文件存储对比示意图。图2中,现有技术将小分片文件直接存储于文件***,而本实施例将多个小分片文件通过聚合文件整合成一个大的文件存储于文件***中,从而减小各文件***的文件数目。
进一步的,小分片文件依次按照字节偏移量存入聚合文件,其存储方式如下:
假设第一个小分片文件的起始值为0,所有小分片文件的字节偏移量均为2,将第一个小分片文件存放于聚合文件中,再将第二小分片文件存入其中,该小分片文件起始值为2,依次类推,直到聚合文件达到***设定的存储阈值N。新建另一个聚合文件,继续将后续的小分片文件存入新建的聚 合文件,该聚合文件中第一个小分片文件的起始值依然为0,按照之前聚合文件的存储方式,依次将各小分片文件存入新建的聚合文件中,直到该聚合文件达到***设定的存储阈值N。此外,小分片文件按照字节偏移量进行存储的方式不限于上述方式,也可通过其他方式实现小分片文件按字节偏移量存储,对于其他存储方式,也在本实施例保护的范围内,这里不再详细赘述。
进一步的,在S12中提到的描述信息包括频道号、码率、在聚合文件中的字节偏移量信息、小分片文件的存储路径和起止时间,通过该信息在与终端用户进行交互时,可方便快捷的检索到所需信息。
此外,请参考图3,图3为本实施例提供的聚合文件老化删除过程示意图。图3中,假设聚合文件的回看时长为4天,Day1存储了A个小分片文件,当前回看时长是5天,故需要老化删除Day1中的聚合文件,也就是说当录制的聚合文件超过***设定回看的时长时,就会执行老化删除超过期限的聚合文件和信息描述库中对应小分片文件的描述信息,具体的老化删除过程如下:
获取预设的有效期回看时长阈值,根据所述有效期回看时长阈值和所述各小分片文件的描述信息确定出在所述有效期回看时长阈值之前的老化小分片文件,并从所述文件***中删除与所述老化小分片文件对应的聚合文件;所述老化小分片文件为超过有效期回看时长阈值需要被删除的文件。
在对聚合文件进行老化删除时,存在聚合文件中的部分小分片文件需要被老化删除,如图3所述,F4聚合文件跨越了Day1和Day2,老化删除时只需删除处于Day1部分的小分片文件,对应的描述信息也要被老化删除。也就是说根据对应的各小分片文件描述信息中的起止时间判断哪些小分片文件需要被老化删除;对于聚合文件刚好整个被老化删除时,根据最后一个小分片文件播放结束时间判断哪些聚合文件需要被老化删除。
实施例二:
请参考图4,图4为本实施例提供的流媒体频道回看方法流程图。
本实施例在实施例一的基础上,对流媒体频道回看方法进行说明,其具体步骤如下:
S41,接收终端发送的频道回看请求,该频道回看请求包括文件定位信息;
S42,根据所述文件定位信息,从通过如权利要求1-6任一项所述的流媒体频道录制方法得到的信息描述库中定位出对应的小分片文件在所述文件***中的资源位置信息;
S43,将所述资源位置信息发送给所述终端以供该终端获取对应的小分片文件进行播放。
对于上述步骤,本实施例通过匹配实施例一中存储的小分片文件及其描述信息,定位出终端所需的小分片文件描述信息,使得终端能准确获取所需小分片文件进行播放,从而提高了流媒体频道回看服务的磁盘输入/输出吞吐能力。
进一步的,上述步骤中提到的文件定位信息包括频道号、码率和起止时间;信息描述库包括小分片文件在所述聚合文件中的描述信息,该描述信息包括频道号、码率、在聚合文件中的字节偏移量信息、小分片文件的存储路径和起止时间;资源位置信息包括总字节偏移量和第一个小分片文件的存储路径。这里的总字节偏移量是指,根据终端发送的请求,在信息描述库中找到对应的小分片描述信息,通过第一个小分片文件描述信息中的字节偏移量信息和最后一个小分片文件的描述信息中的字节偏移量,得到终端请求的小分片文件总字节偏移量信息。
此外,请参考图5,图5为本实施提供的根据终端请求在文件***和信息描述库中的信息匹配流程图。该信息匹配的具体步骤如下:
S51,将所述文件定位信息中的频道号与所述信息描述库中描述信息的频道号进行匹配,得到该频道下的小分片文件描述信息;
S52,将所述文件定位信息中的码率与所述该频道下的小分片文件描述信息中的码率进行匹配,得到该频道该码率下的小分片文件描述信息;
S53,将所述文件定位信息中的起止时间与所述该频道该码率下的小分片文件描述信息中的起止时间进行匹配,得到该频道该码率该起止时间段内的小分片文件描述信息;
S54,根据所述该频道该码率该起止时间段内的每个小分片文件描述信息中的字节偏移量信息和小分片文件存储路径,计算出所述该频道该码率该起止时间段内小分片文件的总字节偏移量,并查找出所述该频道该码率该起止时间段内第一个小分片文件的存储路径;
S55,根据所述总字节偏移量和第一个小分片文件的存储路径,从所述文件***中定位出对应的小分片文件的具***置。
实施例三:
请参考图6,图6为本实施例提供的流媒体频道录制装置示意图。
在本实施例中,流媒体频道录制装置包括:
获取模块61,配置为根据录制任务从流媒体源站获取对应的小分片文件;
处理模块62,配置为将获取的小分片文件按预设聚合规则存储于聚合文件中,所述聚合文件存储于文件***;并将所述小分片文件在所述聚合文件中的描述信息存储于信息描述库中。
所述信息描述库既可存放于文件***中,也可存放于数据库中亦或存放于其他地方。
该录制任务从管理装置中获取,包括频道号和流媒体频道源站主索引文件地址信息等,通过频道号和流媒体源站主索引地址信息,获取该频道 下主索引文件,并对主索引文件进行解析,得到该频道下的码率信息和子索引文件下载地址信息;根据子索引文件下载地址信息,得到该频道该码率下的各子索引文件;对各子索引文件进行解析,得到该频道该码率下各小分片文件下载地址信息,最后依次访问各小分片文件下载地址信息,获取小分片文件。
进一步的,处理模块62包括:
选择子模块621,配置为选择所述小分片文件采用累积播放时长聚合规则、存入分片累积个数聚合规则和存入分片累积占用字节聚合规则中的哪一种聚合规则存储于聚合文件;
处理子模块622,配置为根据所述选择子模块621选择的聚合规则,对小分片文件进行存储。
上述的三种预设聚合规则均是将许多小分片文件聚合成一个大文件进行存储,这种聚合规则并不限定于上述三种,也可以通过其他方式进行聚合,聚合机制类似,对于其他聚合规则,也在本实施例保护的范围内,这里不再详细赘述。
进一步的,处理子模块622包括:
第一处理单元6221,配置为根据所述选择子模块621选择的累积播放时长聚合规则,将小分片文件依次按照字节偏移量存入聚合文件,当存入的小分片文件累计播放时长等于预设累积播放时长阈值时,将后续的小分片文件存入下一聚合文件中;
第二处理单元6222,配置为根据所述选择子模块621选择的存入分片累积个数聚合规则,将小分片文件依次按照字节偏移量存入聚合文件,当存入的小分片文件累积个数等于预设累积个数阈值时,将后续的小分片文件存入下一聚合文件中;
第三处理单元6223,配置为根据所述选择子模块621选择的存入分片 累积占用字节聚合规则,将小分片文件依次按照字节偏移量存入聚合文件,当存入的小分片文件累积占用字节等于预设累计占用字节阈值时,将后续的小分片文件存入下一聚合文件中。在本实施例中,优选地,采用第一处理单元6221对小分片文件进行存储。
此外,请参考图2,对于小分片文件按照字节偏移量依次存入聚合文件,其存储方式如下:假设第一个小分片文件的起始值为0,所有小分片文件的字节偏移量均为2,将第一个小分片文件存放于聚合文件中,再将第二小分片文件存入其中,该小分片文件起始值为2,依次类推,直到聚合文件达到***设定的存储阈值N。新建另一个聚合文件,继续将后续的小分片文件存入新建的聚合文件,该聚合文件中第一个小分片文件的起始值依然为0,按照之前聚合文件的存储方式,依次将各小分片文件存入新建的聚合文件中,直到该聚合文件达到***设定的存储阈值N。此外,小分片文件按照字节偏移量进行存储的方式不限于上述两种方式,也可通过其他方式实现小分片文件按字节偏移量存储的方式,对于其他存储方式,也在本实施例保护的范围内,这里不再详细赘述。
请参考图3,假设聚合文件的回看时长为4天,Day1存储了A个小分片文件,当前回看时长是5天,故需要老化删除Day1中的聚合文件,当录制装置录制的流媒体频道直播码流超过***设定期限时,就会将超过的部分老化删除,具体老化删除过程如下:
获取预设的有效期回看时长阈值,根据所述有效期回看时长阈值和所述各小分片文件的描述信息确定出在所述有效期回看时长阈值之前的老化小分片文件,并从所述文件***中删除与所述老化小分片文件对应的聚合文件;所述老化小分片文件为超过有效期回看时长阈值需要被删除的文件。
在对聚合文件进行老化删除时,存在聚合文件中的部分小分片文件需要被老化删除,如图3所述,F4聚合文件跨越了Day1和Day2,老化删除 时只需删除处于Day1部分的小分片文件,对应的描述信息也需要被老化删除。也就是说根据对应的各小分片文件描述信息中的起止时间判断哪些小分片文件需要被老化删除;对于聚合文件刚好整个被老化删除时,根据最后一个小分片文件播放结束时间判断哪些聚合文件需要被老化删除。
实施例四:
请参考图7,图7为本实施例提供的流媒体频道回看装置示意图。
在本实施例中,流媒体频道回看装置包括:
接收模块71,配置为接收终端发送的频道回看请求,所述频道回看请求包括文件定位信息;
定位模块72,配置为根据所述文件定位信息,从通过如权利要求9-11任一项所述的流媒体频道录制装置得到的信息描述库中定位出对应的小分片文件在所述文件***中的资源位置信息;
发送模块73,配置为将所述资源位置信息发送给所述终端以供该终端获取对应的小分片文件进行播放。
进一步的,文件定位信息包括频道号、码率和起止时间;信息描述库包括小分片文件在所述聚合文件中的描述信息,该描述信息包括频道号、码率、在聚合文件中的字节偏移量信息、小分片文件的存储路径和起止时间;资源位置信息包括总字节偏移量和第一个小分片文件的存储路径。对于总字节偏移量,根据终端发送的请求,在信息描述库中找到对应的小分片描述信息,通过第一个小分片文件描述信息中的字节偏移量信息和最后一个小分片文件的描述信息中的字节偏移量,得到终端请求的小分片文件总字节偏移量信息。
进一步的,定位模块72还包括:
第一定位子模块721,配置为将所述文件定位信息中的频道号与所述信息描述库中描述信息的频道号进行匹配,得到该频道下的小分片文件描述 信息;
第二定位子模块722,配置为将所述文件定位信息中的码率与所述该频道下的小分片文件描述信息中的码率进行匹配,得到该频道该码率下的小分片文件描述信息;
第三定位子模块723,配置为将所述文件定位信息中的起止时间与所述该频道该码率下的小分片文件描述信息中的起止时间进行匹配,得到该频道该码率该起止时间段内的小分片文件描述信息;
第四定位子模块724,配置为根据所述该频道该码率该起止时间段内的每个小分片文件描述信息中的字节偏移量信息和小分片文件存储路径,计算出所述该频道该码率该起止时间段内小分片文件的总字节偏移量,并查找出所述该频道该码率该起止时间段内第一个小分片文件的存储路径;
第五定位子模块725,配置为根据所述总字节偏移量和第一个小分片文件的存储路径,从所述文件***中定位出对应的小分片文件的具***置。
实施例五:
请参考图8,图8为实施例提供的服务器示意图。
本实施例在实施例三和实施例四的基础上,对服务器的结构进行说明,该服务器包括流媒体频道录制装置和回看装置。录制装置将从管理装置中获取的录制任务存入信息描述库,并定时从该信息描述库中获取所有的录制信息,然后根据该录制信息获取主索引文件,并依次获取到子索引文件,以及子索引文件中的小分片文件。然后该录制装置将将获取的小分片文件按预设聚合规则存储于聚合文件中,所述聚合文件存储于文件***中,并将对应的小分片文件在聚合文件中的描述信息存储于信息描述库中;
回看装置接收到终端发送的频道回看请求后,根据所述频道回看请求,按照录制装置建立的录制机制,从所述信息描述库中获取与终端请求对应的小分片文件描述信息,并根据获取到的描述信息定位出对应的小分片文 件在所述文件***中的资源位置信息,并将所述资源位置信息其发送给所述终端以供该终端获取对应的小分片文件进行播放。
此外,本实施例还提供了一个***,该***包括管理装置、录制装置和回看装置;
管理装置下发频道录制消息给录制装置;
录制装置根据频道录制消息对流媒体频道直播码流进行录制,将录制的内容存入文件***和信息描述库;
回看装置从信息描述库中找到用户请求的小分片文件对应的描述信息,然后从文件***中根据该描述信息找到对应的小分片文件,并发送给终端用户进行播放。
本发明实施例中提出的流媒体频道录制装置中的获取模块、处理模块、流媒体频道回看装置中的接收模块、定位模块和发送模块都可以通过处理器来实现,当然也可通过具体的逻辑电路实现;在实际应用中,处理器可以为中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等。
本发明实施例中,如果以软件功能模块的形式实现上述流媒体频道录制方法或流媒体频道回看方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本发明实施例不限制于任何特定的硬件和软件结合。
相应地,本发明实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机程序,该计算机程序用于执行本发明实施例的上述的流媒体频道录制方法或流媒体频道回看方法。
以上内容是结合具体的实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。

Claims (16)

  1. 一种流媒体频道录制方法,包括:
    根据录制任务从流媒体源站获取对应的小分片文件;
    将获取的小分片文件按预设聚合规则存储于聚合文件中,所述聚合文件存储于文件***;并将所述小分片文件在所述聚合文件中的描述信息存储于信息描述库中。
  2. 如权利要求1所述的流媒体频道录制方法,其中,所述聚合规则为累积播放时长聚合规则、存入分片累积个数聚合规则和存入分片累积占用字节聚合规则中的任意一种。
  3. 如权利要求2所述的流媒体频道录制方法,其中,所述聚合规则为累积播放时长聚合规则时,所述累积播放时长聚合规则为将小分片文件依次存入聚合文件,当存入的小分片文件累积播放时长等于预设累积播放时长阈值时,将后续的小分片文件存入下一聚合文件中;
    所述聚合规则为存入分片累积个数聚合规则时,所述分片累积个数聚合规则为将小分片文件依次存入聚合文件,当存入的小分片文件累积个数等于预设累积个数阈值时,将后续的小分片文件存入下一聚合文件中;
    所述聚合规则为存入分片累积占用字节聚合规则时,所述存入分片累积占用字节聚合规则为将小分片文件依次存入聚合文件,当存入的小分片文件累积占用字节等于预设累积占用字节阈值时,将后续的小分片文件存入下一聚合文件中。
  4. 如权利要求1-3任一项所述的流媒体频道录制方法,其中,将所述小分片文件存储于所述聚合文件中时,依次按照字节偏移量进行存储。
  5. 如权利要求1-3任一项所述的流媒体频道录制方法,其中,所述描述信息包括频道号、码率、在聚合文件中的字节偏移量信息、小分片文件的存储路径和起止时间。
  6. 如权利要求5所述的流媒体频道录制方法,其中,还包括:获取预设的有效期回看时长阈值,根据所述有效期回看时长阈值和所述各小分片文件的描述信息确定出在所述有效期回看时长阈值之前的老化小分片文件,并从所述文件***中删除与所述老化小分片文件对应的聚合文件。
  7. 一种流媒体频道回看方法,包括:
    接收终端发送的频道回看请求,所述频道回看请求包括文件定位信息;
    根据所述文件定位信息,从通过如权利要求1-6任一项所述的流媒体频道录制方法得到的信息描述库中定位出对应的小分片文件在所述文件***中的资源位置信息;
    将所述资源位置信息发送给所述终端以供该终端获取对应的小分片文件进行播放。
  8. 如权利要求7所述的流媒体频道回看方法,其中,所述文件定位信息包括频道号、码率和起止时间;所述信息描述库包括小分片文件在所述聚合文件中的描述信息,所述描述信息包括频道号、码率、在聚合文件中的字节偏移量信息、小分片文件的存储路径和起止时间;所述资源位置信息包括总字节偏移量和第一个小分片文件的存储路径;根据所述文件定位信息,从信息描述库中定位出对应的小分片文件在所述文件***中的资源位置信息包括:
    将所述文件定位信息中的频道号与所述信息描述库中描述信息的频道号进行匹配,得到该频道下的小分片文件描述信息;
    将所述文件定位信息中的码率与所述该频道下的小分片文件描述信息中的码率进行匹配,得到该频道该码率下的小分片文件描述信息;
    将所述文件定位信息中的起止时间与所述该频道该码率下的小分片文件描述信息中的起止时间进行匹配,得到该频道该码率该起止时间段内的小分片文件描述信息;
    根据所述该频道该码率该起止时间段内的每个小分片文件描述信息中的字节偏移量信息和小分片文件存储路径,计算出所述该频道该码率该起止时间段内小分片文件的总字节偏移量,并查找出所述该频道该码率该起止时间段内第一个小分片文件的存储路径;
    根据所述总字节偏移量和第一个小分片文件的存储路径,从所述文件***中定位出对应的小分片文件的具***置。
  9. 一种流媒体频道录制装置,包括:
    获取模块,配置为根据录制任务从流媒体源站获取对应的小分片文件;
    处理模块,配置为将获取的小分片文件按预设聚合规则存储于聚合文件中,所述聚合文件存储于文件***;并将所述小分片文件在所述聚合文件中的描述信息存储于信息描述库中。
  10. 如权利要求9所述的流媒体频道录制装置,其中,所述处理模块包括:
    选择子模块,配置为选择所述小分片文件采用累积播放时长聚合规则、存入分片累积个数聚合规则和存入分片累积占用字节聚合规则中的哪一种聚合规则存储于聚合文件;
    处理子模块,配置为根据所述选择子模块选择的聚合规则,对小分片文件进行存储。
  11. 如权利要求10所述的流媒体频道录制装置,其中,所述处理子模块包括:
    第一处理单元,配置为根据所述选择子模块选择的累积播放时长聚合规则,将小分片文件依次按照字节偏移量存入聚合文件,当存入的小分片文件累计播放时长等于预设累积播放时长阈值时,将后续的小分片文件存入下一聚合文件中;
    第二处理单元,配置为根据所述选择子模块选择的存入分片累积个数聚 合规则,将小分片文件依次按照字节偏移量存入聚合文件,当存入的小分片文件累积个数等于预设累积个数阈值时,将后续的小分片文件存入下一聚合文件中;
    第三处理单元,配置为根据所述选择子模块选择的存入分片累积占用字节聚合规则,将小分片文件依次按照字节偏移量存入聚合文件,当存入的小分片文件累积占用字节等于预设累计占用字节阈值时,将后续的小分片文件存入下一聚合文件中。
  12. 一种流媒体频道回看装置,包括:
    接收模块,配置为接收终端发送的频道回看请求,所述频道回看请求包括文件定位信息;
    定位模块,配置为根据所述文件定位信息,从通过如权利要求9-11任一项所述的流媒体频道录制装置得到的信息描述库中定位出对应的小分片文件在所述文件***中的资源位置信息;
    发送模块,配置为将所述资源位置信息发送给所述终端以供该终端获取对应的小分片文件进行播放。
  13. 如权利要求12所述的流媒体频道回看装置,其中,所述文件定位信息包括频道号、码率和起止时间;所述信息描述库包括小分片文件在所述聚合文件中的描述信息,所述描述信息包括频道号、码率、在聚合文件中的字节偏移量信息、小分片文件的存储路径和起止时间;所述资源位置信息包括总字节偏移量和第一个小分片文件的存储路径;所述定位模块还包括:
    第一定位子模块,配置为将所述文件定位信息中的频道号与所述信息描述库中描述信息的频道号进行匹配,得到该频道下的小分片文件描述信息;
    第二定位子模块,配置为将所述文件定位信息中的码率与所述该频道下的小分片文件描述信息中的码率进行匹配,得到该频道该码率下的小分片文件描述信息;
    第三定位子模块,配置为将所述文件定位信息中的起止时间与所述该频道该码率下的小分片文件描述信息中的起止时间进行匹配,得到该频道该码率该起止时间段内的小分片文件描述信息;
    第四定位子模块,配置为根据所述该频道该码率该起止时间段内的每个小分片文件描述信息中的字节偏移量信息和小分片文件存储路径,计算出所述该频道该码率该起止时间段内小分片文件的总字节偏移量,并查找出所述该频道该码率该起止时间段内第一个小分片文件的存储路径;
    第五定位子模块,配置为根据所述总字节偏移量和第一个小分片文件的存储路径,从所述文件***中定位出对应的小分片文件的具***置。
  14. 一种服务器,包括:如权利要求9至11任一项所述的流媒体频道录制装置和如权利要求12或13所述的流媒体频道回看装置;
    所述录制装置将获取的小分片文件按预设聚合规则存储于聚合文件中,所述聚合文件存储于文件***中,并将对应的小分片文件在聚合文件中的描述信息存储于信息描述库中;
    所述回看装置接收到终端发送的频道回看请求后,根据所述频道回看请求,从所述信息描述库中获取与终端请求对应的小分片文件描述信息,并根据获取到的描述信息定位出对应的小分片文件在所述文件***中的资源位置信息,并将所述资源位置信息发送给所述终端以供该终端获取对应的小分片文件进行播放。
  15. 一种计算机存储介质,其特征在于,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行权利要求1至6任一项所述的流媒体频道录制方法。
  16. 一种计算机存储介质,其特征在于,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行权利要求7或8所述的流媒体频道回看方法。
PCT/CN2016/104951 2015-11-10 2016-11-07 流媒体频道录制、回看方法、装置、服务器及存储介质 WO2017080428A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510762791.6A CN106686411A (zh) 2015-11-10 2015-11-10 流媒体频道录制方法、装置及回看方法、装置及服务器
CN201510762791.6 2015-11-10

Publications (1)

Publication Number Publication Date
WO2017080428A1 true WO2017080428A1 (zh) 2017-05-18

Family

ID=58694477

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/104951 WO2017080428A1 (zh) 2015-11-10 2016-11-07 流媒体频道录制、回看方法、装置、服务器及存储介质

Country Status (2)

Country Link
CN (1) CN106686411A (zh)
WO (1) WO2017080428A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180373434A1 (en) * 2017-06-22 2018-12-27 Adobe Systems Incorporated Managing digital assets stored as components and packaged files
CN110536145A (zh) * 2019-08-15 2019-12-03 咪咕视讯科技有限公司 直播时移处理方法、电子设备和存储介质
US10970302B2 (en) 2017-06-22 2021-04-06 Adobe Inc. Component-based synchronization of digital assets
US11321012B2 (en) 2018-10-12 2022-05-03 Adobe Inc. Conflict resolution within synchronized composite-part-based digital assets

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109302621A (zh) * 2017-07-24 2019-02-01 中兴通讯股份有限公司 一种文件聚合方法及服务器
CN109729371B (zh) * 2018-12-21 2021-06-01 中电福富信息科技有限公司 一种基于hls协议多级管理的直播时移***及方法
CN112714335A (zh) * 2019-10-24 2021-04-27 中兴通讯股份有限公司 直播媒体流录制方法、***及计算机可读存储介质
CN114253907A (zh) * 2020-09-21 2022-03-29 珠海信核数据科技有限公司 一种分片传输方法、装置、电子设备及可读存储介质
CN116137670A (zh) * 2021-11-16 2023-05-19 中兴通讯股份有限公司 媒体文件聚合方法、播放方法、cdn***、终端、存储介质
CN118210761A (zh) * 2022-12-16 2024-06-18 中兴通讯股份有限公司 文件聚合方法、文件聚合装置和服务器

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1434386A (zh) * 2003-01-25 2003-08-06 华中科技大学 基于集群视频服务器的节目源分片分布式存储方法
CN101127898A (zh) * 2007-09-20 2008-02-20 Ut斯达康通讯有限公司 流媒体***及其多媒体文件的切片存储和流服务方法
CN101917388A (zh) * 2009-12-17 2010-12-15 新奥特(北京)视频技术有限公司 一种流媒体数据存储方法及装置
US20120023254A1 (en) * 2010-07-20 2012-01-26 University-Industry Cooperation Group Of Kyung Hee University Method and apparatus for providing multimedia streaming service
CN103078847A (zh) * 2012-12-24 2013-05-01 深圳市龙视传媒有限公司 一种多码率流文件的存储和读取方法及相关装置
CN104506493A (zh) * 2014-12-04 2015-04-08 武汉市烽视威科技有限公司 一种实现hls内容回源和缓存的方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1434386A (zh) * 2003-01-25 2003-08-06 华中科技大学 基于集群视频服务器的节目源分片分布式存储方法
CN101127898A (zh) * 2007-09-20 2008-02-20 Ut斯达康通讯有限公司 流媒体***及其多媒体文件的切片存储和流服务方法
CN101917388A (zh) * 2009-12-17 2010-12-15 新奥特(北京)视频技术有限公司 一种流媒体数据存储方法及装置
US20120023254A1 (en) * 2010-07-20 2012-01-26 University-Industry Cooperation Group Of Kyung Hee University Method and apparatus for providing multimedia streaming service
CN103078847A (zh) * 2012-12-24 2013-05-01 深圳市龙视传媒有限公司 一种多码率流文件的存储和读取方法及相关装置
CN104506493A (zh) * 2014-12-04 2015-04-08 武汉市烽视威科技有限公司 一种实现hls内容回源和缓存的方法

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180373434A1 (en) * 2017-06-22 2018-12-27 Adobe Systems Incorporated Managing digital assets stored as components and packaged files
US10970302B2 (en) 2017-06-22 2021-04-06 Adobe Inc. Component-based synchronization of digital assets
AU2018202512B2 (en) * 2017-06-22 2022-01-27 Adobe Inc. Integrating composite formats with finder and explorer
US11635908B2 (en) * 2017-06-22 2023-04-25 Adobe Inc. Managing digital assets stored as components and packaged files
US11693880B2 (en) 2017-06-22 2023-07-04 Adobe Inc. Component-based synchronization of digital assets
US11966414B2 (en) 2017-06-22 2024-04-23 Adobe Inc. Synchronization of components of digital assets during live co-editing
US11321012B2 (en) 2018-10-12 2022-05-03 Adobe Inc. Conflict resolution within synchronized composite-part-based digital assets
CN110536145A (zh) * 2019-08-15 2019-12-03 咪咕视讯科技有限公司 直播时移处理方法、电子设备和存储介质
CN110536145B (zh) * 2019-08-15 2022-03-25 咪咕视讯科技有限公司 直播时移处理方法、电子设备和存储介质

Also Published As

Publication number Publication date
CN106686411A (zh) 2017-05-17

Similar Documents

Publication Publication Date Title
WO2017080428A1 (zh) 流媒体频道录制、回看方法、装置、服务器及存储介质
US9532114B2 (en) Optimizing caches for media streaming
US10432982B2 (en) Adaptive bitrate streaming latency reduction
US9654815B2 (en) Advertising detection in adaptive bitrate streaming
US11457171B2 (en) Network storage device and method
US20170111426A1 (en) Using quality information for adaptive streaming of media content
US10623823B2 (en) Method, system, and website server for playing website video
US10015222B2 (en) Systems and methods for selective retrieval of adaptive bitrate streaming media
WO2016058411A1 (zh) 一种http实时流媒体分片的拼接方法及拼接***
US20220070047A1 (en) Fragmenting Media Content
WO2017071604A1 (zh) 一种播放方法、装置及存储介质
CN113329267B (zh) 一种视频播放方法、装置、终端设备及存储介质
CN108933764B (zh) 一种实现快速起播的方法和装置
EP2890075B1 (en) A method and a system for smooth streaming of media content in a distributed content delivery network
CN105282627A (zh) 一种获取直播视频切片的方法及服务器
CN110113626B (zh) 一种回放直播视频的方法及装置
WO2018153237A1 (zh) 用于直播回看的缓存方法、***及播放方法、***
US20220070518A1 (en) Adaptive bitrate streaming
US20170094338A1 (en) Information processing apparatus and delivery method
CN108124192B (zh) Hls流媒体的播放方法及***
US10491648B2 (en) Server-side interstitial content insertion
US11956482B2 (en) Systems and methods for storing and delivering content assets
CN107148779B (zh) 一种传送媒体内容的方法
US11212573B2 (en) Systems, methods, and devices for managing segmented media content
US20170054780A1 (en) Real-time file generation and delivery

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: 16863604

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: 16863604

Country of ref document: EP

Kind code of ref document: A1