KR0148143B1 - The multiple method and apparatus of packet data - Google Patents

The multiple method and apparatus of packet data

Info

Publication number
KR0148143B1
KR0148143B1 KR1019930029494A KR930029494A KR0148143B1 KR 0148143 B1 KR0148143 B1 KR 0148143B1 KR 1019930029494 A KR1019930029494 A KR 1019930029494A KR 930029494 A KR930029494 A KR 930029494A KR 0148143 B1 KR0148143 B1 KR 0148143B1
Authority
KR
South Korea
Prior art keywords
signal
channel
packet
controller
start code
Prior art date
Application number
KR1019930029494A
Other languages
Korean (ko)
Other versions
KR950022978A (en
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 KR1019930029494A priority Critical patent/KR0148143B1/en
Publication of KR950022978A publication Critical patent/KR950022978A/en
Application granted granted Critical
Publication of KR0148143B1 publication Critical patent/KR0148143B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/12Systems in which the television signal is transmitted via one channel or a plurality of parallel channels, the bandwidth of each channel being less than the bandwidth of the television signal

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

본 발명은 데이타 병렬처리에서 다수의 채널을 통해 전송되는 데이타들을 다중화하는 장치에 관한 것으로서, 특히 패킷의 시작을 알리는 코드와 데이타로 구성된 가변적 길이를 갖는 패킷들을 여러채널을 통해 전송받아서 패킷들을 본래의 조합순서에 맞게 조합하여 하나의 채널로 전송하기 위한 다중화장치에 관한 것이다. 이러한 본 발명의 장치는 패킷시작코드가 부가된 패킷데이타를 저장하는 저장부와, 이들로부터 패킷시작코드를 검출하는 검출부와, 상기 검출부의 검출여부에 따라 읽기신호 및 로드신호를 상기 해당 저장부와 검출부로 각각 인가하며, 상기 패킷시작코드가 검출될 때마다 기설정된 순서에 따라 채널을 변경하기 위한 스위칭신호를 발생하는 컨트롤럴와, 상기 컨트롤러의 스위칭신호에 따라 해당채널로 스위치를 절환하는 스위치부에 의하여 달성된다. 이러한 구성들을 갖는 본 발명의 패킷데이타다중화장치는 다중채널로부터 전송되는 패킷데이타의 길이가 가변적인 경우에도 정확하게 다중화를 가능하게 하는 효과를 제공한다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for multiplexing data transmitted over a plurality of channels in data parallelism. In particular, the present invention relates to a method of integrating packets by varying lengths of packets having a variable length consisting of a code and data indicating the beginning of a packet. The present invention relates to a multiplexing apparatus for transmitting in one channel by combining according to the combination order. The apparatus of the present invention includes a storage unit for storing packet data to which a packet start code is added, a detection unit for detecting a packet start code therefrom, and a read signal and a load signal according to whether the detection unit is detected. Each control unit is applied to the control unit, and each time the packet start code is detected, the control unit for generating a switching signal for changing the channel in a predetermined order, and the switch unit for switching the switch to the corresponding channel in accordance with the switching signal of the controller Is achieved. The packet data multiplexing apparatus of the present invention having such configurations provides an effect of enabling multiplexing accurately even when the length of packet data transmitted from multiple channels is variable.

Description

패킷데이타 다중화장치Packet data multiplexer

제1도는 종래의 다중화장치의 일 실시예를 나타낸 블럭도.1 is a block diagram showing an embodiment of a conventional multiplexing device.

제2도는 본 발명에 따른 다중화장치의 일 실시예를 나타낸 블럭도.2 is a block diagram showing an embodiment of a multiplexing apparatus according to the present invention.

제3도는 제2도의 검출기에 대한 상세회로도.3 is a detailed circuit diagram of the detector of FIG.

제4도는 제2도의 컨트롤러에 대한 상세회로도.4 is a detailed circuit diagram of the controller of FIG.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

10,20 : 저장부 16,26 : 컨트롤러10,20: storage 16,26: controller

19,29 : 스위치 30 : 검출부19,29 switch 30 detection unit

42 : 디코더 43 : 가산기42: decoder 43: adder

44 : 채널결정부 45 : 타이밍신호발생부44: channel determiner 45: timing signal generator

46 : 읽기·로드신호발생부46: read / load signal generator

본 발명은 여러 채널로부터 전송되는 신호들을 조합하여 하나의 신호로 다중화하는 장치에 관한 것으로서, 특히 패킷의 시작을 알리는 코드와 데이타로 구성된 가변적 길이를 갖는 패킷들을 여러채널을 통해 전송받아 본래의 순서에 맞게 단일채널로 재구성하는 다중화장치에 관한 것이다.The present invention relates to an apparatus for combining signals transmitted from multiple channels and multiplexing them into a single signal. Particularly, the present invention relates to a packet having a variable length consisting of a code and data indicating a start of a packet, and receiving a packet having a variable length through a plurality of channels. The present invention relates to a multiplexing device for reconfiguring to a single channel.

일반적으로 현재의 고화질 텔레비젼의 영상신호는 하드웨어의 신호처리속도문제 때문에 병렬처리되므로, 병렬처리된 영상신호를 다시 본래의 영상신호로 재구성하는 다중화(Multiplexing)가 필요하다.In general, video signals of current high-definition television are processed in parallel due to signal processing speed of hardware. Therefore, multiplexing is required to reconstruct the parallel-processed video signals back to the original video signals.

제1도는 종래의 다중화장치의 일 실시예를 나타낸 블럭도로서, 제1도에서 도시된 바와같이, 제1도의 장치는 4개의 버퍼(11,12,13,14)를 구비한 저장부(10)가 설치되고, 각 버퍼의 출력단들 중 어느 하나와 절환접속 가능한 스위치단자(18)를 갖는 스위치(19) 및 저장부(10)의 각 버퍼로 출력제어신호(O1~O4)를 인가하며, 스위치(19)로는 스위칭신호(S)를 인가하여 컨트롤러(16)로 구성되어 있다.FIG. 1 is a block diagram showing an embodiment of a conventional multiplexing device. As shown in FIG. 1, the device of FIG. 1 includes a storage unit 10 having four buffers 11, 12, 13, and 14. FIG. ) And an output control signal (O 1 to O 4 ) is applied to each buffer of the switch 19 and the storage unit 10 having a switch terminal 18 switchable to one of the output terminals of each buffer. The switch 19 is composed of a controller 16 by applying a switching signal S.

이와같이 구성된 종래의 다중화장치는 병렬처리된 영상신호의 데이타들을 각 버퍼들(11,12,13,14)에 저장한다. 각 버퍼에 저장된 데이타들은 컨트롤러(16)로부터 인가되는 출력제어신호(O1~O4)에 따라 버퍼의 출력단을 통해 출력된다. 이때, 출력되는 데이타의 길이는 각 버퍼마다 같다. 컨트롤러(16)는 각각의 버퍼들에서 출력되는 데이타들을 본래의 데이타들의 조합으로 만들기 위해 소정의 순서에 따라 각각의 버퍼들로 순차적으로 출력제어신호를 인가한다. 또한, 컨트롤러(16)는 출력제어신호가 인가된 버퍼의 출력단에 스위치단자(18)를 접속하도록 하는 스위칭신호(S)를 스위치(19)로 인가하여 그 버퍼의 출력단에서 출력되는 데이타를 스위칭단자(18)를 통해 단일채널로 전송되도록 제어한다. 단일채널로 전송된 데이타들은 전송된 순서대로 조합되어 하나의 데이타스트림을 형성하게 된다.The conventional multiplexer configured as described above stores data of parallel processed video signals in the buffers 11, 12, 13, and 14, respectively. Data stored in each buffer is output through the output terminal of the buffer in accordance with the output control signal (O 1 ~ O 4 ) applied from the controller 16. At this time, the length of the output data is the same for each buffer. The controller 16 sequentially applies an output control signal to the respective buffers in a predetermined order to make the data output from the respective buffers into a combination of original data. In addition, the controller 16 applies a switching signal S for connecting the switch terminal 18 to the output terminal of the buffer to which the output control signal is applied, to the switch 19 to switch the data output from the output terminal of the buffer to the switching terminal. Control to be transmitted through a single channel through (18). Data transmitted on a single channel are combined in the order of transmission to form a data stream.

이와같이 하나의 데이타스트림으로 만드는 다중화는 컨트롤러(16)의 출력제어신호(O1~O4) 및 스위칭신호(S)에 의해 실현가능하다. 그런데, 종래의 다중화장치는 일정길이를 갖는 데이타들의 다중화는 가능했지만, 가변적 길이를 갖는 패킷의 데이타를 정확하게 다중화하기에는 곤란한 문제가 있었다.Thus, multiplexing into one data stream can be realized by the output control signals O 1 to O 4 and the switching signal S of the controller 16. By the way, in the conventional multiplexing device, although multiplexing of data having a certain length is possible, there is a problem that it is difficult to accurately multiplex data of a packet having a variable length.

따라서, 본 발명의 목적은 데이타의 병렬처리에 있어서, 가변적길이를 갖는 패킷데이타를 패킷의 시작을 알리는 패킷시작코드를 이용하여 다중화하는 장치를 제공함에 있다.Accordingly, an object of the present invention is to provide an apparatus for multiplexing packet data having a variable length using a packet start code indicating a start of a packet in parallel processing of data.

이러한 본 발명의 목적은 다수의 채널을 통해 전송되는 패킷데이타들을 단일채널로 다중화하는 장치에 있어서, 상기 다수의 채널들마다 연결된 다수의 버퍼들을 구비하여 패킷의 시작을 알리는 패킷시작코드를 포함하는 패킷데이타를 저장하고, 하기 컨트롤러의 읽기신호가 인가될 때마다 저장된 데이타를 송출하는 저장수단과; 하기 컨트롤러의 로드신호가 인가될 때마다 상기 저장수단으로부터 출력되는 데이타들을 입력받아 패킷시작코드에 대응하는 기설정값과 비교하고, 비교결과 서로 일치하지 않으면 패킷시작코드가 검출되었음을 알리는 상기 제1검출신호와 다른 레벨을 갖는 제2검출신호를 하기 컨트롤러로 인가하는, 상기 저장수단의 버퍼들마다 연결된 다수의 검출기들과; 상기 검출기가 패킷시작코드를 검출하는 동안만큼 지연처리된 소정의 타이밍 신호를 채널결정부 및 읽기·로드신호발생부로 출력하는 타이밍신호발생부와, 상기 타이밍신호발생부로부터의 타이밍신호마다 상기 검출기로부터 제1검출신호가 인가되면 현재의 채널에 대응하는 버퍼 및 검출기로 읽기신호 및 로드신호를 인가하고, 상기 제2검출신호가 인가되면 상기 채널결정부로부터의 채널정보에 근거하여 변경되는 채널에 대응하는 버퍼 및 검출기로 읽기신호 로드신호를 인가하는 읽기·로드신호발생부, 및 상기 타이밍신호발생부로부터의 타이밍신호마다 상기 검출기로부터 제1검출신호가 인가되면 현재의 채널을 유지하고, 제2검출신호가 인가되면 기설정된 채널절환순서에 따라 해당채널로 스위치를 절환하도록 하는 채널스위칭신호를 스위치부로 인가하는 채널결정부를 구비한 컨트롤러; 및 상기 컨트롤러의 채널스위칭신호에 따라 상기 각 검출기들의 출력단중 어느 하나를 신호출력측으로 접속하는 스위치부를 포함하는 패킷데이타 다중화장치에 의하여 달성된다.An object of the present invention is a device for multiplexing packet data transmitted through a plurality of channels into a single channel, the packet including a packet start code for indicating the start of the packet having a plurality of buffers connected to each of the plurality of channels Storage means for storing data and transmitting the stored data each time a read signal of the following controller is applied; Whenever the load signal of the following controller is applied, data outputted from the storage means is received and compared with a preset value corresponding to the packet start code, and the first detection indicating that the packet start code is detected if the comparison does not match. A plurality of detectors connected per buffers of the storage means for applying a second detection signal having a different level to the signal to the following controller; A timing signal generator for outputting a predetermined timing signal delayed as much as the detector detects the packet start code to the channel determination unit and the read / load signal generator, and for each timing signal from the timing signal generator; When the first detection signal is applied, the read signal and the load signal are applied to the buffer and the detector corresponding to the current channel. When the second detection signal is applied, the channel is changed based on the channel information from the channel determiner. A read / load signal generator for applying a read signal load signal to a buffer and a detector, and the first channel is maintained when the first detection signal is applied from the detector for each timing signal from the timing signal generator. When a signal is applied, switch the channel switching signal to switch the switch to the corresponding channel according to the preset channel switching sequence. A controller is provided to the channel determination unit for; And a switch unit for connecting any one of the output terminals of the detectors to the signal output side according to the channel switching signal of the controller.

