CN114417055A - Video playing method and device, computer equipment and storage medium - Google Patents

Video playing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114417055A
CN114417055A CN202111631733.1A CN202111631733A CN114417055A CN 114417055 A CN114417055 A CN 114417055A CN 202111631733 A CN202111631733 A CN 202111631733A CN 114417055 A CN114417055 A CN 114417055A
Authority
CN
China
Prior art keywords
file
user
index
original video
formal
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.)
Pending
Application number
CN202111631733.1A
Other languages
Chinese (zh)
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.)
BEIJING HUAXIA DENTSU TECHNOLOGY CO LTD
Original Assignee
BEIJING HUAXIA DENTSU 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 BEIJING HUAXIA DENTSU TECHNOLOGY CO LTD filed Critical BEIJING HUAXIA DENTSU TECHNOLOGY CO LTD
Priority to CN202111631733.1A priority Critical patent/CN114417055A/en
Publication of CN114417055A publication Critical patent/CN114417055A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/71Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/1737Details of further file system functions for reducing power consumption or coping with limited storage space, e.g. in mobile devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying

Landscapes

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

Abstract

The method comprises the steps of receiving a request of a user for acquiring an index file, wherein the index file is pre-generated index information about a TS file; inquiring whether the local disk stores the index file or not according to the acquisition request; if yes, the index file is fed back to the user so that the user can analyze the index information and initiate a TS file acquisition request; receiving a TS file acquisition request sent by a user; and generating a TS file according to the index file and the original video file and feeding back to a user for playing. The method only generates the index file in advance and does not generate the TS file, so that the problem of storage capacity shortage caused by simultaneous storage of the original video file and the TS file is solved; when a user initiates a playing request, the TS file is generated in real time, so that the browser native player can support the playing mode of the HLS stream, and the problems of compatibility and maintainability of plug-in development caused by different environments are solved.

Description

Video playing method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of video playing technologies, and in particular, to a video playing method, an apparatus, a computer device, and a storage medium.
Background
The live broadcasting and video-on-demand technology of the browser has the characteristics of installation-free and convenient use, so that the application of video-on-demand in internet multimedia through the mobile terminal is more and more extensive. However, in the conventional vod technology, although the native browser player can support the HLS (HTTP Live Streaming, HTTP-based adaptive bitrate Streaming protocol) playback format, that is, a TS (Transport Stream) file is required, but the TS file is different from the MP4 format, and therefore, the native browser cannot play back the MP4 format video file. If the native player supports playing of a video file in the MP4 format, the video file in the MP4 format needs to be transcribed into the TS format, that is, the MP4 format and the TS format need to be stored in the same piece of video material at the same time, which causes data duplication and large storage pressure.
In view of the above, the present disclosure is directed to a video playing method, apparatus, computer device and storage medium to solve the problem of storage space consumption caused by adapting to different CPU architectures, different operating systems and different browsers by the existing video-on-demand method.
Disclosure of Invention
In view of the foregoing problems in the prior art, an object of the present invention is to provide a video playing method, apparatus, computer device and storage medium, so as to solve the problem in the prior art that data duplication and storage capacity consumption caused by MP4 format and TS format need to be stored in the same piece of video material to solve the compatibility problem under different playing conditions.
In order to solve the technical problems, the specific technical scheme is as follows:
in a first aspect, a video playing method is provided herein, including:
receiving an acquisition request of a user for an index file, wherein the index file is pre-generated index information about a TS file;
inquiring whether a local disk stores the index file or not according to the acquisition request;
if the index file is stored, feeding the index file back to the user so that the user can analyze the index information of the TS file and initiate an acquisition request of the required TS file;
receiving a TS file acquisition request sent by a user;
and generating the TS file according to the index file and the original video file corresponding to the index file, and feeding the TS file back to a user for playing.
Specifically, the generating the TS file according to the index file and the original video file corresponding to the index file and feeding back the TS file to the user for playing further includes:
determining a time node of the TS file corresponding to the original video file according to the index file;
judging whether the time length corresponding to the time node is greater than or equal to a preset first time length threshold value or not;
if the time length corresponding to the time node is less than the first time length threshold value, all the original video files are segmented to obtain a plurality of TS formal files, and the TS formal files are fed back to a user;
if the time length corresponding to the time node is greater than or equal to the first time length threshold value, segmenting the original video file from the time node and a part of the original video file with the length being the preset time length to obtain at least one TS temporary file, and feeding the TS temporary file back to a user; and all the original video files are segmented within the preset time length to obtain the TS formal files, and the TS formal files are fed back to the user.
Specifically, the generating the TS file according to the index file and the original video file corresponding to the index file and feeding back the TS file to the user for playing further includes:
determining a time node of the TS file corresponding to the original video file according to the index file;
judging whether the time length corresponding to the time node is greater than or equal to a preset first time length threshold value or not;
if the time length corresponding to the time node is less than the first time length threshold value, all the original video files are segmented to obtain a plurality of TS formal files, and the TS formal files are fed back to a user;
if the time length corresponding to the time node is greater than or equal to the first time length threshold value, segmenting the original video file from the time node and a part of the original video file with the length being the preset time length to obtain at least one TS temporary file, and feeding the TS temporary file back to a user; and from the position of the sum of the time node and the preset time within the preset time, segmenting the original video file to obtain the TS formal file, and feeding the TS formal file back to a user.
Further, if the time length corresponding to the time node is less than the first time length threshold value, feeding the TS formal file back to a user, and deleting the TS formal file;
and if the duration corresponding to the time node is greater than or equal to the first duration threshold, feeding the TS temporary file and the TS formal file back to a user, and deleting the TS temporary file and the TS formal file.
Specifically, after feeding back the TS temporary file and the TS formal file to the user, before deleting the TS temporary file and the TS formal file, the method further includes:
taking the TS formal file as the TS file to be stored in the local disk, and recording a first storage duration corresponding to the TS formal file;
deleting the TS file when the first storage duration meets a preset first storage duration condition;
storing the TS temporary file in a local cache, and recording a second storage duration corresponding to the TS temporary file;
and deleting the TS temporary file when the second storage duration meets a preset second storage duration condition.
Further, the generating the TS file according to the index file and the original video file corresponding to the index file and feeding back to the user for playing includes:
judging whether the TS file is stored in a local disk or not according to the TS file acquisition request;
if the TS file is stored in the local disk, feeding the TS file back to a user:
if the TS file is not stored in the local disk, judging whether a task of generating the TS file is performed currently;
if yes, circularly inquiring the local disk and the local cache to obtain the TS formal file, or obtaining the TS temporary file and the TS formal file and feeding back to the user.
Specifically, an index file of the original video file is generated and stored in a local disk;
and feeding back the acquisition path of the index file to the user so as to enable the user to generate an acquisition request for the index file.
In a second aspect, this document also provides a video playback device, comprising:
the first receiving module is used for receiving an acquisition request of a user for an index file, wherein the index file is pre-generated index information about the TS file;
the query module is used for querying whether the index file is stored in a local disk or not according to the acquisition request;
the feedback module is used for feeding the index file back to a user when the index file is stored in the local disk so that the user can analyze the index information of the TS file and initiate an acquisition request of the required TS file;
the second receiving module is used for receiving a TS file acquisition request sent by a user;
and the generation module is used for generating the TS file according to the index file and the original video file corresponding to the index file and feeding the TS file back to a user for playing.
In a third aspect, this document also provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the method provided in the above technical solution.
In a fourth aspect, this document also provides a computer-readable storage medium, which stores a computer program, which when executed by a processor implements the method provided in the above technical solution.
By adopting the technical scheme, the video playing method, the video playing device, the computer equipment and the storage medium provided by the invention only generate the index file of the original video file in advance without segmenting the original video file, thereby solving the problem of storage capacity shortage caused by simultaneous storage of the original video file and the TS file; when a user initiates a playing request, a TS file is generated in real time through an original video file and an index file, so that a browser native player can support the playing mode of an HLS stream, and the problems of compatibility and maintainability of plug-in development caused by different CPU architectures, different operating systems, different browsers and the like are solved.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating steps of a video playing method provided in an embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating steps of a method for generating a TS file in an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram illustrating a video playing apparatus provided in an embodiment of the present disclosure;
fig. 4 shows a schematic structural diagram of a video playing system provided in an embodiment of the present disclosure;
fig. 5 is a schematic diagram illustrating steps of another video playing method provided in an embodiment of the present disclosure;
fig. 6 shows a schematic structural diagram of a computer device provided in an embodiment herein.
Description of the symbols of the drawings:
31. a first receiving module;
32. a query module;
33. a feedback module;
34. a second receiving module;
35. a generation module;
41. a background management server;
42. a video playing structure;
421. an HLS server;
422. a reverse proxy server;
43. a browser;
602. a computer device;
604. a processor;
606. a memory;
608. a drive mechanism;
610. an input/output module;
612. an input device;
614. an output device;
616. a presentation device;
618. a graphical user interface;
620. a network interface;
622. a communication link;
624. a communication bus.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments herein without making any creative effort, shall fall within the scope of protection.
It should be noted that the terms "first," "second," and the like in the description and claims herein and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments herein described are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, apparatus, article, or device that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or device.
In the current court business, various applications such as live broadcast and on-demand broadcast of court trial videos, image verification of court trial videos, public network disclosure of court trial videos and the like are generally used. The live broadcast and on-demand broadcast technology of the browser provides powerful technical support for the public and intelligent development of the court by the characteristics of installation-free and convenient use. However, most of the current court trial video files are files in MP4 format, so that the following problems exist for the live broadcast and on-demand broadcast of the court trial video files:
1. the existing browser cannot support on-demand of an RTSP (Real Time Streaming Protocol) stream of an MP4 file (that is, cannot realize on-demand of an MP4 file) without installing a plug-in.
2. The playing plug-in developed for the RTSP streaming has serious dependence on an operating system platform, namely, the plug-in for supporting the RTSP streaming on-demand is different for different platforms and different browsers; if a playing plug-in suitable for each platform is developed, the workload of development and maintenance is increased.
3. The native browser player can support the playing of the HLS media stream, which needs to record the TS file in advance, and the format of the TS file is different from the MP4 format, so that the video file in the MP4 format cannot be played.
4. In a new court trial, if MP4 format files and TS format files are recorded synchronously, one copy of data is repeatedly recorded, more storage space is occupied, and the storage cost is increased.
5. The existing technology for realizing the on-demand by combining the Http and the Nginx can realize the on-demand of the MP4 file, but the picture delay is serious, and the compatibility of the browser to the MP4 files recorded by different devices is not ideal.
In order to solve the above problem, embodiments herein provide a video playing method, apparatus, computer device and storage medium, which can overcome the problem of storage space occupation caused by generating a TS format file corresponding to an MP4 format file in order to realize on-demand playing of an MP4 video file in the prior art. Fig. 1 is a schematic diagram of steps of a video playing method provided in an embodiment herein, and the present specification provides the method operation steps as described in the embodiment or the flowchart, but more or less operation steps may be included based on conventional or non-creative labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an actual system or apparatus product executes, it can execute sequentially or in parallel according to the method shown in the embodiment or the figures. Specifically, as shown in fig. 1, the method may include:
s110: and receiving an acquisition request of a user for an index file, wherein the index file is pre-generated index information about the TS file.
In this embodiment of the present specification, the original video file is a video file in MP4 format, and may also be an audio file in MP4 format; the index file may be an M3U8 file, the M3U8 file is a file index structure specified by the HLS protocol, and the index file lists index information of TS files that the player can download and play, and may specifically include information such as a name of each TS file, a time position of each TS file corresponding to an original video file, and a time length of the TS file.
S120: and inquiring whether the index file is stored in a local disk or not according to the acquisition request.
In this embodiment of the present specification, the local disk may be queried according to a name of the index file, where the name of the index file is associated with the original video file corresponding to the index file.
S130: and if the index file is stored, feeding the index file back to the user so that the user can analyze the index information of the TS file and generate an acquisition request for the required TS file.
The user analyzes the index file after receiving the index file to obtain a series of index information, each index information corresponds to one TS file, and then the user selects the index information corresponding to the required TS file from the index information and initiates an acquisition request of the required TS file.
S140: and receiving a TS file acquisition request sent by a user.
S150: and generating the TS file according to the index file and the original video file corresponding to the index file, and feeding the TS file back to a user for playing. Namely, the TS file is obtained by segmenting the original video file according to the index file, and the user receives the TS file to play the content of the original video file.
In the video playing method provided by the embodiment of the present specification, when no user initiates a playing request for an original video file, only an index file with the original video file is generated in advance, and the original video file is not segmented, so that only the original video file and the index file are stored at this time, and the problem of shortage of storage capacity caused by simultaneous storage of the original video file and a TS file is solved; when a user initiates a playing request for an original video file, a TS file is generated in real time through the original video file and an index file, so that a native player of a browser can support the playing mode of an HLS stream, the playing function of the original video file in the MP4 format on different CPU architectures, different operating systems and different browsers is realized, and the compatibility problem and the maintainability problem of plug-in playing development under different environments are solved.
In some possible embodiments, as shown in fig. 2, in step S150, generating the TS file according to the index file and the original video file corresponding to the index file, and feeding back the TS file to the user for playing may further include:
s210: and determining the time node of the TS file corresponding to the original video file according to the index file.
In this embodiment of the present specification, although a TS file is not generated, the index file is generated, that is, a splitting manner of the original video file is generated, that is, a start time, an end time, and a duration of each TS file to be split are recorded. Therefore, the time node corresponding to the TS file can be determined according to the index file.
For example, if the time length of each TS file is set to be 10 seconds (it should be noted that the time lengths of the TS files belonging to the same original video file may be equal or unequal, and the time lengths of the TS files belonging to different original video files may be equal or unequal), the index file of a certain original video file may include:
name1_0_10_;
name1_10_10_;
name1_20_10_ etc., each piece of index information corresponding to a TS file.
Wherein, name1 means the original video file named name 1; the first number in the index information indicates that the TS file corresponding to the piece of index information is in the second of the original video file, for example, "0" in the first piece of index information indicates that the TS file corresponding to the first piece of index information starts from 0 second of the original video file, that is, the time node of the TS file is 0 second; the second data in the index information indicates that the time length of the corresponding TS file is 10 seconds. That is, in the embodiment of this specification, each piece of index information in the index file may be named by using a preset rule, where the naming rule is: the system comprises an original video file identification bit, a time node identification bit and a duration identification bit.
When the user determines where to start viewing the original video file, the time node of the desired TS file may be determined from the index information parsed from the index file. For example, when a user determines to watch from the 0 th second of an original video file, that is, a required TS file corresponds to a first piece of index information, a time node is the 0 th second, and a time length corresponding to the time node is 0 second; when the user determines to start viewing from the 15 th second of the original video file, it is known that the required TS file corresponds to the second piece of index information, and the time node of the required TS file is the 10 th second.
It should be noted that the naming rule of the above index information is merely exemplary, wherein there may be other precedence order between the identification bits, and there may also be other identification bits in the file name, for example, the time node of the TS file corresponding to the original video file may be represented by a start time node and an end time node, and the difference between the end time node and the start time node is the duration of the TS file. And the name of the TS obtained by subsequently segmenting the original video file according to the index file can have the same naming mode as the name of the index information thereof, and m3u8 or TS can be used as a suffix to indicate whether the name is the index information in the index file or the TS file.
S220: and judging whether the time length corresponding to the time node is greater than or equal to a preset first time length threshold value or not.
For example, the first time threshold may be set to 1 minute.
S230: and if the time length corresponding to the time node is less than the first time length threshold value, all the original video files are segmented to obtain a plurality of TS formal files, and the TS formal files are fed back to the user.
S240: if the time length corresponding to the time node is greater than or equal to the first time length threshold value, segmenting the original video file from the time node and a part of the original video file with the length being the preset time length to obtain at least one TS temporary file, and feeding the TS temporary file back to a user; and all the original video files are segmented within the preset time length to obtain the TS formal files, and the TS formal files are fed back to the user.
Illustratively, when the time node is the 5 th minute, the time length corresponding to the time node is 5 minutes and is greater than the preset first time length threshold, and a part of the original video file with the length of the preset time length is segmented from 5 minutes to obtain at least one TS temporary file. Assuming that the preset time duration is 40 seconds and the time duration of each TS temporary file is 10 seconds, segmenting the 5 th minute to the 5 th minute of the original video file for 40 seconds, and obtaining 4 TS temporary files.
Since the generation of the TS file takes a certain time, if the TS file is segmented from 0 th second of the original video file and then fed back to the user one by one, the user needs to wait for a long period of time before receiving the TS file corresponding to the content of 5 th minute, which causes a problem of long delay time. In the embodiment of the present specification, the original video file is directly segmented from the 5 th minute to generate the TS temporary file and fed back to the user, so that the user can immediately view the content corresponding to the 5 th minute, the response rate of the user for video viewing is greatly improved, and the user video viewing experience is improved. And when the user watches the 4 temporary files of TS from 5 minutes to 5 minutes and 40 seconds, the TS formal files corresponding to the complete original video files are also generated and fed back to the user one by one, so that after the user watches the TS temporary files, the corresponding TS formal files can be played for continuous watching.
And when the time node is the 30 th second, and the duration corresponding to the time node is less than the first time threshold, directly segmenting the whole original video file from the beginning to generate a plurality of TS formal files. This is because, when the TS temporary file is generated from the 30 th second and fed back to the user for viewing, the video viewing response rate is comparable to that when the TS main file is generated from the 0 th second of the original video file and fed back to the user for viewing, the TS temporary file is not generated, and the workload and storage pressure for generating the TS file are reduced.
In the video playing method provided in the embodiment of the present specification, a TS formal file is generated or a TS temporary file and a TS formal file are generated according to a time node of a TS file requested by a user relative to an original video file, so that a problem of long playing delay time of video content at the time node is solved.
In this embodiment of the present specification, for a case where the duration corresponding to the time node is greater than or equal to the first duration threshold, a TS temporary file and a TS formal file are generated, and when the TS formal file is fed back to the user, a portion where the TS temporary file is overlapped with the TS formal file is fed back to the user. For example, when the TS temporary file corresponds to the 5 th minute to 5 th minute 40 seconds of the original video file, and the TS regular file corresponds to the entire content of the original video file, for the period from the 5 th minute to 5 th minute 40 seconds, the user receives both the TS temporary file and the TS regular file, and the user browser cache may be occupied. Therefore, in some preferred embodiments, for the case that the duration of the time node is greater than or equal to the first duration threshold, the TS formal file is fed back to the user, which may specifically be:
and feeding back the part which is different from the TS temporary file in the TS formal file to a user.
And the TS temporary file and the TS formal file received by the user can be continued to obtain complete content corresponding to the original video file. In addition, in the embodiment of the present specification, the same naming method as that of the TS main file may be adopted for the TS temporary file (the TS temporary file and the TS main file are only different in local storage path), so that the user side cannot perceive whether the acquired and played TS file is actually the TS temporary file or the TS main file.
In some possible embodiments, the preset time may be set according to a duration of the original video file;
that is, no matter where the TS file required by the user corresponds to the original file (on the premise that the time length corresponding to the time node is greater than the preset first time length threshold), the sum of the time lengths of the generated TS temporary files is fixed, and when the user views the TS temporary file, the whole content of the original video file can be segmented.
In other possible embodiments, when the duration corresponding to the time node is greater than or equal to the first duration threshold, the following manner may be further adopted for generating the TS file according to the index file and the original video file:
SS 240': segmenting the original video file from the time node and a part of the original video file with the length being a preset duration to obtain at least one TS temporary file, and feeding the TS temporary file back to a user; and starting from the position corresponding to the time node and the sum of the preset time length within the preset time length, segmenting the original video file to obtain a TS formal file, and feeding the TS formal file back to a user.
When the time node is the 5 th minute, the 5 th minute to the 5 th minute and 40 th second part of the original video file is segmented to obtain a TS temporary file and the TS temporary file is fed back to a user for watching; and segmenting the 5 th part and the 40 th part of the original video file (i.e. the sum of the corresponding time length of the time node and the preset time length) within the 40 seconds to obtain a TS formal file, and feeding the TS formal file back to the user. Therefore, the TS formal file received by the user can be continued to the TS temporary file, and the requirement that the user watches the content after the time node (5 th minute) is met.
In the period that the user watches the TS temporary file, the TS formal file needs to be generated from a portion of the original video file starting from 0 second and ending from the time node to the time node, where the sum of the time length and the preset time length is the end.
In other possible embodiments, when the duration corresponding to the time node is greater than or equal to the first duration threshold, the following manner may be further adopted for generating the TS file according to the index file and the original video file:
SS 240': segmenting the original video file from the time node and a part of the original video file with the length being a preset duration to obtain at least one TS temporary file, and feeding the TS temporary file back to a user; and segmenting the original video file from zero second as a start time within the preset time length and from the position of the sum of the time length corresponding to the time node and the preset time length as an end time to obtain the TS formal file, and generating the TS formal file from the part of the original video file after the position of the sum of the time length corresponding to the time node and the preset time length after the preset time length is reached, and feeding the TS formal file back to a user.
When the time node is the 5 th minute, the 5 th minute to the 5 th minute and 40 th second part of the original video file is segmented to obtain a TS temporary file and the TS temporary file is fed back to a user for watching; generating a TS formal file from the 0 th second to the 5 th minute 40 second of the original video file within the 40 seconds and feeding back the TS formal file to a user; and after the 40 th second, segmenting the part of the original video file after the 5 th minute and 40 th second to obtain a TS formal file, namely, at the moment, segmenting the TS formal file (the content of the original video file after the 5 th minute and 40 th second) and feeding the TS formal file back to the user one by one.
Through the two improved methods for generating the TS file, the preset time length, namely the sum of the time lengths of the generated TS temporary files, can be reduced to a certain extent, so that the storage pressure of the TS temporary files on the local cache can be reduced.
In the video playing method provided by the embodiment of the present specification, by generating the TS temporary file, the problem of long viewing delay time of a user is solved; and through generating a TS formal file, the fluency and the playing effect of the on-demand data are ensured.
It should be noted that, when the user initiates a TS file acquisition request for the same original video file again, it may be determined whether to generate a TS temporary file again from a time node corresponding to the TS file that is newly required according to the generation condition of the actual TS formal file.
For example, if the time node corresponding to the TS file acquisition request initiated by the user for the first time is 5 minutes, the time node corresponding to the TS file acquisition request sent for the second time is 50 minutes, and the TS official file has not been generated to the 50 th minute of the original video file, the TS temporary file may be generated again from the 50 th minute to improve the response to the video playing of the user.
Further, a video playing method provided in an embodiment of the present specification further includes:
if the time length corresponding to the time node is less than the first time length threshold value, the TS formal file is fed back to a user and then deleted;
and if the duration corresponding to the time node is greater than or equal to the first duration threshold, feeding back the TS temporary file and the TS formal file to a user, and deleting the TS temporary file and the TS formal file.
Therefore, the TS file is not stored except the original video file, and the problem of storage capacity shortage caused by the fact that the video content is stored with files in two formats is solved.
Since the TS formal file and the TS temporary file are sequentially generated and sent to the user one by one, and the TS formal file is generated after the TS temporary file, in some possible embodiments, if the duration corresponding to the time node is greater than or equal to the first duration threshold, the method may further include:
after the generated TS temporary file is fed back to a user, deleting the TS temporary file and feeding back the TS formal file to the user;
and after the TS formal file is completely fed back to the user, deleting the TS formal file.
That is to say, in the embodiment of the present specification, the TS temporary file and the TS regular file may be deleted to play a role in releasing storage space; the deleting time of the TS temporary file and the TS formal file can be deleted after all the TS temporary file and the TS formal file are fed back to the user; or deleted sequentially.
In some possible embodiments, before deleting the TS temporary file and the TS formal file after feeding back the TS temporary file and the TS formal file to the user, the method further includes:
taking the TS formal file as the TS file to be stored in a local disk, and recording a first storage duration corresponding to the TS formal file; namely, the first storage duration is the difference between the current timestamp and the storage time of the TS formal file.
And deleting the TS file when the first storage duration meets a preset first storage condition.
Storing the TS temporary file in a local cache, and recording a second storage duration corresponding to the TS temporary file; namely, the second storage duration is the difference between the current timestamp and the storage time of the TS temporary file.
And deleting the TS temporary file when the second storage duration meets a preset second storage condition.
Therefore, in the first storage duration, when a plurality of users initiate playing requests to the same original video file, TS files do not need to be generated frequently, and the TS file generation working pressure is reduced.
For example, the preset first storage condition may be that, when the first storage duration is greater than or equal to the preset first storage duration, for example, 48 hours, the TS file (i.e., the TS formal file stored in the local disk) is deleted. Similarly, the preset second storage condition may be that, when the second storage duration is greater than or equal to a preset second storage duration, for example, 7 hours, the TS temporary file is deleted. Because the local cache has smaller storage capacity than the local disk, the TS temporary file is stored in the local cache for a shorter time than the TS formal file, so as to reduce the storage pressure.
In some possible embodiments, the last access time of the TS file in the first storage duration may also be obtained, and it is determined whether a difference between the current timestamp and the last access time is greater than or equal to a preset first storage duration, and if so, the TS file is deleted. The TS file which is not accessed by people for a long time is deleted by obtaining the last access time of the TS file of each original video file, so that the problem of storage cost increase caused by TS file storage is solved.
In some possible embodiments, the access frequency of the TS file from the storage time to the current timestamp may also be obtained;
and if the access frequency is less than a first access frequency threshold value, deleting the TS file.
And if the access frequency is greater than a second access frequency threshold value, synchronizing the TS file to a network cache, and playing a role in reducing disk IO. The second access frequency is greater than the first access frequency.
And when the access frequency is greater than or equal to the first access frequency threshold and less than or equal to the second access frequency threshold, the TS file is still stored in the local disk. Therefore, the original video files which are requested to be played by the user frequently or very frequently can be stored in the local disk for a long time or backed up in a network cache, and the problem that the TS files need to be regenerated for each viewing request initiated by the user due to TS file deletion in the local disk is solved.
Further, in a video playing method provided in this specification, in step S150: before generating the TS file according to the index file and the original video file corresponding to the index file and feeding back the TS file to the user for playing, the method may further include:
judging whether the TS file is stored in a local disk or not according to the TS file acquisition request;
if the TS file is stored in the local disk, feeding the TS file back to a user;
if the TS file is not stored in the local disk, judging whether a task of generating the TS file is performed currently; specifically, whether the TS file generation task is currently performed may be determined through a task management port.
If yes, circularly inquiring the local disk and the local cache to obtain the TS formal file, or obtaining the TS temporary file and the TS formal file and feeding back to the user.
For example, when the user determines that the viewing time actually required by the user is from the 15 th second of the original video file, and the required TS file corresponds to the 10 th to 20 th seconds of the original video file, the browser side is further required to perform seek processing, that is, the browser is further required to be positioned to the 15 th second for playing when playing the TS file.
Therefore, in some feasible embodiments, when a request for obtaining the index file from the user is received, a plurality of index files can be fed back to the user, and each index file is provided with different splitting modes for the same original video file.
For example, a first index file is segmented from the 0 th second of the original video file, and index information of the starting time and duration of each TS file is recorded; the second index file is segmented from the 1 st second of the original video file, and index information of each TS file is recorded; a third index file is sliced from the 3 rd second of the original video file, and so on.
Thus, the user can select one of the index files and determine the TS file required by the user according to the prescribed slicing manner therein. For example, when the user determines to start viewing from the 15 th second of the original video file, the index file that specifies the original video file to be segmented from the 15 th second is selected, and the required TS file (corresponding to the 15 th to 25 th seconds of the original video file, assuming that the duration of the TS file is 10 seconds) is determined, so that the accurate positioning of the playing time can be achieved, that is, the browser at the user end can directly determine the viewing time required by the user without seek operation after acquiring the TS file.
The video playing method provided by the embodiment of the present specification further includes:
and if the index file does not exist, sending an error prompt to a user.
According to the video playing method provided by the embodiment of the specification, the HLS on-demand function is realized by generating the index file of the original video file and generating the TS file when a user initiates a video playing request, and the problems of compatibility and maintainability of plug-in development caused by different CPU architectures, different operating systems and different browsers are solved; the problem of storage cost increase caused by the simultaneous existence of the original video file and the TS file is solved.
As shown in fig. 3, an embodiment of the present specification further provides a video playing apparatus, including:
a first receiving module 31, configured to receive an acquisition request of a user for an index file, where the index file is pre-generated index information about a TS file;
the query module 32 is configured to query whether the index file is stored in the local disk according to the acquisition request;
a feedback module 33, configured to, when the index file is stored in the local disk, feed back the index file to a user so that the user can analyze the index information about the TS file and initiate an acquisition request for the required TS file;
a second receiving module 34, configured to receive a TS file acquisition request sent by a user;
and the generating module 35 is configured to generate the TS file according to the index file and the original video file corresponding to the index file, and feed the TS file back to the user for playing.
The advantages achieved by the device provided by the embodiment of the specification are consistent with those achieved by the method, and are not described in detail herein.
As shown in fig. 4, an embodiment of the present specification further provides a video playing system, which includes a browser 43, a backend management server 41, and a video playing structure 42, where the video playing structure 42 is in communication with the browser 43 and the backend management server 41. The background management server 41 is configured to manage an original video file, and the video playing structure 42 is configured to receive an acquisition request for the index file and an acquisition request for a TS file, which are initiated by a user through the browser 43, and feed back the TS file to the browser 43 for playing.
The video playing structure 42 may further include an HLS server 421 and a reverse proxy server 422, where the HLS server 421 is configured to generate an index file of an original video file, and segment the original video file according to the index file to obtain the TS file; the reverse proxy server 422 may be an Nginx server, and the Ngnix server has the characteristics of high concurrency and high performance, thereby solving the problem that multiple persons may request the same or different video files at the same time.
Thus, as shown in fig. 5, a video playing method provided by an embodiment of the present specification may include the following steps:
s501: and the background management server sends a generation instruction of the index file of the original video file to the HLS server.
S502: the HLS server judges whether the original video file exists or not.
S503: and if the index file exists, executing the generation instruction to generate an index file, storing the index file in a local disk, and feeding back an acquisition path of the index file to the background management server.
The obtaining path of the index file may be a URL (Uniform Resource Locator) address uniquely identifying the index file.
S504: and if the original video file does not exist, sending an alarm to the background management server.
S505: and the background management server sends the received acquisition path of the index file to the browser.
S506: and the browser analyzes the acquisition path and initiates an index file acquisition request to the Nginx server.
S507: and the Nginx server inquires whether the local disk stores the index file.
S508: and if the index file does not exist, sending a request failure alarm to the browser.
Therefore, the browser can check the acquisition path and initiate the index file acquisition request again after confirming that the acquisition path is correct.
S509: and if the index file exists, the Nginx server feeds the index file back to the browser.
S510: and the browser analyzes the index information of the TS file and initiates a TS file acquisition request. And the Nginx server forwards the received TS file acquisition request to the HLS server.
S511: and the HLS server generates the TS file according to the index file and the original video file corresponding to the index file.
S512: and the Nginx server feeds the TS file generated by the HLS server back to the user for playing.
Further, step S512: the HLS server generates the TS file according to the index file and the original video file and feeds back the TS file to the user for playing, which may further include:
the HLS server determines a time node of the TS file corresponding to the original video file according to the index file;
judging whether the time length corresponding to the time node is greater than or equal to a preset first time length threshold value or not;
if the time length corresponding to the time node is less than the first time length threshold value, all the original video files are segmented to obtain a plurality of TS formal files, and the TS formal files are fed back to a user;
if the time length corresponding to the time node is greater than or equal to the first time length threshold value, segmenting the original video file from the time node and a part of the original video file with the length being the preset time length to obtain at least one TS temporary file, and feeding the TS temporary file back to a user; and all the original video files are segmented within the preset time length to obtain the TS formal files, and the TS formal files are fed back to the user.
As shown in fig. 6, for a computer device provided for embodiments herein, the computer device 602 may include one or more processors 604, such as one or more Central Processing Units (CPUs), each of which may implement one or more hardware threads. The computer device 602 may also include any memory 606 for storing any kind of information, such as code, settings, data, etc. For example, and without limitation, memory 606 may include any one or more of the following in combination: any type of RAM, any type of ROM, flash memory devices, hard disks, optical disks, etc. More generally, any memory may use any technology to store information. Further, any memory may provide volatile or non-volatile retention of information. Further, any memory may represent fixed or removable components of computer device 602. In one case, when the processor 604 executes the associated instructions, which are stored in any memory or combination of memories, the computer device 602 may perform any of the operations of the associated instructions. The computer device 602 also includes one or more drive mechanisms 608, such as a hard disk drive mechanism, an optical disk drive mechanism, etc., for interacting with any memory.
Computer device 602 may also include an input/output module 610(I/O) for receiving various inputs (via input device 612) and for providing various outputs (via output device 614). One particular output mechanism may include a presentation device 616 and an associated Graphical User Interface (GUI) 618. In other embodiments, input/output module 610(I/O), input device 612, and output device 614 may also be excluded, as just one computer device in a network. Computer device 602 may also include one or more network interfaces 620 for exchanging data with other devices via one or more communication links 622. One or more communication buses 624 couple the above-described components together.
Communication link 622 may be implemented in any manner, such as through a local area network, a wide area network (e.g., the Internet), a point-to-point connection, etc., or any combination thereof. Communication link 622 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc., governed by any protocol or combination of protocols.
Corresponding to the methods in fig. 1 to 2 and 3, the embodiments herein also provide a computer-readable storage medium having stored thereon a computer program, which, when executed by a processor, performs the steps of the above-described method.
Embodiments herein also provide computer readable instructions, wherein when executed by a processor, a program thereof causes the processor to perform the method as shown in fig. 1-2 and 3.
It should be understood that, in various embodiments herein, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments herein.
It should also be understood that, in the embodiments herein, the term "and/or" is only one kind of association relation describing an associated object, meaning that three kinds of relations may exist. For example, a and/or B, may represent: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided herein, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purposes of the embodiments herein.
In addition, functional units in the embodiments herein may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present invention may be implemented in a form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The principles and embodiments of this document are explained herein using specific examples, which are presented only to aid in understanding the methods and their core concepts; meanwhile, for the general technical personnel in the field, according to the idea of this document, there may be changes in the concrete implementation and the application scope, in summary, this description should not be understood as the limitation of this document.

