WO2016088741A1 - 映像記録装置および映像記録方法 - Google Patents
映像記録装置および映像記録方法 Download PDFInfo
- Publication number
- WO2016088741A1 WO2016088741A1 PCT/JP2015/083707 JP2015083707W WO2016088741A1 WO 2016088741 A1 WO2016088741 A1 WO 2016088741A1 JP 2015083707 W JP2015083707 W JP 2015083707W WO 2016088741 A1 WO2016088741 A1 WO 2016088741A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- contents
- area
- video
- mbblock
- video data
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/19—Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
- G11B27/28—Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
- G11B27/32—Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on separate auxiliary tracks of the same or an auxiliary record carrier
- G11B27/327—Table of contents
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B13/00—Burglar, theft or intruder alarms
- G08B13/18—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
- G08B13/189—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
- G08B13/194—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
- G08B13/196—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras
- G08B13/19665—Details related to the storage of video surveillance data
- G08B13/19667—Details realated to data compression, encryption or encoding, e.g. resolution modes for reducing data volume to lower transmission bandwidth or memory requirements
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/12—Formatting, e.g. arrangement of data block or words on the record carriers
- G11B20/1217—Formatting, e.g. arrangement of data block or words on the record carriers on discs
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/19—Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
- G11B27/28—Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
- G11B27/30—Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on the same track as the main recording
- G11B27/3027—Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on the same track as the main recording used signal is digitally coded
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/91—Television signal processing therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/91—Television signal processing therefor
- H04N5/915—Television signal processing therefor for field- or frame-skip recording or reproducing
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B13/00—Burglar, theft or intruder alarms
- G08B13/18—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
- G08B13/189—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
- G08B13/194—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
- G08B13/196—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras
- G08B13/19665—Details related to the storage of video surveillance data
- G08B13/19676—Temporary storage, e.g. cyclic memory, buffer storage on pre-alarm
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/181—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
Definitions
- the present invention relates to a video recording apparatus using a random access storage medium such as a hard disk.
- FIG. 3 is a schematic diagram of a file system in a conventional circulating recording apparatus described in Patent Document 1 and the like.
- This circular file system is constructed on the recording device 15 and includes an arrangement information area 30, a table of contents information area 31, and a video data area 32.
- One unit of the table of contents information area 31 is the table of contents information 33
- one unit of the video data area 32 is a video MBblock (Mega-BytesBlock) 34
- the table of contents information 33 and the video MBblock 34 are in one-to-one correspondence.
- the table of contents information area 31 and the video data area 32 are subdivided for each camera (channel).
- areas 31-1 to 31-3 are allocated as table of contents information
- areas 32-1 to 32-3 are allocated as video data.
- the arrangement information area 30 stores arrangement information obtained by collecting addresses (for example, LBA: Logical Block Address) indicating the position where the video MBblock of which camera area is arranged on the recording device.
- the arrangement information area 30, the table of contents information area 31, and the video data area 32 are, in principle, arranged so as to be continuous in the address space. For example, the paired area 31-1 and the area 32-1 are arranged on the address. (And physically) separated.
- FIG. 4 is a diagram for explaining the relationship between the table of contents information 32 and the video MBblock 34 in the conventional circulating recording apparatus.
- the table of contents information 33 has a fixed length of 32 bytes, and the video MBblock 34 has a fixed length of 1 MB or more.
- the video MBblock 34 includes a plurality of video frame data 342 for one frame, and the sequence of the plurality of video frame data 342 is divided into a plurality of Packs 343-1 to Pack 343-4.
- the table of contents information 33 includes fields of a top frame number 331, a flag area 332, a top frame time 333, Pack start addresses 334-1 to 334-Q, and the number of frames in a pack 335-1 to 335-Q.
- Q is the maximum value of the number of sub-blocks (Pack number) of the video MBblock and is set to 10.
- the first frame number 331 indicates the frame number of the first video data of the paired video MBblock 34.
- the frame number is a monotonically increasing value that is managed independently by this file system and is set to 0 when the camera area 31 is created.
- the flag area 332 stores a flag indicating the state of the table of contents information 33.
- the state indicates whether there is a pair of video MBblocks, or whether the video MBblock is a dummy value created by guessing from the table of contents information before and after the restoration process.
- the start frame time 333 indicates the image time of the start image data of the paired image MBblock 34.
- the Pack start address 334 and the number of frames 335 in the Pack have a size of 1 Byte (Octet) and are alternately arranged to indicate the relative position of the PACK head in the video MBblock and the number of frames, respectively.
- the size (number of bytes) of the pack of interest is obtained from the difference between the PACK address and the next PACK address.
- the video MBblock table of contents information 33-b that holds the same data as the table of contents information 33 exists.
- the circulating recording apparatus records video in units of video MBblocks 34. That is, after writing data (including table of contents information) for at least one video MBblock 34 is prepared, it is written at once.
- the table of contents information 33 is written to the recording device at a lower frequency than the video MBblock 34. That is, the plurality of table of contents information 33 are updated at once.
- Patent Document 4 discloses that video and audio data are distributed and recorded on a plurality of video recording terminals, so that a plurality of videos are not limited to the maximum recordable rate on a storage medium of one terminal.
- the video / audio data from the output means can be recorded, and in addition, a series of video / audio data can be recorded and distributed to a plurality of terminals in the smallest reproducible unit.
- Patent Document 5 since the position information of the sector group on the optical disk is divided for each predetermined information amount and distributed to a plurality of sectors in the sector group, overhead can be reduced.
- the invention which can reduce the influence with respect to local omission like this and can improve the reliability of position information detection is disclosed.
- An object of the present invention is to shorten the time from the re-on of the power after the power is cut off to the start of recording in the video recording apparatus that operates for a long time.
- a video recording apparatus of the present invention is a video recording apparatus including a recording device having an arrangement information area and a video data area, and the arrangement information area is stored in the video data area.
- the video data area stores video data and the table of contents information of the video data in the table of contents area at the end of the video data.
- the table of contents information is preferably stored in the table of contents area of the video data area from the oldest to the latest.
- a video recording method for a video recording apparatus is a video recording method for a video recording apparatus provided with a recording device having an arrangement information area and a video data area. Set the information area and the video data area, store the video data table of contents in the video data area in the video data area and the table of contents information of the video data stored in the video data area It is characterized in that it is stored in an information area.
- the video recording method of the video recording apparatus of the present invention is the video recording method of the video recording apparatus described above, and it is preferable that the table of contents information is stored in the table of contents area of the video data area from the oldest to the latest.
- FIG. 1 is a configuration diagram of a monitoring system including a video recording apparatus according to Embodiment 1.
- FIG. 1 is a block diagram of a video recording apparatus according to Embodiment 1.
- FIG. 3 is a diagram illustrating a file system of the recording device 15 according to the first embodiment.
- FIG. 6 is a diagram for explaining the relationship between the table of contents information 43 of the recording device 15 and the video MBblock 34;
- FIG. 3 is a diagram for explaining the latest video search of the video recording apparatus according to the first embodiment.
- FIG. 1 is a configuration diagram of a monitoring system including a video recording apparatus according to Embodiment 1.
- FIG. 1 is a block diagram of a video recording apparatus according to Embodiment 1.
- FIG. The figure explaining the cyclic
- FIG. 3 is a diagram for explaining table of contents information synthesis in the video recording apparatus according to the first embodiment.
- FIG. 3 is a diagram for explaining an increase in recording device speed in the video recording apparatus according to the first embodiment.
- FIG. 6 is a configuration diagram of a video recording apparatus according to a third embodiment.
- 7 is a flowchart of end processing of the video recording apparatus according to the third embodiment. The flow of the completion
- FIG. 1 is a configuration diagram of a monitoring system including a video recording apparatus according to the first embodiment.
- 1 includes a video recording device 1 such as an NDR (network digital recorder), cameras 2A, 2B,..., 2m, and display operation devices such as PCs (Personal Computers) 3-1 to 3-n. Connected through.
- the m cameras 2A to 2m are network cameras that can distribute video data to the network 20.
- the PCs 3-1 to 3-n perform control such as setting of the video recording device 1 and the cameras 2A to 2m, reproduction of recorded data of the video recording device 1, and the like.
- FIG. 2 is a block diagram of the video recording apparatus 1.
- a CPU Central Processing Unit
- a memory unit 12 a memory unit 12, a network interface (IF) 13, and a recording device IF 14 are connected to an internal bus 11.
- the memory unit 12 includes a main memory and an auxiliary storage device (flash memory or the like) that holds an operating system (OS) or the like.
- OS operating system
- a recording device 15 is connected to the recording device IF14.
- the recording device 15 is an HDD (Hard Disk Drive), an SSD (Solid State Drive), or the like, and is treated as a block device by the OS.
- logical areas are provided for the cameras to be recorded.
- the logical area for each camera is collectively referred to as a camera area 16.
- the camera area 16 includes m camera areas 16-1 to 16-m corresponding to the number of cameras to be recorded.
- the camera area 16 performs circular recording. An address is allocated in the camera area, video data is started to be written from the head of the address, and when the write destination address reaches the end, the video data is overwritten and stored in order from the head.
- FIG. 5 is a diagram for explaining the file system of the recording device 15.
- a circular file system is constructed in the recording device 15 of FIG.
- the circular file system is mainly composed of two areas, an arrangement information area 40 and a video data area 42.
- the difference between FIG. 5 and FIG. 3 is that the table of contents information area is accommodated in the video data area from an independent area.
- the video data area 42 is composed of a set of MBBlocks and is divided into areas corresponding to the respective cameras.
- the video data area 42 there are a camera A video data area 42-1, a camera B video data area 42-2, a camera C video data area 42-3, and a free area 42-4.
- the capacity of the camera area is obtained by multiplying the number of MBBlocks allocated to each camera by the MBBlock size. For convenience, the number of MBBlocks is treated as synonymous with the capacity of the camera area.
- the arrangement information area 40 holds information on the recording position of each video MBblock in the video data area 42.
- the former is called the MBBlock number in the device
- the latter is called the MBBlock number in the camera area.
- the recording device 15 is divided into prescribed MBBlock size units, and the MBBlock numbers in the device are assigned in ascending order starting from 0.
- a plurality of recording devices that can be used at the same time are assigned a device number of several bits and stored in association with a unique number.
- the MBBlock number in the camera area is given as a number indicating the order of use in the camera area.
- the MBBlock number in the camera area has a head number of 0 and a tail number of “number of camera area capacity blocks” ⁇ 1. When recording video data, they are recorded in the order of MBBlock numbers in the camera area.
- the MBBlock number in the device can be generated if there is information on the top address, the division size, and the number of divisions.
- the bad sector can be replaced by an alternative sector by managing the firmware of the recording device 15 itself, and can also be avoided by prohibiting the use of a video MBBlock including the same by a circular file system.
- the MBBlock number in the camera area is also simply assigned in ascending order, the MBBlock number in the camera area can be generated if there is information on the offset with the MBBlock number in the device.
- all the pairs of the MBBlock numbers in the device (including the device numbers) and the MBBlock numbers in the camera area may be held as a table.
- a special value of the in-camera MBBlock number may be used to indicate that the corresponding in-device MBBlock number is unused.
- the video MBblock 44 is a unit constituting the video data area 42, has a fixed length size of 1MB or a multiple of 2 of 1MB, and stores about 150 frames of video data depending on the encoding rate. Storage is performed in units of frames, and one frame of video data does not straddle a plurality of video MBblocks 44.
- This unit By increasing the size of this unit to megabytes, when simultaneously recording and reading multiple camera images, the sectors within the unit can be read continuously, reducing the number of seeks, resulting in performance (simultaneous recording number, lifetime, etc.). ) Will improve. Even if it does not have a sub-block structure called Pack, a remainder that is less than the size of one frame may occur at the end of the video MBblock 44.
- the MBBlock in the camera area is used from the top in the order of the MBBlock number in the camera area, and when the end is reached, the MBBlock is used from the top to implement circular writing.
- the concept of total MBBlock number is introduced. This is the total MBBLock number in the camera area, indicates the number of the MBBLock written to after the camera area is created, and is not affected by the update of the storage destination MBBlock.
- FIG. 6 is a diagram for explaining the relationship between the table of contents information 43 of the recording device 15 and the video MBblock 34. The difference between FIG. 6 and FIG. 4 is that a table of contents area is provided at the end of the video MBblock 44.
- the table of contents information 43 is information serving as a table of contents for the video MBblock 44, and there is one table of contents information 43 for one video MBblock 44.
- the table of contents information 43 includes a start frame number 431, a flag area 432, a start frame time 433, Pack start addresses 434-1 to 434-Q, and the number of frames in the pack 435-1 to 435-Q.
- Q is the maximum number of packs (described later) per video MBblock, and is 10 in this example.
- the first frame number 431 indicates the frame number (total frame number) of the first video data of the paired video MBblock 44. This total frame number is a monotonically increasing value with 0 when the video data area 42 is created.
- the flag area 432 stores a flag indicating a state.
- the state indicates whether there is a paired video MBblock or whether the table of contents information is a dummy value.
- the start frame time 433 indicates the image time of the start image data of the paired image MBblock 44.
- the Pack start address 434 and the number of frames in a pack 435 have a size of 1 Byte (Octet), are alternately arranged, and indicate the relative position of the PACK head in the video MBblock and the number of frames, respectively. Indicates the PACK address and the number of frames in the video MBblock. The number of bytes in the pack can be obtained from the difference between the address of the target PACK and the address of the next PACK.
- the video MBblock 44 includes an MBblock header 441, a plurality of frame data 442, and Packs 443-1 to 443-5.
- the MBblock header 441 holds the video MBblock table of contents information 43-b having the same contents as the table of contents information 43, and the total MBBlock number.
- the frame data 442 is one unit of recorded video data, and is arranged in the encoding order after the MBblock header 441.
- the MBblock 44 is divided into about 10 areas. This sub-block is referred to as Pack 443. Sub-blocking works particularly effectively for random access when reading video data.
- the boundary of Pack 443 can also be selected to match the GOV boundary (I picture or IDR frame) as much as possible. Considering the ease of control by the playback application, the Pack can be simply delimited by a fixed number of frames or time. In this case, the video MBblock 44 reaches the upper limit of the number of packs without being sufficiently filled with video data, and a large unused area can be left at the end.
- the boundary of Pack 443 can be selected only in units of 1/256 of the size of the video MBblock, and of course there is also a restriction on the unit of (physical) sector size. Therefore, a small unused area (not shown) may exist at the end of the actual Pack 443.
- the table of contents area 443-5 at the rear end in the video MBblock 44 stores tail table of contents information 45.
- the table of contents area 443-5 is treated as a kind of Pack in the table of contents information 43, and a corresponding Pack start address 434-5 is held.
- the number of frames 435 in the corresponding Pack is “0”, it indicates that the Pack is a table of contents area.
- a plurality of table of contents information 43 corresponding to a plurality of video MBblocks 44 is continuously arranged in the recording order.
- the oldest table of contents information 43-c located at the head is the table of contents information of the past video MBblock, and is the oldest stored in the table of contents area 45 in the MBblock.
- the latest table of contents information 43-d located at the end is the latest table of contents information stored in the MBblock table of contents area 45.
- the latest table of contents information 43-d is the table of contents information of the latest MBblock (that is, the image MBblock 44 itself) when the video MBblock 44 is created, and the oldest table of contents information 43-c can be stored in the table of contents area 45 in the MBblock.
- the table of contents information is the oldest in the range.
- the number obtained by dividing the size of the table of contents area 45 in the MBblock by the size of one table of contents information (32 bytes) represents the number of table of contents information 43 that can be stored in the table of contents area 45 in the MBblock.
- the table of contents information 43-d has the same value as the table of contents information 43-b. Therefore, when the video data is read, if the table of contents information 43-b and 43-d are not the same value, it can be determined that the video block 44 is in an abnormal state in which it has been written only halfway.
- the table of contents area 443-5 is not necessarily provided in each of the MBblock table of contents areas 45, and may be provided intermittently.
- the table of contents area 443-5 can store the table of contents information of several thousand to several tens of thousands of video MBblocks 44, and even if they are provided intermittently, sufficient redundancy can be ensured. As a result, information corresponding to the conventional table of contents information area 31 is recorded in a distributed and redundant manner.
- FIG. 7 is a diagram illustrating the latest video search of the video recording apparatus 1 according to the first embodiment.
- the video recording apparatus of this example searches for the latest MBblock from each camera area stored in the recording device 15 at the time of starting or restarting, and the table of contents information corresponding to the conventional table of contents information area 31 is stored in the memory unit 12. Synthesize. This makes it possible to search where and when video data is in the camera area.
- the sampling points 51-t0 to 51-t10 are determined by dividing the video area 42-a for each camera into, for example, 11 equal parts.
- the sampling point 51 is aligned so as to indicate the head of the video MBblock 44.
- the 11 video MBblocks 44 are accessed from the recording device 15 based on the sampling point 51, and the MBblock table of contents information 43-b in the header 441 is read out.
- the frame number of the table of contents information at t2 is the largest.
- a binary search is performed in the interval from t2 to t5, and the maximum frame number (latest MBblock) is searched.
- the reason why the binary search is not performed between t2 (maximum) and t3 (minimum) is because the block of t3 has not been rewritten and there is a suspicion that there is a maximum frame number in the interval from t3 to t4.
- the first time is t3, and there is no point in doubting t3. Therefore, a binary search is performed in the interval from t2 to t5.
- FIG. 8 is a diagram for explaining the table of contents information synthesis of the video recording apparatus 1 according to the first embodiment. After identifying the latest MBblock, turn 1 is executed.
- the address space 42-a indicated by the bar is a ring-shaped recording structure of the camera area 42, which is cut out at the position of the identified latest video MBblock.
- the left end is approximately the oldest video, and the right end is approximately the latest video.
- the identified latest video MBblock 44-1 is read from the camera area 42-a of the recording device 15.
- the latest video MBblock 44-1 includes an MBblock internal table of contents area 45-1 (hereinafter simply referred to as a table of contents area).
- the table of contents information of the table of contents area 45-1 is written in the combined table of contents area 6 provided in the memory unit 12, and the read table of contents area 61-1.
- the video MBblock to be read in the next turn is selected using the table of contents information in the table of contents area 61-1. From the table of contents information in the table of contents area 61-1, the size of the table of contents area included in the paired video MBblock and the age of the table of contents area first table of contents information 451 are obtained. In comparison, the video MBblock having the oldest table of contents information 451 is set as a video MBblock to be read in the next turn.
- the video MBblock selected in the previous turn is read.
- the table of contents area 61-2 is acquired from the table of contents area 45-2 included in the read video MBblock 44-2.
- the table of contents information is synthesized by writing the table of contents area 61-2 in the combined table of contents area 6 on the memory. This operation is repeated until the oldest is reached. That is, the table of contents information for the camera area can be synthesized by writing the table of contents information to the combined table of contents area 6 on the memory while going back from the table of contents area of the latest video MBblock.
- FIG. 9 is a diagram for explaining the speed-up of the startup process in the video recording apparatus 1 according to the first embodiment.
- the table of contents priority MBblock 44-b includes a header 441, a video pack 443-b, and a table of contents area.
- the table of contents area is arranged in the remainder of storing about 10 video packs 443, but in the table of contents priority MBblock 44-b, for the purpose of mainly storing the table of contents information, one video pack 443 is provided, and the remaining areas are stored. Is the table of contents area.
- all of 44-b may be the table of contents area without the video pack 443.
- This special table of contents priority MBblock 44-b is arranged at a specified position in the camera area 42-b.
- the table of contents priority MBblock 44-b is arranged at points 52-P1 to 52-P6 provided at equal intervals in the camera area 42-b. This interval depends on the number of table of contents information 43 that can be included in one table of contents priority MBblock 44-b.
- the oldest table of contents information in the table of contents area of the table of contents priority MBblock 44-b of point 52-P6 is preferably point 52-P5. If the table of contents priority MBblock 44-b always includes 28672 pieces of table of contents information, the interval between the points 52 is also 28672 (28672 pieces of MBblock 44).
- the table of contents priority MBblock 44-b is written in the camera area 42-b with the minimum necessary number. As a result, the number of accesses to the recording device 15 when the table of contents information is combined is reduced, and the speed can be increased. If any of the table of contents priority MBblocks 44-b is damaged, the composition of the table of contents can be continued by switching to the method of following the normal video MBblock 44 including the table of contents area 443-5 described in FIG. .
- the video recording apparatus can realize an improved recirculating file system that does not require end processing and makes the time required for startup constant.
- the video recording apparatus of the second embodiment is different from the first embodiment in that management information such as an arrangement interval of the table of contents priority MBBlock in each camera area is explicitly provided.
- management information such as an arrangement interval of the table of contents priority MBBlock in each camera area is explicitly provided.
- at least two values as management information of each camera area are an MBBLock number storing the oldest video data at the time of capacity change and an arrangement interval of the table of contents priority MBBlock. have.
- the above two values are calculated and stored when “new creation” or “capacity size change” of the camera area is performed. Further, at the time of video recording while the recording application is operating, it is determined whether or not the “TOC priority MBBlock” is stored using the above two values. If applicable, the table of contents priority MBBlock is stored.
- the table of contents priority MBBLock is read using the above two values for each camera area, and the table of contents area of the camera area is synthesized.
- the processing is simplified and the speed is increased by reducing the number of reading times of the recording device.
- Table 1 shows the structure of management information for each camera area used in this example.
- the management information is held in a predetermined location of the recording device 15, and for example, an independent area such as the conventional table of contents information area 31 may be provided, may be included in the arrangement information 40, or the empty area 42-4. It may be stored in an unused video MBBlock.
- the table of contents priority MBBlocks are arranged in an arbitrary camera area at regular intervals, and their positions are not changed even when recording is circulated.
- the base point of the placement of the table of contents priority MBBlock in the camera area is determined by the following rules. 0 if the camera area has not been resized, When the camera area is being resized, The “total MBBlock number” of the oldest MBBlock immediately after the size change of the camera area.
- the table-of-contents priority MBBlock arrangement interval (“Interval_IndexMBBlock”) is calculated when the capacity of the camera area is secured or when the capacity of the camera is changed, and stored in the management area of the camera area. Specifically, it is calculated from the capacity of the camera area (NumOf_MBBlocks), the MBBlock byte size (MBBlock_Size), and the table of contents information byte size (Index_Size) using the equations of the four items or less in Table 1. However, the minimum value is 4.
- tmp_IndexMBBlocks in Table 1 intends that the sampling point is an interval at which the oldest table of contents information in the table of contents priority MBBlock overlaps with the previous table of contents priority MBBlock. The reason why the table of contents priority MBBlock is overlapped is that the table of contents information can be interpolated from the previous or subsequent table of contents priority MBBlock even if one table of contents priority MBlcok is damaged.
- the recording application executed by the CPU 10 determines whether or not the recording destination is the table of contents priority MBBlock by the following formula when storing the video data.
- the symbol “%” indicates a remainder.
- Judgment value ((total MBBlock number of the current MBBlock-base point)% NumOf_MBBlock)% (Interval_IndexMBBlock) When the judgment value is 0, the table of contents priority MBBlock is set. When the judgment value is other than 0, the video data is MBBLock.
- the table of contents 12A, the table of contents area 12B of the camera area, and the table of contents of the table of contents of the camera area are stored on the memory unit 12 by the recording application itself or the OS.
- a flag array 12C indicating whether it has been read is secured. Thereafter, the following processes corresponding to the turn in the first embodiment are executed.
- Sampling is performed while satisfying ((Interval_IndexMBBlock) ⁇ i ⁇ number of camera area capacity MBBlocks), where i is a loop variable whose initial value is 0.
- the MBBlock number in the camera area that is read by sampling when i is called “sampling point i” and is determined by the following formula.
- Sampling point i (Sampling start point + (Interval_IndexMBBlock) x i)% NumOf_MBBlock.
- the MBBlock number in the camera area is appropriately converted into the MBBlock number in the device, the LBA (logical block address), etc., and the MBBlock can be accessed. When all MBBlocks of sampling points are empty (invalid), it is determined that the camera area is not yet written.
- the CPU 10 executing the recording application checks the table of contents information in the table of contents area at the end of the MBBlock every time the MBBlock is read, and stores it in the table of contents area 12B of the camera area if the condition is satisfied.
- the inspection is performed according to the following rules.
- tmp_Bi (Bi) 's storage position before (B).
- the end of the (B) table of contents area is (B) table of contents information.
- (Bi_total MBBlock number) (B_total MBBlock number)-tmp_Bi.
- each sampling point i points to the table of contents priority MBBlock at the time of recording, and the table of contents information between the sampling points can be acquired by reading them.
- the video recording apparatus is configured so that the MBBlock read by initial sampling becomes the table of contents priority MBBlock, reading of the table of contents information is completed only by the initial sampling, and the subsequent processing can be performed on the memory.
- the number of access to the device can be reduced, and the time from power-on after power-off to the start of recording can be further shortened.
- the video data for several seconds held in the memory by the delayed writing in the buffer by the recording application or the OS buffer is written to the recording device. Disappear without disappearing.
- the video recording apparatus according to the third embodiment is obtained by adding a configuration for accelerating the regular end process itself to the first and second embodiments.
- FIG. 12 shows a flow of normal end processing in the POSIX OS.
- the conventional recording apparatus terminates processes (applications) operated by the operating real-time OS one by one, and turns off the power after all applications are terminated.
- the process of terminating all the applications is a factor that takes time.
- An application for writing data to a recording medium and an application for writing a log are one of the termination processes.
- the power may be turned off before the application for writing to the recording medium and the log writing is terminated. Therefore, the previous data is written to the recording medium after the restart. Therefore, since there is no recorded data or data is written only halfway, there is a problem that consistency with the data cannot be obtained and the data is damaged.
- writing to a recording medium and writing a log are the most important, and other applications basically start from the beginning if restarted even if stopped halfway, so there is no problem.
- FIG. 10 shows a configuration diagram of the video recording apparatus according to the third embodiment.
- the video recording apparatus of this example includes a main board 101 operating mainly for writing data to a recording medium, a power supply unit 102 for supplying power to the main board 101, and power control for controlling power supply to the main board 101.
- a network control circuit 104, a recording device 105, and a power source SW 106 that are supplied with power via a substrate 103, a main substrate 101 are provided.
- the main board 101 and the power supply control board 103 are connected by a serial communication path C or the like.
- the main board 101 employs a CPU as a data processing unit to realize multiple functions, and communication of each data is exchanged using an SCH (System Control Hub).
- the CPU reads image data (digital data) sent from the imaging device via the network and stores it in the recording device. Further, the CPU transfers the data to the network control circuit 104 that controls transmission / reception of data by a transmission medium at a predetermined timing.
- the network control circuit 104 converts the formatted compressed image data into data reconstructed into a format corresponding to the communication protocol of the network, and transmits the data to the network.
- the power supply unit 102 is a switching power supply or the like that converts supplied AC power into low-voltage DC. While receiving AC power, always supply power to the power control board.
- the power supply control board 103 is a board provided with a microcomputer, a display, a switch, etc., and receives a command from the outside (user) and sends a termination processing command signal to the main board 101.
- the power supply to the main board 101 is cut off based on the end processing signal or the judgment of the power supply control board 103 itself.
- notification display
- a signal to be notified to the outside can be transmitted (displayed) from the main board 101, but it is in a standby state (power is supplied but it does not function as a recording device and operates with a minimum amount of electricity. In the case of the status), any notification cannot be made.
- the network control unit 104 receives digital data compliant with Ethernet (trademark) sent from the outside and sends it to the main control, and also serves to send the digital data sent from the main board to the outside.
- Ethernet trademark
- the recording device 105 not only stores image data sent via the network, but also extracts image data from the main board 101 and transmits it to the main board 101 when requested by the main board 101.
- the recording medium mounted on this apparatus is an electronic recording medium.
- the power SW 106 is a switch that notifies the video recording device of activation or termination.
- the power supply SW of the recording apparatus does not physically cut off electricity, but notifies the main board 101 of a power supply end signal by an action from the outside, so that an application in which the real-time OS of the main board 101 is operating and Terminate itself.
- the system call issued at that time is taken over by the BIOS, and the main board 101 is shifted to the standby state (the standby until the power switch is pressed and the activation signal is received next).
- FIG. 11 shows a flow of end processing of the video recording apparatus according to the third embodiment.
- a block diagram is shown.
- a script rc script
- the contents of the script include writing the system time to the hardware clock, unmounting the recording device, and It only terminates the logging process (syslogd, etc.) (normally).
- Unmounting usually includes a sync process that writes the kernel cache to disk.
- a completion processing completion notification is sent to the power supply control board 103 through a serial device (tty) or the like.
- This can be a simple message of about several bytes.
- the command for notifying the completion of completion processing may be described in the rc script.
- the end processing completion notification is received by the power supply control board 103, the power supplied to the main board 101 is cut off in S19. Even if there is a rc script continuation after the command for notifying the completion of the end process in S17, they will not be executed because they are forcibly turned off.
- a system (OS) disk (partition) is often mounted read-only. In that case, there is no adverse effect even if the power is turned off without unmounting the system disk.
- the equipment can be normally terminated in a short time, the work time for maintenance and maintenance can be reduced, so that the work cost can be reduced, and the reliability as the equipment and the quality as the system can be ensured.
- the present invention can be used for an apparatus for constantly recording data on a recording medium using a file system, and particularly, it can be safely shut down in a very short time after a power supply is suddenly shut down or a shutoff notification is received. It is suitable for an in-vehicle recording device that is necessary.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Television Signal Processing For Recording (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
Description
図3は、特許文献1等に記載された従来の循環記録装置におけるファイルシステムの模式図である。
この循環型ファイルシステムは、記録デバイス15上に構築され、配置情報領域30、目次情報領域31、映像データ領域32から構成されている。
目次情報領域31の1単位は目次情報33であり、映像データ領域32の1単位は映像MBblock(Mega-BytesBlock)34であり、目次情報33と映像MBblock34は一対一で対応している。
目次情報領域31と映像データ領域32は、カメラ(チャンネル)毎に領域が小分けされる。本例では、3台のカメラA~カメラCに対応して、目次情報として領域31-1~領域31-3が、映像データとして領域32-1~領域32-3が、それぞれ割り当てられる。
配置情報領域30、目次情報領域31、及び、映像データ領域32はそれぞれ、原則として、アドレス空間上で連続するように配置され、例えば対をなす領域31-1と領域32-1は、アドレス上(及び物理的にも)離れている。
目次情報33は32Byte、映像MBblock34は1MB以上の固定長を有する。
映像MBblock34には、1フレーム分の映像フレームデータ342を複数含み、複数の映像フレームデータ342の列は、複数のPack343-1~Pack343-4に分割される。
先頭フレーム番号331は、ペアとなる映像MBblock34の先頭映像データのフレーム番号を示す。フレーム番号は、このファイルシステムで独自に管理される、カメラ領域31を作成した時を0とした単調増加の値である。
フラグ領域332は、その目次情報33の状態を示すフラグを格納する。状態は、ペアとなる映像MBblockが存在するか、修復処理で前後の目次情報からの推測で作られたダミー値なのか、を示す。
先頭フレーム時刻333は、ペアとなる映像MBblock34の先頭映像データの映像時刻を示す。
Pack開始アドレス334とPack内フレーム数335は、1Byte(Octet)のサイズを有し、交互に配置され、映像MBblock内のPACK先頭の相対位置と、フレーム数をそれぞれ示す。注目するPackのサイズ(バイト数)は、そのPACKのアドレスと次PACKのアドレスの差分で求まる。
循環記録装置は、映像の記録を映像MBblock34単位で行う。つまり少なくとも1個の映像MBblock34分の書込みデータ(目次情報を含む)が揃ってから、それを一度に書込む。一方で目次情報33の記録デバイスへの書込みは、映像MBblock34よりも低い頻度で行われる。つまり複数の目次情報33を一度に纏めて更新する。
本発明の目的は、長時間稼働の映像記録装置において、電源断後の電源再投入から記録開始までの時間を短縮することにある。
図1の監視システムは、NDR(ネットワークデジタルレコーダ)等の映像記録装置1と、カメラ2A,2B,…,2mと、PC(PersonalComputer)3-1~3-n等の表示操作装置がネットワーク20を介して接続されている。
m台あるカメラ2A~2mは、映像データをネットワーク20に配信できるネットワーク型カメラである。
PC3-1~3-nは、映像記録装置1と、カメラ2A~2mの設定等の制御と、映像記録装置1の録画データの再生等を行う。
映像記録装置1は、内部バス11に、CPU(Central Processing Unit)部10と、メモリ部12と、ネットワークインターフェイス(IF)13と、記録デバイスIF14が接続している。
メモリ部12は、メインメモリと、オペレーティングシステム(OS)等を保持する補助記憶装置(フラッシュメモリ等)とを有する。
記録デバイス15の中に、論理的な領域を、記録対象とするカメラの分だけ設ける。このカメラ毎の論理的な領域をカメラ領域16と総称する。図2ではカメラ領域16は、記録するカメラの数に対応してm個のカメラ領域16-1~16-mが存在する。
カメラ領域16は、循環記録を行う。カメラ領域内にアドレスを振り、アドレスの先頭から映像データを書き始め、書き込み先アドレスが末尾に達すると、先頭から順に映像データを上書き記憶していく。
図5の記録デバイス15には、循環型ファイルシステムが構築されている。循環型ファイルシステムは、主に配置情報領域40と、映像データ領域42の2領域で構成されている。なお、図5と図3との違いは、目次情報領域を、独立した領域から映像データ領域内に収めるようにした点である。
本例の循環型ファイルシステムは、初期化時に、記録デバイス15内を、規定のMBBlockサイズ単位で分割し、先頭を0として昇順にデバイス内MBBlock番号を付与する。同時に使用されうる複数の記録デバイスには数ビットのデバイス番号を付与し、固有番号と対応付けて記憶する。
各カメラ領域においても、カメラ領域内で使用する順序を示す番号として、カメラ領域内MBBlock番号が付与される。カメラ領域内MBBlock番号は、先頭番号は0、末尾の番号は「カメラ領域容量Block数」-1である。映像データの記録時には、カメラ領域内MBBlock番号の順で記録される。
カメラ領域内MBBlock番号も単純に昇順に付与した場合、カメラ領域内MBBlock番号はデバイス内MBBlock番号とのオフセットの情報があれば生成できる。
あるいは、デバイス内MBBlock番号(デバイス番号を含む)とカメラ領域内MBBlock番号との対の全てをテーブルとして保持してもよい。ある特別の値のカメラ領域内MBBlock番号は、対応するデバイス内MBBlock番号が未使用であることを示すために使用されうる。
本例では、カメラ領域内のMBBlockを、カメラ領域内MBBlock番号順に、先頭から使用していき、末尾に達した際、また先頭からMBBlockを使用することで循環書き込みが実現される。
ここで、通算MBBlock番号という概念を導入する。これはカメラ領域内の通算のMBBLock番号であり、カメラ領域が作成されてから、何番目に書き込まれたMBBLockかの番号を示し、格納先のMBBlockの更新等に影響されない。
なお、図6と図4との違いは、映像MBblock44の末尾に、目次領域を設けた事が異なる。
先頭フレーム番号431は、ペアとなる映像MBblock44の先頭映像データのフレーム番号(通算フレーム番号)を示す。この通算フレーム番号は、映像データ領域42を作成した時を0とした単調増加の値である。
先頭フレーム時刻433は、ペアとなる映像MBblock44の先頭映像データの映像時刻を示す。
Pack開始アドレス434とPack内フレーム数435は、1Byte(Octet)のサイズを有し、交互に配置され、映像MBblock内のPACK先頭の相対位置と、フレーム数をそれぞれ示す。映像MBblock内のPACKのアドレスと、フレーム数を示す。Packのバイト数は、注目PACKのアドレスと次PACKのアドレスの差分で求まる。
MBblockヘッダ441は、目次情報43と同じ内容を有する当該映像MBblock目次情報43-bと、通算MBBlock番号とを保持する。
なおPack443の境界は、Pack開始アドレス434が8ビットであるがために、映像MBblockのサイズの1/256の単位でのみ選ぶことができ、また当然(物理的な)セクタサイズの単位の制約も受けるため、実際のPack443の末尾には図示しない小さな未使用領域が存在する場合がある。
目次領域443-5は、目次情報43においてはPackの一種として扱われ、対応するPack開始アドレス434-5が保持されている。対応するPack内フレーム数435が“0”の場合は、Packが目次領域であることを示している。
先頭に位置する最古目次情報43-cは、過去映像MBblockの目次情報であり、そのMBblock内目次領域45に格納されるものとしては最も古い。末尾に位置する最新目次情報43-dは、MBblock内目次領域45に格納されるものの中では最新の目次情報である。
また、目次情報43-dは目次情報43-bと同値となる。そのため、映像データの読み出し時、目次情報43-bと43-dが同値でなければ、該映像Block44は途中までしか書き込まれなかった異常な状態であると判定できる。
また、目次領域443-5は、全てのMBblock内目次領域45にそれぞれ設ける必要は無く、間欠的に設けてもよい。目次領域443-5には数千から数万個分の映像MBblock44の目次情報を格納でき、間欠的に設けても十分冗長性を確保できる。結果的に、従来の目次情報領域31に相当する情報が、分散的かつ冗長的に記録されたことになる。
最新MBblockの探索する方法は、まず、カメラ毎の映像領域42-aを、例えば、11等分してサンプリングポイント51-t0~51-t10を決定する。サンプリングポイント51は、映像MBblock44の先頭を指し示すよう整列される。
記録デバイス15からサンプリングポイント51に基づいて11個の映像MBblock44にアクセスし、ヘッダ441内の当該MBblock目次情報43-bを読み出す。
t2(最大)とt3(最少)の間で二分探索を行わないのは、t3のブロックが書き換わっていなく、t3~t4の区間にフレーム番号最大がある場合を疑うからである。t2~t4の区間での二分探索では、初回がt3になり、t3を疑う意味がない。このため、t2~t5の区間で二分探索を行う。
最新MBblockの特定後、ターン1が実行される。バーで示したアドレス空間42-aは、カメラ領域42のリング状の記録構造を、特定された最新映像MBblockの位置で切り開いたもので、左端がおおよそ最古の映像、右端がおおよそ最新の映像に対応する。
メモリ部12に設けられる合成目次領域6に目次領域45-1の目次情報を書き込み、読み出し済み目次領域61-1とする。
この動作を最古に達するまで繰り返す。
すなわち、最新映像MBblockの目次領域から過去方向に遡りながら、メモリ上合成目次領域6に目次情報を書き込むことにより、カメラ領域分の目次情報を合成できる。
目次優先MBblock44-bは、ヘッダ441と映像Pack443-bと目次領域で構成されている。通常のMBblock44では、映像Pack443を10程度格納した残りに目次領域を配置するが、目次優先MBblock44-bでは、目次情報を主に格納する事を目的に、映像Pack443を1個とし、残りの領域を目次領域とする。なお44-bは、映像Pack443なしで全てを目次領域としてもよい。
本実施例2は、概略的に述べると、各カメラ領域の管理情報として少なくとも、容量変更時点での最古の映像データを格納したMBBLock番号と、目次優先MBBlockの配置間隔と、の2つの値を持つ。上記2値は、カメラ領域の「新規作成」or「容量サイズ変更」を行った際に、算出し格納する。
また、録画アプリ稼働中の映像記録時に、上記2値を用いて「目次優先MBBlock」の格納箇所かを判定する。該当箇所であれば、目次優先MBBlockを格納する。
その後、録画或いは再生アプリ起動時には、各カメラ領域毎に、上記2値を用いて目次優先MBBLockを読み出して、カメラ領域の目次領域を合成する。これにより処理の単純化と、記録デバイスの読み出し回数の低減により高速化を、実現する。
本例で用いるカメラ領域毎の管理情報の構造体を表1に示す。管理情報は、記録デバイス15の所定の場所に保持され、例えば、従来の目次情報領域31のような独立した領域を設けてもよく、配置情報40内に含めてもよく、空き領域42-4内の未使用の映像MBBlockに格納してもよい。
カメラ領域のサイズ変更が行われてない時は 0,
カメラ領域のサイズ変更が行われている時は、
カメラ領域のサイズ変更直後の、最古MBBlockの「通算MBBlock番号」とする。
表1中のtmp_IndexMBBlocksの定義は、サンプリング点を、目次優先MBBlock内の最古の目次情報が、2つ前の目次優先MBBlockと重なる間隔とすることを意図している。2つ前の目次優先MBBlockと重ねる理由は、目次優先MBlcokが1つ破損していても、前又は後の目次優先MBBlockから、目次情報を補間できるようにするためである。
判定値=((現MBBlockの通算MBBlock番号 - 基点)% NumOf_MBBlock)%(Interval_IndexMBBlock)
判定値が0の時は、目次優先MBBlockとする。
判定値が0以外の時は、映像データMBBLockとする。
録画アプリの起動時あるいは起動前に、録画アプリ自身或いはOSによって、メモリ部12上に、表1の構造体12Aと、カメラ領域の目次領域12Bと、カメラ領域の目次領域の個々の目次情報が読み込み済みかを示すフラグ配列12Cとが、確保される。
その後、実施例1におけるターンに相当する以下の複数の処理を実行する。
起動時には、基点から一定間隔でMBBlockを読み出す。この処理を起動時サンプリングと呼ぶ。起動時サンプリングの開始のカメラ領域内MBBlock番号は、サンプリング開始点と呼ばれ、以下の式で決定される。
サンプリング開始点=「基点」%NumOf_MBBlock基点が0であれば、サンプリング開始点も0である。
iの時にサンプリングで読み出すカメラ領域内MBBlock番号を、「サンプリング点i」と呼び、以下の式で定まる。
サンプリング点i = (サンプリング開始点 + (Interval_IndexMBBlock)×i)% NumOf_MBBlock.
配置情報40を参照することで、カメラ領域内MBBlock番号は、適宜デバイス内MBBlock番号やLBA(論理ブロックアドレス)等に変換され、MBBlockへのアクセスが可能になる。サンプリング点のMBBlockが全て空(無効)の時は、該カメラ領域は未書き込みと判断する。
(B):読み出したMBBlock.
(Bi):(B)末尾の目次領域内の注目する目次情報.
(Ci): 目次情報(Bi)に対応する位置の、「カメラ領域の目次領域」内の目次情報.
(fi):「カメラ領域のフラグ配列」の(Ci)に対応するフラグ値.
(B_通算MBBlock番号):(B)の通算MBBlock番号. 読み出した(B)のヘッダ領域に格納されている.
(Bi_通算MBBlock番号):(Bi)が指し示す通算MBBlock.
tmp_Bi = (Bi)の格納位置が、(B)の何個前かの値. ただし(B)の目次領域内の末尾は、(B)の目次情報である.
(Bi_通算MBBlock番号) = (B_通算MBBlock番号) - tmp_Bi.
[基点] <= (Bi_通算MBBlock番号),
((fi)==0)または((Ci)の通算フレーム番号<(Bi)の通算フレーム番号).
処理2では、実施例1と同様にサンプリング点での最新と、その3つ後ろのサンプリング点間で、最新MBBlockを二分探索する。ただし、この探索の間も、MBBlockの読み出し時に、MBBlock末尾の目次領域を、カメラ領域の目次情報に格納(上書き更新)する。
フラグ配列を走査し、未読込の箇所を発見した際に、該当箇所のMBBlockを記録デバイスから読みだし、MBBlock末尾の末尾目次情報45(もしあれば)或いは該MBlock目次情報43-bを、カメラ領域の目次領域の目次情報へと格納する。
本実施例3の映像記録装置は、実施例1や2に、正規の終了処理自体を高速化する構成を追加したものである。
従来の記録装置は、動作しているリアルタイムOSが動作させているプロセス(アプリケーション)をひとつずつ終了させて、全てのアプリケーションが終了した後に電源を切断する。この全てのアプリケーションを終了させる処理が時間を掛けている要因となっている。記録媒体にデータを書き込むためのアプリケーションとログを書き込むアプリケーションもこの終了プロセスの中の一つである。
記録装置においては記録媒体に書き込みを行うこととログを書き込むことが最重要であり、他のアプリケーションは基本的に途中で止まっても再起動を行えば最初から動き始めるので問題ない。
外部に通知する信号は、メイン基板101から発信(表示)することも可能であるが、スタンバイ状態(電源供給はされているが記録装置として機能しておらず、最低限の電気だけで動作している状態)の場合は、任意の通知をすることはできない。そこで、電源制御基板103に常に電気が供給されているようにし、代わりにメイン基板101への電源供給は完全に遮断する。電源制御基板103の消費電力は、電源制御基板103のスタンバイ状態のそれとほとんど変わらず省電力であるため、実運用上では問題にはならない。
メイン基板101に供給する電源を切断するには、マイクロプロセッサからの制御が必要だが、電源を切断するには電力が微小であるため、微小信号を受け取って電気経路を機械的に開閉するスイッチ(ラッチングリレー)を用いる場合と、FET(Field Effect Transistor)を用いて切断する方法が適用できる。終了処理信号を受取って直ちに遮断してもよいし、タイマーで所定時間遅らせてもよい。
本例の終了処理においても、S16として、ランレベル 0に対応するスクリプト(rcスクリプト)が実行されるが、スクリプトの内容は、システム時刻のハードウェア時計への書き込み、記録デバイスのアンマウント、及び、ロギングプロセス(syslogd等)を(正常)終了させることのみである。ここで映像の記録デバイス105と、ログファイルが書き込まれるディスク(パーティション)が別々であれば、アンマウントとログ書込みに順序は無く、同時に行うこともできる。なおアンマウントには通常、カーネルによるキャッシュをディスクに書き出させるsync処理を含む。
S18において、終了処理完了通知が電源制御基板103で受信されれば、S19として、メイン基板101へ供給している電源が遮断される。S17の終了処理完了通知を行うコマンドの後ろに、rcスクリプトの続きがあったとしても、強制的に電源OFFされるため、それらは実行されないだろう。
組込みOSの分野では、システム(OS)のディスク(パーティション)が、リードオンリーでマウントされることが多い。その場合、システムディスクをアンマウントせずに電源断されても、悪影響はない。
101:メイン基板、 102:電源部、 103:電源制御基板、 104:ネットワーク制御部、 105:記録デバイス、 106:電源SW。
Claims (6)
- 映像データ領域と配置情報領域とを有する記録デバイスを備えた映像記録装置であって、
前記映像データ領域は、1MB以上の同一のサイズを有する複数のブロックから構成され、
前記配置情報領域は、前記映像データ領域に記憶しているブロックの配置情報を記憶し、
前記複数のブロックのそれぞれは、複数のフレームの映像データを格納し、前記複数のブロックの内の一部の複数のブロックは、当該ブロックを基準として過去の連続する複数のブロックの目次情報を格納する目次領域を備えたことを特徴とする映像記録装置。 - 前記目次領域は、当該ブロックの後端に設けられるか、当該ブロック内の所定のサイズに満たない余り領域を利用して設けられることを特徴とする請求項1記載の映像記録装置。
- 前記映像データ領域は、映像源毎に分割され、
前記目次領域は、前記分割された映像データ領域毎に、複数のブロックに設けられることを特徴とする請求項1又は2に記載の映像記録装置。 - 映像源毎に分割され、は、複数のブロックの目次領域に亘って分散的に記憶された目次情報以外に、目次情報を有せず、起動の都度、当該目次領域の目次情報から、使用されている前記複数のブロックの全ての目次を復元することを特徴とする請求項2又は3に記載の映像記録装置。
- 前記配置情報領域は、前記複数のブロックにインデックス番号を付与して管理し、
前記映像データ領域は、所定の規則で定まる前記複数のブロックの一部を、前記目次領域を優先的に配置する目次優先ブロックとして用い、当該目次優先ブロックが壊れていない限り、当該目次優先ブロックのみの読出しにより、前記映像データ領域で使用されている前記複数のブロックの全ての目次を復元することを特徴とする請求項2又は3に記載の映像記録装置。 - 配置情報領域と映像データ領域を有する記録デバイスを備えた映像記録装置の映像記録方法であって、
前記記録デバイスに配置情報領域と映像データ領域を設定し、前記映像データ領域に映像データと映像データの最後尾の目次領域に映像データの目次情報を記憶し、前記映像データ領域に記憶している映像データの配置情報を前記配置情報領域に記憶することを特徴とする映像記録装置の映像記録方法。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016562627A JP6367968B2 (ja) | 2014-12-01 | 2015-12-01 | 映像記録装置および映像記録方法 |
EP15865897.1A EP3229464B1 (en) | 2014-12-01 | 2015-12-01 | Video recording device and video recording method |
US15/532,114 US10789989B2 (en) | 2014-12-01 | 2015-12-01 | Video recording apparatus and video recording method |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014-243154 | 2014-12-01 | ||
JP2014243154 | 2014-12-01 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016088741A1 true WO2016088741A1 (ja) | 2016-06-09 |
Family
ID=56091683
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2015/083707 WO2016088741A1 (ja) | 2014-12-01 | 2015-12-01 | 映像記録装置および映像記録方法 |
Country Status (4)
Country | Link |
---|---|
US (1) | US10789989B2 (ja) |
EP (1) | EP3229464B1 (ja) |
JP (1) | JP6367968B2 (ja) |
WO (1) | WO2016088741A1 (ja) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08111080A (ja) * | 1994-10-07 | 1996-04-30 | Nippon Columbia Co Ltd | 光ディスク再生装置 |
JPH11162145A (ja) * | 1997-11-28 | 1999-06-18 | Yamaha Corp | 光ディスク及びその再生システム |
JP2000020365A (ja) * | 1998-07-07 | 2000-01-21 | Matsushita Electric Ind Co Ltd | データ処理装置、及びそのファイル管理方法 |
JP2004220355A (ja) * | 2003-01-15 | 2004-08-05 | Sony Corp | ファイルシステム、ファイル操作機構、ファイル操作方法 |
JP4237549B2 (ja) * | 2003-05-29 | 2009-03-11 | 株式会社日立国際電気 | 循環記録装置 |
JP4401132B2 (ja) * | 2003-09-19 | 2010-01-20 | 株式会社日立国際電気 | 循環記録装置 |
JP2010028754A (ja) * | 2008-07-24 | 2010-02-04 | Hitachi Kokusai Electric Inc | 録画転送装置 |
JP4583270B2 (ja) * | 2005-08-16 | 2010-11-17 | 株式会社日立国際電気 | 記録装置 |
JP2011087080A (ja) * | 2009-10-14 | 2011-04-28 | Hitachi Kokusai Electric Inc | 映像記録装置 |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5724474A (en) * | 1993-09-30 | 1998-03-03 | Sony Corporation | Digital recording and reproducing apparatus and index recording method |
KR960706261A (ko) * | 1994-08-31 | 1996-11-08 | 이데이 노부유키 | 정지 화상 시스템(Still picture system) |
JP2002135696A (ja) * | 2000-10-23 | 2002-05-10 | Matsushita Electric Ind Co Ltd | 情報配信再生システム、情報配信方法、情報再生方法、情報記録方法、情報配信装置、情報再生装置、情報記録装置、記録媒体、および作業装置。 |
WO2003030173A2 (en) | 2001-10-02 | 2003-04-10 | Koninklijke Philips Electronics N.V. | Method and apparatus for recording a digital information signal |
KR100891107B1 (ko) * | 2002-09-10 | 2009-03-30 | 삼성전자주식회사 | 결함 정보 관리 방법 및 그 장치 |
US8374480B2 (en) * | 2009-11-24 | 2013-02-12 | Aten International Co., Ltd. | Method and apparatus for video image data recording and playback |
JP5805991B2 (ja) * | 2010-05-07 | 2015-11-10 | トムソン ライセンシングThomson Licensing | ピクチャ・シーケンスを符号化する方法、それに対応する再構築方法、および当該シーケンスを表す符号化データのストリーム |
US10152524B2 (en) * | 2012-07-30 | 2018-12-11 | Spatial Digital Systems, Inc. | Wavefront muxing and demuxing for cloud data storage and transport |
US8756361B1 (en) * | 2010-10-01 | 2014-06-17 | Western Digital Technologies, Inc. | Disk drive modifying metadata cached in a circular buffer when a write operation is aborted |
JP5269063B2 (ja) * | 2010-12-27 | 2013-08-21 | 株式会社東芝 | ビデオサーバ及びシームレス再生方法 |
TWI519147B (zh) * | 2011-12-28 | 2016-01-21 | 財團法人工業技術研究院 | 提供與傳送複合濃縮串流之方法以及系統 |
-
2015
- 2015-12-01 US US15/532,114 patent/US10789989B2/en active Active
- 2015-12-01 EP EP15865897.1A patent/EP3229464B1/en active Active
- 2015-12-01 WO PCT/JP2015/083707 patent/WO2016088741A1/ja active Application Filing
- 2015-12-01 JP JP2016562627A patent/JP6367968B2/ja active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08111080A (ja) * | 1994-10-07 | 1996-04-30 | Nippon Columbia Co Ltd | 光ディスク再生装置 |
JPH11162145A (ja) * | 1997-11-28 | 1999-06-18 | Yamaha Corp | 光ディスク及びその再生システム |
JP2000020365A (ja) * | 1998-07-07 | 2000-01-21 | Matsushita Electric Ind Co Ltd | データ処理装置、及びそのファイル管理方法 |
JP2004220355A (ja) * | 2003-01-15 | 2004-08-05 | Sony Corp | ファイルシステム、ファイル操作機構、ファイル操作方法 |
JP4237549B2 (ja) * | 2003-05-29 | 2009-03-11 | 株式会社日立国際電気 | 循環記録装置 |
JP4401132B2 (ja) * | 2003-09-19 | 2010-01-20 | 株式会社日立国際電気 | 循環記録装置 |
JP4583270B2 (ja) * | 2005-08-16 | 2010-11-17 | 株式会社日立国際電気 | 記録装置 |
JP2010028754A (ja) * | 2008-07-24 | 2010-02-04 | Hitachi Kokusai Electric Inc | 録画転送装置 |
JP2011087080A (ja) * | 2009-10-14 | 2011-04-28 | Hitachi Kokusai Electric Inc | 映像記録装置 |
Also Published As
Publication number | Publication date |
---|---|
EP3229464A4 (en) | 2018-06-13 |
JPWO2016088741A1 (ja) | 2017-10-05 |
EP3229464B1 (en) | 2021-01-27 |
JP6367968B2 (ja) | 2018-08-01 |
US10789989B2 (en) | 2020-09-29 |
US20170270975A1 (en) | 2017-09-21 |
EP3229464A1 (en) | 2017-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107870973B (zh) | 一种加快多路监控同时回放的文件存储*** | |
KR100245962B1 (ko) | 풀-모션 비디오 화면의 화상 시이퀀스를 전송하는 방법과 상기전송을 위한 매체 | |
KR101059653B1 (ko) | 정보 처리 장치, 정보 처리 방법, 및 기록 매체 | |
JP2007122221A (ja) | 情報処理装置、および情報処理方法、並びにコンピュータ・プログラム | |
CN107817950B (zh) | 一种数据处理方法及装置 | |
JP4583270B2 (ja) | 記録装置 | |
JP6137980B2 (ja) | 記録装置およびその制御方法 | |
CN105100716A (zh) | 一种用于网络视频监控的安全存储单元及其*** | |
US7010719B2 (en) | External storage device capable of selectively storing data in a semiconductor memory or a hard disk | |
JP2007233512A (ja) | データ記録装置、データ記録方法、及びプログラム | |
JP2015029231A (ja) | 記録装置およびその制御方法 | |
JP6367968B2 (ja) | 映像記録装置および映像記録方法 | |
JP2004266386A (ja) | 記録装置 | |
JP2001045420A (ja) | 記録装置、方法及びコンピュータ読み取り可能な記憶媒体 | |
JP2001312875A (ja) | 記録再生ディスク制御装置、及びそれを用いたディスク装置 | |
BRPI1106274A2 (pt) | dispositivo e mÉtodo de gravaÇço, dispositivo e formaÇço de imagem e gravaÇço, e, programa | |
JP4274783B2 (ja) | 記録装置 | |
JP5336993B2 (ja) | 映像記録装置及び映像記録方法 | |
WO2018186455A1 (ja) | 不揮発性メモリにおける空き容量管理方法、及び不揮発性メモリを含む情報記録装置にデータを記録するアクセス装置、情報記録装置および情報記録システム | |
JP2009140233A (ja) | 映像記録装置および監視システム | |
JP2006351089A (ja) | 映像情報記録再生方法及び映像情報記録再生装置 | |
CN113038248B (zh) | 文件处理方法和装置、视频播放方法和装置及电子装置 | |
JP2004078704A (ja) | 映像音声記録再生装置とそのファイル読み書き方法 | |
CN115202581A (zh) | 一种视频流数据的存储方法、装置以及介质 | |
CN116881042A (zh) | Mp4文件录制断电恢复方法、装置、设备和存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15865897 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2016562627 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
REEP | Request for entry into the european phase |
Ref document number: 2015865897 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 15532114 Country of ref document: US |