이하, 본 발명의 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

제2도는 본 발명에 따른 다중화장치의 일 실시예를 나타낸 블럭도로서, 여러가지 부호화방법 및 병렬처리를 하는 고화질 텔레비젼의 영상데이타를 다중화하는 장치이다. 제2도에 도시된 바와 같이, 본 발명의 다중화장치는 저장부(20), 및 컨트롤러(26)를 포함한다. 저장부(20)는 전송되는 4채널의 데이타를 저장하기 위한 버퍼들(21~24)을 구비한다. 검출부(30)는 각 버퍼의 출력단에 연결되어 각 버퍼의 출력신호를 인가받는 검출기들(31~34)을 구비한다. 각각의 검출기의 출력단들을 선택접속하기 위한 스위치(29) 및 위의 구성들을 제어하는 컨트롤러(26)가 추가로 구성된다. 컨트롤러(26)는 저장부(20)의 각 버퍼로부터 데이타를 독출하기 위해 읽기신호(RD1~RD4)를 인가하고, 검출부(3)의 각 검출기로도 각 버퍼로부터 출력되는 데이타를 입력받아 출력하도록 제어하는 로드신호(LD1~LD4)를 인가한다.2 is a block diagram showing an embodiment of a multiplexing device according to the present invention, which is a device for multiplexing video data of a high-definition television with various encoding methods and parallel processing. As shown in FIG. 2, the multiplexing apparatus of the present invention includes a storage unit 20 and a controller 26. The storage unit 20 includes buffers 21 to 24 for storing four channels of data to be transmitted. The detector 30 includes detectors 31 to 34 connected to an output terminal of each buffer to receive an output signal of each buffer. Further configured are a switch 29 for selective connection of the output terminals of each detector and a controller 26 for controlling the above configurations. The controller 26 applies the read signals RD 1 to RD 4 to read data from each buffer of the storage unit 20, and receives data output from each buffer from each detector of the detector 3. The load signals LD 1 to LD 4 for controlling the output are applied.

또한, 컨트롤러(26)는 검출부(30)의 각 검출기로부터 인가되는 검출신호(PSC1~PSC4)와 시스템제어부(미도시)의 시스템제어신호를 사용하여 스위칭신호(S)를 발생하는 기능을 갖는다. 컨트롤러(26)의 스위칭신호(S)는 스위치(29)로 공급되도록 연결된다. 각 검출기에서 출력되는 검출신호(PSC1~PSC4)에 대한 설명은 제3도에서 후술하기로 한다. 이러한 구성들을 갖는 본 발명의 패킷데이타 다중화장치의 동작을 상세히 설명하기로 한다.In addition, the controller 26 generates a switching signal S by using the detection signals PSC 1 to PSC 4 applied from each detector of the detector 30 and the system control signals of the system controller (not shown). Have The switching signal S of the controller 26 is connected to be supplied to the switch 29. Description of the detection signals PSC 1 to PSC 4 output from each detector will be described later with reference to FIG. 3. The operation of the packet data multiplexing apparatus of the present invention having such configurations will be described in detail.

먼저, 본 발명에 이용되는 패킷은 패킷시작코드(패킷의 시작을 알리는 코드)와 패킷시작코드길이의 정수배의 크기를 갖는 데이타로 구성되고, 각 패킷을 구성하는 데이타의 길이는 병렬처리되는 영상데이타의 특성에 의해 가변된다. 또한, 본 발명에서 한번에 전송되는 데이타의 단위길이는 패킷시작코드의 길이와 같고, 패킷시작코드는 패킷데이타의 시작부분에 위치한다.First, a packet used in the present invention is composed of data having a packet start code (a code indicating a start of a packet) and an integer multiple of a packet start code length, and the length of data constituting each packet is processed in parallel. It is variable by the characteristics of. Further, in the present invention, the unit length of data transmitted at one time is equal to the length of the packet start code, and the packet start code is located at the beginning of the packet data.