Claims (10)

1. A video playback method, comprising:
receiving an acquisition request of a user for an index file, wherein the index file is pre-generated index information about a TS file;
inquiring whether a local disk stores the index file or not according to the acquisition request;
if the index file is stored, feeding the index file back to the user so that the user can analyze the index information of the TS file and initiate an acquisition request of the required TS file;
receiving a TS file acquisition request sent by a user;
and generating the TS file according to the index file and the original video file corresponding to the index file, and feeding the TS file back to a user for playing.
2. The method of claim 1, wherein the generating the TS file according to the index file and an original video file corresponding to the index file and feeding back the TS file to a user for playing further comprises:
determining a time node of the TS file corresponding to the original video file according to the index file;
judging whether the time length corresponding to the time node is greater than or equal to a preset first time length threshold value or not;
if the time length corresponding to the time node is less than the first time length threshold value, all the original video files are segmented to obtain a plurality of TS formal files, and the TS formal files are fed back to a user;
if the time length corresponding to the time node is greater than or equal to the first time length threshold value, segmenting the original video file from the time node and a part of the original video file with the length being the preset time length to obtain at least one TS temporary file, and feeding the TS temporary file back to a user; and all the original video files are segmented within the preset time length to obtain the TS formal files, and the TS formal files are fed back to the user.
3. The method of claim 2, wherein the generating the TS file according to the index file and an original video file corresponding to the index file and feeding back the TS file to a user for playing further comprises:
determining a time node of the TS file corresponding to the original video file according to the index file;
judging whether the time length corresponding to the time node is greater than or equal to a preset first time length threshold value or not;
if the time length corresponding to the time node is less than the first time length threshold value, all the original video files are segmented to obtain a plurality of TS formal files, and the TS formal files are fed back to a user;
if the time length corresponding to the time node is greater than or equal to the first time length threshold value, segmenting the original video file from the time node and a part of the original video file with the length being the preset time length to obtain at least one TS temporary file, and feeding the TS temporary file back to a user; and starting from the position corresponding to the time node and the sum of the preset time length within the preset time length, segmenting the original video file to obtain a TS formal file, and feeding the TS formal file back to a user.
4. A method according to claim 2 or 3, characterized in that the method further comprises:
if the time length corresponding to the time node is less than the first time length threshold value, the TS formal file is fed back to a user and then deleted;
and if the duration corresponding to the time node is greater than or equal to the first duration threshold, feeding the TS temporary file and the TS formal file back to a user, and deleting the TS temporary file and the TS formal file.
5. The method of claim 4, wherein after feeding back the TS temporary file and the TS formal file to the user, before deleting the TS temporary file and the TS formal file, the method further comprises:
taking the TS formal file as the TS file to be stored in the local disk, and recording a first storage duration corresponding to the TS formal file;
deleting the TS file when the first storage duration meets a preset first storage condition;
storing the TS temporary file in a local cache, and recording a second storage duration corresponding to the TS temporary file;
and deleting the TS temporary file when the second storage duration meets a preset second storage condition.
6. The method of claim 5, wherein before generating the TS file from the index file and an original video file corresponding to the index file and feeding back the TS file to a user for playing, the method further comprises:
judging whether the TS file is stored in a local disk or not according to the TS file acquisition request;
if the TS file is stored in the local disk, feeding the TS file back to a user;
if the TS file is not stored in the local disk, judging whether a task of generating the TS file is performed currently;
if yes, circularly inquiring the local disk and the local cache to obtain the TS formal file, or obtaining the TS temporary file and the TS formal file and feeding back to the user.
7. The method of claim 1, further comprising:
generating an index file of the original video file and storing the index file in a local disk;
and feeding back the acquisition path of the index file to the user so as to enable the user to generate an acquisition request for the index file.
8. A video playback apparatus, comprising:
the first receiving module is used for receiving an acquisition request of a user for an index file, wherein the index file is pre-generated index information about the TS file;
the query module is used for querying whether the index file is stored in a local disk or not according to the acquisition request;
the feedback module is used for feeding the index file back to a user when the index file is stored in the local disk so that the user can analyze the index information of the TS file and initiate an acquisition request of the required TS file;
the second receiving module is used for receiving a TS file acquisition request sent by a user;
and the generation module is used for generating the TS file according to the index file and the original video file corresponding to the index file and feeding the TS file back to a user for playing.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the method of any one of claims 1 to 7.
CN202111631733.1A 2021-12-28 2021-12-28 Video playing method and device, computer equipment and storage medium Pending CN114417055A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111631733.1A CN114417055A (en) 2021-12-28 2021-12-28 Video playing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111631733.1A CN114417055A (en) 2021-12-28 2021-12-28 Video playing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114417055A true CN114417055A (en) 2022-04-29

