CN104020964A - Embedded video storage method - Google Patents

Embedded video storage method Download PDF

Info

Publication number
CN104020964A
CN104020964A CN201410271480.5A CN201410271480A CN104020964A CN 104020964 A CN104020964 A CN 104020964A CN 201410271480 A CN201410271480 A CN 201410271480A CN 104020964 A CN104020964 A CN 104020964A
Authority
CN
China
Prior art keywords
page table
data
database
embedded video
storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410271480.5A
Other languages
Chinese (zh)
Inventor
闫璋
张立明
李伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Group Co Ltd
Original Assignee
Inspur Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Group Co Ltd filed Critical Inspur Group Co Ltd
Priority to CN201410271480.5A priority Critical patent/CN104020964A/en
Publication of CN104020964A publication Critical patent/CN104020964A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

The invention discloses an embedded video storage method and belongs to the technical field of computer storage safety. The method includes the following steps that video data are stored in the mode of a bare system, and a storage device is divided according to the form of device headers, page tables and data blocks through the storage format of the video data; each page table comprises a page table header and at least one data block; when a magnetic disk has a bad block, the bad block is remapped through a database, the bad block is effectively managed, and access to the bad block again next time is avoided; when the database breaks down, the device headers and the table headers can be traversed again according to the storage mechanism of the database, and a complete bad block management database is rebuilt. Compared with the prior art, the embedded video storage method has the advantages of being reasonable in design and convenient to operate, and not only is magnetic disk fragmentation greatly reduced, but also index efficiency is improved; meanwhile, the magnetic disk access frequency is effectively reduced, the service life of the magnetic disk is prolonged, and product stability is improved.

Description

A kind of embedded video storage means
 
Technical field
The present invention relates to Computer Storage safety technique field, specifically a kind of embedded video storage means.
Background technology
Embedded system is a kind of special computer system, as a part for device or equipment.Conventionally, embedded system is that a control program is stored in the flush bonding processor control panel in ROM.Some embedded system also comprises operating system, but most of embedded system is all to realize whole steering logic by single program.An embedded system device is generally all made up of embedded computer system and actuating unit, and embedded computer system is the core of whole embedded system, is made up of hardware layer, middle layer, system software layer and application software layer.Actuating unit is also referred to as controlled device, and it can accept the control command that embedded computer system sends, and carries out operation or the task of defined.
In embedded device, due to file system highly versatile, so research staff in memory module software development, generally selects the mode of file to store, be convenient to like this exploitation, user's access and safeguard at present; The file system but the function such as document retrieval, inquiry places one's entire reliance upon, in the time of file index, can successively read the gauge outfit between disk region, build and top margin, and each read-write all can increase the access times of physical disk.When video stream media storage, because data volume is increased sharply, cause magnetic disc access times to increase, adopt the storage scheme of file system to be easy to cause certain piece district of disk to occur damaging, the problems such as disk fragments is too much, and once damaging appears in certain physical space of disk, may cause multiple File loses maybe cannot access, occur in this case, based on the storage mode of file system, must be by whole disk formatting, just likely storage system is recovered, format simultaneously can cause the File lose in whole disk region, so the storage scheme based on file system is in Streaming Media storage, can cause system storage efficiency lower, system is unstable.
Summary of the invention
Technical assignment of the present invention is to provide a kind of embedded video storage means.
Technical assignment of the present invention is realized in the following manner, and the method step is as follows: video data is stored in the mode of naked system, and its storage format demarcates storer according to the form of device head, page table and data block; In each page table, comprise page table head and at least one data block;
In the time that bad piece appears in disk, usage data storehouse remaps bad piece, effectively bad piece is managed, and avoids continuing next time bad piece of access; In the time running into database appearance damage, can, according to the memory mechanism of self, again travel through device head and gauge outfit, re-create complete bad block management database.
Relative position, total page number, equipment id and current data side-play amount that described device head comprises current page table.
The usage flag that described page table comprises current page, the initial time of page table data.
The time offset that described data block comprises relative page table.
Compared to the prior art a kind of embedded video storage means of the present invention, has the features such as reasonable in design, easy to operate, not only greatly reduces disk fragments, improves index efficiency; Effectively reduce magnetic disc access times, promote the stability of disk serviceable life and product simultaneously; In addition, video data, taking data block as unit, is stored in the page of each logical volume, be convenient to management, and data access performance effectively improves.
Brief description of the drawings
Accompanying drawing 1 is a kind of system chart of embedded video storage means.  
Embodiment
Embodiment 1:
Video data is stored in the mode of naked system, directly the video data receiving is write in raw device, can reduce the generation of disk fragments, improve recall precision.Its storage format demarcates storer according to the form of device head, page table and data block; Relative position, total page number, equipment id and current data side-play amount that device head comprises current page table; The usage flag that page table comprises current page, the initial time of page table data; The time offset that data block comprises relative page table; In each page table, comprise page table head and a data block.
In the time that bad piece appears in disk, usage data storehouse remaps bad piece, effectively bad piece is managed, and avoids continuing next time bad piece of access; In the time running into database appearance damage, can, according to the memory mechanism of self, again travel through device head and gauge outfit, re-create complete bad block management database, ensure integrality and the stable row of storage system.
Embodiment 2:
Video data is stored in the mode of naked system, directly the video data receiving is write in raw device, can reduce the generation of disk fragments, improve recall precision.Its storage format demarcates storer according to the form of device head, page table and data block; Relative position, total page number, equipment id and current data side-play amount that device head comprises current page table; The usage flag that page table comprises current page, the initial time of page table data; The time offset that data block comprises relative page table; In each page table, comprise page table head and two data blocks.
In the time that bad piece appears in disk, usage data storehouse remaps bad piece, effectively bad piece is managed, and avoids continuing next time bad piece of access; In the time running into database appearance damage, can, according to the memory mechanism of self, again travel through device head and gauge outfit, re-create complete bad block management database, ensure integrality and the stable row of storage system.
Embodiment 3:
Video data is stored in the mode of naked system, directly the video data receiving is write in raw device, can reduce the generation of disk fragments, improve recall precision.Its storage format demarcates storer according to the form of device head, page table and data block; Relative position, total page number, equipment id and current data side-play amount that device head comprises current page table; The usage flag that page table comprises current page, the initial time of page table data; The time offset that data block comprises relative page table; In each page table, comprise page table head and nine data blocks.
In the time that bad piece appears in disk, usage data storehouse remaps bad piece, effectively bad piece is managed, and avoids continuing next time bad piece of access; In the time running into database appearance damage, can, according to the memory mechanism of self, again travel through device head and gauge outfit, re-create complete bad block management database, ensure integrality and the stable row of storage system.
By embodiment above, described those skilled in the art can be easy to realize the present invention.But should be appreciated that the present invention is not limited to above-mentioned several embodiments.On the basis of disclosed embodiment, described those skilled in the art can the different technical characterictic of combination in any, thereby realizes different technical schemes.