컨트롤러(26)는 제1채널의 제1버퍼(21)로 읽기신호(RD1)를 인가하여 저장된 데이타를 패킷시작코드길이만큼 독출하도록 제어한다. 또한, 컨트롤러(26)는 제1채널의 제1검출기(31)로 로드신호(LD1)를 인가하여 제1버퍼(21)에서 독출되는 패킷시작코드길이와 동일한 길이의 데이타를 입력받도록 제어한다. 제1검출기(31)는 입력되는 패킷시작코드길이와 동일한 길이의 데이타가 패킷시작코드인가 아닌가를 검출한다. 만약, 제1검출기(31)로 입력된 데이타가 패킷시작코드가 아니면, 컨트롤러(26)는 제1검출기(31)로부터 위의 상황을 인식하고, 스위치(29)로 스위칭신호(S)를 인가하여 스위치단자(28)를 제1검출기(31)의 출력단에 접속되도록 제어하고, 패킷시작코드가 아닌 이 데이타가 스위치단자(28)를 통해 출력되도록 제어한다. 스위치단자(28)가 제1검출기(31)의 출력단에 접속이 된 상태에서, 컨트롤러(26)는 제1버퍼(21)와 제1검출기(31)로 각각 읽기신호(RD1)와 로드신호(LD1)를 동시에 인가하여 제1버퍼(21)에 저장된 패킷시작코드길이와 동일한 길이의 데이타를 독출하여 제1검출기(31)를 입력시켜 다시 패킷시작코드인가 아닌가를 검출하도록 제어한다. 이때, 또 이 데이타가 패킷시작코드가 아닐 경우, 제1채널의 검출기(31)의 출력단에 접속된 스위치단자(28)를 통해 출력된다. 제1채널의 검출기(31)의 출력단에 스위치단자(28)가 접속된 상태에서 이러한 동일한 과정에 의해 하나의 패킷안에 들어있는 모든 데이타가 패킷시작코드길이와 동일한 길이의 데이타로 분할되어 제1검출기(31)의 출력단에 접속된 스위치단자(28)를 통해 출력된다. 패킷안에 들어있는 모든 데이타가 제1검출기(31)의 출력단을 통해 출력되면, 제1검출기(31)는 새로운 패킷을 입력받아 패킷시작코드의 검출을 수행한다. 새로운 패킷에 대한 패킷시작코드가 검출되면, 컨트롤러(26)는 제1검출기(31)로부터 검출신호(PSC1)를 인가받아 스위치단자(28)를 제2채널의 제2검출기(32)의 출력단에 접속되도록 제어하는 스위칭신호(S)를 스위치(29)로 인가한다. 스위치단자(28)가 제2채널의 제2검출기(32)의 출력단에 접속된 상태에서, 제2채널로 전송되는 패킷데이타는 제1채널에서와같이 패킷데이타가 스위치단자(28)를 통해 출력되는 것과 동일한 과정을 반복수행한다. 이와같은 과정은 컨트롤러(26)의 제어하에 제3 및 제4채널에서도 수행된다.The controller 26 applies the read signal RD 1 to the first buffer 21 of the first channel so as to read out the stored data by the packet start code length. In addition, the controller 26 applies the load signal LD 1 to the first detector 31 of the first channel so as to receive data having the same length as the packet start code length read out from the first buffer 21. . The first detector 31 detects whether or not data having the same length as the input packet start code length is the packet start code. If the data input to the first detector 31 is not a packet start code, the controller 26 recognizes the above situation from the first detector 31 and applies the switching signal S to the switch 29. The switch terminal 28 is controlled to be connected to the output terminal of the first detector 31, and this data, not the packet start code, is outputted through the switch terminal 28. With the switch terminal 28 connected to the output terminal of the first detector 31, the controller 26 reads the read signal RD 1 and the load signal to the first buffer 21 and the first detector 31, respectively. (LD 1 ) is simultaneously applied to read data having the same length as the packet start code length stored in the first buffer 21, and the first detector 31 is input to control whether the packet start code is detected again. At this time, when this data is not the packet start code, it is output through the switch terminal 28 connected to the output terminal of the detector 31 of the first channel. In the state where the switch terminal 28 is connected to the output terminal of the detector 31 of the first channel, all the data contained in one packet are divided into data having the same length as the packet start code length by the same process. It is output through the switch terminal 28 connected to the output terminal of (31). When all data contained in the packet is output through the output terminal of the first detector 31, the first detector 31 receives a new packet and detects a packet start code. When the packet start code for the new packet is detected, the controller 26 receives the detection signal PSC 1 from the first detector 31 and sends the switch terminal 28 to the output terminal of the second detector 32 of the second channel. The switching signal S controlling to be connected to is applied to the switch 29. With the switch terminal 28 connected to the output terminal of the second detector 32 of the second channel, the packet data transmitted through the second channel is outputted through the switch terminal 28 as in the first channel. Repeat the same process as it is. This process is also performed in the third and fourth channels under the control of the controller 26.

따라서, 이러한 동일한 반복수행과정에 의해 스위치단자(28)를 통해 출력되는 각 채널의 데이타들은 출력되는 순서대로 조합되어 하나의 데이타스트림을 형성하므로써 다중화가 실현되는 것이다.Therefore, the data of each channel output through the switch terminal 28 by the same repeating process are combined in the order in which they are output to form one data stream so that multiplexing is realized.

제3도는 제2도의 검출기에 대한 상세회로도이다. 본 발명의 검출기는 제2도에서 도시된 바와같이 4개의 검출기(31~34)로 구성되어 있다. 이 검출기들은 동일한 기능을 수행하므로 제3도에서는 하나의 검출기의 동작만을 설명하기로 한다.3 is a detailed circuit diagram of the detector of FIG. The detector of the present invention is composed of four detectors 31 to 34 as shown in FIG. Since these detectors perform the same function, only the operation of one detector will be described in FIG.