Family

ID=81270207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111631733.1A Pending CN114417055A (en) 2021-12-28 2021-12-28 Video playing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114417055A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115174992A (en) * 2022-07-06 2022-10-11 深圳市瑞驰信息技术有限公司 Method and system for realizing TS video playing based on NGINX

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024604A (en) * 2012-12-28 2013-04-03 合一网络技术(北京)有限公司 Device and method used for realizing seamless connection of ts files
CN106550263A (en) * 2015-09-16 2017-03-29 深圳市腾讯计算机系统有限公司 Media playing method and device
US20170163555A1 (en) * 2015-12-07 2017-06-08 Le Holdings (Beijing) Co., Ltd. Video file buffering method and system
CN107809684A (en) * 2017-10-27 2018-03-16 广东省南方数字电视无线传播有限公司 Video segment generation method and device, caching server
CN109413443A (en) * 2017-08-16 2019-03-01 中国移动通信有限公司研究院 A kind of implementation method and device of time-shifting function
CN110971962A (en) * 2019-11-30 2020-04-07 咪咕视讯科技有限公司 Slice caching method and device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024604A (en) * 2012-12-28 2013-04-03 合一网络技术(北京)有限公司 Device and method used for realizing seamless connection of ts files
CN106550263A (en) * 2015-09-16 2017-03-29 深圳市腾讯计算机系统有限公司 Media playing method and device
US20170163555A1 (en) * 2015-12-07 2017-06-08 Le Holdings (Beijing) Co., Ltd. Video file buffering method and system
CN109413443A (en) * 2017-08-16 2019-03-01 中国移动通信有限公司研究院 A kind of implementation method and device of time-shifting function
CN107809684A (en) * 2017-10-27 2018-03-16 广东省南方数字电视无线传播有限公司 Video segment generation method and device, caching server
CN110971962A (en) * 2019-11-30 2020-04-07 咪咕视讯科技有限公司 Slice caching method and device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115174992A (en) * 2022-07-06 2022-10-11 深圳市瑞驰信息技术有限公司 Method and system for realizing TS video playing based on NGINX

