WO2020192012A1 - Data processing method and apparatus, and storage medium - Google Patents
Data processing method and apparatus, and storage medium Download PDFInfo
- Publication number
- WO2020192012A1 WO2020192012A1 PCT/CN2019/103348 CN2019103348W WO2020192012A1 WO 2020192012 A1 WO2020192012 A1 WO 2020192012A1 CN 2019103348 W CN2019103348 W CN 2019103348W WO 2020192012 A1 WO2020192012 A1 WO 2020192012A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- position information
- sub
- information
- relative position
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/41—Indexing; Data structures therefor; Storage structures
Definitions
- the present invention relates to the field of electronic technology, and in particular to a data processing method, equipment and storage medium.
- distributed storage systems In order to increase the efficiency of storage and distribution, distributed storage systems generally decompose large files into multiple small files, and then perform processing on small files.
- the number is composed of a file index and stored in the database.
- large files video files of tens of MB or hundreds of MB
- N small files N small files of 512KB for storage and distribution.
- accessing large files only need Know the file index of the large file, find each small file according to the index, then assemble it into a large file, and then access the large file.
- the file index is sometimes lost. The loss of the file index cannot cause the small files to be recombined into large files, which in turn causes all the stored data to be lost or even huge economic losses.
- the embodiments of the present invention provide a data processing method, device and storage medium, which can reduce the possibility of data loss and improve data security.
- One aspect of the embodiments of the present invention provides a data processing method, which may include:
- the fragment set is used to store a plurality of unit data fragments, and the plurality of unit data fragments include header file fragments and sub-files of a plurality of multimedia data. Fragmentation;
- a multimedia fragment index corresponding to the target multimedia data is generated.
- the obtaining the header file fragments for the target multimedia data from the fragment set includes:
- the file header information of all unit data segments in the segment set is detected, and the unit data segment whose file header information is the first target field is determined as the header file segment of the target multimedia data.
- the absolute position information of each frame of data in the target multimedia data is obtained according to the header file fragment, and the relative position information of the sub-slice corresponding to each frame of data in the target multimedia data is determined according to the absolute position information , Using the relative position information of the sub-slices as the information to be matched, including:
- the second target field includes absolute position information of each frame of data in the target multimedia data
- the absolute position information and the relative position information are stored.
- the absolute position information of each frame of data in the target multimedia data is obtained according to the header file fragment, and the relative position information of the sub-slice corresponding to each frame of data in the target multimedia data is determined according to the absolute position information
- the method further includes:
- the frame header synchronization word information of the data segment obtain the standard relative position information of each frame of data in all sub-slices in the sub-slice to which it belongs from the segment set;
- the matching the to-be-matched information with the standard relative position information contained in the sub-shards in the slice set, and obtaining the address information of the sub-shard to which the matched standard relative position information belongs includes:
- the standard relative position information that is the same as the relative position information is searched from the standard relative position information contained in the sub-slices in the slice set, and the sub-segment to which the standard relative position information the same as the relative position information belongs
- the slice is determined to be the target sub-slice, and if the number of the target sub-slices meets the preset quantity condition, the address information of the target sub-slice is acquired.
- the generating the multimedia fragment index corresponding to the target multimedia data according to the association relationship between the address information and the target multimedia data includes:
- the address information is arranged according to the playback order of the target sub-slices, and the multimedia fragments corresponding to the multimedia data are generated according to the arranged address information.
- One aspect of the embodiments of the present invention provides a data processing device, which may include:
- the slice obtaining unit is configured to obtain header file slices for target multimedia data from a slice set; the slice set is used to store multiple unit data slices, and the multiple unit data slices include multiple multimedia Header file fragmentation and sub-fragmentation of data;
- the location information acquiring unit is configured to acquire the absolute location information of each frame of data in the target multimedia data according to the header file fragment, and determine the sub-slice corresponding to each frame of data in the target multimedia data according to the absolute position information Relative position information, using the relative position information of the sub-slices as the information to be matched;
- the first address information obtaining unit is configured to match the to-be-matched information with the standard relative position information contained in all sub-slices in the slice set, and obtain the sub-slice to which the matched standard relative position information belongs Address information;
- the index generating unit is configured to generate a multimedia segment index corresponding to the target multimedia data according to the association relationship between the address information and the target multimedia data.
- fragment acquisition unit is specifically used for:
- the file header information of all unit data segments in the segment set is detected, and the unit data segment whose file header information is the first target field is determined as the header file segment of the target multimedia data.
- the location information acquiring unit includes:
- An absolute position information obtaining subunit configured to obtain a second target field from the header file fragment; the second target field includes absolute position information of each frame of data in the target multimedia data;
- the relative position information obtaining subunit is used to obtain the relative position information corresponding to each frame of data in the target multimedia data in the subslice according to the absolute position information and the memory size information of the data slice of the target multimedia data, and to compare all The relative position information is used as the information to be matched;
- the first storage subunit is configured to store the absolute position information and the relative position information.
- the standard location information acquiring unit is used to acquire the standard relative position information of each frame of data in all sub-slices in the sub-slice to which it belongs from the segment set according to the frame header synchronization word information of the data segment;
- the second address information obtaining unit is configured to obtain the address information of all sub-slices according to the storage addresses of the slice set, and to store the standard relative position information and address information.
- the first address information obtaining unit is specifically configured to:
- the standard relative position information that is the same as the relative position information is searched from the standard relative position information contained in the sub-slices in the slice set, and the sub-segment to which the standard relative position information the same as the relative position information belongs
- the slice is determined to be the target sub-slice, and if the number of the target sub-slices meets the preset quantity condition, the address information of the target sub-slice is acquired.
- the output unit is configured to output a prompt message indicating that the index reconstruction of the multimedia segment fails if the number of the target sub-slices does not meet the preset number condition.
- the index generating unit is specifically configured to:
- the address information is arranged according to the playback order of the target sub-slices, and the multimedia fragments corresponding to the multimedia data are generated according to the arranged address information.
- One aspect of the embodiments of the present invention provides a computer storage medium, the computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above method steps.
- One aspect of the embodiments of the present invention provides a data processing device including a processor and a memory; wherein the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute the following steps:
- the fragment set is used to store a plurality of unit data fragments, and the plurality of unit data fragments include header file fragments and sub-files of a plurality of multimedia data. Fragmentation;
- a multimedia segment index corresponding to the target multimedia data is generated.
- the header file fragment for the target multimedia data is obtained from the fragment set; the absolute position information of each frame of data in the target multimedia data is obtained according to the header file fragment, and according to the The absolute position information determines the relative position information of the sub-slices corresponding to each frame of data in the target multimedia data, and uses the relative position information of the sub-slices as the information to be matched; and compares the information to be matched with all the pieces in the set of pieces.
- the standard relative position information contained in the sub-segment is matched, and the address information of the sub-segment to which the matched standard relative position information belongs is obtained; the said address information is generated according to the association relationship between the address information and the target multimedia data Multimedia segment index corresponding to the target multimedia data.
- FIG. 1 is a schematic flowchart of a data processing method provided by an embodiment of the present invention
- FIG. 2 is a schematic diagram of an example of a data processing method provided by an embodiment of the present invention.
- FIG. 3 is a schematic flowchart of another data processing method provided by an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a data processing device provided by an embodiment of the present invention.
- Figure 5 is a schematic structural diagram of another data processing device provided by an embodiment of the present invention.
- FIG. 6 is a schematic structural diagram of a location information acquiring unit provided by an embodiment of the present invention.
- FIG. 7 is a schematic structural diagram of yet another data processing device provided by an embodiment of the present invention.
- the data processing method provided by the embodiment of the present invention can be applied to the reconstruction of the file index in the distributed storage system.
- the data processing device obtains the header file segment for the target multimedia data from the segment set; according to the header file Obtain the absolute position information of each frame of data in the target multimedia data in fragments, determine the relative position information of the sub-slices corresponding to each frame of data in the target multimedia data according to the absolute position information, and set the relative positions of the sub-slices
- the information is used as the information to be matched; the information to be matched is matched with the standard relative position information contained in all sub-shards in the shard set, and the address information of the sub-shard to which the matched standard relative position information belongs ; According to the association relationship between the address information and the target multimedia data, generate a multimedia fragment index corresponding to the target multimedia data.
- the file index of the large file to which the small file belongs is reconstructed, avoiding the problem of losing the file index and being unable to read the large file, reducing the possibility of data loss, and improving the data safety.
- the data processing equipment involved in the embodiment of the present invention may include terminal equipment such as a tablet computer, a personal computer (PC), a notebook computer, and a mobile Internet device (MID).
- terminal equipment such as a tablet computer, a personal computer (PC), a notebook computer, and a mobile Internet device (MID).
- MID mobile Internet device
- FIG. 1 is a schematic flowchart of a data processing method according to an embodiment of the present invention.
- the method of the embodiment of the present invention may include the following steps S101 to S104.
- S101 Obtain header file fragments for target multimedia data from a fragmentation set; the fragmentation set is used to store a plurality of unit data fragments, and the plurality of unit data fragments include header file fragments of a plurality of multimedia data.
- the data processing device obtains header file fragments for the target multimedia data from the fragment set; the fragment set is used to store a plurality of unit data fragments, and the plurality of unit data fragments include a plurality of multimedia data
- the shard collection stores multiple unit data shards, and the shard collection collective may be the storage space in a distributed storage system, and the unit data shards
- a slice can be a header file slice of multimedia data or a sub slice of multimedia data.
- the unit data slice is a large file that is divided into small files using slice storage technology.
- the header file slice is a storage The encoding and encapsulation characteristics of multimedia data and the unit data fragments of the absolute position information of each frame of data in the multimedia data.
- the sub-fragments are unit data fragments of partial data frame information stored after the decomposition of the multimedia data.
- the multimedia data It is a video file or audio file.
- multimedia data can be H264 or Advanced Video Coding (AVC) video files encapsulated by Moving Picture Experts Group (Moving Picture Experts Group 4, MP4).
- AVC Advanced Video Coding
- MP4 Moving Picture Experts Group 4
- a multimedia file can be decomposed into a header file fragment and multiple sub fragments.
- the data processing device obtains the target multimedia data from the fragment collection.
- the target multimedia data is the multimedia data whose file index is lost and needs to be reconstructed.
- the data processing device obtains the absolute position information of each frame of data in the target multimedia data according to the header file fragment, and determines the relative sub-slice corresponding to each frame of data in the target multimedia data according to the absolute position information. Position information, the relative position information of the sub-slices is used as the information to be matched.
- the header file slices store information related to the absolute position information of each frame of data in the target multimedia data, for example, If the target multimedia data is an H264 or AVC video file encapsulated in MP4, there is a "stco" field in the header file segment, and the "stco" field stores the absolute position information of each frame in the video file.
- the absolute position information is the position of each frame of data in the target multimedia data in the target multimedia file
- the relative position information is the position of each frame of data in the target multimedia data in the unit data slice.
- FIG 2 An example schematic diagram of a data processing method is provided for an embodiment of the present invention.
- the target multimedia file is decomposed to generate a header file segment and multiple sub-slices.
- the header file segment stores the absolute position information of each frame of data in the target multimedia data.
- the position information of the frame data is relative position information.
- the position information of each frame of data in the target multimedia data is not the same as the position information in the sub-slices.
- the data processing device can use a preset algorithm to calculate according to the absolute position information.
- the relative position information of the sub-slices corresponding to each frame of data in the target multimedia data, and the relative position information of the sub-slices is used as the to-be-matched information.
- the above-mentioned target multimedia data is used as an example.
- the unit slice of the above-mentioned target multimedia data The length is a fixed value, and the difference between the absolute position information and the length of the unit segment is modulo operation, and the result of the modulo operation is relative position information.
- S103 Match the to-be-matched information with the standard relative position information contained in all sub-slices in the slice set, and obtain the address information of the sub-shard to which the matched standard relative position information belongs;
- the data processing device matches the to-be-matched information with the standard relative position information contained in all sub-slices in the slice set, and obtains the address information of the sub-shard to which the matched standard relative position information belongs
- the data processing device obtains the standard relative position information of all sub-slices in the slice set, and the standard relative position information is that the data of each frame in all sub-slices in the slice set belongs to
- the relative position information in the sub-segment, the information to be matched is matched with the standard relative position information, specifically, the standard relative position information that is the same as the relative position information is searched from the standard relative position information, and the data
- the processing device obtains the address information of the sub-segment to which the matched standard relative position information belongs, where the address information is the storage address of the sub-segment in the storage space.
- S104 Generate a multimedia segment index corresponding to the target multimedia data according to the association relationship between the address information and the target multimedia data.
- the data processing device generates a multimedia fragment index corresponding to the target multimedia data according to the association relationship between the address information and the target multimedia data.
- the multimedia data includes multiple unit data Fragmentation, each unit data fragment corresponds to one piece of address information, the association relationship is the correspondence relationship between the address information of the unit data fragment in the target multimedia data and the target multimedia data, and the target multimedia is generated according to the association relationship A multimedia segment index corresponding to the data, where the multimedia segment index is address information corresponding to all unit data segments in the target multimedia data.
- the header file fragment for the target multimedia data is obtained from the fragment set; the absolute position information of each frame of data in the target multimedia data is obtained according to the header file fragment, and according to the The absolute position information determines the relative position information of the sub-slices corresponding to each frame of data in the target multimedia data, and uses the relative position information of the sub-slices as the information to be matched; and compares the information to be matched with all the pieces in the set of pieces.
- the standard relative position information contained in the sub-segment is matched, and the address information of the sub-segment to which the matched standard relative position information belongs is obtained; the said address information is generated according to the association relationship between the address information and the target multimedia data Multimedia segment index corresponding to the target multimedia data.
- FIG. 3 is a schematic flowchart of a data processing method according to an embodiment of the present invention. As shown in FIG. 3, the method of the embodiment of the present invention may include the following steps S201-S209.
- S201 Detect file header information of all unit data segments in the segment set, and determine the unit data segment with the file header information as the first target field as the header file segment of the target multimedia data;
- the data processing device detects the file header information of all unit data slices in the slice set, and determines that the file header information is the unit data slice of the first target field as the header file slice of the target multimedia data, which can be understood
- the file header information is a character string that determines the type of unit data slice, and the file header information corresponding to the multimedia data encoded and encapsulated in different ways is different
- the first target field is the file corresponding to the target multimedia data Header information, searching for file header information of all unit data segments in the segment set, and determining the file header information of the unit data segment as the first target field as the header file segment of the target multimedia data, for example
- the target multimedia data is an H264 or AVC video file encapsulated in MP4, and the 4-8th bytes of the header file fragment of the target multimedia data must be the "ftyp" character string.
- the unit data The 4-8th byte of the fragment is the "ftyp" string, which is the header file fragment of the target multimedia data.
- the second target field includes absolute position information of each frame of data in the target multimedia data
- the data processing device obtains the second target field from the header file fragment; the second target field includes the absolute position information of each frame of data in the target multimedia data.
- the second target field is a field in the header file fragment.
- the second target field corresponding to the multimedia file encoded and encapsulated in different ways is different.
- the above target multimedia data is used for explanation.
- the second target field is the "stco" field,
- the "stco" field includes absolute position information of each frame of data in the target multimedia data.
- S203 Obtain relative position information corresponding to each frame of data in the target multimedia data in the sub-slices according to the absolute position information and the memory size information of the data fragments of the target multimedia data, and use the relative position information as the to-be-matched information;
- the data processing device obtains the relative position information corresponding to each frame of data in the target multimedia data in the sub-slice according to the absolute position information and the memory size information of the data slice of the target multimedia data, and calculates the relative position
- the information is the information to be matched.
- the memory size information of the data segment is the memory size of a unit data segment.
- the multimedia data may include multiple unit data segments, and the memory size information of each unit data segment
- the data processing device uses a preset algorithm to calculate the relative position information of the sub-slice corresponding to each frame of data in the target multimedia data according to the absolute position information and the memory size information, and compares the sub-slices relative to each other.
- the position information is used as the information to be matched, and the above target multimedia data is also used as an example.
- the unit slice length of the target multimedia data is a fixed value of 512k, and the difference between the absolute position information and the unit slice length is subjected to a modulo operation.
- the result of the modular operation is relative position information, and the relative position information is used as the information to be matched.
- the data processing device stores the absolute position information and the relative position information. It can be understood that the absolute position information and the relative position information may be stored in a document or other storage space.
- S205 Obtain standard relative position information of each frame of data in all sub-slices in the sub-slice to which it belongs from the segment set according to the frame header synchronization word information of the data segment;
- the data processing device obtains the standard relative position information of each frame of data in all sub-slices in the sub-slice to which it belongs according to the frame header synchronization word information of the data slices. It is understandable that The frame header sync word information corresponding to multimedia data encoded and encapsulated in different ways is different, and the frame header sync word information corresponds to the multimedia data.
- the target multimedia data is an H264 or AVC video file encapsulated in MP4,
- the frame header synchronization word is "0x000000”
- the frame header synchronization word information of the data fragment the byte whose character string is the frame header synchronization word is searched in the sub-slice, and the byte is determined as a frame of data
- the standard relative position information of each frame of data in all sub-slices in the sub-slice to which it belongs is obtained from the slice set according to the frame header synchronization word information.
- S206 Obtain address information of all sub-shards according to the storage address of the shard set, and store the standard relative position information and address information;
- the data processing device obtains the address information of all sub-shards according to the storage address of the shard set, and stores the standard relative position information and address information.
- the address is the address information of the slice set in the storage space
- the storage address includes the address information of each unit data slice in the slice set
- the address information of all sub slices is obtained according to the storage address of the slice set
- the standard relative position information and the address information can be stored in a file or other storage space .
- the data processing device searches for the standard relative position information that is the same as the relative position information from the standard relative position information contained in the sub-slices in the slice set, and compares the standard relative position information with the relative position information.
- the sub-shard to which the location information belongs is determined to be the target sub-shard, and if the number of the target sub-shards meets the preset quantity condition, the address information of the target sub-shard is obtained.
- the data processing device receives The standard relative position information that is the same as the relative position information is searched for in the standard relative position information contained in all sub-slices in the slice set, and the sub-segment to which the standard relative position information the same as the relative position information belongs A slice is determined as a target sub-slice, and the number of the target sub-slice is detected. If the number of the target sub-slice meets a preset number condition, the address information corresponding to the target sub-slice is acquired, and the pre-slice The quantity condition is set in advance and can be adjusted according to actual conditions.
- the preset quantity condition is that the number of target sub-shards is 1, then when the number of target sub-slices is detected to be 1, It is explained that the standard relative position information of only one target sub-slice in the slice set is the same as the relative position information, then it can be determined that the target sub-slice corresponding to the standard relative position information is a sub-slice of the target multimedia data, and further Obtain the address information of the target sub-segment.
- the data processing device outputs a prompt message indicating that the multimedia slice index reconstruction has failed.
- the prompt information may be voice prompt information or A text box.
- the preset quantity condition is that the number of target sub-slices is 1, then when no target sub-slice is detected or multiple target sub-slices are detected, the data processing device outputs multimedia The message indicating that the fragment index reconstruction failed.
- the data processing device arranges the address information according to the play order of the target sub-slices according to the association relationship between the address information and the data fragments of the target multimedia data, and generates the address information according to the arranged address information
- the multimedia segment index corresponding to the multimedia data It can be understood that the multimedia data includes multiple unit data segments, and each unit data segment corresponds to one address information, and the association relationship is the unit data in the target multimedia data. The corresponding relationship between the address information of the fragments and the target multimedia data. According to the playback order of the target sub-segments, the corresponding address information of the target sub-slices are arranged in the playback order, and the address information is generated according to the arranged address information.
- the multimedia fragment index corresponding to the target multimedia data When accessing the target multimedia file, only the multimedia fragment index corresponding to the target multimedia data needs to be obtained. According to the address information of each unit data fragment in the multimedia fragment index, the target multimedia is obtained All unit data fragments corresponding to the data, and then the unit data fragments are assembled into a target multimedia file.
- the header file fragment for the target multimedia data is obtained from the fragment set; the absolute position information of each frame of data in the target multimedia data is obtained according to the header file fragment, and according to the The absolute position information determines the relative position information of the sub-slices corresponding to each frame of data in the target multimedia data, and uses the relative position information of the sub-slices as the information to be matched; and compares the information to be matched with all the pieces in the set of pieces.
- the standard relative position information contained in the sub-segment is matched, and the address information of the sub-segment to which the matched standard relative position information belongs is obtained; the said address information is generated according to the association relationship between the address information and the target multimedia data Multimedia segment index corresponding to the target multimedia data.
- the address information of the small file in the storage space is obtained, the file index of the large file to which the small file belongs is reconstructed, and the user is notified of the result of the file index reconstruction, avoiding the loss of the file index.
- the problem of being unable to read large files reduces the possibility of data loss and improves data security.
- the data processing device 1 of the embodiment of the present invention may include: a fragment obtaining unit 11, a location information obtaining unit 12, a first address information obtaining unit 13, and an index generating unit 14.
- the fragment obtaining unit 11 is configured to obtain header file fragments for target multimedia data from a fragment set; the fragment set is used to store multiple unit data fragments, and the multiple unit data fragments include multiple Header file fragments and sub-fragments of multimedia data;
- the position information obtaining unit 12 is configured to obtain the absolute position information of each frame of data in the target multimedia data according to the header file fragments, and determine the sub-segment corresponding to each frame of data in the target multimedia data according to the absolute position information. Slice relative position information, using the relative position information of the sub-slice as the information to be matched;
- the first address information obtaining unit 13 is configured to match the to-be-matched information with the standard relative position information contained in all sub-slices in the slice set, and obtain the sub-segment to which the matched standard relative position information belongs The address information of the piece;
- the index generating unit 14 is configured to generate a multimedia segment index corresponding to the target multimedia data according to the association relationship between the address information and the target multimedia data.
- the header file fragment for the target multimedia data is obtained from the fragment set; the absolute position information of each frame of data in the target multimedia data is obtained according to the header file fragment, and according to the The absolute position information determines the relative position information of the sub-slices corresponding to each frame of data in the target multimedia data, and uses the relative position information of the sub-slices as the information to be matched; and compares the information to be matched with all the pieces in the set of pieces.
- the standard relative position information contained in the sub-segment is matched, and the address information of the sub-segment to which the matched standard relative position information belongs is obtained; the said address information is generated according to the association relationship between the address information and the target multimedia data Multimedia segment index corresponding to the target multimedia data.
- the data processing device 1 of the embodiment of the present invention may include: a fragment obtaining unit 11, a location information obtaining unit 12, a first address information obtaining unit 13, an index generating unit 14, and a standard location information obtaining unit 15.
- the slice obtaining unit 11 is configured to detect file header information of all unit data slices in the slice set, and determine that the file header information is the unit data slice of the first target field as the target multimedia data header file slice;
- the position information obtaining unit 12 is configured to obtain the absolute position information of each frame of data in the target multimedia data according to the header file fragments, and determine the sub-segment corresponding to each frame of data in the target multimedia data according to the absolute position information. Slice relative position information, using the relative position information of the sub-slice as the information to be matched;
- FIG. 6 is a schematic structural diagram of a location information acquiring unit 12 according to an embodiment of the present invention.
- the position information obtaining unit 12 in the embodiment of the present invention may include: an absolute position information obtaining subunit 121, a relative position information obtaining subunit 122, and a first storage subunit 123.
- the absolute position information obtaining subunit 121 is configured to obtain a second target field from the header file fragment; the second target field includes absolute position information of each frame of data in the target multimedia data;
- the relative position information acquisition sub-unit 122 is configured to acquire relative position information corresponding to each frame of data in the target multimedia data in the sub-slice according to the absolute position information and the memory size information of the data segment of the target multimedia data, and The relative position information is used as the information to be matched;
- the first storage subunit 123 is configured to store the absolute position information and the relative position information
- the standard position information obtaining unit 15 is configured to obtain the standard relative position information of each frame of data in all sub-slices in the sub-slice to which it belongs from the slice set according to the frame header synchronization word information of the data slices;
- the second address information obtaining unit 16 is configured to obtain the address information of all sub-slices according to the storage addresses of the slice set, and store the standard relative position information and address information;
- the first address information acquiring unit 13 is configured to search for the standard relative position information that is the same as the relative position information from the standard relative position information contained in the sub-slices in the slice set, and compare it with the relative position information.
- the sub-segment to which the same standard relative position information belongs is determined to be the target sub-segment, and if the number of the target sub-segment meets a preset quantity condition, the address information of the target sub-segment is acquired;
- the output unit 17 is configured to, if the number of the target sub-slices does not meet the preset number condition, output a prompt message that the multimedia segment index reconstruction fails;
- the index generating unit 14 is configured to arrange the address information according to the play order of the target sub-slices according to the association relationship between the address information and the data segments of the target multimedia data, and according to the arranged address information Generate the multimedia fragment index corresponding to the multimedia data.
- the header file fragment for the target multimedia data is obtained from the fragment set; the absolute position information of each frame of data in the target multimedia data is obtained according to the header file fragment, and according to the The absolute position information determines the relative position information of the sub-slices corresponding to each frame of data in the target multimedia data, and uses the relative position information of the sub-slices as the information to be matched; and compares the information to be matched with all the pieces in the set of pieces.
- the standard relative position information contained in the sub-segment is matched, and the address information of the sub-segment to which the matched standard relative position information belongs is obtained; the said address information is generated according to the association relationship between the address information and the target multimedia data Multimedia segment index corresponding to the target multimedia data.
- the address information of the small file in the storage space is obtained, the file index of the large file to which the small file belongs is reconstructed, and the user is notified of the result of the file index reconstruction, avoiding the loss of the file index.
- the problem of being unable to read large files reduces the possibility of data loss and improves data security.
- the embodiment of the present invention also provides a computer storage medium.
- the computer storage medium may store a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method steps of the embodiment shown in FIGS. 1 and 2 above.
- the specific execution process please refer to the specific description of the embodiment shown in FIG. 1 to FIG. 2, which will not be repeated here.
- the data processing device 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, a memory 1005, and at least one communication bus 1002.
- the communication bus 1002 is used to implement connection and communication between these components.
- the user interface 1003 may include a display screen (Display), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
- the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
- the memory 1005 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk memory.
- the memory 1005 may also be at least one storage device located far away from the foregoing processor 1001.
- the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a data processing application program.
- the user interface 1003 is mainly used to provide an input interface for the user to obtain data input by the user; and the processor 1001 can be used to call a data processing application stored in the memory 1005, and specifically execute The following operations:
- the fragment set is used to store a plurality of unit data fragments, and the plurality of unit data fragments include header file fragments and sub-files of a plurality of multimedia data. Fragmentation;
- a multimedia segment index corresponding to the target multimedia data is generated.
- the header file fragment for the target multimedia data is obtained from the fragment set; the absolute position information of each frame of data in the target multimedia data is obtained according to the header file fragment, and according to the The absolute position information determines the relative position information of the sub-slices corresponding to each frame of data in the target multimedia data, and uses the relative position information of the sub-slices as the information to be matched; and compares the information to be matched with all the pieces in the set of pieces.
- the standard relative position information contained in the sub-segment is matched, and the address information of the sub-segment to which the matched standard relative position information belongs is obtained; the said address information is generated according to the association relationship between the address information and the target multimedia data Multimedia segment index corresponding to the target multimedia data.
- the program can be stored in a computer readable storage medium. During execution, it may include the procedures of the above-mentioned method embodiments.
- the storage medium may be a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Multimedia (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本申请要求于2019年03月28日提交中国专利局,申请号为201910244412.2、发明名称为“一种数据处理方法、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on March 28, 2019. The application number is 201910244412.2 and the invention title is "a data processing method, equipment and storage medium". The entire content is incorporated by reference. In this application.
本发明涉及电子技术领域,尤其涉及一种数据处理方法、设备及存储介质。The present invention relates to the field of electronic technology, and in particular to a data processing method, equipment and storage medium.
随着信息技术的不断的开发和完善,分布式存储系统的使用越来越普及,分布式存储系统为了增加存储分发的效率,一般会把大文件分解成多个小文件,然后对小文件进行编号组成一个文件索引存储在数据库中,例如,把大文件(几十MB或者几百MB的视频文件)按顺序分解成N个512KB的小文件进行存储分发,在访问大文件的时候,只需要知道大文件的文件索引,根据索引找到各个小文件,再组装成大文件,然后对大文件进行访问。然而,由于系统故障或者人为操作错误,文件索引有时候会丢失,文件索引的丢失无法导致小文件无法重新组合成大文件,进而使存储的数据全部丢失甚至是巨大的经济损失。With the continuous development and improvement of information technology, the use of distributed storage systems has become more and more popular. In order to increase the efficiency of storage and distribution, distributed storage systems generally decompose large files into multiple small files, and then perform processing on small files. The number is composed of a file index and stored in the database. For example, large files (video files of tens of MB or hundreds of MB) are sequentially decomposed into N small files of 512KB for storage and distribution. When accessing large files, only need Know the file index of the large file, find each small file according to the index, then assemble it into a large file, and then access the large file. However, due to system failures or human operation errors, the file index is sometimes lost. The loss of the file index cannot cause the small files to be recombined into large files, which in turn causes all the stored data to be lost or even huge economic losses.
发明内容Summary of the invention
本发明实施例提供一种数据处理方法、设备及存储介质,可以降低数据丢失的可能性,提高数据的安全性。The embodiments of the present invention provide a data processing method, device and storage medium, which can reduce the possibility of data loss and improve data security.
本发明实施例一方面提供了一种数据处理方法,可包括:One aspect of the embodiments of the present invention provides a data processing method, which may include:
从分片集合中获取针对目标多媒体数据的头文件分片;所述分片集合用于存储多个单位数据分片,所述多个单位数据分片包括多个多媒体数据的头文件分片和子分片;Obtain the header file fragments for the target multimedia data from the fragment set; the fragment set is used to store a plurality of unit data fragments, and the plurality of unit data fragments include header file fragments and sub-files of a plurality of multimedia data. Fragmentation;
根据所述头文件分片获取所述目标多媒体数据中每一帧数据的绝对位置信息,根据所述绝对位置信息确定目标多媒体数据中每一帧数据对应的子分片相对位置信息,将所述子分片相对位置信息作为待匹配信息;Obtain the absolute position information of each frame of data in the target multimedia data according to the header file fragments, determine the relative position information of the sub-slices corresponding to each frame of data in the target multimedia data according to the absolute position information, and convert the The relative position information of the sub-slices is used as the information to be matched;
将所述待匹配信息与所述分片集合中的所有子分片所包含的标准相对位置信息进行匹配,获取匹配成功的标准相对位置信息所属的子分片的地址信息;Matching the to-be-matched information with the standard relative position information contained in all sub-slices in the shard set, and obtain the address information of the sub-shard to which the matched standard relative position information belongs;
根据所述地址信息与所述目标多媒体数据之间的关联关系,生成所述目标多媒体数据 对应的多媒体分片索引。According to the association relationship between the address information and the target multimedia data, a multimedia fragment index corresponding to the target multimedia data is generated.
其中,所述从分片集合中获取针对目标多媒体数据的头文件分片,包括:Wherein, the obtaining the header file fragments for the target multimedia data from the fragment set includes:
检测分片集合中所有单位数据分片的文件头信息,将所述文件头信息为第一目标字段的单位数据分片确定为目标多媒体数据的头文件分片。The file header information of all unit data segments in the segment set is detected, and the unit data segment whose file header information is the first target field is determined as the header file segment of the target multimedia data.
其中,所述根据所述头文件分片获取所述目标多媒体数据中每一帧数据的绝对位置信息,根据所述绝对位置信息确定目标多媒体数据中每一帧数据对应的子分片相对位置信息,将所述子分片相对位置信息作为待匹配信息,包括:Wherein, the absolute position information of each frame of data in the target multimedia data is obtained according to the header file fragment, and the relative position information of the sub-slice corresponding to each frame of data in the target multimedia data is determined according to the absolute position information , Using the relative position information of the sub-slices as the information to be matched, including:
从所述头文件分片中获取第二目标字段;所述第二目标字段包括所述目标多媒体数据中每一帧数据的绝对位置信息;Acquiring a second target field from the header file fragment; the second target field includes absolute position information of each frame of data in the target multimedia data;
根据所述绝对位置信息和目标多媒体数据的数据分片的内存尺寸信息,获取目标多媒体数据中每一帧数据在子分片中对应的相对位置信息,将所述相对位置信息作为待匹配信息;Acquire relative position information corresponding to each frame of data in the target multimedia data in the sub-slices according to the absolute position information and the memory size information of the data fragments of the target multimedia data, and use the relative position information as the information to be matched;
将所述绝对位置信息和所述相对位置信息进行存储。The absolute position information and the relative position information are stored.
其中,所述根据所述头文件分片获取所述目标多媒体数据中每一帧数据的绝对位置信息,根据所述绝对位置信息确定目标多媒体数据中每一帧数据对应的子分片相对位置信息,将所述子分片相对位置信息作为待匹配信息之后,还包括:Wherein, the absolute position information of each frame of data in the target multimedia data is obtained according to the header file fragment, and the relative position information of the sub-slice corresponding to each frame of data in the target multimedia data is determined according to the absolute position information After using the relative position information of the sub-segments as the information to be matched, the method further includes:
根据数据分片的帧头同步字信息,从分片集合中获取所有子分片中每一帧数据在所属子分片中的标准相对位置信息;According to the frame header synchronization word information of the data segment, obtain the standard relative position information of each frame of data in all sub-slices in the sub-slice to which it belongs from the segment set;
根据所述分片集合的存储地址获取所有子分片的地址信息,并将所述标准相对位置信息和地址信息进行存储。Obtain address information of all sub-slices according to the storage address of the slice set, and store the standard relative position information and address information.
其中,所述将所述待匹配信息与所述分片集合中的子分片所包含的标准相对位置信息进行匹配,获取匹配成功的标准相对位置信息所属的子分片的地址信息,包括:Wherein, the matching the to-be-matched information with the standard relative position information contained in the sub-shards in the slice set, and obtaining the address information of the sub-shard to which the matched standard relative position information belongs, includes:
从所述分片集合中的子分片所包含的标准相对位置信息中查找与所述相对位置信息相同的标准相对位置信息,将与所述相对位置信息相同的标准相对位置信息所属的子分片确定为目标子分片,若所述目标子分片的数量满足预设数量条件,则获取所述目标子分片的地址信息。The standard relative position information that is the same as the relative position information is searched from the standard relative position information contained in the sub-slices in the slice set, and the sub-segment to which the standard relative position information the same as the relative position information belongs The slice is determined to be the target sub-slice, and if the number of the target sub-slices meets the preset quantity condition, the address information of the target sub-slice is acquired.
其中,还包括:Among them, it also includes:
若所述目标子分片的数量不满足预设数量条件,则输出多媒体分片索引重建失败的提示信息。If the number of the target sub-slices does not meet the preset number condition, a prompt message indicating that the multimedia segment index reconstruction fails is output.
其中,所述根据所述地址信息与所述目标多媒体数据之间的关联关系,生成所述目标多媒体数据对应的多媒体分片索引,包括:Wherein, the generating the multimedia fragment index corresponding to the target multimedia data according to the association relationship between the address information and the target multimedia data includes:
根据所述地址信息与所述目标多媒体数据的数据分片之间的关联关系,按照目标子分片的播放顺序将所述地址信息进行排列,根据排列后的地址信息生成多媒体数据对应的多媒体分片索引。According to the association relationship between the address information and the data fragments of the target multimedia data, the address information is arranged according to the playback order of the target sub-slices, and the multimedia fragments corresponding to the multimedia data are generated according to the arranged address information. Slice index.
本发明实施例一方面提供了一种数据处理设备,可包括:One aspect of the embodiments of the present invention provides a data processing device, which may include:
分片获取单元,用于从分片集合中获取针对目标多媒体数据的头文件分片;所述分片集合用于存储多个单位数据分片,所述多个单位数据分片包括多个多媒体数据的头文件分片和子分片;The slice obtaining unit is configured to obtain header file slices for target multimedia data from a slice set; the slice set is used to store multiple unit data slices, and the multiple unit data slices include multiple multimedia Header file fragmentation and sub-fragmentation of data;
位置信息获取单元,用于根据所述头文件分片获取所述目标多媒体数据中每一帧数据的绝对位置信息,根据所述绝对位置信息确定目标多媒体数据中每一帧数据对应的子分片相对位置信息,将所述子分片相对位置信息作为待匹配信息;The location information acquiring unit is configured to acquire the absolute location information of each frame of data in the target multimedia data according to the header file fragment, and determine the sub-slice corresponding to each frame of data in the target multimedia data according to the absolute position information Relative position information, using the relative position information of the sub-slices as the information to be matched;
第一地址信息获取单元,用于将所述待匹配信息与所述分片集合中的所有子分片所包含的标准相对位置信息进行匹配,获取匹配成功的标准相对位置信息所属的子分片的地址信息;The first address information obtaining unit is configured to match the to-be-matched information with the standard relative position information contained in all sub-slices in the slice set, and obtain the sub-slice to which the matched standard relative position information belongs Address information;
索引生成单元,用于根据所述地址信息与所述目标多媒体数据之间的关联关系,生成所述目标多媒体数据对应的多媒体分片索引。The index generating unit is configured to generate a multimedia segment index corresponding to the target multimedia data according to the association relationship between the address information and the target multimedia data.
其中,所述分片获取单元具体用于:Wherein, the fragment acquisition unit is specifically used for:
检测分片集合中所有单位数据分片的文件头信息,将所述文件头信息为第一目标字段的单位数据分片确定为目标多媒体数据的头文件分片。The file header information of all unit data segments in the segment set is detected, and the unit data segment whose file header information is the first target field is determined as the header file segment of the target multimedia data.
其中,所述位置信息获取单元包括:Wherein, the location information acquiring unit includes:
绝对位置信息获取子单元,用于从所述头文件分片中获取第二目标字段;所述第二目标字段包括所述目标多媒体数据中每一帧数据的绝对位置信息;An absolute position information obtaining subunit, configured to obtain a second target field from the header file fragment; the second target field includes absolute position information of each frame of data in the target multimedia data;
相对位置信息获取子单元,用于根据所述绝对位置信息和目标多媒体数据的数据分片的内存尺寸信息,获取目标多媒体数据中每一帧数据在子分片中对应的相对位置信息,将所述相对位置信息作为待匹配信息;The relative position information obtaining subunit is used to obtain the relative position information corresponding to each frame of data in the target multimedia data in the subslice according to the absolute position information and the memory size information of the data slice of the target multimedia data, and to compare all The relative position information is used as the information to be matched;
第一存储子单元,用于将所述绝对位置信息和所述相对位置信息进行存储。The first storage subunit is configured to store the absolute position information and the relative position information.
其中,还包括:Among them, it also includes:
标准位置信息获取单元,用于根据数据分片的帧头同步字信息,从分片集合中获取所 有子分片中每一帧数据在所属子分片中的标准相对位置信息;The standard location information acquiring unit is used to acquire the standard relative position information of each frame of data in all sub-slices in the sub-slice to which it belongs from the segment set according to the frame header synchronization word information of the data segment;
第二地址信息获取单元,用于根据所述分片集合的存储地址获取所有子分片的地址信息,并将所述标准相对位置信息和地址信息进行存储。The second address information obtaining unit is configured to obtain the address information of all sub-slices according to the storage addresses of the slice set, and to store the standard relative position information and address information.
其中,所述第一地址信息获取单元具体用于:Wherein, the first address information obtaining unit is specifically configured to:
从所述分片集合中的子分片所包含的标准相对位置信息中查找与所述相对位置信息相同的标准相对位置信息,将与所述相对位置信息相同的标准相对位置信息所属的子分片确定为目标子分片,若所述目标子分片的数量满足预设数量条件,则获取所述目标子分片的地址信息。The standard relative position information that is the same as the relative position information is searched from the standard relative position information contained in the sub-slices in the slice set, and the sub-segment to which the standard relative position information the same as the relative position information belongs The slice is determined to be the target sub-slice, and if the number of the target sub-slices meets the preset quantity condition, the address information of the target sub-slice is acquired.
其中,还包括:Among them, it also includes:
输出单元,用于若所述目标子分片的数量不满足预设数量条件,则输出多媒体分片索引重建失败的提示信息。The output unit is configured to output a prompt message indicating that the index reconstruction of the multimedia segment fails if the number of the target sub-slices does not meet the preset number condition.
其中,所述索引生成单元具体用于:Wherein, the index generating unit is specifically configured to:
根据所述地址信息与所述目标多媒体数据的数据分片之间的关联关系,按照目标子分片的播放顺序将所述地址信息进行排列,根据排列后的地址信息生成多媒体数据对应的多媒体分片索引。According to the association relationship between the address information and the data fragments of the target multimedia data, the address information is arranged according to the playback order of the target sub-slices, and the multimedia fragments corresponding to the multimedia data are generated according to the arranged address information. Slice index.
本发明实施例一方面提供了一种计算机存储介质,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行上述的方法步骤。One aspect of the embodiments of the present invention provides a computer storage medium, the computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above method steps.
本发明实施例一方面提供了一种数据处理设备,包括处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行以下步骤:One aspect of the embodiments of the present invention provides a data processing device including a processor and a memory; wherein the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute the following steps:
从分片集合中获取针对目标多媒体数据的头文件分片;所述分片集合用于存储多个单位数据分片,所述多个单位数据分片包括多个多媒体数据的头文件分片和子分片;Obtain the header file fragments for the target multimedia data from the fragment set; the fragment set is used to store a plurality of unit data fragments, and the plurality of unit data fragments include header file fragments and sub-files of a plurality of multimedia data. Fragmentation;
根据所述头文件分片获取所述目标多媒体数据中每一帧数据的绝对位置信息,根据所述绝对位置信息确定目标多媒体数据中每一帧数据对应的子分片相对位置信息,将所述子分片相对位置信息作为待匹配信息;Obtain the absolute position information of each frame of data in the target multimedia data according to the header file fragments, determine the relative position information of the sub-slices corresponding to each frame of data in the target multimedia data according to the absolute position information, and convert the The relative position information of the sub-slices is used as the information to be matched;
将所述待匹配信息与所述分片集合中的所有子分片所包含的标准相对位置信息进行匹配,获取匹配成功的标准相对位置信息所属的子分片的地址信息;Matching the to-be-matched information with the standard relative position information contained in all sub-slices in the shard set, and obtain the address information of the sub-shard to which the matched standard relative position information belongs;
根据所述地址信息与所述目标多媒体数据之间的关联关系,生成所述目标多媒体数据对应的多媒体分片索引。According to the association relationship between the address information and the target multimedia data, a multimedia segment index corresponding to the target multimedia data is generated.
在本发明实施例中,通过从分片集合中获取针对目标多媒体数据的头文件分片;根据 所述头文件分片获取所述目标多媒体数据中每一帧数据的绝对位置信息,根据所述绝对位置信息确定目标多媒体数据中每一帧数据对应的子分片相对位置信息,将所述子分片相对位置信息作为待匹配信息;将所述待匹配信息与所述分片集合中的所有子分片所包含的标准相对位置信息进行匹配,获取匹配成功的标准相对位置信息所属的子分片的地址信息;根据所述地址信息与所述目标多媒体数据之间的关联关系,生成所述目标多媒体数据对应的多媒体分片索引。通过小文件中每一帧数据的位置信息,对小文件所属大文件的文件索引进行重建,避免了文件索引丢失而无法读取大文件的问题,降低了数据丢失的可能性,提高了数据的安全性。In the embodiment of the present invention, the header file fragment for the target multimedia data is obtained from the fragment set; the absolute position information of each frame of data in the target multimedia data is obtained according to the header file fragment, and according to the The absolute position information determines the relative position information of the sub-slices corresponding to each frame of data in the target multimedia data, and uses the relative position information of the sub-slices as the information to be matched; and compares the information to be matched with all the pieces in the set of pieces. The standard relative position information contained in the sub-segment is matched, and the address information of the sub-segment to which the matched standard relative position information belongs is obtained; the said address information is generated according to the association relationship between the address information and the target multimedia data Multimedia segment index corresponding to the target multimedia data. Through the position information of each frame of data in the small file, the file index of the large file to which the small file belongs is reconstructed, avoiding the problem of losing the file index and being unable to read the large file, reducing the possibility of data loss, and improving the data safety.
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1是本发明实施例提供的一种数据处理方法的流程示意图;FIG. 1 is a schematic flowchart of a data processing method provided by an embodiment of the present invention;
图2是本发明实施例提供的一种数据处理方法的举例示意图;2 is a schematic diagram of an example of a data processing method provided by an embodiment of the present invention;
图3是本发明实施例提供的另一种数据处理方法的流程示意图;FIG. 3 is a schematic flowchart of another data processing method provided by an embodiment of the present invention;
图4是本发明实施例提供的一种数据处理设备的结构示意图;4 is a schematic structural diagram of a data processing device provided by an embodiment of the present invention;
图5是本发明实施例提供的另一种数据处理设备的结构示意图;Figure 5 is a schematic structural diagram of another data processing device provided by an embodiment of the present invention;
图6是本发明实施例提供的一种位置信息获取单元的结构示意图;6 is a schematic structural diagram of a location information acquiring unit provided by an embodiment of the present invention;
图7是本发明实施例提供的又一种数据处理设备的结构示意图。FIG. 7 is a schematic structural diagram of yet another data processing device provided by an embodiment of the present invention.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
本发明实施例提供的数据处理方法可以应用于分布式存储系统中的文件索引的重建,具体的,数据处理设备从分片集合中获取针对目标多媒体数据的头文件分片;根据所述头 文件分片获取所述目标多媒体数据中每一帧数据的绝对位置信息,根据所述绝对位置信息确定目标多媒体数据中每一帧数据对应的子分片相对位置信息,将所述子分片相对位置信息作为待匹配信息;将所述待匹配信息与所述分片集合中的所有子分片所包含的标准相对位置信息进行匹配,获取匹配成功的标准相对位置信息所属的子分片的地址信息;根据所述地址信息与所述目标多媒体数据之间的关联关系,生成所述目标多媒体数据对应的多媒体分片索引。通过小文件中每一帧数据的位置信息,对小文件所属大文件的文件索引进行重建,避免了文件索引丢失而无法读取大文件的问题,降低了数据丢失的可能性,提高了数据的安全性。The data processing method provided by the embodiment of the present invention can be applied to the reconstruction of the file index in the distributed storage system. Specifically, the data processing device obtains the header file segment for the target multimedia data from the segment set; according to the header file Obtain the absolute position information of each frame of data in the target multimedia data in fragments, determine the relative position information of the sub-slices corresponding to each frame of data in the target multimedia data according to the absolute position information, and set the relative positions of the sub-slices The information is used as the information to be matched; the information to be matched is matched with the standard relative position information contained in all sub-shards in the shard set, and the address information of the sub-shard to which the matched standard relative position information belongs ; According to the association relationship between the address information and the target multimedia data, generate a multimedia fragment index corresponding to the target multimedia data. Through the position information of each frame of data in the small file, the file index of the large file to which the small file belongs is reconstructed, avoiding the problem of losing the file index and being unable to read the large file, reducing the possibility of data loss, and improving the data safety.
本发明实施例涉及的数据处理设备可以包括:平板电脑、个人电脑(PC)、笔记本电脑以及移动互联网设备(MID)等终端设备。The data processing equipment involved in the embodiment of the present invention may include terminal equipment such as a tablet computer, a personal computer (PC), a notebook computer, and a mobile Internet device (MID).
请参见图1,为本发明实施例提供了一种数据处理方法的流程示意图。如图1所示,本发明实施例的所述方法可以包括以下步骤S101-步骤S104。Please refer to FIG. 1, which is a schematic flowchart of a data processing method according to an embodiment of the present invention. As shown in FIG. 1, the method of the embodiment of the present invention may include the following steps S101 to S104.
S101,从分片集合中获取针对目标多媒体数据的头文件分片;所述分片集合用于存储多个单位数据分片,所述多个单位数据分片包括多个多媒体数据的头文件分片和子分片;S101. Obtain header file fragments for target multimedia data from a fragmentation set; the fragmentation set is used to store a plurality of unit data fragments, and the plurality of unit data fragments include header file fragments of a plurality of multimedia data. Slices and sub-slices;
具体的,数据处理设备从分片集合中获取针对目标多媒体数据的头文件分片;所述分片集合用于存储多个单位数据分片,所述多个单位数据分片包括多个多媒体数据的头文件分片和子分片,可以理解的是,所述分片集合存储有多个单位数据分片,所述分片集合集体可以为分布式存储系统中的存储空间,所述单位数据分片可以是多媒体数据的头文件分片,也可以是多媒体数据的子分片,所述单位数据分片是采用分片存储技术将大文件分解成的小文件,所述头文件分片是存储多媒体数据的编码封装特性以及多媒体数据中每一帧数据的绝对位置信息的单位数据分片,所述子分片是存储在多媒体数据分解后部分数据帧信息的单位数据分片,所述多媒体数据是视频文件或者音频文件,例如,多媒体数据可以是以动态图像专家组(Moving Picture Experts Group 4,MP4)封装的H264或者高级视频编码(Advanced Video Coding,AVC)视频文件,分布式存储系统对多媒体文件进行分片存储时,会将多媒体文件分解成多个单位数据分片,一个多媒体文件可以分解成一个头文件分片和多个子分片,数据处理设备从分片集合中获取针对目标多媒体数据的头文件分片,所述目标多媒体数据是文件索引丢失,需要进行文件索引重建的多媒体数据。Specifically, the data processing device obtains header file fragments for the target multimedia data from the fragment set; the fragment set is used to store a plurality of unit data fragments, and the plurality of unit data fragments include a plurality of multimedia data It can be understood that the shard collection stores multiple unit data shards, and the shard collection collective may be the storage space in a distributed storage system, and the unit data shards A slice can be a header file slice of multimedia data or a sub slice of multimedia data. The unit data slice is a large file that is divided into small files using slice storage technology. The header file slice is a storage The encoding and encapsulation characteristics of multimedia data and the unit data fragments of the absolute position information of each frame of data in the multimedia data. The sub-fragments are unit data fragments of partial data frame information stored after the decomposition of the multimedia data. The multimedia data It is a video file or audio file. For example, multimedia data can be H264 or Advanced Video Coding (AVC) video files encapsulated by Moving Picture Experts Group (Moving Picture Experts Group 4, MP4). When the file is stored in fragments, the multimedia file will be decomposed into multiple unit data fragments. A multimedia file can be decomposed into a header file fragment and multiple sub fragments. The data processing device obtains the target multimedia data from the fragment collection. The target multimedia data is the multimedia data whose file index is lost and needs to be reconstructed.
S102,根据所述头文件分片获取所述目标多媒体数据中每一帧数据的绝对位置信息, 根据所述绝对位置信息确定目标多媒体数据中每一帧数据对应的子分片相对位置信息,将所述子分片相对位置信息作为待匹配信息;S102. Obtain absolute position information of each frame of data in the target multimedia data according to the header file fragments, determine relative position information of sub-slices corresponding to each frame of data in the target multimedia data according to the absolute position information, and The relative position information of the sub-slices is used as the information to be matched;
具体的,数据处理设备根据所述头文件分片获取所述目标多媒体数据中每一帧数据的绝对位置信息,根据所述绝对位置信息确定目标多媒体数据中每一帧数据对应的子分片相对位置信息,将所述子分片相对位置信息作为待匹配信息,可以理解的是,所述头文件分片中存储有与目标多媒体数据中每一帧数据的绝对位置信息相关的信息,例如,所述目标多媒体数据是以MP4封装的H264或者AVC视频文件,则头文件分片中存在“stco”字段,所述“stco”字段中保存着视频文件中每一帧的绝对位置信息,所述绝对位置信息是目标多媒体数据中每一帧数据在目标多媒体文件中的位置,所述相对位置信息是目标多媒体数据中每一帧数据在单位数据分片中的位置,请一并参见图2,为本发明实施例提供了一种数据处理方法的举例示意图。如图2所示,目标多媒体文件经过分解后生成一个头文件分片和多个子分片,头文件分片中存储有目标多媒体数据中每一帧数据的绝对位置信息,子分片中每一帧数据的位置信息为相对位置信息,每一帧数据在目标多媒体数据中的位置信息与在子分片中的位置信息不相同,数据处理设备可以根据所述绝对位置信息采用预设的算法计算目标多媒体数据中每一帧数据对应的子分片相对位置信息,并将所述子分片相对位置信息作为待匹配信息,同样以上述目标多媒体数据进行举例说明,上述目标多媒体数据的单位分片长度为固定值,将绝对位置信息与单位分片长度之间差值进行取模运算,取模运算后的结果为相对位置信息。Specifically, the data processing device obtains the absolute position information of each frame of data in the target multimedia data according to the header file fragment, and determines the relative sub-slice corresponding to each frame of data in the target multimedia data according to the absolute position information. Position information, the relative position information of the sub-slices is used as the information to be matched. It can be understood that the header file slices store information related to the absolute position information of each frame of data in the target multimedia data, for example, If the target multimedia data is an H264 or AVC video file encapsulated in MP4, there is a "stco" field in the header file segment, and the "stco" field stores the absolute position information of each frame in the video file. The absolute position information is the position of each frame of data in the target multimedia data in the target multimedia file, and the relative position information is the position of each frame of data in the target multimedia data in the unit data slice. Please also refer to Figure 2. An example schematic diagram of a data processing method is provided for an embodiment of the present invention. As shown in Figure 2, the target multimedia file is decomposed to generate a header file segment and multiple sub-slices. The header file segment stores the absolute position information of each frame of data in the target multimedia data. The position information of the frame data is relative position information. The position information of each frame of data in the target multimedia data is not the same as the position information in the sub-slices. The data processing device can use a preset algorithm to calculate according to the absolute position information. The relative position information of the sub-slices corresponding to each frame of data in the target multimedia data, and the relative position information of the sub-slices is used as the to-be-matched information. Similarly, the above-mentioned target multimedia data is used as an example. The unit slice of the above-mentioned target multimedia data The length is a fixed value, and the difference between the absolute position information and the length of the unit segment is modulo operation, and the result of the modulo operation is relative position information.
S103,将所述待匹配信息与所述分片集合中的所有子分片所包含的标准相对位置信息进行匹配,获取匹配成功的标准相对位置信息所属的子分片的地址信息;S103: Match the to-be-matched information with the standard relative position information contained in all sub-slices in the slice set, and obtain the address information of the sub-shard to which the matched standard relative position information belongs;
具体的,数据处理设备将所述待匹配信息与所述分片集合中的所有子分片所包含的标准相对位置信息进行匹配,获取匹配成功的标准相对位置信息所属的子分片的地址信息,可以理解的是,数据处理设备获取所述分片集合中所有子分片的标准相对位置信息,所述标准相对位置信息是所述分片集合中所有子分片中每一帧数据在所属子分片中的相对位置信息,所述待匹配信息与所述标准相对位置信息进行匹配,具体的,从所述标准相对位置信息中查找与所述相对位置信息相同的标准相对位置信息,数据处理设备获取匹配成功的标准相对位置信息所属的子分片的地址信息,所述地址信息是子分片在存储空间中的存储地址。Specifically, the data processing device matches the to-be-matched information with the standard relative position information contained in all sub-slices in the slice set, and obtains the address information of the sub-shard to which the matched standard relative position information belongs It can be understood that the data processing device obtains the standard relative position information of all sub-slices in the slice set, and the standard relative position information is that the data of each frame in all sub-slices in the slice set belongs to The relative position information in the sub-segment, the information to be matched is matched with the standard relative position information, specifically, the standard relative position information that is the same as the relative position information is searched from the standard relative position information, and the data The processing device obtains the address information of the sub-segment to which the matched standard relative position information belongs, where the address information is the storage address of the sub-segment in the storage space.
S104,根据所述地址信息与所述目标多媒体数据之间的关联关系,生成所述目标多媒 体数据对应的多媒体分片索引。S104: Generate a multimedia segment index corresponding to the target multimedia data according to the association relationship between the address information and the target multimedia data.
具体的,数据处理设备根据所述地址信息与所述目标多媒体数据之间的关联关系,生成所述目标多媒体数据对应的多媒体分片索引,可以理解的是,所述多媒体数据包括多个单位数据分片,每一个单位数据分片对应一个地址信息,所述关联关系是所述目标多媒体数据中单位数据分片的地址信息与目标多媒体数据的对应关系,根据所述关联关系生成所述目标多媒体数据对应的多媒体分片索引,所述多媒体分片索引是目标多媒体数据中所有单位数据分片对应的地址信息。Specifically, the data processing device generates a multimedia fragment index corresponding to the target multimedia data according to the association relationship between the address information and the target multimedia data. It can be understood that the multimedia data includes multiple unit data Fragmentation, each unit data fragment corresponds to one piece of address information, the association relationship is the correspondence relationship between the address information of the unit data fragment in the target multimedia data and the target multimedia data, and the target multimedia is generated according to the association relationship A multimedia segment index corresponding to the data, where the multimedia segment index is address information corresponding to all unit data segments in the target multimedia data.
在本发明实施例中,通过从分片集合中获取针对目标多媒体数据的头文件分片;根据所述头文件分片获取所述目标多媒体数据中每一帧数据的绝对位置信息,根据所述绝对位置信息确定目标多媒体数据中每一帧数据对应的子分片相对位置信息,将所述子分片相对位置信息作为待匹配信息;将所述待匹配信息与所述分片集合中的所有子分片所包含的标准相对位置信息进行匹配,获取匹配成功的标准相对位置信息所属的子分片的地址信息;根据所述地址信息与所述目标多媒体数据之间的关联关系,生成所述目标多媒体数据对应的多媒体分片索引。通过小文件中每一帧数据的位置信息,对小文件所属大文件的文件索引进行重建,避免了文件索引丢失而无法读取大文件的问题,降低了数据丢失的可能性,提高了数据的安全性。In the embodiment of the present invention, the header file fragment for the target multimedia data is obtained from the fragment set; the absolute position information of each frame of data in the target multimedia data is obtained according to the header file fragment, and according to the The absolute position information determines the relative position information of the sub-slices corresponding to each frame of data in the target multimedia data, and uses the relative position information of the sub-slices as the information to be matched; and compares the information to be matched with all the pieces in the set of pieces. The standard relative position information contained in the sub-segment is matched, and the address information of the sub-segment to which the matched standard relative position information belongs is obtained; the said address information is generated according to the association relationship between the address information and the target multimedia data Multimedia segment index corresponding to the target multimedia data. Through the position information of each frame of data in the small file, the file index of the large file to which the small file belongs is reconstructed, avoiding the problem of losing the file index and being unable to read the large file, reducing the possibility of data loss, and improving the data safety.
请参见图3,为本发明实施例提供了一种数据处理方法的流程示意图。如图3所示,本发明实施例的所述方法可以包括以下步骤S201-步骤S209。Refer to FIG. 3, which is a schematic flowchart of a data processing method according to an embodiment of the present invention. As shown in FIG. 3, the method of the embodiment of the present invention may include the following steps S201-S209.
S201,检测分片集合中所有单位数据分片的文件头信息,将所述文件头信息为第一目标字段的单位数据分片确定为目标多媒体数据的头文件分片;S201: Detect file header information of all unit data segments in the segment set, and determine the unit data segment with the file header information as the first target field as the header file segment of the target multimedia data;
具体的,数据处理设备检测分片集合中所有单位数据分片的文件头信息,将所述文件头信息为第一目标字段的单位数据分片确定为目标多媒体数据的头文件分片,可以理解的是,所述文件头信息是确定单位数据分片类型的一段字符串,采用不同方式编码和封装的多媒体数据对应的文件头信息不相同,所述第一目标字段是目标多媒体数据对应的文件头信息,在所述分片集合中查找所有单位数据分片的文件头信息,将所述单位数据分片的文件头信息为第一目标字段的确定为目标多媒体数据的头文件分片,例如,所述目标多媒体数据是以MP4封装的H264或者AVC视频文件,目标多媒体数据的头文件分片的第4-8字节必定是“ftyp”字符串,在所述分片集合中,单位数据分片的第4-8字节是“ftyp”字符 串的为目标多媒体数据的头文件分片。Specifically, the data processing device detects the file header information of all unit data slices in the slice set, and determines that the file header information is the unit data slice of the first target field as the header file slice of the target multimedia data, which can be understood The file header information is a character string that determines the type of unit data slice, and the file header information corresponding to the multimedia data encoded and encapsulated in different ways is different, and the first target field is the file corresponding to the target multimedia data Header information, searching for file header information of all unit data segments in the segment set, and determining the file header information of the unit data segment as the first target field as the header file segment of the target multimedia data, for example The target multimedia data is an H264 or AVC video file encapsulated in MP4, and the 4-8th bytes of the header file fragment of the target multimedia data must be the "ftyp" character string. In the fragment set, the unit data The 4-8th byte of the fragment is the "ftyp" string, which is the header file fragment of the target multimedia data.
S202,从所述头文件分片中获取第二目标字段;所述第二目标字段包括所述目标多媒体数据中每一帧数据的绝对位置信息;S202. Obtain a second target field from the header file fragment; the second target field includes absolute position information of each frame of data in the target multimedia data;
具体的,数据处理设备从所述头文件分片中获取第二目标字段;所述第二目标字段包括所述目标多媒体数据中每一帧数据的绝对位置信息,可以理解的是,所述第二目标字段是头文件分片中一个字段,采用不同方式编码和封装的多媒体文件对应的第二目标字段不相同,以上述目标多媒体数据进行说明,所述第二目标字段是“stco”字段,所述“stco”字段包括所述目标多媒体数据中每一帧数据的绝对位置信息。Specifically, the data processing device obtains the second target field from the header file fragment; the second target field includes the absolute position information of each frame of data in the target multimedia data. It can be understood that the first The second target field is a field in the header file fragment. The second target field corresponding to the multimedia file encoded and encapsulated in different ways is different. The above target multimedia data is used for explanation. The second target field is the "stco" field, The "stco" field includes absolute position information of each frame of data in the target multimedia data.
S203,根据所述绝对位置信息和目标多媒体数据的数据分片的内存尺寸信息,获取目标多媒体数据中每一帧数据在子分片中对应的相对位置信息,将所述相对位置信息作为待匹配信息;S203: Obtain relative position information corresponding to each frame of data in the target multimedia data in the sub-slices according to the absolute position information and the memory size information of the data fragments of the target multimedia data, and use the relative position information as the to-be-matched information;
具体的,数据处理设备根据所述绝对位置信息和目标多媒体数据的数据分片的内存尺寸信息,获取目标多媒体数据中每一帧数据在子分片中对应的相对位置信息,将所述相对位置信息作为待匹配信息,可以理解的是,所述数据分片的内存尺寸信息是单位数据分片的内存大小,多媒体数据可以包括多个单位数据分片,每一个单位数据分片的内存尺寸信息都相同,数据处理设备根据所述绝对位置信息和所述内存尺寸信息,采用预设的算法计算目标多媒体数据中每一帧数据对应的子分片相对位置信息,并将所述子分片相对位置信息作为待匹配信息,同样以上述目标多媒体数据进行举例说明,上述目标多媒体数据的单位分片长度为固定值512k,将绝对位置信息与单位分片长度之间差值进行取模运算,取模运算后的结果为相对位置信息,并将所述相对位置信息作为待匹配信息。Specifically, the data processing device obtains the relative position information corresponding to each frame of data in the target multimedia data in the sub-slice according to the absolute position information and the memory size information of the data slice of the target multimedia data, and calculates the relative position The information is the information to be matched. It can be understood that the memory size information of the data segment is the memory size of a unit data segment. The multimedia data may include multiple unit data segments, and the memory size information of each unit data segment The data processing device uses a preset algorithm to calculate the relative position information of the sub-slice corresponding to each frame of data in the target multimedia data according to the absolute position information and the memory size information, and compares the sub-slices relative to each other. The position information is used as the information to be matched, and the above target multimedia data is also used as an example. The unit slice length of the target multimedia data is a fixed value of 512k, and the difference between the absolute position information and the unit slice length is subjected to a modulo operation. The result of the modular operation is relative position information, and the relative position information is used as the information to be matched.
S204,将所述绝对位置信息和所述相对位置信息进行存储;S204, storing the absolute position information and the relative position information;
具体的,数据处理设备将所述绝对位置信息和所述相对位置信息进行存储,可以理解的是,可以将所述绝对位置信息和所述相对位置信息存储至文档中或者其它存储空间中。Specifically, the data processing device stores the absolute position information and the relative position information. It can be understood that the absolute position information and the relative position information may be stored in a document or other storage space.
S205,根据数据分片的帧头同步字信息,从分片集合中获取所有子分片中每一帧数据在所属子分片中的标准相对位置信息;S205: Obtain standard relative position information of each frame of data in all sub-slices in the sub-slice to which it belongs from the segment set according to the frame header synchronization word information of the data segment;
具体的,数据处理设备根据数据分片的帧头同步字信息,从分片集合中获取所有子分片中每一帧数据在所属子分片中的标准相对位置信息,可以理解的是,采用不同方式编码和封装的多媒体数据对应的帧头同步字信息不相同,所述帧头同步字信息与所述多媒体数据对应,例如,所述目标多媒体数据是以MP4封装的H264或者AVC视频文件,则所述帧 头同步字为“0x000000”,根据数据分片的帧头同步字信息,在子分片中查找字符串为帧头同步字的字节,将所述字节确定为一帧数据的标准相对位置信息,根据所述帧头同步字信息,从分片集合中获取所有子分片中每一帧数据在所属子分片中的标准相对位置信息。Specifically, the data processing device obtains the standard relative position information of each frame of data in all sub-slices in the sub-slice to which it belongs according to the frame header synchronization word information of the data slices. It is understandable that The frame header sync word information corresponding to multimedia data encoded and encapsulated in different ways is different, and the frame header sync word information corresponds to the multimedia data. For example, the target multimedia data is an H264 or AVC video file encapsulated in MP4, Then the frame header synchronization word is "0x000000", according to the frame header synchronization word information of the data fragment, the byte whose character string is the frame header synchronization word is searched in the sub-slice, and the byte is determined as a frame of data According to the frame header synchronization word information, the standard relative position information of each frame of data in all sub-slices in the sub-slice to which it belongs is obtained from the slice set according to the frame header synchronization word information.
S206,根据所述分片集合的存储地址获取所有子分片的地址信息,并将所述标准相对位置信息和地址信息进行存储;S206: Obtain address information of all sub-shards according to the storage address of the shard set, and store the standard relative position information and address information;
具体的,数据处理设备根据所述分片集合的存储地址获取所有子分片的地址信息,并将所述标准相对位置信息和地址信息进行存储,可以理解的是,所述分片集合的存储地址为分片集合在存储空间中的地址信息,所述存储地址包括分片集合中每一个单位数据分片的地址信息,根据所述分片集合的存储地址获取所有子分片的地址信息,并将每个子分片中每一帧数据的标准相对位置信息和每个子分片对应的地址信息进行存储,可以将所述标准相对位置信息和所述地址信息存储至文档中或者其它存储空间中。Specifically, the data processing device obtains the address information of all sub-shards according to the storage address of the shard set, and stores the standard relative position information and address information. It can be understood that the storage of the shard set The address is the address information of the slice set in the storage space, the storage address includes the address information of each unit data slice in the slice set, and the address information of all sub slices is obtained according to the storage address of the slice set, And store the standard relative position information of each frame of data in each sub-segment and the address information corresponding to each sub-segment. The standard relative position information and the address information can be stored in a file or other storage space .
S207,从所述分片集合中的子分片所包含的标准相对位置信息中查找与所述相对位置信息相同的标准相对位置信息,将与所述相对位置信息相同的标准相对位置信息所属的子分片确定为目标子分片,若所述目标子分片的数量满足预设数量条件,则获取所述目标子分片的地址信息;S207. Search for standard relative position information that is the same as the relative position information from the standard relative position information contained in the sub-slices in the fragment set, and assign the standard relative position information that is the same as the relative position information to The sub-shard is determined to be the target sub-segment, and if the number of the target sub-shards meets a preset quantity condition, the address information of the target sub-shard is acquired;
具体的,数据处理设备从所述分片集合中的子分片所包含的标准相对位置信息中查找与所述相对位置信息相同的标准相对位置信息,将与所述相对位置信息相同的标准相对位置信息所属的子分片确定为目标子分片,若所述目标子分片的数量满足预设数量条件,则获取所述目标子分片的地址信息,可以理解的是,数据处理设备从分片集合中的所有子分片所包含的所述标准相对位置信息中查找与所述相对位置信息相同的标准相对位置信息,将与所述相对位置信息相同的标准相对位置信息所属的子分片确定为目标子分片,并检测所述目标子分片的数量,若所述目标子分片的数量满足预设数量条件,则获取所述目标子分片对应的地址信息,所述预设数量条件是预先设置的,可以根据实际情况进行调整,例如,若所述预设数量条件是所述目标子分片的数量为1,则当检测到目标子分片的数量是1时,说明分片集合中只有一个目标子分片的标准相对位置信息与所述相对位置信息相同,则可以确定所述标准相对位置信息对应的目标子分片是目标多媒体数据的子分片,并进一步获取所述目标子分片的地址信息。Specifically, the data processing device searches for the standard relative position information that is the same as the relative position information from the standard relative position information contained in the sub-slices in the slice set, and compares the standard relative position information with the relative position information. The sub-shard to which the location information belongs is determined to be the target sub-shard, and if the number of the target sub-shards meets the preset quantity condition, the address information of the target sub-shard is obtained. It can be understood that the data processing device receives The standard relative position information that is the same as the relative position information is searched for in the standard relative position information contained in all sub-slices in the slice set, and the sub-segment to which the standard relative position information the same as the relative position information belongs A slice is determined as a target sub-slice, and the number of the target sub-slice is detected. If the number of the target sub-slice meets a preset number condition, the address information corresponding to the target sub-slice is acquired, and the pre-slice The quantity condition is set in advance and can be adjusted according to actual conditions. For example, if the preset quantity condition is that the number of target sub-shards is 1, then when the number of target sub-slices is detected to be 1, It is explained that the standard relative position information of only one target sub-slice in the slice set is the same as the relative position information, then it can be determined that the target sub-slice corresponding to the standard relative position information is a sub-slice of the target multimedia data, and further Obtain the address information of the target sub-segment.
S208,若所述目标子分片的数量不满足预设数量条件,则输出多媒体分片索引重建失败的提示信息;S208: If the number of the target sub-slices does not meet the preset number condition, output a prompt message indicating that the multimedia segment index reconstruction fails;
具体的,若所述目标子分片的数量不满足预设数量条件,则数据处理设备输出多媒体分片索引重建失败的提示信息,可以理解的是,所述提示信息可以是语音提示信息或者是文字弹框,例如,若所述预设数量条件是所述目标子分片的数量为1,则当未检测到目标子分片或者检测到多个目标子分片时,数据处理设备输出多媒体分片索引重建失败的提示信息。Specifically, if the number of target sub-slices does not meet the preset number condition, the data processing device outputs a prompt message indicating that the multimedia slice index reconstruction has failed. It is understandable that the prompt information may be voice prompt information or A text box. For example, if the preset quantity condition is that the number of target sub-slices is 1, then when no target sub-slice is detected or multiple target sub-slices are detected, the data processing device outputs multimedia The message indicating that the fragment index reconstruction failed.
S209,根据所述地址信息与所述目标多媒体数据的数据分片之间的关联关系,按照目标子分片的播放顺序将所述地址信息进行排列,根据排列后的地址信息生成多媒体数据对应的多媒体分片索引。S209. According to the association relationship between the address information and the data fragments of the target multimedia data, arrange the address information according to the playback order of the target sub-slices, and generate multimedia data corresponding to the arranged address information. Multimedia fragment index.
具体的,数据处理设备根据所述地址信息与所述目标多媒体数据的数据分片之间的关联关系,按照目标子分片的播放顺序将所述地址信息进行排列,根据排列后的地址信息生成多媒体数据对应的多媒体分片索引,可以理解的是,所述多媒体数据包括多个单位数据分片,每一个单位数据分片对应一个地址信息,所述关联关系是所述目标多媒体数据中单位数据分片的地址信息与目标多媒体数据的对应关系,按照目标子分片的播放顺序,将所述目标子分片的所对应的地址信息按照播放顺序进行排列,根据排列后的地址信息生成所述目标多媒体数据对应的多媒体分片索引,当访问目标多媒体文件的时候,只需要获取目标多媒体数据对应的多媒体分片索引,根据多媒体分片索引中每一个单位数据分片的地址信息,获取目标多媒体数据对应的所有单位数据分片,再将单位数据分片组装成目标多媒体文件。Specifically, the data processing device arranges the address information according to the play order of the target sub-slices according to the association relationship between the address information and the data fragments of the target multimedia data, and generates the address information according to the arranged address information The multimedia segment index corresponding to the multimedia data. It can be understood that the multimedia data includes multiple unit data segments, and each unit data segment corresponds to one address information, and the association relationship is the unit data in the target multimedia data. The corresponding relationship between the address information of the fragments and the target multimedia data. According to the playback order of the target sub-segments, the corresponding address information of the target sub-slices are arranged in the playback order, and the address information is generated according to the arranged address information. The multimedia fragment index corresponding to the target multimedia data. When accessing the target multimedia file, only the multimedia fragment index corresponding to the target multimedia data needs to be obtained. According to the address information of each unit data fragment in the multimedia fragment index, the target multimedia is obtained All unit data fragments corresponding to the data, and then the unit data fragments are assembled into a target multimedia file.
在本发明实施例中,通过从分片集合中获取针对目标多媒体数据的头文件分片;根据所述头文件分片获取所述目标多媒体数据中每一帧数据的绝对位置信息,根据所述绝对位置信息确定目标多媒体数据中每一帧数据对应的子分片相对位置信息,将所述子分片相对位置信息作为待匹配信息;将所述待匹配信息与所述分片集合中的所有子分片所包含的标准相对位置信息进行匹配,获取匹配成功的标准相对位置信息所属的子分片的地址信息;根据所述地址信息与所述目标多媒体数据之间的关联关系,生成所述目标多媒体数据对应的多媒体分片索引。通过小文件中每一帧数据的位置信息,获取小文件在存储空间中的地址信息,对小文件所属大文件的文件索引进行重建,并通知用户文件索引重建的结果,避免了文件索引丢失而无法读取大文件的问题,降低了数据丢失的可能性,提高了数据的安全性。In the embodiment of the present invention, the header file fragment for the target multimedia data is obtained from the fragment set; the absolute position information of each frame of data in the target multimedia data is obtained according to the header file fragment, and according to the The absolute position information determines the relative position information of the sub-slices corresponding to each frame of data in the target multimedia data, and uses the relative position information of the sub-slices as the information to be matched; and compares the information to be matched with all the pieces in the set of pieces. The standard relative position information contained in the sub-segment is matched, and the address information of the sub-segment to which the matched standard relative position information belongs is obtained; the said address information is generated according to the association relationship between the address information and the target multimedia data Multimedia segment index corresponding to the target multimedia data. Through the location information of each frame of data in the small file, the address information of the small file in the storage space is obtained, the file index of the large file to which the small file belongs is reconstructed, and the user is notified of the result of the file index reconstruction, avoiding the loss of the file index. The problem of being unable to read large files reduces the possibility of data loss and improves data security.
请参见图4,为本发明实施例提供了一种数据处理设备的结构示意图。如图4所示,本发明实施例的所述数据处理设备1可以包括:分片获取单元11、位置信息获取单元12、第一地址信息获取单元13、索引生成单元14。Refer to FIG. 4, which is a schematic structural diagram of a data processing device according to an embodiment of the present invention. As shown in FIG. 4, the
分片获取单元11,用于从分片集合中获取针对目标多媒体数据的头文件分片;所述分片集合用于存储多个单位数据分片,所述多个单位数据分片包括多个多媒体数据的头文件分片和子分片;The
位置信息获取单元12,用于根据所述头文件分片获取所述目标多媒体数据中每一帧数据的绝对位置信息,根据所述绝对位置信息确定目标多媒体数据中每一帧数据对应的子分片相对位置信息,将所述子分片相对位置信息作为待匹配信息;The position
第一地址信息获取单元13,用于将所述待匹配信息与所述分片集合中的所有子分片所包含的标准相对位置信息进行匹配,获取匹配成功的标准相对位置信息所属的子分片的地址信息;The first address
索引生成单元14,用于根据所述地址信息与所述目标多媒体数据之间的关联关系,生成所述目标多媒体数据对应的多媒体分片索引。The
在本发明实施例中,通过从分片集合中获取针对目标多媒体数据的头文件分片;根据所述头文件分片获取所述目标多媒体数据中每一帧数据的绝对位置信息,根据所述绝对位置信息确定目标多媒体数据中每一帧数据对应的子分片相对位置信息,将所述子分片相对位置信息作为待匹配信息;将所述待匹配信息与所述分片集合中的所有子分片所包含的标准相对位置信息进行匹配,获取匹配成功的标准相对位置信息所属的子分片的地址信息;根据所述地址信息与所述目标多媒体数据之间的关联关系,生成所述目标多媒体数据对应的多媒体分片索引。通过小文件中每一帧数据的位置信息,对小文件所属大文件的文件索引进行重建,避免了文件索引丢失而无法读取大文件的问题,降低了数据丢失的可能性,提高了数据的安全性。In the embodiment of the present invention, the header file fragment for the target multimedia data is obtained from the fragment set; the absolute position information of each frame of data in the target multimedia data is obtained according to the header file fragment, and according to the The absolute position information determines the relative position information of the sub-slices corresponding to each frame of data in the target multimedia data, and uses the relative position information of the sub-slices as the information to be matched; and compares the information to be matched with all the pieces in the set of pieces. The standard relative position information contained in the sub-segment is matched, and the address information of the sub-segment to which the matched standard relative position information belongs is obtained; the said address information is generated according to the association relationship between the address information and the target multimedia data Multimedia segment index corresponding to the target multimedia data. Through the position information of each frame of data in the small file, the file index of the large file to which the small file belongs is reconstructed, avoiding the problem of losing the file index and being unable to read the large file, reducing the possibility of data loss, and improving the data safety.
请参见图5,为本发明实施例提供了一种数据处理设备的结构示意图。如图5所示,本发明实施例的所述数据处理设备1可以包括:分片获取单元11、位置信息获取单元12、第一地址信息获取单元13、索引生成单元14、标准位置信息获取单元15、第二地址信息获取单元16、输出单元17。Refer to FIG. 5, which is a schematic structural diagram of a data processing device according to an embodiment of the present invention. As shown in FIG. 5, the
分片获取单元11,用于检测分片集合中所有单位数据分片的文件头信息,将所述文件 头信息为第一目标字段的单位数据分片确定为目标多媒体数据的头文件分片;The
位置信息获取单元12,用于根据所述头文件分片获取所述目标多媒体数据中每一帧数据的绝对位置信息,根据所述绝对位置信息确定目标多媒体数据中每一帧数据对应的子分片相对位置信息,将所述子分片相对位置信息作为待匹配信息;The position
请一并参见图6,为本发明实施例提供了一种位置信息获取单元12的结构示意图。如图6所示,本发明实施例的所述位置信息获取单元12可以包括:绝对位置信息获取子单元121、相对位置信息获取子单元122、第一存储子单元123。Please refer to FIG. 6 together, which is a schematic structural diagram of a location
绝对位置信息获取子单元121,用于从所述头文件分片中获取第二目标字段;所述第二目标字段包括所述目标多媒体数据中每一帧数据的绝对位置信息;The absolute position
相对位置信息获取子单元122,用于根据所述绝对位置信息和目标多媒体数据的数据分片的内存尺寸信息,获取目标多媒体数据中每一帧数据在子分片中对应的相对位置信息,将所述相对位置信息作为待匹配信息;The relative position
第一存储子单元123,用于将所述绝对位置信息和所述相对位置信息进行存储;The
标准位置信息获取单元15,用于根据数据分片的帧头同步字信息,从分片集合中获取所有子分片中每一帧数据在所属子分片中的标准相对位置信息;The standard position
第二地址信息获取单元16,用于根据所述分片集合的存储地址获取所有子分片的地址信息,并将所述标准相对位置信息和地址信息进行存储;The second address
第一地址信息获取单元13,用于从所述分片集合中的子分片所包含的标准相对位置信息中查找与所述相对位置信息相同的标准相对位置信息,将与所述相对位置信息相同的标准相对位置信息所属的子分片确定为目标子分片,若所述目标子分片的数量满足预设数量条件,则获取所述目标子分片的地址信息;The first address
输出单元17,用于若所述目标子分片的数量不满足预设数量条件,则输出多媒体分片索引重建失败的提示信息;The
索引生成单元14,用于根据所述地址信息与所述目标多媒体数据的数据分片之间的关联关系,按照目标子分片的播放顺序将所述地址信息进行排列,根据排列后的地址信息生成多媒体数据对应的多媒体分片索引。The
在本发明实施例中,通过从分片集合中获取针对目标多媒体数据的头文件分片;根据所述头文件分片获取所述目标多媒体数据中每一帧数据的绝对位置信息,根据所述绝对位置信息确定目标多媒体数据中每一帧数据对应的子分片相对位置信息,将所述子分片相对 位置信息作为待匹配信息;将所述待匹配信息与所述分片集合中的所有子分片所包含的标准相对位置信息进行匹配,获取匹配成功的标准相对位置信息所属的子分片的地址信息;根据所述地址信息与所述目标多媒体数据之间的关联关系,生成所述目标多媒体数据对应的多媒体分片索引。通过小文件中每一帧数据的位置信息,获取小文件在存储空间中的地址信息,对小文件所属大文件的文件索引进行重建,并通知用户文件索引重建的结果,避免了文件索引丢失而无法读取大文件的问题,降低了数据丢失的可能性,提高了数据的安全性。In the embodiment of the present invention, the header file fragment for the target multimedia data is obtained from the fragment set; the absolute position information of each frame of data in the target multimedia data is obtained according to the header file fragment, and according to the The absolute position information determines the relative position information of the sub-slices corresponding to each frame of data in the target multimedia data, and uses the relative position information of the sub-slices as the information to be matched; and compares the information to be matched with all the pieces in the set of pieces. The standard relative position information contained in the sub-segment is matched, and the address information of the sub-segment to which the matched standard relative position information belongs is obtained; the said address information is generated according to the association relationship between the address information and the target multimedia data Multimedia segment index corresponding to the target multimedia data. Through the location information of each frame of data in the small file, the address information of the small file in the storage space is obtained, the file index of the large file to which the small file belongs is reconstructed, and the user is notified of the result of the file index reconstruction, avoiding the loss of the file index. The problem of being unable to read large files reduces the possibility of data loss and improves data security.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质可以存储有多条指令,所述指令适于由处理器加载并执行如上述图1-图2所示实施例的方法步骤,具体执行过程可以参见图1-图2所示实施例的具体说明,在此不进行赘述。The embodiment of the present invention also provides a computer storage medium. The computer storage medium may store a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method steps of the embodiment shown in FIGS. 1 and 2 above. For the specific execution process, please refer to the specific description of the embodiment shown in FIG. 1 to FIG. 2, which will not be repeated here.
请参见图7,为本发明实施例提供了一种数据处理设备的结构示意图。如图7所示,所述数据处理设备1000可以包括:至少一个处理器1001,例如CPU,至少一个网络接口1004,用户接口1003,存储器1005,至少一个通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。其中,用户接口1003可以包括显示屏(Display),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器1005可选的还可以是至少一个位于远离前述处理器1001的存储装置。如图7所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及数据处理应用程序。Refer to FIG. 7, which is a schematic structural diagram of a data processing device according to an embodiment of the present invention. As shown in FIG. 7, the
在图7所示的终端1000中,用户接口1003主要用于为用户提供输入的接口,获取用户输入的数据;而处理器1001可以用于调用存储器1005中存储的数据处理应用程序,并具体执行以下操作:In the terminal 1000 shown in FIG. 7, the
从分片集合中获取针对目标多媒体数据的头文件分片;所述分片集合用于存储多个单位数据分片,所述多个单位数据分片包括多个多媒体数据的头文件分片和子分片;Obtain the header file fragments for the target multimedia data from the fragment set; the fragment set is used to store a plurality of unit data fragments, and the plurality of unit data fragments include header file fragments and sub-files of a plurality of multimedia data. Fragmentation;
根据所述头文件分片获取所述目标多媒体数据中每一帧数据的绝对位置信息,根据所述绝对位置信息确定目标多媒体数据中每一帧数据对应的子分片相对位置信息,将所述子 分片相对位置信息作为待匹配信息;Obtain the absolute position information of each frame of data in the target multimedia data according to the header file fragments, determine the relative position information of the sub-slices corresponding to each frame of data in the target multimedia data according to the absolute position information, and convert the The relative position information of the sub-slices serves as the information to be matched;
将所述待匹配信息与所述分片集合中的所有子分片所包含的标准相对位置信息进行匹配,获取匹配成功的标准相对位置信息所属的子分片的地址信息;Matching the to-be-matched information with the standard relative position information contained in all sub-slices in the shard set, and obtain the address information of the sub-shard to which the matched standard relative position information belongs;
根据所述地址信息与所述目标多媒体数据之间的关联关系,生成所述目标多媒体数据对应的多媒体分片索引。According to the association relationship between the address information and the target multimedia data, a multimedia segment index corresponding to the target multimedia data is generated.
在本发明实施例中,通过从分片集合中获取针对目标多媒体数据的头文件分片;根据所述头文件分片获取所述目标多媒体数据中每一帧数据的绝对位置信息,根据所述绝对位置信息确定目标多媒体数据中每一帧数据对应的子分片相对位置信息,将所述子分片相对位置信息作为待匹配信息;将所述待匹配信息与所述分片集合中的所有子分片所包含的标准相对位置信息进行匹配,获取匹配成功的标准相对位置信息所属的子分片的地址信息;根据所述地址信息与所述目标多媒体数据之间的关联关系,生成所述目标多媒体数据对应的多媒体分片索引。通过小文件中每一帧数据的位置信息,对小文件所属大文件的文件索引进行重建,避免了文件索引丢失而无法读取大文件的问题,降低了数据丢失的可能性,提高了数据的安全性。In the embodiment of the present invention, the header file fragment for the target multimedia data is obtained from the fragment set; the absolute position information of each frame of data in the target multimedia data is obtained according to the header file fragment, and according to the The absolute position information determines the relative position information of the sub-slices corresponding to each frame of data in the target multimedia data, and uses the relative position information of the sub-slices as the information to be matched; and compares the information to be matched with all the pieces in the set of pieces. The standard relative position information contained in the sub-segment is matched, and the address information of the sub-segment to which the matched standard relative position information belongs is obtained; the said address information is generated according to the association relationship between the address information and the target multimedia data Multimedia segment index corresponding to the target multimedia data. Through the position information of each frame of data in the small file, the file index of the large file to which the small file belongs is reconstructed, avoiding the problem of losing the file index and being unable to read the large file, reducing the possibility of data loss, and improving the data safety.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The program can be stored in a computer readable storage medium. During execution, it may include the procedures of the above-mentioned method embodiments. Wherein, the storage medium may be a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above-disclosed are only preferred embodiments of the present invention. Of course, the scope of rights of the present invention cannot be limited by this. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.
Claims (10)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910244412.2 | 2019-03-28 | ||
| CN201910244412.2A CN109960731B (en) | 2019-03-28 | 2019-03-28 | Data processing method, device and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020192012A1 true WO2020192012A1 (en) | 2020-10-01 |
Family
ID=67025158
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/103348 Ceased WO2020192012A1 (en) | 2019-03-28 | 2019-08-29 | Data processing method and apparatus, and storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN109960731B (en) |
| WO (1) | WO2020192012A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114969376A (en) * | 2022-06-16 | 2022-08-30 | 合肥工业大学 | Information completion method, device, computer-readable storage medium, and electronic device |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109960731B (en) * | 2019-03-28 | 2022-11-18 | 腾讯音乐娱乐科技(深圳)有限公司 | Data processing method, device and storage medium |
| CN110704536A (en) * | 2019-09-27 | 2020-01-17 | 北京迈格威科技有限公司 | Distributed data processing method, device and system and electronic equipment |
| CN116112615A (en) * | 2023-02-08 | 2023-05-12 | 北京镁伽机器人科技有限公司 | Video frame synchronization method and device under high-speed interface |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101198016A (en) * | 2007-12-05 | 2008-06-11 | 中兴通讯股份有限公司 | Contents issuance and storage method for interactive individual television media paying system |
| CN104506966A (en) * | 2014-12-10 | 2015-04-08 | 曙光信息产业(北京)有限公司 | Audio/video data decoding method and device |
| CN102845041B (en) * | 2011-04-21 | 2015-11-25 | 华为技术有限公司 | Hypertext transfer protocol-based multi-bit rate positioning playback method, device and system |
| US20170127095A1 (en) * | 2014-06-13 | 2017-05-04 | Samsung Electronics Co., Ltd. | Method and device for managing multimedia data |
| CN108093299A (en) * | 2017-12-22 | 2018-05-29 | 厦门市美亚柏科信息股份有限公司 | MP4 damages the restorative procedure and storage medium of file |
| CN109960731A (en) * | 2019-03-28 | 2019-07-02 | 腾讯音乐娱乐科技(深圳)有限公司 | A kind of data processing method, equipment and storage medium |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107634930B (en) * | 2016-07-18 | 2020-04-03 | 华为技术有限公司 | A kind of acquisition method and device of media data |
| CN108391179B (en) * | 2018-04-26 | 2021-07-27 | 腾讯科技(深圳)有限公司 | Live broadcast data processing method and device, server, terminal and storage medium |
| CN108737908B (en) * | 2018-05-21 | 2021-11-30 | 腾讯科技(深圳)有限公司 | Media playing method, device and storage medium |
-
2019
- 2019-03-28 CN CN201910244412.2A patent/CN109960731B/en active Active
- 2019-08-29 WO PCT/CN2019/103348 patent/WO2020192012A1/en not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101198016A (en) * | 2007-12-05 | 2008-06-11 | 中兴通讯股份有限公司 | Contents issuance and storage method for interactive individual television media paying system |
| CN102845041B (en) * | 2011-04-21 | 2015-11-25 | 华为技术有限公司 | Hypertext transfer protocol-based multi-bit rate positioning playback method, device and system |
| US20170127095A1 (en) * | 2014-06-13 | 2017-05-04 | Samsung Electronics Co., Ltd. | Method and device for managing multimedia data |
| CN104506966A (en) * | 2014-12-10 | 2015-04-08 | 曙光信息产业(北京)有限公司 | Audio/video data decoding method and device |
| CN108093299A (en) * | 2017-12-22 | 2018-05-29 | 厦门市美亚柏科信息股份有限公司 | MP4 damages the restorative procedure and storage medium of file |
| CN109960731A (en) * | 2019-03-28 | 2019-07-02 | 腾讯音乐娱乐科技(深圳)有限公司 | A kind of data processing method, equipment and storage medium |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114969376A (en) * | 2022-06-16 | 2022-08-30 | 合肥工业大学 | Information completion method, device, computer-readable storage medium, and electronic device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109960731B (en) | 2022-11-18 |
| CN109960731A (en) | 2019-07-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP4165780B1 (en) | Systems and methods for compression and encryption of data | |
| US9927998B2 (en) | Flash memory compression | |
| WO2020192012A1 (en) | Data processing method and apparatus, and storage medium | |
| US10476928B2 (en) | Network video playback method and apparatus | |
| US8688621B2 (en) | Systems and methods for information compression | |
| CN106162235A (en) | Method and apparatus for Switch Video stream | |
| WO2016045641A2 (en) | Data block storage method, data query method and data modification method | |
| US9826065B2 (en) | Scene-based variable compression | |
| CN105631035A (en) | Data storage method and device | |
| US9998768B1 (en) | Apparatus and methods for generating clips using recipes with slice definitions | |
| US12069332B2 (en) | Video data processing method, electronic device and computer-readable medium | |
| CN114337678A (en) | Data compression method, device, equipment and storage medium | |
| US10754973B2 (en) | Secure cloud storage system | |
| CN112436943A (en) | Request deduplication method, device, equipment and storage medium based on big data | |
| US11190787B2 (en) | Multi-pixel caching scheme for lossless encoding | |
| WO2023010402A1 (en) | Media file playing method and apparatus, and computer device and storage medium | |
| KR102032460B1 (en) | Apparatus and method for video realtime transcoding in individual cloud environment | |
| WO2024021491A1 (en) | Data slicing method, apparatus and system | |
| KR20150060149A (en) | Storage device and method for distributed processing of multimedia data | |
| US11343272B2 (en) | Proof of work based on compressed video | |
| CN110413800B (en) | A method and device for providing novel information | |
| US20140344305A1 (en) | System and method for managing related information of audio content | |
| WO2017088382A1 (en) | Data processing method and device | |
| CN116055772B (en) | Streaming media playback method, device, equipment and medium | |
| KR102846561B1 (en) | W3C media extension for processing DASH and CMAF in-band events with media using PROCESS@APPEND and PROCESS@PLAY modes. |
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: 19920959 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 21/01/2022) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 19920959 Country of ref document: EP Kind code of ref document: A1 |