Claims (4)

1. an embedded video storage means, is characterized in that, the method step is as follows:
Video data is stored in the mode of naked system, and its storage format demarcates storer according to the form of device head, page table and data block; In each page table, comprise page table head and at least one data block;
In the time that bad piece appears in disk, usage data storehouse remaps bad piece, effectively bad piece is managed, and avoids continuing next time bad piece of access; In the time running into database appearance damage, can, according to the memory mechanism of self, again travel through device head and gauge outfit, re-create complete bad block management database.
2. a kind of embedded video storage means according to claim 1, is characterized in that, described device head comprises the relative position of current page table, total page number, equipment id and current data side-play amount.
3. a kind of embedded video storage means according to claim 1, is characterized in that, described page table comprises the usage flag of current page, the initial time of page table data.
4. a kind of embedded video storage means according to claim 1, is characterized in that, described data block comprises the time offset of relative page table.
CN201410271480.5A 2014-06-18 2014-06-18 Embedded video storage method Pending CN104020964A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410271480.5A CN104020964A (en) 2014-06-18 2014-06-18 Embedded video storage method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410271480.5A CN104020964A (en) 2014-06-18 2014-06-18 Embedded video storage method

Publications (1)

Publication Number Publication Date
CN104020964A true CN104020964A (en) 2014-09-03

Family

ID=51437747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410271480.5A Pending CN104020964A (en) 2014-06-18 2014-06-18 Embedded video storage method

Country Status (1)

Country Link
CN (1) CN104020964A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101008919A (en) * 2007-01-31 2007-08-01 浙江大学 Audio/video data access method and device based on raw device
CN101872326A (en) * 2010-06-24 2010-10-27 济南大学 Data storage management method for OTP flash memory under embedded environment
CN101976181A (en) * 2010-10-15 2011-02-16 杭州宏杉科技有限公司 Management method and device of storage resources
CN102136290A (en) * 2011-04-21 2011-07-27 北京联合大学 Method for storing embedded real-time video files

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101008919A (en) * 2007-01-31 2007-08-01 浙江大学 Audio/video data access method and device based on raw device
CN101872326A (en) * 2010-06-24 2010-10-27 济南大学 Data storage management method for OTP flash memory under embedded environment
CN101976181A (en) * 2010-10-15 2011-02-16 杭州宏杉科技有限公司 Management method and device of storage resources
CN102136290A (en) * 2011-04-21 2011-07-27 北京联合大学 Method for storing embedded real-time video files

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李立群: "嵌入式视频存储和检索系统的设计与实现", 《中国优秀博硕士学位论文全文数据库(硕士) 信息科技辑》 *

Similar Documents

Publication Publication Date Title
US8566511B2 (en) Solid-state storage device with multi-level addressing
CN105573681B (en) Method and system for establishing RAID in SSD
CN102136290A (en) Method for storing embedded real-time video files
CN102819408B (en) The implementation method of the RAID 0 of dynamic adjustment stripe depth and system
CN104346357A (en) File accessing method and system for embedded terminal
US20140281280A1 (en) Selecting between non-volatile memory units having different minimum addressable data unit sizes
CN104572478A (en) Data access method and data access device
CN107562644B (en) Compression method of solid state disk mapping table
CN104778018A (en) Broad-strip disk array based on asymmetric hybrid type disk image and storage method of broad-strip disk array
CN101604226A (en) A kind of method that makes up raising performance of storage system in dynamic buffering pond based on virtual RAID
CN101625627A (en) Data read-in method, disc redundant array and controller thereof
CN104765575A (en) Information storage processing method
CN104134447A (en) Compact disc storage system and compact disc data reading and writing method
US20130191591A1 (en) Method for volume management
KR20110093035A (en) Apparatus for flash address translation apparatus and method thereof
CN102214143A (en) Method and device for managing multilayer unit flash memory, and storage equipment
CN104991738A (en) Solid state disk and read and write operation method thereof
CN103488432A (en) Hybrid disk array, deferred write verification method for hybrid disk array, and data recovery method for hybrid disk array
CN105389376B (en) Fragmentation-free multimedia data storage method and system based on continuous blocks
CN102999441B (en) Fine granularity memory access method
CN103729149A (en) Data storage method
CN104182176A (en) Rapid dilatation method for RAID 5 (redundant array of independent disks)
CN103198020A (en) Method for prolonging service life of flash memory
CN103092849A (en) File system cluster management method
US20130198586A1 (en) Data storage control apparatus, data storage apparatus and data storage method in the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140903