Similar Documents

Publication Publication Date Title
US10911789B2 (en) Automatic failover for live video streaming
US10999340B2 (en) Cloud-based video delivery
CN106572358B (en) Live broadcast time shifting method and client
EP3028467B1 (en) Video caching
US20160080470A1 (en) Server-side playlist stitching
TWI470983B (en) Method and apparatus for updating http content descriptions
US10114689B1 (en) Dynamic playlist generation
US20220141507A1 (en) Transcoding of video content
CA2840106A1 (en) Offline download method, multimedia file download method and system thereof
WO2017092327A1 (en) Playing method and apparatus
US11647252B2 (en) Identification of elements in a group for dynamic element replacement
US10230812B1 (en) Dynamic allocation of subtitle packaging
US20180191803A1 (en) Low latency media streaming
CN110933517A (en) Code rate switching method, client and computer readable storage medium
CN113141522B (en) Resource transmission method, device, computer equipment and storage medium
CN116346794A (en) Method, apparatus and non-volatile computer readable storage medium for receiving media data
JP2017069636A (en) Information processing device, distribution method and program
US20160226941A1 (en) System and method for streaming music on mobile devices
CN112243158B (en) Media file processing method and device, computer readable medium and electronic equipment
CN114417055A (en) Video playing method and device, computer equipment and storage medium
JP5882683B2 (en) Information processing apparatus and method
US20160173551A1 (en) System and method for session mobility for adaptive bitrate streaming
CN115039413A (en) Techniques for providing content streams based on delivered content streams
JP2007527067A (en) Hierarchical distribution of UI assets
CN113301100A (en) Data disaster tolerance method, device, equipment and medium based on content distribution network

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220429

RJ01 Rejection of invention patent application after publication