제3도에서, 도시된 바와같이 검출기는 3개의 D플립플롭(301,302,303)과 1개의 비교기(304)를 구비한다. 제2도의 컨트롤러(26)로부터 인가되는 로드신호(LD)는 제1D플립플롭(301)과 제2D플립플록(302)로 인가된다. 제1D플립플록(301)은 로드신호(LD)를 인가잗아 동작가능 상태로 되고, 따라서 해당되는 버퍼로부터 출력되는 패킷시작코드길이와 동일한 길이의 데이타(PD를 신호출력단(306)과 비교기(304)로 공급한다. 이때, 비교기(304)는 제1D플립플롭(301)으로부터 인가되는 패킷의 데이타(PD)와 패킷시작코드를 검출하도록 사전 설정된 기준값(SV)을 비교하게 된다. 비교결과 값이 같으면 하이신호를 제3D플립플롭(303)으로 인가하고, 값이 다르면, 로우신호를 인가한다. 여기서, 하이신호는 패킷시작코드가 검출됐음을 알리는 신호이고, 로우신호는 그 반대의 경우이다. 이때, 제2D플립플록(302)을 통해 지연된 로드신호(LD)를 인가받아 동작하는 제3D플립플롭(303)은 패킷시작코드가 검출됐음을 알리는 하이신호나 그 반대의 경우를 알리는 로우신호를 갖는 검출신호(PSC)를 출력한다. 이 검출신호(PSC)는 제2도의 컨트롤러(26)로 인가된다.In FIG. 3, the detector has three D flip-flops 301, 302 and 303 and one comparator 304 as shown. The load signal LD applied from the controller 26 of FIG. 2 is applied to the first flip flop 301 and the second flip flop 302. The first D flip-flop 301 is operable by applying the load signal LD, so that the data PD having the same length as the packet start code length output from the corresponding buffer is outputted to the signal output terminal 306 and the comparator 304. In this case, the comparator 304 compares the data PD of the packet applied from the first D flip-flop 301 with the preset reference value SV to detect the packet start code. If the same, the high signal is applied to the 3D flip-flop 303, and if the value is different, the low signal is applied, where the high signal indicates that the packet start code has been detected, and the low signal is vice versa. At this time, the 3D flip-flop 303, which is operated by receiving the delayed load signal LD through the 2D flip-flop 302, receives a high signal indicating that a packet start code has been detected or vice versa. Output detection signal (PSC) This detection signal PSC is applied to the controller 26 of FIG.

제4도는 제2도의 컨트롤러에 대한 상세회로도이다. 제4도에 도시된 바와 같이, 컨트롤러는 시스템제어신호(S1~S3)에 의해 제어를 받는 타이밍신호발생부(45)와, 타이밍신호발생부(45)로부터 타이밍신호(CDS)를 인가받고 검출기로부터 패킷시작코드검출신호를 인가받아 채널을 결정하는 채널결정부(44)를 구비한다. 채널결정부(44)에는, 채널결정부(44)로부터 출력되는 2비트신호(S)를 입력받아 이 신호값에 따라 다수의 출력단(D1~D4)중에서 하나의 출력단을 선택하는 디코더(42)가 연결된다. 또한, 컨트롤러는 제2도의 각 검출기(31,32,33,34)로부터 인가되는 검출신호(PSC1~PSC4)와 디코더(42)로부터 인가되는 신호에 의해 로드신호(LD1~LD4)와 읽기신호(RD1~RD4)를 인가하는 읽기·로드신호발생부(46)를 구비하고 있다.4 is a detailed circuit diagram of the controller of FIG. As shown in FIG. 4, the controller applies the timing signal CDS from the timing signal generator 45 and the timing signal generator 45 controlled by the system control signals S 1 to S 3 . And a channel determination section 44 which receives a packet start code detection signal from a detector and determines a channel. The channel determiner 44 receives a 2-bit signal S output from the channel determiner 44 and selects one output terminal from among the plurality of output terminals D 1 to D 4 according to the signal value ( 42) is connected. In addition, the controller uses load signals LD 1 to LD 4 by detection signals PSC 1 to PSC 4 applied from the detectors 31, 32, 33, and 34 of FIG. 2 and signals applied to the decoder 42. and the read signal (RD 1 RD ~ 4) and a reading, the load signal generating section 46 to be applied.

우선, 미도시한 시스템제어부로부터 컨트롤러의 시작(start)를 알리는 하이레벨의 제1시스템제어신호(S1)가 인가되면, 타이밍신호발생부(45)의 제2OR게이트(451)는 이 시스템제어신호(S1)의해 D플립플롭(452,453,454)을 모두 작동상태로 인에이블(enable)시킨다. 아울러, 제 1OR게이트(450)에 하아레벨이 인가되므로 제1D플립플롭(452)은 하이신호를 출력한다. 또한, 제1 및 제2AND게이트(455,456)로도 하이신호가 인가되므로 제2 및 제3D플립플롭(453,454)은 각각 로우신호를 출력한다. 초기의(initial) 채널을 결정할 때 인가되는 하이레벨의 제2시스템제어신호(S2)가 인가된 후부터는 제1시스템제어신호(S1)를 인가받는 제1OR게이트(450)와 제1 및 제2AND게이트(455,456)는 각각 다른 입력단으로 들어오는 신호와 같은 레벨의 신호를출력한다. 여기서, 제2OR게이트(451)로부터 인가되는 하이레벨의 제1 및 제2시스템제어신호(S1,S2)에 의해 D플립플롭(452,453,454)이 동작을 하는데, 이 D플립플롭(452,453,454)이 제2OR게이트(451)에 의해 동시에 동작이 될 때마다 어느 한 D플립플롭에만 하이신호가 출력된다.First, when a high level first system control signal S 1 indicating a controller start is applied from a system controller not shown, the second OR gate 451 of the timing signal generator 45 controls the system. The signal S 1 enables the D flip-flops 452, 453, and 454 to their operational states. In addition, since a lower level is applied to the first OR gate 450, the first D flip-flop 452 outputs a high signal. In addition, since a high signal is also applied to the first and second AND gates 455 and 456, the second and third D flip-flops 453 and 454 respectively output a low signal. After the high level second system control signal S 2 applied to determine the initial channel is applied, the first OR gate 450 and the first and the first system control signals S 1 are received. The 2AND gates 455 and 456 output signals of the same level as signals coming into different input terminals, respectively. Here, the D flip-flops 452, 453, and 454 operate by the high level first and second system control signals S 1 and S 2 applied from the second OR gate 451, and the D flip-flops 452, 453, and 454 operate. Whenever the second OR gate 451 is operated simultaneously, a high signal is output to only one D flip-flop.

그런데, 제2시스템제어신호(S2)는 채널결정부(44)에서 초기값이 설정될 때에 하이레벨의 상태가 된 후부터는 로우상태를 유지하고, 패킷데이타가 처리되는 동안 인가되는 제3시스템제어신호(S3)만이 하이상태로 제2OR게이트(451)로 인가된다. 도시된 바와같이, 타이밍신호발생부(45)의 제1D플립플롭(452)에서 하이신호가 출력되면, 타이밍신호(CDS)는 하이레벨이 되어 채널결정부(44) 및 읽기·로드신호발생부(46)로 인가된다. 그리고, 타이밍신호발생부(45)는 채널결정부(44)에서 초기값이 설정된 이후부터 인가되는 하이레벨의 제3시스템제어신호(S3)를 인가받아 타이밍신호(CDS)를 채널결정부(44) 및 읽기·로드신호발생부(46)로 인가한다. 타이밍신호(CDS)를 인가한 타이밍신호발생부(45)는 다음번 타이밍신호(CDS)를 인가할 때까지 컨트롤러는 제2도의 검출부(30)로 데이타를 로드하고 로드된 데이타가 패킷시작코드인가를 검출하는 시간이 필요하므로 이 시간동안 시간을 지연시키기 위해 D플립플롭(452,453,454)을 이용해 하이신호를 로테이션시킨다.By the way, the second system control signal S2 remains low after the high level when the initial value is set in the channel determination unit 44, and remains in a low state, and is applied to the third system control signal while the packet data is processed. Only S 3 is applied to the second OR gate 451 in a high state. As shown in the drawing, when a high signal is output from the first D flip-flop 452 of the timing signal generator 45, the timing signal CDS becomes a high level so that the channel determiner 44 and the read / load signal generator Is applied to (46). In addition, the timing signal generator 45 receives the third system control signal S 3 having a high level applied after the initial value is set by the channel determiner 44 to receive the timing signal CDS. 44) and the read / load signal generator 46. The controller loads data to the detection unit 30 of FIG. 2 until the timing signal generator 45 applying the timing signal CDS applies the next timing signal CDS. Since the time required for detection is needed, the high signal is rotated using the D flip-flops 452, 453, and 454 to delay the time.

