CN103744892B - A kind of method and apparatus for locking of recording a video - Google Patents
A kind of method and apparatus for locking of recording a video Download PDFInfo
- Publication number
- CN103744892B CN103744892B CN201310718918.5A CN201310718918A CN103744892B CN 103744892 B CN103744892 B CN 103744892B CN 201310718918 A CN201310718918 A CN 201310718918A CN 103744892 B CN103744892 B CN 103744892B
- Authority
- CN
- China
- Prior art keywords
- index
- locking
- video recording
- node
- skipped
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/78—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/7867—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title and artist information, manually generated time, location and usage information, user ratings
Abstract
The present invention provides a kind of method for locking of recording a video, and this method includes:This corresponding index to be locked of recording a video is determined, the locking reference count of the index of determination is added into the second preset value, the locking reference count initial value each indexed is the first preset value;When performing circulation manifolding to video recording, the corresponding video record unit of index that locking reference count is more than first preset value is skipped.The solution of the present invention realizes the flexible locking to video recording.The present invention also by the setting to locking video state, realizes the quick-searching to video recording.The present invention also supports the flexible unblock to video recording.
Description
Technical field
The present invention relates to technical field of memory, more particularly to a kind of method and apparatus for locking of recording a video.
Background technology
With application of the high definition in monitoring business system, wanting in terms of the reliability stored to monitoring video, performance
Seek more and more higher.And front end IP encoder devices to IPSAN the iSCSI of Media Stream end to end blocks directly the technology of depositing be exactly it is a kind of compared with
Good video recording storage scheme.
On storage mode, the data management mode of " Media Stream block is directly deposited " has abandoned media server.In IP network
On the basis of, iSCSI modules are integrated with encoding device so that encoding device can be based on iSCSI protocol end to end record
As in data write-in IPSAN storage devices.
To solve efficient storage and quick-searching of the mass video monitoring data on IPSAN, while avoiding general file
The low problem of the file fragmentation of system, reliability, iSCSI blocks, which are directly deposited, to be needed to design proprietary block storage format, is on the one hand supported
High-performance, the high reliability of Video data IO write-ins, while supporting the quick-searching to magnanimity Video data.
For monitoring storage, Video data with single camera is independent, the characteristics of be continuously written within 24 hours.Therefore,
Each video camera is generally within the storage system and divides independent memory space, and support continuously to write for a long time big is provided
Block memory space, so as to meet the high performance demands that video camera video recording is sequentially written in disk.
Simultaneously as the surveillance video data of each video camera has the characteristics of naturally being sorted according to time order and function.
It therefore, it can increase time index in block storage format, recorded the index region in block storage format.So as in retrieval record
During picture, time index can be based on, the Video data of specified time is quickly navigated to.
For iSCSI block storage systems, in the disk storage space of single camera, a kind of general monitoring video block
Storage format such as Fig. 1.
The block storage format is used in disk storage space, stores all I frames group Video datas of single camera.Together
When in order to support from magnanimity Video data, corresponding I frames group is quickly searched based on input time, therefore realize in block format
Cutting to data cell, and the time index of multistage is added to data cell and Video data.
The chief component of the block format is as follows:
(1)Superblock:Typically there are tens K bytes, for recording version number, the video camera coding of block format.Due to super
Data in block are limited, therefore generally have more headspace;
(2)One level temporal index area:Be one level temporal index area behind superblock, every time index in index area with
One data cell is corresponded(Such as:Nth bar one level temporal is indexed, correspondence nth data element), for recording the data
The time of the earliest I frames group of unit, so as to quickly navigate to some data cell based on the time;
(3)Data cell and two grades of time index areas:One level temporal index area is followed by a series of data cell, is used for
Preserve the I frame group data of video recording.In order to ensure being continuously written into for I frame group data, data cell commonly reaches hundreds of M bytes.Often
Individual data cell is started with two grades of time index areas, wherein Xiang Yuyi I frames group of every time index is corresponded
(Such as:Two grades of time indexs of nth bar, n-th of I frame group of correspondence notebook data unit), at the beginning of recording the I frame groups
Between, so as to quickly position some I frame group based on the time.It is exactly all I frames in notebook data unit after secondary index area
Group data;
(4)I frame groups:One I frame group is exactly the monitoring video data of 1 second.In I frame groups, storage be the I frame groups institute
There is video/audio bag.
During the data cell that I frame group data are stored by iSCSI write-in blocks in front end, while the time of the I frame groups is pressed
According to the time format of secondary index, the corresponding secondary index position of the I frame groups is written to.If the data cell earliest time
Secondary index when changing, then the time format requirement indexed the secondary index according to one-level is written to one-level index
The correspondence position in area.
Above-mentioned one level temporal is indexed, two grades of time indexs, is substantially exactly an integer value(Time can pass through
The integer value of " from 1972 to the number of seconds of specified time " is represented).Due to the I frame group data that video camera is produced, its time value
Natural is exactly to be incremented by from small to large, therefore above-mentioned time index data, either one level temporal index area or two grades of times
Index area, while index data is write, while realizing the temporally sequence of integer value from small to large.
In user search monitoring video, it can typically specify video camera, time, monitoring storage system is realized from specified shooting
In the memory space of machine, the I frames group video recording of specified time is found.
It is typically by DM in the monitoring storage system of iSCSI block storage modes(Data management server)Equipment is realized
Above-mentioned lookup processing.For above-mentioned piece of storage format, DM servers can read the one level temporal rope of video camera from disk first
Draw area into internal memory, the one level temporal index of the condition of satisfaction is found based on input time, so as to find one-level index correspondence
Data cell.
Then, two grades of time index areas of the data cell then from disk are read into internal memory, are looked for based on input time
To two grades of time indexs of the condition that meets, so as to find the corresponding I frames group of the secondary index.
Finally, the I frames group found is loaded into internal memory from disk, and most I frames group data return to user at last, so that real
The functional requirement based on the corresponding I frames group of specified video camera and time, quick lookup is showed.
From the point of view of above-mentioned flow, the time is specified based on user, corresponding one level temporal index, two grades of times are quickly navigated to
Index, is to look for the link of most critical in flow.And it is above-mentioned based on the time search index flow, due to user specify when
Between, the time index in block storage format be all an integer, be substantially exactly one from substantial amounts of integer sequence(That is block format
In time index area)In, quickly find input integer(User specifies the time)Flow.
As previously described, it is all whole in strict accordance with the time due to all time indexs in one-level, two grades of time index areas
Numerical value realizes sequence from small to large, thus be reduced to one from substantial amounts of sequence integer sequence, find input integer
Problem, so as to which based on the ripe efficient lookup algorithm such as binary chop, second level navigates to the time matched with input time
Index.
Above-mentioned monitoring stores block format, why quickly can find time index based on input time, its premise bar
Part is:All time indexs in time index area, all realize sequence from small to large in strict accordance with time integer value.
In video camera records a video storing process for a long time, old video recording can be constantly by new video recording circulation covering.Followed this
In the case that ring is made carbon copies, also it is to continue with maintaining time index from the position currently covered, in whole time index area
The characteristics of being sorted from small to large in strict accordance with time integer value.
Therefore above-mentioned precondition, not special in the retention phase that monitoring storage service is recorded a video to video camera some periods
It is required that in the case of, it disclosure satisfy that.
And in monitoring storage application, the demand often occurred is:Video recording to video camera material time section, it is necessary to
Support video recording locking and unblock.Such as:In the monitoring storage application of public security, once occur important case, then case time
The crucial video recording of section by user before completing to back up or download, it is necessary to be locked by user.During video recording circulation manifolding,
These video recordings locked by user can not be made carbon copies.
After user completes backup or downloaded to important video recording, in order to which phase, user are retained in the video recording for recovering video camera
Unblock operation can be performed to video recording, so when these video recordings are write in circulation next time, can be covered by new video recording.
It is the problem of present invention needs solution that locking and unblock operation are how performed in block format video recording.
The content of the invention
In view of this, the present invention provides a kind of method and apparatus for locking of recording a video.
The method of video recording locking, including:This corresponding index to be locked of recording a video is determined, by the locking of the index of determination
Reference count adds the second preset value, and the locking reference count initial value each indexed is the first preset value;Followed to video recording execution
When ring is made carbon copies, the corresponding video record unit of index that locking reference count is more than first preset value is skipped.
Preferably, the original state of each index is set to " be not used ";By the state for the index skipped when circulating manifolding
It is designated " having skipped ";It is described to determine that the corresponding index of video recording to be locked is specially:To the rope that state in index is " having skipped "
Draw and be ranked up according to the time, the index for not identifying " having skipped " to state in index is also ranked up according to the time;When to be checked
The locking video recording time started looked for be less than first of the index sequence for not identifying " having skipped " after sequence index include when
Between, then judge that the video recording time started to be found " has been skipped " in index sequence after sequence, otherwise judge record to be found
It is located at as the time started in the index sequence for not identifying " having skipped " after sequence;
If being to be located in " having skipped " index after sequence between at the beginning of the video recording to be locked, after the sequence
" having skipped " index end increase sequence after do not identify " having skipped " index in first index formed a new rope
Draw sequence, searched according to binary chop algorithm in the new index sequence with the beginning of the video recording to be locked between the rope that matches
Draw;
If the time of the video recording to be locked is to be located in the index for not identifying " having skipped " after sequence;Then according to two
Point lookup algorithm searched in the index sequence for not identifying " having skipped " with the beginning of the video recording to be locked between the rope that matches
Draw.
Preferably, it is determined that the corresponding index of this video recording to be locked, and not by the locking reference count of the index
Plus second before preset value, it is that described first preset that reference count will be locked in this described corresponding index of video recording to be locked
The index record of value is " use " in the locking index segment node during area is quoted in locking, and by the status indicator of the node;
The state for each index that the status representative node of the node is included;When performing circulation manifolding to video recording, held in manifolding
Row to locking reference count be more than first preset value index when, by the index match locking index segment node beginning rope
Draw, if the match is successful, the state for the locking index segment node that the match is successful is changed to " having skipped " by " use ".
Preferably, locking index segment node is recorded in the locking index area opened up in superblock.
Preferably, the structure of locking index segment node includes node state, node index sum, start index information and knot
Beam index information;Wherein start index information is used for recording the first index information of one section of continuity index, terminates index information and uses
To record the end index information of a segment index.
Preferably, when being unlocked for locking video recording, it is determined that the corresponding index of video recording to be unlocked, by the index
Locking reference count subtracts second preset value;When circulation manifolding to the index that locking reference count is first preset value
When, perform the manifolding to the corresponding video record unit of the index.
Preferably, when the video recording for locking is unlocked, it is determined that the corresponding index of video recording to be unlocked, by the rope
The locking reference count drawn subtracts the second preset value, if the locking reference count for subtracting the index after second preset value is first
Preset value, then it is " use " the index matching that the locking reference count is the first preset value to be locked into state in index area
Locking index segment node starts index, if the match is successful, by the locking index segment node that the match is successful opening currently
Begin to index and delete, next index is indexed as NEW BEGINNING, and the index sum of the node subtracts 1;If the index of the node is total
After number is kept to 0, then the node is deleted from locking reference area.
Preferably, when performing circulation manifolding to video recording, it is the first preset value to go to locking reference count in manifolding
During index, it is " having skipped " that the index matching that the locking reference count is first preset value is locked into state in index area
Locking index segment node starts index, if the match is successful, by the locking index segment node that the match is successful opening currently
Begin to index and delete, next index is indexed as NEW BEGINNING, and the index sum of the node subtracts 1;If the index of the node is total
After number is kept to 0, then the node is deleted from locking reference area.
A kind of device for locking of recording a video, the device includes:Index search unit, for determining this video recording correspondence to be locked
Index;Counting unit, for the locking reference count of the index of determination to be added into the second preset value, the locking each indexed is quoted
Counting initial value is the first preset value;Video recording r/w cell, for when performing circulation manifolding to video recording, skipping locking reference count
The corresponding video record unit of index for first preset value being more than.
Preferably, the device also includes:Status indicator unit, for the status indicator for the index that will be skipped when circulating and making carbon copies
For " having skipped ", the original state each indexed is " unused ";It is to be locked to determine that index search unit performs following operation
The corresponding index of video recording:State in index is ranked up for the index of " having skipped " according to the time, state in index is not marked
The index for knowing " having skipped " is also ranked up according to the time;Not marking after the locking video recording time started to be found sequence is less than
Know the index sequence of " having skipped " first indexes the time included, then it is to be located at sequence to judge the video recording time started to be found
In " having skipped " index sequence afterwards, otherwise judge the video recording time started to be found to be located at after sequence and do not identify " having skipped "
In index sequence;
If being to be located in " having skipped " index after sequence between at the beginning of the video recording to be locked, after the sequence
" having skipped " index end increase sequence after do not identify " having skipped " index in first index formed a new rope
Draw sequence, searched according to binary chop algorithm in the new index sequence with the beginning of the video recording to be locked between the rope that matches
Draw;
If the time of the video recording to be locked is to be located in the index for not identifying " having skipped " after sequence;Then according to two
Point lookup algorithm searched in the index sequence for not identifying " having skipped " with the beginning of the video recording to be locked between the rope that matches
Draw.
Preferably, the device also includes locking index segment recording unit;It is determined that this corresponding rope of video recording to be locked
Draw, and before the locking reference count of the index do not added into the second preset value, the locking index segment recording unit is by described
Locking reference count quotes area for the index record of first preset value in locking in the secondary corresponding index of video recording to be locked
In locking index segment node in, status indicator unit by the status indicator of the node be " use ";The state generation of the node
The state for each index that table node is included;The device also includes:Matching unit;Video recording execution is followed in video recording r/w cell
When ring is made carbon copies, when manifolding goes to locking reference count and is more than the index of first preset value, matching unit indexes this
Match locking index segment node starts index;If the match is successful, status indicator unit is by the locking index segment that the match is successful
The state of node is changed to " having skipped " by " use ".
Preferably, locking index segment node is recorded in the locking index area opened up in superblock.
Preferably, the structure of locking index segment node includes node state, node index sum, start index information and knot
Beam index information;Wherein start index information is used for recording the first index information of one section of continuity index, terminates index information and uses
To record the end index information of a segment index.
Preferably, when being unlocked for locking video recording, index search unit is additionally operable to determine video recording pair to be unlocked
The index answered;Counting unit, is additionally operable to the locking reference count of the index of the rope video recording to be solved subtracting second preset value;Record
As r/w cell, it is additionally operable to, when circulation manifolding to locking reference count is the index of first preset value, perform to the index
The manifolding of corresponding video record unit.
Preferably, the device also includes:Lock index segment updating block;Index search unit, is additionally operable to determine to wait to unlock
The corresponding index of video recording;Counting unit, the locking reference count of index for being additionally operable to record a video on the rope to be solved subtracts the second and preset
Value;If the locking reference count for subtracting the index after second preset value is the first preset value, matching unit is by the lock
Determine state in the index matching locking index area that reference count is the first preset value and lock index segment node for " use "
Start index;If the match is successful, locking index segment updating block opening currently by the locking index segment node that the match is successful
Begin to index and delete, next index is indexed as NEW BEGINNING, and the index sum of the node subtracts 1, if the index of the node is total
After number is kept to 0, then the node is deleted from locking reference area.
Preferably, when performing circulation manifolding to video recording, it is the first preset value to go to locking reference count in manifolding
During index, the index matching that the locking reference count is first preset value is locked state in index area and is by matching unit
The locking index segment node of " having skipped " start index;If the match is successful, locking index segment updating block will be matched into
The index that starts of the locking index segment node of work(currently is deleted, and next index is indexed as NEW BEGINNING, the rope of the node
Draw sum and subtract 1;If after the index sum of the node is kept to 0, the node deleted from locking reference area.Compared to existing
Technology, the present invention program realizes the flexible locking and unblock to video recording, and the quick inspection to video recording is supported in case of locking
Rope.
Brief description of the drawings
Fig. 1 is existing video recording index structure figure.
Fig. 2 is the corresponding diagram of given example of the embodiment of the present invention.
Fig. 3 is institute of the embodiment of the present invention corresponding diagram as another example.
Fig. 4 is the structure chart that area is quoted in locking of the embodiment of the present invention.
Fig. 5 is the monitoring network of application of the embodiment of the present invention.
Fig. 6 is apparatus of the present invention building-block of logic.
Embodiment
When the video recording to storage is locked, it is necessary to which this section video recording is identified by locking mark of recording a video, so that
When must subsequently make carbon copies, the video recording of locking is skipped.Because index and video recording are one-to-one, so the mark of the video recording to locking
Translate into the mark to the corresponding index of the video recording.So that computer program realizes technical solution of the present invention as an example, Fig. 6 please be join,
The video recording locking device of the present embodiment can logically be divided into:Index search unit, counting unit, r/w cell of recording a video.
Index search unit is used for determining the corresponding index of video recording to be locked;Counting unit is locked for counting same video recording
Fixed number of times;In the present embodiment, the corresponding locking reference count of the index is set up for each index, if video recording is locked
Determine once, the locking reference count of the corresponding index of the video recording performs the processing for Jia 1 by counting unit, and the locking each indexed is drawn
It is 0 with the initial value of counting;If video recording is unlocked once, the locking reference count of the corresponding index of the video recording is by counting unit
The operation for subtracting 1 is performed, the locking reference count can be identified with the byte reserved in index of reference structure;Video recording r/w cell,
The index corresponding video recording that locking reference count is more than 0 is skipped when being made carbon copies, manifolding is not performed.Lock reference count initial value
Except being set to 0, other constants are may be arranged as;Once, counting unit can also add other normal except that can add 1 for locking
Number;Likewise, unblock is once, counting unit can also subtract other constants;But be locked out once, unblock once, it is increased or
The constant subtracted should be consistent.
Due to the corresponding locking reference count of each index, so recording a video duplicate packages containing same in the multistage that user locks
There is overlapping multistage to the time and record a video when locking in the corresponding video recording of one or more indexes, i.e. user, it is ensured that only
Have after user performs unblock to final stage video recording, the video recording locked before could be made carbon copies.It please join Fig. 2 example,
The corresponding video recording of 1 pair of index 3~6 of user is locked, and the corresponding video recording of 2 pairs of indexes 5~8 of user is locked, then rope
It is 1 to draw 3 and index 4 respective locking reference counts, and it is 2 to index 5 and index 6 respective locking reference counts, indexes 7 and index
8 locking reference count is 1;The locking reference count of remaining index is 0.When the corresponding video recording of 1 pair of index 3~6 of user is carried out
After unblock, the respective locking reference count of index 5~8 is 1, and the respective locking reference count of remaining index is 0.Now, for
5~8 corresponding video recordings of index can't perform manifolding, and the only corresponding video recording of 2 pairs of indexes 5~8 of user is unlocked so that rope
Drawing when 5~8 respective locking reference counts are 0 to be made carbon copies.Therefore when being made carbon copies, when needing to judge some video recording
Unit(The corresponding video recording of one index is referred to as video record unit)When whether being locked, it is only necessary to judge the locking of its corresponding index
Reference count value;If greater than 0, illustrate that this video record unit is locked, it is impossible to which it is made carbon copies;If equal to 0, explanation
The video record unit is not locked out or unlocked, and it can be made carbon copies.
In the case of manifolding of recording a video, after the corresponding index of locking video recording is skipped, the index in index area will no longer be
The Ordered indices arranged sequentially in time.The index of older time can be mingled in the index of newer time so that block
The time index area of form becomes a unordered sequence, so as to cause original by a sequence for realizing sequence from small to large
The binary chop algorithm failure indexed based on input time, quick positioning time having.For a unordered sequence, if will
One of index is searched, can only be using the method traveled through.And this method will cause time overhead excessive, influence video recording inspection
The availability of the business such as rope, playback.
In view of the above-mentioned problems, the video recording locking device of the present embodiment further comprises status indicator unit.The status indicator
Unit is used to identify the current state of each index.The state of index can include:It is not used, has skipped both states.
When circulating manifolding, if some index is skipped, i.e., the index is corresponding records a video when being locked, and status indicator unit is by the rope
The status indicator drawn is to have skipped.When requiring to look up the video recording of certain time, that is, when requiring to look up the corresponding index of the video recording,
Index search unit performs following operation:
A, state in index is ranked up for the index of " having skipped " according to the time, state in index is not identified "
Skip " index be also ranked up according to the time;
If B, video recording time started to be found are in " having skipped " index after sequence, after the sequence
First index not identified in " having skipped " index after the end increase sequence of " having skipped " index forms a new index
Sequence, the index matched with the video recording time started to be found is searched according to binary chop algorithm in the new index sequence;
If the video recording time started to be found is located in the index for not identifying " having skipped " after sequence, in the sequence
Not identifying in " having skipped " index sequence afterwards, according to binary chop algorithm search with the beginning of the video recording to be found between match
Index.
The video recording time started to be found " has skipped " in index sequence after sequence or has been located at after sequence not
It can be judged by the following method in the index sequence for identifying " having skipped ":It is less than row when the video recording time started to be found
The time that first index of the index sequence for not identifying " having skipped " after sequence is included, then judge the video recording time started to be found
It is to be located in " having skipped " index sequence after sequence, otherwise judges that the video recording time started to be found is located at not identifying after sequence
In the index sequence of " having skipped ".Here why select first index for not identifying the index sequence of " having skipped " to be used as to sentence
Lookup method is carried out in disconnected foundation combination step B.
In fact, drawing also possible as basis for estimation using the pygochord of " having skipped " index sequence after sequence, i.e., such as
The video recording time started really to be found draws the time included less than the pygochord, then judges that the video recording time started to be found is to be located at
In " having skipped " index sequence, otherwise judge that the video recording time started to be found is located in the index sequence for not identifying " having skipped ";
Following operation is performed when subsequently search:If the video recording time started to be found " has skipped " after sequence
In index, then searched and the video recording time started to be found according to binary chop algorithm in " having skipped " index after the sequence
The index of matching;If the video recording time started to be found is located in the index for not identifying " having skipped " after sequence, at this
The head end for not identifying " having skipped " index sequence after sequence increases the pygochord and draws to form new index sequence;In the new index
In sequence according to binary chop algorithm search with the beginning of the video recording to be found between the index that matches.Due to " having skipped " index
Sequence is much smaller for the index sequence for not identifying " having skipped ", if so lookup can be as far as possible in " having skipped " rope
Draw that sequence Zhong Jin guilds are relatively time-consuming and performance.It please join the explanation of Fig. 3 examples.
Assuming that the new index sequence in Fig. 3 is:Index 3, index 4, index 7, index 8, index 11;Do not identify and " jumped
Cross " index sequence be:Index 11, index 12, index 13, index 14, index 15, index 16.Assuming that index 3 in include when
Between information be 2013-01-01-17:00:00, the temporal information as the index correspondence video recording at the beginning of between;It is further assumed that
Every index correspondence video recording when a length of 15 minutes, then it is 2013-01-01-17 to index 4 temporal informations that include:15:00;Rope
Draw 7 temporal informations included for 2013-01-01-18:00:00, the temporal information that index 8 is included is 2013-01-01-18:15:
00, other indexes are by that analogy.If between at the beginning of video recording to be found being 2013-01-01-18:25:00, when a length of 5 points
Clock.This it is to be found video recording time started be less than sequence after the index sequence for not identifying " having skipped " first bar index include when
Between, that is, index the 11 time 2013-01-01-19 included:00:00, so being located between at the beginning of judging video recording to be found upper
Stating new index sequence is:In index 3, index 4, index 7, index 8, index 11, then with dichotomy in the new index sequence
Searched in row.If according to the times that include of index 8 judge at the beginning of video recording to be found between " jumped positioned at not identifying
Cross " index sequence in, then need in index sequence:Index 8, index 11, index 12, index 13, index 14, index 15, rope
Searched in drawing 16, it is clear that the time of cost and performance will be more.Here " having skipped " index is not identified involved by example
It is fewer, actual conditions can be more a lot, so not being a good selection in " having skipped " index sequence is not identified.
In addition to when user needs to check certain section of video recording, it is necessary to retrieve video recording, needing to lock certain time
Video recording when, it is also desirable to video recording retrieve.So the operation of above-mentioned steps A, B determines to wait to lock to performing video recording locking service
Surely record a video corresponding index when it is equally applicable.
Status indicator is carried out to index by above-mentioned, the index of different conditions is ranked up respectively, then different
Be indexed the method for lookup for the method for traversal according to dichotomy in index sequence, it is clear that speed faster, expense
It is smaller.
Such scheme solves the basic problem in terms of video recording locking, but also has the space further optimized.Index area
In index it is large number of, so therefrom obtaining the index of different conditions and to be ranked up not be part nothing the matter.In order to just
The index of correlation is more rapidly easily found in index search unit, the present embodiment is further in the single block space of disk
In, the index of all locking video recordings is individually recorded.
Due to being reserved with certain space in the superblock of storage format, and when carrying out video retrieval, superblock meeting
It is loaded onto in internal memory, will preferably locks the index record of video recording in superblock.Due to user lock every time one
Section video recording, corresponding in index area is one section of continuous index, therefore can be recorded by the way of locking index segment.
Each locking index segment record is one locked or continuous multiple indexes.Locking index is carried out referring to Fig. 4
Description.
One section of region is opened up in superblock, locking index area is named as.The locking index area is mainly segmented into totality
The information area, locking index segment node district two parts, can take up 8K disk spaces altogether, and the last 8K that can be put into superblock is empty
Between in.
Overall information area is used for the global information that record locking is indexed, and can take up the preceding 1K spaces of locking index area.Lock
Determine index segment node district to be made up of some locking index segment nodes.
Overall information area specifically includes following data member:The Megic marks of 4 bytes, determining index area for lock indication is
It is no to complete initialization, such as after being initialised in locking index area, the field should be arranged to 0x12345678;4 words
The state of section is the index segment node total number skipped, and is the locking index segment node total number skipped for recording status;4 words
All index sums skipped of section, for recording the index skipped sum.
Locking index segment node district is used for the information of record locking index segment, and the rear 7K that can take up locking index area is empty
Between, because the data of each locking index segment node are 24 bytes, therefore the letter of at least 200 locking index segments can be recorded
Breath.
Each locking index segment node, for recording one section of continuous, locked index, can mainly include following number
According to member:
Node state, 4 bytes, state value is respectively:0,1,2;The state of node is to represent the index that node is included
State;
The index sum of node, 4 bytes;
The start index information of node:Including starting index number, 4 bytes, i.e. position of the starting index in index area;
Originate the time of index, 4 bytes;
The end index information of node:Including terminating index number, 4 bytes terminate index in one level temporal index area
In position;Terminate the time of index, 4 bytes.
It is described as follows for " node state " field value:
0 representative is not used, and represents that this section of disk space not yet records one section of locking index information, when initial, each node
State value can be 0;
1 represents and has used, and represents that this section of disk space have recorded one section of locking index information, but this segment index pair
It should record a video and be not yet skipped when circulating manifolding;
2 represent it is locked, represent this section of disk space have recorded one section locking index information, while this segment index pair
It should record a video and be skipped when circulating manifolding.
The state of " use " is added herein relative to locking Index Status before.The reason for increasing the state is hereafter
In will be described.
Since opening the locking index area that record locking indexes segment information, relate to when be written to locking index segment
Lock in index area.Due to locking index area in record locking index information primarily to being easy to index out of order in time
In it is quick search index, so only needing to cause time out of order index record into locking index area.And only state is "
Skip " index can just cause index it is out of order, so first it is contemplated that circulate manifolding skip these index segments when, then
It recorded locking index area.
But if using scheme above, the result brought is:The video recording of multistage user locking, in locking index area
In be likely to be written in same locking index segment node.Following problem can so be brought:If subsequent user unlocks these
During certain section video recording of the middle index part of video recording, scheme needs to split locking index segment node, otherwise causes former section
There is cavity in the continuity index section of point;For the index segment of these continuous lockings, it is possible to be partly already written to locking
Index area, part is not written to locking index area also, so also need to increase in the index whether write lock-out index area
Mark, is just avoided that in multiple locking index areas node, there are some repetition index.
In view of the foregoing, the present embodiment uses following scheme:It is determined that the corresponding index of video recording to be locked, and will
It is the institute that locking reference count is 0 in the corresponding index of the video recording to be locked before the locking reference count of the index adds 1
There is index application one in locking index area to lock index segment node, and be by the status indicator of the node by status indicator unit
" use ";The locking index segment node includes above-mentioned locking reference count for the starting index in 0 all indexes and tied
Beam index information.Illustrate:Index 1~10, locking reference count value initial value is 0;1 pair of index 3~6 of user is corresponding
Video record unit is locked, and user 2 then locks to 5~8 corresponding video record units of index.According to above-mentioned implementation of the invention
Will two locking index segment nodes of generation in example mode, locking index area:Node 1, state is " use ", and starting index is 3,
It is 6 to terminate index;Node 2, state is " use ", and starting index is 7, and it is 8 to terminate index.Above-mentioned application locking index segment section
The flow of point performs the locking index segment recording unit further comprised by the present embodiment video recording locking device;Status indicator list
Member performs the mark of above-mentioned " use ".On the one hand the program ensure that the index in variable locking index segment node, must be
It is unduplicated;Must be from this when removing the manipulative indexing of locking index segment node after subsequent user unlocks certain section of video recording
The starting index of node starts to remove, without carrying out the complex process such as locking index segment node fractionation.
When performing manifolding to video recording, the index that locking reference count is more than 0 is gone in manifolding, the index is matched and locked
That determines index segment node starts index, if the match is successful, the state for the locking index segment node that will match to is by " use "
It is changed to " having skipped ".The matching unit that the action of above-mentioned matching is further comprised by the present embodiment video recording locking device is performed;
The state of locking index segment node is modified by status indicator unit.
Continue the example above, when manifolding goes to index 3, the locking reference count for now indexing 3 is 1, so with
Index 3 removes matching locking index segment node, and because the starting index of node 1 is index 3, the match is successful, so the state of node 1
It is changed to " having skipped " by " use ".Then manifolding goes to next index that node 1 terminates index, that is, indexes 7.Equally
Ground, the locking reference count of node 7 is also now 1, so index of reference 7 removes matching locking index segment node, due to rising for node 2
Index begin to index 7, the match is successful, so the state of node 2 is changed to " having skipped " by " use ".
When being indexed lookup, index search unit obtains the index that state in locking index area is " having skipped ".Obtain
Take after the index that state is " having skipped ", remaining index nature belongs to the index that state is non-" having skipped ", and then index is looked into
The lookup for looking for unit to be just indexed according to hereinbefore described method.So locking index segment node in locking index area
Record greatly facilitate lookup of the index search unit to index.
Since video recording is related to locking, unblock is also related to naturally.The video recording locked before is unlocked and is also required to one
Serial complicated operating process.The process of video recording unblock is discussed in detail below.
During to video recording unblock, it is necessary first to it is determined that treating the corresponding index of unblock video recording.It is determined that treating the corresponding rope of unblock video recording
Drawing can be carried out according to the state in locking index area for the information that " use " and " having skipped " locks index segment nodes records
It is determined that.First the index information of these locking index segment nodes records can be ranked up in sequence, then according to dichotomy
Searched.Find after after the corresponding index of unblock video recording, there is counting unit to subtract the corresponding locking reference count of the index
1.When the corresponding locking reference count of an index is kept to 0, represent that the corresponding video record unit of the index is no longer locked, can be with
It is made carbon copies.But directly can not but be deleted it from locking reference area for the index;Because for the index such as
Really its state is " having skipped ", if it directly deleted from locking reference area, will have influence on the correct of follow-up index search
Property.Preferably way is, after the locking reference count of index is reduced to 0, and matching unit is according to index matching locking index
State starts index for the locking index segment node of " use " in area, if the match is successful, by the lock that the match is successful
Determine the index that starts of index segment node currently to delete, next index is indexed as NEW BEGINNING, and the index sum of the node subtracts
1.If after the index sum of the node is kept to 0, the node deleted from locking reference area.Above-mentioned locking index segment updates
The operation locking index segment updating block that further comprises of locking device that will be recorded a video by the present embodiment perform.If the node
If state is " having skipped ", it is necessary to when follow-up manifolding is to these indexes, could update in locking index area and lock rope
Draw the information of section node.Certainly, after locking index segment nodal information updates, the correlation in overall information area in locking index area
Information is also required to be updated.
In manifolding, if go to locking reference count for 0 index corresponding video record unit when, matching unit according to
State starts index for the locking index segment node of " having skipped " in index matching locking index area, if the match is successful,
Then the index that starts of the locking index segment node that the match is successful currently is deleted, next index is indexed as NEW BEGINNING,
The index sum of the node subtracts 1.If likewise, after the index sum of the node is kept to 0, the node is quoted into area from locking
It is middle to delete;Further update the relevant information in overall information area.
The scheme of the embodiment of the present invention supports flexible locking and unblock of the user to video recording;And to video recording locking and solution
While lock, on the video recording storage performance of lasting progress without influence, while the retrieval rate of video recording is still very fast;And also prop up
Hold the repeated locking of user, the video recording unlocked in same video record unit.
It is illustrative to embodiment of the present invention with reference to specific monitoring system.
It please join Fig. 5, the monitoring system includes IP encoders, video management server, data management server and IPSAN
Storage device.Interconnected between these equipment by IP network.In this example, the index area of IPSAN storage devices is such as Fig. 1 institutes
The level indexing structure shown.
1st, user configuring video recording locking or video recording unblock
User can be by the operation interfaces of VM servers, and the video recording to some period of some video camera performs record
As locking or unblock operation.
In this example, corresponding data cell is indexed as minimum lock space unit using one level temporal.If i.e. user locks
The video recording video recording that there is 1 second to lock whole data cell in data cell, then.
VM servers are received after the request that user is sent by operation interface, and message is sent to DM servers, and request is obtained
Take video camera to specify and video camera information is carried in the index information of period, request message, time started period, period knot
The beam time.
DM servers are received after index acquisition request, and the lock of correspondence video camera storage resource is loaded from IPSAN disks
Determine index area, one level temporal index area into internal memory, according between at the beginning of request, the end time, carried according to above-described embodiment
The indexed search method gone out, finds the one level temporal index segment for meeting time conditions, and calculate what this lock operation was related to
Lock memory capacity.The locking memory capacity=data unit size * locking index sums.
The one level temporal index segment for the condition that meets, locking memory capacity are returned to VM by DM servers by response message
Server.Here why give DM by the work for determining index segment to perform, be to not influence the storage of IP encoders
Energy.The all working of storage all deploys between IP encoders and IPSAN storage devices, so it has been generally acknowledged that should be compiled by IP
Code device performs related locking, the lookup of unblock index.
VM servers are received after response, on the one hand by SIP signaling messages by lock or unblock period, index
Segment information notifies IP encoders, on the other hand, performs the renewal to database lock video record table and operates:If be locked out
The data such as the video camera coding of this configuration, locking video recording time started, end time, locking total capacity are write number by operation
According to the locking video record table in storehouse;If unblock operation, the corresponding record in database video recording locking list is deleted.Table 1 is provided
The list item example of locking video record table:
Table 1
Because VM is in above- mentioned information described in database, so needing to check all video recordings lock of some video camera in user
When recording surely, the related data locked in video record table easily can be fed back into user;In addition, the locking video record
Table can also be calculated easily:The phase is retained in video recording after the remaining total capacity of video camera storage, locking video recording.(Video camera is stored
The locking capacity sum of all video recording lock reords of the storage total capacity-video camera of residual capacity=video camera;Locking video recording
=video camera storage residual capacity/video camera code stream size is retained the phase in video recording afterwards)
2nd, the operation that IP encoders are performed in video recording locking and unblock:
When the camera chin of IP encoders starts video recording storage, superblock from disk can be loaded into internal memory, IP is compiled
Code device judges that the Megic in the last 8K of superblock locking index area identifies whether correct setting, if be not provided with(Illustrate not just
Beginningization), IP encoders perform initialization to the magnetic disc locking index area:The Megic in overall information area is set to predetermined value
0x12345678, other regions are initialized as 0.
After the video recording for receiving VM servers locks or unlocked notice message, believed according to the index segment carried in message
Breath, to from disk be loaded into internal memory in one level temporal index area in manipulative indexing, be made whether one by one at the appointed time
In the range of verification.Why need to verify is because being likely to occur video recording to be locked by the situation of circulation manifolding.
The one level temporal index passed through to verification, operates according to locking or unblock, performs the increasing of locking reference count value
Plus or reduction processing.While modification locking reference count, the processing of following locking index area is performed:
For lock operation, IP encoders can be indexed according to this locking, with locking nonoverlapping one level temporal before
Segment data, generates a locking index segment node in internal memory, and node state is set to " use ";For unblock operation, IP is compiled
Code device can according to this unblock, locking reference count be reduced to 0 continuous one level temporal index segment start index, match
Locking index segment node in internal memory, if its state is not " having skipped ", updates the locking index segment from internal memory, disk
Node.
After above-mentioned be disposed, IP encoders by the one level temporal index area updated in internal memory, locking index node
Data, are written in the one-level of disk index time zone, locking index area.
3rd, the processing during the video recording circulation manifolding of IP encoders
When IP encoders perform circulation manifolding to video recording, for the data cell that will be made carbon copies, its correspondence one-level is checked
The locking reference count of time index, if greater than 0(Illustrate to be locked by user), then skip the one level temporal and index corresponding number
According to unit.
Meanwhile, the correspondence locking index node for starting index, matching in internal memory of index is skipped according to this section, if
Skip for the first time(The state for locking index segment node is " use "), its state is updated to " having skipped " by " use ";
In addition, making carbon copies before some locking reference count is equal to 0 data cell, it is necessary to judge the corresponding one level temporal rope of the unit
Whether draw item is that some in internal memory locking index nodes starts index;If it is, needing to remove in the locking index node
Manipulative indexing(Started index and be set to next index, and indexed sum to subtract 1), while updating the overall letter in internal memory
Index sum is skipped in breath area;If all indexes of the locking index node are eliminated(The index sum of node is set to
0), then correspondence locking index segment node in internal memory is deleted, updates in internal memory and skips index segment section in correspondence locking overall information
Point sum.
After the one level temporal index area data in have updated internal memory, locking index related data, it will be updated in internal memory
One level temporal index area, the locking index area of disk are brushed under data afterwards.
4th, video camera video recording of the DM servers retrieval with locking video recording
Before DM servers are performed based on time, retrieval one level temporal Index Algorithm, first from disk load lock standing wire
Draw area into internal memory, by skipping locking index node sum in overall information area, judge whether state " to have jumped
Cross " locking index node.If it does, according to index search algorithm proposed above, being indexed to the one level temporal after out of order
Area carries out retrieval process;Otherwise, according to original algorithm, the one-level index time zone normally in chronological sequence sorted is retrieved
Processing.
From the point of view of video recording storage, the handling process of retrieval from the technical program, IP encoders, DM servers can only increase few
The loading to magnetic disc locking index area of amount, write operation, all more complicated processing are all based on internal storage data progress, because
This, can accomplish that the video recording to IP encoders is stored, the video retrieval of DM servers, substantially without performance impact.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
God is with principle, and any modification, equivalent substitution and improvements done etc. should be included within the scope of protection of the invention.
Claims (14)
1. a kind of method for locking of recording a video, it is characterised in that this method includes:
This corresponding index to be locked of recording a video is determined, the locking reference count of the index of determination is added into the second preset value, each
The locking reference count initial value of index is the first preset value;When performing circulation manifolding to video recording, locking reference count is skipped
More than the corresponding video record unit of index of first preset value;
Wherein, the original state of each index is set to " be not used ";It is by the status indicator of index skipped when circulating manifolding
" having skipped ";
It is described to determine that the corresponding index of video recording to be locked is specially:
State in index is ranked up for the index of " having skipped " according to the time, state in index is not identified " having skipped "
Index is also ranked up according to the time;
First bar rope of the index sequence for not identifying " having skipped " after the locking video recording time started to be found sequence is less than
Draw the time included, then judge that the video recording time started to be found " has been skipped " in index sequence after sequence, otherwise sentence
The disconnected video recording time started to be found is located in the index sequence for not identifying " having skipped " after sequence;
If being to be located in " having skipped " index after sequence between at the beginning of the video recording to be locked, after the sequence
First index not identified in " having skipped " index after the end increase sequence of " having skipped " index forms a new index
Sequence, searched according to binary chop algorithm in the new index sequence with the beginning of the video recording to be locked between the rope that matches
Draw;
If the time of the video recording to be locked is to be located in the index for not identifying " having skipped " after sequence;Then looked into according to two points
Look for algorithm searched in the index sequence for not identifying " having skipped " with the beginning of the video recording to be locked between the index that matches.
2. the method as described in claim 1, it is characterised in that it is determined that the corresponding index of this video recording to be locked, and not
Before the locking reference count of the index added into the second preset value, it will be locked in this described corresponding index of video recording to be locked
Determine in locking index segment node of index record of the reference count for first preset value in locking reference area, and this is saved
The status indicator of point is " use ";The state for each index that the status representative node of the node is included;
When performing circulation manifolding to video recording, the index that locking reference count is more than first preset value is gone in manifolding
When, index matching locking index segment node is started into index, if the match is successful, by the locking index segment section that the match is successful
The state of point is changed to " having skipped " by " use ".
3. method as claimed in claim 2, it is characterised in that locking index segment node is recorded in the lock opened up in superblock
Determine in index area.
4. method as claimed in claim 2, it is characterised in that the structure of locking index segment node includes node state, node
Index sum, start index information and end index information;Wherein start index information is used for recording the head of one section of continuity index
Individual index information, terminates the end index information that index information is used for recording a segment index.
5. the method as described in claim 1, it is characterised in that when being unlocked for locking video recording, it is determined that to be unlocked
The corresponding index of video recording, second preset value is subtracted by the locking reference count of the index;When circulation manifolding to locking reference meter
When number is the index of first preset value, the manifolding to the corresponding video record unit of the index is performed.
6. method as claimed in claim 2, it is characterised in that when the video recording for locking is unlocked, it is determined that waiting to unlock
The corresponding index of video recording, by the locking reference count of the index preset value that subtracts the second, if subtracting institute after second preset value
The locking reference count for stating index is the first preset value, then the locking reference count is matched for the index of the first preset value and locked
Determine state in index area and start index for the locking index segment node of " use ", if the match is successful, by the match is successful
The current index that starts of the locking index segment node delete, next index indexes as NEW BEGINNING, the index of the node
Sum subtracts 1;If after the index sum of the node is kept to 0, the node deleted from locking reference area.
7. method as claimed in claim 2, it is characterised in that when performing circulation manifolding to video recording, lock is gone in manifolding
When determining the index that reference count is the first preset value, the locking reference count is matched for the index of first preset value and locked
State starts index for the locking index segment node of " having skipped " in index area, if the match is successful, by what the match is successful
The index that starts of the locking index segment node currently is deleted, and next index is indexed as NEW BEGINNING, and the index of the node is total
Number subtracts 1;If after the index sum of the node is kept to 0, the node deleted from locking reference area.
8. a kind of device for locking of recording a video, it is characterised in that the device includes:
Index search unit, for determining this corresponding index to be locked of recording a video;
Counting unit, for the locking reference count of the index of determination to be added into the second preset value, meter is quoted in the locking each indexed
Number initial value is the first preset value;
Record a video r/w cell, for video recording perform circulation manifolding when, skip locking reference count be more than described first preset
The corresponding video record unit of index of value;
Wherein, the device also includes:Status indicator unit, the status indicator for the index that will be skipped when circulating and making carbon copies is "
Skip ", the original state each indexed is " unused ";
Index search unit performs following operation to determine the corresponding index of video recording to be locked:
State in index is ranked up for the index of " having skipped " according to the time, state in index is not identified " having skipped "
Index is also ranked up according to the time;
First bar rope of the index sequence for not identifying " having skipped " after the locking video recording time started to be found sequence is less than
Draw the time included, then judge that the video recording time started to be found " has been skipped " in index sequence after sequence, otherwise sentence
The disconnected video recording time started to be found is located in the index sequence for not identifying " having skipped " after sequence;
If being to be located in " having skipped " index after sequence between at the beginning of the video recording to be locked, after the sequence
First index not identified in " having skipped " index after the end increase sequence of " having skipped " index forms a new index
Sequence, searched according to binary chop algorithm in the new index sequence with the beginning of the video recording to be locked between the rope that matches
Draw;
If the time of the video recording to be locked is to be located in the index for not identifying " having skipped " after sequence;Then looked into according to two points
Look for algorithm searched in the index sequence for not being designated " having skipped " with the beginning of the video recording to be locked between the index that matches.
9. device as claimed in claim 8, it is characterised in that the device also includes locking index segment recording unit;It is determined that
The corresponding index of this video recording to be locked, and before the locking reference count of the index do not added into the second preset value, the lock
Standing wire, which will draw segment record unit, locking reference count to be preset in this described corresponding index of video recording to be locked for described first
The index record of value is in the locking index segment node during area is quoted in locking, and the status indicator of the node is by status indicator unit
" use ";The state for each index that the status representative node of the node is included;
The device also includes:Matching unit;When r/w cell of recording a video performs circulation manifolding to video recording, go to locking in manifolding and draw
During with counting the index more than first preset value, matching unit matches the index on the beginning rope for locking index segment node
Draw;If the match is successful, the state for the locking index segment node that the match is successful is changed to by status indicator unit by " use "
" having skipped ".
10. device as claimed in claim 9, it is characterised in that locking index segment node is recorded in what is opened up in superblock
Lock in index area.
11. device as claimed in claim 9, it is characterised in that the structure of locking index segment node includes node state, node
Index sum, start index information and end index information;Wherein start index information is used for recording the head of one section of continuity index
Individual index information, terminates the end index information that index information is used for recording a segment index.
12. device as claimed in claim 8, it is characterised in that when being unlocked for locking video recording, index search list
Member, is additionally operable to determine the corresponding index of video recording to be unlocked;
Counting unit, is additionally operable to the locking reference count of the index of the rope video recording to be solved subtracting second preset value;
Video recording r/w cell, is additionally operable to when circulation manifolding to locking reference count is the index of first preset value, execution pair
The manifolding of the corresponding video record unit of the index.
13. device as claimed in claim 9, it is characterised in that the device also includes:Lock index segment updating block;
Index search unit, is additionally operable to determine the corresponding index of video recording to be unlocked;
Counting unit, the locking reference count of index for being additionally operable to record a video on the rope to be solved subtracts the second preset value;
If the locking reference count for subtracting the index after second preset value is the first preset value, matching unit is by the lock
Determine state in the index matching locking index area that reference count is the first preset value and lock index segment node for " use "
Start index;If the match is successful, locking index segment updating block opening currently by the locking index segment node that the match is successful
Begin to index and delete, next index is indexed as NEW BEGINNING, and the index sum of the node subtracts 1, if the index of the node is total
After number is kept to 0, then the node is deleted from locking reference area.
14. device as claimed in claim 9, it is characterised in that when performing circulation manifolding to video recording, lock is gone in manifolding
When determining the index that reference count is the first preset value, matching unit locks the index that reference count is first preset value by described
State starts index for the locking index segment node of " having skipped " in matching locking index area;If the match is successful, lock
Index segment updating block deletes the index that starts of the locking index segment node that the match is successful currently, and next index is as new
Start index, the index sum of the node subtracts 1;If after the index sum of the node is kept to 0, the node drawn from locking
Deleted with area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310718918.5A CN103744892B (en) | 2013-12-23 | 2013-12-23 | A kind of method and apparatus for locking of recording a video |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310718918.5A CN103744892B (en) | 2013-12-23 | 2013-12-23 | A kind of method and apparatus for locking of recording a video |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103744892A CN103744892A (en) | 2014-04-23 |
CN103744892B true CN103744892B (en) | 2017-08-15 |
Family
ID=50501910
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310718918.5A Active CN103744892B (en) | 2013-12-23 | 2013-12-23 | A kind of method and apparatus for locking of recording a video |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103744892B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104702873A (en) * | 2015-03-23 | 2015-06-10 | 浪潮集团有限公司 | Method of locking video surveillance video data |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1874254A (en) * | 2005-06-02 | 2006-12-06 | 华为技术有限公司 | Method for browsing data based on structure of client end / server end |
CN1997015A (en) * | 2006-11-24 | 2007-07-11 | 华为技术有限公司 | Cache application method and device, and file transfer system |
CN102325244A (en) * | 2011-08-26 | 2012-01-18 | 杭州海康威视数字技术股份有限公司 | Method for rapidly positioning videos by time, video storage control device and positioning device |
-
2013
- 2013-12-23 CN CN201310718918.5A patent/CN103744892B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1874254A (en) * | 2005-06-02 | 2006-12-06 | 华为技术有限公司 | Method for browsing data based on structure of client end / server end |
CN1997015A (en) * | 2006-11-24 | 2007-07-11 | 华为技术有限公司 | Cache application method and device, and file transfer system |
CN102325244A (en) * | 2011-08-26 | 2012-01-18 | 杭州海康威视数字技术股份有限公司 | Method for rapidly positioning videos by time, video storage control device and positioning device |
Also Published As
Publication number | Publication date |
---|---|
CN103744892A (en) | 2014-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107870973B (en) | File storage system capable of accelerating simultaneous playback of multiple paths of monitoring | |
US10817469B2 (en) | Method and apparatus for repairing file system directory tree | |
US7136883B2 (en) | System for managing object storage and retrieval in partitioned storage media | |
US7577808B1 (en) | Efficient backup data retrieval | |
US10462443B2 (en) | Systems, methods, and software for improved video data recovery effectiveness | |
US6675180B2 (en) | Data updating apparatus that performs quick restoration processing | |
US20090271398A1 (en) | Method and system for recognition of video content | |
CN109710572B (en) | HBase-based file fragmentation method | |
US20130159258A1 (en) | Data set index record preservation | |
JP2005084771A (en) | Backup system and method | |
CN108021717B (en) | Method for implementing lightweight embedded file system | |
JP2006031109A (en) | Management system and management method | |
US20170124104A1 (en) | Durable file system for sequentially written zoned storage | |
CN110888837B (en) | Object storage small file merging method and device | |
CN113377292A (en) | Single machine storage engine | |
CN111367926A (en) | Data processing method and device for distributed system | |
CN107040576A (en) | Information-pushing method and device, communication system | |
CN104182354B (en) | A kind of video management method and device | |
CN104636218B (en) | Data reconstruction method and device | |
JP2010176181A (en) | Storage system | |
CN103744892B (en) | A kind of method and apparatus for locking of recording a video | |
US20060129521A1 (en) | System and method for restoring a file directory structure | |
CN107832455A (en) | A kind of data capture method of storage object, system, equipment and storage medium | |
CN105653385B (en) | A kind of vehicle-mounted kinescope method | |
CN109040827B (en) | Video file playing method, storage medium and intelligent terminal |
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 |