Background of the Invention
1. Field of the Invention
The present invention relates to a closed-circuit television (CCTV) system having an improved detection function and a detecting method suited for the system. More particularly, it relates to a CCTV system in which video signals generated through a monitoring camera can be detected according to a specific event of concern and/or time of day conditions, and a detecting method suited for the system.
The present application for a closed-circuit television (CCTV) system having an improved detection function and a detecting method, is based on Korean Application No. 95-24794 which is incorporated herein by reference for all purposes.
2. Description of the Prior Art
In a conventional CCTV system, when an abnormal condition or event, such as an intrusion by a stranger or when a fire alarm suspected, the only way to detect the abnormal condition or event is to play back a number of recording media, e.g., magnetic tapes, one at a time, storing camera signals, in order to ascertain the event by viewing a monitor screen. This detecting method is inefficient and results in a great waste of time, since the recording media for each monitoring camera should be played back in its entirety, such viewing can take a long time.
Recently, a CCTV system has been developed which comprises a plurality of monitoring cameras, a frame switching unit for switching outputs of the multiple of monitoring cameras at a frame cycle, a video cassette recorder for recording a video signal which is generated through a monitoring camera and switched in the frame switching unit, reproducing the recorded video signal, and outputting the reproduced signal to the frame switching unit, and a display divider for displaying the camera output which is reproduced in the video cassette recorder and output from the frame switching unit as a plurality of pictures. Here, the outputs of the plurality of monitoring cameras can be recorded on a single recording tape, using a single video cassette recorder, thereby reducing the time to detect a desired picture recorded on the tape.
The CCTV system as described above, however, inefficiently performs detection, since it must ascertain signals recorded on the tape from the beginning of the tape to the end, in order to ascertain an event.
Meanwhile, an example of an image recording and reproducing apparatus for rapidly detecting information recorded on a recording medium, an apparatus, is disclosed in U.S. Pat. No. 5,239,428 to Nishida et at. This image recording and reproducing apparatus is capable of performing rapid reproduction by recording identification (ID) information, indicative of positions of the starting points of recording areas on the recording tape, thereby obtaining easy access to the starting points of the recording areas.
Summary of the Invention
It is an object of the present invention to provide a CCTV system in which specific event and time of day ID codes are recorded along with signals generated from a plurality of monitoring cameras.
It is another object of the present invention to provide a CCTV system which allows rapid detection of an event by detecting camera signals which are generated from a plurality of monitoring cameras, along with which event and time of day ID codes are recorded, based on the corresponding ID code.
It is still another object of the present invention to provide a detecting method suited for the CCTV system which allows rapid detection of a plurality of camera signals along with which event and time-of-day ID codes are recorded.
According to one characteristic of the invention, when recording camera signals generated from a plurality of monitoring cameras in a CCTV system, ID codes are generated according to the type of event, such as alarm, a video signal loss, or an intrusion by a stranger. Furthermore, recording-time ID codes for the events are generated, and the generated ID codes are recorded on a single recording tape during the vertical blanking periods of the camera signals.
Further, according to another characteristic of the invention, an ID code is detected, where the ID code is recorded during the vertical blanking period of a camera signal to be reproduced during a reproduction operation. The detected ID code is compared with a type of event and time it is to be detected, which are designated by a user. A camera signal whose ID code represents the type of event and time to be detected is reproduced and displayed, thereby reducing time for detection and increasing detection efficiency.
Brief Description of the Drawings
The above objects and advantages of the present invention will become more apparent by describing in detail a preferred embodiment thereof with reference to the attached drawings in which:
FIG. 1 is a simplified block diagram of a CCTV system according to the present invention;
FIG. 2 is a detailed block diagram of the frame switching unit shown in FIG. 1;
FIG. 3 is a flow-chart diagram of a detecting method performed by the microcomputer shown in FIG. 2;
FIG. 4 is a display showing a user designation mode;
FIG. 5 is a display showing on a monitor the arrangement of a full-screen picture; and
FIG. 6 is a display showing on a monitor the arrangement of the multiscreen pictures.
Detailed Description of the Invention
The embodiment of the present invention is described below with respect to the attached drawings.
FIG. 1 is a simplified block diagram of a CCTV system according to the present invention.
In FIG. 1, the CCTV system is comprised of a camera pool 100, which includes n monitoring cameras (100.1-100.n), and a frame switching unit 200 for switching between video signals generated by and output from the monitoring cameras (100.1-100.n) at a frame cycle of 1/30 second. It also includes an image recording and reproducing device 300 with a recorder 310 for recording a camera output selected every 1/30 seconds on a recording medium 320 and a reproducer 330 for reproducing the signal recorded on the recording medium 320 and providing the reproduced signal to the frame switching unit 200. The CCTV system also includes a display divider 400 for displaying a camera signal or camera signals reproduced by image recording and reproducing apparatus 300 in accordance with corresponding channels of image recording and reproducing apparatus 300, where each of the camera signals are reproduced as a full screen picture or multiscreen pictures on a monitor 500. In this CCTV system, a video cassette recorder (VCR) is generally used as the image recording and reproducing apparatus.
FIG. 2 is a detailed block diagram of frame switching unit 200 shown in FIG. 1.
The process of recording case ID codes as per predetermined physical and/or time-of-day conditions will be described.
In FIG. 2, which shows frame switching unit 200, a matrix switch 210 switches between all of the camera outputs which are input via a plurality of channels from camera pool 100, each at a frame cycle of 1/30 seconds.
A first decoder 221 separates a camera input signal, selected with matrix switch 210, into a red-green-blue (RGB) signal, and horizontal and vertical synchronization signals.
A first buffer memory 222 stores, in units of frames, the RGB signal separated by first decoder 221. First buffer memory 222 includes an analog-to-digital converter for converting the RGB signal separated by first decoder 221 into a digital signal, and a digital-to-analog converter for converting the stored data into an analog signal.
A first encoder 223 converts the RGB signal stored, in units of frames, in first buffer memory 222 into a composite video signal.
A sensor 230 generates a sensing signal for generating an alarm, by sensing an event of the surroundings. For example, sensor 230 may be an infrared sensor for sensing smoke to detect a fire. In the present invention, sensor 230 can be provided independently of existing sensors, or the sensing signal of an existing sensor can be utilized.
A synchronization signal detector 240 detects a synchronization signal output from first decoder 221 and outputs a detection signal.
A motion detector 250 detects motion by observing differences between a previous picture frame and a present picture frame, both generated from first buffer memory 222, and outputs a detection signal based on the detected motion. Here, motion detector 250 utilizes the difference between frames of a camera output on a single channel.
An ID code generator 260 generates an ID code according to predetermined conditions, such as a break-in, a fire, and so on, based on the sensing signal generated by sensor 230. A microcomputer 271 outputs a control signal to a timer 272, upon recognizing generation of the ID code.
Timer 272 produces date and time data when an ID code is generated, and outputs the data to ID code generator 260.
The synchronization signal detector 240 outputs a first detection signal when no synchronization signal is detected from first decoder 221.
ID code generator 260 generates an ID code indicating loss of video, in response to the first detection signal output from synchronization detector 240. At this time, ID code generator 260 generates a recording-date and -time ID code based on the time and date data provided by timer 272.
Motion detector 250 detects differences between a previous picture frame and a present picture frame from an output of a camera on a channel. If the frame difference value is equal to or greater than a predetermined value, it outputs a second detection signal.
ID code generator 260 generates an ID code, in response to the second detection signal output from motion detector 250, indicating detection of motion. At this time, ID code generator 260 generates a recording-date and -time ID code based on the timing data provided by timer 272.
An ID code adder 224 adds an ID code, generated in ID code generator 260, during the vertical blanking period of the composite video signal output from first encoder 221, along with a recording-date and -time ID code, and provides the result to recorder 310, shown in FIG. 1.
Here, memory 273 stores the ID codes generated in ID code generator 260 according to predetermined physical and time-of-day conditions based on control signals, e.g., a writing signal and an address signal, generated from microcomputer 271.
The detection process performed during reproduction is described below.
A second decoder 281, whose input port is connected to the output port of reproducer 330, receives a reproduced signal and separates the signal into a RGB signal and an ID signal present in a vertical blanking period of the RGB signal.
A second buffer memory 282 stores the RGB signal separated in second decoder 281. Second buffer memory 282 has an analog-to-digital converter for converting the RGB signal separated by second decoder 281 into a digital signal, and it has a digital-to-analog converter for converting stored data into an analog signal. A second encoder 283 reads out the data of a channel stored in second buffer memory 282, in units of a frame and, during a normal reproduction operation, displays the read-out data on monitor 500 as a full-screen picture through display divider 400, or displays video signals of a channel on monitor 500 as multiscreen pictures.
Meanwhile, an ID code decoder 290 reads out the ID signal separated by second decoder 281 and determines what event, e.g. alarm, video loss or motion detection, the read-out ID represents. The result is output to microcomputer 271 and an on-screen display (OSD) generator 274.
Microcomputer 271 compares the type of event and time-of-day ID codes, which a user designates through a key-input unit 201, with the readout result in ID code decoder 290. If there exists an event corresponding to the event and time-of-day conditions to be detected, microcomputer 271 controls display divider 400 shown in FIG. 1 to display the event as a full-screen picture. If there exist two or more events corresponding to the event and time-of-day condition to be detected, microcomputer 271 controls display divider 400 to display the events as multiscreen pictures.
Further, microcomputer 271 outputs an OSD control signal to OSD generator 274 when a key-input is entered according to a user designation mode.
OSD generator 274 is comprised of a field programmable gate array (FPGA), and generates an OSD signal corresponding to the user designation mode for inputting an event to be detected, and a time-of-day condition to be detected.
Microcomputer 271 identifies the event and time-of-day condition to be detected, which have been designated by the user and received through key input unit 201, and the read-out result in ID code decoder 290. Microcomputer 271 also reads out the frame data corresponding to the event and time-of-day condition which the user designated in second buffer memory through second encoder 283, and displays the frame data on monitor 500 through display divider 400 shown in FIG. 1. Here, an OSD of the event and recording-date and -time corresponding to the ID code loaded in the frame data of the detected picture is generated in OSD generator 274 according to an OSD control signal of microcomputer 271. The generated OSD and the frame data detected in encoder 283 are mixed in a mixer 284 and displayed on monitor 500.
Here, microcomputer 271 includes a ROM with a built-in detection-processing and system-controlling program, and it initializes the user designation mode when a reset key is input through key-input unit 201.
Memory 273 stores detection list data of a predetermined duration, and thus, OSD generator 274 generates an OSD under the control of microcomputer 271. Accordingly, the OSD can be displayed on monitor 500.
The dotted-line box 220 as shown in FIG. 1, including first decoder 221, first buffer memory 222, first encoder 223, and ID code adder 224, serves as a signal processing unit. A unit serving as a system controller 270 includes a timer 272, a microcomputer 271, a memory 273, and a OSD generator 274. A second signal processing unit 280 is also shown in FIG. 2, which includes a mixer 284, a second encoder 283, a second buffer memory 282 and a second decoder 281. Here, OSD generator 274 of the present invention is provided in system controller 270, although it may be provided apart from system controller 270 as well.
FIG. 3 is a flow chart of a detecting method performed by the microcomputer shown in FIG. 2.
In step 101, when power is supplied or a reset key is activated, a user designation mode is initialized.
A user designation mode display is illustrated in FIG. 4. A user designates an event to be detected by inputting a number corresponding to the event, for example, alarm, video loss, or motion, as shown in the user designation mode display. A detection time is designated by inputting start information, in a form such as: yy(year)/mm(month)/dd(date), hh(hour)/mm(minute)/ss(second), and end information in a form such as: yy/mm/dd hh/mm/ss.
In step 103, the user designating mode designated in step 102 is displayed on the screen of monitor 500 shown in FIG. 1.
In step 104, the ID code added during the vertical blanking period is separated from the RGB signal by second decoder 281. The ID code is then read out by ID code decoder 290. If an ID code is not present in the vertical blanking period, then the procedure loops back to step 103.
When the ID code is read out, it is determined, in step 105, whether the event is identical with the user designation mode displayed in step 103. If the ID code does not represent the designated event, the procedure loops back to step 103, and an OSD corresponding to the user designation mode is displayed on monitor 500.
When the ID code represents the designated event, as determined in step 105, it is then determined in step 106 whether or not the event occurred at the detection time designated by the user.
When the recording-time of the ID code does not equal the time to be detected, the procedure returns to step 103, and the user designation mode is displayed on the screen of monitor 500 as an OSD.
When the recording-time of the ID code equals the time to be detected, it is determined, in step 107, whether one or more of the detected events are identical with the user designated event corresponding to the detection time designated in step 103.
In step 108, if there is only a single channel representing the designated event which took place at the designated time, the detected picture is displayed on monitor 500 as a full picture. A predetermined time later, the procedure returns to step 103 and the user designation mode is displayed on the screen.
In step 109, if there are two or more channels representing the designated event which took place at the designated time, the detected pictures are displayed as multiscreen pictures. Similar to the situation in which only a single channel represents the designated event, the procedure returns to step 103 a predetermined time later, and the user designation mode is displayed.
For example, in the case where the number of channels representing an alarm condition which occurred at a designated time to be detected is one, a full picture is displayed as shown in FIG. 5. If the number of channels representing an alarm condition which occurred at the designated time to be detected is two or more (in this case, four), multiscreen pictures are displayed as shown in FIG. 6.
As described above, the CCTV system according to the present invention, has the advantages that the amount of total hardware required can be significantly reduced, since a plurality of signals generated from a plurality of monitoring cameras can be sampled, combined and recorded on a single recording tape. The CCTV system according to the present invention also has the advantage that the time for detection is reduced and detection efficiency is maximized since user detection is performed according to the type of event and the time designated by a user.
Although the preferred embodiment of the present invention has been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the invention as disclosed in the accompanying claims.