따라서, 타이밍신호발생부(45)로부터 인가되는 타이밍신호(CDS)는 데이타가 로드되고, 로드된 데이타가 패킷시작코드인가를 검출하는 시간에는 로우레벨의 상태가 되고, 다시 채널을 결정하고, 읽기신호를 인가할 시기에는 제1D플립플롭(452)에서 하이신호가 출력되어 하이레벨의 상태가 된다.Accordingly, the timing signal CDS applied from the timing signal generator 45 is loaded at the time when the data is loaded and the loaded data is detected to be the packet start code. When the signal is applied, a high signal is output from the first flip-flop 452 to become a high level state.

채널결정부(44)는 하이레벨의 제2시스템제어신호(S2)와 타이밍신호발생부(45)로부터 인가되는 타이밍신호(CDS)에 의해 초기값 0을 D플립플롭(427)을 통해 출력한다. 0출력신호는 제2도의 스위치(29)로 인가되는 스위칭신호(S)가 되어 제1채널을 선택하도록 한다. 채널결정부(44)에서 초기값이 결정된 이후부터 인가되는 시스템제어신호들(S1,S2,S3)중에서 제3시스템제어신호(S3)만 하이 상태이고, 나머지 신호(S1,S2)는 모두 로우상태가 된다. 채널결정부(44)에서 초기값 0이 설정된 상태에서, 디코더(42)는 채널결정부(44)로부터 0신호를 입력받아 제1출력단(D1)을 통해 하이신호를 출력한다.The channel determiner 44 outputs an initial value 0 through the D flip-flop 427 by the second system control signal S 2 at the high level and the timing signal CDS applied from the timing signal generator 45. do. The zero output signal becomes the switching signal S applied to the switch 29 of FIG. 2 to select the first channel. Of the system control signals S 1 , S 2 , and S 3 applied after the initial value is determined by the channel determination unit 44, only the third system control signal S 3 is in a high state, and the remaining signals S 1 , S 2 ) are all low. In the state where the initial value 0 is set in the channel determiner 44, the decoder 42 receives the 0 signal from the channel determiner 44 and outputs a high signal through the first output terminal D 1 .

또한, 읽기·로드신호발생부(46) 및 채널결정부(44)는 제2도의 검출부(30)로부터 인가되는 로우레벨의 검출신호(PSC1~PSC4)와 디코더(42)의 출력단(D1~D4)을 통해 출력되는 신호(제1출력단(D1)을 제외하고 모두 로우신호를 출력한다)를 함께 입력받는다.Further, the read / load signal generator 46 and the channel determiner 44 are the low level detection signals PSC 1 to PSC 4 applied from the detector 30 in FIG. 2 and the output terminal D of the decoder 42. 1 through D 4 ) together with the signal output (all except the first output terminal (D 1 ) outputs a low signal) is received together.

채널결정부(44)는 AND게이트(420,421,422,423)로 입력되는 신호들과 제1 및 제2시스템제어신호(S2,S3)와 타이밍신호(CDS)에 의해 채널이 결정된다. 초기값이 결정된 상태에서 디코더(42)의 출력단(D2,D3,D4)과 연결된 AND게이트(421,422,423)는 모두 로우신호를 출력하므로 AND게이트(420)의 출력값에 따라 D플립플롭(427)의 동작여부가 결정된다. 따라서, AND게이트(420)로 인가되는 검출신호(PSC1)가 로우레벨이면, AND게이트(420)는 로우신호를 출력한다. 이때, OR게이트(424)로부터 인가되는 로우신호에 의해 AND게이트(426)는 로우신호를 출력하므로 D플립플롭(427)은 동작을 하지 않아 초기에 선택된 제1채널이 그대로 유지된다.The channel determiner 44 determines a channel by the signals input to the AND gates 420, 421, 422, and 423, the first and second system control signals S2, S3, and the timing signal CDS. Since the AND gates 421, 422, and 423 connected to the output terminals D 2 , D 3 , and D 4 of the decoder 42 all output a low signal while the initial value is determined, the D flip-flop 427 according to the output value of the AND gate 420. ) Operation is determined. Therefore, if the detection signal PSC 1 applied to the AND gate 420 is at a low level, the AND gate 420 outputs a low signal. At this time, the AND gate 426 outputs a low signal due to the low signal applied from the OR gate 424, so that the D flip-flop 427 does not operate and the first channel selected initially is maintained as it is.

그러나, AND게이트(420)로 인가되는 검출신호(PSC1)가 하이레벨이면, AND게이트(420)는 하이신호를 출력하여 위와는 반대의 경우가 되어 AND게이트(426)가 하이신호를 출력하여 D플립플롭(427)을 동작시킨다. 그러면, D플립플롭(427)은 가산기(427)은 가산기(43)에 의해 초기값 0에 1이 가산된 1신호를 AND게이트(425)를 통해 입력받아 출력한다. 1신호는 제2도의 스위치(29)로 인가되어 제2채널을 선택하도록 하고, 디코더(42)로도 인가된다.However, if the detection signal PSC 1 applied to the AND gate 420 is at a high level, the AND gate 420 outputs a high signal, which is the opposite of the above, and the AND gate 426 outputs a high signal. D flip-flop 427 is operated. Then, the D flip-flop 427 receives and outputs the one signal obtained by adding one to the initial value 0 through the AND gate 425 by the adder 427. One signal is applied to the switch 29 of FIG. 2 to select the second channel, and also to the decoder 42.

