KR100694465B1 - Data connection method of multi-channel digital video recorder system using power line communication - Google Patents

Data connection method of multi-channel digital video recorder system using power line communication Download PDF

Info

Publication number
KR100694465B1
KR100694465B1 KR1020050103415A KR20050103415A KR100694465B1 KR 100694465 B1 KR100694465 B1 KR 100694465B1 KR 1020050103415 A KR1020050103415 A KR 1020050103415A KR 20050103415 A KR20050103415 A KR 20050103415A KR 100694465 B1 KR100694465 B1 KR 100694465B1
Authority
KR
South Korea
Prior art keywords
channel
state
open
thread
checking
Prior art date
Application number
KR1020050103415A
Other languages
Korean (ko)
Inventor
주성호
이태영
박병석
현덕화
김영현
최영림
Original Assignee
한국전력공사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 한국전력공사 filed Critical 한국전력공사
Priority to KR1020050103415A priority Critical patent/KR100694465B1/en
Application granted granted Critical
Publication of KR100694465B1 publication Critical patent/KR100694465B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/542Systems for transmission via power distribution lines the information being in digital form
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/544Setting up communications; Call and signalling arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B2203/00Indexing scheme relating to line transmission systems
    • H04B2203/54Aspects of powerline communications not already covered by H04B3/54 and its subgroups
    • H04B2203/5429Applications for powerline communications
    • H04B2203/545Audio/video application, e.g. interphone

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A data connection method of a multi-channel digital video recorder system using PLC(Power Line Communication) is provided to be capable of continuously monitoring connected states of each channel in one thread to reconnect within the thread in case of a disconnected channel, thus real-time image data sent from each channel can be received with almost no loss. A particular channel is selected from multiple channels of a digital video recorder system (S11). The open state of the selected channel is confirmed(S12). If it is confirmed that the channel is closed, an on state of the channel is confirmed(S13). If it is confirmed that the channel is in off state, the next channel is selected(S21). If it is confirmed that the channel is in on state, the channel is open(S14).

Description

전력 통신선을 이용한 멀티 채널 디지털 비디오 레코더 시스템의 데이터 접속 방법{Data connection method of multi-channel digital video recorder system using power line communication}Data connection method of multi-channel digital video recorder system using power line communication}

도 1은 본 발명에 의한 전력 통신선을 이용한 멀티 채널 디지털 비디오 레코더 시스템의 데이터 접속 방법에 대한 예제 코드이다.1 is an example code for a data connection method of a multi-channel digital video recorder system using a power communication line according to the present invention.

도 2는 본 발명에 따른 전력 통신선을 이용한 멀티 채널 디지털 비디오 레코더 시스템의 데이터 접속 방법을 도시한 순서도이다.2 is a flowchart illustrating a data connection method of a multi-channel digital video recorder system using a power communication line according to the present invention.

본 발명은 전력 통신선을 이용한 멀티 채널 디지털 비디오 레코더 시스템에 관한 것으로서, 보다 상세히는 각 채널을 하나의 쓰레드에서 지속적으로 접속 상태를 감시하여 접속이 끊어진 채널은 쓰레드 내에서 재접속하여 각각의 채널로부터 전송된 실시간 영상 데이터를 최대한 손실없이 전송받을 수 있는 전력 통신선을 이용한 멀티 채널 디지털 비디오 레코더 시스템의 데이터 접속 방법에 관한 것이다.The present invention relates to a multi-channel digital video recorder system using a power communication line. More specifically, the channel is disconnected by continuously monitoring each channel in one thread, and the disconnected channel is retransmitted in the thread to be transmitted from each channel. The present invention relates to a data access method of a multi-channel digital video recorder system using a power communication line capable of receiving real-time image data without loss.

일반적으로 전력선 통신(Power Line Communication, 이하 PLC로 약칭함)은 50~60Hz 주파수의 교류 전기를 공급하는 전력선에 수백 Hz에서 수십 MHz의 고주파 통신 신호를 함께 보내 전용 접속 장비로 이 통신 신호만을 수신하여 통신하는 방식이다. 이 방식은 많은 비용이 드는 전용선이나 기간망을 설치할 필요없이 콘센트에 접속함으로써 인터넷 접속, 홈 랜(Home LAN) 또는 디지털 비디오 레코더 시스템(Digital Video Recorder System, 이하 DVR로 약칭함)을 구현할 수 있어 매우 편리하고 경제적이라 할 수 있다.In general, power line communication (hereinafter abbreviated as PLC) sends a high-frequency communication signal of several hundred Hz to several tens of MHz to a power line that supplies AC electricity with a frequency of 50 to 60 Hz. It's a way of communicating. This method is very convenient because it can implement internet access, home LAN or digital video recorder system (hereinafter abbreviated as DVR) by connecting to an outlet without the need for expensive leased line or backbone network. It can be called economic.

여기서, 상기 DVR이란 종래의 아날로그 방식에 의한 폐쇄회로티브이(Closed Circuit Television; CCTV)를 디지털 방식을 적용하여 실시간으로 모니터링, 검색 및 제어를 수행할 수 있도록 한 시스템을 말한다. 이러한 DVR은 랜(LAN) 환경의 TCP/IP 통신에 기반한 것으로 안정적인 랜 환경에서 TCP/IP를 이용해 DVR과 접속하여 통신하도록 되어 있다. 일반적인 DVR은 TCP/IP 접속을 안정적인 것으로 가정하며 로그인시 DVR과 접속하고, 로그 아웃시 접속을 끊는 일반적인 TCP/IP 통신 방법으로 접속을 유지한다.In this case, the DVR refers to a system in which a closed circuit television (CCTV) based on a conventional analog system is applied to a digital system to monitor, search, and control in real time. These DVRs are based on TCP / IP communication in the LAN environment and are connected to the DVR using TCP / IP in a stable LAN environment. General DVR assumes stable TCP / IP connection and maintains connection with general TCP / IP communication method that connects to DVR at login and disconnects at logout.

