Abstract:
The present disclosure relates to a sensor network, Machine Type Communication (MTC), Machine-to-Machine (M2M) communication, and technology for Internet of Things (IoT). The present disclosure may be applied to intelligent services based on the above technologies, such as smart home, smart building, smart city, smart car, connected car, health care, digital education, smart retail, security and safety services. Methods and apparatuses are provided for operating a camera in a security system. A video is recorded. A subject from the video is identified. A moving path of the subject is predicted. At least one neighboring camera corresponding to the moving path is discovered. At least one target camera is selected from among the at least one neighboring camera. A recording command including information about the subject and the moving path is transmitted to the at least one target camera.

Description:
PRIORITY 
       [0001]    This application claims priority under 35 U.S.C. §119(a) to a Korean Patent Application filed in the Korean Intellectual Property Office on Dec. 26, 2014 and assigned Serial No. 10-2014-0190724, the content of which is incorporated herein by reference. 
       BACKGROUND 
       [0002]    1. Field of the Disclosure 
         [0003]    The present disclosure relates generally to a security system, and more particularly, to a method for and an apparatus for operating the security system. 
         [0004]    2. Description of the Related Art 
         [0005]    The Internet, which is a human centered connectivity network through which humans generate and consume information, is now evolving to the Internet of Things (IoT) in which distributed entities exchange and process information without human intervention. The Internet of Everything (IoE) has also been developed, which is a combination of IoT technology and the Big Data processing technology through a connection with a cloud server. Technology elements, such as, for example, “sensing technology”, “wired/wireless communication and network infrastructure”, “service interface technology”, and “Security technology”, have been demanded for IoT implementation. Accordingly, a sensor network, Machine-to-Machine (M2M) communication, and Machine Type Communication (MTC) have been researched. 
         [0006]    An IoT environment may provide intelligent Internet technology services, which provide a new value by collecting and analyzing data generated among connected things. IoT may be applied to a variety of fields including, for example, smart home, smart building, smart city, smart car or connected cars, smart grid, health care, smart appliances, and advanced medical services, through the convergence and combination of existing Information Technology (IT) with various industrial applications. 
         [0007]    Security systems, which generally use one or more security cameras, are configured to monitor a situation in a desired monitoring area. Multiple cameras, which are installed for security or crime prevention in each monitoring area, store recorded videos or output the recorded videos on a real-time basis. The multiple cameras may be installed in a monitoring area, such as, for example, in a building, on a street, at home, etc. Multiple cameras that are installed in a home are connected with a home network system that connects home devices installed in the home through a wired or wireless network, which enables control over the home devices. 
         [0008]    In the security system, a camera senses occurrence of an intruder, that is, an object, and tracks and records the object. However, if the object falls beyond or deviates from a visible range of the camera, it may be impossible to track the object. For example, if a subject is occluded by an obstacle, if the subject moves beyond a view of the camera, or if recording becomes difficult to perform due to an increased distance between the subject and the camera, it may be impossible to perform tracking of the subject. 
         [0009]    Thus, a technique has been developed in which a camera automatically starts recording, senses motion of the object, and automatically moves with the object, if the object is detected by the camera. Nonetheless, if the object moves beyond a visible range of the camera, the camera may not detect the object. 
       SUMMARY 
       [0010]    The present disclosure has been made to address at least the above problems and/or disadvantages and to provide at least the advantages described below. Accordingly, an aspect of the present disclosure provides a method and an apparatus for providing a security service by using multiple cameras. 
         [0011]    Another aspect of the present disclosure provides a method and an apparatus for monitoring a situation in a particular area by using multiple cameras. 
         [0012]    Another aspect of the present disclosure provides a method and an apparatus for providing a security service by using multiple cameras. 
         [0013]    Another aspect of the present disclosure provides a method and an apparatus for tracking and recording an object by using multiple cameras. 
         [0014]    Another aspect of the present disclosure provides a method and an apparatus for providing a security service by using multiple sensors. 
         [0015]    Another aspect of the present disclosure provides a method and an apparatus for sensing an abnormal situation in a monitoring area by using multiple cameras and multiple sensors. 
         [0016]    According to an embodiment of the present disclosure, a camera in a security system is provided. The camera includes a video recording unit configured to record a video. The camera also includes a controller configured to identify a subject from the video, to predict a moving path of the subject, to discover at least one neighboring camera corresponding to the moving path, to select at least one target camera from among the at least one neighboring camera, and to generate a recording command including information about the subject and the moving path. The camera further includes a communication unit configured to transmit the recording command to the at least one target camera. 
         [0017]    According to another embodiment of the present disclosure, a method for operating a camera in a security system is provided. A video is recorded. A subject from the video is identified. A moving path of the subject is predicted. At least one neighboring camera corresponding to the moving path is discovered. At least one target camera is selected from among the at least one neighboring camera. A recording command including information about the subject and the moving path is transmitted to the at least one target camera. 
         [0018]    According to an additional embodiment of the present disclosure, an article of manufacture is provided for operating a camera in a security system. The article of manufacture includes a non-transitory machine readable medium containing one or more programs, which when executed implement the steps of: recording a video; identifying a subject from the video; predicting a moving path of the subject; discovering at least one neighboring camera corresponding to the moving path; selecting at least one target camera from among the at least one neighboring camera; and transmitting a recording command comprising information about the subject and the moving path to the at least one target camera. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0019]    The above and other aspects, features, and advantages of the present disclosure will be more apparent from the following detailed description when taken in conjunction with the accompanying drawings, in which: 
           [0020]      FIG. 1  is a diagram illustrating a structure of a monitoring system, according to an embodiment of the present disclosure; 
           [0021]      FIGS. 2A and 2B  are diagrams illustrating a moving scenario of a subject, according to an embodiment of the present disclosure; 
           [0022]      FIG. 3  is a flowchart illustrating an operating process of a camera, according to an embodiment of the present disclosure; 
           [0023]      FIG. 4  is a block diagram illustrating a camera capable of tracking a subject, according to an embodiment of the present disclosure; 
           [0024]      FIG. 5  is a message flow diagram illustrating an interworking procedure between multiple cameras, according to an embodiment of the present disclosure; 
           [0025]      FIGS. 6A and 6B  are diagrams illustrating a process in which multiple cameras track an object, according to an embodiment of the present disclosure; 
           [0026]      FIG. 7  is a diagram illustrating tracking of a moving path using a sensor, according to an embodiment of the present disclosure; 
           [0027]      FIG. 8  is a diagram illustrating a broadcasting discovery procedure, according to an embodiment of the present disclosure; 
           [0028]      FIGS. 9A and 9B  are diagrams illustrating a zone-based broadcasting discovery procedure, according to an embodiment of the present disclosure; 
           [0029]      FIGS. 10A and 10B  are diagrams illustrating a directional antenna-based discovery procedure, according to an embodiment of the present disclosure; 
           [0030]      FIG. 11  is a flowchart illustrating a process of discovering a target camera, according to an embodiment of the present disclosure; 
           [0031]      FIG. 12  is a flowchart illustrating a process of starting recording at the request of a neighbor camera, according to an embodiment of the present disclosure; 
           [0032]      FIG. 13  is a diagram illustrating a procedure for selecting and controlling a target camera, according to an embodiment of the present disclosure; 
           [0033]      FIG. 14  is a diagram illustrating a procedure for selecting and controlling a target camera based on broadcasting, according to an embodiment of the present disclosure; 
           [0034]      FIG. 15  is a diagram illustrating a structure of a monitoring system including multiple sensors, according to an embodiment of the present disclosure; 
           [0035]      FIGS. 16A and 16B  are diagrams illustrating multiple sensors and multiple cameras are installed, according to an embodiment of the present disclosure; 
           [0036]      FIG. 17  is a diagram illustrating a tracking and monitoring scenario based on interworking with multiple sensors, according to an embodiment of the present disclosure; 
           [0037]      FIGS. 18A and 18B  are diagram illustrating multiple sensors and multiple cameras, according to another embodiment of the present disclosure; 
           [0038]      FIG. 19  is a diagram illustrating a tracking and monitoring scenario based on interworking with multiple sensors, according to an embodiment of the present disclosure; 
           [0039]      FIG. 20  is a diagram illustrating a tracking and monitoring scenario based on interworking with multiple sensors, according to another embodiment of the present disclosure; 
           [0040]      FIGS. 21A through 21E  are diagram illustrating a tracking and monitoring scenario based on interworking with multiple sensors, according to another embodiment of the present disclosure; 
           [0041]      FIG. 22  is a flowchart illustrating a process of sensing a situation based on multiple sensors, according to an embodiment of the present disclosure; and 
           [0042]      FIGS. 23A through 23D  are diagrams illustrating a situation sensed using multiple sensors, according to an embodiment of the present disclosure. 
       
    
    
     DETAILED DESCRIPTION 
       [0043]    Embodiments of the present disclosure are described in detail with reference to the accompanying drawings. The same or similar components may be designated by the same or similar reference numerals although they are illustrated in different drawings. Detailed descriptions of constructions or processes known in the art may be omitted to avoid obscuring the subject matter of the present disclosure. 
         [0044]    It is to be noted that some components shown in the drawings are exaggerated, omitted, or schematically illustrated, and the drawn size of each component does not exactly reflect its real size. 
         [0045]    It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer program instructions may also be stored in a non-transitory computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the non-transitory computer-readable memory produce an article of manufacture including instruction means which implement the function/act specified in the flowchart and/or block diagram block or blocks. The computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operations to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide operations for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. 
         [0046]    Furthermore, the respective block diagrams may illustrate parts of modules, segments, or codes including one or more executable instructions for performing specific logic function(s). Moreover, it should be noted that the functions of the blocks may be performed in a different order in several modifications. For example, two successive blocks may be performed substantially at the same time, or may be performed in reverse order according to their functions. 
         [0047]    The term “unit”, as used herein, means, but is not limited to, a software or hardware component, such as a Field Programmable Gate Array (FPGA) or Application Specific Integrated Circuit (ASIC), which performs certain tasks. A unit may advantageously be configured to reside on a non-transitory addressable storage medium and configured to be executed on one or more processors. Thus, a unit may include, by way of example, components, such as software components, object-oriented software components, class components and task components, processes, functions, attributes, procedures, subroutines, segments of program code, drivers, firmware, microcode, circuitry, data, databases, data structures, tables, arrays, and variables. The functionality provided in the components and units may be combined into fewer components and units or further separated into additional components and units. In addition, the components and units may be implemented such that they execute one or more Central Processing Units (CPUs) in a device or a secure multimedia card. 
         [0048]    Embodiments of the present disclosure focus on wireless communication systems based on Orthogonal Frequency Division Multiplexing (OFDM), however, the subject matter of the present disclosure may also be applied to other communication systems and services having similar technical backgrounds and channel forms without largely departing from the scope of the present disclosure according to a determination of those of ordinary skill in the art. 
         [0049]      FIG. 1  is a diagram illustrating a schematic structure of a monitoring system, according to an embodiment of the present disclosure. 
         [0050]    Referring to  FIG. 1 , a monitoring system includes a plurality of cameras (camera # 1   102  through camera #N  104 ) configured to record an object while tracking movement of the object. The cameras  102  and  104  are configured to communicate with each other through a network  100  based on a wired and/or wireless technique. According to an embodiment of the present disclosure, the monitoring system may further include at least one of a gateway  110 , a sever  112 , and a user terminal  114  that are connectable to the cameras  102  and  104  through the network  100 . The gateway  110  controls a connection between the cameras  102  and  104  and a connection to other security devices, and controls an interworking between the cameras  102  and  104  the other security devices. The server  112  receives, converts, and stores videos recorded by the cameras  102  and  104 , and provides the videos in response to a user&#39;s request. The user terminal  114  connects to at least one of the cameras  102  and  104 , the gateway  110 , and the server  112  through the network  100 , sends a recording command, or collects desired information. 
         [0051]    The cameras  102  and  104  are installed at designated locations in a monitoring area, and may be configured to perform recording at all times or may be configured to perform recording upon sensing motion. Accordingly, at least some of the cameras  102  and  104  may interwork with an adjacent motion sensor or may include a motion sensor. 
         [0052]      FIGS. 2A and 2B  are diagrams illustrating a scenario in which a subject moves, according to an embodiment of the present disclosure. 
         [0053]    Referring to  FIG. 2A , a first camera  202  and a second camera  206  are installed in their respective locations and are configured to rotate up/down, to the left/to the right, and up/down/to the left/to the right. The first camera  202  senses motion of a subject  210  and begins recording. The first camera  202  continues recording while moving along with the subject  210 . The subject  210  may continuously move, finally leaving a view  204  of the first camera  202 . At this time, if the second camera  206 , because of sensing periodic motion or another object, is oriented in a direction other than a direction in which the subject  210  moves, the subject  210  may not fall within a view  208  of the second camera  206 . As such, a blind spot  215  results in which the first camera  202  and the second camera  206  do not record the subject  210 . Thus, the first camera  202  and the second camera  206  miss the motion of the subject  210 , resulting in a serious security problem. 
         [0054]    Referring to  FIG. 2B , upon sensing motion of the subject  210 , the first camera  202  discovers the second camera  206 , which is neighboring the first camera  202 , and sends a recording command  220  to the second camera  206 . The recording command  220  may include information about the subject  210  and a predicted or estimated location at which the second camera  206  may record the subject  210 . The second camera  206  rotates toward the subject  210 , as indicated by  230 , in response to the recording command  220 , such that the subject  210  falls within a view  225  of the second camera  206 . 
         [0055]    A technique for discovering a camera in a moving path or route of a subject among multiple cameras, a technique for selecting and connecting to a camera that is suitable for recording the subject, and a technique for sending a recording command to the selected camera are described in greater detail below. 
         [0056]      FIG. 3  is a flowchart illustrating an operating process of a camera, according to an embodiment of the present disclosure. 
         [0057]    Referring to  FIG. 3 , in step  305 , the camera begins recording an object video. The camera may perform recording at all times or may initiate recording upon sensing of a moving object within a visible range of the camera. The camera may periodically rotate within a predetermined range (e.g., about 0°-about 180°) or may move with the motion of the sensed object. In step  310 , the camera analyzes the object video to recognize an object sensed in the object video as a subject, and recognizes the subject. Recognizing the subject may include identifying the subject and patterning information of the subject. Identifying the subject may include identifying whether the subject is human and whether the subject is a resident. Patterning the information of the subject may include identifying whether motion of the subject has a regular pattern like a vehicle or a passerby, or an irregular pattern like a pet. 
         [0058]    In step  315 , the camera determines a moving path of the subject. More specifically, the camera calculates a location of the subject while tracking movement of the subject. The location of the subject may be a relative location with respect to the camera. For example, the camera predicts a future location of the subject based on movement of the subject. 
         [0059]    In step  320 , the camera searches for at least one neighboring camera. That is, the camera may discover at least one camera that is adjacent to the subject based on the calculated location of the subject. The search and discovery may be performed based on at least one of absolute locations of neighboring cameras, zones where the neighboring cameras are located, and relative locations of the neighboring cameras with respect to the camera. For example, the relative locations of the neighboring cameras may be measured using triangulation based on a directional signal and a signal strength. 
         [0060]    In step  325 , the camera selects at least one target camera capable of recording the subject based on the discovery result. Additionally, the camera may consider capabilities of each neighboring camera, such as, for example, resolution, frame rate, brightness, Pan/Tilt/Zoom movements (PTZ) function, and so forth, when selecting the target cameras. 
         [0061]    In step  330 , the camera sends a recording command for setting up the selected target camera to the selected target camera. The recording command may include at least one of information for identifying the subject, information regarding a motion pattern of the subject, location information necessary for continuously recording a moving path of the subject, a recording resolution, and a frame rate. 
         [0062]      FIG. 4  is a block diagram illustrating a camera capable of tracking a subject, according to an embodiment of the present disclosure. 
         [0063]    Referring to  FIG. 4 , a camera  400  includes a controller  410 , a storing unit  420 , a video recording unit  430 , and a communication unit  440 , and may further include a User Interface (UI)  450  and/or a location measuring unit  460 . 
         [0064]    The video recording unit  430  may include a camera driving unit and a camera module, and may perform a general camera function, such as, for example, capturing a still image and recording a video of the subject. The video recording unit  430  may also detect motion of the subject and report the detection to the controller  410 , and move along with the subject under control of the controller  410 . Accordingly, the video recording unit  430  may include a motion sensor. 
         [0065]    The storing unit  420  stores a program code, data, and/or information necessary for operations of the controller  410 . The storing unit  420  also receives a recorded video generated by the video recording unit  430  through the controller  410 , and stores the received recorded video therein when necessary. The controller  410  stores recorded videos generated during a predetermined period in the storing unit  420 . The storing unit  420  may further store additional information necessary for control over the camera  400 , e.g., at least one of absolute/relative location information, capability information, and recording commands of the camera  400  and other cameras. 
         [0066]    The communication unit  440  may interwork with another camera or another neighboring communication device using a short-range wireless communication means or a wired cable. According to an embodiment of the present disclosure, the communication unit  440  may be connected with another device through a wireless technique such as, for example, Bluetooth, Bluetooth Low Energy (BLE), ZigBee, infrared communication, Wireless Fidelity (Wi-Fi), Wi-Fi Direct, home Radio Frequency (RF), Digital Living Network Alliance (DLNA), or the like. The communication unit  440  may also be connected with another device through a wired technique such as, for example, a High-Definition Multimedia Interface (HDMI) cable, a Universal Serial Bus (USB) cable, a micro/mini USB cable, an Audio-Video (AV) cable, or the like. The communication unit  440  discovers neighboring cameras under the control of the controller  410  to provide locations and/or capability information of the neighboring cameras to the controller  410 , and sends a recording command delivered from the controller  410  to a corresponding camera. 
         [0067]    The UI  450  may include output modules such as, for example, a display, a speaker, an alarm lamp, and so forth, and input modules such as, for example, a touchscreen, a keypad, and so forth. The UI  450  may be used by a user in directly controlling the camera  400 . 
         [0068]    The location measuring unit  460  measures absolute information or relative information regarding a location in which the camera  400  is installed, and provides the measured absolute information or relative information to the controller  410 . The location measuring unit  460  may be embodied as, for example, a Global Positioning System (GPS) module. The absolute information may be, for example, a latitude and a longitude measured by the GPS module. The relative information may be, for example, a relative location with respect to a predetermined reference (e.g., a gateway, a server, a control console, or the like). 
         [0069]    The controller  410  may be embodied as a processor and may include a Central Processing Unit (CPU), a Read-Only Memory (ROM) storing a control program for control over the camera  400 , and a Random Access Memory (RAM) used as a memory region for tasks performed in the camera  400 . The controller  410  controls the video recording unit  430  by executing programs stored in the ROM or the RAM, or by executing application programs that may be stored in the storing unit  420 . The controller communicates with neighboring cameras through the communication unit  440 , and generates a recording command and sends the recording command to the neighboring cameras, or stores information collected from the neighboring cameras in the storing unit  420 . 
         [0070]    More specifically, the controller  410  collects location information that is measured by the location measuring unit  460 , location information that is input by a user, or location information that is set at the time of manufacturing. The controller  410  identifies a subject based on a recorded video delivered from the video recording unit  430 , and detects motion. In another embodiment of the present disclosure, the controller  410  receives a sensing result obtained by an adjacent motion sensor through the communication unit  440 , and detects motion of the subject. The controller  410  also discovers neighboring cameras through the communication unit  440  in order to select a target camera to which a recording command is to be sent. The controller generates the recording command, and sends the generated recording command to the selected target camera through the communication unit  440 . 
         [0071]      FIG. 5  is a message flow diagram illustrating an interworking procedure between multiple cameras, according to an embodiment of the present disclosure. A sensor  504  and three cameras  502 ,  506  and  508  are installed in the security system. 
         [0072]    Referring to  FIG. 5 , the sensor  504  senses motion, in step  510 , and sends a discovery signal to the first camera  506  and the third camera  502 , in step  515 . The discovery signal may be broadcast to unspecified users or unicast or multicast to one or more receivers. For example, the first camera  506  and the third camera  502  may be in locations where the first camera  506  and the third camera  502  may receive the discovery signal sent from the sensor  504  and respond to the discovery signal. In another example, the sensor  504  stores information about the first camera  506  and the third camera  502  in advance, designates the first camera  506  and the third camera  502 , and sends the discovery signal to the designated first and third cameras  506  and  502 . 
         [0073]    In step  520 , the sensor  504  sends a recording command to the first camera  506  and the third camera  502 , which respond to the discovery signal. In step  525 , the first camera  506  and the third camera  502  begin recording in response to the recording command. The first camera  506  and the third camera  502  may begin recording after moving their view toward the sensor  504 . The location of the sensor  504  may be known to the first camera  506  and the third camera  502 , or may be delivered together with the recording command. 
         [0074]    The first camera  506  identifies a subject as a target object to be tracked and recorded, in step  530 , and tracks a moving path of the subject in operation  535 . For example, the first camera  506  may identify whether the subject is a human and whether the subject is a resident or a non-resident in order to determine whether to track the moving path of the subject. 
         [0075]    In step  540 , the first camera  506  sends a discovery signal to the second camera  508 , neighboring the first camera  506 , and located on or near the moving path of the subject. In an embodiment of the present disclosure, the first camera  506  may send the discovery signal through a directional signal directed along the moving path. In another embodiment, the first camera  506  may select the second neighbor camera  508  near the moving path based on previously stored location information or zone information of the neighboring cameras, designate the second camera  508 , and send the discovery signal to the designated second camera  508 . The second camera  508  sends a response to the discovery signal to the first camera  506 . 
         [0076]    The first camera  506  selects the second camera  508 , which responds to the discovery signal, as a target camera, in step  545 , delivers target object information to the second camera  508 , in step  550 , and sends the recording command to the second camera  508 , in step  555 . In another embodiment of the present disclosure, the recording command may be sent including target object information related to an identification and/or motion of the subject. The first camera  506  may continuously perform recording for a predetermined time after sending the recording command, or may continuously perform recording while detection of motion of the subject. 
         [0077]    In step  560 , the second camera  508  begins recording in response to the recording command. The second camera  508  may begin recording in a direction toward the location or moving path of the subject. Information about the location or moving path of the subject may be delivered together with the target object information or the recording command. In step  565 , the second camera  508  identifies the subject as the target object to be tracked and recorded, and thereafter, similar operations are repeated. 
         [0078]    As such, embodiments of the present disclosure may continuously track the subject through interworking between a sensor and/or cameras, without intervention of a CPU or a user, and may directly identify and track and record an unspecified intruder. Moreover, when necessary, multiple cameras may record the subject from various angles. 
         [0079]      FIGS. 6A and 6B  are timing diagrams illustrating object tracking by multiple cameras, according to an embodiment of the present disclosure. 
         [0080]    Referring to  FIG. 6A , a first camera  602  detects a subject  600 , and sends a recording command  610  to a fourth camera  608 . The fourth camera  608  records a video in response to the recording command  610 . Thereafter, the first camera  602  records the video along with the movement of the subject  600 , and upon sensing movement of the subject  600  toward a place near a second camera  604 , sends a recording command  612  to the second camera  604  to allow the second camera  604  to being recording. Similarly, the second camera  604  senses movement of the subject  600  to a place near a third camera  606  and sends a recording command  614  to the third camera  606 . The third camera  606  records a video of the subject  600  in response to the recording command  614 . 
         [0081]    Referring to  FIG. 6B , the subject  600  may be continuously tracked by at least one cameras through interworking among the first through fourth cameras  602 ,  604 ,  606 , and  608 . Here, the fourth camera  608  is implemented as a moving camera embedded on a necklace of a pet dog. 
         [0082]    Techniques for tracking a moving path of a subject using cameras is described in greater detail below. 
         [0083]      FIG. 7  is a diagram illustrating tracking of a moving path using a sensor, according to an embodiment of the present disclosure. 
         [0084]    Referring to  FIG. 7 , a first camera  702 , a second camera  706 , a third camera  708 , and a fourth camera  710  are installed in their respective locations, having predetermined distance intervals therebetween. The first camera  702  broadcasts a sensor driving command  714  at predetermined time intervals or upon sensing motion of a subject. Sensors  712  and  712   a  near the first camera  702  begin a sensing operation in response to receiving the sensor driving command  714 . The sensors  712  and  712   a  terminate the sensing operation after a predetermined time if no motion sensed and a new sensor driving command is not received. Upon sensing motion  716  in a sensor coverage area  704 , the sensor  712  broadcasts a motion sensing notification  718 . Cameras near the sensor  712 , i.e., a third camera  708 , begin recording  720  in response to the motion sensing notification  718 . The third camera  708  terminates a recording operation if motion not sensed and a new motion sensing notification is not sensed within a predetermined time after beginning recording. 
         [0085]      FIG. 8  is a diagram illustrating a broadcasting discovery procedure, according to an embodiment of the present disclosure. 
         [0086]    Referring to  FIG. 8 , a first camera  802 , a second camera  804 , and a third camera  806  are installed in their respective locations at predetermined distance intervals. At predetermined time intervals or upon sensing motion of a subject, the first camera  802  tracks and records a subject and calculates a moving path of the subject in  810 . When the subject is predicted to deviate from a visible range of the first camera  802 , the first camera  802  broadcasts a discovery signal  812  to search neighboring cameras. The discovery signal  812  may be sent using Wi-Fi, and may be configured, as set forth below, using a Simple Service Discovery Protocol (SSDP). 
         [0087]    M-SEARCH*HTTP/1.1 
         [0088]    ST: urn:SmartHomeAlliance-org:device:Wi-Fi_Camera 
         [0089]    MX: 5 
         [0090]    MAN: “ssdp:discover” 
         [0091]    HOST: 239.255.255.250:1900 
         [0092]    In this example, the discovery signal  812  includes information Wi-Fi_Camera indicating that a target device to be discovered is a Wi-Fi camera and information identifying the first camera  802 , e.g., an Internet protocol (IP) address and a port number. 
         [0093]    The second camera  804  and the third camera  806  receive the discovery signal  812  and send respective response signals  814 . The response signals  814  may be configured as set forth below. 
         [0094]    HTTP/1.1 200 OK 
         [0095]    ST: urn:SmartHomeAlliance-org:device:Wi-Fi_Camera 
         [0096]    SERVER: Linux 1.01 SHP/2.0 CameraMaster/1.0 
         [0097]    Positioning Type=absolute location 
         [0098]    Position=latitude/longitude 
         [0099]    The response signal  814  may include information Wi-Fi_Camera, indicating that a device sending the response signal  814  is a Wi-Fi camera, and location information. The location information may include a latitude and a longitude, for example, for an absolute location. 
         [0100]      FIGS. 9A and 9B  are diagrams illustrating a zone-based broadcasting discovery procedure, according to an embodiment of the present disclosure. 
         [0101]    Referring to  FIG. 9A , a first camera  902 , a second camera  904 , and a third camera  906  are installed in their respective locations at predetermined distance intervals, and store location information. Referring to  FIG. 9B , the third camera  906  may be configured to cover at least one zone, and as illustrated, the third camera  906  records a living room zone  906   a  in a direction of about 180° to about 270° and records a kitchen zone  906   b  in a direction of about 90° to about 180°. 
         [0102]    At predetermined time intervals or upon sensing motion of a subject, the first camera  902  tracks and records the subject and calculates a moving path of the subject in  910 . When the subject is predicted to deviate from a visible range of the first camera  902 , the first camera  902  broadcasts a discovery signal  912  seeking neighboring cameras and discovering at least one neighboring camera. As a result of predicting the motion of the subject, the first camera  902  determines that the subject enters a particular zone, e.g., a kitchen zone, and generates the discovery signal  912  for discovering a camera in the kitchen zone. For example, the discovery signal  912  may be configured as set below. 
         [0103]    M-SEARCH*HTTP/1.1 
         [0104]    ST: urn:SmartHomeAlliance-org:device:Wi-Fi_Camera_kitchen 
         [0105]    MK: 5 
         [0106]    MAN: “ssdp:discover” 
         [0107]    HOST: 239.255.255.250:1900 
         [0108]    The discovery signal  912  may include information Wi-Fi-Camera_kitchen, indicating that a target device to be discovered is a Wi-Fi camera located in the kitchen zone, and an IP address and a port number for identifying the first camera  902 . 
         [0109]    The second camera  904  and the third camera  906  receive the discovery signal  912  and send respective response signals  914  to the third camera  906 . The response signals  914  may be configured as set forth below. 
         [0110]    HTTP/1.1 200 OK 
         [0111]    ST: urn:SmartHomeAlliance-org:device:Wi-Fi_Camera_kitchen 
         [0112]    SERVER: Linux 1.01 SHP/2.0 CameraMaster/1.0 
         [0113]    Positioning Type=relational location 
         [0114]    Position=camera1/90 degree/5 m 
         [0115]    The response signal  914  includes information Wi-Fi_Camera_kitchen, indicating that a device sending the response signal  914  is a Wi-Fi camera located in the kitchen zone, and location information. The location information may include a reference device camera1, a direction 90 degree, and a distance 5 m, for example, for a relative location. 
         [0116]      FIGS. 10A and 10B  are diagrams illustrating a directional antenna-based discovery procedure, according to an embodiment of the present disclosure. 
         [0117]    Referring to  FIG. 10A , a first camera  1002 , a second camera  1004 , and a third camera  1006  are installed in their respective locations at predetermined distance intervals, and store location information about them and their neighboring cameras. Referring to  FIG. 10B , one or more of the first camera  1002 , the second camera  1004 , and the third camera  1006 , for example, at least the first camera  1002 , are configured to output a directional signal. In this embodiment, the first camera  1002  forms a directional signal  1012  toward the third camera  1006 . 
         [0118]    At predetermined time intervals or upon sensing motion of a subject, the first camera  1002  tracks and records the subject and calculates a moving path of the subject in  1010 . When the subject is predicted to deviate from a visible range of the first camera  1002 , the first camera  1002  outputs a discovery signal  1012  seeking neighboring cameras and discovering at least one camera neighboring the third camera  1006  through a directional signal. That is, as a result of predicting motion of the subject, the first camera  1002  determines that the subject enters a visible range of the third camera  1006 , and forms a directional signal toward the third camera  1006 . For example, the discovery signal  1012  may be configured as set forth below. 
         [0119]    M-SEARCH*HTTP/1.1 
         [0120]    ST: urn:SmartHomeAlliance-org:device:Wi-Fi_Camera 
         [0121]    MX: 5 
         [0122]    MAN: “ssdp:discover” 
         [0123]    HOST: 239.255.255.250:1900 
         [0124]    The discovery signal  1012  may include information Wi-Fi-Camera_kitchen, indicating that a target device to be discovered is a Wi-Fi camera, and an IP address and a port number for identifying the first camera  1002 . 
         [0125]    The third camera  1006  receives the discovery signal  1012  and sends a response signal  1014 . The response signal  1014  may be configured as set forth below. 
         [0126]    HTTP/1.1 200 OK 
         [0127]    ST: urn:SmartHomeAlliance-org:device:Wi-Fi_Camera 
         [0128]    SERVER: Linux 1.01 SHP/2.0 CameraMaster/1.0 
         [0129]    Positioning Type=relational position 
         [0130]    Position=camera1/90 degree/5 m 
         [0131]    The response signal  1014  includes information Wi-Fi-Camera_kitchen, indicating that a device sending the response signal  1014  is a Wi-Fi camera, and location information. The location information may include a reference device camera1, a direction 90 degree, and a distance 5 m, for example, for a relative location. 
         [0132]    Another example of the response signals  814 ,  914 , and  1014  may be configured as set forth below. 
         [0133]    HTTP/1.1 200 OK 
         [0134]    ST: urn:SmartHomeAlliance-org:device:Wi-Fi_Camera(_zone) 
         [0135]    EXT: 
         [0136]    USN:uuid:abc41940-1a01-4090-8677-abcdef123456
       ::urn:SmartHomeAlliance-org:device:Wi-Fi_Camera:1       
 
         [0138]    CACHE-CONTROL: max-age=1800 
         [0139]    LOCATION: http://168.219.208.38:8888/Location 
         [0140]    SERVER: Linux 1.01 SHP/2.0 CameraMaster/1.0 
         [0141]    Location information about a responding camera may be expressed with an IP address and a port number. 
         [0142]    Another example of the response signals  814 ,  914 , and  1014  may be configured, as set forth below. 
         [0143]    HTTP/1.1 200 OK 
         [0144]    ST: urn:SmartHomeAlliance-org:device:Wi-Fi_Camera(_zone) 
         [0145]    EXT: 
         [0146]    USN:uuid:abc41940-1a01-4090-8677-abcdef123456
       ::urn:SmartHomeAlliance-org:device:Wi-Fi_Camera:1       
 
         [0148]    CACHE-CONTROL: max-age=1800 
         [0149]    LOCATION: 
         [0150]    SERVER: Linux 1.01 SHP/2.0 CameraMaster/1.0 
         [0151]    Positioning Type=xxx 
         [0152]    Position=yyy 
         [0153]    Location information about a responding camera may be expressed with a type (an absolute location, a relative location, or a zone) of the location information and a value indicating a location. 
         [0154]    In  FIGS. 8 through 10B , the location information included in the response signals  814 ,  914 , and  1014  may be expressed as absolute locations, relative locations, or installation locations. For an absolute location, the location information may include a latitude and a longitude. An absolute location of a target camera may be measured by a camera or a separate location measuring server using triangulation or may be measured using a GPS. For a relative location, the location information may include a distance, a direction, and related device information. A relative location of a target camera may be measured using a Wi-Fi scan of a reference camera or a scan using a directional antenna. For an installation location, the location information may identify a zone (e.g., a kitchen or a living room). An installation location of a target camera may be directly input by a user when the target camera is installed, or may be input to the target camera through a user terminal or a server. 
         [0155]      FIG. 11  is a flowchart illustrating a process of discovering a target camera, according to an embodiment of the present disclosure. The illustrated process may be performed by a camera that has sensed a subject. 
         [0156]    Referring to  FIG. 11 , in step  1105 , a camera is in a recording standby state or a typical monitoring state. The camera senses the subject, or receives a result of sensing the subject from a neighboring sensor, in step  1110 . The camera begins recording, in step  1115 . In step  1120 , the camera continues recording while tracking movement of the subject. The camera calculates a moving path of the subject, in step  1125 . The camera determines whether the subject is predicted to move outside a recording range of the camera, in step  1130 . If the subject is not predicted to move outside the recording range of the camera, the camera returns to step  1120  and continues recording the subject and calculating the moving path of the subject. If the subject is predicted to move outside the recording range of the camera, the camera searches for and discovers at least one neighboring camera located near the camera, in step  1135 . The discovery may be performed based on broadcasting, a zone, or a directional antenna, as described above. 
         [0157]    The camera collects information about the discovered at least one neighboring camera, in step  1140 . The camera determines whether there is a neighboring camera capable of recording the subject, in step  1145 . The determination may be performed based on the calculated moving path and location and/or capability information regarding each neighboring camera. If there is a neighboring camera that is capable of recording the subject, the camera selects at least one target camera to which a recording command is to be sent, in step  1150 . When selecting the target camera, the camera may select a neighboring camera located near the moving path of the subject, based on location information included in a response signal received from neighboring cameras. In another embodiment of the present disclosure, the camera may discover a neighboring camera located in front of the moving path of the subject by using a directional antenna. In another embodiment of the present disclosure, the camera may select a neighboring camera based on previously stored location information about neighboring cameras. 
         [0158]    In step  1155 , the camera generates a recording command for setting up the target camera. The recording command may include at least one of information about a motion pattern of the subject, location information necessary for continuously recording the moving path of the subject, a recording resolution, and a frame rate. In step  1160 , the camera sends the recording command to the target camera to request the target camera to start recording. 
         [0159]    If a neighboring camera capable of recording the subject does not exist, the camera selects all the cameras discovered in step  1135  as target cameras, in step  1165 , and sends the recording command to the target cameras to request the target cameras to start recording, in step  1170 . In step  1175 , the camera requests the target cameras to search the subject by controlling pan, tilt, or the like. In another embodiment of the present disclosure, the camera may request recording of the subject through the recording command. 
         [0160]      FIG. 12  is a flowchart illustrating a process of starting recording at the request of a neighboring camera, according to an embodiment of the present disclosure. 
         [0161]    Referring to  FIG. 12 , in step  1205 , a camera is in a recording standby state or a typical monitoring state. The camera receives a discovery signal from a neighboring camera, in step  1210 . The camera determines whether the camera is a target camera, in step  1215 . In an embodiment of the present disclosure, the camera may recognize conditions of the target camera, e.g., a zone, a capability, and so forth, from the discovery signal, and may determine that the camera is the target camera, if the conditions are satisfied. In another embodiment of the present disclosure, if the discovery signal does not specify conditions of the target camera, the camera may skip step  1215 . If the camera is not the target camera, the camera returns to step  1205 . 
         [0162]    If the camera is the target camera, the camera sends a response signal to the neighboring camera in response to the discovery signal, in step  1220 . The response signal may include at least one of location information and capability information regarding the camera. The camera receives a recording command instructing it to start recording, from the neighboring camera, in step  1225 , and starts recording in a direction indicated by the recording command, in step  1230 . For example, the recording command may include target object information related to an identification and/or a motion of the subject. 
         [0163]    The camera searches for the subject through recording, in step  1235 , and determines whether the subject is discovered, in step  1240 . If the recording command indicates an identification of the subject, the camera may determine whether the subject indicated by the recording command is included in a recorded video, in step  1240 . If the indicated subject or an arbitrary subject is discovered, the camera continues recording while tracking the subject, in step  1245 . If the indicated subject or an arbitrary subject is not discovered, the camera terminates recording immediately or after a predetermined time, in step  1250 . 
         [0164]      FIG. 13  is a diagram illustrating a procedure for selecting and controlling a target camera, according to an embodiment of the present disclosure. Operations are shown for a case where a target camera capable of recording a subject may be determined. 
         [0165]    Referring to  FIG. 13 , a first camera  1302 , a second camera  1304 , a third camera  1306 , and a fourth camera  1308  are installed in their respective locations at predetermined distance intervals. At predetermined time intervals or upon sensing motion of the subject, the first camera  1302  rotates toward the subject, tracks and records the subject, and calculates a moving path of the subject, in step  1300 . If locations of the neighbor cameras  1304  and  1306  are known to the first camera  1302 , the first camera  1302  determines that the third camera  1306  is located near the moving path of the subject. Thus, the first camera  1302  sends a recording command to the third camera  1306 , in step  1310 . The recording command requests the third camera to adjust a viewing direction and to start recording. The third camera  1306  begins recording in response to the recording command, in step  1312 , and tracks the subject, in step  1314 . The third camera  1306  also stores information about the locations of the neighboring cameras  1302  and  1308 , in advance. If movement of the subject is sensed in a direction toward the fourth camera  1308 , the third camera  1306  sends the recording command to the fourth camera  1308 , in step  1316 . The recording command requests the fourth camera  1308  to adjust a viewing direction and to start recording. The fourth camera  1308  starts recording in response to the recording command, in step  1318 . 
         [0166]    An example of the recording command may be configured as set forth below. 
         [0000]    
       
         
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 PUT /devices/0/camera HTTP/1.1 
               
               
                   
                 Host: {IPv4Address} 
               
               
                   
                 X-API-Version: v.1.0.0 
               
               
                   
                 Content-Type: application/json 
               
               
                   
                 Content-Length: {contentLength] 
               
               
                   
                 {  “Camera”: { 
               
               
                   
                    “tilt”: 30, 
               
               
                   
                       “pan”: 90 
               
               
                   
                   } 
               
               
                   
                 } 
               
               
                   
                   
               
             
          
         
       
     
         [0167]    The recording command may include adjustment values for tilt and pan with which a target camera is to initiate recording. 
         [0168]    Another example of the recording command may be configured as set forth below. 
         [0000]    
       
         
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 POST /devices/0/camera/captures HTTP/1.1 
               
               
                   
                 Host: {IPv4Address} 
               
               
                   
                 X-API-Version: v.1.0.0 
               
               
                   
                 Content-Type: application/json 
               
               
                   
                 Content-Length: {contentLength] 
               
               
                   
                 { 
               
               
                   
                   “Capture”: { 
               
               
                   
                    “mediaType”: “Video”, 
               
               
                   
                    “start”: true 
               
               
                   
                   } 
               
               
                   
                 } 
               
               
                   
                   
               
             
          
         
       
     
         [0169]    The recording command may include information instructing the target camera to initiate recording of an object video. 
         [0170]      FIG. 14  is a diagram illustrating a procedure for selecting and controlling a target camera based on broadcasting, according to an embodiment of the present disclosure. Operations are shown for a case where a target camera capable of recording a subject may not be determined. 
         [0171]    Referring to  FIG. 14 , a first camera  1402 , a second camera  1404 , a third camera  1406 , and a fourth camera  1408  are installed in their respective locations at predetermined distance intervals. At predetermined time intervals or upon sensing motion of the subject, the first camera  1402  rotates toward the subject, tracks and records the subject, and calculates a moving path of the subject, in step  1400 . If the subject is predicted to leave a visible range of the first camera  1402 , the first camera  1402  begins a procedure for selecting a target camera. The first camera  1402  may not know locations of neighboring cameras  1404 ,  1406 , and  1408 . Thus, the first camera  1402  broadcasts a recording command including information about the subject, in step  1410 . The recording command arrives at the second camera  1404  and the third camera  1406  located near the first camera  1402 . The second camera  1404  and the third camera  1406  begin recording in response to the recording command, in steps  1412  and  1412   a , respectively. The second camera  1404  fails to detect the subject during recording, and then terminates its recording, in step  1412   a.    
         [0172]    The third camera  1406  detects the subject and continues tracking the subject, in step  1414 . If the subject is predicted to leave a visible range of the third camera  1406 , the third camera  1406  broadcasts a recording command including information about the subject, in step  1416 . The recording command is received at the first camera  1402  and the fourth camera  1408  located near the third camera  1406 . The fourth camera  1408  begins recording in response to the recording command, in step  1418 . The first camera  1402  ignores the recording command, in step  1418   a , because it is already continuing to record the subject. The fourth camera  1408  detects the subject and continues tracking the subject. 
         [0173]    An example of the recording command may be configured as set forth below. 
         [0000]    
       
         
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 PUT /devices/0/camera HTTP/1.1 
               
               
                   
                 { 
               
               
                   
                   “Camera”: { 
               
               
                   
                    “tilt”: {minTilt}, 
               
               
                   
                       “pan”: {minPan} 
               
               
                   
                   } 
               
               
                   
                 } 
               
               
                   
                   
               
             
          
         
       
     
         [0174]    The recording command may include minimum values for tilt and pan for an arbitrary camera. 
         [0175]    Another example of the recording command may be configured as set forth below. 
         [0000]    
       
         
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 PUT /devices/0/camera HTTP/1.1 
               
               
                   
                 { 
               
               
                   
                   “Camera”: { 
               
               
                   
                    “tilt”: {maxTilt}, 
               
               
                   
                       “pan”: {maxPan} 
               
               
                   
                   } 
               
               
                   
                 } 
               
               
                   
                   
               
             
          
         
       
     
         [0176]    The recording command may include maximum values for tilt and pan for an arbitrary camera. 
         [0177]    A description is provided below of embodiments in which an abnormal situation is sensed using multiple sensors for in-house security and safety management. 
         [0178]      FIG. 15  is a diagram illustrating a schematic structure of a monitoring system including multiple sensors, according to an embodiment of the present disclosure. 
         [0179]    Referring to  FIG. 15 , a monitoring system includes a plurality of cameras (camera # 1   1502  through camera #N  1504 ) configured to record an object while tracking movement of the object, and various sensors (sensor # 1   1512  through sensor #M  1514 ). The cameras  1502  and  1504  and the sensors  1512  and  1514  are configured to communicate with each other through a network  1500  based on a wired and/or wireless technique. In an embodiment of the present disclosure, the monitoring system may further include a server  1520  (or a gateway or a user terminal) capable of connecting to the cameras  1502  and  1504  and the sensors  1512  and  1514  through the network  1500 . The server  1520  controls devices in the monitoring system to sense a situation in a monitoring area (e.g., a house) based on information collected by the multiple sensors  1512  and  1514  and the multiple cameras  1502  and  1504 , and controls devices to perform predetermined operations corresponding to the sensed situation. 
         [0180]      FIGS. 16A and 16B  are diagrams illustrating multiple sensors and multiple cameras installed, according to an embodiment of the present disclosure. 
         [0181]    Referring to  FIG. 16A , camera A  1602 , camera B  1604 , and camera C  1606 , and sensors S 1 , S 2 , S 3 , S 4 , S 5 , and S 6  are installed in a house corresponding to a monitoring area. The sensors S 1 , S 5 , and S 6  are motion sensors, the sensor S 3  is a smoke sensor, and the sensors S 2  and S 4  are window-breaking sensors. The camera A  1602  interworks with the sensor S 1   1602   a , the camera B  1604  interworks with the sensors S 5  and S 6   1604   a , and the camera C  1606  interworks with the sensors S 2 , S 3 , and S 4   1606   a . For the sensor S 1 , the same kind of sensors S 5  and S 6  are managed as a family, and the neighboring sensor S 2  is managed as a neighbor. Likewise, for the sensor S 2 , the same kind of sensor S 4  is managed as a family, and the neighboring sensors S 1  and S 3  are managed as neighbors. 
         [0182]      FIG. 16B  shows a cluster view  1610  of the sensor S 1 , including a family of the sensor S 1  and neighboring sensors of the sensor S 1 . 
         [0183]      FIG. 17  is a diagram illustrating a tracking and monitoring scenario based on interworking with multiple sensors, according to an embodiment of the present disclosure. 
         [0184]    Referring to  FIG. 17 , a sensor S 1  detects an event corresponding to motion of an intruder, in step  1710 , and reports the event to a camera A  1702  to cause the camera A  1702  to start recording, in step  1712 . In steps  1714   a  and  1714   b , the sensor S 1  transmits the event to a sensor S 2  managed as a neighbor, and to sensors S 5  and S 6  managed as a family. In step  1716   a , the sensor S 2  requests a camera C  1706  to perform recording such that recording is initiated before the intruder enters a visible range of the camera C  1706 . Similarly, in step  1716   b , the sensors S 5  and S 6  request a camera B  1704  to perform recording such that recording is initiated before the intruder enters a visible range of the camera B  1704 . 
         [0185]      FIGS. 18A and 18B  are diagrams illustrating multiple sensors and multiple cameras installed, according to another embodiment of the present disclosure. 
         [0186]    Referring to  FIG. 18A , a monitoring area is a house in which four cameras A, B, C, and D and four sensors S 1 , S 2 , S 3 , and S 4  are installed to interwork with each other. The sensors S 1 , S 2 , and S 4  are smoke sensors, and the sensor S 3  is a motion sensor. For the sensor S 1 , the sensors S 2  and S 4  are managed as a family and the sensor S 3  is managed as a neighbor. Similarly, for the sensor S 2 , the sensors S 1  and S 4  are managed as a family and the sensor S 2  has no neighbor. 
         [0187]    As shown in  FIG. 18B , a cluster view of the sensor S 2  includes the cameras A, B, and D, and the sensor S 1 . 
         [0188]      FIG. 19  is a diagram illustrating a tracking and monitoring scenario based on interworking with multiple sensors, according to an embodiment of the present disclosure. 
         [0189]    Referring to  FIG. 19 , a sensor S 1  senses occurrence of an abnormal situation, that is, generation of smoke, in step  1902 , and requests a corresponding camera A to start a monitoring operation, in step  1904 . Moreover, in step  1906 , the sensor S 1  requests sensors S 2 , S 4 , and S 3 , which are registered as members of a cluster of the sensor S 1 , to start the monitoring operation. Thus, in steps  1908 ,  1910 , and  1912 , the sensors S 3 , S 4 , and S 2  request their corresponding cameras C, D, and B to start recording for the monitoring operation. 
         [0190]    The sensor S 2  senses generation of an new event of smoke, in operation  1914 , and the corresponding camera B detects occurrence of the new event of smoke according to a report from the sensor S 2 , in operation  1916 . The sensor S 2  requests the sensors S 1  and S 4 , which are registered in its cluster, to start the monitoring operation, in step  1918 , such that the cameras A and D corresponding to the sensors S 1  and S 4  initiate recording. 
         [0191]    As such, each sensor and each camera deliver occurrence of an event and initiation of a monitoring operation to related other devices, allowing an abnormal situation to be continuously monitored. 
         [0192]      FIG. 20  is a diagram illustrating a tracking and monitoring scenario based on interworking with multiple sensors, according to an embodiment of the present disclosure. 
         [0193]    Referring to  FIG. 20 , a sensor S 1  senses an event regarding an abnormal situation like smoke, in step  2002 , and notifies registered other devices of the event or instructs the devices to perform an operation corresponding to the event, in operation  2004 . More specifically, cameras B, C, D, E, and F initiate recording and sensors S 3  and S 4  start a monitoring operation. 
         [0194]    For example, the camera C may be a pet&#39;s collar cam mounted on a pet. The camera C is grouped with neighboring sensors located around a house, and the camera C initiates recording based on the event. As the pet moves, the camera C may record an accurate video from various angels. In another example, the camera D may be a camera mounted on a toy robot. The camera D may move to a position where a sensor having sensed the event is located, to perform recording toward the event. In another example, the camera E may be a camera mounted on a robotic cleaner. The camera E may perform recording while moving. 
         [0195]      FIGS. 21A through 21E  are diagrams illustrating a tracking and monitoring scenario based on interworking with multiple sensors, according to another embodiment of the present disclosure. 
         [0196]    As shown in  FIG. 21A , cameras A and B are installed on the outside of a house, which is a monitoring area. The camera A interworks with a motion sensor S 1  and the camera B interworks with a breakage sensor S 2  and a motion sensor S 3 . As shown in  FIG. 21B , cameras C, D, E, and F are inside the house. The camera C interworks with a barking and movement sensor B 1  mounted on the pet&#39;s collar, and the camera F interworks with a smoke sensor S 4 . As shown in  FIGS. 21C, 21D, and 21E , the camera C is the pet&#39;s collar cam mounted on the pet, the camera D is mounted on the toy robot, and the camera E is mounted on the robotic cleaner. 
         [0197]    For the sensor S 1  located outside the house, the sensors S 3  and B 1 , the camera D on the toy robot, and the camera E on the robotic cleaner are managed as a family, and the sensor S 1  has no neighbor. For the sensor S 2 , the camera C on the pet, the camera D on the toy robot, and the camera E on the robotic cleaner are managed as a family, and the sensor  3  is managed as a neighbor. For the sensor B 1 , other pets may be managed as a family and a neighbor may be another sensor located near the sensor B 1  along with movement of the pet. 
         [0198]      FIG. 22  is a flowchart illustrating a process of sensing a situation based on multiple sensors, according to an embodiment of the present disclosure. A server located in a monitoring system senses a situation based on a sensing result by multiple sensors. The following operations may be performed by a gateway, a sensor, or a camera, as well as a server. 
         [0199]    Referring to  FIG. 22 , a monitoring operation is initiated, in step  2205 . In another embodiment, each sensor may be maintained in a standby state and switch to a monitoring mode at the request of a server or another device to initiate the monitoring operation. In step  2210 , the server collects a sensing result from multiple sensors in the monitoring system. For example, the sensors may periodically report the sensing result to the server. In another example, each sensor may report the sensing result to the server whenever sensing an event. 
         [0200]    The server determines whether an abnormal situation occurs based on the sensing result from at least one of the sensors, in step  2215 , and determines a corresponding operation, in step  2220 , if the abnormal situation occurs. The abnormal situation and the corresponding operation may be determined, for example, based on Table 1. 
         [0000]    
       
         
               
               
               
               
             
               
               
               
               
             
           
               
                 TABLE 1 
               
               
                   
               
               
                   
                   
                   
                 User defined additional 
               
               
                 S. No 
                 Event 
                 Pre-defined action 
                 actions 
               
               
                   
               
             
             
               
                   
               
             
          
           
               
                 1 
                 Flood Detection 
                 1. Cut off water supply 
                 1. Send picture of the scene 
               
               
                   
                   
                 2. Cut off electricity of zone (to 
               
               
                   
                   
                 avoid short circuit) 
               
               
                 2 
                 Gas Leakage 
                 1. Cut off gas supply 
                 — 
               
               
                   
                   
                 2. Electricity of zone (to avoid 
               
               
                   
                   
                 fire) 
               
               
                 3 
                 Motion Detection 
                 1. Check Lock of the doors 
                 1. Start video of web cam 
               
               
                   
                   
                 2. If unlocked then lock them 
                 2. Record video 
               
               
                   
                   
                 (towards the possible direction 
               
               
                   
                   
                 of the motion) 
               
               
                 4 
                 Heart-Rate Sensor 
                 1. Notify family members 
                 — 
               
               
                   
                   
                 2. Notify nearest doctor/ 
               
               
                   
                   
                 Emergency service 
               
               
                 5 
                 Fall Sensor 
                 1. Notify family members 
               
               
                   
                 (Elderly) 
               
               
                 6 
                 Smoke Detection 
                 1. Cut off power supply 
                 1. Hibernate Computer, 
               
               
                   
                   
                 2. Block lift&#39;s requests 
                 2. Call Fire Service 
               
               
                 7 
                 Door Lock 
                 1. Disable the door lock for 
               
               
                   
                 Tempering 
                 some time 
               
               
                   
                 (wrong trials) 
                 2. Notify User 
               
               
                 8 
                 Water Leakage 
                 1. Cut off water supply 
               
               
                   
                 Sensor 
               
               
                 9 
                 Window Glass 
                 1. Start cameras in the zone 
                 1. Notify neighbor 
               
               
                   
                 break 
                 2. Notify to user and security 
               
               
                 10 
                 Dog&#39;s barking 
                 1. Send the video of Dog&#39;s 
               
               
                   
                   
                 collar camera 
               
               
                 11 
                 Default action 
                 1. Notification to user. 
                 1. Send the picture 
               
               
                   
               
             
          
         
       
     
         [0201]    For example, if a flood is sensed, the server automatically cuts off a water supply and cuts off an electricity supply to avoid a short-circuit. The server may further transmit a video of a situation to a user. If a gas leakage is sensed, the server automatically cuts off a gas supply and cuts off an electricity supply to avoid a fire. If motion is sensed, the server checks a lock of a door and locks the door if the door is unlocked. The server may further record a video through a web camera and saves the recorded video. If a heart rate sensor senses an abnormal event, the server notifies registered family members of the event and notifies the nearest doctor or emergency service of the event. If a fall sensor senses an abnormal event, the server notifies registered family members of the event. If smoke is sensed, the server cuts off a power supply and blocks the movement of an elevator. The server may further lock a computer and call a fire department. If a door lock is opened by wrong trials, the server disables the door lock from opening and notifies the user of the event. If a water leakage is sensed, the server automatically cuts off a water supply. If a window glass is broken, the server rotates cameras to a corresponding zone and notifies the user and a security company of the event. The server may further notify registered neighbors of the event. If the barking of a pet is sensed, the server collects video from the pet&#39;s collar camera. If other events are sensed, the server notifies the user of the events and transmits video to the user. 
         [0202]    In step  2225 , the server transmits a control command for controlling devices in the monitoring system, according to the determined operation or sends an emergency call to a registered user/service. 
         [0203]      FIGS. 23A through 23D  are diagrams illustrating a situation sensed using multiple, sensors according to an embodiment of the present disclosure. 
         [0204]    Referring to  FIG. 23A , if an event sensed by a heart rate sensor and a fall sensor is received, in step  2302 , a server sends an emergency call to a registered receiver (e.g., family members, an emergency service, etc.), in step  2304 . 
         [0205]    Referring to  FIG. 23B , if breakage of a window glass is sensed, and an event is reported from a motion sensor and a barking sensor, in step  2312 , the server sends an emergency call to a registered receiver (e.g., family members, a security company, etc.), in step  2314 . 
         [0206]    Referring to  FIG. 23C , if water leakage is sensed, and an event is reported from a flood sensor and a humidity sensor, in step  2322 , the server sends an emergency call to a registered receiver (e.g., family members, neighbors, an emergency service, and so forth), in step  2324 . 
         [0207]    Referring to  FIG. 23D , if an event is reported from a gas sensor, a smoke sensor, and a temperature sensor, in operation  2332 , the server sends an emergency call to a registered receiver (e.g., family members, neighbors, an emergency service, etc.), in step  2334 . 
         [0208]    Various embodiments of the present disclosure may be embodied as computer readable codes on a computer readable recording medium. The computer readable recording medium is any data storage device that can store data, which can be thereafter read by a computer system. Examples of the computer readable recording medium include ROM, RAM, Compact Disc (CD)-ROMs, magnetic tapes, floppy disks, optical data storage devices, carrier waves, and data transmission through the Internet. The computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion. Also, functional programs, codes, and code segments for accomplishing embodiments of the present disclosure can be easily construed by programmers skilled in the art to which the present disclosure pertains. 
         [0209]    Various embodiments of the present disclosure can be implemented in hardware or a combination of hardware and software. The software can be recorded to a volatile or non-volatile storage device, such as a ROM irrespective of deletable or re-recordable, to a memory such as a RAM, a memory chip, a memory device, or an integrated circuit, or to a storage medium that is optically or magnetically recordable and readable by a machine (e.g. a computer), such as a CD, a Digital Versatile Disc (DVD), a magnetic disk, or a magnetic tape. The storage is an example of a machine-readable storage medium suitable for storing a program or programs including instructions to implement the embodiments of the present disclosure. 
         [0210]    Accordingly, the present disclosure includes a program including a code for implementing the apparatus or the method as appended in the claims and a machine-readable storage medium that stores the program. The program may be transferred electronically through any medium such as a communication signal transmitted through a wired or wireless connection and the present disclosure covers equivalents thereof. 
         [0211]    The apparatus, according to various embodiments of the present disclosure, may receive a program from a program providing apparatus, which is wire/wirelessly connected thereto, and thereafter store the program. The program providing apparatus may include a memory for storing a program including instructions allowing the apparatus to perform a preset content protection method, information required for a contents protection method, or the like, a communication unit for performing a wired/wireless communication with the apparatus, and a controller for transmitting a corresponding program to a transmitting and receiving apparatus either in response to a request from the apparatus or automatically. 
         [0212]    While certain embodiments have been shown and described, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims.