WO2018036109A1 - Method and device for packaging media information, and method and device for parsing packaged file - Google Patents

Method and device for packaging media information, and method and device for parsing packaged file Download PDF

Info

Publication number
WO2018036109A1
WO2018036109A1 PCT/CN2017/073737 CN2017073737W WO2018036109A1 WO 2018036109 A1 WO2018036109 A1 WO 2018036109A1 CN 2017073737 W CN2017073737 W CN 2017073737W WO 2018036109 A1 WO2018036109 A1 WO 2018036109A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
media information
segments
logical processing
media
Prior art date
Application number
PCT/CN2017/073737
Other languages
French (fr)
Chinese (zh)
Inventor
肖磊
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018036109A1 publication Critical patent/WO2018036109A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/70Media network packetisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]

Definitions

  • the present disclosure relates to media information encapsulation/parsing technology in the field of communication technologies, and in particular, to a media information encapsulation method and apparatus, and a package file parsing method and apparatus.
  • the existing audio and video packaging methods mainly focus on the following aspects: which encoding modes are supported, how audio and video data is stored, sorted, indexed, and synchronized.
  • the logic processing for audio and video data is generally controlled by the player, or by the called program to implement logic processing; the logic processing here includes but is not limited to: loop, pause, previous, next, and the like.
  • the audio and video file itself is only used as a carrier of data, and is a passive consumer product, which does not have much influence on the playback itself.
  • the same audio and video content such as a greeting video
  • the audio and video package/parsing has a large workload and low processing efficiency.
  • the embodiments of the present disclosure provide a media information encapsulation method and device, a package file parsing method, and a device, which can reduce the workload of audio and video encapsulation/parsing and improve processing efficiency.
  • an embodiment of the present disclosure provides a media information encapsulation method, where the method includes:
  • each of the media information segments are sequentially associated with respective logical processing information, and the related information, each of the media information segments, and logical processing information are encapsulated according to a sequence of the media information segments on a time axis. Obtaining a package file corresponding to the target media information.
  • the media information segments are sequentially associated with respective logical processing information based on a sequence of the media information segments on a time axis, including:
  • Encapsulating the associated information, each of the media information segments, and the logical processing information to obtain a package file corresponding to the target media information including:
  • the data blocks corresponding to the media information segments are sequentially encapsulated based on the sequence of the media information segments on the time axis to obtain a package file corresponding to the target media information.
  • the media information segments are sequentially associated with respective logical processing information based on a sequence of the media information segments on a time axis, including:
  • Encapsulating the associated information, each of the media information segments, and the logical processing information to obtain the package file corresponding to the target media information including: performing, according to a sequence of the media information segments on a time axis, The logical processing information set and the data blocks corresponding to the pieces of the media information are sequentially encapsulated to obtain a package file corresponding to the target media information.
  • an embodiment of the present disclosure provides a method for parsing a package file, where the method includes:
  • the parsing the package file to obtain each media information segment, logical processing information, and associated information of the target media information includes:
  • an embodiment of the present disclosure provides a media information encapsulating apparatus, where the apparatus includes:
  • a determining module configured to determine a media information segment of the target media information, and logical processing information of each of the media information segments;
  • the association module is configured to associate each of the media information segments with respective logical processing information according to a sequence of the media information segments on a time axis;
  • the encapsulating module is configured to encapsulate the associated information, each of the media information segments, and the logical processing information to obtain a package file corresponding to the target media information.
  • the association module is configured to: sequentially process each of the media information segments based on a sequence of the media information segments on a time axis; and sequentially perform logical processing information according to each of the media information segments. Determining header information of a data block corresponding to each piece of the media information, and writing each piece of the media information into a pair The data area of the data block that should be;
  • the encapsulating module is configured to sequentially encapsulate the data blocks corresponding to the media information segments according to a sequence of the media information segments on a time axis, to obtain an encapsulation file corresponding to the target media information.
  • the association module is configured to: write logical processing information of each piece of the media information into a logical processing information set, and determine index information of each logical processing information; based on each of the media information segments Processing each of the media information segments in sequence on the time axis; determining, according to the index information of the logical processing information of each media information segment, header information of each data block corresponding to the media information segment, and The pieces of media information are respectively written into data areas of corresponding data blocks;
  • the encapsulating module is configured to sequentially encapsulate the logical processing information set and the data blocks corresponding to the media information segments according to a sequence of the media information segments on a time axis, to obtain the target media information correspondingly.
  • Package file is configured to sequentially encapsulate the logical processing information set and the data blocks corresponding to the media information segments according to a sequence of the media information segments on a time axis, to obtain the target media information correspondingly.
  • an embodiment of the present disclosure provides a package file parsing apparatus, where the apparatus includes:
  • the parsing module is configured to parse the encapsulation file, and obtain each piece of media information, logical processing information, and associated information of the target media information;
  • the execution module is configured to sequentially determine and execute logic processing information associated with each piece of the media information segment based on a sequence of the media information segments on a time axis, and parse and perform the execution when the execution result satisfies a preset condition The corresponding media information segment is played and played.
  • the parsing module is configured to: parse the encapsulation file, obtain a logical processing information set, and a data block corresponding to each media information segment of the target media information; parse the logical processing information set to obtain each of the media Logical processing information of the information fragment and index information of each logical processing information;
  • the execution module is configured to sequentially parse the header information of the data block corresponding to each piece of the media information segment based on the sequence of the media information segments on the time axis, and obtain an index of the logical processing information of each piece of the media information segment.
  • the information is executed, and the logical processing information corresponding to the obtained index information is executed, and the media information segment corresponding to the execution result is parsed and played when the execution result satisfies the preset condition.
  • the media information segment is associated with the logical processing information based on the sequence of the media information segments of the target media information on the time axis, and the related information, the media information segments, and the logical processing information are encapsulated.
  • Encapsulation file because the package file adds logical processing information to each piece of media information, so that a package file can meet the needs of multiple different users; when adding logic, it only needs to be added at the time of encapsulation without re-writing.
  • the program is released; this can reduce the workload of audio and video packaging/parsing and improve processing efficiency.
  • FIG. 1 is an optional schematic flowchart of a method for encapsulating a media information according to an embodiment of the present disclosure
  • 2a is a schematic diagram of an optional package structure of a package file in an embodiment of the present disclosure
  • 2b is a schematic diagram of another optional package structure of a package file in an embodiment of the present disclosure.
  • FIG. 3 is an optional schematic flowchart of a method for parsing a package file according to an embodiment of the present disclosure
  • FIG. 4 is another schematic flowchart of a method for encapsulating a media information according to an embodiment of the present disclosure
  • FIG. 5a is a schematic diagram of still another optional package structure of a package file according to an embodiment of the present disclosure.
  • FIG. 5b is a schematic structural diagram of logical processing information in an encapsulated file according to an embodiment of the present disclosure
  • 5c is a schematic structural diagram of header information of a data block in an encapsulated file according to an embodiment of the present disclosure
  • 5d is a schematic structural diagram of a data area of a data block in an encapsulated file according to an embodiment of the present disclosure
  • FIG. 6 is another schematic flowchart of a method for parsing a package file according to an embodiment of the present disclosure
  • FIG. 7 is an optional structural diagram of a media information encapsulating apparatus according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of an apparatus for parsing a file in the embodiment of the present disclosure.
  • the media information segment is sequentially associated with the respective logical processing information, and the related information, each of the media information segments, and the logical processing information are encapsulated to obtain a package file corresponding to the target media information.
  • This embodiment provides a media information encapsulation method.
  • the media information encapsulation method provided in this embodiment includes the following steps:
  • Step 101 Determine a media information segment of the target media information, and logical processing information of each of the media information segments.
  • the execution body of the media information encapsulation method provided by this embodiment may be a media information encapsulation device.
  • the target media information may be audio information and/or video information; the target media information includes a plurality of media information segments; for example, assume that the target media information is to be greeted by the user, taking into account the user's system language (here In Chinese and English, for example, and the time zone in which the user is located (here, the time difference is 12 hours as an example), the media information segment included in the target media information may include: audio information "Good morning”, audio information "Good Morning”, audio information "Good evening”, audio information "Good evening”, background reflecting video information during the day, background reflecting night video information.
  • the target media information includes a plurality of media information segments; for example, assume that the target media information is to be greeted by the user, taking into account the user's system language (here In Chinese and English, for example, and the time zone in which the user is located (here, the time difference is 12 hours as an example), the media information segment included in the target media information may include: audio information "Good morning”, audio information "Good Morning”, audio information "Good evening”, audio information
  • the logical processing information may include at least the following categories:
  • Password verification It can include text password, new password, voiceprint password, or fingerprint password.
  • the player resolves the media information fragment corresponding to the password verification, the user will be prompted to enter the password, voiceprint or fingerprint according to the type of password verification. , the current media information segment will be decrypted and played when the password is matched;
  • Authentication verification may include digital rights management (DRM, Digital Right Management) certificate, or user group verification; for example, only the media information piece that the user's privilege level can access is played for the compliant user; when the player resolves to the privilege
  • DRM Digital Right Management
  • the user authority is determined according to the user information or DRM verification, and the current media information segment is decrypted and played after the permission is satisfied;
  • Environmental information verification may include time, system language, system settings, or geographic location; for example, according to the system language, select to play or skip the current media information segment, select to play or skip the current media information segment according to the system time; according to system settings, For example, the mute setting prompts the user that the user is currently muted, whether to continue playing, and the like.
  • this embodiment only exemplarily introduces several categories of logical processing information, but the embodiment does not limit the category of logical processing information.
  • the logical processing information may further include: verifying the comparison data.
  • the verification comparison data may include: a hash value of the password, or a hash hash algorithm (sha1, Secure Hash Algorithm) value, an encrypted fingerprint or sound. Grain data, etc.
  • a hash value of the password or a hash hash algorithm (sha1, Secure Hash Algorithm) value, an encrypted fingerprint or sound. Grain data, etc.
  • the check comparison data may include: related DRM information or a list of user rights, and the like.
  • the verification comparison data may include: a corresponding valid start and end time, a valid language, or Global Positioning System (GPS) data.
  • GPS Global Positioning System
  • Step 102 Associate each of the media information segments with respective logical processing information according to a sequence of the media information segments on a time axis.
  • the audio information "Good Morning” is associated with the system language as Chinese.
  • Step 103 Encapsulate the association information, each of the media information segments, and the logic processing information to obtain a package file corresponding to the target media information.
  • steps 102 and 103 can be implemented by using at least one of the following implementation manners:
  • each of the media information segments is processed in sequence according to the sequence of the media information segments on the time axis; and the data corresponding to each of the media information segments is sequentially determined according to the logical processing information of each of the media information segments.
  • the header information of the block, and each of the pieces of media information is respectively written into a data area of the corresponding data block; and the data block corresponding to each piece of the media information piece is sequentially based on a sequence of the media information pieces on a time axis Performing encapsulation in sequence to obtain a package file corresponding to the target media information.
  • the header information of the data block corresponding to the media information segment includes logical processing information of the media information segment.
  • Embodiment 2 writing logical processing information of each piece of the media information into a logical processing information set, and determining index information of each logical processing information; and processing each of the media information segments sequentially according to a sequence on the time axis And the media information segment; determining, according to the index information of the logical processing information of each piece of the media information, the header information of the data block corresponding to each piece of the media information, and respectively writing the pieces of the media information into corresponding a data area of the data block; the logical processing information set is based on a sequence of the media information segments on a time axis, The data blocks corresponding to the pieces of media information are sequentially encapsulated to obtain a package file corresponding to the target media information.
  • FIG. 2b is a schematic diagram of a package structure of the package file shown in FIG. 2b; the logical processing information set shown in FIG. 2b includes at least three pieces of logical processing information, and the index information is sequentially 1-3; the header information of the data block corresponding to the media information fragment is Index information including logical processing information of a piece of media information.
  • processing logic information does not have to be uniformly stored in a logical processing information combination at the beginning of the file, or may be directly stored in the header information of the data block.
  • a video screen is sent in a WeChat friend circle or a group.
  • the video seen and the audio heard are different ( For example, some hear "good morning”, some hear "good evening”, some hear "good morning”, and even the same users open at different times, there will be different results, such as the background of the screen .
  • Application Scenario 2 in the embodiment of the present disclosure, the company website publishes an advertisement short film, and when the users in different countries play, what is heard is the audio and video content corresponding to the system language.
  • the media information segment is associated with the logical processing information based on the sequence of the media information segments of the target media information on the time axis, and the related information, the media information segments, and the logical processing information are encapsulated to obtain an encapsulated file. Since the package file adds logical processing information to each piece of media information segment, a package file can satisfy the needs of a plurality of different users; when the logic needs to be added, it only needs to be added at the time of encapsulation without re-publishing the program. In this way, the workload of audio and video packaging/parsing can be reduced, and processing efficiency can be improved.
  • the present embodiment corresponds to the first embodiment.
  • the present embodiment provides a method for parsing a package file, which is used to parse and play the package file obtained by the above-mentioned first embodiment. Referring to FIG. 3, the package provided in this embodiment is provided.
  • the file parsing method includes the following steps:
  • Step 301 Parse the package file to obtain each media information segment, logical processing information, and associated information of the target media information.
  • the execution body of the package file parsing method provided by this embodiment may be a package file parsing device.
  • Step 302 Determine logical processing information associated with each piece of the media information segment in sequence based on a sequence of the media information segments on a time axis.
  • Step 303 Parse and play the media information segment corresponding to the execution result when the execution result satisfies the preset condition.
  • Implementation mode 1 parsing the package file, and obtaining a data block corresponding to each media information segment of the target media information; And sequentially parsing the header information of the data block corresponding to each piece of the media information segment in a sequence on the time axis of each of the media information segments to obtain logical processing information of each piece of the media information segment; and performing the obtained logical processing And parsing and playing the media information segment corresponding to the execution result when the execution result satisfies the preset condition.
  • Embodiment 2 parsing the package file, obtaining a data block corresponding to each piece of media information of the logical processing information set and the target media information; parsing the logical processing information set to obtain logical processing information and each logic of each piece of the media information piece Processing the index information of the information; sequentially analyzing the header information of the data block corresponding to each piece of the media information segment based on the sequence of the media information segments on the time axis, and obtaining an index of the logical processing information of each piece of the media information segment The information is executed, and the logical processing information corresponding to the obtained index information is executed, and the media information segment corresponding to the execution result is parsed and played when the execution result satisfies the preset condition.
  • the package file parsing device parses the package file to obtain each media information segment, logical processing information, and associated information of the target media information; and sequentially determines each of the media information segments based on a sequence on the time axis.
  • the logical information associated with the media information segment is processed and executed; and the media information segment corresponding to the execution result is parsed and played when the execution result satisfies the preset condition. Since the package file adds logical processing information to each piece of media information segment, the package file can meet the needs of different users; when the logic needs to be added, it only needs to be added at the time of encapsulation without re-publishing the program; thus, it can be reduced. Audio and video packaging / parsing workload, improve processing efficiency.
  • the media information encapsulation method provided in this embodiment is essentially an audio and video encapsulation method with embedded playback logic, including:
  • Step 401 Start packaging
  • Step 402 Write a global file header
  • Step 403 traverse analysis of all audio and video material and its configuration information; the configuration information may include: logic processing information, and the order of each audio and video material on the time axis.
  • the configuration information can be defined by the UI interface of the media information package or by a script.
  • Step 404 Extract all logical processing information involved and number the index
  • Step 405 Write a logical processing information set; see FIG. 5b, each logical processing information includes:
  • the logical processing information categories include:
  • Password verification text password, or graphic password
  • Authority verification DRM verification or user group verification, etc.
  • Environmental information verification time, system language, system settings, or geographic location
  • the logical processing information category is password authentication, save the password hash value, or sha1 value, encrypted Fingerprint or voiceprint data, etc.
  • the logical processing information category is a permission check, the relevant DRM information, or a list of user rights, and the like are saved.
  • the logical processing information category is environmental information verification, the corresponding valid start and end time, valid language, or GPS data is saved.
  • Step 406 sequentially processing the audio and video material according to the chronological order; parsing the nth material, and the value of n is 1, 2, ...;
  • Step 407 Write a data block (Box) according to the configuration information of the material, and include the header information of the data block, and determine the content of the header information according to the configuration information of the material.
  • a data block (Box) according to the configuration information of the material, and include the header information of the data block, and determine the content of the header information according to the configuration information of the material.
  • FIG. 5c if it is a normal material. , "need logic process” is set to 0, no corresponding logic processing information, if logical processing is required, then “need logic process” is set to 1, and the logical process information index (logic process id) is set to logic. Processing the index number in the logical processing information set at the beginning of the file;
  • Step 408 Write audio and video data in the material in the data area of the data block
  • Step 409 determining whether the last material; if so, go to step 411; otherwise, go to step 410;
  • Step 410 Continue processing the next material
  • Step 411 End the encapsulation process and obtain the package file.
  • the encapsulation structure of the package file is shown in Figures 5a-5d.
  • the method for parsing the package file includes:
  • Step 601 Start parsing
  • Step 602 Read a file header
  • Step 603 The positioning analysis logic processes all the logical processing information in the information set.
  • Step 604 Set the state of each logical processing information to initialized
  • Step 605 locate and parse the next data block
  • Step 606 Determine whether a data block is found; if yes, go to step 607; otherwise, go to step 614;
  • Step 607 Parse the header information of the data block.
  • Step 608 According to the parsed data block header information, determine whether logic processing is required; if yes, go to step 610, otherwise go to step 609;
  • Step 609 Parsing audio and video data and playing
  • Step 610 Read a logical processing information index number
  • Step 611 Perform corresponding logical processing information in the logical processing information set, for example, if the corresponding mark display requires logical processing, parse the subsequent logical processing information index number, and find a corresponding logical processing information set according to the logical processing information index number.
  • the logic handles the information and executes it.
  • the corresponding logical processing information is password verification, check the status. If the status is initialized, the password input interface pops up, waiting for the user to input the password. If the password is entered correctly, the status of the corresponding logical processing information is updated to pass. Play the audio and video data in this data block. If the password is entered incorrectly, the status of the corresponding logical processing information is updated to fail, skipping the audio and video data in the current data block, and continuing to process the next data. Piece. If the status is already pass, the audio and video data in the data block is directly played. If the status is fail, the audio and video data in the current data block is directly skipped, and the next data block is processed.
  • the DRM interface is called to parse the audio and video data of the current data block, and if the analysis succeeds, the status of the logical processing information is updated to pass, and the audio and video data in the current data block is played, and the failure corresponds to the logic.
  • the status of the processing information is updated to fail, skipping the audio and video data in the current data block, and continuing to process the next data block.
  • the corresponding logical processing information is a time range
  • the corresponding logical processing information is language verification, it is determined whether the current system language satisfies the language range in the logical processing information, and if the audio and video data of the current data block is satisfied, if the audio and video data in the current data block is not satisfied, the audio and video data in the current data block is skipped. Continue processing the next block of data.
  • Step 612 Determine whether the logical processing result meets the preset condition; if yes, go to step 609; otherwise, go to step 613;
  • Step 613 Skip the current data block, go to step 605;
  • Step 614 End file parsing.
  • the embodiment further describes a media information encapsulating device.
  • the media information encapsulating device includes:
  • a determining module 701 configured to determine a media information segment of the target media information, and logical processing information of each of the media information segments;
  • the association module 702 is configured to sequentially associate each piece of media information with respective logical processing information based on a sequence of the media information segments on a time axis;
  • the encapsulation module 703 is configured to encapsulate the association information, each of the media information segments, and the logic processing information to obtain a package file corresponding to the target media information.
  • the media information segment is associated with the logical processing information based on the sequence of the media information segments of the target media information on the time axis, and the related information, the media information segments, and the logical processing information are encapsulated to obtain an encapsulated file. Since the package file adds logical processing information to each piece of media information segment, the package file can meet the needs of different users; when the logic needs to be added, it only needs to be added at the time of encapsulation without re-publishing the program; Reduce the workload of audio and video packaging / parsing, and improve processing efficiency.
  • the association module 702 is configured to: sequentially process each piece of the media information segment according to a sequence of the media information segments on a time axis; and process logic information according to each piece of the media information segment. Determining, in sequence, header information of a data block corresponding to each piece of the media information, and writing each piece of the media information into a data area of the corresponding data block;
  • the encapsulating module 703 is configured to sequentially encapsulate the data blocks corresponding to the media information segments according to a sequence of the media information segments on a time axis, to obtain an encapsulation file corresponding to the target media information.
  • the association module 702 is configured to: write logical processing information of each piece of the media information into a logical processing information set, and determine index information of each logical processing information; Processing the pieces of the media information in sequence on the time axis; determining, according to the index information of the logical processing information of each piece of the media information, the header information of the data block corresponding to each piece of the media information, and Writing each of the pieces of media information into a data area of a corresponding data block;
  • the encapsulating module 703 is configured to sequentially encapsulate the logical processing information set and the data blocks corresponding to the media information segments according to a sequence of the media information segments on a time axis to obtain the target media information. Corresponding package file.
  • the determining module 701, the associating module 702, and the encapsulating module 703 may each be a central processing unit (CPU), a microprocessor (MPU), an application specific integrated circuit (ASIC), or a field programmable gate array located in the media information encapsulating device. (FPGA) and other implementations.
  • CPU central processing unit
  • MPU microprocessor
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array located in the media information encapsulating device.
  • the package file parsing device includes:
  • the parsing module 801 is configured to parse the encapsulation file, and obtain each piece of media information, logical processing information, and associated information of the target media information;
  • the executing module 802 is configured to sequentially determine and execute logic processing information associated with each piece of the media information segment based on a sequence of the media information segments on a time axis, and parse and describe the execution result when the execution result satisfies a preset condition.
  • the media information segment corresponding to the result is executed and played.
  • the parsing module 801 is configured to: parse the encapsulation file, obtain a logical processing information set, and a data block corresponding to each media information segment of the target media information; parse the logical processing information set to obtain each Logic processing information of the media information segment and index information of each logical processing information;
  • the executing module 802 is configured to sequentially parse the header information of the data block corresponding to each piece of the media information segment according to a sequence of the media information segments on a time axis, to obtain logical processing information of each piece of the media information segment. And indexing information, performing logical processing information corresponding to the obtained index information, and parsing and playing the media information segment corresponding to the execution result when the execution result satisfies the preset condition.
  • the package file parsing device parses the package file to obtain each media information segment, logical processing information, and associated information of the target media information; and sequentially determines each of the media information segments based on a sequence on the time axis.
  • the logical information associated with the media information segment is processed and executed; and the media information segment corresponding to the execution result is parsed and played when the execution result satisfies the preset condition. Since the package file adds logical processing information to each piece of media information segment, the package file can meet the needs of different users; when the logic needs to be added, it only needs to be added at the time of encapsulation without re-publishing the program; thus, it can be reduced. Audio and video packaging / parsing workload, improve processing efficiency rate.
  • the parsing module 801 and the executing module 802 can be implemented by a CPU, an MPU, an ASIC, an FPGA, or the like located in the package file parsing device.
  • This embodiment describes a computer readable medium, which may be a ROM (eg, a read only memory, a FLASH memory, a transfer device, etc.), a magnetic storage medium (eg, a magnetic tape, a disk drive, etc.), an optical storage medium (eg, a CD- ROM, DVD-ROM, paper card, paper tape, etc.) and other well-known types of program memory; computer-readable medium storing computer-executable instructions that, when executed, cause at least one processor to perform operations including:
  • embodiments of the present disclosure can be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware aspects. Moreover, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the present disclosure relates to a media information encapsulation/parsing technology in the field of communication technologies. Since a package file adds logical processing information to each piece of media information segments, a package file can satisfy the needs of a plurality of different users; When adding logic, it only needs to be added at the time of encapsulation without re-publishing the program; thus, the workload of audio and video encapsulation/parsing can be reduced, and the processing efficiency is improved.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Television Signal Processing For Recording (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

Disclosed are a method and device for packaging media information, and a method and device for parsing a packaged file. The method for packaging media information comprises: determining media information segments of target media information, and logic processing information of the respective media information segments; sequentially associating, according to a sequential order of the respective media information segments in a timeline, the respective media information segments with their corresponding logic processing information; and packaging association information, the respective media information segments and the logic processing information to obtain a packaged file corresponding to the target media information. The present disclosure can reduce a workload of packaging/parsing audio and video information, thereby improving processing efficiency.

Description

媒体信息封装方法及装置、封装文件解析方法及装置Media information encapsulation method and device, package file parsing method and device 技术领域Technical field
本公开涉及通信技术领域的媒体信息封装/解析技术,尤其涉及一种媒体信息封装方法及装置、封装文件解析方法及装置。The present disclosure relates to media information encapsulation/parsing technology in the field of communication technologies, and in particular, to a media information encapsulation method and apparatus, and a package file parsing method and apparatus.
背景技术Background technique
现有的音视频封装方法主要关注以下方面:支持哪些编码方式、音视频数据如何存放、排序、索引和同步等。针对音视频数据的逻辑处理一般由播放器来控制,或者由调用的程序实现逻辑处理;这里的逻辑处理包括但不限于:循环、暂停、前一首、下一首等逻辑。The existing audio and video packaging methods mainly focus on the following aspects: which encoding modes are supported, how audio and video data is stored, sorted, indexed, and synchronized. The logic processing for audio and video data is generally controlled by the player, or by the called program to implement logic processing; the logic processing here includes but is not limited to: loop, pause, previous, next, and the like.
现有技术中,音视频文件本身仅仅作为数据的载体,属于被动消费品,对播放本身没有太大的影响。然而,实际中,即使是同一份音视频内容,例如问候视频,需要针对不同语言的使用者分别提供对应语言的音视频文件;如果想增加逻辑,就需要修改播放器或者重新发布程序。如此,造成音视频封装/解析的工作量大、处理效率低。In the prior art, the audio and video file itself is only used as a carrier of data, and is a passive consumer product, which does not have much influence on the playback itself. However, in practice, even the same audio and video content, such as a greeting video, needs to provide audio and video files for the corresponding language for users of different languages; if you want to add logic, you need to modify the player or republish the program. As a result, the audio and video package/parsing has a large workload and low processing efficiency.
发明内容Summary of the invention
为解决现有存在的技术问题,本公开实施例提供一种媒体信息封装方法及装置、封装文件解析方法及装置,能够降低音视频封装/解析的工作量,提高处理效率。In order to solve the existing technical problems, the embodiments of the present disclosure provide a media information encapsulation method and device, a package file parsing method, and a device, which can reduce the workload of audio and video encapsulation/parsing and improve processing efficiency.
为达到上述目的,本公开实施例的技术方案是这样实现的:In order to achieve the above object, the technical solution of the embodiment of the present disclosure is implemented as follows:
第一方面,本公开实施例提供一种媒体信息封装方法,该方法包括:In a first aspect, an embodiment of the present disclosure provides a media information encapsulation method, where the method includes:
确定目标媒体信息的媒体信息片段,及各所述媒体信息片段的逻辑处理信息;Determining a media information segment of the target media information, and logical processing information of each of the media information segments;
基于各所述媒体信息片段在时间轴上的先后顺序,将各所述媒体信息片段依次与各自的逻辑处理信息进行关联,及将关联信息、各所述媒体信息片段及逻辑处理信息进行封装,得到所述目标媒体信息对应的封装文件。And each of the media information segments are sequentially associated with respective logical processing information, and the related information, each of the media information segments, and logical processing information are encapsulated according to a sequence of the media information segments on a time axis. Obtaining a package file corresponding to the target media information.
根据一个示例性实施例,所述基于各所述媒体信息片段在时间轴上的先后顺序,将各所述媒体信息片段依次与各自的逻辑处理信息进行关联,包括:According to an exemplary embodiment, the media information segments are sequentially associated with respective logical processing information based on a sequence of the media information segments on a time axis, including:
基于各所述媒体信息片段在时间轴上的先后顺序依次处理各所述媒体信息片段;根据各所述媒体信息片段的逻辑处理信息,依次确定各所述媒体信息片段对应的数据块的头信息,并将各所述媒体信息片段分别写入对应的数据块的数据区;And processing, according to the sequence of the media information segments, the media information segments in sequence on the time axis; determining, according to the logical processing information of each of the media information segments, the header information of the data blocks corresponding to the media information segments. And writing each of the media information segments into a data area of the corresponding data block;
所述将关联信息、各所述媒体信息片段及逻辑处理信息进行封装,得到所述目标媒体信息对应的封装文件,包括:Encapsulating the associated information, each of the media information segments, and the logical processing information to obtain a package file corresponding to the target media information, including:
基于各所述媒体信息片段在时间轴上的先后顺序,将各所述媒体信息片段对应的数据块进行依次封装,得到所述目标媒体信息对应的封装文件。The data blocks corresponding to the media information segments are sequentially encapsulated based on the sequence of the media information segments on the time axis to obtain a package file corresponding to the target media information.
根据一个示例性实施例,所述基于各所述媒体信息片段在时间轴上的先后顺序,将各所述媒体信息片段依次与各自的逻辑处理信息进行关联,包括: According to an exemplary embodiment, the media information segments are sequentially associated with respective logical processing information based on a sequence of the media information segments on a time axis, including:
将各所述媒体信息片段的逻辑处理信息写入逻辑处理信息集合,并确定每个逻辑处理信息的索引信息;基于各所述媒体信息片段在时间轴上的先后顺序依次处理各所述媒体信息片段;根据各所述媒体信息片段的逻辑处理信息的索引信息,依次确定各所述媒体信息片段对应的数据块的头信息,并将各所述媒体信息片段分别写入对应的数据块的数据区;Writing logical processing information of each piece of media information into a logical processing information set, and determining index information of each logical processing information; processing each of the media information sequentially according to a sequence of each of the pieces of media information on a time axis a segment; determining, according to the index information of the logical processing information of each piece of the media information, the header information of the data block corresponding to each piece of the media information, and writing each piece of the media information into the data of the corresponding data block Area;
所述将关联信息、各所述媒体信息片段及逻辑处理信息进行封装,得到所述目标媒体信息对应的封装文件,包括:基于各所述媒体信息片段在时间轴上的先后顺序,将所述逻辑处理信息集合、各所述媒体信息片段对应的数据块进行依次封装,得到所述目标媒体信息对应的封装文件。Encapsulating the associated information, each of the media information segments, and the logical processing information to obtain the package file corresponding to the target media information, including: performing, according to a sequence of the media information segments on a time axis, The logical processing information set and the data blocks corresponding to the pieces of the media information are sequentially encapsulated to obtain a package file corresponding to the target media information.
第二方面,本公开实施例提供一种封装文件解析方法,该方法包括:In a second aspect, an embodiment of the present disclosure provides a method for parsing a package file, where the method includes:
解析封装文件,得到目标媒体信息的各媒体信息片段、逻辑处理信息及关联信息;Parsing the package file to obtain pieces of media information, logical processing information, and associated information of the target media information;
基于各所述媒体信息片段在时间轴上的先后顺序,依次确定各所述媒体信息片段关联的逻辑处理信息并执行,并在执行结果满足预设条件时解析与所述执行结果对应的媒体信息片段并播放。Determining, according to a sequence of the media information segments on a time axis, logical processing information associated with each of the media information segments, and performing media information corresponding to the execution result when the execution result satisfies a preset condition Fragment and play.
根据一个示例性实施例,所述解析封装文件,得到目标媒体信息的各媒体信息片段、逻辑处理信息及关联信息,包括:According to an exemplary embodiment, the parsing the package file to obtain each media information segment, logical processing information, and associated information of the target media information includes:
解析封装文件,得到逻辑处理信息集合、目标媒体信息的各媒体信息片段对应的数据块;解析所述逻辑处理信息集合,得到各所述媒体信息片段的逻辑处理信息及每个逻辑处理信息的索引信息;Parsing the package file to obtain a data block corresponding to each piece of media information of the logical processing information set and the target media information; parsing the logical processing information set to obtain logical processing information of each piece of the media information and an index of each logical processing information information;
所述基于各所述媒体信息片段在时间轴上的先后顺序,依次确定各所述媒体信息片段关联的逻辑处理信息并执行,并在执行结果满足预设条件时解析与所述执行结果对应的媒体信息片段并播放,包括:Determining, according to a sequence of the media information segments on a time axis, logic processing information associated with each piece of the media information segment, and performing, and parsing the execution result corresponding to the execution result when the execution result satisfies a preset condition Media message segments and play, including:
基于各所述媒体信息片段在时间轴上的先后顺序,依次解析各所述媒体信息片段对应的数据块的头信息,得到各所述媒体信息片段的逻辑处理信息的索引信息,执行所述得到的索引信息对应的逻辑处理信息,并在执行结果满足所述预设条件时解析与所述执行结果对应的媒体信息片段并播放。And performing, according to a sequence of the media information segments on a time axis, sequentially parsing header information of the data blocks corresponding to the pieces of the media information, obtaining index information of logical processing information of each piece of the media information, and performing the obtaining The logical information corresponding to the index information is processed, and the media information segment corresponding to the execution result is parsed and played when the execution result satisfies the preset condition.
第三方面,本公开实施例提供一种媒体信息封装装置,该装置包括:In a third aspect, an embodiment of the present disclosure provides a media information encapsulating apparatus, where the apparatus includes:
确定模块,设置为确定目标媒体信息的媒体信息片段,及各所述媒体信息片段的逻辑处理信息;a determining module, configured to determine a media information segment of the target media information, and logical processing information of each of the media information segments;
关联模块,设置为基于各所述媒体信息片段在时间轴上的先后顺序,将各所述媒体信息片段依次与各自的逻辑处理信息进行关联;The association module is configured to associate each of the media information segments with respective logical processing information according to a sequence of the media information segments on a time axis;
封装模块,设置为将关联信息、各所述媒体信息片段及逻辑处理信息进行封装,得到所述目标媒体信息对应的封装文件。The encapsulating module is configured to encapsulate the associated information, each of the media information segments, and the logical processing information to obtain a package file corresponding to the target media information.
根据一个示例性实施例,所述关联模块设置为:基于各所述媒体信息片段在时间轴上的先后顺序依次处理各所述媒体信息片段;根据各所述媒体信息片段的逻辑处理信息,依次确定各所述媒体信息片段对应的数据块的头信息,并将各所述媒体信息片段分别写入对 应的数据块的数据区;According to an exemplary embodiment, the association module is configured to: sequentially process each of the media information segments based on a sequence of the media information segments on a time axis; and sequentially perform logical processing information according to each of the media information segments. Determining header information of a data block corresponding to each piece of the media information, and writing each piece of the media information into a pair The data area of the data block that should be;
所述封装模块设置为基于各所述媒体信息片段在时间轴上的先后顺序,将各所述媒体信息片段对应的数据块进行依次封装,得到所述目标媒体信息对应的封装文件。The encapsulating module is configured to sequentially encapsulate the data blocks corresponding to the media information segments according to a sequence of the media information segments on a time axis, to obtain an encapsulation file corresponding to the target media information.
根据一个示例性实施例,所述关联模块设置为:将各所述媒体信息片段的逻辑处理信息写入逻辑处理信息集合,并确定每个逻辑处理信息的索引信息;基于各所述媒体信息片段在时间轴上的先后顺序依次处理各所述媒体信息片段;根据各所述媒体信息片段的逻辑处理信息的索引信息,依次确定各所述媒体信息片段对应的数据块的头信息,并将各所述媒体信息片段分别写入对应的数据块的数据区;According to an exemplary embodiment, the association module is configured to: write logical processing information of each piece of the media information into a logical processing information set, and determine index information of each logical processing information; based on each of the media information segments Processing each of the media information segments in sequence on the time axis; determining, according to the index information of the logical processing information of each media information segment, header information of each data block corresponding to the media information segment, and The pieces of media information are respectively written into data areas of corresponding data blocks;
所述封装模块设置为基于各所述媒体信息片段在时间轴上的先后顺序,将所述逻辑处理信息集合、各所述媒体信息片段对应的数据块进行依次封装,得到所述目标媒体信息对应的封装文件。The encapsulating module is configured to sequentially encapsulate the logical processing information set and the data blocks corresponding to the media information segments according to a sequence of the media information segments on a time axis, to obtain the target media information correspondingly. Package file.
第三方面,本公开实施例提供一种封装文件解析装置,该装置包括:In a third aspect, an embodiment of the present disclosure provides a package file parsing apparatus, where the apparatus includes:
解析模块,设置为解析封装文件,得到目标媒体信息的各媒体信息片段、逻辑处理信息及关联信息;The parsing module is configured to parse the encapsulation file, and obtain each piece of media information, logical processing information, and associated information of the target media information;
执行模块,设置为基于各所述媒体信息片段在时间轴上的先后顺序,依次确定各所述媒体信息片段关联的逻辑处理信息并执行,并在执行结果满足预设条件时解析与所述执行结果对应的媒体信息片段并播放。The execution module is configured to sequentially determine and execute logic processing information associated with each piece of the media information segment based on a sequence of the media information segments on a time axis, and parse and perform the execution when the execution result satisfies a preset condition The corresponding media information segment is played and played.
根据一个示例性实施例,所述解析模块设置为:解析封装文件,得到逻辑处理信息集合、目标媒体信息的各媒体信息片段对应的数据块;解析所述逻辑处理信息集合,得到各所述媒体信息片段的逻辑处理信息及每个逻辑处理信息的索引信息;According to an exemplary embodiment, the parsing module is configured to: parse the encapsulation file, obtain a logical processing information set, and a data block corresponding to each media information segment of the target media information; parse the logical processing information set to obtain each of the media Logical processing information of the information fragment and index information of each logical processing information;
所述执行模块设置为基于各所述媒体信息片段在时间轴上的先后顺序,依次解析各所述媒体信息片段对应的数据块的头信息,得到各所述媒体信息片段的逻辑处理信息的索引信息,执行所述得到的索引信息对应的逻辑处理信息,并在执行结果满足预设条件时解析与执行结果对应的媒体信息片段并播放。The execution module is configured to sequentially parse the header information of the data block corresponding to each piece of the media information segment based on the sequence of the media information segments on the time axis, and obtain an index of the logical processing information of each piece of the media information segment. The information is executed, and the logical processing information corresponding to the obtained index information is executed, and the media information segment corresponding to the execution result is parsed and played when the execution result satisfies the preset condition.
在本公开实施例中,基于目标媒体信息的各媒体信息片段在时间轴上的先后顺序,将媒体信息片段与逻辑处理信息进行关联,将关联信息、各媒体信息片段及逻辑处理信息进行封装得到封装文件;由于封装文件对每一段媒体信息片段增加了逻辑处理信息,使得一个封装文件就可以满足多个不同用户的需求;需要增加逻辑时,只需要在封装时进行增加即可,而无需重新发布程序;如此,可以降低音视频封装/解析的工作量,提高处理效率。In the embodiment of the present disclosure, the media information segment is associated with the logical processing information based on the sequence of the media information segments of the target media information on the time axis, and the related information, the media information segments, and the logical processing information are encapsulated. Encapsulation file; because the package file adds logical processing information to each piece of media information, so that a package file can meet the needs of multiple different users; when adding logic, it only needs to be added at the time of encapsulation without re-writing. The program is released; this can reduce the workload of audio and video packaging/parsing and improve processing efficiency.
附图说明DRAWINGS
在附图(其不一定是按比例绘制的)中,相似的附图标记可在不同的视图中描述相似的部件。具有不同字母后缀的相似附图标记可表示相似部件的不同示例。附图以示例而非限制的方式大体示出了本文中所讨论的各个实施例。In the drawings, which are not necessarily to scale, the Like reference numerals with different letter suffixes may indicate different examples of similar components. The drawings generally illustrate the various embodiments discussed herein by way of example and not limitation.
图1为本公开实施例中媒体信息封装方法的一个可选的流程示意图; FIG. 1 is an optional schematic flowchart of a method for encapsulating a media information according to an embodiment of the present disclosure;
图2a为本公开实施例中封装文件的一个可选的封装结构示意图;2a is a schematic diagram of an optional package structure of a package file in an embodiment of the present disclosure;
图2b为本公开实施例中封装文件的另一个可选的封装结构示意图;2b is a schematic diagram of another optional package structure of a package file in an embodiment of the present disclosure;
图3为本公开实施例中封装文件解析方法的一个可选的流程示意图;FIG. 3 is an optional schematic flowchart of a method for parsing a package file according to an embodiment of the present disclosure;
图4为本公开实施例中媒体信息封装方法的另一个可选的流程示意图;FIG. 4 is another schematic flowchart of a method for encapsulating a media information according to an embodiment of the present disclosure;
图5a为本公开实施例中封装文件的又一个可选的封装结构示意图;FIG. 5a is a schematic diagram of still another optional package structure of a package file according to an embodiment of the present disclosure; FIG.
图5b为本公开实施例中封装文件中逻辑处理信息的结构示意图;FIG. 5b is a schematic structural diagram of logical processing information in an encapsulated file according to an embodiment of the present disclosure;
图5c为本公开实施例中封装文件中数据块的头信息的结构示意图;5c is a schematic structural diagram of header information of a data block in an encapsulated file according to an embodiment of the present disclosure;
图5d为本公开实施例中封装文件中数据块的数据区的结构示意图;5d is a schematic structural diagram of a data area of a data block in an encapsulated file according to an embodiment of the present disclosure;
图6为本公开实施例中封装文件解析方法的另一个可选的流程示意图;FIG. 6 is another schematic flowchart of a method for parsing a package file according to an embodiment of the present disclosure;
图7为本公开实施例中媒体信息封装装置的一个可选的结构示意图;FIG. 7 is an optional structural diagram of a media information encapsulating apparatus according to an embodiment of the present disclosure;
图8为本公开实施例中封装文件解析装置的一个可选的结构示意图。FIG. 8 is a schematic structural diagram of an apparatus for parsing a file in the embodiment of the present disclosure.
具体实施方式detailed description
在本公开的各种实施例中:确定目标媒体信息的媒体信息片段,及各所述媒体信息片段的逻辑处理信息;基于各所述媒体信息片段在时间轴上的先后顺序,将各所述媒体信息片段依次与各自的逻辑处理信息进行关联,及将关联信息、各所述媒体信息片段及逻辑处理信息进行封装,得到所述目标媒体信息对应的封装文件。In various embodiments of the present disclosure: determining a media information segment of the target media information, and logical processing information of each of the media information segments; and each of the media information segments based on a sequence on a time axis The media information segment is sequentially associated with the respective logical processing information, and the related information, each of the media information segments, and the logical processing information are encapsulated to obtain a package file corresponding to the target media information.
以下结合附图及实施例,对本公开进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本公开,并不用于限定本公开。The present disclosure will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the disclosure and are not intended to limit the disclosure.
实施例一 Embodiment 1
本实施例提供一种媒体信息封装方法,参见图1,本实施例提供的媒体信息封装方法包括以下步骤:This embodiment provides a media information encapsulation method. Referring to FIG. 1, the media information encapsulation method provided in this embodiment includes the following steps:
步骤101、确定目标媒体信息的媒体信息片段,及各所述媒体信息片段的逻辑处理信息。Step 101: Determine a media information segment of the target media information, and logical processing information of each of the media information segments.
这里,本实施例提供的媒体信息封装方法的执行主体可以为媒体信息封装装置。Here, the execution body of the media information encapsulation method provided by this embodiment may be a media information encapsulation device.
实际中,目标媒体信息可以是音频信息和/或视频信息;目标媒体信息包括多个媒体信息片段;举个例子,假设目标媒体信息是要向使用者问好,考虑到使用者的系统语言(这里以中文及英文为例)及使用者所处的时区(这里以时差为12个小时为例)不同,则目标媒体信息包括的媒体信息片段可以包括:音频信息“早上好”、音频信息“Good morning”、音频信息“晚上好”、音频信息“Good evening”、背景反映白天的视频信息、背景反映夜晚的视频信息等。In practice, the target media information may be audio information and/or video information; the target media information includes a plurality of media information segments; for example, assume that the target media information is to be greeted by the user, taking into account the user's system language (here In Chinese and English, for example, and the time zone in which the user is located (here, the time difference is 12 hours as an example), the media information segment included in the target media information may include: audio information "Good morning", audio information "Good Morning", audio information "Good evening", audio information "Good evening", background reflecting video information during the day, background reflecting night video information.
这里,逻辑处理信息可以至少包括以下类别:Here, the logical processing information may include at least the following categories:
密码验证:可以包括文字密码、图新密码、声纹密码、或指纹密码等;当播放器解析到密码验证对应的媒体信息片段时,会根据密码验证的类型提示用户输入密码、声纹或者指纹,当密码匹配后才会解密当前媒体信息片段并播放; Password verification: It can include text password, new password, voiceprint password, or fingerprint password. When the player resolves the media information fragment corresponding to the password verification, the user will be prompted to enter the password, voiceprint or fingerprint according to the type of password verification. , the current media information segment will be decrypted and played when the password is matched;
权限验证:可以包括数字权限管理(DRM,Digital Right Management)证、或用户分组验证等;例如,只给符合权限的用户播放该用户的权限等级能访问的媒体信息片段;当播放器解析到权限验证对应的媒体信息片段时,会根据用户信息或者DRM验证来判断用户权限,满足权限才会解密当前媒体信息片段并播放;Authentication verification: may include digital rights management (DRM, Digital Right Management) certificate, or user group verification; for example, only the media information piece that the user's privilege level can access is played for the compliant user; when the player resolves to the privilege When verifying the corresponding media information segment, the user authority is determined according to the user information or DRM verification, and the current media information segment is decrypted and played after the permission is satisfied;
环境信息验证:可以包括时间、系统语言、系统设置、或地理位置等;比如根据系统语言选择播放或者跳过当前媒体信息片段,根据系统时间选择播放或者跳过当前媒体信息片段;根据系统设置,例如静音设置提示用户当前处于静音状态,是否需要继续播放等。Environmental information verification: may include time, system language, system settings, or geographic location; for example, according to the system language, select to play or skip the current media information segment, select to play or skip the current media information segment according to the system time; according to system settings, For example, the mute setting prompts the user that the user is currently muted, whether to continue playing, and the like.
需要说明的是,本实施例只是示例性介绍了逻辑处理信息的几个类别,但是,本实施例并不对逻辑处理信息的类别进行限定。It should be noted that this embodiment only exemplarily introduces several categories of logical processing information, but the embodiment does not limit the category of logical processing information.
实际中,逻辑处理信息还可以包括:校验对比数据。In practice, the logical processing information may further include: verifying the comparison data.
具体地,如果逻辑处理信息的类别为密码验证,那么校验对比数据可以包括:密码的哈希(hash)值、或者安全哈希算法(sha1,Secure Hash Algorithm)值、加密后的指纹或声纹数据等。Specifically, if the category of the logical processing information is password verification, the verification comparison data may include: a hash value of the password, or a hash hash algorithm (sha1, Secure Hash Algorithm) value, an encrypted fingerprint or sound. Grain data, etc.
如果逻辑处理信息的类别为权限校验,校验对比数据可以包括:相关DRM信息或者用户权限列表等。If the category of the logical processing information is the rights check, the check comparison data may include: related DRM information or a list of user rights, and the like.
如果逻辑处理信息的类别为环境信息验证,校验对比数据可以包括:对应的有效起止时间、有效语言或全球定位系统(GPS,Global Positioning System)数据等。If the category of the logical processing information is environmental information verification, the verification comparison data may include: a corresponding valid start and end time, a valid language, or Global Positioning System (GPS) data.
步骤102、基于各所述媒体信息片段在时间轴上的先后顺序,将各所述媒体信息片段依次与各自的逻辑处理信息进行关联。Step 102: Associate each of the media information segments with respective logical processing information according to a sequence of the media information segments on a time axis.
例如,将音频信息“早上好”与系统语言为中文进行关联。For example, the audio information "Good Morning" is associated with the system language as Chinese.
步骤103、将关联信息、各所述媒体信息片段及逻辑处理信息进行封装,得到所述目标媒体信息对应的封装文件。Step 103: Encapsulate the association information, each of the media information segments, and the logic processing information to obtain a package file corresponding to the target media information.
本实施例中,封装时针对每一段媒体信息片段,增加一些可选的逻辑处理信息。上述步骤102、103至少可以采用以下任意一种实现方式进行实施:In this embodiment, some optional logical processing information is added for each piece of media information segment during encapsulation. The foregoing steps 102 and 103 can be implemented by using at least one of the following implementation manners:
实现方式1、基于各所述媒体信息片段在时间轴上的先后顺序依次处理各所述媒体信息片段;根据各所述媒体信息片段的逻辑处理信息,依次确定各所述媒体信息片段对应的数据块的头信息,并将各所述媒体信息片段分别写入对应的数据块的数据区;基于各所述媒体信息片段在时间轴上的先后顺序,将各所述媒体信息片段对应的数据块进行依次封装,得到所述目标媒体信息对应的封装文件。参见图2a示出的封装文件的封装结构示意图;媒体信息片段对应的数据块的头信息中包括媒体信息片段的逻辑处理信息。In the first embodiment, each of the media information segments is processed in sequence according to the sequence of the media information segments on the time axis; and the data corresponding to each of the media information segments is sequentially determined according to the logical processing information of each of the media information segments. The header information of the block, and each of the pieces of media information is respectively written into a data area of the corresponding data block; and the data block corresponding to each piece of the media information piece is sequentially based on a sequence of the media information pieces on a time axis Performing encapsulation in sequence to obtain a package file corresponding to the target media information. Referring to the package structure diagram of the package file shown in FIG. 2a, the header information of the data block corresponding to the media information segment includes logical processing information of the media information segment.
实现方式2、将各所述媒体信息片段的逻辑处理信息写入逻辑处理信息集合,并确定每个逻辑处理信息的索引信息;基于各所述媒体信息片段在时间轴上的先后顺序依次处理各所述媒体信息片段;根据各所述媒体信息片段的逻辑处理信息的索引信息,依次确定各所述媒体信息片段对应的数据块的头信息,并将各所述媒体信息片段分别写入对应的数据块的数据区;基于各所述媒体信息片段在时间轴上的先后顺序,将所述逻辑处理信息集合、 各所述媒体信息片段对应的数据块进行依次封装,得到所述目标媒体信息对应的封装文件。参见图2b示出的封装文件的封装结构示意图;图2b示出的逻辑处理信息集合至少包括了3个逻辑处理信息,索引信息依次为1-3;媒体信息片段对应的数据块的头信息中包括媒体信息片段的逻辑处理信息的索引信息。Embodiment 2: writing logical processing information of each piece of the media information into a logical processing information set, and determining index information of each logical processing information; and processing each of the media information segments sequentially according to a sequence on the time axis And the media information segment; determining, according to the index information of the logical processing information of each piece of the media information, the header information of the data block corresponding to each piece of the media information, and respectively writing the pieces of the media information into corresponding a data area of the data block; the logical processing information set is based on a sequence of the media information segments on a time axis, The data blocks corresponding to the pieces of media information are sequentially encapsulated to obtain a package file corresponding to the target media information. 2b is a schematic diagram of a package structure of the package file shown in FIG. 2b; the logical processing information set shown in FIG. 2b includes at least three pieces of logical processing information, and the index information is sequentially 1-3; the header information of the data block corresponding to the media information fragment is Index information including logical processing information of a piece of media information.
这里,处理逻辑信息不一定要统一存储到文件开始的一个逻辑处理信息结合中,也可以直接存储在数据块的头信息里。Here, the processing logic information does not have to be uniformly stored in a logical processing information combination at the beginning of the file, or may be directly stored in the header information of the data block.
现有技术中存在如下缺陷:即使是同一份音视频内容,例如问候视频,需要针对不同语言的使用者分别提供对应语言的音视频文件;如果想增加逻辑,就需要修改播放器或者重新发布程序。In the prior art, there is a defect that even if the same audio and video content, such as a greeting video, users of different languages need to provide audio and video files of corresponding languages respectively; if you want to add logic, you need to modify the player or republish the program. .
采用本公开实施例的应用场景举例如下:An application scenario using the embodiment of the present disclosure is as follows:
应用场景1、本公开实施例,在微信朋友圈或者群里发个视屏,不同接收者(假设系统语言设定不同、或时区不同)打开时,看到的视频和听到的音频会不同(比如有些听到“早上好”、有些听到“晚上好”、有些听到““good morning”等),甚至同样的用户在不同时间打开,也会有不同的结果,如视屏画面的背景不同。 Application Scenario 1. In the embodiment of the present disclosure, a video screen is sent in a WeChat friend circle or a group. When different recipients (assuming different system language settings or different time zones) are opened, the video seen and the audio heard are different ( For example, some hear "good morning", some hear "good evening", some hear "good morning", and even the same users open at different times, there will be different results, such as the background of the screen .
应用场景2、本公开实施例,公司网站发布一个广告短片,不同国家的用户播放时,听到的是将是与系统语言对应的音视频内容。 Application Scenario 2, in the embodiment of the present disclosure, the company website publishes an advertisement short film, and when the users in different countries play, what is heard is the audio and video content corresponding to the system language.
本实施例中,基于目标媒体信息的各媒体信息片段在时间轴上的先后顺序,将媒体信息片段与逻辑处理信息进行关联,将关联信息、各媒体信息片段及逻辑处理信息进行封装得到封装文件;由于封装文件对每一段媒体信息片段增加了逻辑处理信息,使得一个封装文件就可以满足多个不同用户的需求;需要增加逻辑时,只需要在封装时进行增加即可,而无需重新发布程序;如此,可以降低音视频封装/解析的工作量,提高处理效率。In this embodiment, the media information segment is associated with the logical processing information based on the sequence of the media information segments of the target media information on the time axis, and the related information, the media information segments, and the logical processing information are encapsulated to obtain an encapsulated file. Since the package file adds logical processing information to each piece of media information segment, a package file can satisfy the needs of a plurality of different users; when the logic needs to be added, it only needs to be added at the time of encapsulation without re-publishing the program. In this way, the workload of audio and video packaging/parsing can be reduced, and processing efficiency can be improved.
实施例二 Embodiment 2
本实施例与上述实施例一相对应,本实施例提供一种封装文件解析方法,用以对上述实施例一中封装得到的封装文件进行解析并播放;参见图3,本实施例提供的封装文件解析方法包括以下步骤:This embodiment corresponds to the first embodiment. The present embodiment provides a method for parsing a package file, which is used to parse and play the package file obtained by the above-mentioned first embodiment. Referring to FIG. 3, the package provided in this embodiment is provided. The file parsing method includes the following steps:
步骤301、解析封装文件,得到目标媒体信息的各媒体信息片段、逻辑处理信息及关联信息。Step 301: Parse the package file to obtain each media information segment, logical processing information, and associated information of the target media information.
这里,本实施例提供的封装文件解析方法的执行主体可以为封装文件解析装置。Here, the execution body of the package file parsing method provided by this embodiment may be a package file parsing device.
步骤302、基于各所述媒体信息片段在时间轴上的先后顺序,依次确定各所述媒体信息片段关联的逻辑处理信息并执行。Step 302: Determine logical processing information associated with each piece of the media information segment in sequence based on a sequence of the media information segments on a time axis.
步骤303、在执行结果满足预设条件时解析与所述执行结果对应的媒体信息片段并播放。Step 303: Parse and play the media information segment corresponding to the execution result when the execution result satisfies the preset condition.
上述步骤301、302至少可以采用以下任意一种实现方式进行实施:The foregoing steps 301 and 302 can be implemented by using at least one of the following implementation manners:
实现方式1、解析封装文件,得到目标媒体信息的各媒体信息片段对应的数据块;基 于各所述媒体信息片段在时间轴上的先后顺序,依次解析各所述媒体信息片段对应的数据块的头信息,得到各所述媒体信息片段的逻辑处理信息;执行所述得到的逻辑处理信息,并在执行结果满足所述预设条件时解析与所述执行结果对应的媒体信息片段并播放。 Implementation mode 1, parsing the package file, and obtaining a data block corresponding to each media information segment of the target media information; And sequentially parsing the header information of the data block corresponding to each piece of the media information segment in a sequence on the time axis of each of the media information segments to obtain logical processing information of each piece of the media information segment; and performing the obtained logical processing And parsing and playing the media information segment corresponding to the execution result when the execution result satisfies the preset condition.
实现方式2、解析封装文件,得到逻辑处理信息集合、目标媒体信息的各媒体信息片段对应的数据块;解析所述逻辑处理信息集合,得到各所述媒体信息片段的逻辑处理信息及每个逻辑处理信息的索引信息;基于各所述媒体信息片段在时间轴上的先后顺序,依次解析各所述媒体信息片段对应的数据块的头信息,得到各所述媒体信息片段的逻辑处理信息的索引信息,执行所述得到的索引信息对应的逻辑处理信息,并在执行结果满足所述预设条件时解析与所述执行结果对应的媒体信息片段并播放。Embodiment 2: parsing the package file, obtaining a data block corresponding to each piece of media information of the logical processing information set and the target media information; parsing the logical processing information set to obtain logical processing information and each logic of each piece of the media information piece Processing the index information of the information; sequentially analyzing the header information of the data block corresponding to each piece of the media information segment based on the sequence of the media information segments on the time axis, and obtaining an index of the logical processing information of each piece of the media information segment The information is executed, and the logical processing information corresponding to the obtained index information is executed, and the media information segment corresponding to the execution result is parsed and played when the execution result satisfies the preset condition.
本实施例中,封装文件解析装置解析封装文件,得到目标媒体信息的各媒体信息片段、逻辑处理信息及关联信息;基于各所述媒体信息片段在时间轴上的先后顺序,依次确定各所述媒体信息片段关联的逻辑处理信息并执行;在执行结果满足预设条件时解析与所述执行结果对应的媒体信息片段并播放。由于封装文件对每一段媒体信息片段增加了逻辑处理信息,使得封装文件可以满足不同用户的需求;需要增加逻辑时,只需要在封装时进行增加即可,而无需重新发布程序;如此,可以降低音视频封装/解析的工作量,提高处理效率。In this embodiment, the package file parsing device parses the package file to obtain each media information segment, logical processing information, and associated information of the target media information; and sequentially determines each of the media information segments based on a sequence on the time axis. The logical information associated with the media information segment is processed and executed; and the media information segment corresponding to the execution result is parsed and played when the execution result satisfies the preset condition. Since the package file adds logical processing information to each piece of media information segment, the package file can meet the needs of different users; when the logic needs to be added, it only needs to be added at the time of encapsulation without re-publishing the program; thus, it can be reduced. Audio and video packaging / parsing workload, improve processing efficiency.
实施例三 Embodiment 3
本实施例基于上述任意实施例,参见图4,本实施例提供的媒体信息封装方法实质是一种内嵌播放逻辑的音视频封装方法,包括:The present embodiment is based on any of the foregoing embodiments. Referring to FIG. 4, the media information encapsulation method provided in this embodiment is essentially an audio and video encapsulation method with embedded playback logic, including:
步骤401:开始封装;Step 401: Start packaging;
步骤402:写入全局文件头;Step 402: Write a global file header;
步骤403:遍历分析所有音视频素材及其配置信息;配置信息可以包括:逻辑处理信息、及各音视频素材在时间轴上的先后顺序。配置信息可以通过媒体信息封装的UI界面进行定义,或者通过脚本进行定义。Step 403: traverse analysis of all audio and video material and its configuration information; the configuration information may include: logic processing information, and the order of each audio and video material on the time axis. The configuration information can be defined by the UI interface of the media information package or by a script.
步骤404:提取涉及到的所有逻辑处理信息并编号索引;Step 404: Extract all logical processing information involved and number the index;
步骤405:写入逻辑处理信息集合;参见图5b,每个逻辑处理信息包括:Step 405: Write a logical processing information set; see FIG. 5b, each logical processing information includes:
a)同步关键字(固定);a) synchronization keyword (fixed);
b)逻辑处理信息编号,根据扫描顺序编号;b) logically process the information number, numbered according to the scanning order;
c)逻辑处理信息类别包括:c) The logical processing information categories include:
密码验证:文字密码、或图形密码等;Password verification: text password, or graphic password;
权限验证:DRM验证或用户分组验证等;Authority verification: DRM verification or user group verification, etc.;
环境信息验证:时间、系统语言、系统设置、或地理位置等;Environmental information verification: time, system language, system settings, or geographic location;
d)校验对比数据包括:d) Checking the comparison data includes:
如果逻辑处理信息类别为密码验证,则保存密码的hash值、或者sha1值、加密后的 指纹或声纹数据等。If the logical processing information category is password authentication, save the password hash value, or sha1 value, encrypted Fingerprint or voiceprint data, etc.
如果逻辑处理信息类别为权限校验,则保存相关DRM信息、或者用户权限列表等。If the logical processing information category is a permission check, the relevant DRM information, or a list of user rights, and the like are saved.
如果逻辑处理信息类别为环境信息验证,则保存对应的有效起止时间、有效语言、或GPS数据等。If the logical processing information category is environmental information verification, the corresponding valid start and end time, valid language, or GPS data is saved.
步骤406:根据时间顺序依次处理音视频素材;解析第n个素材,n的取值为1、2…;Step 406: sequentially processing the audio and video material according to the chronological order; parsing the nth material, and the value of n is 1, 2, ...;
步骤407:根据素材的配置信息,写入数据块(Box),其中包含该数据块的头信息,会根据该素材的配置信息,确定头信息内容,其格式请参考图5c,如果是普通素材,则“需要逻辑处理”(need logic process)置为0,无对应逻辑处理信息,如果需要逻辑处理,则“need logic process”置为1,逻辑处理信息索引号(logic process id)置为逻辑处理在文件开始处逻辑处理信息集合中的索引号;Step 407: Write a data block (Box) according to the configuration information of the material, and include the header information of the data block, and determine the content of the header information according to the configuration information of the material. For the format, refer to FIG. 5c, if it is a normal material. , "need logic process" is set to 0, no corresponding logic processing information, if logical processing is required, then "need logic process" is set to 1, and the logical process information index (logic process id) is set to logic. Processing the index number in the logical processing information set at the beginning of the file;
步骤408:在数据块的数据区写入素材中的音视频数据;Step 408: Write audio and video data in the material in the data area of the data block;
步骤409:判断是否最后一个素材;若是,转到步骤411;否则,转到步骤410;Step 409: determining whether the last material; if so, go to step 411; otherwise, go to step 410;
步骤410:继续处理下一个素材;Step 410: Continue processing the next material;
步骤411:结束封装过程,得到封装文件;封装文件的封装结构请参见图5a-5d。Step 411: End the encapsulation process and obtain the package file. The encapsulation structure of the package file is shown in Figures 5a-5d.
实施例四Embodiment 4
本实施例基于上述任意实施例,参见图6,本实施例提供的封装文件解析方法包括:The embodiment is based on any of the foregoing embodiments. Referring to FIG. 6, the method for parsing the package file provided in this embodiment includes:
步骤601:开始解析;Step 601: Start parsing;
步骤602:读取文件头;Step 602: Read a file header;
步骤603:定位解析逻辑处理信息集合中的所有逻辑处理信息;Step 603: The positioning analysis logic processes all the logical processing information in the information set.
步骤604:将每一个逻辑处理信息的状态设置为已初始化的(initialized);Step 604: Set the state of each logical processing information to initialized;
步骤605:定位并解析下一个数据块;Step 605: locate and parse the next data block;
步骤606:判断是否找到数据块;若是,转到步骤607;否则转到步骤614;Step 606: Determine whether a data block is found; if yes, go to step 607; otherwise, go to step 614;
步骤607:解析该数据块的头信息;Step 607: Parse the header information of the data block.
步骤608:根据解析出来的数据块头信息,判断是否需要逻辑处理;若是,则转到步骤610,否则转到步骤609;Step 608: According to the parsed data block header information, determine whether logic processing is required; if yes, go to step 610, otherwise go to step 609;
步骤609:解析音视频数据并播放;Step 609: Parsing audio and video data and playing;
步骤610:读取逻辑处理信息索引号;Step 610: Read a logical processing information index number;
步骤611:执行逻辑处理信息集合中对应的逻辑处理信息,比如:如果对应的标记显示需要逻辑处理,则解析其后的逻辑处理信息索引号,根据逻辑处理信息索引号找到逻辑处理信息集合中对应的逻辑处理信息,并执行。Step 611: Perform corresponding logical processing information in the logical processing information set, for example, if the corresponding mark display requires logical processing, parse the subsequent logical processing information index number, and find a corresponding logical processing information set according to the logical processing information index number. The logic handles the information and executes it.
如果对应的逻辑处理信息是密码验证,则查看其状态,如果状态为initialized,则弹出密码输入界面,等待用户输入密码,如果密码输入正确,则对应逻辑处理信息的状态更新为通过(pass),播放该数据块中的音视频数据。如果密码输入错误,则对应逻辑处理信息的状态更新为失败(fail),跳过当前数据块中的音视频数据,继续处理下一个数据 块。如果状态已经为pass,则直接播放该数据块中的音视频数据。如果状态为fail,则直接跳过当前数据块中的音视频数据,继续处理下一个数据块。If the corresponding logical processing information is password verification, check the status. If the status is initialized, the password input interface pops up, waiting for the user to input the password. If the password is entered correctly, the status of the corresponding logical processing information is updated to pass. Play the audio and video data in this data block. If the password is entered incorrectly, the status of the corresponding logical processing information is updated to fail, skipping the audio and video data in the current data block, and continuing to process the next data. Piece. If the status is already pass, the audio and video data in the data block is directly played. If the status is fail, the audio and video data in the current data block is directly skipped, and the next data block is processed.
如果对应的逻辑处理信息为权限验证,则调用DRM接口解析当前数据块的音视频数据,解析成功则对应逻辑处理信息的状态更新为pass,播放当前数据块中的音视频数据,失败则对应逻辑处理信息的状态更新为fail,跳过当前数据块中的音视频数据,继续处理下一个数据块。If the corresponding logical processing information is the authority verification, the DRM interface is called to parse the audio and video data of the current data block, and if the analysis succeeds, the status of the logical processing information is updated to pass, and the audio and video data in the current data block is played, and the failure corresponds to the logic. The status of the processing information is updated to fail, skipping the audio and video data in the current data block, and continuing to process the next data block.
如果对应的逻辑处理信息为时间范围,则判断当前时间是否满足逻辑处理信息中的有效时间范围,满足则播放当前数据块的音视频数据,不满足则跳过当前数据块中的音视频数据,继续处理下一个数据块。If the corresponding logical processing information is a time range, it is determined whether the current time satisfies the valid time range in the logical processing information, and if the audio and video data of the current data block is satisfied, if the audio and video data in the current data block is not satisfied, the audio and video data in the current data block is skipped. Continue processing the next block of data.
如果对应的逻辑处理信息为语言验证,则判断当前系统语言是否满足逻辑处理信息中的语言范围,满足则播放当前数据块的音视频数据,不满足则跳过当前数据块中的音视频数据,继续处理下一个数据块。If the corresponding logical processing information is language verification, it is determined whether the current system language satisfies the language range in the logical processing information, and if the audio and video data of the current data block is satisfied, if the audio and video data in the current data block is not satisfied, the audio and video data in the current data block is skipped. Continue processing the next block of data.
步骤612:判断逻辑处理结果是否符合预设条件;若符合则转到步骤609;否则转到步骤613;Step 612: Determine whether the logical processing result meets the preset condition; if yes, go to step 609; otherwise, go to step 613;
步骤613:跳过当前数据块,转到执行步骤605;Step 613: Skip the current data block, go to step 605;
步骤614:结束文件解析。Step 614: End file parsing.
实施例五Embodiment 5
与前述实施例一的记载相对应,本实施例还记载一种媒体信息封装装置;参见图7,媒体信息封装装置包括:Corresponding to the description of the first embodiment, the embodiment further describes a media information encapsulating device. Referring to FIG. 7, the media information encapsulating device includes:
确定模块701,用于确定目标媒体信息的媒体信息片段,及各所述媒体信息片段的逻辑处理信息;a determining module 701, configured to determine a media information segment of the target media information, and logical processing information of each of the media information segments;
关联模块702,用于基于各所述媒体信息片段在时间轴上的先后顺序,将各所述媒体信息片段依次与各自的逻辑处理信息进行关联;The association module 702 is configured to sequentially associate each piece of media information with respective logical processing information based on a sequence of the media information segments on a time axis;
封装模块703,用于将关联信息、各所述媒体信息片段及逻辑处理信息进行封装,得到所述目标媒体信息对应的封装文件。The encapsulation module 703 is configured to encapsulate the association information, each of the media information segments, and the logic processing information to obtain a package file corresponding to the target media information.
本实施例中,基于目标媒体信息的各媒体信息片段在时间轴上的先后顺序,将媒体信息片段与逻辑处理信息进行关联,将关联信息、各媒体信息片段及逻辑处理信息进行封装得到封装文件;由于封装文件对每一段媒体信息片段增加了逻辑处理信息,使得封装文件可以满足不同用户的需求;需要增加逻辑时,只需要在封装时进行增加即可,而无需重新发布程序;如此,可以降低音视频封装/解析的工作量,提高处理效率。In this embodiment, the media information segment is associated with the logical processing information based on the sequence of the media information segments of the target media information on the time axis, and the related information, the media information segments, and the logical processing information are encapsulated to obtain an encapsulated file. Since the package file adds logical processing information to each piece of media information segment, the package file can meet the needs of different users; when the logic needs to be added, it only needs to be added at the time of encapsulation without re-publishing the program; Reduce the workload of audio and video packaging / parsing, and improve processing efficiency.
在上述实施例的基础上,所述关联模块702用于:基于各所述媒体信息片段在时间轴上的先后顺序依次处理各所述媒体信息片段;根据各所述媒体信息片段的逻辑处理信息,依次确定各所述媒体信息片段对应的数据块的头信息,并将各所述媒体信息片段分别写入对应的数据块的数据区; On the basis of the foregoing embodiment, the association module 702 is configured to: sequentially process each piece of the media information segment according to a sequence of the media information segments on a time axis; and process logic information according to each piece of the media information segment. Determining, in sequence, header information of a data block corresponding to each piece of the media information, and writing each piece of the media information into a data area of the corresponding data block;
所述封装模块703用于基于各所述媒体信息片段在时间轴上的先后顺序,将各所述媒体信息片段对应的数据块进行依次封装,得到所述目标媒体信息对应的封装文件。The encapsulating module 703 is configured to sequentially encapsulate the data blocks corresponding to the media information segments according to a sequence of the media information segments on a time axis, to obtain an encapsulation file corresponding to the target media information.
在上述实施例的基础上,所述关联模块702用于:将各所述媒体信息片段的逻辑处理信息写入逻辑处理信息集合,并确定每个逻辑处理信息的索引信息;基于各所述媒体信息片段在时间轴上的先后顺序依次处理各所述媒体信息片段;根据各所述媒体信息片段的逻辑处理信息的索引信息,依次确定各所述媒体信息片段对应的数据块的头信息,并将各所述媒体信息片段分别写入对应的数据块的数据区;On the basis of the foregoing embodiment, the association module 702 is configured to: write logical processing information of each piece of the media information into a logical processing information set, and determine index information of each logical processing information; Processing the pieces of the media information in sequence on the time axis; determining, according to the index information of the logical processing information of each piece of the media information, the header information of the data block corresponding to each piece of the media information, and Writing each of the pieces of media information into a data area of a corresponding data block;
所述封装模块703用于基于各所述媒体信息片段在时间轴上的先后顺序,将所述逻辑处理信息集合、各所述媒体信息片段对应的数据块进行依次封装,得到所述目标媒体信息对应的封装文件。The encapsulating module 703 is configured to sequentially encapsulate the logical processing information set and the data blocks corresponding to the media information segments according to a sequence of the media information segments on a time axis to obtain the target media information. Corresponding package file.
在实际应用中,确定模块701、关联模块702、封装模块703均可由位于媒体信息封装装置的中央处理器(CPU)、微处理器(MPU)、专用集成电路(ASIC)或现场可编程门阵列(FPGA)等实现。In practical applications, the determining module 701, the associating module 702, and the encapsulating module 703 may each be a central processing unit (CPU), a microprocessor (MPU), an application specific integrated circuit (ASIC), or a field programmable gate array located in the media information encapsulating device. (FPGA) and other implementations.
实施例六Embodiment 6
本实施例与上述实施例二相对应,本实施例提供一种封装文件解析装置;参见图8,封装文件解析装置包括:This embodiment corresponds to the foregoing embodiment 2, and the embodiment provides a package file parsing device. Referring to FIG. 8, the package file parsing device includes:
解析模块801,用于解析封装文件,得到目标媒体信息的各媒体信息片段、逻辑处理信息及关联信息;The parsing module 801 is configured to parse the encapsulation file, and obtain each piece of media information, logical processing information, and associated information of the target media information;
执行模块802,用于基于各所述媒体信息片段在时间轴上的先后顺序,依次确定各所述媒体信息片段关联的逻辑处理信息并执行,并在执行结果满足预设条件时解析与所述执行结果对应的媒体信息片段并播放。The executing module 802 is configured to sequentially determine and execute logic processing information associated with each piece of the media information segment based on a sequence of the media information segments on a time axis, and parse and describe the execution result when the execution result satisfies a preset condition. The media information segment corresponding to the result is executed and played.
在上述实施例的基础上,所述解析模块801用于:解析封装文件,得到逻辑处理信息集合、目标媒体信息的各媒体信息片段对应的数据块;解析所述逻辑处理信息集合,得到各所述媒体信息片段的逻辑处理信息及每个逻辑处理信息的索引信息;On the basis of the foregoing embodiment, the parsing module 801 is configured to: parse the encapsulation file, obtain a logical processing information set, and a data block corresponding to each media information segment of the target media information; parse the logical processing information set to obtain each Logic processing information of the media information segment and index information of each logical processing information;
所述执行模块802用于基于各所述媒体信息片段在时间轴上的先后顺序,依次解析各所述媒体信息片段对应的数据块的头信息,得到各所述媒体信息片段的逻辑处理信息的索引信息,执行所述得到的索引信息对应的逻辑处理信息,并在执行结果满足所述预设条件时解析与所述执行结果对应的媒体信息片段并播放。The executing module 802 is configured to sequentially parse the header information of the data block corresponding to each piece of the media information segment according to a sequence of the media information segments on a time axis, to obtain logical processing information of each piece of the media information segment. And indexing information, performing logical processing information corresponding to the obtained index information, and parsing and playing the media information segment corresponding to the execution result when the execution result satisfies the preset condition.
本实施例中,封装文件解析装置解析封装文件,得到目标媒体信息的各媒体信息片段、逻辑处理信息及关联信息;基于各所述媒体信息片段在时间轴上的先后顺序,依次确定各所述媒体信息片段关联的逻辑处理信息并执行;在执行结果满足预设条件时解析与所述执行结果对应的媒体信息片段并播放。由于封装文件对每一段媒体信息片段增加了逻辑处理信息,使得封装文件可以满足不同用户的需求;需要增加逻辑时,只需要在封装时进行增加即可,而无需重新发布程序;如此,可以降低音视频封装/解析的工作量,提高处理效 率。In this embodiment, the package file parsing device parses the package file to obtain each media information segment, logical processing information, and associated information of the target media information; and sequentially determines each of the media information segments based on a sequence on the time axis. The logical information associated with the media information segment is processed and executed; and the media information segment corresponding to the execution result is parsed and played when the execution result satisfies the preset condition. Since the package file adds logical processing information to each piece of media information segment, the package file can meet the needs of different users; when the logic needs to be added, it only needs to be added at the time of encapsulation without re-publishing the program; thus, it can be reduced. Audio and video packaging / parsing workload, improve processing efficiency rate.
在实际应用中,解析模块801、执行模块802均可由位于封装文件解析装置的CPU、MPU、ASIC或FPGA等实现。In practical applications, the parsing module 801 and the executing module 802 can be implemented by a CPU, an MPU, an ASIC, an FPGA, or the like located in the package file parsing device.
实施例七Example 7
本实施例记载一种计算机可读介质,可以为ROM(例如,只读存储器、FLASH存储器、转移装置等)、磁存储介质(例如,磁带、磁盘驱动器等)、光学存储介质(例如,CD-ROM、DVD-ROM、纸卡、纸带等)以及其他熟知类型的程序存储器;计算机可读介质中存储有计算机可执行指令,当执行指令时,引起至少一个处理器执行包括以下的操作:This embodiment describes a computer readable medium, which may be a ROM (eg, a read only memory, a FLASH memory, a transfer device, etc.), a magnetic storage medium (eg, a magnetic tape, a disk drive, etc.), an optical storage medium (eg, a CD- ROM, DVD-ROM, paper card, paper tape, etc.) and other well-known types of program memory; computer-readable medium storing computer-executable instructions that, when executed, cause at least one processor to perform operations including:
确定目标媒体信息的媒体信息片段,及各所述媒体信息片段的逻辑处理信息;基于各所述媒体信息片段在时间轴上的先后顺序,将各所述媒体信息片段依次与各自的逻辑处理信息进行关联,及将关联信息、各所述媒体信息片段及逻辑处理信息进行封装,得到所述目标媒体信息对应的封装文件。Determining a media information segment of the target media information, and logical processing information of each of the media information segments; and sequentially, each of the media information segments and respective logical processing information based on a sequence of the media information segments on a time axis Performing association, and encapsulating the related information, each of the media information segments, and the logical processing information to obtain a package file corresponding to the target media information.
本领域内的技术人员应明白,本公开的实施例可提供为方法、系统、或计算机程序产品。因此,本公开可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present disclosure can be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware aspects. Moreover, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本公开是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
工业实用性Industrial applicability
本公开涉及通信技术领域的媒体信息封装/解析技术,由于封装文件对每一段媒体信息片段增加了逻辑处理信息,使得一个封装文件就可以满足多个不同用户的需求;需要增 加逻辑时,只需要在封装时进行增加即可,而无需重新发布程序;如此,可以降低音视频封装/解析的工作量,提高处理效率。The present disclosure relates to a media information encapsulation/parsing technology in the field of communication technologies. Since a package file adds logical processing information to each piece of media information segments, a package file can satisfy the needs of a plurality of different users; When adding logic, it only needs to be added at the time of encapsulation without re-publishing the program; thus, the workload of audio and video encapsulation/parsing can be reduced, and the processing efficiency is improved.
以上所述,仅为本公开的较佳实施例而已,并非用于限定本公开的保护范围。 The above description is only for the preferred embodiments of the present disclosure, and is not intended to limit the scope of the disclosure.