한편, 통신 선로로서 안정성이 부족한 전력선으로는 음성이나 간단한 제어 신호의 전송은 칩셋(Chip Set) 제조사에서 제공하는 프로토콜이나 상기 TCP/IP를 통해서도 데이터의 양이 적기 때문에 충분히 멀티 채널 통신이 가능하다.On the other hand, a power line lacking stability as a communication line can transmit a voice or a simple control signal through a protocol provided by a chip set manufacturer or a small amount of data through the TCP / IP, so that multi-channel communication is possible.

그러나, 상기와 같은 DVR을 위한 동영상 데이터는 그 데이터 양이 크기 때문에 실시간으로 멀티 채널에서 받아 오기 어렵게 된다. 즉, 현재의 PLC에서는 동영상과 같은 전송량이 많은 데이터를 멀티 채널로 지속적으로 처리하기에는 접속 상태가 지속적이지 않고 순간적으로 접속이 끊길 가능성이 매우 크다고 할 수 있다.However, the video data for the DVR is difficult to receive from the multi-channel in real time because the data amount is large. In other words, in the present PLC, the connection state is not continuous and there is a high possibility of disconnection momentarily in order to continuously process a large amount of data such as a video in a multi channel.

다른 말로, 전력선하에서 멀티 채널의 동영상 데이터는 PLC에 상당한 부하를 줄 수 있으며, 이에 따라 접속이 불안정한 경우가 발생한다. 이에 따라 전력선하에서는 일반적인 TCP/IP 접속과는 다른 TCP/IP 접속 방법이 요구된다. 즉, 전력선은 원래 통신을 위한 것이 아니어서 통신을 방해하는 잡음에 약하다. PLC를 통한 데이터 신호는 변압기 등 전기가 오가면서 사라지거나 약해질 수 있다. 또한 다른 전기 기기를 사용할 때 순간적으로 많은 전력이 흐르면서 데이터 전송에도 영향을 받는다. 당연히 이러한 PLC는 패킷 손신율과 지연율이 상당히 높다. 실제로 PLC로 DVR을 구현할 때 TCP/IP 접속이 기존 랜 환경처럼 안정적이지 못하고 DVR 접속이 자주 끊기며 패킷이 지속적으로 손실되는 현상을 경험할 수 있다.In other words, multi-channel video data under power lines can put a significant load on the PLC, resulting in unstable connections. Accordingly, a power line requires a TCP / IP connection method different from that of a general TCP / IP connection. That is, the power line is not originally intended for communication, so it is weak to noise that interferes with communication. Data signals through the PLC can disappear or fade as electricity flows through transformers. Also, when using other electrical devices, instantaneous power flows and affects data transmission. Naturally, these PLCs have considerably higher packet loss and delay rates. In fact, when implementing DVR with PLC, TCP / IP connection is not as stable as existing LAN environment, DVR connection is frequently disconnected and packets are continuously lost.

따라서, PLC에서 멀티 채널 DVR을 구현하기 위해서는 종래 랜을 이용한 TCP/IP 환경에서의 일반적인 DVR과는 다른 방법으로 데이터 접속을 구현하고, 접속이 끊어졌을 때 빠르게 재접속하여 데이터 접속을 복구하는 방법이 구현되어야 하나 아직 이러한 방법이 개발되지 못하고 있다.Therefore, in order to implement a multi-channel DVR in a PLC, a data connection must be implemented by a method different from a general DVR in a TCP / IP environment using a conventional LAN, and a method of quickly reconnecting and restoring a data connection when the connection is lost. One such method is not yet developed.

본 발명은 상술한 종래의 문제점을 극복하기 위한 것으로서, 본 발명의 목적은 각 채널을 하나의 쓰레드에서 지속적으로 접속 상태를 감시하여 접속이 끊어진 채널은 쓰레드 내에서 재접속하여 각각의 채널로부터 전송된 실시간 영상 데이터를 최대한 손실없이 전송받을 수 있는 전력 통신선을 이용한 멀티 채널 디지털 비디오 레코더 시스템의 데이터 접속 방법을 제공하는데 있다.The present invention is to overcome the above-mentioned problems, the object of the present invention is to continuously monitor the connection state of each channel in one thread, disconnected channel is re-connected in the thread in real time transmitted from each channel The present invention provides a data access method of a multi-channel digital video recorder system using a power communication line capable of receiving video data without loss.

삭제delete

삭제delete

상기한 목적을 달성하기 위해 본 발명에 의한 PLC를 이용한 멀티 채널 DVR 시스템의 데이터 접속 방법은 멀티 채널 DVR 시스템이 실행되면 각 채널의 오픈/클로즈 상태, 온/오프 상태를 확인하여 해당 채널이 클로즈/온 상태이면 해당 채널을 오픈하고, 해당 채널이 클로즈/오프 상태이면 다음 채널을 선택하며, 해당 채널이 오픈/온 상태이면 다음 채널을 선택하고, 해당 채널이 오픈/오프 상태이면 해당 채널을 클로즈하는 쓰레드가 수행될 수 있다.
여기서, 당업자에게 이미 주지된 사항이기는 하지만, 몇가지의 용어의 의미를 정의한다. 우선 "채널 오픈"이라 함은 해당 채널이 선택된 상태, 즉, 데이터를 전송하는데 사용되는 채널을 의미한다. 또한, "채널 클로즈"라 함은 해당 채널이 데이터의 전송에 사용되지 않도록 설정된 상태를 의미한다. 또한, "채널 온"이라 함은 해당 채널의 상태에 관한 내용으로서 데이터의 전송에 지장이 없는 상태(접속된 상태)를 의미한다. 마지막으로, "채널 오프"는 해당 채널의 상태에 관한 내용으로서 데이터 전송에 문제가 발생할 수 있는 상태(접속이 끊어진 상태)를 의미한다.
여기서, 상기 쓰레드는 로그인(login)이 성공하면 생성될 수 있다.
또한, 상기 쓰레드는 로그오프(logoff)가 되면 종료될 수 있다.
In order to achieve the above object, a data access method of a multi-channel DVR system using a PLC according to the present invention checks an open / close state and an on / off state of each channel when the multi-channel DVR system is executed. If the channel is open, the channel is opened. If the channel is closed / off, the next channel is selected. If the channel is open / on, the next channel is selected. If the channel is open / off, the channel is closed. The thread can run.
Here, although already known to those skilled in the art, the meaning of several terms is defined. First, "channel open" refers to a state in which a corresponding channel is selected, that is, a channel used to transmit data. In addition, "channel closed" means a state in which a corresponding channel is set not to be used for data transmission. In addition, "channel on" refers to a state of a corresponding channel, which means that there is no problem in data transmission (connected state). Lastly, "channel off" refers to a state in which a problem occurs in data transmission (disconnected state) regarding the state of a corresponding channel.
Here, the thread may be created if the login is successful.
In addition, the thread may be terminated when the logoff (logoff).

또한, 상기 쓰레드는 DVR 시스템의 멀티 채널중 특정 채널을 선택하는 채널 선택 단계(S11)와, 상기 선택된 채널의 오픈(open) 상태를 확인하는 채널 오픈 상태 확인 단계(S12)와, 상기 채널 오픈 상태 확인 단계(S12)에서 채널이 클로즈(close) 상태로 확인되면 상기 채널의 온(on) 상태를 확인하는 채널 온 상태 확인 단계(S13)와, 상기 채널 온 상태 확인 단계(S13)에서 채널이 오프 상태로 확인되면 다음 채널을 선택하는 다음 채널 선택 단계(S21)로 이루어질 수 있다.In addition, the thread selects a channel (S11) for selecting a specific channel among the multi-channels of the DVR system, a channel open state checking step (S12) for checking an open state of the selected channel, and the channel open state. When the channel is confirmed to be in a closed state in the confirming step (S12), the channel on state checking step (S13) for checking the on state of the channel (S13), and the channel is turned off in the channel on state checking step (S13). If the status is confirmed, the next channel selection step (S21) of selecting the next channel may be performed.

또한, 상기 쓰레드는 DVR 시스템의 멀티 채널중 특정 채널을 선택하는 채널 선택 단계(S11)와, 상기 선택된 채널의 오픈(open) 상태를 확인하는 채널 오픈 상태 확인 단계(S12)와, 상기 채널 오픈 상태 확인 단계(S12)에서 채널이 클로즈(close) 상태로 확인되면 상기 채널의 온(on) 상태를 확인하는 채널 온 상태 확인 단계(S13)와, 상기 채널 온 상태 확인 단계(S13)에서 채널이 온 상태로 확인되면 상기 채널을 오픈하는 채널 오픈 단계(S14)와, 다음 채널을 선택하는 다음 채널 선택 단계(S21)로 이루어질 수 있다.In addition, the thread selects a channel (S11) for selecting a specific channel among the multi-channels of the DVR system, a channel open state checking step (S12) for checking an open state of the selected channel, and the channel open state. When the channel is confirmed to be in a closed state in the checking step (S12), the channel on state checking step (S13) for checking the on state of the channel (S13), and the channel is turned on in the channel on state checking step (S13). If the status is confirmed, the channel opening step (S14) for opening the channel and the next channel selection step (S21) for selecting the next channel may be made.

또한, 상기 쓰레드는 DVR 시스템의 멀티 채널중 특정 채널을 선택하는 채널 선택 단계(S11)와, 상기 선택된 채널의 오픈(open) 상태를 확인하는 채널 오픈 상태 확인 단계(S12)와, 상기 채널 오픈 상태 확인 단계(S12)에서 채널이 오픈 상태로 확인되면 상기 채널의 온(on) 상태를 확인하는 채널 온 상태 확인 단계(S15)와, 상기 채널 온 상태 확인 단계(S15)에서 채널이 온 상태로 확인되면 다음 채널을 선택하는 다음 채널 선택 단계(S21)로 이루어질 수 있다.In addition, the thread selects a channel (S11) for selecting a specific channel among the multi-channels of the DVR system, a channel open state checking step (S12) for checking an open state of the selected channel, and the channel open state. When the channel is confirmed to be in an open state in the verifying step (S12), the channel on state checking step (S15) for checking the on state of the channel (S15), and the channel on state checking step (S15) is confirmed in the on state. When the next channel selection step (S21) can be made.

또한, 상기 쓰레드는 DVR 시스템의 멀티 채널중 특정 채널을 선택하는 채널 선택 단계(S11)와, 상기 선택된 채널의 오픈(open) 상태를 확인하는 채널 오픈 상태 확인 단계(S12)와, 상기 채널 오픈 상태 확인 단계(S12)에서 채널이 오픈 상태로 확인되면 상기 채널의 온(on) 상태를 확인하는 채널 온 상태 확인 단계(S15)와, 상기 채널 온 상태 확인 단계(S15)에서 채널이 오프(off) 상태로 확인되면 상기 채널을 클로즈시키는 채널 클로즈 단계(S16)와, 다음 채널을 선택하는 다음 채널 선택 단계(S21)로 이루어질 수 있다.In addition, the thread selects a channel (S11) for selecting a specific channel among the multi-channels of the DVR system, a channel open state checking step (S12) for checking an open state of the selected channel, and the channel open state. When the channel is confirmed to be open in the checking step (S12), the channel on state checking step (S15) for checking the on state of the channel (S15), and the channel is turned off (off) in the channel on state checking step (S15). If it is confirmed as a state, the channel closing step (S16) for closing the channel and the next channel selection step (S21) for selecting the next channel may be made.

상기와 같이 하여 본 발명에 의한 PLC를 이용한 멀티 채널 DVR 시스템의 데이터 접속 방법은 각 채널을 하나의 쓰레드에서 지속적으로 접속 상태를 감시하여 접속이 끊어진 채널은 쓰레드 내에서 다시 접속을 함으로써, 각각의 채널로부터 전송된 실시간 동영상을 최대한 손실없이 받을 수 있게 된다. 즉, 특정 채널의 접속이 끊어졌다고 하여 DVR 시스템 전체를 초기화시키지 않고도, 자동적으로 끊어진 채널만을 바로 복원할 수 있어 DVR 시스템의 운용을 효율적으로 행할 수 있다.As described above, in the data access method of the multi-channel DVR system using the PLC according to the present invention, each channel is continuously monitored in one thread, and the disconnected channel is connected again in the thread, thereby allowing each channel to be connected. You can receive the real-time video transmitted from the maximum without loss. In other words, it is possible to restore the disconnected channel immediately without initializing the entire DVR system because the connection of the specific channel is lost, so that the DVR system can be efficiently operated.

이하, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 본 발명을 용이하게 실시할 수 있을 정도로 본 발명의 바람직한 실시예를 첨부된 도면을 참조하여 상세하게 설명하면 다음과 같다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings such that those skilled in the art may easily implement the present invention.

도 1을 참조하면, 본 발명에 의한 PLC를 이용한 멀티 채널 DVR 시스템의 데이터 접속 방법에 대한 예제 코드가 도시되어 있다.1, an example code of a data access method of a multi-channel DVR system using a PLC according to the present invention is shown.

도시된 바와 같이 본 발명은 먼저 로그인(login)이 성공하면 소정 쓰레드 예를 들면 dvrconnection_thread()를 생성한다. 또한, 본 발명은 로그오프(logoff)가 되면 상기 쓰레드 예를 들면 dvrconnection_thread()를 종료한다.As shown, the present invention first creates a predetermined thread, for example, dvrconnection_thread () upon successful login. In addition, the present invention terminates the thread, for example dvrconnection_thread (), when the logoff occurs.

한편, 상기와 같은 쓰레드 즉, dvrconnection_thread()는 도면에 도시된 바와 같은 각종 함수 또는 변수를 포함하여 다양한 기종의 컴퓨터에서 수행될 수 있으며, 이러한 각종 함수의 의미를 설명하면 다음과 같다.Meanwhile, the thread as described above, that is, dvrconnection_thread () may be executed in various types of computers including various functions or variables as shown in the drawings, and the meanings of the various functions are as follows.

1. void dvrconnection_thread(void *p) : 본 발명의 요지인 쓰레드 함수로서 멀티 채널의 DVR의 접속을 관리한다.1. void dvrconnection_thread (void * p): This is a thread function that is a subject of the present invention and manages the connection of a multi-channel DVR.

2. int GetMaxDvrChannleCount() : DVR의 최대 채널수를 알려 주는 역할을 한다.2. int GetMaxDvrChannleCount (): informs the maximum number of channels of DVR.

3. BOOL GetDvrConnectionThreadState() : 쓰레드(dvrconnect_thread)의 지속 여부를 알려주는 역할을 한다.3. BOOL GetDvrConnectionThreadState (): Informs whether or not the thread (dvrconnect_thread) is persisted.

4. BOOL IsDvrRunning(int ch) : 파라메터로 받은 DVR 채널의 오픈(open) 상태를 확인하는 역할을 한다. PLC의 특성상 접속되었던 DVR 접속이 끊기는 경우가 발생하기도 한다. 접속이 끊어지거나 접속이 이루어지지 않은 경우 이 함수는 펄스(false)를 리턴한다.4. BOOL IsDvrRunning (int ch): Checks the open status of the DVR channel received as a parameter. Due to the nature of the PLC, the connection to the DVR that has been connected may sometimes be lost. If the connection is lost or not established, this function returns a pulse.

5. BOOL IsDvrEnable(int ch) : 파라메터로 받은 DVR 채널의 온/오프(on/off) 여부를 확인하는 역할을 한다. 만약 사용자가 프로그램 또는 애플리케이션에서 DVR 채널 셋팅을 오프(off)로 설정하였다면 이 채널은 클로즈(close)되어야 한다.5. BOOL IsDvrEnable (int ch): Checks whether the DVR channel received as a parameter is on / off. If the user has set the DVR channel setting to off in the program or application, this channel should be closed.

6. BOOL CloseDvr(int ch) : 파라메터를 받은 DVR 채널을 클로즈하는 역할을 한다.6. BOOL CloseDvr (int ch): Closes the DVR channel receiving the parameter.

7. BOOL OpenDvr(int ch) : 파라메터를 받은 DVR 채널을 오픈하는 역할을 한다.7. BOOL OpenDvr (int ch): Opens DVR channel receiving parameters.

한편, 이러한 프로그램 예제 코드는 일례일 뿐이며, 이는 매우 다양한 프로그램 언어로 구현 가능함을 인식하여야 한다. 즉, 본 발명에 의한 방법은 상기 프로그램 예제 코드로 한정되는 것은 아니다.On the other hand, it should be recognized that such program example code is only an example, and that it can be implemented in a wide variety of programming languages. That is, the method according to the present invention is not limited to the program example code.

도 2를 참조하면, 본 발명에 따른 PLC를 이용한 멀티 채널 DVR 시스템의 데이터 접속 방법이 순서도로서 도시되어 있다.2, a data connection method of a multi-channel DVR system using a PLC according to the present invention is shown as a flowchart.

본 발명은 멀티 채널 DVR 시스템이 실행되면 각 채널의 오픈/클로즈 상태(해당 채널이 데이터를 전송하는데 사용되도록 설정된 상태/해당 채널이 데이터를 전송하지 않도록 설정된 상태), 온/오프 상태(데이터 전송에 지장이 없는 상태/데이터 전송에 지장이 있는 상태)를 확인하여 해당 채널이 클로즈/온 상태(해당 채널이 데이터를 전송하지 않도록 설정된 상태/데이터 전송에 지장이 없는 상태)이면 해당 채널을 오픈(해당 채널이 데이터를 전송하는데 사용되도록 설정)하고, 해당 채널이 클로즈/오프 상태(해당 채널이 데이터를 전송하지 않도록 설정된 상태/데이터 전송에 지장이 있는 상태)이면 다음 채널을 선택하며, 해당 채널이 오픈/온 상태(해당 채널이 데이터를 전송하는데 사용되도록 설정된 상태/데이터 전송에 지장이 없는 상태)이면 다음 채널을 선택하고, 해당 채널이 오픈/오프 상태(해당 채널이 데이터를 전송하는데 사용되도록 설정된 상태//데이터 전송에 지장이 있는 상태)이면 해당 채널을 클로즈하는 쓰레드가 수행됨을 주요지로 한다.According to the present invention, when a multi-channel DVR system is executed, an open / close state of each channel (a state in which a corresponding channel is set to be used for transmitting data / a state in which the channel is set not to transmit data) and an on / off state (in data transmission) Check if there is no problem / interruption of data transmission, and if the channel is closed / on (the channel is set to not transmit data / no problem with data transmission), open the channel (the corresponding status). Set the channel to be used to transmit data), select the next channel if the channel is in the closed / off state (the channel is set to not transmit data / interrupting data transmission) and the channel is open If the status is ON (the channel is set up to use to transmit data / the data transfer is intact), then The selection, and the channel is open / off state (a state in which the channel interfere with the set state // data transfer to be used for transmitting data), then the thread to close the main channel performed Jiro.

여기서, 상기 쓰레드는 채널 선택 단계(S11)와, 채널 오픈 상태 확인 단계(S12)와, 채널 온 상태 확인 단계(S13)와, 채널 오픈 단계(S14)와, 다시 채널 온 상태 확인 단계(S15)와, 채널 클로즈 단계(S16)와, 다음 채널 선택 단계(S21)를 포함한다.Here, the thread is selected for a channel selection step S11, a channel open state checking step S12, a channel on state checking step S13, a channel open step S14, and a channel on state checking step S15. And a channel close step S16 and a next channel select step S21.

상기 채널 선택 단계(S11)에서는 DVR 시스템의 멀티 채널중 특정 채널을 선택한다. 이러한 채널 선택 단계는 채널이 오픈되어 있든지 또는 클로즈되어있든지에 관계없이 몇 개의 단계가 완료되면 다음 채널을 순차적으로 선택하게 된다. 즉, 채널1부터 채널n이 구비되어 있다면, 상기 채널1부터 채널n까지 순차적으로 선택하여 소정 단계를 수행한다.In the channel selection step S11, a specific channel is selected among the multi-channels of the DVR system. This channel selection step selects the next channel sequentially after several steps are completed, regardless of whether the channel is open or closed. That is, if the channel 1 to the channel n is provided, the predetermined steps are performed by sequentially selecting the channel 1 to the channel n.

상기 채널 오픈 상태 확인 단계(S12)에서는 상기 선택된 채널의 오픈(open) 상태를 확인한다. 즉, 선택된 채널이 오픈 상태인지 클로즈 상태인지 확인 및 판단한다. 다른 말로, 채널이 데이터를 전송하도록 설정된 상태인지, 아니면 채널이 데이터를 전송하지 않도록 설정된 상태인지 확인 및 판단한다.In the channel open state check step (S12), the open state of the selected channel is checked. That is, it checks and determines whether the selected channel is open or closed. In other words, it checks and determines whether the channel is set to transmit data or whether the channel is set to transmit data.

상기 채널 온 상태 확인 단계(S13)에서는 상기 채널 오픈 상태 확인 단계(S12)에서 채널이 클로즈(close) 상태로 확인 및 판단되면 상기 채널의 온(on) 상태를 확인한다. 즉, 상기 채널이 온 상태인지 오프(off) 상태인지를 확인 및 판단한다. 다른 말로, 채널이 데이터 전송에 지장이 없는 상태인지, 아니면 채널이 데이터 전송에 지장이 있는 상태인지 확인 및 판단한다.In the channel on state checking step S13, when the channel is checked and determined to be in a close state in the channel open state checking step S12, the channel on state checking step is checked. That is, it is checked and determined whether the channel is in an on state or an off state. In other words, it checks and determines whether the channel is in a state where data transmission is not interrupted or whether the channel is in the state of data transmission.

여기서, 상기 채널 온 상태 확인 단계(S13)에서 채널이 오프 상태로 확인되면 다음 채널을 선택하는 다음 채널 선택 단계(S21)가 수행된다. 즉, 사용자가 프로그램 또는 애플리케이션에서 DVR 셋팅을 오프로 설정하였다면 채널을 오픈시키지 않고 바고 다음 채널 선택 단계(S21)를 수행한다.Here, when the channel is confirmed to be in an off state in the channel on state checking step S13, a next channel selecting step S21 for selecting a next channel is performed. In other words, if the user sets the DVR setting to OFF in a program or application, the user does not open the channel but performs the next channel selection step (S21).

그러나, 상기 채널 온 상태 확인 단계(S13)에서 채널이 온 상태로 확인되면 채널 오픈 단계(S14)가 수행된다. 즉, 해당 채널이 사용자에 의해 프로그램 또는 애플리케이션에서 DVR 셋팅이 온으로 되어 있음에도 불구하고 해당 채널이 클로즈된 상태이므로 바로 상기 해당 채널을 오픈하여 실시간 동영상이 제공되도록 한다.However, if the channel is confirmed to be in the ON state in the channel on state checking step S13, the channel opening step S14 is performed. That is, even though the channel is closed by the user in the program or application, the channel is in a closed state, so the channel is opened immediately so that real-time video is provided.

더불어, 이러한 채널 오픈 단계(S14)가 완료되면 마찬가지로 다음 채널을 선택하는 다음 채널 선택 단계(S21)가 수행된다.In addition, when the channel opening step S14 is completed, the next channel selection step S21 for selecting the next channel is similarly performed.

계속해서, 본 발명은 상기 채널 오픈 상태 확인 단계(S12)에서 채널이 온 상태로 확인되면 채널 온 상태 확인 단계(S15)가 수행된다. 즉, 다시 채널이 온 상태인지 오프 상태인지를 확인 및 판단하게 된다.Subsequently, in the present invention, if the channel is confirmed to be in the on state in the channel open state checking step S12, the channel on state checking step S15 is performed. That is, it is again checked whether the channel is on or off.

물론, 상기 채널 온 상태 확인 단계(S15)에서 채널이 온 상태로 확인되면, 현재 정상적으로 실시간 동영상이 제공되고 있는 상태이므로 바로 다음 채널 선택 단계(S21)가 수행된다.Of course, if the channel is confirmed to be in the on state (S15), the next channel selection step (S21) is immediately performed since the real-time video is normally provided.

이어서, 상기 채널 온 상태 확인 단계(S15)에서 채널이 오프 상태로 확인되면, 사용자가 프로그램 또는 애플리케이션에서 DVR 셋팅을 오프시킨 것이므로, 해당 채널을 클로즈하는 채널 클로즈 단계(S16)가 수행된다.Subsequently, if the channel is turned off in the channel on state checking step S15, since the user has turned off the DVR setting in the program or the application, the channel closing step S16 of closing the corresponding channel is performed.

물론, 이러한 채널 클로즈 단계(S16)가 완료되면 마찬가지로 다음 채널을 선택하는 다음 채널 선택 단계(S21)가 수행된다.Of course, when the channel closing step S16 is completed, the next channel selecting step S21 for selecting the next channel is likewise performed.

한편, 여기서는 DVR의 채널 1에 대한 오픈/클로즈, 온/오프 상태를 중심으로 설명하였지만, 본 발명은 DVR의 채널 2 내지 채널 n에도 동일하게 적용됨은 당연하다.Meanwhile, although the description has been made with respect to the open / close and on / off states of channel 1 of the DVR, the present invention is also applicable to the channels 2 to n of the DVR.

상술한 바와 같이, 본 발명에 따른 전력 통신선을 이용한 멀티 채널 DVR 시 스템의 데이터 접속 방법은 각 채널을 하나의 쓰레드에서 지속적으로 접속 상태를 감시하여 접속이 끊어진 채널은 쓰레드 내에서 다시 접속을 함으로써, 각각의 채널로부터 전송된 실시간 동영상을 최대한 손실없이 받을 수 있게 된다. 즉, 특정 채널의 접속이 끊어졌다고 하여 DVR 시스템 전체를 초기화시키지 않고도, 자동적으로 끊어진 채널만을 바로 복원할 수 있게 된다.As described above, in the data connection method of the multi-channel DVR system using the power communication line according to the present invention, each channel is continuously monitored in one thread, and the disconnected channel is connected again in the thread. The real-time video transmitted from each channel can be received without loss. In other words, if a particular channel is disconnected, only the channel which is automatically disconnected can be restored immediately without initializing the entire DVR system.

이상에서 설명한 것은 본 발명에 따른 전력 통신선을 이용한 멀티 채널 DVR 시스템의 데이터 접속 방법을 실시하기 위한 하나의 실시예에 불과한 것으로서, 본 발명은 상기한 실시예에 한정되지 않고, 이하의 특허청구범위에서 청구하는 바와 같이 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 분야에서 통상의 지식을 가진 자라면 누구든지 다양한 변경 실시가 가능한 범위까지 본 발명의 기술적 정신이 있다고 할 것이다.What has been described above is only one embodiment for implementing a data connection method of a multi-channel DVR system using a power communication line according to the present invention, the present invention is not limited to the above-described embodiment, in the claims below As claimed, any person having ordinary skill in the art without departing from the gist of the present invention will have the technical spirit of the present invention to the extent that various modifications can be made.

Claims (7)

멀티 채널 디지털 비디오 레코더 시스템이 실행되면 각 채널이 데이터 전송에 사용되도록 설정되었는지 아니면 데이터 전송에 사용되지 않도록 설정되었는지에 대한 오픈/클로즈 상태, 데이터 전송에 지장이 없는지 아니면 데이터 전송에 지장이 있는지에 대한 온/오프 상태를 확인하여 해당 채널이 클로즈/온 상태이면 해당 채널을 오픈하고, 해당 채널이 클로즈/오프 상태이면 다음 채널을 선택하며, 해당 채널이 오픈/온 상태이면 다음 채널을 선택하고, 해당 채널이 오픈/오프 상태이면 해당 채널을 클로즈하는 쓰레드가 수행됨을 특징으로 하는 전력 통신선을 이용한 멀티 채널 디지털 비디오 레코더 시스템의 데이터 접속 방법.When the multi-channel digital video recorder system is running, the open / closed status of whether each channel is enabled or disabled for data transmission, whether there is no problem with data transmission, or whether there is a problem with data transmission. Check the on / off status to open the channel if the channel is closed / on, select the next channel if the channel is closed / off, select the next channel if the channel is open / on, and A method of accessing data of a multi-channel digital video recorder system using a power communication line, characterized in that a thread for closing the channel is performed when a channel is open / off. 제 1 항에 있어서, 상기 쓰레드는 로그인(login)이 성공하면 생성됨을 특징으로 하는 전력 통신선을 이용한 멀티 채널 디지털 비디오 레코더 시스템의 데이터 접속 방법.2. The method of claim 1, wherein the thread is created when a login is successful. 제 1 항에 있어서, 상기 쓰레드는 로그오프(logoff)가 되면 종료됨을 특징으로 하는 전력 통신선을 이용한 멀티 채널 디지털 비디오 레코더 시스템의 데이터 접속 방법.2. The method of claim 1, wherein the thread terminates when it logs off. 제 1 항에 있어서, 상기 쓰레드는 The method of claim 1, wherein the thread is 디지털 비디오 레코더 시스템의 멀티 채널중 특정 채널을 선택하는 채널 선택 단계(S11)와,A channel selection step (S11) of selecting a specific channel among the multi-channels of the digital video recorder system, 상기 선택된 채널의 오픈(open) 상태를 확인하는 채널 오픈 상태 확인 단계(S12)와,A channel open state checking step (S12) of checking an open state of the selected channel; 상기 채널 오픈 상태 확인 단계(S12)에서 채널이 클로즈(close) 상태로 확인되면 상기 채널의 온(on) 상태를 확인하는 채널 온 상태 확인 단계(S13)와,A channel on state checking step (S13) of checking an on state of the channel when the channel is confirmed to be in a close state in the channel open state checking step (S12); 상기 채널 온 상태 확인 단계(S13)에서 채널이 오프 상태로 확인되면 다음 채널을 선택하는 다음 채널 선택 단계(S21)로 이루어진 것을 특징으로 하는 전력 통신선을 이용한 멀티 채널 디지털 비디오 레코더 시스템의 데이터 접속 방법.And a next channel selection step (S21) of selecting a next channel when the channel is turned off in the channel on state checking step (S13). 제 1 항에 있어서, 상기 쓰레드는 The method of claim 1, wherein the thread is 디지털 비디오 레코더 시스템의 멀티 채널중 특정 채널을 선택하는 채널 선택 단계(S11)와,A channel selection step (S11) of selecting a specific channel among the multi-channels of the digital video recorder system, 상기 선택된 채널의 오픈(open) 상태를 확인하는 채널 오픈 상태 확인 단계(S12)와,A channel open state checking step (S12) of checking an open state of the selected channel; 상기 채널 오픈 상태 확인 단계(S12)에서 채널이 클로즈(close) 상태로 확인되면 상기 채널의 온(on) 상태를 확인하는 채널 온 상태 확인 단계(S13)와,A channel on state checking step (S13) of checking an on state of the channel when the channel is confirmed to be in a close state in the channel open state checking step (S12); 상기 채널 온 상태 확인 단계(S13)에서 채널이 온 상태로 확인되면 상기 채널을 오픈하는 채널 오픈 단계(S14)와,A channel opening step (S14) of opening the channel when the channel is confirmed to be in an on state in the channel on state checking step (S13); 다음 채널을 선택하는 다음 채널 선택 단계(S21)로 이루어진 것을 특징으로 하는 전력 통신선을 이용한 멀티 채널 디지털 비디오 레코더 시스템의 데이터 접속 방법.A next channel selection step (S21) of selecting a next channel, wherein the data connection method of a multi-channel digital video recorder system using a power communication line. 제 1 항에 있어서, 상기 쓰레드는 The method of claim 1, wherein the thread is 디지털 비디오 레코더 시스템의 멀티 채널중 특정 채널을 선택하는 채널 선택 단계(S11)와,A channel selection step (S11) of selecting a specific channel among the multi-channels of the digital video recorder system, 상기 선택된 채널의 오픈(open) 상태를 확인하는 채널 오픈 상태 확인 단계(S12)와, A channel open state checking step (S12) of checking an open state of the selected channel; 상기 채널 오픈 상태 확인 단계(S12)에서 채널이 오픈 상태로 확인되면 상기 채널의 온(on) 상태를 확인하는 채널 온 상태 확인 단계(S15)와,A channel on state checking step (S15) of checking an on state of the channel when the channel is open in the channel open state checking step (S12); 상기 채널 온 상태 확인 단계(S15)에서 채널이 온 상태로 확인되면 다음 채널을 선택하는 다음 채널 선택 단계(S21)로 이루어진 것을 특징으로 하는 전력 통신선을 이용한 멀티 채널 디지털 비디오 레코더 시스템의 데이터 접속 방법.And a next channel selection step (S21) of selecting a next channel when the channel is turned on in the channel on state checking step (S15). 제 1 항에 있어서, 상기 쓰레드는 The method of claim 1, wherein the thread is 디지털 비디오 레코더 시스템의 멀티 채널중 특정 채널을 선택하는 채널 선택 단계(S11)와,A channel selection step (S11) of selecting a specific channel among the multi-channels of the digital video recorder system, 상기 선택된 채널의 오픈(open) 상태를 확인하는 채널 오픈 상태 확인 단계(S12)와, A channel open state checking step (S12) of checking an open state of the selected channel; 상기 채널 오픈 상태 확인 단계(S12)에서 채널이 오픈 상태로 확인되면 상기 채널의 온(on) 상태를 확인하는 채널 온 상태 확인 단계(S15)와,A channel on state checking step (S15) of checking an on state of the channel when the channel is open in the channel open state checking step (S12); 상기 채널 온 상태 확인 단계(S15)에서 채널이 오프(off) 상태로 확인되면 상기 채널을 클로즈시키는 채널 클로즈 단계(S16)와,A channel closing step (S16) of closing the channel when the channel is turned off in the channel on state checking step (S15); 다음 채널을 선택하는 다음 채널 선택 단계(S21)로 이루어진 것을 특징으로 하는 전력 통신선을 이용한 멀티 채널 디지털 비디오 레코더 시스템의 데이터 접속 방법.A next channel selection step (S21) of selecting a next channel, wherein the data connection method of a multi-channel digital video recorder system using a power communication line.
KR1020050103415A 2005-10-31 2005-10-31 Data connection method of multi-channel digital video recorder system using power line communication KR100694465B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050103415A KR100694465B1 (en) 2005-10-31 2005-10-31 Data connection method of multi-channel digital video recorder system using power line communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050103415A KR100694465B1 (en) 2005-10-31 2005-10-31 Data connection method of multi-channel digital video recorder system using power line communication

Publications (1)

Publication Number Publication Date
KR100694465B1 true KR100694465B1 (en) 2007-03-13

Family

ID=38103475

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050103415A KR100694465B1 (en) 2005-10-31 2005-10-31 Data connection method of multi-channel digital video recorder system using power line communication

Country Status (1)

Country Link
KR (1) KR100694465B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR200188053Y1 (en) 2000-01-26 2000-07-15 김승돌 Power line communication local area network apparatus
KR20020011929A (en) * 2000-08-04 2002-02-09 이성안 Communication system and communication method using powerline
KR20040067363A (en) * 2003-01-22 2004-07-30 (주)인터에프씨 Embedded DVR with a built PLC
KR20040098303A (en) * 2003-05-14 2004-11-20 삼성전기주식회사 Monitoring digital camera of power-line communication method
KR20060083061A (en) * 2005-01-15 2006-07-20 티.비.티. 주식회사 Device for connecting error prevention when parallel connection of camera in closed circuit tele-vision

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR200188053Y1 (en) 2000-01-26 2000-07-15 김승돌 Power line communication local area network apparatus
KR20020011929A (en) * 2000-08-04 2002-02-09 이성안 Communication system and communication method using powerline
KR20040067363A (en) * 2003-01-22 2004-07-30 (주)인터에프씨 Embedded DVR with a built PLC
KR20040098303A (en) * 2003-05-14 2004-11-20 삼성전기주식회사 Monitoring digital camera of power-line communication method
KR20060083061A (en) * 2005-01-15 2006-07-20 티.비.티. 주식회사 Device for connecting error prevention when parallel connection of camera in closed circuit tele-vision

Similar Documents

Publication Publication Date Title
DE10144701B4 (en) Portable information device, portable information device access device, home network system and home network access method
KR101159255B1 (en) The apparatus, system for processing internetwork communication and communication connection-adaptation method
CN100438517C (en) Family gateway equipment
US10187114B2 (en) Method, device and system for isolating services, DPU and network adapter
CN102651701A (en) Method and device for building audio and video communication connection
US20080204220A1 (en) Power over data cable system and method
CN106253357B (en) A kind of method of supplying power to and power supply unit
CN113346981B (en) Photoelectric conversion rate self-matching system and method
US10503242B2 (en) Power supply method, apparatus, and system
KR100694465B1 (en) Data connection method of multi-channel digital video recorder system using power line communication
US7568024B2 (en) Method for deciding network manager in home network
CN110365560B (en) Control method for realizing service port self-adaption in home gateway
US8891960B2 (en) Optical data communications
EP2965497B1 (en) Method and apparatus in a communications network
CN106444416A (en) Intelligent device and household appliance
US20100211831A1 (en) Fault notification method and communication apparatus
KR20170005542A (en) FAULT DIAGNOSSIS AND REPAIR APPARATUS OF HDbaseT NETWORK SYSTEM AND METHOD THEREOF
JP6147936B2 (en) Reverse power supply type transmitter
CN102572404A (en) Video monitoring method, system and related device based on coaxial cable network
CN107231655B (en) Method and system for reducing load of wireless controller
CN104735046B (en) A kind of emergent intelligent switching system of normal/bypass mode network physical link
KR100675793B1 (en) Power Coupler for Enabling Remotely Reboot of Data Processing Apparatus
JP2004218848A (en) Remote controller communication system for housing equipment and instrument
KR100675779B1 (en) Remotely Rebootable Data Processing Apparatus
FI119271B (en) Data link management in coaxial media

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20130304

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20140303

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20150302

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20160303

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20170303

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20190219

Year of fee payment: 13

FPAY Annual fee payment

Payment date: 20200219

Year of fee payment: 14