CN105592281B - MPEG video processing method, device and system - Google Patents
MPEG video processing method, device and system Download PDFInfo
- Publication number
- CN105592281B CN105592281B CN201410564688.6A CN201410564688A CN105592281B CN 105592281 B CN105592281 B CN 105592281B CN 201410564688 A CN201410564688 A CN 201410564688A CN 105592281 B CN105592281 B CN 105592281B
- Authority
- CN
- China
- Prior art keywords
- flash memory
- video frame
- frame
- video
- mapping table
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The invention discloses a kind of MPEG video processing method, device and system, are related to video field.The embodiment of the present invention is by splitting MPEG video frame, and work out corresponding video frame type mapping table, and then the key message of MPEG video frame is preserved by the higher high-performance flash memory of read or write speed and reliability, non-critical information is preserved by the relatively low low performance flash memory of read or write speed and reliability, so as to reduce all using high carrying cost caused by high-performance flash memory preservation video data, simultaneously when low performance flash memory fails, the key message for being stored in the video frame in high-performance flash memory can be utilized to ensure that the broadcasting of video is experienced again, it is achieved thereby that a kind of video data storage scheme preserved with high performance-price ratio and high reliability.
Description
Technical field
It is more particularly to a kind of relevant using being accessed with video for flash memory system realization is mixed the present invention relates to video field
MPEG (Moving Pictures Experts Group, dynamic image expert group) method for processing video frequency, device and system.
Background technology
With with the relevant Internet service of video flourish, large capacity, high performance flash media have become
Important component in storage system is mainly reflected in two aspects:The first aspect is in website side, video service website
High performance flash memory, such as SSD (Solid State Disk, solid state disk) are largely introduced in its storage system, for interior
The caching of appearance accesses experience preferably to improve user;The second aspect is in end side, is accessed having become major video
In the mobile equipment of terminal, the flash card of large capacity also becomes the essential important configuration for preserving video data.
For flash memory technology using NAND as mainstream, it is divided into SLC (Single Layer Cell, individual layer list again at present
Member) flash memory and MLC (Multi-Layer Cell, multilevel-cell) two kinds of main Types of flash memory.Wherein SLC possesses higher read-write
The erasable number of speed and 100,000 magnitudes, reliability is higher, but its unit price is excessively high, in large-scale application
Cost is high;MLC possesses larger capacity and cheap price, but its erasable number usually at 10,000 times hereinafter, so as to
Reliability in terms of efficient data preservation is relatively low.
Therefore, how to realize that high performance-price ratio, the video data storage systems of highly reliable preservation become using flash memory technology to work as
The problem of preceding industry concern.
Invention content
A technical problem to be solved of the embodiment of the present invention is:How flash memory technology realization high performance-price ratio, height utilized
The video data storage systems reliably preserved.
One side according to embodiments of the present invention provides a kind of MPEG video processing method, including:By MPEG video frame
It is split as image group header data, intra-coded frame, two-way interpolation frame, forward predicted frame;According to the fractionation knot of MPEG video frame
Fruit shape is into the video frame type mapping table for recording each video frame relevant information;By intra-coded frame, image group header data and
Video frame type mapping table is saved in the first flash memory, and two-way interpolation frame and forward predicted frame are saved in the second flash memory, wherein, the
The read or write speed and reliability of one flash memory are higher than the second flash memory.
In one embodiment, it is described that each video frame relevant information is recorded according to the formation of the split result of MPEG video frame
Video frame type mapping table include:The type of each video frame, length and suitable are determined according to the split result of MPEG video frame
Sequence, and by the type of each video frame, length and it is sequentially recorded to video frame type mapping table.
In one embodiment, first flash memory is single layer cell flash memory, and second flash memory is multi-layered unit flash memory.
In one embodiment, this method further includes:Video frame type mapping table is read from the first flash memory;According to video
The type of video frame preserved in frame Type mapping table reads corresponding video frame number from the first flash memory and the second flash memory respectively
According to, wherein, the read or write speed and reliability of the first flash memory are higher than the second flash memory;It is regarded according to what is preserved in video frame type mapping table
Each video requency frame data of reading is sequentially reassembled as MPEG video frame by the sequence of frequency frame.
In one embodiment, it is described sequentially to read corresponding video requency frame data from the first flash memory and the second flash memory respectively
Including:Image group header data and intra-coded frame are read from the first flash memory, read from the second flash memory two-way interpolation frame and
Forward predicted frame.
Another aspect according to embodiments of the present invention provides a kind of MPEG video processing unit, including:Module is split, is used
In MPEG video frame is split as image group header data, intra-coded frame, two-way interpolation frame, forward predicted frame;Mapping table shape
Into module, the video frame type for recording each video frame relevant information according to the formation of the split result of MPEG video frame maps
Table;Classification storage module, for intra-coded frame, image group header data and video frame type mapping table to be saved in the first sudden strain of a muscle
It deposits, two-way interpolation frame and forward predicted frame is saved in the second flash memory, wherein, the read or write speed and reliability of the first flash memory are higher than
Second flash memory.
In one embodiment, the mapping table forms module, is specifically used for:It is true according to the split result of MPEG video frame
Type, length and the sequence of fixed each video frame, and by the type of each video frame, length and it is sequentially recorded to video frame type
Mapping table.
In one embodiment, which further includes:Mapping table acquisition module, for reading video frame from the first flash memory
Type mapping table;Classify read module, for the type according to the video frame preserved in video frame type mapping table, respectively from the
Corresponding video requency frame data is read in one flash memory and the second flash memory, wherein, the read or write speed and reliability of the first flash memory are higher than the
Two flash memories;Recombination module, for the sequence according to the video frame preserved in video frame type mapping table, by each video of reading
Frame data are sequentially reassembled as MPEG video frame.
In one embodiment, the classification read module, is specifically used for:According to what is preserved in video frame type mapping table
The type of video frame reads image group header data and intra-coded frame from the first flash memory, is read from the second flash memory two-way
Interpolation frame and forward predicted frame.
Another aspect according to embodiments of the present invention provides a kind of MPEG video processing system, including:Aforementioned MPEG is regarded
Frequency processing device and including the first flash memory and the second flash memory, wherein, the read or write speed and reliability of the first flash memory are higher than second
Flash memory.
Another aspect according to embodiments of the present invention provides a kind of MPEG video processing system, including:Aforementioned MPEG is regarded
Frequency processing device and mixing flash memory system;Wherein, mixing flash memory system includes the first flash memory and the second flash memory, wherein, first
The read or write speed and reliability of flash memory are higher than the second flash memory.
The embodiment of the present invention works out corresponding video frame type mapping table by splitting MPEG video frame, and then will
The key message of MPEG video frame is preserved by the higher high-performance flash memory of read or write speed and reliability, and non-critical information is by read-write speed
The relatively low low performance flash memory of degree and reliability preserves, and is all caused so as to reduce using high-performance flash memory preservation video data
High carrying cost, while when low performance flash memory fails, and the pass for being stored in the video frame in high-performance flash memory can be utilized
Key information ensures the broadcasting experience of video, it is achieved thereby that a kind of video data preserved with high performance-price ratio and high reliability is deposited
Storage scheme.It, can will be high according to video frame type mapping table correspondingly, the embodiment of the present invention also proposes a kind of video reorganization scheme
The video requency frame data preserved respectively in performance flash memory and low performance flash memory is read out, and sequentially reassembles into MPEG video frame.
By referring to the drawings to the detailed description of exemplary embodiment of the present invention, other feature of the invention and its
Advantage will become apparent.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also
To obtain other attached drawings according to these attached drawings.
Fig. 1 shows an example of MPEG video frame sequence.
Fig. 2 is the schematic diagram that the present invention accesses relevant MPEG video processing system with video.
Fig. 3 is a kind of flow chart for realization method that the present invention stores relevant MPEG video processing with visual classification.
Fig. 4 is a kind of flow chart for realization method that the present invention recombinates relevant MPEG video processing with video.
Fig. 5 is the structure diagram of MPEG video processing unit one embodiment of the present invention.
Fig. 6 is the structure diagram of MPEG video processing unit further embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.Below
Description only actually at least one exemplary embodiment is illustrative, is never used as to the present invention and its application or makes
Any restrictions.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Lower all other embodiments obtained, shall fall within the protection scope of the present invention.
In order to realize the video data storage scheme with high performance-price ratio and high reliability preservation, the present inventor carries
Go out a kind of video data storage scheme using the classification storage for mixing flash memory system realization, that is, determine in MPEG video frame
Key message and non-critical information dodge the high-performance that key message and non-critical information are stored in respectively in mixing flash memory system
Deposit with low performance flash memory, so as to fulfill a kind of video data storage scheme that can take into account cost performance and reliability.
Wherein it is determined that the key message and non-critical information in MPEG video frame are the bases of the present invention.The present invention proposes
A kind of method of key message and non-critical information in determining MPEG video frame.It is specifically described below.
MPEG is the video data encoding of current main-stream, and output is one group of picture compressed, the figure of these serializings
Piece forms a GOP (Group of Pictures, image group).In MPEG video, a GOP is usually regarded by a series of
Frequency frame forms.Fig. 1 shows an example of MPEG video frame sequence.As shown in Figure 1, MPEG video frame mainly includes I frames, B
The frame type of frame, P frames.Wherein:I frames are intra-coded frame, are the complete pictures of a width in GOP, are other frame B frames in GOP
With the background picture of P frames;B frames are two-way interpolation frames, record the difference of current B frames and its front and rear frame, pass through the difference on front and rear frame
Different superposition forms B frame pictures;P frames are forward predicted frames, record current P frames and its before difference of key frame, are believed by difference
The superposition of breath forms final picture.
According to the compiling method algorithm of MPEG video, I frames are the background of a group picture in video content, include larger data
Amount, and then major embodiment I frames show the variation of image for B frames and P frames, need to calculate displaying content with reference to I frames.Since I frames will be straight
Connecing influences video playing reliability and fluency, therefore the present invention, using I frames as key frame, B frames and P frames are as non-key frame.
Other than the information such as above-mentioned I frames, B frames, P frames, in order to describe the internal structure of a GOP, MPEG also defines one
Partial code streams data are GOP header datas, such as visual object sequence (Visual Object Sequence), visual object
(Visual Object), visual object layer (Visual Object Layer) and video object layer (Video Object
Layer) etc., these data save the information such as sequence, type, resolution ratio, the frame length of compressed picture, for MPEG video number
It is extremely important for, therefore GOP header datas are also served as key message by the present invention, have highly reliable preservation demand.
In conclusion the present invention using key frame I frames, GOP header datas as MPEG video frame key message, by non-pass
The non-critical information of key frame B frames and P frames as MPEG video frame.In addition, record each video frame relevant information (such as type, length
Degree and sequence etc.) video frame type mapping table be the key that recombination MPEG video frame, therefore, video frame type mapping table is also made
Key message for MPEG video frame.
Fig. 2 is the schematic diagram that the present invention accesses relevant MPEG video processing system with video.As shown in Fig. 2, MPEG is regarded
Frequency processing system includes MPEG video processing unit (or MPEG video analytic unit) 202 and mixing flash memory system 204.
Fig. 2 also shows the file system 206 for preserving process object MPEG video.Wherein, file system 206 can be existing
What can preserve the file system of MPEG video, stress mixing flash memory system and MPEG video processing unit below.
Mixing flash memory system 204 includes the mixing flash media being made of the first flash memory 2042 and the second flash memory 2044,
In, the read or write speed and reliability of the first flash memory are higher than the second flash memory, and therefore, the first flash memory is referred to as high-performance flash memory,
Second flash memory is referred to as low performance flash memory.For example, SLC Flash, as the first flash memory, MLC flash is as the second flash memory.It is mixed
It closes flash memory system 204 and further includes flash translation layer (FTL) component 2046.Flash translation layer (FTL) component 2046 is mainly for the treatment of from flash memory
The functions such as the I/O requests of exterior and garbage disposal, address of cache and the resource management of realization flash memory.Flash translation layer (FTL)
Component includes hardware chip and firmware portions, and wherein for hardware chip for reading and being written flash data, firmware portions are then main
It is responsible for the work such as address of cache and power interruption recovering, the bad block management of logical address and physical address.Flash translation layer (FTL) component will
First flash memory (such as SLC Flash) and the second flash memory (such as MLC flash) are mapped in different address spaces, and independently of one another, MPEG is regarded
The key message and non-critical information of frequency frame can be respectively stored on the address of the memory space of corresponding SLC or MLC, with reality
Existing highly reliable SLC Flash is to the storage of key frame and other key messages and the MLC flash of large capacity to non-key frame
Storage.The flash memory system that SLC Flash and MLC flash are formed can be there are many form, wherein being typically include:For accelerating video
The caching medium of content delivery, such as SSD disks;For preserving the storage card of large-capacity video content in mobile terminal, such as dodge
Deposit card.Different system configurations has different realization methods, such as mixing SSD dish types state can be by storing bus connection not
Same medium, and flash card form is then realized by the scheme of chip-scale.
MPEG video processing unit 202 is mainly used to carry out classification storage processing and reorganization to MPEG video frame.Under
Face illustrates the two processing functions respectively.
Relevant MPEG video processing method is stored with visual classification mainly to include:MPEG video frame is split as image group
Header data, intra-coded frame, two-way interpolation frame, forward predicted frame;It is each that record is formed according to the split result of MPEG video frame
The video frame type mapping table of a video frame relevant information;Intra-coded frame, image group header data and video frame type are reflected
The key messages such as firing table are saved in the first flash memory, and the non-critical informations such as two-way interpolation frame and forward predicted frame are saved in the second sudden strain of a muscle
It deposits.
With reference to figure 3, a kind of realization method that relevant MPEG video processing is stored with visual classification is as follows:
Step 301, MPEG video frame is read, for example, MPEG video frame can be read from file system.
Step 302, MPEG video frame is parsed, identifies image group header data in MPEG video frame, inside
Coded frame, two-way interpolation frame, forward predicted frame.
Step 303, the video frame content of each type is split, such as can be torn open by tools such as FFmpeg
Point, so as to form the corresponding data file of each different types of video frame content.
Step 304, each video frame relevant information is determined and recorded according to the split result of MPEG video frame, for example, class
Type, length and sequence etc., form video frame type mapping table.
Step 305, by image group header data, intra-coded frame, two-way interpolation frame, forward predicted frame and video frame class
Type mapping table carries out classification storage.
Specifically, the key messages such as intra-coded frame, image group header data and video frame type mapping table are saved in
The non-critical informations such as two-way interpolation frame and forward predicted frame are saved in the second flash memory by the first flash memory.
Step 306, further, judge whether also MPEG video frame, if so, perform step 301, with continue parsing and
Classification storage, if it is not, terminating.
In above-mentioned steps 302, when being parsed to MPEG video frame can according to as defined in MPEG standards image group head
Portion's data, intra-coded frame, two-way interpolation frame, forward predicted frame origin identification, identify the image group in MPEG video frame
Header data, intra-coded frame, two-way interpolation frame, forward predicted frame.Elecard Stream Analyzer etc. can also be utilized
Streaming Media analytical tool realize to included in MPEG video image group header data, intra-coded frame, two-way interpolation frame, forward direction
Predict the positioning and identification of frame.Illustrate parsing and the identification process of video frame by taking MPEG-4 as an example below.
(1) in MPEG-4 video standards, the mark of main GOP header datas information is as shown in table 1, in order to facilitate table
Show, shown with hexadecimal.
Table 1
Hexadecimal identifies | GOP header data information |
0x 00 00 01 B0 | Visual Object Sequence |
0x 00 00 01 B5 | Visual Object |
0x 00 00 01 20 | Visual Object Layer |
0x 00 00 01 B6 | Video Object Plane |
(2) the Video Object Plane in GOP header datas identify the initial position of video frame, should by comparison
2 bit after mark, you can identify I frames, B frames, P frame informations.Wherein, " 00 " represents that I frames, " 10 " represent B frames, " 01 "
Represent P frames.
By the related definition of above-mentioned MPEG-4 video standards and the identification of origin identification, MPEG video processing unit can
To realize to GOP header datas, I frames, B frames, the mark of P frames and positioning in video content.This method is equally applicable to MPEG-1
Identification and mark with the video frame of the video datas such as MPEG-2.
In above process, MPEG video processing unit can judge data in a manner of reading 4 byte datas every time
Information whether be MPEG video frame either GOP header datas correspondence initial position.If the segment data is not belonging to video frame
Initial position or GOP header datas, then it is to belong to the content of some video frame to illustrate the segment data, judges the video belonging to it
Whether frame type is that key frame either non-key frame and then is saved in the MLC of highly reliable SLC or large capacity respectively;It if should
Segment data is the initial position of video frame, then record video frame type (i.e. I frames, B frames, P frames), and record video frame correspondence
The information such as length, sequence, form video frame type mapping table and be simultaneously saved in SLC as key message.
Relevant MPEG video processing method is recombinated with video mainly to include:Video frame type is read from the first flash memory to reflect
Firing table;According to the type of the video frame preserved in video frame type mapping table, read from the first flash memory and the second flash memory respectively
Corresponding video requency frame data reads image group header data and intra-coded frame that is, from the first flash memory, is read from the second flash memory
Take two-way interpolation frame and forward predicted frame;According to the sequence of the video frame preserved in video frame type mapping table, by each of reading
A video requency frame data is sequentially reassembled as MPEG video frame.
With reference to figure 4, a kind of realization method that relevant MPEG video processing is recombinated with video is as follows:
Step 401, video frame type mapping table is read from the first flash memory, video is obtained from video frame type mapping table
The information such as type, length and the sequence of frame.
Step 402, according to the type of the video frame preserved in video frame type mapping table, judge the class of MPEG video frame
Type.
Step 403, video frame is read from mixing flash memory corresponding region according to the type of MPEG video frame, specifically, from the
Image group header data and intra-coded frame are read in one flash memory, two-way interpolation frame and forward prediction are read from the second flash memory
Frame.
Step 404, according to the sequence of the video frame preserved in video frame type mapping table, by each video frame number of reading
According to being sequentially reassembled as MPEG video frame.
Step 405, further, judge whether also MPEG video frame, if so, step 401 is performed, to continue to recombinate,
If it is not, terminate.
An application example is set forth below, so that the classification storage scheme and reorganization scheme of the present invention are clearer.
When getting one section of MPEG video flow data, MPEG video frame is parsed first, such as can be utilized
The Streaming Medias analytical tools such as Elecard Stream Analyzer realize to the GOP header datas that are included in MPEG video and its
Subsequent I frames, B frames, P frames are positioned and calculate its corresponding length.I frames, B frames, P frames the judgement of video frame type can
To be identified according to the mark defined in MPEG standards.The analysis result of one typical MPEG video frame is as shown in table 2.
Table 2
Space address | Frame type | Frame length (byte) | Frame sequential |
0x00000000 | Object sequence | 5 | 1 |
0x00000005 | Visual object | 9 | 2 |
0x0000000E | Video object layer | 27 | 3 |
0x00000029 | I frames | 41974 | 4 |
0x0000A41F | P frames | 1934 | 5 |
0x0000ABAD | B frames | 276 | 6 |
0x0000ACC1 | B frames | 277 | 7 |
0x0000ADD6 | P frames | 17421 | 8 |
0x0000F1E3 | B frames | 908 | 9 |
0x0000F56F | P frames | 20960 | 10 |
0x0001474F | B frames | 1092 | 11 |
0x00015017 | P frames | 23220 | 12 |
0x0001AACB | B frames | 1276 | 13 |
0x0001AFC7 | B frames | 1511 | 14 |
0x0001B5AE | P frames | 25528 | 15 |
0x00021966 | B frames | 11402 | 16 |
… | … | … | … |
0x0007FBB5 | Object sequence | 5 | 42 |
0x0007FBBA | Visual object | 9 | 43 |
0x0007FBC3 | Video object layer | 29 | 44 |
0x0007FBE0 | I frames | 48952 | 45 |
Wherein, the information such as object sequence, visual object, video object layer belong to the content of GOP header datas.Then,
Video frame type mapping table is formed, as shown in table 3.
Table 3
Sequentially | Type | Length (byte) |
0 | GOP heads | 41 |
1 | I | 41974 |
2 | P | 1934 |
3 | B | 276 |
4 | B | 277 |
5 | P | 17421 |
… | … | … |
Then, (such as by tools such as FFmpeg) are cut to the video frame content of each type, it is each so as to be formed
The corresponding data file of a different types of video frame content.Then, by GOP header datas, I frames, video frame type mapping table
It waits in key messages storage to SLC Flash, the non-critical informations such as B frames, P frames is saved in MLC flash, so as to fulfill to MPEG
The highly reliable and low cost storage of video.
During flash memory system recombination MPEG video content is mixed, video frame type is read from SLC Flash first
Mapping table, then according to the sequential video frame and type wherein preserved, from the SLC Flash of mixing flash memory system and MLC flash point
It Du Qu not be in the data to caching of corresponding video frame, and then in the buffer by video frame such as GOP header datas, I frames, B frames, P frames
Data are sequentially reassembled as MPEG video content.
Fig. 5 is the structure diagram of 202 one embodiment of MPEG video processing unit of the present invention.As shown in figure 5, MPEG is regarded
Frequency processing device 202 includes:Module 502, mapping table formation module 504 and classification storage module 506 are split, passes through these three moulds
Block can realize the classification storage of video frame.
Module 502 is split, for MPEG video frame to be split as image group header data, intra-coded frame, two-way interpolation
Frame, forward predicted frame;
Mapping table forms module 504, related for recording each video frame according to the formation of the split result of MPEG video frame
The video frame type mapping table of information;
Classification storage module 506, for intra-coded frame, image group header data and video frame type mapping table to be preserved
To the first flash memory, two-way interpolation frame and forward predicted frame are saved in the second flash memory, wherein, the read or write speed of the first flash memory and can
It is higher than the second flash memory by property.
Wherein, mapping table forms module 504, is specifically used for:Each video is determined according to the split result of MPEG video frame
Type, length and the sequence of frame, and by the type of each video frame, length and it is sequentially recorded to video frame type mapping table.
Fig. 6 is the structure diagram of 202 one embodiment of MPEG video processing unit of the present invention.As shown in fig. 6, MPEG is regarded
Frequency processing device 202 further includes:Mapping table acquisition module 608, classification read module 610 and recombination module 612, pass through these three
Module can realize the recombination of video frame.
Mapping table acquisition module 608, for reading video frame type mapping table from the first flash memory;
Classify read module 610, for the type according to the video frame preserved in video frame type mapping table, respectively from the
Corresponding video requency frame data is read in one flash memory and the second flash memory, wherein, the read or write speed and reliability of the first flash memory are higher than the
Two flash memories;
Recombination module 612, for the sequence according to the video frame preserved in video frame type mapping table, by each of reading
Video requency frame data is sequentially reassembled as MPEG video frame.
Wherein, classification read module 610, is specifically used for:According to the class of the video frame preserved in video frame type mapping table
Type reads image group header data and intra-coded frame from the first flash memory, and two-way interpolation frame is read from the second flash memory with before
To prediction frame.
The embodiment of the present invention works out corresponding video frame type mapping table by splitting MPEG video frame, and then will
The key message of MPEG video frame is preserved by the higher high-performance flash memory of read or write speed and reliability, and non-critical information is by read-write speed
The relatively low low performance flash memory of degree and reliability preserves, and is all caused so as to reduce using high-performance flash memory preservation video data
High carrying cost, while when low performance flash memory fails, and the pass for being stored in the video frame in high-performance flash memory can be utilized
Key information ensures the broadcasting experience of video, it is achieved thereby that a kind of video data preserved with high performance-price ratio and high reliability is deposited
Storage scheme.It, can will be high according to video frame type mapping table correspondingly, the embodiment of the present invention also proposes a kind of video reorganization scheme
The video requency frame data preserved respectively in performance flash memory and low performance flash memory is read out, and sequentially reassembles into MPEG video frame.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of dynamic image expert group MPEG video processing method, which is characterized in that including:
MPEG video frame is split as image group header data, intra-coded frame, two-way interpolation frame, forward predicted frame;
The video frame type mapping table of each video frame relevant information, video are recorded according to the formation of the split result of MPEG video frame
Frame relevant information includes type, length and the sequence of video frame;
Intra-coded frame, image group header data and video frame type mapping table are saved in the first flash memory, by two-way interpolation frame
The second flash memory is saved in forward predicted frame, wherein, the read or write speed and reliability of the first flash memory are higher than the second flash memory.
2. according to the method described in claim 1, it is characterized in that, described formed according to the split result of MPEG video frame records
The video frame type mapping table of each video frame relevant information includes:
Determine the type, length and sequence of each video frame according to the split result of MPEG video frame, and by each video frame
Type, length and it is sequentially recorded to video frame type mapping table.
3. according to the method described in claim 1, it is characterized in that, first flash memory is single layer cell flash memory, described second
Flash memory is multi-layered unit flash memory.
4. it according to the method described in claim 1, it is characterized in that, further includes:
Video frame type mapping table is read from the first flash memory;
According to the type of the video frame preserved in video frame type mapping table, phase is read from the first flash memory and the second flash memory respectively
The video requency frame data answered;
According to the sequence of the video frame preserved in video frame type mapping table, each video requency frame data of reading is sequentially reassembled as
MPEG video frame.
5. according to the method described in claim 4, it is characterized in that, described sequentially read from the first flash memory and the second flash memory respectively
Corresponding video requency frame data is taken to include:
Image group header data and intra-coded frame are read from the first flash memory, two-way interpolation frame is read from the second flash memory with before
To prediction frame.
6. a kind of dynamic image expert group MPEG video processing unit, which is characterized in that including:
Module is split, for MPEG video frame to be split as image group header data, intra-coded frame, two-way interpolation frame, forward direction
Predict frame;
Mapping table forms module, for recording regarding for each video frame relevant information according to the formation of the split result of MPEG video frame
Frequency frame Type mapping table, video frame relevant information include type, length and the sequence of video frame;
Classification storage module, for intra-coded frame, image group header data and video frame type mapping table to be saved in first
Two-way interpolation frame and forward predicted frame are saved in the second flash memory by flash memory, wherein, the read or write speed and reliability of the first flash memory are high
In the second flash memory.
7. device according to claim 6, which is characterized in that the mapping table forms module, is specifically used for:
Determine the type, length and sequence of each video frame according to the split result of MPEG video frame, and by each video frame
Type, length and it is sequentially recorded to video frame type mapping table.
8. device according to claim 6, which is characterized in that further include:
Mapping table acquisition module, for reading video frame type mapping table from the first flash memory;
Classification read module, for the type according to the video frame preserved in video frame type mapping table, respectively from the first flash memory
With corresponding video requency frame data is read in the second flash memory, wherein, the read or write speed and reliability of the first flash memory are higher than the second flash memory;
Recombination module, for the sequence according to the video frame preserved in video frame type mapping table, by each video frame of reading
Data are sequentially reassembled as MPEG video frame.
9. device according to claim 8, which is characterized in that the classification read module is specifically used for:
According to the type of the video frame preserved in video frame type mapping table, read from the first flash memory image group header data and
Intra-coded frame reads two-way interpolation frame and forward predicted frame from the second flash memory.
10. a kind of dynamic image expert group MPEG video processing system, which is characterized in that including:Any one of claim 6-9 institutes
The MPEG video processing unit and mixing flash memory system stated;Wherein, mixing flash memory system includes the first flash memory and the second sudden strain of a muscle
It deposits, wherein, the read or write speed and reliability of the first flash memory are higher than the second flash memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410564688.6A CN105592281B (en) | 2014-10-22 | 2014-10-22 | MPEG video processing method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410564688.6A CN105592281B (en) | 2014-10-22 | 2014-10-22 | MPEG video processing method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105592281A CN105592281A (en) | 2016-05-18 |
CN105592281B true CN105592281B (en) | 2018-07-06 |
Family
ID=55931460
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410564688.6A Active CN105592281B (en) | 2014-10-22 | 2014-10-22 | MPEG video processing method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105592281B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107733952A (en) * | 2016-08-12 | 2018-02-23 | 中国电信股份有限公司 | For providing the methods, devices and systems of differentiation buffer service |
EP3516866B1 (en) * | 2016-09-26 | 2021-06-09 | Amazon Technologies Inc. | Streaming and storing video for audio/video recording and communication devices |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1156284A (en) * | 1995-07-07 | 1997-08-06 | 汤姆森消费电子有限公司 | Method and device for safety storing highly secret information on relative nonreliable storage media |
CN1684049A (en) * | 2004-04-15 | 2005-10-19 | 株式会社日立制作所 | Information storage apparatus, information storage method and information storage processing program product |
CN101465880A (en) * | 2007-12-18 | 2009-06-24 | 卢森特技术有限公司 | Reliable storage of data in a distributed storage system |
CN202759536U (en) * | 2012-08-29 | 2013-02-27 | 青岛海信网络科技股份有限公司 | Highly reliable vehicle-loaded video storage apparatus and vehicle-loaded video apparatus |
CN103632411A (en) * | 2012-08-23 | 2014-03-12 | 中国电信股份有限公司 | Storage method and device for vehicle-carried data |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101430634A (en) * | 2007-11-06 | 2009-05-13 | 孙国仲 | Memory device |
JP2011526134A (en) * | 2008-06-25 | 2011-09-29 | アクティブビデオ ネットワークス, インコーポレイテッド | Provision of interactive content to client devices via TV broadcast via unmanaged network and unmanaged network |
IL210169A0 (en) * | 2010-12-22 | 2011-03-31 | Yehuda Binder | System and method for routing-based internet security |
US11687292B2 (en) * | 2013-02-26 | 2023-06-27 | Seagate Technology Llc | Data update management in a cloud computing environment |
-
2014
- 2014-10-22 CN CN201410564688.6A patent/CN105592281B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1156284A (en) * | 1995-07-07 | 1997-08-06 | 汤姆森消费电子有限公司 | Method and device for safety storing highly secret information on relative nonreliable storage media |
CN1684049A (en) * | 2004-04-15 | 2005-10-19 | 株式会社日立制作所 | Information storage apparatus, information storage method and information storage processing program product |
CN101465880A (en) * | 2007-12-18 | 2009-06-24 | 卢森特技术有限公司 | Reliable storage of data in a distributed storage system |
CN103632411A (en) * | 2012-08-23 | 2014-03-12 | 中国电信股份有限公司 | Storage method and device for vehicle-carried data |
CN202759536U (en) * | 2012-08-29 | 2013-02-27 | 青岛海信网络科技股份有限公司 | Highly reliable vehicle-loaded video storage apparatus and vehicle-loaded video apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN105592281A (en) | 2016-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106231348B (en) | A kind of back method of GOP data, device and system | |
CN107229418B (en) | Video file storage method and device | |
US10469914B2 (en) | Apparatus and method for delivering and receiving multimedia data in hybrid network | |
RU2626091C1 (en) | Method and device for data access | |
CN105847825A (en) | Encoding, index storage and access methods for video encoding code stream and corresponding apparatus | |
CN103744800B (en) | Caching method and device towards replay mechanism | |
CN113596518B (en) | Video access method for improving double-speed playing performance | |
CN105592281B (en) | MPEG video processing method, device and system | |
CN107168651A (en) | A kind of small documents polymerize storage processing method | |
KR20100069240A (en) | Apparatus and method for cache control | |
CN1615654A (en) | Error correction of stream data | |
CN109241306A (en) | A kind of date storage method suitable for image deflects mark | |
US8300701B2 (en) | Offspeed playback in a video editing system of video data compressed using long groups of pictures | |
CN105611307A (en) | Multipath h264 video data caching method and system based on no-lock buffer queue | |
CN102270483A (en) | Methods for reserving index memory space in avi recording apparatus | |
CN105847823A (en) | Method for reducing use of memory bandwidth during video decoding | |
CN111538677A (en) | Data processing method and device | |
CN102169706B (en) | Method and device for storing and playing YUV file | |
CN113507625B (en) | Self-adaptive video restoration method | |
CN106843765A (en) | A kind of disk management method and device | |
CN113806374A (en) | Big data-oriented data stream type caching method and system | |
US20100045687A1 (en) | Overlap in successive transfers of video data to minimize memory traffic | |
US20050132251A1 (en) | Method for handling data, data storage system, file system and computer program product | |
CN109246377A (en) | Video data storage, read method and video data storage device | |
CN109819269A (en) | A kind of novel files in stream media method for quickly reading |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |