1. Technical Field
Embodiments of the present disclosure relate to user interfaces, and more particularly to an electronic device and method for surveillance control thereof.
2. Description of Related Art
Vendors of surveillance devices rarely adopt unified surveillance system software. Incompatibilities among surveillance systems cause different surveillance devices difficulties in sharing and communication information with one another. In addition, controls of surveillance systems are usually rigid and not user friendly.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
In general, the word “module” as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, for example, Java, C, or assembly. One or more software instructions in the module may be integrated in firmware, such as an EPROM. It will be appreciated that module may comprise connected logic units, such as gates and flip-flops, and may comprise programmable units, such as programmable gate arrays or processors. The units described herein may be implemented as software and/or hardware unit and may be stored in any type of computer-readable medium or other computer storage device.
In the embodiment, the listening module 200 receives the playback request from the client terminal 15, using real time streaming protocol (RTSP). For example, the listening module 200 can receive the playback request of “conference room 001, 2nd floor, building A” from the client terminal 15 which connects to the external network 14. The playback request described can be a playback request of a live video feed or a playback of certain portion of recorded video.
In the embodiment, the inquiry module 210 locates the surveillance device 13 corresponding to the monitor point and acquires the device information of the surveillance device 13, such as IP address and port number. The surveillance device 13 can be a webcam, a digital video recorder (DVR), or digital video server (DVS), for example.
In the embodiment, the connection module 220 sets up a connection with the surveillance device 13, using the acquired device information. The connection module 220 retrieves the corresponding video data from the surveillance device 13, according to the playback request. For example, the video data can be a live video feed, if the surveillance device 13 is the webcam. In addition, the video data can be the live video feed or playback of a specific portion of recorded video, if the surveillance device 13 is a DVR or DVS.
The codec module 230 decodes the retrieved video data and re-encodes the decoded video data with a predetermined codec. The decoding algorithm for each surveillance device 13 is stored in the database 16. In the embodiment, the codec module 230 acquires the decoding algorithm from the database 16, decodes the retrieved video data, and encodes the decoded video data with the predetermined codec, H.264 for example. If the client terminal is a mobile phone, the predetermined codec can be 3GP for compatibility, for example.
The encryption module 240 encrypts the re-encoded video data. In the embodiment, the encryption algorithm is data encryption standard (DES) algorithm. For example, if the codec module re-encodes the video data with cosine transform algorithm, the encryption module 240 encrypts accordingly a direct and alternating component of the transformed video data with the DES algorithm. The encryption module 240 can adopt other encryption algorithms, advanced encryption standard (AES) or chaos algorithm, for example.
The transmission module 250 transmits the encrypted video data to the client terminal 15. In the embodiment, the transmission module packages the re-encoded video data into real time protocol (RTP) packets and sends the packets to the client terminal 15. The client terminal 15 uses corresponding decryption and decoding algorithm to decrypt and decode the video data.
In block S301, the listening module 200 receives the playback request from the client terminal 15. For example, the listening module 200 can receive the playback request of “conference room 001, 2nd floor, building A” from the client terminal 15 which connects to the external network 14. The playback request describe herein can be a playback request for live video feed or a playback of a specific portion of recorded video. In the embodiment, the listening module 200 receives the playback request from the client terminal 15, using the RTSP.
In block S302, the inquiry module 210 locates the surveillance device 13 corresponding to the monitor point and acquires the device information of the surveillance device 13, such as IP address and port number. In the embodiment, the surveillance device 13 can be a webcam, DVR, or DVS, for example.
In block S303, the connection module 220 sets up the connection with the surveillance device 13, using the acquired device information. In the embodiment, the connection module 220 retrieves the corresponding video data from the surveillance device 13, according to the playback request. For example, the video data can be live video feed, if the surveillance device 13 is the webcam. In addition, the video data can be the live video feed or playback of a specific portion of recorded video, if the surveillance device 13 is a DVR, or DVS.
In block S304, the codec module 230 decodes the retrieved video data and re-encodes the decoded video data with the predetermined codec. The decode algorithm for each surveillance device 13 is stored in the database 16. In the embodiment, the codec module 230 acquires the decode algorithm from the database 16, decodes the retrieved video data, and encodes the decoded video data with the predetermined codec, H.264 for example. If the client terminal is the mobile phone, the predetermined codec can be 3GP for compatibility, for example.
In block S305, the encryption module 240 encrypts the re-encoded video data. In the embodiment, the encryption is the DES algorithm. For example, if the codec module re-encodes the video data with cosine transform algorithm, the encryption module 240 encrypts accordingly the direct and alternating component of the transformed video data with the DES algorithm. The encryption module 240 can adopt other encryption algorithms, the AES or chaos algorithm, for example.
In block S306, the transmission module 250 transmits the encrypted video data to the client terminal 15. In the embodiment, the transmission module packages the re-encoded video data into the RTP packets and sends the packets to the client terminal 15. The client terminal 15 uses corresponding decryption and decoding algorithm to decrypt and decode the video data.
Although certain inventive embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.
| Number | Date | Country | Kind |
|---|---|---|---|
| 201010301096.7 | Feb 2010 | CN | national |