Claims (10)

  1. 一种媒体信息封装方法,包括:A media information encapsulation method includes:
    确定目标媒体信息的媒体信息片段,及各所述媒体信息片段的逻辑处理信息;Determining a media information segment of the target media information, and logical processing information of each of the media information segments;
    基于各所述媒体信息片段在时间轴上的先后顺序,将各所述媒体信息片段依次与各自的逻辑处理信息进行关联,及将关联信息、各所述媒体信息片段及逻辑处理信息进行封装,得到所述目标媒体信息对应的封装文件。And each of the media information segments are sequentially associated with respective logical processing information, and the related information, each of the media information segments, and logical processing information are encapsulated according to a sequence of the media information segments on a time axis. Obtaining a package file corresponding to the target media information.
  2. 根据权利要求1所述的方法,其中,所述基于各所述媒体信息片段在时间轴上的先后顺序,将各所述媒体信息片段依次与各自的逻辑处理信息进行关联,包括:The method of claim 1, wherein the media information segments are sequentially associated with respective logical processing information based on a sequence of the media information segments on a time axis, including:
    基于各所述媒体信息片段在时间轴上的先后顺序依次处理各所述媒体信息片段;根据各所述媒体信息片段的逻辑处理信息,依次确定各所述媒体信息片段对应的数据块的头信息,并将各所述媒体信息片段分别写入对应的数据块的数据区;And processing, according to the sequence of the media information segments, the media information segments in sequence on the time axis; determining, according to the logical processing information of each of the media information segments, the header information of the data blocks corresponding to the media information segments. And writing each of the media information segments into a data area of the corresponding data block;
    所述将关联信息、各所述媒体信息片段及逻辑处理信息进行封装,得到所述目标媒体信息对应的封装文件,包括:Encapsulating the associated information, each of the media information segments, and the logical processing information to obtain a package file corresponding to the target media information, including:
    基于各所述媒体信息片段在时间轴上的先后顺序,将各所述媒体信息片段对应的数据块进行依次封装,得到所述目标媒体信息对应的封装文件。The data blocks corresponding to the media information segments are sequentially encapsulated based on the sequence of the media information segments on the time axis to obtain a package file corresponding to the target media information.
  3. 根据权利要求1或2所述的方法,其中,所述基于各所述媒体信息片段在时间轴上的先后顺序,将各所述媒体信息片段依次与各自的逻辑处理信息进行关联,包括:The method according to claim 1 or 2, wherein the media information segments are sequentially associated with respective logical processing information based on a sequence of the media information segments on a time axis, including:
    将各所述媒体信息片段的逻辑处理信息写入逻辑处理信息集合,并确定每个逻辑处理信息的索引信息;基于各所述媒体信息片段在时间轴上的先后顺序依次处理各所述媒体信息片段;根据各所述媒体信息片段的逻辑处理信息的索引信息,依次确定各所述媒体信息片段对应的数据块的头信息,并将各所述媒体信息片段分别写入对应的数据块的数据区;Writing logical processing information of each piece of media information into a logical processing information set, and determining index information of each logical processing information; processing each of the media information sequentially according to a sequence of each of the pieces of media information on a time axis a segment; determining, according to the index information of the logical processing information of each piece of the media information, the header information of the data block corresponding to each piece of the media information, and writing each piece of the media information into the data of the corresponding data block Area;
    所述将关联信息、各所述媒体信息片段及逻辑处理信息进行封装,得到所述目标媒体信息对应的封装文件,包括:基于各所述媒体信息片段在时间轴上的先后顺序,将所述逻辑处理信息集合、各所述媒体信息片段对应的数据块进行依次封装,得到所述目标媒体信息对应的封装文件。Encapsulating the associated information, each of the media information segments, and the logical processing information to obtain the package file corresponding to the target media information, including: performing, according to a sequence of the media information segments on a time axis, The logical processing information set and the data blocks corresponding to the pieces of the media information are sequentially encapsulated to obtain a package file corresponding to the target media information.
  4. 一种封装文件解析方法,包括:A method for parsing a package file, comprising:
    解析封装文件,得到目标媒体信息的各媒体信息片段、逻辑处理信息及关联信息;Parsing the package file to obtain pieces of media information, logical processing information, and associated information of the target media information;
    基于各所述媒体信息片段在时间轴上的先后顺序,依次确定各所述媒体信息片段关联的逻辑处理信息并执行,并在执行结果满足预设条件时解析与所述执行结果对应的媒体信息片段并播放。Determining, according to a sequence of the media information segments on a time axis, logical processing information associated with each of the media information segments, and performing media information corresponding to the execution result when the execution result satisfies a preset condition Fragment and play.
  5. 根据权利要求4所述的方法,其中,所述解析封装文件,得到目标媒体信息的各媒体信息片段、逻辑处理信息及关联信息,包括:The method of claim 4, wherein the parsing the package file to obtain the media information segments, the logical processing information, and the associated information of the target media information, including:
    解析封装文件,得到逻辑处理信息集合、目标媒体信息的各媒体信息片段对应的数据块;解析所述逻辑处理信息集合,得到各所述媒体信息片段的逻辑处理信息及每个逻辑处理信息的索引信息; Parsing the package file to obtain a data block corresponding to each piece of media information of the logical processing information set and the target media information; parsing the logical processing information set to obtain logical processing information of each piece of the media information and an index of each logical processing information Information
    所述基于各所述媒体信息片段在时间轴上的先后顺序,依次确定各所述媒体信息片段关联的逻辑处理信息并执行,并在执行结果满足预设条件时解析与所述执行结果对应的媒体信息片段并播放,包括:Determining, according to a sequence of the media information segments on a time axis, logic processing information associated with each piece of the media information segment, and performing, and parsing the execution result corresponding to the execution result when the execution result satisfies a preset condition Media message segments and play, including:
    基于各所述媒体信息片段在时间轴上的先后顺序,依次解析各所述媒体信息片段对应的数据块的头信息,得到各所述媒体信息片段的逻辑处理信息的索引信息,执行所述得到的索引信息对应的逻辑处理信息,并在执行结果满足所述预设条件时解析与所述执行结果对应的媒体信息片段并播放。And performing, according to a sequence of the media information segments on a time axis, sequentially parsing header information of the data blocks corresponding to the pieces of the media information, obtaining index information of logical processing information of each piece of the media information, and performing the obtaining The logical information corresponding to the index information is processed, and the media information segment corresponding to the execution result is parsed and played when the execution result satisfies the preset condition.
  6. 一种媒体信息封装装置,包括:A media information packaging device includes:
    确定模块,设置为确定目标媒体信息的媒体信息片段,及各所述媒体信息片段的逻辑处理信息;a determining module, configured to determine a media information segment of the target media information, and logical processing information of each of the media information segments;
    关联模块,设置为基于各所述媒体信息片段在时间轴上的先后顺序,将各所述媒体信息片段依次与各自的逻辑处理信息进行关联;The association module is configured to associate each of the media information segments with respective logical processing information according to a sequence of the media information segments on a time axis;
    封装模块,设置为将关联信息、各所述媒体信息片段及逻辑处理信息进行封装,得到所述目标媒体信息对应的封装文件。The encapsulating module is configured to encapsulate the associated information, each of the media information segments, and the logical processing information to obtain a package file corresponding to the target media information.
  7. 根据权利要求6所述的装置,其中,所述关联模块设置为:基于各所述媒体信息片段在时间轴上的先后顺序依次处理各所述媒体信息片段;根据各所述媒体信息片段的逻辑处理信息,依次确定各所述媒体信息片段对应的数据块的头信息,并将各所述媒体信息片段分别写入对应的数据块的数据区;The apparatus according to claim 6, wherein the association module is configured to sequentially process each of the media information segments based on a sequence of the media information segments on a time axis; and logic according to each of the media information segments Processing the information, sequentially determining the header information of the data block corresponding to each piece of the media information, and writing each piece of the media information into the data area of the corresponding data block;
    所述封装模块设置为基于各所述媒体信息片段在时间轴上的先后顺序,将各所述媒体信息片段对应的数据块进行依次封装,得到所述目标媒体信息对应的封装文件。The encapsulating module is configured to sequentially encapsulate the data blocks corresponding to the media information segments according to a sequence of the media information segments on a time axis, to obtain an encapsulation file corresponding to the target media information.
  8. 根据权利要求6或7所述的装置,其中,所述关联模块设置为:将各所述媒体信息片段的逻辑处理信息写入逻辑处理信息集合,并确定每个逻辑处理信息的索引信息;基于各所述媒体信息片段在时间轴上的先后顺序依次处理各所述媒体信息片段;根据各所述媒体信息片段的逻辑处理信息的索引信息,依次确定各所述媒体信息片段对应的数据块的头信息,并将各所述媒体信息片段分别写入对应的数据块的数据区;The apparatus according to claim 6 or 7, wherein the association module is configured to: write logical processing information of each piece of the media information into a logical processing information set, and determine index information of each logical processing information; Each of the media information segments sequentially processes each of the media information segments in a sequence on a time axis; and sequentially determines, according to index information of logical processing information of each of the media information segments, a data block corresponding to each of the media information segments. Head information, and each of the pieces of media information is separately written into a data area of a corresponding data block;
    所述封装模块设置为基于各所述媒体信息片段在时间轴上的先后顺序,将所述逻辑处理信息集合、各所述媒体信息片段对应的数据块进行依次封装,得到所述目标媒体信息对应的封装文件。The encapsulating module is configured to sequentially encapsulate the logical processing information set and the data blocks corresponding to the media information segments according to a sequence of the media information segments on a time axis, to obtain the target media information correspondingly. Package file.
  9. 一种封装文件解析装置,包括:A package file parsing apparatus includes:
    解析模块,设置为解析封装文件,得到目标媒体信息的各媒体信息片段、逻辑处理信息及关联信息;The parsing module is configured to parse the encapsulation file, and obtain each piece of media information, logical processing information, and associated information of the target media information;
    执行模块,设置为基于各所述媒体信息片段在时间轴上的先后顺序,依次确定各所述媒体信息片段关联的逻辑处理信息并执行,并在执行结果满足预设条件时解析与所述执行结果对应的媒体信息片段并播放。The execution module is configured to sequentially determine and execute logic processing information associated with each piece of the media information segment based on a sequence of the media information segments on a time axis, and parse and perform the execution when the execution result satisfies a preset condition The corresponding media information segment is played and played.
  10. 根据权利要求9所述的装置,其中,所述解析模块设置为:解析封装文件,得到 逻辑处理信息集合、目标媒体信息的各媒体信息片段对应的数据块;解析所述逻辑处理信息集合,得到各所述媒体信息片段的逻辑处理信息及每个逻辑处理信息的索引信息;The apparatus according to claim 9, wherein the parsing module is configured to: parse the package file, and obtain Logic processing information set, data block corresponding to each piece of media information of the target media information; parsing the logical processing information set to obtain logical processing information of each piece of media information and index information of each logical processing information;
    所述执行模块设置为基于各所述媒体信息片段在时间轴上的先后顺序,依次解析各所述媒体信息片段对应的数据块的头信息,得到各所述媒体信息片段的逻辑处理信息的索引信息,执行所述得到的索引信息对应的逻辑处理信息,并在执行结果满足所述预设条件时解析与所述执行结果对应的媒体信息片段并播放。 The execution module is configured to sequentially parse the header information of the data block corresponding to each piece of the media information segment based on the sequence of the media information segments on the time axis, and obtain an index of the logical processing information of each piece of the media information segment. The information is executed, and the logical processing information corresponding to the obtained index information is executed, and the media information segment corresponding to the execution result is parsed and played when the execution result satisfies the preset condition.
PCT/CN2017/073737 2016-08-24 2017-02-16 Method and device for packaging media information, and method and device for parsing packaged file WO2018036109A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610716530.5A CN107786490B (en) 2016-08-24 2016-08-24 Media information packaging method and device and packaging file analysis method and device
CN201610716530.5 2016-08-24

Publications (1)

Publication Number Publication Date
WO2018036109A1 true WO2018036109A1 (en) 2018-03-01

Family

ID=61245474

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/073737 WO2018036109A1 (en) 2016-08-24 2017-02-16 Method and device for packaging media information, and method and device for parsing packaged file

Country Status (2)

Country Link
CN (1) CN107786490B (en)
WO (1) WO2018036109A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516184A (en) * 2003-01-10 2004-07-28 华为技术有限公司 Processing method of multi-media data
CN1972166A (en) * 2006-11-30 2007-05-30 中兴通讯股份有限公司 An audio stream transport method of mobile multimedia broadcast system
CN101035279A (en) * 2007-05-08 2007-09-12 孟智平 Method for using the information set in the video resource
CN101325684A (en) * 2007-06-14 2008-12-17 中兴通讯股份有限公司 Method and system for transmitting ciphering control message based on mobile multimedia broadcast
WO2010075743A1 (en) * 2008-12-31 2010-07-08 华为技术有限公司 Method and device for displaying time of internet protocol television (iptv)
CN103368960A (en) * 2013-07-09 2013-10-23 深圳市同洲电子股份有限公司 Method, related equipment and system for media information push
CN104080015A (en) * 2014-06-19 2014-10-01 宁波公众信息产业有限公司 Video coding method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101335884B (en) * 2008-07-21 2010-06-09 深圳市同洲电子股份有限公司 Multimedia data acquiring method and multimedia equipment
CN101695123A (en) * 2009-01-23 2010-04-14 李冬 Media broadcasting system and method for respectively customizing broadcast strategy for media segment
CN101577627B (en) * 2009-06-17 2011-12-14 腾讯科技(深圳)有限公司 System and method for downloading and playing multimedia file
US20140295849A1 (en) * 2013-03-29 2014-10-02 Alexander Sirotkin Handover of user equipment with non-gbr bearers

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516184A (en) * 2003-01-10 2004-07-28 华为技术有限公司 Processing method of multi-media data
CN1972166A (en) * 2006-11-30 2007-05-30 中兴通讯股份有限公司 An audio stream transport method of mobile multimedia broadcast system
CN101035279A (en) * 2007-05-08 2007-09-12 孟智平 Method for using the information set in the video resource
CN101325684A (en) * 2007-06-14 2008-12-17 中兴通讯股份有限公司 Method and system for transmitting ciphering control message based on mobile multimedia broadcast
WO2010075743A1 (en) * 2008-12-31 2010-07-08 华为技术有限公司 Method and device for displaying time of internet protocol television (iptv)
CN103368960A (en) * 2013-07-09 2013-10-23 深圳市同洲电子股份有限公司 Method, related equipment and system for media information push
CN104080015A (en) * 2014-06-19 2014-10-01 宁波公众信息产业有限公司 Video coding method

Also Published As

Publication number Publication date
CN107786490B (en) 2021-08-24
CN107786490A (en) 2018-03-09

Similar Documents

Publication Publication Date Title
US10841628B1 (en) System and techniques for digital data lineage verification
US11030283B2 (en) Media content management
US20170161489A1 (en) Permission Management Method, Apparatus, and Terminal
US7953972B2 (en) System and method for managing files
US20150169500A1 (en) Document Management System and Method
WO2018071276A1 (en) File synchronization in computing systems
US8667284B2 (en) Detection of invalid escrow keys
LU101763B1 (en) Microsegment secure speech transcription
TW202027027A (en) Method and device for invoking voice synthesis file
US9411974B2 (en) Managing document revisions
US11501016B1 (en) Digital password protection
RU2010129247A (en) INFORMATION PROCESSING DEVICE, DISC, INFORMATION PROCESSING METHOD AND PROGRAM
US20130332989A1 (en) Watermarking Detection and Management
WO2018036109A1 (en) Method and device for packaging media information, and method and device for parsing packaged file
CN110008733B (en) Method and device for hiding transaction written into block chain
JP7521871B2 (en) Event log tamper resistance
US20210390198A1 (en) Method and system for protecting file using class distribution and sequential memory loading
CN115081017A (en) Large-field data calling method and system
CN110033264B (en) Merkel tree corresponding to building block and simple payment verification method and device
CN113642046A (en) Method and equipment for issuing operation and maintenance lists in batches
CN110008734B (en) Method and device for hiding transaction written into block chain
WO2021096872A1 (en) Systems and methods for content metadata management
US20160196273A1 (en) Managing embedded digital signature locations in a stream of data files

Legal Events

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

Ref document number: 17842535

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17842535

Country of ref document: EP

Kind code of ref document: A1