KR101711510B1 - Control system and method for displaying image data from IP cameras - Google Patents
Control system and method for displaying image data from IP cameras Download PDFInfo
- Publication number
- KR101711510B1 KR101711510B1 KR1020150028115A KR20150028115A KR101711510B1 KR 101711510 B1 KR101711510 B1 KR 101711510B1 KR 1020150028115 A KR1020150028115 A KR 1020150028115A KR 20150028115 A KR20150028115 A KR 20150028115A KR 101711510 B1 KR101711510 B1 KR 101711510B1
- Authority
- KR
- South Korea
- Prior art keywords
- socket
- thread
- rendering
- image data
- threads
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B13/00—Burglar, theft or intruder alarms
- G08B13/18—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
- G08B13/189—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
- G08B13/194—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
- G08B13/196—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B13/00—Burglar, theft or intruder alarms
- G08B13/18—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
- G08B13/189—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
- G08B13/194—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
- G08B13/196—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras
- G08B13/19654—Details concerning communication with a camera
- G08B13/19656—Network used to communicate with a camera, e.g. WAN, LAN, Internet
-
- H04N5/23206—
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
A socket pool for managing sockets for communication with a plurality of IP cameras; a first fixed number of receiving threads for receiving video data through sockets of socket pools; and a second fixed A video control system comprising a number of rendering threads is disclosed.
Description
The present invention relates to a video surveillance system for displaying images received from a plurality of IP (Internet Protocol) cameras, and more particularly, to a video surveillance system for efficiently receiving and rendering a plurality of camera images without being restricted by the hardware performance of the video surveillance system And a method for processing image data.
The CCTV (Closed Circuit TeleVision) camera is expensive because the coaxial cable must be wired to the recording device and the surveillance screen, and installation work is also affected by the installation site and the environment.
The IP camera developed to solve these technical problems is a surveillance camera that operates on an IP network and connects only the router to the camera without any other equipment. It can easily monitor a certain place without a separate recorder, Personal computer) or smart phone.
Also, as shown in FIG. 1, a plurality of places can be monitored at a time by displaying images photographed by a plurality of
2 is a diagram for explaining a method of processing images received from a plurality of IP cameras in a video monitoring system according to the related art.
Referring to FIG. 2, a
A thread is a unit of flow within a program, especially within a process.
Referring to FIG. 2, as many threads as the number of connected IP cameras are generated, and each thread receives image data from a corresponding IP camera and performs decoding and rendering of the received image data.
Therefore, when a large number of IP cameras are connected, a large number of threads are simultaneously operated and a load is applied to the processor, which may cause deterioration of the performance of the system.
Also, it may be difficult to display a plurality of IP camera images according to the performance of a computer used as a video monitoring system, and performance of displaying a plurality of IP camera images depends on the performance of the computer.
In addition, since one thread per IP camera is used and one thread performs reception, decoding, and rendering of images, a single thread must perform many processes and complexity, so that a high-end computer should be used as a video control system do.
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems of the prior art and it is an object of the present invention to provide a method for efficiently displaying a plurality of images received from a plurality of IP cameras regardless of the performance of a computer used as a video monitoring system will be.
According to an aspect of the present invention, there is provided a video surveillance system for displaying images received from a plurality of IP cameras connected through a network, A socket pool for managing the socket, a first fixed number of receiving threads for receiving image data through the socket of the socket pool, and a second fixed number of rendering threads for rendering the received image data .
The video surveillance system may further include a queue for transferring image data between the first fixed number of reception threads and the second fixed number of rendering threads.
When the video data is received from the IP camera, the socket connected to the IP camera is switched from the socket pool to the running state, and the waiting thread of the first fixed number of receiving threads is activated, , The image data received through the socket in the execution state is loaded in the queue, and when the reception of the image data is completed, the socket in the execution state is switched to the standby state and returned to the socket pool, .
According to another embodiment of the present invention, there is provided an IP camera system including a socket pool for managing a socket for communication with a plurality of IP cameras, a first fixed number of reception threads for receiving image data through a socket of the socket pool, A second fixed number of rendering threads for rendering the received video data; and a queue for video data delivery between the first fixed number of reception threads and the second fixed number of rendering threads In the processing method,
Switching the socket connected to the IP camera from the socket pool to a running state when image data is received from the IP camera and activating a waiting thread in the first fixed number of receiving threads; Wherein the thread loads image data received through the socket in the execution state into the queue, and when the reception of the image data is completed, switching the socket in the execution state into a standby state and returning the socket to the socket pool; Activating a rendering thread that is in a standby state among the second fixed number of rendering threads when the received video data is loaded into the queue; Rendering the activated rendering thread to render and output the image data loaded in the queue; And converting the rendering thread processing the rendering of the image data into a standby state.
According to the present invention, video surveillance software that is not sensitive to computer performance and specifications can be implemented, and surveillance images can be received and displayed from a plurality of IP cameras without using a high-end computer.
1 shows a network configuration in which a plurality of IP cameras and a video monitoring system are connected.
2 is a diagram for explaining a method of processing images received from a plurality of IP cameras in a video monitoring system according to the related art.
3 is a diagram for explaining a hardware configuration of a video monitoring system according to an embodiment of the present invention.
4 is a diagram for explaining a method of processing images received from a plurality of IP cameras by software of a video monitoring system according to an embodiment of the present invention.
5 is a flowchart illustrating an image processing method according to an embodiment of the present invention.
The terms used in this specification will be briefly described and the present invention will be described in detail.
While the present invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not limited to the disclosed embodiments. Also, in certain cases, there may be a term selected arbitrarily by the applicant, in which case the meaning thereof will be described in detail in the description of the corresponding invention. Therefore, the term used in the present invention should be defined based on the meaning of the term, not on the name of a simple term, but on the entire contents of the present invention.
When an element is referred to as "including" an element throughout the specification, it is to be understood that the element may include other elements as well, without departing from the spirit or scope of the present invention. The term " means ", "part "," module ", etc. in the specification means units for processing at least one function or operation, Lt; / RTI >
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily carry out the present invention. The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. In order to clearly illustrate the present invention, parts not related to the description are omitted, and similar parts are denoted by like reference characters throughout the specification.
3 is a diagram for explaining a hardware configuration of a video monitoring system according to an embodiment of the present invention.
3, the
The
The
The
4 is a diagram for explaining a method of processing images received from a plurality of IP cameras by software of a video monitoring system according to an embodiment of the present invention.
4, the
The
The
When a plurality of
When the video data is received from the
The activated receiving
The
The received and decoded image data is loaded into the
The activated
If image data stored in the
As described above, the software of the video monitoring system according to the present invention separately sets a predetermined number of reception threads for receiving and decoding image data and a predetermined number of rendering threads for rendering received image data. The number of receiving threads and the number of rendering threads may be the same or different, and the number of threads of each type may be determined according to the hardware performance or specification of the video control system.
If the number of IP cameras requesting a connection increases, a waiting socket in the socket pool is allocated in the order in which the connections are requested. Also, the receiving thread and the rendering thread in the waiting state are allocated in the order of connection request.
5 is a flowchart illustrating an image processing method according to an embodiment of the present invention.
First, one socket is connected to the IP camera for communication with the IP camera (S502), and the connected socket is switched to the standby state and stored in the socket pool (S504).
When image data is received from the IP camera to the video monitoring system (S506), the socket connected to the IP camera is switched from the socket pool to the running state, and one of the receiving threads, which is a standby state, is selected and activated S510). If the reception of the video data is not started (S506), the socket remains in the standby state, and the reception thread remains in the inactive state, that is, the standby state (S508).
Next, the activated receiving thread processes reception of the image data. That is, the image data received through the socket in the execution state is decoded and loaded into the queue (S512).
When the reception of the video data is completed (S514), the socket which has been switched to the execution state is converted into the standby state, and is returned to the socket pool to be stored. The reception thread which has processed the reception is deactivated and switched to the standby state (S516) . If the reception of the image data is not completed (S514), the reception of the image data continues until the completion of the reception.
When the received image data is loaded in the queue (S518), one of the rendering threads, which is a standby state, is selected and activated (S522). The activated rendering thread renders the image data loaded in the queue and outputs the rendered image data to be displayed on the display (S522).
When the image data loaded in the queue is output and deleted from the queue in step S518, the rendering thread selected in step S518 is rendered inactive, and the rendering thread is switched to the standby state to wait for the next use in step S520.
The method according to an embodiment of the present invention can be implemented in the form of a program command which can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions recorded on the medium may be those specially designed and constructed for the present invention or may be available to those skilled in the art of computer software. Examples of computer-readable media include magnetic media such as hard disks, floppy disks and magnetic tape; optical media such as CD-ROMs and DVDs; magnetic media such as floppy disks; Magneto-optical media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. Examples of program instructions include machine language code such as those produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, It belongs to the scope of right.
110: IP camera
100: Video control system
211, 212, 213: IP camera
221, 222, 223: thread
300: Video control system
310: Processor
320: Memory
330: Storage device
340: Network adapter
350: Display
400: Video control system
401, 402, 403: IP camera
410: socket pool
411: Socket in the running state
420: image data reception thread
421: Enabled receiving thread
430: image data rendering thread
431: Rendering thread activated
440: queue
Claims (5)
A socket pool for managing a socket for communication with the plurality of IP cameras,
A first fixed number of receiving threads for receiving image data through a socket of the socket pool;
A second fixed number of rendering threads for rendering the received video data,
The receiving socket and the rendering thread are activated in response to reception of the video data,
When the processing of the image data is completed, the socket is returned to the socket pool, and the reception thread and the rendering thread are switched to a standby state,
A socket in a waiting state stored in the socket pool is allocated in the order of connection requests of the IP camera, one of reception threads in a waiting state is activated to receive image data, and one of rendering threads in a standby state is activated Wherein the data processing unit performs rendering processing of the data.
Further comprising a queue for transferring image data between the first fixed number of reception threads and the second fixed number of rendering threads.
When the video data is received from the IP camera, the socket connected to the IP camera is switched from the socket pool to the running state, and the waiting thread of the first fixed number of receiving threads is activated,
The activated receiving thread loads image data received through the socket in the execution state into the queue, and when receiving the image data, switches the socket in the execution state to a standby state and returns the socket to the socket pool The video control system is switched to the standby state.
Wherein when the received video data is loaded into the queue, a rendering thread that is in a standby state among the second fixed number of rendering threads is activated,
Wherein the activated rendering thread renders the image data loaded in the queue, outputs the rendered image data, and then switches to a standby state.
Switching the socket connected to the IP camera from the socket pool to a running state when image data is received from the IP camera and activating a waiting thread in a waiting one of the first fixed number of receiving threads;
Wherein the activated receiving thread loads image data received through the socket in the running state into a queue and returns the socket in the running state to the standby state when the reception of the image data is completed and returns the socket to the socket pool Wow,
Switching a reception thread that has processed reception of the video data to a standby state;
Activating a rendering thread that is a standby one of a second fixed number of rendering threads when the received video data is loaded into the queue;
Rendering the activated rendering thread to render and output the image data loaded in the queue,
And converting the rendering thread that has rendered the image data into a standby state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150028115A KR101711510B1 (en) | 2015-02-27 | 2015-02-27 | Control system and method for displaying image data from IP cameras |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150028115A KR101711510B1 (en) | 2015-02-27 | 2015-02-27 | Control system and method for displaying image data from IP cameras |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20160105010A KR20160105010A (en) | 2016-09-06 |
KR101711510B1 true KR101711510B1 (en) | 2017-03-02 |
Family
ID=56945925
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020150028115A KR101711510B1 (en) | 2015-02-27 | 2015-02-27 | Control system and method for displaying image data from IP cameras |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101711510B1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102051761B1 (en) * | 2018-11-30 | 2019-12-03 | 부산대학교 산학협력단 | Detachable helmet module for worker safety management |
KR102230980B1 (en) * | 2019-07-08 | 2021-03-23 | 주식회사 엘지유플러스 | Method and apparatus for client-server connection control for message delivery |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100347714B1 (en) * | 1999-12-18 | 2002-08-07 | 엘지정보통신주식회사 | Remote communication method in digital video recorder system |
KR100481604B1 (en) | 2002-12-23 | 2005-04-08 | 한국전자통신연구원 | Multi-threaded socket polling server system |
KR100932157B1 (en) | 2008-04-16 | 2009-12-16 | 주식회사 인투텍 | Large surveillance system based on IP monitoring |
KR101460684B1 (en) * | 2010-07-02 | 2014-11-12 | 에스케이플래닛 주식회사 | Apparatus and method for processing image based on pre loading, and apparatus and method for processing image based on asynchronous loading |
KR100984288B1 (en) | 2010-07-05 | 2010-09-30 | (주)태영크레비즈 | System for ip-carmera control and monitoring in private ip environment and mehtod thereof |
-
2015
- 2015-02-27 KR KR1020150028115A patent/KR101711510B1/en active IP Right Grant
Also Published As
Publication number | Publication date |
---|---|
KR20160105010A (en) | 2016-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12003743B2 (en) | Video stream decoding method and apparatus, terminal device, and storage medium | |
US9723215B2 (en) | Android bound service camera initialization | |
JP5887419B2 (en) | Method and apparatus for taking a screen shot of an application screen in a mobile terminal | |
US8817119B2 (en) | Camera device, camera system, control device and program | |
JP5887025B2 (en) | Information transmission method, apparatus, and system, terminal, and server | |
US20220058772A1 (en) | Image Processing Method and Device | |
CA2987758C (en) | Systems and methods for relating configuration data to ip cameras | |
US11595376B2 (en) | Surveillance camera setting method, method of controlling an installation of a surveillance camera and surveillance camera system | |
CN105308648A (en) | Systems and methods to super resolve a user-selected region of interest | |
US9525892B2 (en) | Video image distribution method | |
CN113784049B (en) | Camera calling method of android system virtual machine, electronic equipment and storage medium | |
US9865228B2 (en) | Computer program product, information processing method, and information processing apparatus | |
US11265475B2 (en) | Image capturing apparatus, client apparatus, method for controlling image capturing apparatus, method for controlling client apparatus, and non-transitory computer-readable storage medium | |
KR101711510B1 (en) | Control system and method for displaying image data from IP cameras | |
CN112351221B (en) | Image special effect processing method, device, electronic equipment and computer readable storage medium | |
KR101523142B1 (en) | Osgi based server for providing home security service using surveillance camera and method thereof | |
US10631046B2 (en) | Method and device for adapting the display of a video stream by a client | |
US20190045109A1 (en) | Information processing apparatus, information processing method, and storage medium | |
US20180213295A1 (en) | Apparatus and method for simultaneous playback and backup of media in a web browser | |
US20060007317A1 (en) | Method for displaying remote images | |
CN110830761B (en) | Television wall scene switching method, device and system, electronic equipment and storage medium | |
JP6436762B2 (en) | Information processing apparatus and service providing method | |
JP2006065871A (en) | Household electric appliance network system | |
CN114124498B (en) | Monitoring equipment registration method and device, electronic equipment and storage medium | |
US20240364905A1 (en) | Video stream decoding method and apparatus, terminal device, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
N231 | Notification of change of applicant | ||
E902 | Notification of reason for refusal | ||
AMND | Amendment | ||
E90F | Notification of reason for final refusal | ||
AMND | Amendment | ||
E601 | Decision to refuse application | ||
AMND | Amendment | ||
X701 | Decision to grant (after re-examination) | ||
GRNT | Written decision to grant |