CN116339817B - Universal m3u8 file rewriting method and system - Google Patents

Universal m3u8 file rewriting method and system Download PDF

Info

Publication number
CN116339817B
CN116339817B CN202310631015.7A CN202310631015A CN116339817B CN 116339817 B CN116339817 B CN 116339817B CN 202310631015 A CN202310631015 A CN 202310631015A CN 116339817 B CN116339817 B CN 116339817B
Authority
CN
China
Prior art keywords
file
configuration information
domain name
subfiles
rewriting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310631015.7A
Other languages
Chinese (zh)
Other versions
CN116339817A (en
Inventor
叶子聪
李海兵
康江彬
李小壮
王柄淋
王妍兰
王文娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianyi Cloud Technology Co Ltd
Original Assignee
Tianyi Cloud 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 Tianyi Cloud Technology Co Ltd filed Critical Tianyi Cloud Technology Co Ltd
Priority to CN202310631015.7A priority Critical patent/CN116339817B/en
Publication of CN116339817A publication Critical patent/CN116339817A/en
Application granted granted Critical
Publication of CN116339817B publication Critical patent/CN116339817B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
    • G06F12/0877Cache access modes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the specification mainly relates to the technical field of m3u8 file rewriting, in particular to a general m3u8 file rewriting method and system. A general m3u8 file rewriting method comprises the following steps: downloading the rewritten configuration information; determining domain name information of the downloaded rewritten configuration information; determining the domain name of the frequency division channel of the downloaded rewriting configuration information; storing the downloaded rewrite configuration information in a shared memory through domain name information and a frequency-division domain name; acquiring an initial m3u8 file; determining domain name information corresponding to the initial m3u8 file; acquiring rewrite configuration information corresponding to the initial m3u8 file from a shared memory according to the domain name information; and determining a sub-channel domain name and a buffer key corresponding to the initial m3u8 file. According to the m3u8 file rewriting method and system, different rewriting requirements can be achieved according to various rewriting configuration information, customized development of each type of rewriting requirements is not needed, and the delivery cycle of the m3u8 file rewriting requirements is effectively shortened.

Description

Universal m3u8 file rewriting method and system
Technical Field
The embodiment of the specification mainly relates to the technical field of m3u8 file rewriting, in particular to a general m3u8 file rewriting method and system.
Background
The content delivery network needs to support the overwrite requirements of the m3u8 file. The existing m3u8 file rewriting flow is: the client sets up the rewriting requirement of the m3u8 file, manufacturer technicians of the content distribution network write corresponding codes according to the rewriting requirement to finish the rewriting of the m3u8 file, and finally the rewritten m3u8 file is returned to the client.
The customer's need to rewrite the m3u8 file will not normally be identical. For example, some clients need to rewrite the a number m3u8 file and the B number m3u8 file, and some clients need to rewrite the B number m3u8 file and the C number m3u8 file. For another example, some clients need to rewrite the a number m3u8 file based on the first rewrite configuration information, and some clients need to rewrite the a number m3u8 file based on the second rewrite configuration information.
Therefore, in the prior art, whenever a customer puts forward an m3u8 file rewrite requirement, a manufacturer technician of the content distribution network needs to rewrite a corresponding code according to the rewrite requirement to complete the rewrite operation of the m3u8 file, so that the rewrite operation of the m3u8 file is complex and the rewrite period is long.
Disclosure of Invention
Aiming at the problems existing in the prior art, the embodiment of the specification provides a general m3u8 file rewriting method and system, so as to solve the problems of complex m3u8 file rewriting operation and long rewriting period in the prior art.
In a first aspect, an embodiment of the present disclosure provides a general m3u8 file rewriting method, including the steps of:
downloading the rewritten configuration information;
determining domain name information of the downloaded rewritten configuration information;
determining the domain name of the frequency division channel of the downloaded rewriting configuration information;
storing the downloaded rewrite configuration information in a shared memory through domain name information and a frequency-division domain name;
acquiring an initial m3u8 file;
determining domain name information corresponding to the initial m3u8 file;
acquiring rewrite configuration information corresponding to the initial m3u8 file from a shared memory according to the domain name information;
determining a sub-channel domain name and a buffer key corresponding to the initial m3u8 file;
searching a cache according to the cache key and the domain name of the frequency division channel, and taking the content in the corresponding cache as a rewritten m3u8 file when the corresponding cache exists; and when the corresponding cache does not exist, the initial m3u8 file is rewritten according to the rewriting configuration information to obtain a rewritten m3u8 file.
Preferably, determining the domain name of the frequency division channel of the downloaded rewriting configuration information specifically includes the steps of:
comparing the downloaded rewriting configuration information with the rewriting configuration information in the configuration information storage unit, and when the same rewriting configuration information as the downloaded rewriting configuration information exists in the configuration information storage unit, taking the frequency-division domain name of the corresponding rewriting configuration information in the configuration information storage unit as the frequency-division domain name of the downloaded rewriting configuration information;
When the configuration information storage unit does not have the same rewriting configuration information as the downloaded rewriting configuration information, generating a new frequency-dividing domain name, and taking the new frequency-dividing domain name as the frequency-dividing domain name of the downloaded rewriting configuration information; and storing the downloaded configuration information in the configuration information storage unit through the new sub-channel domain name.
Preferably, the writing of the initial m3u8 file according to the writing configuration information specifically includes the following steps:
generating a corresponding cache according to the cache key and the frequency-division channel domain name;
reading one sub-file in the initial m3u8 file, judging whether the sub-file meets the cutting-off condition, cutting off the corresponding sub-file when the sub-file meets the cutting-off condition, and reading the next sub-file in the initial m3u8 file;
when the subfiles do not meet the cut-off condition, judging whether the subfiles meet the editing condition, and when the subfiles do not meet the editing condition, writing the subfiles into the cache and reading the next subfiles in the initial m3u8 file;
when the subfiles meet the editing conditions, editing the subfiles according to the rewriting configuration information, writing the edited subfiles into the cache, and reading the next subfiles in the initial m3u8 file;
And when the next subfile in the initial m3u8 file is not read, taking the content in the corresponding cache as the rewritten m3u8 file.
Preferably, the determining whether the subfile meets the cutoff condition specifically includes the following steps:
acquiring the accumulated time length of the slices in the subfiles, and comparing the accumulated time length of the slices in the subfiles with a preset time threshold;
obtaining the total number of slices in the subfiles, and comparing the total number of slices in the subfiles with a preset number threshold;
when the accumulated time length of the slices in the subfiles is smaller than a preset time threshold or the total number of the slices in the subfiles is larger than a preset number threshold, judging that the subfiles meet the cut-off condition; otherwise, judging that the subfiles do not accord with the cut-off condition.
Preferably, the determining whether the subfile meets the editing condition specifically includes the following steps:
determining the type of the subfiles;
when the subfiles are files of url types, judging that the subfiles accord with editing conditions; otherwise, judging that the subfiles do not accord with the editing conditions.
In a second aspect, embodiments of the present disclosure provide a generic m3u8 file overwrite system, comprising:
the configuration information downloading module is used for downloading and rewriting the configuration information;
A first domain name information determining module for determining the domain name information of the downloaded rewriting configuration information;
the first sub-channel domain name determining module is used for determining the sub-channel domain name of the downloaded rewriting configuration information;
the configuration information storage module is used for storing the downloaded rewritten configuration information into the shared memory through the domain name information and the frequency-division domain name;
the file acquisition module is used for acquiring an initial m3u8 file;
the second domain name information determining module is used for determining domain name information corresponding to the initial m3u8 file;
the configuration information acquisition module is used for acquiring the rewriting configuration information corresponding to the initial m3u8 file from the shared memory according to the domain name information;
the second sub-channel domain name determining module is used for determining a sub-channel domain name corresponding to the initial m3u8 file;
the buffer key determining module is used for determining a buffer key corresponding to the initial m3u8 file;
the cache searching module is used for searching the cache according to the cache key and the domain name of the frequency division channel;
the first rewritten file determining module is used for taking the content in the corresponding cache as a rewritten m3u8 file when the corresponding cache exists;
and the second rewritten file determining module is used for rewriting the initial m3u8 file according to the rewritten configuration information to obtain a rewritten m3u8 file when the corresponding cache does not exist.
Preferably, the first sub-channel domain name determining module specifically includes:
a configuration information comparing unit for comparing the downloaded rewriting configuration information with the rewriting configuration information in the configuration information storage unit;
a first divided-channel domain name determining unit configured to, when the configuration information storage unit has the same overwrite configuration information as the downloaded overwrite configuration information, take the divided-channel domain name of the corresponding overwrite configuration information in the configuration information storage unit as the divided-channel domain name of the downloaded overwrite configuration information;
a frequency-dividing domain name generating unit for generating a new frequency-dividing domain name when the same rewriting configuration information as the downloaded rewriting configuration information does not exist in the configuration information storage unit;
a second sub-channel domain name determining unit, configured to use the new sub-channel domain name as the sub-channel domain name of the downloaded rewriting configuration information; and the configuration information storage unit is used for storing the downloaded configuration information through the new frequency division channel domain name.
Preferably, the second rewritten file determining module specifically includes:
the buffer generating unit is used for generating a corresponding buffer according to the buffer key and the frequency-division channel domain name;
A subfile reading unit for reading one subfile in the initial m3u8 file;
a first subfile judging unit for judging whether the subfiles meet the cutoff condition;
a file cutting unit, configured to cut off the corresponding subfile when the subfile meets a cutting-off condition;
a second sub-file judging unit for judging whether the sub-file accords with the editing condition when the sub-file does not accord with the cutting condition;
the first subfile writing unit is used for writing the subfiles into the cache when the subfiles do not accord with the editing conditions;
a sub-file editing unit, configured to edit the sub-file according to the rewrite configuration information when the sub-file meets an editing condition;
the second subfile writing unit is used for writing the subfiles after the editing is completed into the cache;
and the rewritten file determining unit is used for taking the content in the corresponding cache as a rewritten m3u8 file when the next sub-file in the initial m3u8 file is not read.
Preferably, the first subfile determining unit specifically includes:
the accumulated time length obtaining subunit is used for obtaining the accumulated time length of the slices in the subfiles;
The accumulated time length comparison subunit is used for comparing the accumulated time length of the slices in the subfiles with a preset time threshold;
a total number obtaining subunit, configured to obtain a total number of slices in the subfiles;
the total number comparison subunit is used for comparing the total number of the slices in the subfiles with a preset number threshold;
a first judging result determining subunit, configured to judge that the subfile meets a cutoff condition when an accumulated duration of the slices in the subfile is less than a preset time threshold or a total number of the slices in the subfile is greater than a preset number threshold; otherwise, judging that the subfiles do not accord with the cut-off condition.
Preferably, the second subfile determining unit specifically includes:
a type determining subunit configured to determine a type of the subfile;
a second judging result determining subunit, configured to judge that the subfile meets an editing condition when the subfile is a url type file; otherwise, judging that the subfiles do not accord with the editing conditions.
Advantageous effects
According to the m3u8 file rewriting method and system, rewritten m3u8 file contents can be stored, when the same m3u8 file needs to be rewritten next time, corresponding rewritten contents can be directly called, so that the rewriting operation of the m3u8 file is simpler and more convenient, and the rewriting period of the m3u8 file can be shortened. According to the m3u8 file rewriting method and system, different rewriting requirements can be achieved according to various rewriting configuration information, customized development of each type of rewriting requirements is not needed, and the delivery cycle of the m3u8 file rewriting requirements is effectively shortened.
Drawings
FIG. 1 is a schematic flow chart of an m3u8 file rewriting method according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of an m3u8 file rewriting system according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a certain m3u8 file provided in the embodiment of the present disclosure after being opened.
Detailed Description
Embodiments of the present specification will be described in more detail below with reference to the accompanying drawings.
Example 1: a general m3u8 file rewriting method, as shown in figure 1, comprises the following steps:
and L1, downloading the rewritten configuration information.
Suppose that the current customer's rewrite needs are: if the a number m3u8 file, the B number m3u8 file, and the C number m3u8 file are rewritten, the present embodiment can download three sets of rewriting configuration information from the client, which are the 1 number rewriting configuration information for rewriting the a number m3u8 file, the 2 number rewriting configuration information for rewriting the B number m3u8 file, and the 3 number rewriting configuration information for rewriting the C number m3u8 file, respectively.
And L2, determining the domain name information of the downloaded rewriting configuration information.
Each m3u8 file corresponds to a unique domain name, e.g., an a number m3u8 file corresponds to an a domain name, a B number m3u8 file corresponds to a B domain name, and a C number m3u8 file corresponds to a C domain name. Then, since the No. 1 overwrite configuration information is for overwriting the a No. m3u8 file, the domain name information corresponding to the No. 1 overwrite configuration information may be the a domain name; the number 2 rewrite configuration information is used for rewriting the number B m3u8 file, so the domain name information corresponding to the number 2 rewrite configuration information can be a number B domain name; since the 3 rd overwrite cyclable configuration information is used for overwriting the C number m3u8 file, the domain name information corresponding to the 3 rd overwrite configurable information may be a C domain name.
And L3, determining the domain name of the frequency division channel of the downloaded rewriting configuration information.
Even if the a number m3u8 file is rewritten, the specific contents of the No. 1 rewrite configuration information are not the same.
For example, in the case where the m3u8 file of the previous client needs to be rewritten, the a number m3u8 file is downloaded to obtain a copy of the 1-rewrite configuration information. Assuming that the previous copy 1 overwrite cyclability information is different from the current copy 1 overwrite cyclability information in detail, the present embodiment distinguishes the two copies 1 overwrite cyclability information by dividing the domain name. Assuming that the previous track field name of the number 1 overwrite configuration information is the a field name-1, the track field name of the current number 1 overwrite configuration information may be the a field name-2.
In addition, the step L3 may specifically include the steps of:
and L31, comparing the downloaded rewriting configuration information with the rewriting configuration information in the configuration information storage unit, and taking the frequency-division domain name of the corresponding rewriting configuration information in the configuration information storage unit as the frequency-division domain name of the downloaded rewriting configuration information when the same rewriting configuration information exists in the configuration information storage unit.
The present embodiment has a configuration information storage unit including a plurality of configuration information storage areas each having a plurality of configuration information storage sub-areas each for storing a copy of overwrite configuration information. The configuration information storage area is named by domain name information, and the configuration information storage subarea is named by a cross-domain name.
In this embodiment, after determining that the domain name information of the configuration information written in No. 1 is the a domain name, the configuration information storage area corresponding to the a domain name may be found immediately, and then the configuration information written in No. 1 is compared with the written configuration information in the configuration information storage sub-area in the corresponding configuration information storage area, and when the written configuration information in a certain configuration information storage sub-area is the same as the current configuration information written in No. 1, the name of the corresponding configuration information storage sub-area may be used as the frequency-division domain name of the written configuration information in No. 1. For example, the name of the corresponding configuration information storage subregion is A domain name-18, and the sub-track domain name of the configuration information is rewritten to 1 is A domain name-18.
In this embodiment, after determining that the domain name information of the configuration information written in No. 2 is the B domain name, the configuration information storage area corresponding to the B domain name may be found immediately, and then the configuration information written in No. 2 is compared with the written configuration information in the configuration information storage sub-area in the corresponding configuration information storage area, and when the written configuration information in a certain configuration information storage sub-area is the same as the current configuration information written in No. 2, the name of the corresponding configuration information storage sub-area may be used as the frequency-division domain name of the written configuration information in No. 2. For example, the name of the corresponding configuration information storage subregion is B domain name-5, and the frequency-division domain name of the configuration information is B domain name-5.
In this embodiment, after determining that the domain name information of the 3 rd overwrite configuration information is the C domain name, the configuration information storage area corresponding to the C domain name may be found immediately, then the 3 rd overwrite configuration information is compared with the overwrite configuration information in the configuration information storage sub-area in the corresponding configuration information storage area, and when the overwrite configuration information in a certain configuration information storage sub-area is not found to be the same as the current 3 rd overwrite configuration information, step L32 may be entered.
L32. when the same overwrite configuration information as the downloaded overwrite configuration information does not exist in the configuration information storage unit, generating a new divided-channel domain name, and taking the new divided-channel domain name as the divided-channel domain name of the downloaded overwrite configuration information; and storing the downloaded configuration information in the configuration information storage unit through the new sub-channel domain name.
It is assumed that no configuration information storage subregion having the same storage content as the 3 rd overwrite configuration information is found in the configuration information storage region of the name C domain name, and that the names of the configuration information storage subregions already include C domain name-1 to C domain name-36.
Then, the present embodiment generates a new sub-track domain name, which may be C domain name-37, and then uses the new sub-track domain name (i.e., C domain name-37) as the sub-track domain name for the configuration information rewritten No. 3. In addition, a configuration information storage subarea named as C domain name-37 is added in a configuration information storage area named as C domain name, and the current 3 # rewriting configuration information is stored in a corresponding configuration information storage subarea for next rewriting configuration information comparison.
And L4, storing the downloaded rewrite configuration information into a shared memory through domain name information and a frequency-division domain name.
In this embodiment, after the domain name information (a domain name) and the frequency-division domain name (a domain name-18) of the number 1 rewritten configuration information are determined, the number 1 rewritten configuration information may be stored in the shared memory through the folder, and the corresponding folder is named by adding the a domain name to the a domain name-18.
After the domain name information (B domain name) and the frequency division domain name (B domain name-5) of the number 2 rewritten configuration information are determined, the number 2 rewritten configuration information can be stored in the shared memory through the folder, and the corresponding folder is named in a manner of adding the B domain name to the B domain name-5.
After the domain name information (C domain name) and the frequency division domain name (C domain name-37) of the 3 rd overwrite configuration information are determined, the 3 rd overwrite configuration information may be stored in the shared memory through the folder, and the corresponding folder is named by means of adding the C domain name to the C domain name-37.
S1, acquiring an initial m3u8 file.
Steps L1 to L4 are prepared before step S1, and step S1 does not have to be performed immediately after step L4 ends. Since the write configuration information No. 1, write configuration information No. 2, and write configuration information No. 3 are downloaded in step L1, it is clear that the current write request is to write the a number m3u8 file, the B number m3u8 file, and the C number m3u8 file, and thus step S1 acquires the initial a number m3u8 file, the initial B number m3u8 file, and the initial C number m3u8 file from the source station.
S2, determining domain name information corresponding to the initial m3u8 file.
The initial a number m3u8 file itself corresponds to a unique domain name, that is, an a domain name, and thus, its domain name information can be determined as an a domain name by the initial a number m3u8 file itself.
The initial B number m3u8 file itself corresponds to a unique domain name, i.e., a B domain name, and thus, its domain name information can be determined as a B domain name by the initial B number m3u8 file itself.
The initial C number m3u8 file corresponds to a unique domain name, i.e., a C domain name, and thus, the initial C number m3u8 file can determine that its domain name information is a C domain name.
S3, acquiring the rewrite configuration information corresponding to the initial m3u8 file from the shared memory according to the domain name information.
The A domain name can find the folder with the 1 # rewriting configuration information stored in the shared memory, and the name of the folder is A domain name +A domain name-18.
The folder with the number 2 rewriting configuration information stored in the shared memory can be found through the domain name B, and the name of the folder is the domain name B+B-5.
The folder with the 3 # rewriting configuration information stored in the shared memory can be found through the C domain name, and the name of the folder is C domain name +C domain name-37.
S4, determining a frequency division channel domain name and a buffer key corresponding to the initial m3u8 file.
The name of the folder found by the initial A number m3u8 file can determine that the frequency-division domain name of the initial A number m3u8 file is the A domain name-18, and the frequency-division domain name of the initial A number m3u8 file is identical to the frequency-division domain name of the 1-number rewriting configuration information. The buffer key of the initial a number m3u8 file is the unique identifier of the a number m3u8 file, and each m3u8 file itself has a unique identifier, that is, the buffer key of the initial a number m3u8 file can be determined by the initial a number m3u8 file itself, and it is assumed that the buffer key of the initial a number m3u8 file is 111111.
The name of the folder found by the initial B number m3u8 file can determine that the frequency-division domain name of the initial B number m3u8 file is the B domain name-5, and the frequency-division domain name of the initial B number m3u8 file is identical to the frequency-division domain name of the No. 2 rewriting configuration information. The buffer key of the initial B number m3u8 file is the unique identifier of the B number m3u8 file, each m3u8 file itself has a unique identifier, that is, the buffer key of the initial B number m3u8 file can be determined by the initial B number m3u8 file itself, and the buffer key of the initial B number m3u8 file is 222222.
The name of the folder found by the initial C number m3u8 file can determine that the frequency-division domain name of the initial C number m3u8 file is C domain name-37, and the frequency-division domain name of the initial C number m3u8 file is identical to the frequency-division domain name of the 3 rd rewriting configuration information. The caching key of the initial C number m3u8 file is the unique identifier of the C number m3u8 file, each m3u8 file itself has a unique identifier, that is, the caching key of the initial C number m3u8 file can be determined by the initial C number m3u8 file itself, and the caching key of the initial C number m3u8 file is assumed to be 333333.
S5, searching a cache according to the cache key and the domain name of the frequency division channel, and taking the content in the corresponding cache as a rewritten m3u8 file when the corresponding cache exists; and when the corresponding cache does not exist, the initial m3u8 file is rewritten according to the rewriting configuration information to obtain a rewritten m3u8 file.
The embodiment is provided with a plurality of main caches, each main cache is named by a cache key, and each main cache is used for storing the rewritten content of the corresponding class m3u8 file. For example, the main cache with the cache key 111111 is used for storing the content rewritten on the initial a number m3u8 file; the main cache with the cache key of 222222 is used for storing the rewritten content of the initial B number m3u8 file; the main cache with the cache key of 333333 is used for storing the rewritten content of the initial m3u8 file.
Each main buffer is provided with a plurality of sub buffers, each sub buffer is named by a sub-channel domain name, and each main buffer is used for storing the rewritten content of the corresponding class m3u8 file by the corresponding rewritten configuration information. For example, the main cache with cache key 111111 has a sub-cache with a sub-track domain name of domain name A-1 to a sub-cache with a sub-track domain name of domain name A-22. The main cache with the cache key 222222 has a sub-cache with the sub-track domain name B-1 to a sub-cache with the sub-track domain name B-20. The main cache with the cache key of 333333 has a sub-cache with a sub-track domain name of domain name C-1 to a sub-cache with a sub-track domain name of domain name C-36.
In this embodiment, after the initial a number m3u8 file is obtained and the sub-channel domain name (i.e., a domain name-18) and the buffer key (i.e., 111111) of the initial a number m3u8 file are determined, the corresponding main buffer (named 111111) is first found according to the buffer key 111111, and then the corresponding sub-buffer (named a domain name-18) is found through the sub-channel domain name a domain name-18. Since the corresponding sub-cache can be found, it is explained that the operation of rewriting the original a number m3u8 file by the rewriting configuration information No. 1 of the present embodiment has been performed before, and the content of the rewritten a number m3u8 file is the content in the corresponding sub-cache. Therefore, in this embodiment, the content in the corresponding sub-cache is directly output as the content rewritten on the original a number m3u8 file, and the specific rewriting operation on the original a number m3u8 file is omitted in this embodiment.
In this embodiment, after the initial B number m3u8 file is obtained and the sub-channel domain name (i.e., B domain name-5) and the buffer key (i.e., 222222) of the initial B number m3u8 file are determined, the corresponding main buffer (named 222222) is first found according to the buffer key 222222, and then the corresponding sub-buffer (named B domain name-5) is found through the sub-channel domain name B domain name-5. Since the corresponding sub-cache can be found, it is explained that the operation of rewriting the original B number m3u8 file by the rewriting configuration information No. 2 of the present embodiment has been performed before, and the content of the rewritten B number m3u8 file is the content in the corresponding sub-cache. Therefore, the embodiment directly outputs the content in the corresponding sub-cache as the content rewritten on the initial B number m3u8 file, and the embodiment omits the specific rewriting operation on the initial B number m3u8 file.
In this embodiment, after the initial C number m3u8 file is obtained and the sub-channel domain name (i.e., C domain name-37) and the buffer key (i.e., 333333) of the initial C number m3u8 file are determined, the corresponding main buffer (named 333333) is first found according to the buffer key 333333, and then the corresponding sub-buffer (named C domain name-37) is found through the sub-channel domain name C domain name-37. However, the present embodiment cannot find the corresponding sub-cache, and therefore, specific rewrite operation needs to be performed on the initial C number m3u8 file.
Further, the writing of the initial m3u8 file according to the writing configuration information specifically includes the following steps:
s51, generating a corresponding cache according to the cache key and the domain name of the frequency division channel.
In this embodiment, a sub-cache named as C domain name-37 is added to the main cache named as 333333, where the sub-cache is used to store the content of the original C number m3u8 file rewritten by the 3 rd rewrite configuration information in this embodiment.
S52, reading one subfile in the initial m3u8 file, judging whether the subfile meets the cutoff condition, cutting off the corresponding subfile when the subfile meets the cutoff condition, and reading the next subfile in the initial m3u8 file.
As shown in fig. 3, m3u8 files are individual subfiles, and one subfile is set in one row.
In this embodiment, the 1 st subfile, that is, the 1 st subfile of the 1 st row, in the initial C number m3u8 file is read first. And then judging whether the subfiles meet the cutoff condition or not, wherein the subfiles corresponding to the cutoff condition are bad files and need to be discarded.
Wherein, the step of judging whether the subfile accords with the cut-off condition specifically comprises the following steps:
s521, acquiring the accumulated time length of the slices in the subfiles, and comparing the accumulated time length of the slices in the subfiles with a preset time threshold. The preset time threshold in this embodiment is assumed to be 10 seconds. And the cumulative length of the slices in the 1 st subfile is 5 seconds.
S522, obtaining the total number of slices in the subfiles, and comparing the total number of slices in the subfiles with a preset number threshold. The preset number threshold in this embodiment is assumed to be 20 pieces. And the total number of slices in the 1 st subfile is 21.
S523, judging that the subfiles meet a cut-off condition when the accumulated time length of the slices in the subfiles is smaller than a preset time threshold or the total number of the slices in the subfiles is larger than a preset number threshold; otherwise, judging that the subfiles do not accord with the cut-off condition. Since the total number of slices (21 pieces) in the 1 st subfile is greater than the preset number threshold (20 pieces) of the present embodiment, it is determined that the 1 st subfile meets the cutoff condition, and therefore, the corresponding subfile is cut (i.e., the 1 st subfile is skipped, the 1 st subfile is discarded), and the process returns to step S52.
And continuing to read the 2 nd subfile in the initial C number m3u8 file, namely the subfile of the 2 nd row. Then, it is determined whether the subfile meets the cut-off condition, and if the 2 nd subfile does not meet the cut-off condition, that is, if the 2 nd subfile is a normal file and cannot be discarded, the process proceeds to step S53.
S53, when the subfiles do not meet the cut-off condition, judging whether the subfiles meet the editing condition, and when the subfiles do not meet the editing condition, writing the subfiles into the cache, and reading the next subfiles in the initial m3u8 file.
Wherein, determining whether the subfile meets the editing condition specifically comprises the following steps:
s531, determining the type of the subfile. The subfiles in the m3u8 file are of various types, some types of subfiles do not need to be edited, and some types of subfiles need to be edited and rewritten.
S532, when the subfiles are files of url types, judging that the subfiles accord with editing conditions; otherwise, judging that the subfiles do not accord with the editing conditions. In this embodiment, the url type subfiles are used as subfiles to be edited and rewritten.
Assuming that the 2 nd subfile in the present embodiment is not a url type subfile, it is explained that the 2 nd subfile does not need to be edited, and the 2 nd subfile is directly written into the sub-cache named as C domain name-37, and then returns to step S52 again.
And continuing to read the 3 rd subfile in the initial C number m3u8 file, namely the subfile of the 3 rd line. Then, it is determined whether the subfile meets the cutoff condition, and it is assumed that the 3 rd subfile does not meet the cutoff condition. Then, it is determined whether or not the 3 rd sub-file meets the editing conditions, and if the 3 rd sub-file meets the editing conditions, the process proceeds to step S54.
S54, when the subfiles meet the editing conditions, editing the subfiles according to the rewriting configuration information, writing the edited subfiles into the cache, and reading the next subfiles in the initial m3u8 file.
In this embodiment, editing and rewriting are performed on the 3 rd subfile according to the 3 rd rewrite configuration information, and specifically, how to edit and rewrite is directly performed by using the prior art, for example, rewriting contents such as a request protocol and a request hostname. After the 3 rd subfile is rewritten, the 3 rd subfile is written into the sub-cache named C domain name-37, and then step S52 is returned again.
Continue reading the 4 th subfile of the initial m3u8 file.
S55, when the next sub-file in the initial m3u8 file is not read, taking the content in the corresponding cache as the rewritten m3u8 file.
When all the subfiles in the initial C number m3u8 file are read, outputting the content in the sub-cache named as C domain name-37 as the rewritten content of the initial C number m3u8 file, and storing the sub-cache named as C domain name-37 in the main cache named as 333333.
The m3u8 file rewriting method in this embodiment can store the rewritten m3u8 file content, and when the same m3u8 file needs to be rewritten next time, the corresponding rewritten content is directly called, so that the rewriting operation of the m3u8 file is simpler and more convenient, and the rewriting period of the m3u8 file can be shortened.
Example 2: a general m3u8 file rewriting system for implementing the m3u8 file rewriting method described in embodiment 1, as shown in fig. 2, the system comprising: the system comprises a configuration information downloading module, a first domain name information determining module, a first frequency division channel domain name determining module, a configuration information storage module, a file acquisition module, a second domain name information determining module, a configuration information acquisition module, a second frequency division channel domain name determining module, a cache key determining module, a cache searching module, a first rewriting file determining module and a second rewriting file determining module.
The configuration information downloading module is used for downloading and rewriting the configuration information. The first domain name information determining module is used for determining the domain name information of the downloaded rewriting configuration information. The first sub-channel domain name determining module is used for determining the sub-channel domain name of the downloaded rewriting configuration information.
The first sub-channel domain name determining module specifically includes: the system comprises a configuration information comparison unit, a first sub-channel domain name determination unit, a sub-channel domain name generation unit, a second sub-channel domain name determination unit and a configuration information storage unit. The configuration information comparing unit is used for comparing the downloaded rewriting configuration information with the rewriting configuration information in the configuration information storage unit. The first sub-track domain name determining unit is configured to, when the configuration information storage unit has the same overwrite configuration information as the downloaded overwrite configuration information, set a sub-track domain name of the corresponding overwrite configuration information in the configuration information storage unit as the sub-track domain name of the downloaded overwrite configuration information. The frequency-division domain name generating unit is used for generating a new frequency-division domain name when the same rewriting configuration information as the downloaded rewriting configuration information does not exist in the configuration information storage unit. The second sub-channel domain name determining unit is configured to use the new sub-channel domain name as the sub-channel domain name of the downloaded overwrite configuration information. The configuration information storage unit is used for storing the downloaded configuration information through the new frequency division channel domain name.
The configuration information storage module is used for storing the downloaded rewritten configuration information in the shared memory through the domain name information and the frequency division channel domain name. The file acquisition module is used for acquiring an initial m3u8 file. The second domain name information determining module is used for determining domain name information corresponding to the initial m3u8 file. And the configuration information acquisition module is used for acquiring the rewriting configuration information corresponding to the initial m3u8 file from the shared memory according to the domain name information. The second sub-channel domain name determining module is used for determining a sub-channel domain name corresponding to the initial m3u8 file. And the cache key determining module is used for determining a cache key corresponding to the initial m3u8 file. And the cache searching module is used for searching the cache according to the cache key and the domain name of the frequency division channel. The first rewritten file determining module is used for taking the content in the corresponding cache as a rewritten m3u8 file when the corresponding cache exists. And the second rewritten file determining module is used for rewriting the initial m3u8 file according to the rewritten configuration information to obtain a rewritten m3u8 file when the corresponding cache does not exist.
The second rewritten file determining module specifically includes: the device comprises a cache generating unit, a subfile reading unit, a first subfile judging unit, a file cutting unit, a second subfile judging unit, a first subfile writing unit, a subfile editing unit, a second subfile writing unit and a rewritten file determining unit. And the buffer generating unit is used for generating a corresponding buffer according to the buffer key and the frequency-division channel domain name. The subfile reading unit is used for reading one subfile in the initial m3u8 file. The first subfile judging unit is used for judging whether the subfiles meet the cut-off condition or not. The file cutting unit is used for cutting off the corresponding subfile when the subfile meets the cutting-off condition. The second sub-file judging unit is used for judging whether the sub-file meets the editing condition or not when the sub-file does not meet the cutting condition. And the first subfile writing unit is used for writing the subfiles into the cache when the subfiles do not accord with the editing conditions. And the sub-file editing unit is used for editing the sub-file according to the rewriting configuration information when the sub-file meets the editing conditions. And the second subfile writing unit is used for writing the subfiles after the editing is completed into the cache. The rewritten file determining unit is used for taking the content in the corresponding cache as a rewritten m3u8 file when the next sub-file in the initial m3u8 file is not read.
The first subfile judging unit specifically includes: the accumulated time length obtaining subunit, the accumulated time length comparing subunit, the total number obtaining subunit, the total number comparing subunit and the first judging result determining subunit. The accumulated time length obtaining subunit is used for obtaining the accumulated time length of the slices in the subfiles. The accumulated time length comparison subunit is used for comparing the accumulated time length of the slices in the subfiles with a preset time threshold. The total number acquisition subunit is configured to acquire a total number of slices in the subfile. The total number comparison subunit is configured to compare the total number of slices in the subfiles with a preset number threshold. The first judging result determining subunit is used for judging that the subfiles meet the cut-off condition when the accumulated time length of the slices in the subfiles is smaller than a preset time threshold or the total number of the slices in the subfiles is larger than a preset number threshold; otherwise, judging that the subfiles do not accord with the cut-off condition.
The second subfile judging unit specifically includes: a type determination subunit and a second determination result determination subunit. The type determination sub-unit is used for determining the type of the sub-file. The second judging result determining subunit is used for judging that the subfile meets editing conditions when the subfile is a url type file; otherwise, judging that the subfiles do not accord with the editing conditions.
The m3u8 file rewriting system in this embodiment can store the rewritten m3u8 file content, and when the same m3u8 file needs to be rewritten next time, the corresponding rewritten content is directly called, so that the rewriting operation of the m3u8 file is simpler and more convenient, and the rewriting period of the m3u8 file can be shortened.
While certain embodiments of the present description have been shown in the accompanying drawings, it is to be understood that the present description may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided to provide a more thorough and complete understanding of the present description. It should be understood that the drawings and examples of the present specification are for illustrative purposes only and are not intended to limit the scope of the present specification.

Claims (10)

1. A general m3u8 file rewriting method comprises the following steps:
downloading the rewritten configuration information;
determining domain name information of the downloaded rewritten configuration information;
determining the domain name of the frequency division channel of the downloaded rewriting configuration information;
storing the downloaded rewrite configuration information in a shared memory through domain name information and a frequency-division domain name;
acquiring an initial m3u8 file;
determining domain name information corresponding to the initial m3u8 file;
Acquiring rewrite configuration information corresponding to the initial m3u8 file from a shared memory according to the domain name information;
determining a sub-channel domain name and a buffer key corresponding to the initial m3u8 file;
searching a cache according to the cache key and the domain name of the frequency division channel, and taking the content in the corresponding cache as a rewritten m3u8 file when the corresponding cache exists; and when the corresponding cache does not exist, the initial m3u8 file is rewritten according to the rewriting configuration information to obtain a rewritten m3u8 file.
2. The m3u8 file rewriting method according to claim 1, determining a frequency-division domain name of the downloaded rewriting configuration information specifically includes the steps of:
comparing the downloaded rewriting configuration information with the rewriting configuration information in the configuration information storage unit, and when the same rewriting configuration information as the downloaded rewriting configuration information exists in the configuration information storage unit, taking the frequency-division domain name of the corresponding rewriting configuration information in the configuration information storage unit as the frequency-division domain name of the downloaded rewriting configuration information;
when the configuration information storage unit does not have the same rewriting configuration information as the downloaded rewriting configuration information, generating a new frequency-dividing domain name, and taking the new frequency-dividing domain name as the frequency-dividing domain name of the downloaded rewriting configuration information; and storing the downloaded configuration information in the configuration information storage unit through the new sub-channel domain name.
3. The m3u8 file rewriting method according to claim 1, specifically comprising the following steps of:
generating a corresponding cache according to the cache key and the frequency-division channel domain name;
reading one sub-file in the initial m3u8 file, judging whether the sub-file meets the cutting-off condition, cutting off the corresponding sub-file when the sub-file meets the cutting-off condition, and reading the next sub-file in the initial m3u8 file;
when the subfiles do not meet the cut-off condition, judging whether the subfiles meet the editing condition, and when the subfiles do not meet the editing condition, writing the subfiles into the cache and reading the next subfiles in the initial m3u8 file;
when the subfiles meet the editing conditions, editing the subfiles according to the rewriting configuration information, writing the edited subfiles into the cache, and reading the next subfiles in the initial m3u8 file;
and when the next subfile in the initial m3u8 file is not read, taking the content in the corresponding cache as the rewritten m3u8 file.
4. The m3u8 file overwriting method according to claim 3, wherein said determining whether said subfile meets a truncation condition comprises the steps of:
Acquiring the accumulated time length of the slices in the subfiles, and comparing the accumulated time length of the slices in the subfiles with a preset time threshold;
obtaining the total number of slices in the subfiles, and comparing the total number of slices in the subfiles with a preset number threshold;
when the accumulated time length of the slices in the subfiles is smaller than a preset time threshold or the total number of the slices in the subfiles is larger than a preset number threshold, judging that the subfiles meet the cut-off condition; otherwise, judging that the subfiles do not accord with the cut-off condition.
5. The m3u8 file overwriting method according to claim 3, wherein said determining whether said subfile meets an editing condition comprises the steps of:
determining the type of the subfiles;
when the subfiles are files of url types, judging that the subfiles accord with editing conditions; otherwise, judging that the subfiles do not accord with the editing conditions.
6. A universal m3u8 file overwrite system comprising:
the configuration information downloading module is used for downloading and rewriting the configuration information;
a first domain name information determining module for determining the domain name information of the downloaded rewriting configuration information;
the first sub-channel domain name determining module is used for determining the sub-channel domain name of the downloaded rewriting configuration information;
The configuration information storage module is used for storing the downloaded rewritten configuration information into the shared memory through the domain name information and the frequency-division domain name;
the file acquisition module is used for acquiring an initial m3u8 file;
the second domain name information determining module is used for determining domain name information corresponding to the initial m3u8 file;
the configuration information acquisition module is used for acquiring the rewriting configuration information corresponding to the initial m3u8 file from the shared memory according to the domain name information;
the second sub-channel domain name determining module is used for determining a sub-channel domain name corresponding to the initial m3u8 file;
the buffer key determining module is used for determining a buffer key corresponding to the initial m3u8 file;
the cache searching module is used for searching the cache according to the cache key and the domain name of the frequency division channel;
the first rewritten file determining module is used for taking the content in the corresponding cache as a rewritten m3u8 file when the corresponding cache exists;
and the second rewritten file determining module is used for rewriting the initial m3u8 file according to the rewritten configuration information to obtain a rewritten m3u8 file when the corresponding cache does not exist.
7. The m3u8 file overwrite system of claim 6, said first sub-lane domain name determination module specifically comprising:
A configuration information comparing unit for comparing the downloaded rewriting configuration information with the rewriting configuration information in the configuration information storage unit;
a first divided-channel domain name determining unit configured to, when the configuration information storage unit has the same overwrite configuration information as the downloaded overwrite configuration information, take the divided-channel domain name of the corresponding overwrite configuration information in the configuration information storage unit as the divided-channel domain name of the downloaded overwrite configuration information;
a frequency-dividing domain name generating unit for generating a new frequency-dividing domain name when the same rewriting configuration information as the downloaded rewriting configuration information does not exist in the configuration information storage unit;
a second sub-channel domain name determining unit, configured to use the new sub-channel domain name as the sub-channel domain name of the downloaded rewriting configuration information; and the configuration information storage unit is used for storing the downloaded configuration information through the new frequency division channel domain name.
8. The m3u8 file overwrite system of claim 6, said second overwrite file determination module specifically comprising:
the buffer generating unit is used for generating a corresponding buffer according to the buffer key and the frequency-division channel domain name;
a subfile reading unit for reading one subfile in the initial m3u8 file;
A first subfile judging unit for judging whether the subfiles meet the cutoff condition;
a file cutting unit, configured to cut off the corresponding subfile when the subfile meets a cutting-off condition;
a second sub-file judging unit for judging whether the sub-file accords with the editing condition when the sub-file does not accord with the cutting condition;
the first subfile writing unit is used for writing the subfiles into the cache when the subfiles do not accord with the editing conditions;
a sub-file editing unit, configured to edit the sub-file according to the rewrite configuration information when the sub-file meets an editing condition;
the second subfile writing unit is used for writing the subfiles after the editing is completed into the cache;
and the rewritten file determining unit is used for taking the content in the corresponding cache as a rewritten m3u8 file when the next sub-file in the initial m3u8 file is not read.
9. The m3u8 file overwrite system of claim 8, said first subfile decision unit specifically comprising:
the accumulated time length obtaining subunit is used for obtaining the accumulated time length of the slices in the subfiles;
the accumulated time length comparison subunit is used for comparing the accumulated time length of the slices in the subfiles with a preset time threshold;
A total number obtaining subunit, configured to obtain a total number of slices in the subfiles;
the total number comparison subunit is used for comparing the total number of the slices in the subfiles with a preset number threshold;
a first judging result determining subunit, configured to judge that the subfile meets a cutoff condition when an accumulated duration of the slices in the subfile is less than a preset time threshold or a total number of the slices in the subfile is greater than a preset number threshold; otherwise, judging that the subfiles do not accord with the cut-off condition.
10. The m3u8 file overwrite system of claim 8, said second subfile decision unit specifically comprising:
a type determining subunit configured to determine a type of the subfile;
a second judging result determining subunit, configured to judge that the subfile meets an editing condition when the subfile is a url type file; otherwise, judging that the subfiles do not accord with the editing conditions.
CN202310631015.7A 2023-05-31 2023-05-31 Universal m3u8 file rewriting method and system Active CN116339817B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310631015.7A CN116339817B (en) 2023-05-31 2023-05-31 Universal m3u8 file rewriting method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310631015.7A CN116339817B (en) 2023-05-31 2023-05-31 Universal m3u8 file rewriting method and system

Publications (2)

Publication Number Publication Date
CN116339817A CN116339817A (en) 2023-06-27
CN116339817B true CN116339817B (en) 2023-07-28

Family

ID=86879159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310631015.7A Active CN116339817B (en) 2023-05-31 2023-05-31 Universal m3u8 file rewriting method and system

Country Status (1)

Country Link
CN (1) CN116339817B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763609A (en) * 2013-11-22 2014-04-30 乐视致新电子科技(天津)有限公司 HLS protocol-based channel switching method and apparatus
CN106507150A (en) * 2016-12-08 2017-03-15 山东浪潮商用系统有限公司 A kind of audience information statistical method live based on IP
CN107547239A (en) * 2016-10-27 2018-01-05 腾讯科技(深圳)有限公司 Configure the update method and device of object
CN108008984A (en) * 2017-11-15 2018-05-08 武汉斗鱼网络科技有限公司 A kind of resource file downloading updating method and device
CN112104885A (en) * 2020-09-09 2020-12-18 海看网络科技(山东)股份有限公司 System and method for accelerating M3U8 initial playing speed in live broadcasting
CN113301373A (en) * 2021-05-21 2021-08-24 山东新一代信息产业技术研究院有限公司 Method and system for realizing live video broadcasting and playback

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9170804B2 (en) * 2012-07-05 2015-10-27 Nokia Technologies Oy Method and apparatus for modifying compressed files

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763609A (en) * 2013-11-22 2014-04-30 乐视致新电子科技(天津)有限公司 HLS protocol-based channel switching method and apparatus
CN107547239A (en) * 2016-10-27 2018-01-05 腾讯科技(深圳)有限公司 Configure the update method and device of object
CN106507150A (en) * 2016-12-08 2017-03-15 山东浪潮商用系统有限公司 A kind of audience information statistical method live based on IP
CN108008984A (en) * 2017-11-15 2018-05-08 武汉斗鱼网络科技有限公司 A kind of resource file downloading updating method and device
CN112104885A (en) * 2020-09-09 2020-12-18 海看网络科技(山东)股份有限公司 System and method for accelerating M3U8 initial playing speed in live broadcasting
CN113301373A (en) * 2021-05-21 2021-08-24 山东新一代信息产业技术研究院有限公司 Method and system for realizing live video broadcasting and playback

Also Published As

Publication number Publication date
CN116339817A (en) 2023-06-27

Similar Documents

Publication Publication Date Title
US7680875B1 (en) Markers for cached objects
US6073137A (en) Method for updating and displaying the hierarchy of a data store
US6952730B1 (en) System and method for efficient filtering of data set addresses in a web crawler
US8312222B1 (en) Event-driven regeneration of pages for web-based applications
US7979391B2 (en) Data management system, data management method, server apparatus, receiving apparatus, control program, and computer-readable recording medium recording same
US6473756B1 (en) Method for selecting among equivalent files on a global computer network
US20070011130A1 (en) Method for browsing contents using page storing file
JP2001312423A (en) Method for receiving downloaded file
JP2002314895A (en) Object providing device and method therefor
US20120016916A1 (en) Method and Apparatus for Processing and Updating Service Contents in a Distributed File System
US8214594B1 (en) Dynamically allocated secondary browser cache
EP2975825B1 (en) Difference based content networking
JP2003296182A (en) Automatic data download system and method
CN102769687A (en) Mass texting system and method
CN104092726A (en) Automatic replacing method and apparatus of same-name file
CN116339817B (en) Universal m3u8 file rewriting method and system
MXPA04007146A (en) Method and apparatus for late-binding/dynamic pathname resolution.
CN111355672A (en) Message forwarding method and device
US20020087624A1 (en) Method and device for temporarily storing data
CN112749144B (en) System and method for storing persistent file based on blockchain
CN111770153A (en) Object downloading method and device, electronic equipment and storage medium
US8429331B2 (en) Storage optimizations by directory compaction in a fat file system
CN111211966B (en) Method and system for storing transmission files in chat tool
JP2009104392A (en) File management system, file management method and file management program
JP4634461B2 (en) Document text-to-speech processing program and document browsing device

Legal Events

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