한편, 읽기·로드신호발생부(46)는 디코더(42)의 출력단(D1~D4)으로부터 인가되는 신호(제1출력단(D1)을 제외하고 모두 로우신호를 출력한다)와 로우레벨의 검출신호(PSC1~PSC4)를 입력받아 채널결정부(44)에서 결정된 채널로 읽기신호 및 로드신호를 인가한다.On the other hand, the read / load signal generation section 46 is a signal applied from the output terminals D 1 to D 4 of the decoder 42 (all except the first output terminal D 1 outputs a low signal) and a low level. The detection signals PSC 1 to PSC 4 are input to apply the read signal and the load signal to the channel determined by the channel determiner 44.

디코더(42)의 출력단(D1~D2)을 통해 출력되는 신호와 검출신호(PSC1~PSC4)를 입력받는 읽기·로드신호발생부(46)의 AND게이트(401~408)중에서 AND게이트(401)만이 하이신호를 출력한다. 따라서, 이 AND게이트(401)와 연결되는 제1D플립플롭(411)은 하이신호를 출력하여 제2도의 저장부(20)의 제1채널의 제1버퍼(21) 및 검출부(30)의 제1채널의 제1검출기(31)로 각각 읽기신호(RD1) 및 로드신호(LD1)를 인가한다. 읽기신호(RD1) 및 로드신호(LD1)를 인가받은 제2도의 제1버퍼(21) 및 제1검출기(31)는 패킷데이타를 독출하여 로드하고, 패킷시작코드의 존재여부를 검출한다. 패킷시작코드가 검출이 되지 않아 검출신호(PSC1)가 로우레벨이 되면, 다시 제1D플립플롭(411)에서 하이신호가 출력된다.AND in the AND gates 401-408 of the read / load signal generator 46 which receives the signal output through the output terminals D 1 -D 2 of the decoder 42 and the detection signals PSC 1 -PSC 4 . Only the gate 401 outputs a high signal. Accordingly, the first D flip-flop 411 connected to the AND gate 401 outputs a high signal to generate the first buffer 21 of the first channel 21 and the detector 30 of the first channel of the storage 20 of FIG. The read signal RD 1 and the load signal LD 1 are applied to the first detector 31 of one channel, respectively. The first buffer 21 and the first detector 31 of FIG. 2 receiving the read signal RD 1 and the load signal LD 1 read and load packet data, and detect whether a packet start code exists. . When the packet start code is not detected and the detection signal PSC 1 becomes low, the high signal is output from the first D flip-flop 411.

그러나, 제2도의 제1채널의 제1검출기(31)에서 패킷시작코드가 검출이 되어 검출신호(PSC1)가 하이레벨이 되면, AND게이트(401~408)중에서 AND게이트(403)만이 하이신호를 출력한다. 따라서, 이 AND게이트(403)와 연결되는 제2D플립플롭(412)은 하이신호를 출력하여 제2도의 저장부(20)의 제2채널의 제2버퍼(22) 및 제2채널의 제2검출기(32)로 읽기신호(RD2) 및 로드신호(LD2)를 인가한다.However, when the packet start code is detected by the first detector 31 of the first channel of FIG. 2 and the detection signal PSC 1 becomes high level, only the AND gate 403 among the AND gates 401 to 408 is high. Output the signal. Accordingly, the 2D flip-flop 412 connected to the AND gate 403 outputs a high signal so that the second buffer 22 of the second channel and the second channel of the second channel of the storage unit 20 of FIG. The read signal RD 2 and the load signal LD 2 are applied to the detector 32.

상기에서 설명한 바와같이, 검출신호(PSC1)가 로우레벨일 때 채널결정부(44)는 제1채널을 그대로 선택하도록 하는 신호(S)를 인가하고, 읽기·로드신호발생부(46)에서는 제1채널로 읽기신호(RD1) 및 로드신호(LD1)를 인가한다.As described above, when the detection signal PSC 1 is at the low level, the channel determiner 44 applies a signal S to select the first channel as it is, and the read / load signal generator 46 The read signal RD 1 and the load signal LD 1 are applied to the first channel.

그러나, 검출신호(PSC1)가 하이레벨일 때 채널결정부(44)는 가산기(43)에 의해 제1채널에서 제2채널로 채널을 변경하도록 하는 신호(S)를 출력하고, 읽기·로드신호발생부(46)는 변경된 제2채널로 읽기신호(RD2) 및 로드신호(LD2)를 인가한다. 또한, 디코더(42)는 가산기(43)에 의해 가산된 값을 인가받는다. 본 발명의 컨트롤러는 제2, 제3 및 제4채널에서도 위와 같은 동일한 실시예를 갖으므로 설명을 생략하기로 한다.However, when the detection signal PSC 1 is at the high level, the channel determination unit 44 outputs a signal S for causing the adder 43 to change the channel from the first channel to the second channel, and then reads and loads. The signal generator 46 applies the read signal RD 2 and the load signal LD 2 to the changed second channel. In addition, the decoder 42 receives the value added by the adder 43. Since the controller of the present invention has the same embodiment as described above in the second, third and fourth channels, description thereof will be omitted.

따라서, 이러한 구성들을 갖는 본 발명에 따른 패킷데이타 다중화장치는 다중채널로부터 전송되는 패킷데이타의 길이가 변해도 컨트롤러의 제어에 의해 정확하게 다중화시키는 효과를 제공하며, 컨트롤러의 제어에 의해 채널을 선택하는 순서를 달리할 수 있는 효과를 제공한다.Accordingly, the packet data multiplexing apparatus according to the present invention having the above configurations provides an effect of accurately multiplexing under the control of the controller even if the length of the packet data transmitted from the multiple channels is changed, and the order of selecting the channels under the control of the controller is provided. It provides a different effect.

Claims (1)

다수의 채널을 통해 전송되는 패킷데이타들을 단일채널로 다중화하는 장치에 있어서, 상기 다수의 채널들마다 연결된 다수의 버퍼들을 구비하여 패킷의 시작을 알리는 패킷시작코드를 포함하는 패킷데이타를 저장하고, 하기 컨트롤러의 읽기신호가 인가될 때마다 저장된 데이타를 송출하는 저장수단과; 하기 컨트롤러의 로드신호가 인가될 때마다 상기 저장수단으로부터 출력되는 데이타들을 입력받아 패킷시작코드에 대응하는 기설정값과 비교하고, 비교결과 서로 일치하지 않으면 패킷시작코드가 검출되지 않았음을 알리는 제1검출신호를, 일치하면 패킷시작코드가 검출되었음을 알리는 상기 제1검출신호와 다른 레벨을 갖는 제2검출신호를 하기 컨트롤러로 인가하는, 상기 저장수단의 버퍼들마다 연결된 다수의 검출기들과; 상기 검출기가 패킷시작코드를 검출하는 시간동안 지연처리된 소정의 타이밍신호를 채널결정부 및 읽기·로드신호발생부로 출력하는 타이밍신호발생부와, 상기 타이밍신호발생부로부터의 타이밍신호마다 상기 검출기로부터 제1검출신호가 인가되면 현재의 채널에 대응하는 버퍼 및 검출기로 읽기신호 및 로드신호를 인가하고, 상기 제2검출신호가 인가되면 상기 채널결정부로부터의 채널정보에 근거하여 변경되는 채널에 대응하는 버퍼 및 검출기로 읽기신호 및 로드신호를 인가하는 읽기·로드신호발생부, 및 상기 타이밍신호발생부로부터의 타이밍신호마다 상기 검출기로부터 제1검출신호가 인가되면 현재의 채널을 유지하고, 제2검출신호가 인가되면 기설정된 채널절환순서에 따라 해당채널로 스위치를 절환하도록 하는 채널스위칭 신호를 스위치부로 인가하는 채널결정부를 구비한 컨트롤러; 및 상기 컨트롤러의 채널스위칭신호에 따라 상기 각 검출기들의 출력단중 어느 하나를 신호출력측으로 접속하는 스위치부를 포함하는 패킷데이타 다중화장치.An apparatus for multiplexing packet data transmitted through a plurality of channels into a single channel, comprising: storing packet data including a packet start code indicating a start of a packet by having a plurality of buffers connected to each of the plurality of channels; Storage means for transmitting the stored data each time a read signal of the controller is applied; Whenever the load signal of the controller is applied, the data outputted from the storage means is received and compared with a preset value corresponding to the packet start code. A plurality of detectors connected to the buffers of the storage means for applying a first detection signal to a following controller, the second detection signal having a level different from the first detection signal informing that the packet start code has been detected; A timing signal generator for outputting a predetermined timing signal delayed during the time when the detector detects the packet start code to the channel determination unit and the read / load signal generator, and for each timing signal from the timing signal generator; When the first detection signal is applied, the read signal and the load signal are applied to the buffer and the detector corresponding to the current channel. When the second detection signal is applied, the channel is changed based on the channel information from the channel determiner. A read / load signal generator for applying a read signal and a load signal to a buffer and a detector, and a current channel is maintained when the first detection signal is applied from the detector for each timing signal from the timing signal generator, and the second channel is maintained. When the detection signal is applied, it switches the channel switching signal to switch the switch to the corresponding channel according to the preset channel switching sequence. A controller having a channel determining unit for applying teeth; And a switch unit for connecting any one of output terminals of the detectors to a signal output side according to a channel switching signal of the controller.
KR1019930029494A 1993-12-24 1993-12-24 The multiple method and apparatus of packet data KR0148143B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930029494A KR0148143B1 (en) 1993-12-24 1993-12-24 The multiple method and apparatus of packet data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930029494A KR0148143B1 (en) 1993-12-24 1993-12-24 The multiple method and apparatus of packet data

Publications (2)

Publication Number Publication Date
KR950022978A KR950022978A (en) 1995-07-28
KR0148143B1 true KR0148143B1 (en) 1998-09-15

Family

ID=19372525

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930029494A KR0148143B1 (en) 1993-12-24 1993-12-24 The multiple method and apparatus of packet data

Country Status (1)

Country Link
KR (1) KR0148143B1 (en)

Also Published As

Publication number Publication date
KR950022978A (en) 1995-07-28

Similar Documents

Publication Publication Date Title
US5778214A (en) Bit-phase aligning circuit
US5303058A (en) Data processing apparatus for compressing and reconstructing image data
US20020167608A1 (en) Circuit and method for live switching of digital video programs containing embedded audio data
JPH0775323B2 (en) Signal generation method and device
US20050084050A1 (en) Clock signal selecting apparatus and method that guarantee continuity of output clock signal
JPH10327158A (en) Clock reproducing device
JPH0724401B2 (en) High-speed digital data synchronizer
US5123020A (en) Phase synchronization pull-in system in bit error detecting apparatus
KR0148143B1 (en) The multiple method and apparatus of packet data
KR950002458A (en) Video signal compression / extension device
JP3034764B2 (en) Optical communication device
US5949356A (en) High speed variable length code decoder
JPH03201840A (en) Switching circuit without short break
KR940023080A (en) Mute Circuit and Method
KR100363733B1 (en) Multi-chennel image encoding system using synch priority detection
JP4203544B2 (en) Device for reducing the transition rate of digital signals
JPH0686244A (en) Transmitter and receiver for video signal
JP2987862B2 (en) Matrix switch method
KR100246622B1 (en) Packet generator using flag bit
KR0146859B1 (en) A bit synchronization apparatus
KR960013647B1 (en) Data parallel processor of video decoder
KR950009772Y1 (en) Data convert circuit
KR0125126B1 (en) High-speed apparatus for decoding variable length code
KR0184405B1 (en) Coding method and apparatus
KR920007264B1 (en) Multing signal generating circuit for pulse coded modulation decoder

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: 20120427

Year of fee payment: 15

FPAY Annual fee payment

Payment date: 20130429

Year of fee payment: 16

EXPY Expiration of term