CN104063187A - Hard disk file system suitable for security application and operation method thereof - Google Patents

Hard disk file system suitable for security application and operation method thereof Download PDF

Info

Publication number
CN104063187A
CN104063187A CN201410322194.7A CN201410322194A CN104063187A CN 104063187 A CN104063187 A CN 104063187A CN 201410322194 A CN201410322194 A CN 201410322194A CN 104063187 A CN104063187 A CN 104063187A
Authority
CN
China
Prior art keywords
block
information
code stream
hard disk
data
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.)
Granted
Application number
CN201410322194.7A
Other languages
Chinese (zh)
Other versions
CN104063187B (en
Inventor
徐进
李志洋
申雷
宋庆丰
杨亮亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Anlian Raysharp Technology Co Ltd
Original Assignee
Zhuhai Anlian Raysharp Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Anlian Raysharp Technology Co Ltd filed Critical Zhuhai Anlian Raysharp Technology Co Ltd
Priority to CN201410322194.7A priority Critical patent/CN104063187B/en
Publication of CN104063187A publication Critical patent/CN104063187A/en
Application granted granted Critical
Publication of CN104063187B publication Critical patent/CN104063187B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a hard disk file system suitable for security application and an operation method thereof. A hard disk space is divided, a management block and a plurality of storage blocks are arranged, the management block is used for conducting distinguishing management on a hard disk and the storage blocks, the storage blocks are independent of one another and do not affect one another, and therefore efficient and safe multi-channel data operation and retrieval functions are achieved. According to the hard disk file system suitable for security application and the operation method thereof, a file system structure is programmed, multichannel writing is better achieved, and the demand for multichannel real-time writing and synchronous playback is efficiently met; the safety of a file system is improved, and the file system is effectively prevented from being damaged; meanwhile, the management function is complete, and efficient using is convenient.

Description

Be applicable to Hard disk file system and the operation method thereof of security protection application
Technical field
The present invention relates to the storage of safety-security area information and applied technical field, more specifically, relate to a kind of be preferably applicable to security protection application Hard disk file system, and the operation method of realizing based on this system.
Background technology
Along with the development of science and technology in recent years, also there is explosive growth in data, and storage and the use of user to data also had higher requirement, and therefore basic disk size is also in continuous improve, and the hard disk of 4T also will be widely applied very soon.And existing general Hard disk file system is as fat32 file system, all restricted for disk size, partition size, document cluster size, file size, so also cause fat32 system no longer to can be good at competent various demands.
For example, dvr, nvr are increasing to the requirement of code stream and sharpness now, number of active lanes is also more and more, because fat32 is for the restriction of file size, make the data point file of having to, the data time that causes so each file to be stored is too short, and then makes data scattered, also increase the splicing number of times of file and file, increased the probability of frame losing.Meanwhile, because dvr, nvr data volume are large, hard disk is write Man Houhui in manifolding state, through covering repeatedly, will make data more scattered, produces a large amount of fragments etc., causes efficiency lower.In addition, the increase of code stream, passage, improve the requirement to read-write efficiency, the data volume of reading in same time also improves greatly, due to the form of fat32 file system employing fat table, cause the read-write efficiency of file low, all compare poor efficiency for writing with the search efficiency of event of multichannel data, can not meet higher demand.
In addition, fat32 file system does not have power-off protection, all there is no effective processing scheme for reparation and the integrality of key frame, event, code stream after power-off, so can cause the loss of data and imperfect; And, its allocation table concentrates on a place of hard disk, read-write meeting for file operates frequently, make magnetic head ceaselessly not stop read-write in the same place of disk, reduce the life-span of this part magnetic track, thereby reduced the overall disk life-span, and in the time that allocation table damages, will lose a large amount of data, can't be repaired.
In sum, general Hard disk file system is owing to existing read-write efficiency low, file security is high not, more and more poor efficiency of application in every profession and trade, for example, be applied to while needing the security protection of large-scale data industry, existence cannot better meet the fluency of real-time recording and synchronized playback, the shortcoming such as abundant not that the security requirement of video file is also met, and then affected overall performance.
Summary of the invention
The present invention is intended to solve the problems of the technologies described above at least to a certain extent.
Present invention is directed at the defect that existing hard-disk system exists, in conjunction with the real needs of security protection video recording, provide a kind of Hard disk file system that is preferably applicable to security protection application.
Another object of the present invention is to provide be applicable to security protection application the operation method of Hard disk file system.
For solving the problems of the technologies described above, technical scheme of the present invention is as follows:
The Hard disk file system that is applicable to security protection application, it is divided hard drive space, and management block and multiple separate storage block are set, and by management block, hard disk and storage block is managed; In application, by management block and storage block are carried out to function setting, can better realize hyperchannel and write, and in the time reading, also can reduce head position, raise the efficiency, meet synchronous hyperchannel and write in real time read out function.
The overall space of management block recording disk, use space, remaining space, product batch number, model, version number and verification and etc. information, management block also records position and the spatial information of each storage block in addition.Wherein, when hard disk management block message is read in each start, reader check and verifying, sees that whether management blocks of data is correct, to ensure that the data that use are effectively correct.
In storage block, preserve self information and index information, code stream block is deposited in remaining space of storage block, and depositing by the mode of predistribution memory block space of code stream block distributes in advance.Start time, starting position, end time and the end position etc. that in code stream block, are recording this block code flow data, the information recording in code stream block is recovered for data; In addition, in code stream block, record i frame information.Wherein, code stream refers to video file.
In the self information of storage block, recording start time, the end time of stored all code streams, the information such as code stream block number and remaining code stream block number of use, these Information Availabilities carry out time match etc. in the time searching video file.
In the index information of storage block, record video information, event information, for supporting the search function of video file; Wherein, video information is video file size, title, event number and type etc.; Event information be to video file write, read, shift, the operation information of the operation such as deletion and carry out time point and the positional information of these operations.
Wherein, storage block comprises reserved hard drive space for subsequent use, and when the magnetic track at self information and index information place occurs after damaged condition, this hard drive space for subsequent use writes for self information and index information again.
The operation method of the Hard disk file system that is applicable to security protection application of realizing based on said system, first it divide hard drive space, and management block and multiple separate storage block are set, and by management block, hard disk and storage block managed; The overall space of recording disk in management block, use space, remaining space, product batch number, model, version number and verification and etc. information, in management block, also record in addition position and the spatial information of each storage block.
Wherein, preserve self information and index information in storage block, code stream block is deposited in remaining space of storage block, and depositing by the mode of predistribution memory block space of code stream block distributes in advance; In code stream block, recording start time, starting position, end time and the end position of this block code flow data, the Information Availability recording in code stream block is in data recovery etc.; In addition, in code stream block, record i frame information.
Wherein, in the self information of storage block, record start time, the end time of stored all code stream block, the information such as code stream block number and remaining code stream block number of use, carrying out time match when searching video file; Meanwhile, record video information, the event information relevant with code stream block in index information, for supporting the search function of video file; Wherein, video information is video file size, title, event number and type etc.; Event information be to video file write, read, shift, the operation information of the operation such as deletion and carry out time point and the positional information of these operations.
Wherein, in storage block, reserved certain hard drive space for subsequent use, when the magnetic track at self information and index information place occurs after damaged condition, carries out writing again of self information and index information by hard drive space for subsequent use.
In application, can be according to index information etc., by different keyword search modes, realize monthly search, by a day search, by event, by searching of the modes such as passage; Again in conjunction with the storage block of piecemeal, further realize 4 tunnels, 8 tunnels, write when 16 tunnels and above multi-channel data, and realize F.F., rewind down, normal playback by i frame index simultaneously, and make carbon copies, delete by day hour, hour etc.
In addition, to writing of each index information of video file, and bit stream data write certain sequencing, can be correct guaranteeing data reparation when guarantee data integrity.In video process, the index information of each storage block is done to buffer memory, can make while writing efficiency higher, in case frequent reading writing harddisk, affect the life-span of speed and hard disk.
In the search procedure of video file, the information of the management block to hard disk and the information of storage block are all placed in buffering, to improve the efficiency of reading; From storage block, the data that write and covering are carried out synchronously when sense data, with integrality and the correctness of the data that ensure to read simultaneously.
Compared with prior art, the beneficial effect of technical solution of the present invention is:
The present invention, by planning file system structure, better realizes hyperchannel and writes, and in the time reading, has reduced head position formation simultaneously, has improved efficiency, meets efficiently hyperchannel and writes in real time and synchronized playback;
Improve the security of file system, by disperseing file index, prevented that frequently the beat hard disk life-span that causes of magnetic head is low; And can meet long-time not frame losing of video recording; During when System Sudden power-off with by artificial destruction, can accomplish perfect reparation and the recovery of data; In addition, being also conducive to disk has bad track to cause the processing after file corruption, prevents that file system is destroyed;
Management function is perfect, supports monthly, presses sky, time point, and type, search channels, can also support 4 tunnels, 8 tunnels write when 16 tunnels and above channel data, support F.F., rewind down, normal playback, supports manifolding and presses day, hour deletion.
Brief description of the drawings
Fig. 1 is the logical organization schematic diagram of system of the present invention;
Fig. 2 is the logical organization schematic diagram of storage block of the present invention;
Fig. 3 is the logical organization schematic diagram of index information of the present invention.
Embodiment
Accompanying drawing, only for exemplary illustration, can not be interpreted as limitation of the present invention.
To those skilled in the art, in accompanying drawing some known features and explanation thereof may to omit be understandable.
Below in conjunction with the Figure of description in the present invention, the technical scheme in invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Fig. 1 ~ Fig. 3, be the Hard disk file system that is applicable to security protection application of preferred embodiment of the present invention, it is divided hard drive space, and management block and multiple separate storage block are set, and by management block, hard disk and storage block is managed; In application, by management block and storage block are carried out to function setting, can better realize hyperchannel and write, and in the time reading, also can reduce head position, raise the efficiency, meet synchronous hyperchannel and write in real time read out function.
The overall space of recording disk in management block, use space, remaining space, product batch number, model, version number and verification and etc. information, management block also records position and the spatial information of each storage block in addition.Wherein, although the information major part recording in management block is fix information, but in the middle of reality, also there are some places such as remaining space is to need amendment, hard disk power-off or hard disk service time long etc. all can cause hard disc data to be made mistakes in addition, at this moment verification and seem important, when hard disk management block message is read in each start, all can reader check and verify, see that whether management blocks of data is correct, to ensure that the data that use are effectively correct.
As shown in Figure 2, preserve self information and index information in storage block, code stream block is deposited in remaining space of storage block, and depositing by the mode of predistribution memory block space of code stream block distributes in advance.Simultaneously, storage block comprises reserved hard drive space for subsequent use, when damaging appears in the magnetic track at self information and index information place, damaging or partly existing after damage all appears in the magnetic track that is self information and index information place, carries out writing again of self information and index information by this hard drive space for subsequent use.
Start time, starting position, end time and the end position etc. that in code stream block, are recording this block code flow data, the information recording in code stream block is recovered for data; In addition, in code stream block, record i frame information.
In the self information of storage block, recording start time, the end time of stored all code stream block, the information such as code stream block number and remaining code stream block number of use, these Information Availabilities carry out time match etc. in the time searching video file.
As shown in Figure 3, in the index information of storage block, recording video information, event information, for supporting the search function of video file.Wherein, video information is video file size, title, event number and type etc.; Event information be to video file write, read, shift, the operation information of the operation such as deletion and carry out time point and the positional information of these operations.
The present embodiment also comprises the operation method of the Hard disk file system that is applicable to security protection application of realizing based on said system, first it divide hard drive space, management block and multiple separate storage block are set, by management block, hard disk and storage block are managed; The overall space of recording disk in management block, use space, remaining space, product batch number, model, version number and verification and etc. information, management block also records position and the spatial information of each storage block in addition.
Wherein, preserve self information and index information in storage block, code stream block is deposited in remaining space of storage block, and depositing by the mode of predistribution memory block space of code stream block distributes in advance; In code stream block, recording the information such as start time, starting position, end time and the end position of this block code flow data, the information recording in code stream block is recovered for data; In addition, in code stream block, record i frame information.
Wherein, recording start time, the end time of stored all code stream block, the information such as code stream block number and remaining code stream block number of use in the self information of storage block, these Information Availabilities carry out time match in the time searching video file.Meanwhile, record video information, the event information relevant with code stream block in index information, for supporting the search function of video file; Wherein, video information is video file size, title, event number and type etc.; Event information be to video file write, read, shift, the operation information of the operation such as deletion and carry out time point and the positional information of these operations.
In actual file system use procedure, first file system is carried out to initialization, after initialization completes, add the hard disk existing in the systems such as nvr or dvr, from hard disk, read the information of management block, exist in buffer memory, can improve like this access efficiency, reduce the number of times of access hard disk simultaneously, and then promote hard disk life-span.In like manner, adding in hard disk process, according to the storage block position in management block, read self information and index information in storage block, exist in buffer memory, then, then carry out video file operation.
Wherein, read the self information of storage block, storage block and index information thereof are repaired, to guarantee the correct and complete of data; Concrete, storage block data are carried out in repair process, read video information according to each code stream block number in storage block self information, and video information is sorted by the sequencing writing, the code stream block of writing is first carried out to the reparation of i frame, according to writing the end time and writing end position in the last i frame time of repairing and position amendment event information, then repair the event number information in video information.Generally speaking, index information is only just read in needs reparation; Meanwhile, only have the self information of storage block and index information just to need to repair, bit stream data does not need to repair operation.
Wherein, the reparation of i frame is by different indications mark i frame informations, navigates to last i frame after power-off, ensures only to lose incomplete frame after the complete and power-off of i frame.For i frame data position, the reparation of event information, writing of data, index information is all to have strict requirement, need to consider internal memory and hard disk synchronization times, repairs integrality and repair correctness.Such as, in ablation process, first write bit stream data, then write i frame index, prevent i frame index and write complete and data do not write complete situation, in order to avoid because data corresponding to last i frame do not exist while repairing, cause flower screen phenomenon last in replayed section.In addition the end time of the bit stream data in code stream block is write and writes hard disk when full in whole storage block; , can reduce like this indegree of writing of hard disk, and can repair by event information and code stream block information after power-off.
Wherein, after the whole reparations of storage block are complete, calculate the remaining space of hard disk according to the residue code stream block number in storage block self information, and upgrade the hard disk remaining space recording in management block, reach data unified.
When the Information Read-Out buffer memory of all management blocks, and after all data messages of hard disk are repaired, the sequencing that hard disk information is write by bit stream data sorts, and determines the order that hard disk writes and covers; In the time having remaining hard drive space, first write; While thering is no free disk space, the bit stream data first writing is covered, so that the video file that farthest reservation has been deposited.
In hard disk access, when writing bit stream data for the first time, search the code stream block that there is no use, this code stream block is labeled as to the state of writing, insert event number, write sequence number, affiliated channel number, the starting position that code stream writes, the end position that code stream writes, the state of code stream, and these information are synchronized in the self information and index information of storage block to the code stream block number that labelling hard disk passage is being write simultaneously.
In addition,, while setting up another event, by the code stream block number of hard disk access indication, follow the current bit stream data not writing and write; When after power-off restarting, by the sequence number that writes before, the code stream block that finds each hard disk access finally to write, the code stream block then not using is carried out writing of bit stream data.Like this, can ensure that hard disk does not have fragment, make full use of hard drive space, can carry out to the data of each passage again the management of piecemeal, make data write error rate low, and write the frequency reduction that while reading, magnetic head switches back and forth, and then improve and read the efficiency writing; Meanwhile, contribute to effectively to realize 4 tunnels by this writing mode, 8 tunnels, write when 16 tunnels and above multi-channel data.
In addition, in the ablation process of code stream block, need first to write bit stream data, then write i frame, afterwards writing events information again; Wherein, toward carrying out the writing of bit stream data in code stream block when, all do not write successfully if exceed 3 times, this code stream block status indication is bad piece, will not re-use this code stream block.Arrange like this, the trial all writing when can preventing from every turn using this block code stream, and then waste code stream write efficiency, cause the diffusion of bad track, affects the life-span of hard disk; And be labeled as after bad piece when code stream block, also can ensure that DISK to Image only has this block code stream not use, but other code stream block still can normally be used.
It is characterized in that, after a hard disk access uses current code stream block, by the sequence number writing in index information, retrieving, search the code stream block that writes at first and minimum empty code stream block; After all code stream block of DISK to Image use, select by sky coverage mode, automatically coverage mode and not coverage mode carry out work.
Be automatic coverage mode when what select, while writing new video file, code stream block covered successively; When selecting by a day coverage mode, setting number of days is n, the video file before n days is deleted, then carried out writing of new video file; Wherein, by in day coverage mode, when deleting the video file before n days, the storage block of all hard disks is sorted by the order writing, and search from back to front according to the time of the code stream block in storage block, find the video file before n days, and delete all video files before n days.Wherein, in delete procedure, can reach by variablees such as the file statuss in marked index information the object of quick deletion.
In said process, while writing bit stream data, upgrade the video information of every day in index information.
In the middle of practical operation, the bit stream data under an accumulation in month is huge, and data can spread all over even several hard disks of a hard disk.If monthly search will spread all over storage block self information and the index information of DISK to Image, need the data of access huge, efficiency is obviously extremely low like this, so can upgrade the video information of every day in index information in writing video file, when search like this, can only access very little a part of data, realize fast and searching for by the moon.
When video file is searched for by event and passage, when search, first mate start time, the end time of code stream block in each hard disk, when not mating, represent not exist in this storage block the video file of needs search, this hard disk is not searched for, can be prevented like this efficiency that too much access action impact is read; And when when coupling, according to index information, type, passage, start time, end time are mated the video file that search needs.In whole search procedure, the information of the management block of hard disk and the information of storage block are all placed in buffering; , therefore can ensure very fast access speed, do not need hard disk to operate yet, greatly heighten search speed.
Find after qualified video file, in the process of playback, do not need again hard disk to be searched for, can be directly according to search data information access hard disk out, carry out reading of bit stream data, and bit stream data read the playback mode that adopts into piece, improved hard disk and read efficiency.
The present invention, by the partition strategy of storage block, can disperse the record about the data of video file, has well improved the life-span of hard disk; Meanwhile, can also well prevent from damaging because of a hard drive space part the overall out of use situation that causes; In addition the bit stream data predistribution that passage will be write is good, can prevent revising index information too frequent, causes file system unstable and occur mistake; In addition, can also well prevent from covering time, the data of passage be disperseed and the read or write speed that causes declines in hard disk; And, in the time that storage block place hard drive space is damaged, can, by these information of the start time of recording in the code stream block of this storage block, starting position, end time and end position etc., recover video file data in conjunction with index information.
In addition, by different storage blocks, the index information of file is disperseed, can effectively prevent that frequently the beat hard disk life-span that causes of magnetic head is low; And can meet long-time not frame losing of video recording; During when System Sudden power-off with by artificial destruction, can accomplish perfect reparation and the recovery of data; In addition, being also conducive to disk has bad track to cause the processing after file corruption, prevents that file system is destroyed.
In sum, be embodiment of the present invention content, and obviously embodiments of the present invention are not limited in this, it can be according to different application environment, utilizes the functional corresponding demand that realizes of the present invention.

Claims (10)

1. be applicable to the Hard disk file system of security protection application, hard drive space is divided, it is characterized in that arranging management block and multiple separate storage block, by management block, hard disk and storage block are managed;
In storage block, preserve self information and index information, code stream block is deposited in remaining space of storage block, and depositing by the mode of predistribution memory block space of code stream block distributes in advance;
The overall space of recording disk in management block, use space, remaining space, product batch number, model, version number and verification and, in management block, also record in addition position and the spatial information of each storage block.
2. the Hard disk file system that is applicable to security protection application according to claim 1, it is characterized in that recording in the self information of described storage block start time, end time, the code stream block number of use and the information of remaining code stream block number of stored all code stream block, carry out time match when searching video file; In index information, record video information, event information, for supporting the search function of video file; Wherein, video information is video file size, title, event number and type; Event information be to video file write, read, the operation information of transfer, deletion action and carry out time point and the positional information of these operations.
3. the Hard disk file system that is applicable to security protection application according to claim 1, it is characterized in that described storage block comprises reserved hard drive space for subsequent use, after damaging appears in the magnetic track at self information and index information place, this hard drive space for subsequent use writes for self information and index information again.
4. the Hard disk file system that is applicable to security protection application according to claim 1, the start time, starting position, end time and the end position that it is characterized in that recording in described code stream block this block code flow data, the information recording in code stream block is recovered for data; In addition, in code stream block, record i frame information.
5. the operation method of the Hard disk file system that is applicable to security protection application of realizing according to the arbitrary described Hard disk file system that is applicable to security protection application of claim 1 ~ 4, it is characterized in that first hard drive space being divided, management block and multiple separate storage block are set, by management block, hard disk and storage block are managed; The overall space of recording disk in management block, use space, remaining space, product batch number, model, version number and verification and, in management block, also record in addition position and the spatial information of each storage block;
Wherein, preserve self information and index information in storage block, code stream block is deposited in remaining space of storage block, and depositing by the mode of predistribution memory block space of code stream block distributes in advance;
The start time, starting position, end time and the end position that in code stream block, are recording this block code flow data, the information recording in code stream block is recovered for data; In addition, in code stream block, record i frame information;
Wherein, in the self information of storage block, record start time, end time, the code stream block number of use and the information of remaining code stream block number of stored all code stream block, carrying out time match when searching video file; Meanwhile, record video information, the event information relevant with code stream block in index information, for supporting the search function of video file; Wherein, video information is video file size, title, event number and type; Event information be to video file write, read, the operation information of transfer, deletion action and carry out time point and the positional information of these operations;
In application, first file system is carried out to initialization, then add hard disk, from hard disk, read the information of management block, exist in buffer memory; Adding in hard disk process, according to the storage block position in management block, read self information and index information in storage block, exist in buffer memory; Then, then carry out video file operation; Wherein, read the self information of storage block, storage block and index information thereof are repaired;
Wherein, storage block data are carried out in repair process, read video information according to each code stream block number in storage block self information, and video information is sorted by the sequencing writing, the code stream block of writing is first carried out to the reparation of i frame, according to writing the end time and writing end position in the last i frame time of repairing and position amendment event information, then repair the event number information in video information;
Wherein, the reparation of i frame is by different indications mark i frame informations, navigates to last i frame after power-off, ensures only to lose incomplete frame after the complete and power-off of i frame; Wherein, in ablation process, first write bit stream data, then write i frame index; In addition, the end time of the bit stream data in code stream block is write and writes hard disk when full in whole storage block; After the whole reparations of storage block are complete, calculate the remaining space of hard disk according to the residue code stream block number in storage block self information, and upgrade the hard disk remaining space recording in management block, reach data unified;
Wherein, when the Information Read-Out buffer memory of all management blocks, and after all data messages of hard disk are repaired, the sequencing that hard disk information is write by bit stream data sorts, and determines the order that hard disk writes and covers; In the time having remaining hard drive space, first write; While thering is no free disk space, the bit stream data first writing is covered.
6. the operation method of the Hard disk file system that is applicable to security protection application according to claim 5, it is characterized in that in hard disk access, when writing bit stream data for the first time, search the code stream block that there is no use, this code stream block is labeled as to the state of writing, insert event number, write sequence number, affiliated channel number, the starting position that code stream writes, the end position that code stream writes, the state of code stream, and these information are synchronized in the self information and index information of storage block to the code stream block number that labelling hard disk passage is being write simultaneously; In addition,, while setting up another event, by the code stream block number of hard disk access indication, follow the current bit stream data not writing and write; When after power-off restarting, by the sequence number that writes before, the code stream block that finds each hard disk access finally to write, the code stream block then not using is carried out writing of bit stream data; In addition, in the ablation process of code stream block, need first to write bit stream data, then write i frame, afterwards writing events information again; Wherein, toward carrying out the writing of bit stream data in code stream block when, all do not write successfully if exceed 3 times, this code stream block status indication is bad piece, will not re-use this code stream block.
7. the operation method of the Hard disk file system that is applicable to security protection application according to claim 6, it is characterized in that after a hard disk access uses current code stream block, by the sequence number writing in index information, retrieve, search the code stream block that writes at first and minimum empty code stream block; After all code stream block of DISK to Image use, select by sky coverage mode, automatically coverage mode and not coverage mode carry out work.
8. the operation method of the Hard disk file system that is applicable to security protection application according to claim 7, is characterized in that when selecting not coverage mode, and hard disk is write when full, retains current video file, no longer writes new video file; Be automatic coverage mode when what select, while writing new video file, code stream block covered successively; When selecting by a day coverage mode, setting number of days is n, the video file before n days is deleted, then carried out writing of new video file; Wherein, by in day coverage mode, when deleting the video file before n days, the storage block of all hard disks is sorted by the order writing, and search from back to front according to the time of the code stream block in storage block, find the video file before n days, and delete all video files before n days.
9. the operation method of the Hard disk file system that is applicable to security protection application according to claim 6, upgrades the video information of every day in index information while it is characterized in that writing bit stream data.
10. the operation method of the Hard disk file system that is applicable to security protection application according to claim 6, it is characterized in that video file to search for by event and passage, when search, first mate start time, the end time of code stream block in each hard disk, when not mating, represent not exist in this storage block the video file of needs search, this hard disk is not searched for; Work as coupling, according to index information, type, passage, start time, end time are mated the video file that search needs; Wherein, in search procedure, the information of the management block of hard disk and the information of storage block are all placed in buffering; In addition, find after qualified video file, in the process of playback, according to the direct access hard disk of data message out of search, carry out reading of bit stream data, and bit stream data read the playback mode that adopts into piece.
CN201410322194.7A 2014-07-08 2014-07-08 Hard disk file system suitable for security application and operation method thereof Active CN104063187B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410322194.7A CN104063187B (en) 2014-07-08 2014-07-08 Hard disk file system suitable for security application and operation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410322194.7A CN104063187B (en) 2014-07-08 2014-07-08 Hard disk file system suitable for security application and operation method thereof

Publications (2)

Publication Number Publication Date
CN104063187A true CN104063187A (en) 2014-09-24
CN104063187B CN104063187B (en) 2015-06-17

Family

ID=51550919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410322194.7A Active CN104063187B (en) 2014-07-08 2014-07-08 Hard disk file system suitable for security application and operation method thereof

Country Status (1)

Country Link
CN (1) CN104063187B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072372A (en) * 2015-07-30 2015-11-18 成都亿盟恒信科技有限公司 Automatic repair method for FAT file system on DVR terminal
CN105138278A (en) * 2015-07-27 2015-12-09 云南电力调度控制中心 Method for storing network messages of intelligent substation in bare disk
CN106502836A (en) * 2016-11-02 2017-03-15 四川秘无痕信息安全技术有限责任公司 A kind of monitor video data reconstruction method based on WB_DC file system
CN106648990A (en) * 2016-12-28 2017-05-10 四川秘无痕信息安全技术有限责任公司 Method for extracting data of BlueSky file system monitoring equipment rapidly
CN107197191A (en) * 2017-05-27 2017-09-22 深圳市景阳科技股份有限公司 The wiring method and device of network hard disc video recording
CN109120885A (en) * 2017-06-26 2019-01-01 杭州海康威视数字技术股份有限公司 Video data acquisition methods and device
CN109739592A (en) * 2018-11-13 2019-05-10 深圳市捷高电子科技有限公司 A kind of layout method convenient for operating the interface UI of NVR equipment
CN110543452A (en) * 2019-08-07 2019-12-06 浙江大华技术股份有限公司 data acquisition method and equipment
CN111382122A (en) * 2020-03-11 2020-07-07 杭州涂鸦信息技术有限公司 File management system and method for multi-channel network camera sub-equipment
CN113068158A (en) * 2021-03-10 2021-07-02 珠海安士佳电子有限公司 NVR and IPC automatic wireless code matching connection method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1515337A1 (en) * 2002-05-29 2005-03-16 Pioneer Corporation Information recording device, information recording/reproduction device, information recording method, program and recording medium for the same, and information holding medium
CN101008919A (en) * 2007-01-31 2007-08-01 浙江大学 Audio/video data access method and device based on raw device
CN101364218A (en) * 2007-08-10 2009-02-11 深圳市锐明视讯技术有限公司 Hard disk video recorder file systems and checking method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1515337A1 (en) * 2002-05-29 2005-03-16 Pioneer Corporation Information recording device, information recording/reproduction device, information recording method, program and recording medium for the same, and information holding medium
CN101008919A (en) * 2007-01-31 2007-08-01 浙江大学 Audio/video data access method and device based on raw device
CN101364218A (en) * 2007-08-10 2009-02-11 深圳市锐明视讯技术有限公司 Hard disk video recorder file systems and checking method thereof

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105138278A (en) * 2015-07-27 2015-12-09 云南电力调度控制中心 Method for storing network messages of intelligent substation in bare disk
CN105138278B (en) * 2015-07-27 2018-05-25 云南电力调度控制中心 A kind of the naked of intelligent substation network message takes inventory method for storing
CN105072372A (en) * 2015-07-30 2015-11-18 成都亿盟恒信科技有限公司 Automatic repair method for FAT file system on DVR terminal
CN105072372B (en) * 2015-07-30 2019-03-19 成都亿盟恒信科技有限公司 FAT file system self-repairing method in DVR terminal
CN106502836A (en) * 2016-11-02 2017-03-15 四川秘无痕信息安全技术有限责任公司 A kind of monitor video data reconstruction method based on WB_DC file system
CN106502836B (en) * 2016-11-02 2019-04-19 四川秘无痕信息安全技术有限责任公司 A kind of monitor video data reconstruction method based on WB_DC file system
CN106648990A (en) * 2016-12-28 2017-05-10 四川秘无痕信息安全技术有限责任公司 Method for extracting data of BlueSky file system monitoring equipment rapidly
CN107197191B (en) * 2017-05-27 2021-05-11 深圳市景阳科技股份有限公司 Writing method and device for network hard disk video
CN107197191A (en) * 2017-05-27 2017-09-22 深圳市景阳科技股份有限公司 The wiring method and device of network hard disc video recording
CN109120885A (en) * 2017-06-26 2019-01-01 杭州海康威视数字技术股份有限公司 Video data acquisition methods and device
CN109739592A (en) * 2018-11-13 2019-05-10 深圳市捷高电子科技有限公司 A kind of layout method convenient for operating the interface UI of NVR equipment
CN110543452A (en) * 2019-08-07 2019-12-06 浙江大华技术股份有限公司 data acquisition method and equipment
CN111382122A (en) * 2020-03-11 2020-07-07 杭州涂鸦信息技术有限公司 File management system and method for multi-channel network camera sub-equipment
CN111382122B (en) * 2020-03-11 2024-01-30 杭州涂鸦信息技术有限公司 File management system and method for multi-path network camera sub-equipment
CN113068158A (en) * 2021-03-10 2021-07-02 珠海安士佳电子有限公司 NVR and IPC automatic wireless code matching connection method

Also Published As

Publication number Publication date
CN104063187B (en) 2015-06-17

Similar Documents

Publication Publication Date Title
CN104063187B (en) Hard disk file system suitable for security application and operation method thereof
CN100578470C (en) Audio/video data access method and device based on raw device
US5835955A (en) Disk array controller with enhanced synchronous write
CN102779180B (en) The operation processing method of data-storage system, data-storage system
CN100498796C (en) Logic log generation method, database backup/ restoration method and system
CN103226965B (en) Based on the audio/video data access method of time bitmap
CN102682012A (en) Method and device for reading and writing data in file system
CN102136290A (en) Method for storing embedded real-time video files
US20050262316A1 (en) Backup acquisition method and disk array apparatus
CN101008886A (en) Storage virtual computer system and management data snapshot image method in storage system
US20150193473A1 (en) Database Storage System based on Optical Disk and Method Using the System
CN102902709B (en) The document storage system of a kind of fixed space distribution and implementation method
CN103034564A (en) Data disaster tolerance demonstration and practicing method and data disaster tolerance demonstration and practicing device and system
CN100383881C (en) Method for protecting hardware key information area in embedded device
CN103092849A (en) File system cluster management method
US20020116573A1 (en) Data reading and protection
CN103164528A (en) Index establishing method for audio/video data
CN102096613B (en) Method and device for generating snapshot
CN101201774A (en) Method for snapshot of magnetic disc
CN101169705B (en) Method for implementing file class mirror-image under multiple hard disk based on nude file system
CN101364163B (en) System for establishing logical volume and method thereof
CN107315661A (en) A kind of cluster file system deleted document restoration methods and device
US7702864B2 (en) Apparatus, system, and method for writing stripes in parallel to unique persistent storage devices
CN100543748C (en) A kind of method and system of utilizing file allocation table to carry out the file tracking
CN107967118A (en) A kind of method and apparatus realized hard disc data high speed dump and checked

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant