KR950009410B1 - Automatic recovery device of synchronous beffer - Google Patents

Automatic recovery device of synchronous beffer Download PDF

Info

Publication number
KR950009410B1
KR950009410B1 KR1019930018904A KR930018904A KR950009410B1 KR 950009410 B1 KR950009410 B1 KR 950009410B1 KR 1019930018904 A KR1019930018904 A KR 1019930018904A KR 930018904 A KR930018904 A KR 930018904A KR 950009410 B1 KR950009410 B1 KR 950009410B1
Authority
KR
South Korea
Prior art keywords
signal
buffer
address
read
receiving
Prior art date
Application number
KR1019930018904A
Other languages
Korean (ko)
Other versions
KR950010428A (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 KR1019930018904A priority Critical patent/KR950009410B1/en
Publication of KR950010428A publication Critical patent/KR950010428A/en
Application granted granted Critical
Publication of KR950009410B1 publication Critical patent/KR950009410B1/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store
    • G11C7/22Read-write [R-W] timing or clocking circuits; Read-write [R-W] control signal generators or management 
    • G11C7/222Clock generating, synchronizing or distributing circuits within memory device
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C8/00Arrangements for selecting an address in a digital store
    • G11C8/06Address interface arrangements, e.g. address buffers

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The buffer of a synchronous transmission system is reconfigurated to the normal state by a hardware so that load of a CPU is minimized. The apparatus includes a buffer initializer(100) for setting an initial valid area of a buffer, a clock signal generator(300) for generating an over-head bit of a frame periodically according to frame signals and system clock signals, and a reset signal generator(800) for generating a reset control signal and a buffer overflow signal.

Description

동기버퍼 자동 복구장치Synchronous buffer automatic recovery device

제1도는 본 발명에 따른 동기버퍼 자동 복구장치 구성도.1 is a block diagram of a synchronization buffer automatic recovery device according to the present invention.

제2도는 본 발명에 따른 버퍼감시 및 리셋신호 발생제어부 상세도.Figure 2 is a detailed view of the buffer monitoring and reset signal generation control unit according to the present invention.

제3도는 본 발명에 따른 신호 타이밍도.3 is a signal timing diagram according to the present invention.

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

100 : 버퍼초기화부 200 : 프레임형성부100: buffer initialization unit 200: frame forming unit

300 : 클럭형성부 400 : 리셋기300: clock forming unit 400: reset device

500 : 동기버퍼 600 : 쓰기 어드레스발생부500: Synchronization buffer 600: Write address generator

700 : 읽기 어드레스 발생부700: read address generator

800 : 버퍼 감시 및 리셋신호 발생제어부800: buffer monitoring and reset signal generation control unit

810 : 정보 영역 비교부 820 : 오버 헤더 영역 비교부810: information region comparison unit 820: over header area comparison unit

830 : 비교제어부 840 : 버퍼 오버런/언더런 감시부830: comparison controller 840: buffer overrun / underrun monitoring unit

841 : 누적기 842 : 주기적 누적부841 Accumulator 842 Periodic Accumulator

843 : 비교부843: comparison unit

본 발명은 동기식 전송시스템의 동기 다중화기에 적용되는 저속 다중처리부에 사용되는 사상/역사상용 버퍼의 언더런/오버런(under-run/over-run)을 서비스 중에 연속적으로 감지하여 발생된 신호를 이용하여 소프트웨어의 도움없이 하드웨어적으로 자체의 읽기/쓰기(read/write) 어드레스를 새로이 생성시켜 버퍼의 동작을 정상적으로 수행하도록 하는 동기버퍼 복구장치에 관한 것이다.The present invention uses a signal generated by continuously detecting under-run / over-run of a mapping / historical buffer used in a low-speed multi-processing unit applied to a synchronous multiplexer of a synchronous transmission system during service. The present invention relates to a synchronous buffer recovery device that performs a buffer operation normally by newly generating a read / write address of itself without hardware.

종래의 기술에서는 하드웨어적 버퍼 자동 복구가 되지 않아 버퍼의 복구를 위해서는 수동으로 파워 리셋을 하거나, CPU의 감시에 의해서 버퍼의 이상상태를 감지하여 프로세스 보드의 개입으로 정상동작을 할 수 밖에 없는데 프로세서부는 동기식 전송장치에서 처리해야 할 일의 양이 과다하고, 클럭의 흔들림과 같은 일시적인 상황에서는다른 기능도 복합적으로 장애를 일으켜 도미노 현상과 같이 여러요인의 장애가 일시적으로 폭주하게 되어 전송장치와 같은 서비스의 연속성을 갖는 장치에서는 기본적인 CCITT의 자동 복구 시간을 만족할 수 없는 상황이 발생되는 문제점이 있다.In the prior art, hardware automatic buffer recovery is not possible. Therefore, in order to recover the buffer, power reset is performed manually or the abnormal state of the buffer is detected by the monitoring of the CPU to operate normally by the intervention of the process board. In synchronous transmitters, the amount of work to be done is excessive, and in a temporary situation such as a shaking of the clock, other functions may also cause a complex failure, causing a temporary congestion of various factors such as a domino phenomenon. In the apparatus having a problem that a situation that can not satisfy the automatic recovery time of the basic CCITT occurs.

상기 문제점을 해결하기 위하여 안출된 본 발명은, 장치 내부의 비정상 상태 또는 회로절체 등으로 인해 클럭의 흔들림이 일시적으로 발생하여 자동 복구시간을 만족할 수 없는 상황이 발생되었을 때 소프트웨어적인 CPU의 로드를 줄이고 실시간 버퍼의 정상 상태로의 복구를 하드웨어적으로 수행하기 위한 동기버퍼 자동 복구장치를 제공하는데 그 목적이 있다.In order to solve the above problems, the present invention reduces the load of the software CPU when a situation in which the clock is temporarily shaken due to an abnormal state or a circuit change in the device and an automatic recovery time cannot be satisfied occurs. An object of the present invention is to provide an automatic synchronization buffer recovery device for hardware recovery of a real-time buffer to a normal state.

상기 목적을 달성하기 위하여 본 발명은, 프레임 기준신호 및 프레임 형성신호를 입력하고 시스템 클럭을 입력 받으며, 규칙 클럭 신호를 입력받아 버퍼의 초기 영역설정 및 감시시작을 제어하는 버퍼초기화수단, 상기 프레임 기준 신호와 시스템 클럭을 입력받아 C32 프레임을 형성하여 상기 버퍼 어드레스 초기화 수단으로 제공하는 프레임형성수단, 상기 프레임 형성수단으로 부터의 프레임 형성신호를 입력받고 시스템 클럭을 입력받아 프레임 형성시 오버헤드 부분 비트를 주기적으로 프레임상에서 생성하여 상기 버퍼 어드레스 초기화부로 제공하는 주기적 클럭형성수단, 자동 리셋 제어신호에 따라 어드레스 발생을 리셋시키는 리셋수단, 상기 버퍼 어드레스 초기화수단을 통해 프레임 형성신호를 입력받고 쓰기/읽기 어드레스 신호를 입력받으며, 자동 리셋 방지신호와 20m초 신호를 입력받아 자동적으로 버퍼를 감시하고 그에 따른 자동 리셋제어신호를 발생하여 상기 리셋수단으로 제공하고 외부로 버퍼 오버 플로우 발생신호를 출력하는 버퍼 감시 및 리셋신호 발생 제어수단, 상기 버퍼초기화수단으로 부터의 출력신호와 시스템 클럭을 인가받아 쓰기 어드레스를 발생하는 쓰기 어드레스 발생수단, 상기 버퍼초기화수단으로 부터의 출력신호와 시스템 클럭을 인가받아 읽기 어드레스를 발생하는 읽기 어드레스 발생수단, 및 상기 쓰기 어드레스 발생수단과 읽기 어드레스 발생수단으로 부터 쓰기/읽기 어드레스 신호를 입력받고 외부로 부터 데이타를 입력받아 저장하여 데이타를 출력하는 동기버퍼링 수단을 구비하는 것을 특징으로 한다.In order to achieve the above object, the present invention provides a buffer initialization means for inputting a frame reference signal and a frame forming signal, receiving a system clock, and receiving a regular clock signal to control initial area setting and start of monitoring of the buffer, based on the frame reference. A frame forming means for receiving a signal and a system clock to form a C32 frame and providing the buffer address initialization means, a frame forming signal from the frame forming means, and a system clock to receive an overhead portion bit when forming a frame. Periodic clock forming means periodically generated on a frame and provided to the buffer address initialization unit, reset means for resetting address generation according to an automatic reset control signal, and frame write signal input and write / read address signals through the buffer address initialization means. Get input , Buffer monitoring and reset signal generation control to monitor the buffer automatically by receiving the automatic reset prevention signal and the 20m second signal and generate the automatic reset control signal according to the reset means and output the buffer overflow generation signal to the outside. Means for generating a write address by receiving an output signal and a system clock from the buffer initialization means and generating a read address by receiving an output signal and a system clock from the buffer initialization means. And a synchronous buffering means for receiving a write / read address signal from the write address generating means and the read address generating means, receiving data from the outside, storing the same, and outputting the data.

이하, 첨부된 도면을 참조하여 본 발명을 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail the present invention.

제1도는 본 발명에 따른 자동 복구기가 장착된 동기버퍼 블럭구성도로서, 도면에서 100은 버퍼초기화부, 200은 프레임형성부, 300은 클럭형성부, 400은 리셋기, 500은 동기버퍼, 600은 쓰기 어드레스를 발생부, 700은 읽기 어드레스 발생부, 800은 버퍼감시 및 리셋신호 발생제어부를 각각 나타낸다.1 is a block diagram of a synchronization buffer equipped with an automatic recovery device according to the present invention, in which 100 is a buffer initialization unit, 200 is a frame forming unit, 300 is a clock forming unit, 400 is a reset unit, 500 is a synchronization buffer, and 600. Denotes a write address generator, 700 denotes a read address generator, and 800 denotes a buffer monitoring and reset signal generation controller.

도면에 도시한 바와 같이, 프레임 기준신호 및 프레임 형성신호를 입력하고 시스템 클럭을 입력 받으며, 규칙 클럭 형성신호를 입력받아 버퍼의 초기영역설정 및 감시시작을 제어하는 버퍼초기화부(100), 상기 프레임 기준신호와 시스템 클럭을 입력받아 C32 프레임을 형성하여 상기 버퍼 어드레스 초기화부(100)로 제공하는 프레임형성부(200), 상기 프레임 형성부(200)로 부터의 프레임 형성신호를 입력받고 시스템 클럭을 입력받아 프레임 형성시 오버헤드 부분 비트를 주기적으로 프레임상에서 생성하여 상기 버퍼 어드레스 초기화부(100)로 제공하는 주기적 클럭형성부(300), 실제 어드레스 발생을 "0"값으로 리셋시키는 리셋기(400), 상기 버퍼 어드레스 초기화부(100)를 통해 프레임 형성신호를 입력받고 쓰기/읽기 어드레스 신호를 입력받으며, 자동 리셋 방지신호와 20m초 신호를 입력받아 자동적으로 버퍼를 감시하고 그에 따라 자동 리셋 제어신호를 발생하여 상기 리셋기(400)로 제공하고 외부로 버퍼 오버 플로우 발생신호를 출력하는 버퍼 감시 및 리셋신호 발생 제어부(800), 상기 버퍼초기화부(100)로 부터의 출력신호와 시스템 클럭을 인가받아 쓰기 어드레스를 발생하는 쓰기 어드레스발생부(600), 상기 버퍼초기화부(100)로 부터의 출력신호와 시스템 클럭을 인가받아 읽기 어드레스를 발생하는 읽기 어드레스 발생부(700), 상기 쓰기 어드레스 발생부(600)와 읽기 어드레스 발생부(700)로 부터 쓰기/읽기 어드레스 신호를 입력받고 외부로 부터 데이타를 입력받아 저장하여 데이타를 출력하는 동기버퍼(500)로 구성된다.As shown in the figure, a buffer initialization unit 100 for inputting a frame reference signal and a frame forming signal, receiving a system clock, and receiving a regular clock forming signal to control the initial area setting of the buffer and the start of monitoring, the frame A frame forming unit 200 and a frame forming signal from the frame forming unit 200 are provided to the buffer address initialization unit 100 by forming a C32 frame by receiving a reference signal and a system clock. Periodic clock forming unit 300 to generate the overhead portion bits in the frame and receive the buffer address initialization unit 100 at the time of input frame formation, the reset unit 400 to reset the actual address generation to the value "0" (400). ), The frame forming signal is input through the buffer address initialization unit 100, and the write / read address signal is input, and the automatic reset method is performed. A buffer monitoring and reset signal generation control unit for receiving a signal and a 20m second signal and automatically monitoring a buffer and generating an automatic reset control signal accordingly to the reset unit 400 and outputting a buffer overflow generation signal to the outside. 800, a write address generator 600 for generating a write address by receiving an output signal and a system clock from the buffer initialization unit 100, and outputting an output signal and a system clock from the buffer initialization unit 100. It receives a read / write address signal from the read address generator 700, the write address generator 600, and the read address generator 700 to generate a read address, and receives and stores data from the outside. It consists of a synchronization buffer 500 for outputting data.

제2도는 본 발명에 따른 버퍼 감시 및 리셋신호 발생 제어부의 상세도로서, 도면에서 810은 정보영역 비교부, 820은 오버 헤더 영역 비교부, 830은 비교 제어부, 840은 버퍼 오버런/언더런 감시부, 841은 누적기, 842는 주기적 누적부, 843은 비교부를 각각 나타낸다.2 is a detailed view of a buffer monitoring and reset signal generation control unit according to the present invention, in which 810 is an information area comparison unit, 820 is an overhead header area comparison unit, 830 is a comparison control unit, 840 is a buffer overrun / underrun monitoring unit, 841 denotes an accumulator, 842 denotes a periodic accumulator, and 843 denotes a comparator.

도면에 도시한 바와 같이 비교 감시 및 리셋신호 발생 제어부는, 상기 제1도의 읽기/쓰기 어드레스발생부(700, 600)로 부터 읽기/쓰기 어드레스 신호를 입력받고 오버 헤더 영역 비교신호를 입력받아 C32 프레임상의 정보신호가 채워지는 부분에서 쓰기와 읽기를 비교하여 정보영역 비교신호를 출력하는 정보영역 비교부(810), 상기 제1도의 읽기/쓰기 어드레스발생부(700, 600)로 부터 읽기/쓰기 어드레스 신호를 입력받아 C32 프레임상의 오버헤드신호가 채워지는 부분에서 쓰기와 읽기를 비교하여 상기 정보 영역 비교부(810)와 상호 비교신호를 송수신하며 오버헤드 영역 비교신호를 출력하는 오버헤더 영역 비교부(820), 상기 제1도의 버퍼 어드레스 초기화부(100)를 통해 프레임 형성신호를 입력받고 상기 정보영역 비교부(810)로 부터의 정보 영역 비교신호와 상기 오버헤더 영역 비교부(820)로 부터의 출력신호를 입력받으며 정보부분과 오버헤드 부분 및 자동 리세신호를 발생하는 비교제어부(830), 상기 비교제어부(830)로 부터의 비교 제어신호를 입력받아 20m 주기로 버퍼의 2번 쓰기(UNDERFLOW)/2번읽기(OVERFLOW)를 감시하며 버퍼 오버플로우 발생신호를 출력하는 버퍼 오버런/언더런 감시부(840)로 구성되되, 상기 오버런/언더런 감시부(840)는 비교시 버퍼의 언더런/오버런은 총 6비트중 1-5번의 바이너리 값을 비교기에서 같은 값인가를 비교하는데 같은값이 존재하면 정상 "영" 상태에서 "일"상태로 펄스신호가 생성되어 인가 펄스 p로 인가된 언더런/오버런 펄스는 누적기(841)에 해당 갯수 만큼 누적되며, 20m초신호(n)마다 주기적 누적부(842)에 래치된 신호는 단한번의 발생이라도 버퍼 언더런/오버런 신호(k)를 발생하여 프로세서의 인터럽트처리모듈로 전달되며, 비교부(843)을 통해 20m초안에서 단한번이라도 발생되지 않았으면 해제 신호가 생성되어 버퍼오버 플로우 발생신호는 해제신호가 생성될 일 때 바이너리 신호로 "일"로 되고 해제일 때 "영"으로 되므로 이 신호를 검출하여 정상과 비정성상을 검출할 수 있다.As shown in the drawing, the comparison monitoring and reset signal generation controller receives a read / write address signal from the read / write address generators 700 and 600 of FIG. A read / write address from the read / write address generators 700 and 600 of FIG. An overhead header comparator that receives a signal and compares writing and reading in a portion where an overhead signal on a C32 frame is filled, transmits and receives a mutual comparison signal with the information area comparator 810, and outputs an overhead area comparison signal ( 820), the frame forming signal is inputted through the buffer address initialization unit 100 of FIG. 1, and the image area comparison signal from the information area comparison unit 810 is matched with the frame formation signal. A comparison control unit 830 for receiving an output signal from the header area comparison unit 820 and generating an information portion, an overhead portion, and an automatic reset signal, and a comparison control signal from the comparison control unit 830. Receives a buffer overrun / underrun monitoring unit 840 to monitor the buffer write twice (UNDERFLOW) / 2 reads (OVERFLOW) every 20m cycles and outputs a buffer overflow occurrence signal, the overrun / underrun monitoring unit 840 ), When comparing underrun / overrun of buffer, 1-5 out of 6 bits are compared with the same value in comparator. If the same value exists, pulse signal is generated from normal "zero" to "one" state. The number of underrun / overrun pulses applied by the application pulse p is accumulated in the accumulator 841 and the signals latched in the periodic accumulator 842 every 20m seconds signal n are buffer underrun / overrun even if only one occurrence occurs. To generate a signal (k) It is delivered to the interrupt processing module of the processor. If it is not generated even once in 20m seconds through the comparator 843, a release signal is generated, and the buffer overflow occurrence signal is "one" when the release signal is generated. When it is turned off and becomes "zero", the signal can be detected to detect normal and amorphous phases.

더 자세히 설명하면, 본 발명인 C32 신호 사상/역사상용 버퍼 읽기/쓰기 어드레스 비교기에서 발생된 어드레스 비교를 상기 버퍼 감시 및 리셋신호 발생 제어부(800)에서 실시하여 상기 비교 제어부(830)에서 자동 리셋을 실시할 것인가를 자동 리셋방지신호(o)의 제어에 의해 자동 리셋 제어신호(c)로 상기 리셋기(400)에 전달하면 상기 쓰기 어드레스발생부(600) 및 일기 어드레스 발생부(700)의 어드레스 신호는 리셋이 걸려있을 때와 같이 "0"으로 된다. 이때 어떠한 데이타(i)가 동기버퍼로 수신되어도 프레임 기준신호(b)가 인가되기 전에는 쓰기와 읽기 어드레스신호가 동작되지 않는다. 초기시작을 알리는 프레임기준신호(b)가 인가되면 버퍼 어드레스 초기화부(100)에서 쓰기 어드레스발생부(600) 및 읽기 어드레스 발생부(700)로 금지대역이 설정된 초기값(d, e)이 인가되며 쓰기 어드레스발생부(600) 및 읽기 영역 비교부 발생부(700)의 제어신호는 상기 동기버퍼(500)에 인가될 쓰기 어드레스(g) 및 읽기 어드레스(h)를 데이타입력(i)과 동일위상으로 상기 동기버퍼(500)에 인가하여 데이타의 슬립을 방지한다. 이때 인가되어 쓰기 어드레스(g) 및 읽기 어드레스(h)는 두신호의 번지가 일정한 간격을 유지하는 금지대역이 설정되어 동작한다.In more detail, the buffer monitoring and reset signal generation control unit 800 performs an address comparison generated by the C32 signal mapping / historical buffer read / write address comparator according to the present invention to automatically reset the comparison control unit 830. By sending the automatic reset control signal c to the reset device 400 under the control of the automatic reset prevention signal o, the address signals of the write address generator 600 and the weather address generator 700 are controlled. Becomes "0" as when a reset is engaged. At this time, even if any data i is received as the synchronization buffer, the write and read address signals are not operated until the frame reference signal b is applied. When the frame reference signal b for notifying the initial start is applied, the initial values d and e for which the forbidden band is set are applied from the buffer address initialization unit 100 to the write address generator 600 and the read address generator 700. The control signals of the write address generator 600 and the read area comparator generator 700 are the same as the data input i with the write address g and the read address h to be applied to the sync buffer 500. The phase is applied to the synchronization buffer 500 to prevent slippage of data. At this time, the write address (g) and the read address (h) is operated by setting a prohibition band in which the address of the two signals maintains a constant interval.

이 일정한 금지대역은 상기 프레임 형성부(200) 및 규칙신호 형성부(300)에서 클럭의 흔들림 혹은 다른 회로의 오동작이 없으면 항상 일정한 금지대역으로 동작한다. 이것은 C32 프레임상의 정보비트의 시스템 클럭수와 규칙 클럭 형성부(300)의 클럭수가 같기 때문에 쓰기 어드레스(g) 및 읽기 어드레스(h) 신호는 버퍼의 번지를 알리는 신호로서 C32 프레임의 형태와 같이 정보비트의 위치에서만 값이 변한다.This constant forbidden band always operates as a constant forbidden band unless there is a clock shake or other circuit malfunction in the frame forming unit 200 and the regular signal forming unit 300. Since the number of system clocks of information bits on the C32 frame and the number of clocks of the regular clock forming unit 300 are the same, the write address (g) and read address (h) signals are signals indicating the address of the buffer. The value changes only at the bit position.

상기 규칙 클럭 형성부(300)에서 생성하는 제어신호는 오버헤드영역을 C32 프레임의 전영역에서 규칙성을 가지고 그 값의 변화를 준 것이다.The control signal generated by the rule clock forming unit 300 changes the value of the overhead area with regularity in the entire area of the C32 frame.

상기 쓰기 어드레스발생부(600)와 읽기 어드레스 발생부(700)의 출력신호는 상기 버퍼 감시 및 리셋신호 발생제어부(800)로 인가되어 서비스중에도 연속적으로 감시한다. 상기 버퍼 감시 및 리셋신호발생제어부(800)의 입력신호인 어드레스신호는 2진수로 6비트 병렬신호이다. 이중 LSB는 동기버퍼상에서 2비트로 표시되며, LSB바로 상위는 4비트의 마진을 갖는다 6비트의 해당 바이너리 값이 동기버퍼상의 데이타 값을 쓰고 읽는 어드레스를 표시하므로 이 바이너리 값을 1∼5번(LSB; 0번제외)을 각각 쓰기와 읽기 어드레스로 비교하면 같은 값이 나올시 버퍼의 언더런/오버런 2비트의 영역에서 발생하여 데이타를 놓일 수 있다.The output signals of the write address generator 600 and the read address generator 700 are applied to the buffer monitoring and reset signal generation control unit 800 to monitor continuously during service. The address signal which is an input signal of the buffer monitoring and reset signal generation control unit 800 is a 6-bit parallel signal in binary. The LSB is represented by 2 bits on the sync buffer, and the upper right of the LSB has 4 bits of margin. The binary value of 6 bits represents the address to write and read the data value on the sync buffer. Compare with write and read addresses, respectively, and when the same value occurs, it occurs in the underrun / overrun 2-bit area of the buffer and data can be dropped.

그러므로 정보 영역 비교부(810) 및 오버헤더 영역비교부(820)에서의 비교시 버퍼의 언더런/오버런은 총 6비트중 1∼5번의 바이너리 값을 비교기에서 같은 값인가를 비교하는 것이다. 같은 값이 존재하면 정상 "영"상태에서 "일"상태로 펄서신호가 생성되어 비교제어부(830)에서 버퍼 오버런/언더런 감시부(840)로 인가된다. 이 인가 펄스 p로 인가된 언더런/오버런 펄스는 누적기(841)에 해당 갯수 만큼 누적되며, 20m 초 산호(n)마다 주기적누적구(842)에 래치된 신호는 단한번의 발생이라도 버퍼 언더런/오버런 신호(k)를 발생하여 프로세서의 인터럽트처리모듈로 전달된다. 20m초안에서 단한번이라도 발생되지 않았으면 해제 신호가 생성된다. 상기 버퍼 언더런/오버런(k)신호는 발생시 바이너리 신호 "일"로 되고 해제시 "영"이 된다. 이 신호를 검출하여 정상과 비정상을 검출할 수 있다.Therefore, the underrun / overrun of the buffer in the comparison between the information area comparator 810 and the overhead area comparator 820 is to compare whether the binary values of 1 to 5 of the 6 bits are the same in the comparator. If the same value exists, the pulser signal is generated from the normal "zero" state to the "one" state and is applied from the comparison controller 830 to the buffer overrun / underrun monitoring unit 840. The number of underrun / overrun pulses applied with this applied pulse p is accumulated in the accumulator 841, and the signal latched to the periodic cumulative sphere 842 every 20m seconds corals n is buffer underrun / The overrun signal k is generated and transmitted to the interrupt processing module of the processor. If not even once in 20m seconds, a release signal is generated. The buffer underrun / overrun (k) signal becomes a binary signal "one" when generated and "zero" when released. Normal and abnormal can be detected by detecting this signal.

상기 비교제어부(830)의 자동 리셋 제어신호(c)는 자동 리셋 방지신호(o)신호에 의해 가능/불가능이 결정되며, 가능일때만 실시간 자동 복구가 행해진다.The automatic reset control signal c of the comparison control unit 830 is enabled / disabled by the automatic reset prevention signal o signal, and real time automatic recovery is performed only when the automatic reset control signal c is enabled.

제3도는 본 발명에 따른 신호 타이밍도로서, (A)도는 C32 프레임 구성도, (B)도는 어드레스 카운트 하이일 때의 프레임 형성 구조도, (C)도는 어드레스 카운트 하이일 때의 규칙 클럭 형성도, (D)는 자동 리셋 제어신호 타이밍도, (E)도는 버퍼 오버런/언더런 신호 구조도 및 타이밍도를 각각 나타낸다.3 is a signal timing diagram according to the present invention, (A) is a C32 frame configuration diagram, (B) is a frame formation structure diagram when address count high, and (C) is a regular clock formation diagram when address count high (D) shows an automatic reset control signal timing diagram, (E) shows a buffer overrun / underrun signal structure diagram and a timing diagram, respectively.

각각의 설명은 다음과 같다.Each explanation is as follows.

POH는 전송장치가 하나의 망요소로 구성될 때 다른 전송장치와의 메시지의 통신을 위한 오버헤드부분, R은 오버헤드중 고정적으로 정보가 "0" 혹은 "1"로 채워지는 부분이며 C비트는 S위치에 스터핑 할 것인가의 상황을 알리는 스터링 제어신호이다.POH is an overhead part for communication of messages with other transmitters when the transmitter is composed of one network element, R is a part where information is fixedly filled with "0" or "1" and C bit Is a Stirling control signal indicating whether to stuff at the S position.

"0"로 표시된 부분은 향후 데이타 통신을 위해 유보된 비트이다. 순수 DS3 신호가 삽입되는 부분은 1로 표시된 부분으로 하나의 서브프레임속에 전체 696 비트의 총정보량이 삽입된다. 696 비트의 정보중 622(1)은 정보를 전송하기 위한 비트이고, 75(4)는 장치의 데이타 통신용등의 오버헤드부분이다. 이러한 75(4)의 비트를 서브프레임 상에서 규칙적으로 뺀 것이 (C)의 규칙클럭형성부 구조이며 (B)의 프레임형성부는 "1"로 하이일때 순수정보가 전달되는 1비트부분을 알리는 신호이다.The part marked "0" is a reserved bit for future data communication. The portion where the pure DS3 signal is inserted is indicated by 1, and the total amount of information of 696 bits is inserted in one subframe. Of the 696 bits of information, 622 (1) is a bit for transmitting information, and 75 (4) is an overhead part for data communication of the device. Regular subtraction of the 75 (4) bits on the subframe is the regular clock forming unit structure of (C), and the frame forming unit of (B) is a signal indicating the 1-bit part where pure information is transmitted when it is high as "1". .

(D)의 자동 리셋 제어신호에 의한 자동 복구를 설명하면, 상기 제1도 및 제2도의 신호선 g 및 h신호의 제어신호가 같은 번지수를 알리면 c의 펄스가 발생되어 버퍼는 리셋되어 f와 같은 상태로 된다. 이러한 신호는 b의 프레임 신호가 발생하면 다시 초기화가 이루어져 해당 어드레스는 금지영역으로 초기화되어 버퍼는 정상상태로 된다.Referring to the automatic recovery by the automatic reset control signal of (D), when the control signals of the signal lines g and h of the first and second signals inform the same address, a pulse of c is generated and the buffer is reset to f and It will be in the same state. This signal is initialized again when the frame signal of b is generated, and the corresponding address is initialized to the prohibited area, and the buffer is in a normal state.

이러한 상황에서도 다시 장애가 발생하여 어드레스의 겹침이 일어나면 상기와 같은 형태가 반복된다.Even in such a situation, when a failure occurs again and an overlap of addresses occurs, the above form is repeated.

(E)의 이러 장애의 감시부로의 보고는 20m초 속에 어드레스의 충돌이 신호인데 충돌이 일어날시 같은 데이타를 계속해서 읽게되는 현상이므로 정보의 상태를 에러상태가 된다. (E)에서 n의 첫 20m초 동안 충돌이 2번 발생하여 장애 상태인 "1"을 발생한다.In (E), the report of the fault to the monitoring unit signals a collision of addresses within 20m seconds, and when the collision occurs, the same data is continuously read. Therefore, the state of the information becomes an error state. In (E), two collisions occur during the first 20m seconds of n, resulting in a fault condition of "1".

다시 20m초안에서 충돌신호인 p가 한번도 발생하지 않을시 해제를 알리는 정상상태인 "0"상태로 천이가 일어난다.In 20m seconds, when the collision signal p never occurs, the transition occurs to the normal state "0" indicating the release.

상기와 같은 본 발명은 CPU의 과부하를 줄이고 하드웨어 자체에 의해 자동 복구되며, 서비스 불능 상태의 점검결과 자동 복구되므로 소요되는 시간이 하드웨어 처리로 인해 실시간으로 수행되는 효과가 있다.As described above, the present invention reduces CPU overload and automatically recovers the hardware, and automatically recovers the result of the service unavailability. Thus, the time required is performed in real time due to hardware processing.

Claims (2)

프레임 기준신호 및 프레임 형성신호를 입력하고 시스템 클럭을 입력 받으며, 규칙 클럭 형성 신호를 입력받아 버퍼의 초기 영역설정 및 감시시작을 제어하는 버퍼초기화수단(100), 상기 프레임 기준 신호와 시스템 클럭을 입력받아 C32 프레임을 형성하여 상기 버퍼 어드레스 초기화수단(100)으로 제공하는 프레임형성수단(200), 상기 프레임 형성수단(200)으로 부터의 프레임 형성신호를 입력받고 시스템 클럭을 입력받아 프레임 형성시 오버헤드 부분 비트를 주기적으로 프레임상에서 생성하여 상기 버퍼 어드레스 초기화부(100)로 제공하는 주기적 클럭형성수단(300), 자동 리셋 제어신호에 따라 어드레스 발생을 리셋시키는 리셋수단(400), 상기 버퍼 어드레스 초기화수단(100)을 통해 프레임 형성신호를 입력받고 쓰기/읽기 어드레스 신호를 입력받으며, 자동 리셋 방지신호와 20m초 신호를 입력받아 자동적으로 버퍼를 감시하고 그에 따른 자동 리셋 제어신호를 발생하여 상기 리셋수단(400)으로 제공하고 외부로 버퍼 오버 플로우 발생신호를 출력하는 버퍼 감시 및 리셋신호 발생 제어수단(800), 상기 버퍼초기화수단(100)으로 부터의 출력신호와 시스템 클럭을 인가받아 쓰기 어드레스를 발생하는 쓰기 어드레스 발생수단(600), 상기 버퍼초기화수단(100)으로 부터의 출력신호와 시스템 클럭을 인가받아 읽기 어드레스를 발생하는 읽기 어드레스 발생수단(700), 및 상기 쓰기 어드레스 발생수단(600)과 읽기 어드레스 발생수단(700)으로 부터 쓰기/읽기 어드레스 신호를 입력받고 외부로 부터 데이타를 입력받아 저장하여 데이타를 출력하는 동기버퍼링 수단(500)을 구비하는 것을 특징으로 하는 동기버퍼 자동 복구장치.A buffer initialization means 100 for inputting a frame reference signal and a frame forming signal, receiving a system clock, receiving a regular clock forming signal, and controlling an initial region setting and monitoring start of a buffer, and inputting the frame reference signal and the system clock. Receiving a frame forming signal from the frame forming means 200 and the frame forming means 200 and providing a system clock to the buffer address initialization means 100, and receiving a system clock. Periodic clock forming means (300) for generating partial bits periodically on the frame and providing them to the buffer address initialization unit (100), Reset means (400) for resetting address generation according to an automatic reset control signal, and the buffer address initialization means The frame forming signal is input through the 100 and the write / read address signal is input, and Automatically monitors the buffer by receiving the reset prevention signal and the 20m second signal, and generates the automatic reset control signal accordingly to the reset means 400 and outputs the buffer overflow generation signal to the outside. A control address 800, an output signal from the buffer initialization means 100, a write address generation means 600 for generating a write address by receiving a system clock, and an output signal from the buffer initialization means 100; Read address generating means 700 for receiving a system clock and generating a read address, and write / read address signals are input from the write address generating means 600 and read address generating means 700 to receive data from the outside. Synchronous buffer automatic recovery device characterized in that it comprises a synchronous buffering means 500 for receiving and storing and outputting data. . 제1항에 있어서, 상기 버퍼 감시 및 리셋신호 발생 제어수단(800)은; 상기 읽기/쓰기 어드레스발생부(700, 600)으로 부터 읽기/쓰기 어드레스 신호를 입력받고 오버 헤더 영역 비교신호를 입력받아 C32 프레임상의 정보신호가 채워지는 부분에서 쓰기와 읽기를 비교하여 정보영역 비교신호를 출력하는 정보영역 비교부(810), 상기 읽기/쓰기 어드레스 발생수단(700, 600)로 부터 읽기/쓰기 어드레스 신호를 입력받아 C32 프레임상의 오버헤드신호가 채워지는 부분에서 쓰기와 읽기를 비교하여 상기 정보 영역 비교부(810)와 상호 비교신호를 송수신하며 오버헤드 영역 비교신호를 출력하는 오버헤더 영역 비교수단(820), 상기 버퍼 어드레스 초기화수단(100)을 통해 프레임 형성신호를 입력받고 상기 정보영역 비교수단(810)으로 부터의 출력신호와 상기 오버헤더 영역 비교수단(820)으로 부터의 출력신호를 입력받으며 정보부분과 오버헤드 부분 및 자동 리셋신호를 발생하는 비교제어수단(830) 및 상기 비교제어수단(830)으로 부터의 비교 제어신호를 입력받아 20m 주기로 버퍼의 2번 쓰기(UNDERFLOW)/2번읽기(OVERFLOW)를 감시하여 버퍼 오버플로우 발생신호를 출력하는 버퍼 오버런/언더런 감시수단(840)을 구비하는 것을 특징으로 하는 동기버퍼 자동 복구장치.The method of claim 1, wherein the buffer monitoring and reset signal generation control means (800); The read / write address generator 700, 600 receives a read / write address signal and receives an over header area comparison signal to compare the write and read in the portion where the information signal on the C32 frame is filled, thereby comparing the information area comparison signal. A read / write address signal is input from the information area comparator 810 and the read / write address generating means 700 and 600, and the write and read are compared at a portion where the overhead signal on the C32 frame is filled. Receiving a frame forming signal through the header area comparison means 820 and the buffer address initialization means 100 for transmitting and receiving a mutual comparison signal with the information area comparison unit 810 and outputting an overhead area comparison signal. Receives an output signal from the area comparison means 810 and an output signal from the overheader area comparison means 820 and overwrites the information portion. The second control unit 830 and the second control unit UNDFLOW / 2 reads (OVERFLOW) of the buffer every 20m in response to the comparison control unit 830 and the comparison control unit 830 generating the automatic reset signal. And automatic buffer overrun / underrun monitoring means (840) for monitoring and outputting a buffer overflow occurrence signal.
KR1019930018904A 1993-09-17 1993-09-17 Automatic recovery device of synchronous beffer KR950009410B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930018904A KR950009410B1 (en) 1993-09-17 1993-09-17 Automatic recovery device of synchronous beffer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930018904A KR950009410B1 (en) 1993-09-17 1993-09-17 Automatic recovery device of synchronous beffer

Publications (2)

Publication Number Publication Date
KR950010428A KR950010428A (en) 1995-04-28
KR950009410B1 true KR950009410B1 (en) 1995-08-22

Family

ID=19363913

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930018904A KR950009410B1 (en) 1993-09-17 1993-09-17 Automatic recovery device of synchronous beffer

Country Status (1)

Country Link
KR (1) KR950009410B1 (en)

Also Published As

Publication number Publication date
KR950010428A (en) 1995-04-28

Similar Documents

Publication Publication Date Title
US4594705A (en) Bus-configured local area network with data exchange capability
US4208724A (en) System and method for clocking data between a remote unit and a local unit
JPH0715457A (en) Digital communication switchover system
KR100208012B1 (en) Data transmitting apparatus of digital audio/vedio
EP0500243B1 (en) Distributed bit-by-bit destuffing circuit for byte-stuffed multiframe data
US5802122A (en) Transmission system comprising a matching circuit
KR950009410B1 (en) Automatic recovery device of synchronous beffer
EP0485021A1 (en) Elastic buffer
US6055248A (en) Transmission frame format converter circuit
AU759459B2 (en) Image transmission method and image transmission device for realizing the same
JP3063291B2 (en) Line monitoring circuit
JPH0528538B2 (en)
JP3080868B2 (en) ATM switch
JP2702318B2 (en) Cell phase transfer circuit
JPH0690269A (en) Data transmission method
JPH1093536A (en) Inter-unit interface system for transmitter
JP2602738B2 (en) Output disconnection detection circuit
KR100267344B1 (en) Apparatus and method for collision protecting of transmitting data in hdlc bus structured switching system
KR970002814B1 (en) Control unit of physical layer management part
JPH05100764A (en) Low power transmitter
JP2538682B2 (en) Reference clock source automatic switching method
JP3246096B2 (en) Self-diagnosis device for digital equipment
JP2590636B2 (en) Facsimile machine with computer interlocking function
JP2998635B2 (en) Alarm transfer method
JP2938594B2 (en) Transmission signal disturbance absorption circuit

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
G160 Decision to publish patent application
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20070730

Year of fee payment: 13

LAPS Lapse due to unpaid annual fee