KR100192522B1 - Method and apparatus of automatic negotiation for sensing function for break in a line - Google Patents

Method and apparatus of automatic negotiation for sensing function for break in a line Download PDF

Info

Publication number
KR100192522B1
KR100192522B1 KR1019960031661A KR19960031661A KR100192522B1 KR 100192522 B1 KR100192522 B1 KR 100192522B1 KR 1019960031661 A KR1019960031661 A KR 1019960031661A KR 19960031661 A KR19960031661 A KR 19960031661A KR 100192522 B1 KR100192522 B1 KR 100192522B1
Authority
KR
South Korea
Prior art keywords
disconnection
unit
disconnection detection
automatic
link
Prior art date
Application number
KR1019960031661A
Other languages
Korean (ko)
Other versions
KR980013098A (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 KR1019960031661A priority Critical patent/KR100192522B1/en
Publication of KR980013098A publication Critical patent/KR980013098A/en
Application granted granted Critical
Publication of KR100192522B1 publication Critical patent/KR100192522B1/en

Links

Landscapes

  • Communication Control (AREA)

Abstract

본 발명은 데이터 통신에 관한 것으로서 근거리 통신망(LAN)에서 데이터의 전송이 이루어지는 전송선이 단선되었을 경우 별도의 아날로그 회로를 추가하지 않고 단선을 검출하는데 적당한 단선검츨 기능의 자동교섭장치 및 이를 이용한 단선검출방법을 제공하기 위한 것이다.The present invention relates to data communication, and when a transmission line for transmitting data in a local area network (LAN) is disconnected, an automatic negotiation device having a disconnection detection function suitable for detecting disconnection without adding an analog circuit and a disconnection detection method using the same It is to provide.

이를 위한 본 발명의 단선검출 기능의 자동교섭장치는 매니지먼트의 상태 레지스터로 부터 자신에 관한 정보를 전달 받아 이를 하기의 자동송신부로 출력하는 조정부와, 상기 조정부로 부터 받은 링크 코드 워드(LCW)를 패스트 링크 펄스(Fast Link Pulse) 형태로 송신라인을 통해 전송하는 자동송신부와, 링크파트너로부터 받은 패스트 링크 펄스(FLP)에서 상대방의 링크 코드 워드를 복원하는 자동수신 및 복원부와, 상기 조정부, 자동전송부 그리고 자동수신 및 복원부에서 각각의 신호를 받아 송신라인 및 수신라인의 단선여부를 검출한 후 단선신호를 출력하는 단선검출부를 포함하여 구성된다.The automatic negotiation apparatus of the disconnection detection function of the present invention receives the information about itself from the status register of the management and outputs the information to the following automatic transmission unit, and fast the link code word (LCW) received from the adjustment unit. An automatic transmitter for transmitting a link link in the form of a fast link pulse, an automatic receiving and restoring unit for restoring a link code word of the other party from a fast link pulse (FLP) received from the link partner, the adjusting unit, and automatic transmission And a disconnection detector for detecting whether a transmission line and a reception line are disconnected by receiving the respective signals from the automatic reception and restoration unit and outputting a disconnection signal.

Description

단선검출 기능의 자동교섭장치 및 이를 이용한 단선검출방법Automatic negotiation device of disconnection detection function and disconnection detection method using the same

본 발명은 데이터 통신에 관한 것으로 특히, 근거리 통신망(LAN)에서 데이터의 전송이 이루어지는 전송선이 단선되었을 경우 별도의 아날로그 회로를 추가하지 않고 단선을 검출하는데 적당한 단선검출 기능의 자동교섭장치 및 이를 이용한 단선검출방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to data communication. In particular, when a transmission line for transmitting data in a local area network (LAN) is disconnected, an automatic negotiation device having a disconnection detection function suitable for detecting disconnection without adding an analog circuit and disconnection using the same It relates to a detection method.

일반적으로 근거리 통신망(Local Area Network : LAN)이란 인접한 지리적 범위에서의 데이터 통신망을 말하는데, 통상 패킷 통신망이라 한다.In general, a local area network (LAN) refers to a data communication network in a contiguous geographical range, and is generally called a packet communication network.

이와같은 근거리 통신망은 값싼 전송매체를 이용하여 광대역통신을 수행한다. 그 기능에 있어서도 광역통신망과는 달라서 사무실이나 공장내의 통신이 효과적이면서도 경제적으로 행해질 수 있도록 되어 있다.Such local area networks perform broadband communications using cheap transmission media. In terms of its function, unlike the wide area network, communication in an office or a factory can be performed efficiently and economically.

보통 근거리 통신망의 적용구역은 0.1~10㎞정도이고 전송속도는 0.1~100Mbps이다.In general, the area of application of local area network is 0.1 ~ 10km and the transmission speed is 0.1 ~ 100Mbps.

일반적으로 자동교섭이란 양단말간의 통신시 상대방에 대한 동작모드(예를들면 10Mbps로 동작하는지 아니면 100Mbps로 동작하는지)와 자신의 동작모드를 패스트 링크 펄스(FLP)에 실어 서로 교환한 뒤 상대방과 자신의 동작모드를 비교하여 자신의 동작모드를 설정하는 것이다.In general, auto-negotiation means that the communication mode between the two terminals exchanges the operation mode (for example, 10Mbps or 100Mbps) and their own operation mode with Fast Link Pulse (FLP). By comparing the operation mode of the own operation mode is to set.

이하 첨부된 도면을 참조하여 종래 자동교섭장치를 설명하면 다음과 같다.Hereinafter, a conventional auto negotiation device will be described with reference to the accompanying drawings.

제1도는 종래 자동교섭장치의 구성블록도이다.1 is a block diagram of a conventional automatic negotiation apparatus.

먼저, 종래 자동교섭장치는 제1도에 도시한 바와같이 조정부(1), 자동전송부(2), 자동수신 및 복원부(3)를 포함하여 구성된다. 여기서 상기 자동전송부(2)는 상기 조정부(1)로 부터 받은 링크 코드 워드(LCW)를 패스트 링크 펄스(Fast Link Pulse) 형태로 전송한다. 자동수신 및 복원부(3)는 상대방으로부터 받은 패스트 링크 펄스(FLP)에서 상대방의 링크 코드 워드를 복원한다. 그리고 조정부(1)는 상기 자동전송부(2) 및 자동수신 및 복원부(3)를 제어한다.First, the conventional automatic negotiation apparatus includes an adjusting unit 1, an automatic transmitting unit 2, an automatic receiving and restoring unit 3, as shown in FIG. The automatic transmission unit 2 transmits the link code word LCW received from the adjustment unit 1 in the form of a fast link pulse. The automatic receiving and restoring unit 3 restores the link code word of the other party from the fast link pulse FLP received from the other party. And the adjusting unit 1 controls the automatic transmitting unit 2 and the automatic receiving and restoring unit 3.

이와같은 종래 자동교섭 장치의 동작설명은 다음과 같다.Operation of the conventional automatic negotiation device is as follows.

즉, 제1도에 도시한 바와같이 조정부(1)는 메니지먼트의 상태 레지스트로 부터 자신이 가진정보(예를들어 자신의 동작모드가 100Mbps 인지 10Mbps 인지 또는 100-base-T 인지 100-base-Tx 인지 등의 정보)를 받는다.That is, as shown in FIG. 1, the adjusting unit 1 has its own information from the state register of the management (for example, whether its operation mode is 100 Mbps, 10 Mbps, or 100-base-T or 100-base-Tx). Information such as recognition).

상기 조정부(1)는 상태 레지스터로 부터 받은 정보를 자동송신부(2)로 전송한다. 상기 자동송신부(2)는 이 정보(링크 코드 워드)를 패스트 링크 펄스 형태로 전송한다. 여기서 상기 패스트 링크 펄스 형태란 클럭펄스와 링크 코드 펄스를 각각 1비트씩 교대로 한 전체 33개의 펄스형태를 말한다. 이러한 패스트 링크 펄스 형태의 정보가 상대방으로 부터 받아들여지게 되면 상대방(Link parner)는 자신의 링크 코드 워드의 비트중 수신정보의 승인 비트를 세팅하여 로컬 디바이스소 송신한다.The adjusting unit 1 transmits the information received from the status register to the automatic transmitting unit 2. The automatic transmitter 2 transmits this information (link code word) in the form of a fast link pulse. In this case, the fast link pulse form refers to a total of 33 pulse forms in which clock pulses and link code pulses are alternately transmitted by 1 bit. When the fast link pulse information is received from the other party, the other party (Link parner) sets the acknowledgment bit of the received information among the bits of its link code word and transmits it to the local device.

상기 수신정보의 승인 비트를 받은 로컬 디바이스는 자신의 링크 코드 워드의 비트중 수신정보 승인비트를 1로 세팅하여 다시 상대방(Link partner)으로 송신한다. 이러한 과정을 여러번 반복하여 수행하면 정보의 송신단 및 수신단들의 각각은 자신의 링크 코드 워드와 상대방의 링크 코드 워드를 비교하여 자신과 상대방의 동작모드중 우선순위가 높은 것을 중심으로 하여 동작모드를 결정한다.The local device receiving the acknowledgment bit of the received information sets the received information acknowledgment bit among the bits of its link code word to 1 and transmits it to the link partner again. When this process is repeated several times, each of the information transmitting and receiving terminals compares the link code word of the information with the link code word of the counterpart and determines the operation mode based on the priority of the operation modes of the counterpart and the counterpart. .

상기와 같은 종래의 자동교섭 장치는 다음과 같은 문제점이 있었다. 즉, 송신라인 및 수신라인의 단선검출을 위해서는 별도의 아날로그 회로가 필요하여 회로구성이 복잡해지고 단선검출 또한 복잡해진다.The conventional auto-negotiation device as described above has the following problems. That is, a separate analog circuit is required for disconnection detection of the transmission line and the reception line, which complicates the circuit configuration and the disconnection detection.

본 발명은 상기의 문제점을 해결하기 위해 안출한 것으로서 전송선의 단선검출을 위해 간단한 디지탈로직을 추가하여 전송선의 단선여부를 검출하고 회로적 구성을 간단히 하는데 적당한 단선검출 기능의 자동교섭 장치를 제공하는데 그 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and provides an autonegotiation device having a disconnection detection function suitable for detecting disconnection of a transmission line and simplifying a circuit configuration by adding a simple digital logic for disconnection detection of a transmission line. There is a purpose.

제1도는 종래 자동교섭장치의 구성블록도.1 is a block diagram of a conventional automatic negotiation apparatus.

제2도는 본 발명의 단선검출 기능의 자동교섭장치의 구성블록도.2 is a block diagram of an automatic negotiation apparatus for disconnection detection of the present invention.

제3a도 내지 제3b도는 본 발명을 설명하기 위한 송수신 라인의 단선상태를 나타낸 도면.3A to 3B are diagrams illustrating a disconnected state of a transmission / reception line for explaining the present invention.

제4도는 본 발명을 설명하기 위한 자동교섭장치의 상태도.4 is a state diagram of an automatic negotiation apparatus for explaining the present invention.

제5도는 본 발명에 따른 단선검출부의 구성블록도.5 is a block diagram of a disconnection detecting unit according to the present invention.

제6도는 본 발명을 설명하기 위한 자동수신 및 복원부의 상태도.6 is a state diagram of an automatic receiving and restoring unit for explaining the present invention.

제7도는 본 발명에 따른 송신라인의 단선검출방법을 나타낸 플로우챠트.7 is a flowchart showing a disconnection detection method of a transmission line according to the present invention.

제8도는 본 발명에 따른 수신라인의 단선검출방법을 나타낸 플로우챠트.8 is a flowchart illustrating a disconnection detection method of a reception line according to the present invention.

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

21 : 조정부 22 : 자동송신부21: adjustment unit 22: automatic transmission unit

23 : 자동수신 및 복원부 24 : 단선검출부23: automatic receiving and restoring unit 24: disconnection detecting unit

31 : 로컬 디바이스 32 : 링크파트너31: Local device 32: Link partner

51 : 타이머부 52 : 단선라인 결정부51: timer unit 52: disconnection line determination unit

상기의 목적을 달성하기 위한 본 발명의 단선검출 기능의 자동교섭 장치는 매니지먼트의 상태 레지스터로 부터 자신에 관한 정보를 전달 받아 이를 하기의 자동송신부로 출력하는 조정부와, 상기 조정부로 부터 받은 링크 코드 워드(LCW)를 패스트 링크 펄스(Fast Link Pulse)형태로 송신라인을 통해 전송하는 자동송신부와, 링크 파트너로 부터 받은 패스트 링크 펄스(FLP)에서 상대방의 링크 코드 워드를 복원하는 자동수신 및 복원부와, 상기 조정부, 자동전송부 그리고 자동수신 및 복원부에서 각각의 신호를 받아 송신라인 및 수신라인의 단선여부를 검출한 후 단선신호를 출력하는 단선검출부를 포함하여 구성되고 이를 이용한 단선검출방법은 자동교섭모드로의 동작이 시작되면 단선결정부에서는 스테이트-인포를 판단하는 스텝과, 상기 판단결과 송신라인의 단선검출 동작을 시작하거나 아니면 정상적인 동작을 수행하는 스텝과, 수신정보 승인비트의 세팅값을 판단하여 상기 수신정보 승인비트가 0 이면 단선검출부에서 카운트를 시작하고 상기 수신정보 승인비트가 0으로 세팅되어 있지 않으면 정상적인 동작을 수행하는 스텝과, 단선검출부에서 카운트를 시작함에 따라 상기 카운트 값을 기준값과 비교하여 기준값에 비해 차이가 있으면 송신라인이 단선임을 알리는 신호를 발생하는 스텝을 포함하여 이루어짐을 특징으로 한다.Automatic negotiation device of the disconnection detection function of the present invention for achieving the above object receives an information about itself from the status register of the management and outputs it to the following automatic transmission unit, and the link code word received from the adjustment unit An automatic transmitter for transmitting the LCW in a fast link pulse form through a transmission line, and an automatic receiver and restorer for restoring the link code word of the other party from the fast link pulse received from the link partner. And a disconnection detector for detecting whether the transmission line and the receiving line are disconnected by receiving the respective signals from the adjusting unit, the automatic transmission unit, and the automatic receiving and restoring unit, and outputting the disconnection signal. When the operation in the negotiation mode is started, the disconnection determining unit determines the state-information and transmits the determination result. A step of starting a disconnection detection operation of an phosphorus or performing a normal operation and determining a setting value of a reception information acknowledgment bit, and if the reception information acknowledgment bit is 0, the disconnection detection unit starts counting and sets the reception information acknowledgment bit to zero. If not, the step of performing a normal operation and the step of starting the count in the disconnection detection unit, and comparing the count value with the reference value if there is a difference compared to the reference value, the step of generating a signal indicating that the transmission line is disconnected It is done.

이하 첨부된 도면을 참조하여 본 발명의 단선검출 기능의 자동교섭 장치 및 이를 이용한 단선검출방법을 설명하면 다음과 같다.Hereinafter, with reference to the accompanying drawings, the automatic negotiation apparatus of the disconnection detection function of the present invention and the disconnection detection method using the same will be described.

제2도는 본 발명에 따른 단선검출 기능의 자동교섭 장치의 구성블록도이다.2 is a block diagram of an automatic negotiation apparatus for disconnection detection according to the present invention.

먼저 본 발명의 단선검출 기능의 자동교섭 장치는 제3도에 도시한 바와같이 조정부(21), 자동송신부(22), 자동수신 및 복원부(23) 그리고 단선검출부(24)를 포함하여 구성된다. 여기서 상기 조정부(21)는 매니지먼트의 상태 레지스터로 부터 자신에 관한 정보를 전달 받아 이를 다시 자동송신부(22)로 출력한다. 상기 자동송신부(22)는 상기 조정부(21)로 부터 받은 링크 코드 워드(LCW)를 패스트 링크 펄스(Fast Link Pulse) 형태로 전송한다. 자동수신 및 복원부(23)는 상대방을 부터 받은 패스트 링크 펄스(FLP)에서 상대방의 링크 코드 워드를 복원한다. 그리고 조정부(21)는 상기 자동송신부(22) 및 자동수신 및 복원부(23)를 제어한다.First, the automatic negotiation apparatus of the disconnection detecting function of the present invention includes an adjusting unit 21, an automatic transmitting unit 22, an automatic receiving and restoring unit 23, and a disconnection detecting unit 24 as shown in FIG. . Here, the adjusting unit 21 receives information about itself from the status register of the management and outputs it to the automatic transmitting unit 22 again. The automatic transmitter 22 transmits the link code word LCW received from the controller 21 in the form of a fast link pulse. The automatic receiving and restoring unit 23 restores the link code word of the other party from the fast link pulse FLP received from the other party. The adjusting unit 21 controls the automatic transmitting unit 22 and the automatic receiving and restoring unit 23.

한편 단선검출부(24)는 상기 조정부(21), 자동송신부(22) 그리고 자동수신 및 복원부(23)에서 각각의 신호를 받아 송신라인 및 수신라인의 단선여부를 검출한 후 단선신호를 출력한다.On the other hand, the disconnection detecting unit 24 receives the respective signals from the adjusting unit 21, the automatic transmitting unit 22, and the automatic receiving and restoring unit 23, detects whether the transmission line and the receiving line are disconnected, and outputs a disconnection signal. .

제3a도 내지 제3b도는 본 발명을 설명하기 위해 양단말간의 데이터 송신라인 및 수신라인의 단성상태를 나타낸 도면이다. 먼저, 제3a도는 송신라인이 단선일 경우를 도시하였고, 제3b도는 수신라인이 단선일 경우를 도시하였다.3A to 3B are diagrams showing unity states of data transmission lines and receiving lines between two terminals for explaining the present invention. First, FIG. 3a illustrates a case where the transmission line is disconnected, and FIG. 3b illustrates a case where the reception line is disconnected.

이하 본 발명의 단선검출 기능의 자동교섭 장치의 동작설명은 다음과 같다.Operation of the automatic negotiation apparatus of the disconnection detection function of the present invention is as follows.

제2도 내지 제3도에 도시한 바와같이 상기 자동송신부(22)는 상기 조정부(21)로 부터 받은 링크 코드 워드(LCW)를 패스트 링크 펄스(Fast Link Pulse) 형태로 전송한다. 자동수신 및 복원부(23)는 상대방으로부터 받은 패스트 링크 펄스(FLP)에서 상대방의 링크 코드 워드를 복원한다. 그리고 조정부(21)는 상기 자동송신부(22) 및 자동수신 및 복원부(23)를 제어한다. 이때 이와같은 정보전송도중 송신라인이나 수신라인이 단선이 발생하였을 경우 통신 프로토콜을 설명하면 다음과 같다.As shown in FIGS. 2 to 3, the automatic transmitter 22 transmits the link code word LCW received from the controller 21 in the form of a fast link pulse. The automatic receiving and restoring unit 23 restores the link code word of the other party from the fast link pulse FLP received from the other party. The adjusting unit 21 controls the automatic transmitting unit 22 and the automatic receiving and restoring unit 23. In this case, when a transmission line or a reception line is disconnected during such information transmission, the communication protocol will be described as follows.

먼저 제3a도에 도시한 바와같이 송신라인 및 수신라인의 단선이전에 양단말 즉, 로컬 디바이스(31)와 링크 파트너(32)의 통신프로토콜은 다음과 같다. 로컬 디바이스(31)는 링크 코드 워드(동작모드가 실려있는 16비트워드)를 패스트 링크 펄스(FLP)형태로 전송한다. 이때 링크 파트너(32)는 상기 링크 코드 워드의 수신정보 승인비트(즉, 상대방으로 부터 3개의 연속적이고 수신정보 승인비트를 무시한, 내용이 일치한 링크 코드 워드를 수신했다는 것을 알려주는 비트)를 0으로 세팅한다. 이때 상기 로컬 디바이스(31)는 상대방(링크 파트너)으로 부터 수신정보 승인비트를 무시한, 즉 내용이 동일한 링크 코드 워드를 3번 연속으로 수신했을 때 상기 수신정보 승인비트를 1로 세팅해서 링크 코드 워드를 패스트 링크 펄스 형태로 전송한다.First, as shown in FIG. 3A, the communication protocols of both terminals, that is, the local device 31 and the link partner 32, before disconnection of the transmission line and the reception line are as follows. The local device 31 transmits the link code word (16 bit word containing the operation mode) in the form of a fast link pulse (FLP). At this time, the link partner 32 sets the received information acknowledgment bit of the link code word (i.e., a bit indicating that the link code word corresponding to the content has been received from the other party, ignoring three consecutive received information acknowledgment bits). Set to. At this time, the local device 31 ignores the received information acknowledgment bit from the other party (link partner), that is, when receiving the same link code word three times in succession, the local device 31 sets the received information acknowledgment bit to 1 to link code word. Is transmitted in the form of a fast link pulse.

이후 상기 링크 코드 워드(31)는 링크 파트너(32)로 부터 수신정보 승인비트를 포함한 동일한 내용의 링크 코드 워드를 3번 연속적으로 수신한다. 이어 상기 로컬 디바이스(31)는 수신정보 승인비트를 1로 세팅한 링크 코드 워드를 약 6 내지 8번 정도를 전송한다. 그런 다음 로컬 디바이스(31)는 전송중인 링크 코드 워드의 전송을 멈추고 동작모드를 설정한다.Thereafter, the link code word 31 continuously receives the link code word having the same contents including the reception information acknowledgment bit from the link partner 32 three times in succession. Subsequently, the local device 31 transmits a link code word of which the reception information acknowledgment bit is set to 1 about 6 to 8 times. Then, the local device 31 stops the transmission of the link code word being transmitted and sets the operation mode.

상기와 같은 일련의 과정은 순차적이며 이중 어느하나라도 만족되지 않았다면 그 다음의 과정으로 넘어갈 수 없다.Such a series of processes is sequential, and if any of these are not satisfied, it cannot proceed to the next process.

이러한 과정을 통해 동작하는 양단말간의 데이터 송신 및 수신라인의 일부가 단선이 발생하였을 경우의 동작을 제3도 및 제4도를 참조하여 설명하면 다음과 같다.Referring to FIG. 3 and FIG. 4, the operation when a portion of the data transmission and reception line between the terminals operating through this process is disconnected will be described as follows.

제3도는 양단말간의 송신라인 및 수신라인이 단선된 상태를 나타낸 것이고, 제4도는 자동교섭 장치의 자동교섭 조정부의 상태도이다.3 is a diagram illustrating a state in which a transmission line and a reception line between both terminals are disconnected, and FIG. 4 is a state diagram of an auto negotiation adjustment unit of the auto negotiation apparatus.

먼저, 제3a도에 도시한 바와같이 송신라인이 단선일 경우를 보면 초기에 로컬 디바이스(31)는 동작모드가 실려있는 16비트 워드인 링크 코드 워드를 패스트 링크 펄스에 실어보낸다. 따라서 링크 파트너(32)는 링크 코드 워드의 수신정보 승인비트를 0으로 세팅한다.First, as shown in FIG. 3A, when the transmission line is disconnected, the local device 31 initially transmits a link code word, which is a 16-bit word containing an operation mode, to the fast link pulse. Therefore, the link partner 32 sets the reception information acknowledgment bit of the link code word to zero.

여기서 송신라인이 단선이므로 상기의 과정만을 반복수행한다. 그리고 링크 파트너(32)는 로컬 디바이스(31)로 부터 전송되는 데이터가 없으므로 계속해서 수신정보 승인비트가 0으로 세팅된 링크 코드 워드만을 상기 로컬 디바이스(31)로 전송한다.Since the transmission line is disconnected, only the above process is repeated. Since the link partner 32 has no data transmitted from the local device 31, the link partner 32 continuously transmits only the link code word having the reception information acknowledgment bit set to 0 to the local device 31.

이는 제4도에 도시한 바와같이 D상태 즉, 수신정보 승인비트 검출상태에만 머무르게 된다. 왜냐하면 E 상태로 들어가기 위해서는 위에서 언급한 바와같이 상기 로컬 디바이스는 링크 파트너로 부터 수신정보 승인비트를 포함한, 내용이 동일한 링크 코드 워드를 3번 연속적으로 수신해야 되는데 상기 송신라인이 단선되므로 인해 링크 파트너는 수신정보 승인비트가 0으로 세팅된 링크 파트너만을 상기 로컬 디바이스로 송신하기 때문이다.This remains only in the D state, that is, the reception information acknowledgment bit detection state, as shown in FIG. Because as mentioned above, the local device must receive the link link word of the same content three times in a row including the acknowledgment bit from the link partner, because the transmission line is disconnected. This is because only the link partner whose reception information acknowledgment bit is set to 0 is transmitted to the local device.

결과적으로 송신라인의 단선을 측정하기 위해서는 제2도에 도시한 바와같이 ACK신호와 수신 코드 입력신호와, 조정부로 부터 스테이트 인포(STATE INFO)3:0라는 신호르 받야아 한다. 여기서 상기 ACK신호란 수신된 링크 파트너의 수신정보 승인비트를 나타내며 상기 수신 코드 입력신호는 자동수신 및 복원부가 링크 파트너로부터 하나의 코드 워드를 수신하였다는 것을 나타내는 신호이다. 또한 상기 스테이트 인포신호는 자동교섭 조정부가 현재 머무르고 있는 상태를 나타내는 신호이다.As a result, in order to measure the disconnection of the transmission line, as shown in FIG. 2, the ACK signal, the reception code input signal, and the signal STATE INFO 3: 0 must be received from the adjusting unit. Here, the ACK signal indicates a received information acknowledgment bit of the link partner, and the received code input signal is a signal indicating that the auto-receive and restore unit has received one code word from the link partner. In addition, the state info signal is a signal indicating the state that the auto-negotiation control unit currently stays.

이와같이 상기 단선검출부가 이들 3개의 신호를 수신하게 되면 다음과 같은 동작을 하게 된다.As such, when the disconnection detection unit receives these three signals, the following operation is performed.

제5도는 본 발명에 따른 단선검출부의 상세도이다.5 is a detailed view of the disconnection detecting unit according to the present invention.

본 발명에 따른 단선검출부는 제5도에 도시한 바와같이 타이머부(51)와, 단선라인 결정부(52)를 포함하여 구성된다. 여기서 상기 타이머부(51)는 수신정보 승인비트가 0 인 링크 코드 워드의 갯수를 알려주는 신호를 카운터한다. 그리고 상기 단선라인 결정부(52)는 위에서 언급했던 스테이트 인포(STATE INFO)3:0가 3번 인가되었는지를 체크한 다음 상기 수신정보 승인비트가 0을 만족하게 되면 상기 카운터를 +1 증가시킨다. 상기 카운터의 값이 특정값 이상이 되면 상기 단선라인 결정부(52)는 송신라인이 단선이라는 신호를 출력한다.The disconnection detecting unit according to the present invention includes a timer unit 51 and a disconnection line determination unit 52 as shown in FIG. Here, the timer 51 counts a signal indicating the number of link code words in which the reception information acknowledgment bit is zero. The disconnection line determination unit 52 checks whether the state information 3: 0 mentioned above is applied three times, and then increments the counter by +1 when the reception information acknowledgment bit satisfies zero. When the value of the counter is greater than or equal to a specific value, the disconnection line determination unit 52 outputs a signal that the transmission line is disconnection.

이상에서 송신라인이 단선일 경우에 대해서 설명하였고, 지금부터 제3b도 및 제6도를 참조하여 수신라인이 단선되었을 경우를 설명하면 다음과 같다.The case where the transmission line is disconnected has been described above, and the case where the reception line is disconnected will now be described with reference to FIGS. 3B and 6.

제6도는 본 발명에 따른 자동수신 및 복원부의 상태도이다.6 is a state diagram of an automatic receiving and restoring unit according to the present invention.

먼저 제3b도는 양단말 사이의 수신라인이 단선된 경우를 나타내었다. 즉, 제3b도에 도시한 바와같이 수신라인이 단선되었을 경우에도 상기 송신라인이 단선되었을 경우와 마찬가지로 로컬 디바이스는 동작모드가 실려있는 16비트 워드인 링크 코드 워드를 패스트 링크 펄스에 실어보낸다.First, FIG. 3b illustrates a case where the receiving line between both terminals is disconnected. That is, as shown in FIG. 3B, even when the receiving line is disconnected, the local device sends a link code word, which is a 16-bit word containing an operation mode, to the fast link pulse in the same manner as when the transmitting line is disconnected.

따라서 링크 파트너는 링크 코드 워드의 수신정보 승인비트를 0으로 세팅한다. 이때 수신라인이 단선되었으므로 상기 로컬 디바이스의 자동수신 및 복원부로 입력되는 데이터는 존재하지 않는다. 이는 제6도의 자동수신 및 복원부의 상태도에 도시된 IDLE 상태에 머무르게 된다. 이는 자동교섭 장치의 조정부의 상태가 C 상태에 있음을 암시한다.Therefore, the link partner sets the reception information acknowledgment bit of the link code word to zero. At this time, since the receiving line is disconnected, there is no data input to the automatic receiving and restoring unit of the local device. This remains in the IDLE state shown in the state diagram of the automatic reception and restoration section of FIG. This suggests that the state of the adjusting portion of the auto negotiation apparatus is in the C state.

그러나 상기 자동수신 복원부의 수신단에서 원하지 않는 신호나 전혀 예기치 않는 동작에 의해 순간적인 링크 코드 펄스가 발생할 수 있다는 것을 고려한다면 상기 자동수신 및 복원부가 반드시 IDLE 상태에만 머무르는 것이 아니며 링크 펄스 검출 상태에도 머무를 수 없다. 여기서 상기 링크 펄스 검출 상태에 머무르게 된다 하더라도 계속해서 머무르지는 않는다. 이는 제6도에 도시한 링크 펄스 검출 상태에서 탈출할 수 있는 조건에 따라 링크 펄스 카운트 상태나 IDLE 상태로 이동할 수 있다.However, considering that an instantaneous link code pulse may be generated by an unwanted signal or an unexpected operation at the receiving end of the automatic receiving recovery unit, the automatic receiving and restoring unit does not necessarily stay in the IDLE state and may remain in the link pulse detection state. none. Here, even if the link pulse detection state is maintained, the link pulse detection unit does not stay there. This may move to the link pulse count state or the IDLE state depending on the condition of escape from the link pulse detection state shown in FIG.

여기서 상기 링크 펄스 카운트 상태로 이동하게 된다는 것은 수신라인이 단선되지 않았다는 것을 의미한다. 그리고 IDLE 상태로 이동하게 되는 경우에는 다음 두가지 조건이 존재한다. 즉, 제6도에 도시한 조건들중 제1조건의 원하는 시간내에 링크 펄스가 들어오지 않을 경우와 제2조건의 링크 펄스가 들어오되 어떤 시점 이전에 들어온 경우, 이 두 경우에 해당하여 IDLE 상태로 이동하게 된다. 결과적으로 수신라인이 단선되면 자동수신 및 복원부의 상태이동은 다음과 같이 이루어진다. IDLE→링크 펄스 검출→IDLE→링크 펄스 검출…의 식으로 이루어진다.Here, moving to the link pulse count state means that the receiving line is not disconnected. In case of moving to IDLE state, two conditions exist. That is, when the link pulse does not come in within the desired time of the first condition among the conditions shown in FIG. 6 and the link pulse of the second condition comes in before a certain point, the IDLE state is applied to the two cases. Will move. As a result, when the receiving line is disconnected, the state transfer of the automatic receiving and restoring unit is performed as follows. IDLE? Link pulse detection? IDLE? Link pulse detection. It is made of

여기서 주의 할 것은 링크 펄스 검출 상태에서 IDLE 상태로 이동할 때 제1조건에 의한 것과 제2조건에 의한 것이 있는데 이중 제2조건이 만족되어 IDLE 상태로 이동하게 된다면 상기 수신라인이 단선되었다고 볼 수 없다. 이는 자동수신 및 복원부의 수신단에서 계속해서 링크 펄스를 받아들이기 때문이다.It should be noted that the first condition and the second condition are used when moving from the link pulse detection state to the IDLE state. If the second condition is satisfied and the IDLE state is moved, the reception line is not disconnected. This is because the receiving end of the automatic receiving and restoring unit continuously receives the link pulse.

따라서 IDLE 상태에서 제2조건에 의해서 다시 IDLE 상태로의 이동이 허용값 이상인지 아니면 허용값 이하인지를 판단하여 단선검출부로 수신라인 단선검출을 시작하라는 신호를 발생한다.Therefore, the IDLE state determines whether the movement to the IDLE state again by the second condition is greater than or equal to the allowable value or less than the allowable value and generates a signal to start the receiving line disconnection detection to the disconnection detecting unit.

상기 수신라인 단선검출을 시작하라는 신호가 1일 동안 검출타이머를 동작시킨다. 이때 상기 검출 타이머의 정상적인 동작을 위해서 end타이머와 rst타이머의 신호를 1로 세팅한다. 여기서 상기 검출타이머가 동작된 후 end타이머의 신호가 1이 될 때 까지도 수신라인 단선검출을 시작하라는 신호가 1 이면 수신라인이 단선인 것으로 검출한다.The signal to start detecting the disconnection of the reception line operates the detection timer for one day. At this time, the signals of the end timer and the rst timer are set to 1 for the normal operation of the detection timer. If the signal to start the reception line disconnection detection is 1 even after the detection timer is operated until the signal of the end timer becomes 1, the detection line is detected as disconnected.

한편 제7도 및 제8도는 본 발명에 따른 단선검출 기능의 자동교섭 장치를 이용한 단선검출 방법을 나타낸 플로우챠트이다.7 and 8 are flowcharts illustrating a disconnection detection method using an automatic negotiation device having a disconnection detection function according to the present invention.

먼저 제7도는 송신라인 단선에 따른 단선검출 방법을 나타낸 플로우챠트이다.First, FIG. 7 is a flowchart illustrating a disconnection detection method according to a transmission line disconnection.

제7도에 도시한 바와같이 자동교섭 모드로의 동작이 시작(101) 되면 단선결정부에서는 스테이트-인포3:0=3 인지를 판단(102)한다. 상기 판단결과 스테이트-인포3:0=3이면 송신라인의 단선검출 동작을 시작(103)하고 3이 아니면 정상적인 동작을 수행한다.As shown in FIG. 7, when the operation in the auto-negotiation mode is started 101, the disconnection determining unit determines whether state-information 3: 0 = 3 (102). As a result of the determination, if state-information 3: 0 = 3, the disconnection detection operation of the transmission line is started 103, and if not, the normal operation is performed.

이어 수신정보 승인비트가 0으로 세팅되어 있는지를 판단(104)하여 상기 수신정보 승인비트가 0 이면 단선검출부에서 카운트를 시작(105)하고, 상기 수신정보 승인비트가 0으로 세팅되어 있지 않으면 정상적인 동작을 수행한다. 그리고 상기 단선검출부에서 카운트를 시작하면(105) 상기 카운트 값을 기준값과 비교(106)하여 기준값 보다 크면 송신라인이 단선임을 알리는 신호를 발생(107)한다.Subsequently, it is determined whether the reception information acknowledgment bit is set to zero (104). If the reception information acknowledgment bit is zero, the disconnection detection unit starts counting 105, and if the reception information acknowledgment bit is not set to zero, normal operation is performed. Do this. When the count is detected by the disconnection detector 105, the count value is compared with the reference value 106, and when the count value is greater than the reference value, a signal indicating that the transmission line is disconnected is generated 107.

만일 상기 단선검출부의 카운트 값이 기준값에 비해 작으면 상기 스테이트 인포3:0=3인지를 재차 판단(108)하여 3이 아니면 정상적인 동작을 수행하고 만일 3이면 상기 수신정보의 승인비트값을 확인(104)하는 단계로 피드백한다.If the count value of the disconnection detector is smaller than the reference value, it is determined 108 again whether the state info 3: 0 = 3, and if it is not 3, normal operation is performed. If 3, the acknowledgment bit value of the received information is checked. 104).

한편, 제8도는 본 발명에 따른 수신라인 단선검출 방법을 나타낸 플로우챠트이다. 제8도에 도시한 바와같이 링크 파트너로부터 링크 코드 워드를 수신했는지 판단(201)하여 링크 코드 워드가 수신되지 않았으면 정상적인 동작을 수행하고 만일 상기 링크 코드 워드가 링크 파트너로부터 수신되었으면 스테이트-인포=2 인지를 판단(202)한다. 상기 판단결과 2이면 수신라인의 단선검출을 시작하라는 신호를 1로 세팅하여 단선검출부로 전송한다. 동시에 단선검출 타이머를 동작(203)시킨다. 이어 상기 수신라인의 단선검출을 시작하라는 신호와 상기 단선검출 타이머의 값을 비교하여 상기 검출타이머가 동작된 후 타이머의 신호 1이 될 때 까지도 수신라인 단선검출을 시작하라는 신호가 1 인지를 검출(204)하여 아직까지 1 이면 수신라인이 단선임을 알리는 신호를 출력(205)한다.8 is a flowchart illustrating a receiving line disconnection detecting method according to the present invention. As shown in FIG. 8, it is determined whether a link code word has been received from the link partner (201). If the link code word is not received, normal operation is performed. If the link code word is received from the link partner, state-info = 2 is determined (202). If the determination result is 2, the signal to start disconnection detection of the reception line is set to 1 and transmitted to the disconnection detection unit. At the same time, the disconnection detection timer is operated (203). Next, by comparing the signal for starting the disconnection detection of the reception line with the value of the disconnection detection timer, it is detected whether the signal for starting the reception line disconnection detection is 1 until the signal 1 of the timer is operated after the detection timer is operated. If it is still 1, a signal indicating that the receiving line is disconnected is output.

이와같은 과정을 통해 송신라인 및 수신라인의 단선여부를 검출한다.Through this process, whether the transmission line and the reception line are disconnected is detected.

이상 상술한 바와같이 본 발명의 전송선의 단선검출장치 및 방법은 다음과 같은 효과가 있다. 즉, 송신라인 및 수신라인의 단선을 검출하기 위해 별도의 복잡한 아날로그회로를 추가하지 않고 간단한 디지탈회로만으로 송신라인 및 수신라인의 단선을 검출한다.As described above, the apparatus and method for detecting disconnection of a transmission line of the present invention have the following effects. That is, to detect the disconnection of the transmission line and the reception line, the disconnection of the transmission line and the reception line is detected only by a simple digital circuit without adding a separate complicated analog circuit.

Claims (7)

매니지먼트의 상태 레지스터로 부터 자신에 관한 정보를 전달 받아 이를 하기의 자동송신부로 출력하는 조정부와, 상기 조정부로부터 받은 링크 코드 워드(LCW)를 패스트 링크 펄스(Fast Link Pulse) 형태로 송신라인을 통해 전송하는 자동송신부와, 링크 파트너로부터 받은 패스트 링크 펄스(FLP)에서 상대방의 링크 코드 워드를 복원하는 자동수신 및 복원부와, 상기 조정부, 자동전송부 그리고 자동수신 및 복원에서 각각의 신호를 받아 송신 라인 및 수신라인의 단선여부를 검출한 후 단선신호를 출력하는 단선검출부를 포함하여 구성됨을 특징으로 하는 단선검출 기능의 자동교섭장치.The controller receives information about itself from the status register of the management and outputs the information to the following automatic transmitter. The link code word (LCW) received from the controller is transmitted through a transmission line in the form of a fast link pulse. An automatic transmission unit, an automatic reception and restoration unit for restoring the link code word of the other party from the fast link pulse (FLP) received from the link partner, and a transmission line receiving the respective signals from the adjustment unit, the automatic transmission unit, and the automatic reception and restoration. And a disconnection detection unit for detecting a disconnection of a receiving line and outputting a disconnection signal. 제1항에 있어서, 상기 단선검출부는 수신정보 승인비트가 0인 링크 코드 워드의 갯수를 알려주는 신호를 카운터하는 타이머부와, 스테이트 인포(STATE INFO)가 일정횟수 인가되었는지를 체크한 다음 상기 수신정보 승인비트가 0을 만족하게 되면 상기 카운터의 값을 +1 증가시키고 특정값과 비교하여 그 결과에 따라 송신 및 수신라인의 단선임을 알리는 신호를 출력하는 단선라인 결정부를 포함하여 구성됨을 특징으로 하는 단선검출 기능의 자동교섭장치.The reception circuit of claim 1, wherein the disconnection detection unit checks whether a timer unit for counting a signal indicating a number of link code words having a reception information acknowledgment bit is 0, and whether the state information has been applied a predetermined number of times, and then receiving When the information acknowledgment bit satisfies 0, it comprises a disconnection line determining unit for increasing the value of the counter by +1 and comparing it with a specific value and outputting a signal indicating that the transmission and reception lines are disconnected according to the result. Automatic negotiation device with disconnection detection function. 자동교섭 모드로의 동작이 시작되면 단선결정부에서는 스테이트-인포를 판단하는 스텝과, 상기 판단결과 송신라인의 단선검출 동작을 시작하거나 아니면 정상적인 동작을 수행하는 스텝과, 수신정보 승인비트의 세팅값을 판단하여 상기 수신정보 승인비트가 0 이면 단선검출부에서 카운트를 시작하고 상기 수신정보 승인비트가 0으로 세팅되어 있지 않으면 정상적인 동작을 수행하는 스텝과, 단선검출부에서 카운트를 시작함에 따라 상기 카운트 값을 기준값과 비교하여 기준값에 비해 차이가 있으면 송신라인이 단선임을 알리는 신호를 발생하는 스텝을 포함하여 이루어짐을 특징으로 하는 단선검출 기능의 자동교섭장치를 이용한 단선검출방법.When the operation in the auto-negotiation mode is started, the disconnection determination unit determines the state-info, starts the disconnection detection operation of the transmission line or performs the normal operation, and sets the received information acknowledgment bit. Determining that the received information acknowledgment bit is 0, the disconnection detecting unit starts counting, and if the receiving information acknowledgment bit is not set to 0, performing a normal operation; and counting the count value as the disconnection detecting unit starts counting. And a step of generating a signal informing that the transmission line is disconnected when there is a difference compared to the reference value. 제3항에 있어서, 상기 단선검출부의 카운트 값이 기준값에 비해 작으면 상기 스테이트 인포3:0=3인지를 재타 판단하는 스텝과 상기 판단결과 3이 아니면 정상적인 동작을 수행하고 만일 3이면 상기 수신정보의 승인비트값을 확인하는 단계로 피드백하는 스텝을 더 포함함을 특징으로 하는 단선검출 기능의 자동교섭장치를 이용한 단선검출방법.4. The method of claim 3, wherein if the count value of the disconnection detection unit is smaller than the reference value, the step of re-determining whether or not the state info 3: 0 = 3 is performed; if the determination result is not 3, normal operation is performed; Disconnection detection method using an automatic negotiation device having a disconnection detection function, characterized in that it further comprises the step of feeding back to the step of confirming the approval bit value. 제3항에 있어서, 상기 단선결정부에서 스테이트-인포를 판단하여 3이면 단선검출동작을 시작하는 것을 특징으로 하는 단선검출 기능의 자동교섭장치를 이용한 단선 검출방법.4. The disconnection detection method according to claim 3, wherein the disconnection determination unit determines the state-info and starts the disconnection detection operation if it is 3. 링크 파트너로부터 링크 코드 워드를 수신했는지 판단하는 스텝과, 상기 수신여부에 따라 정상적인 동작을 수행 및 스테이트- 인포를 판단하는 스텝과, 상기 스테이트 인포의 판단결과에 따라 수신라인의 단선검출을 시작하라는 신호를 세팅하여 단선검출부로 전송하고 동시에 단선검출 타이머를 동작시키는 스텝과, 상기 수신라인의 단선검출을 시작하라는 신호와 상기 단선검출 타이머의 값을 비교하여 그 결과에 따라 수신라인이 단선임을 알리는 신호를 출력하는 스텝을 포함하여 이루어짐을 특징으로 하는 단선검출 기능의 자동교섭장치를 이용한 단선검출방법.A step of determining whether a link code word has been received from a link partner, performing a normal operation and determining a state-info according to the reception, and a signal for starting disconnection detection of a reception line according to a result of the state info determination Transmitting the signal to the disconnection detection unit and simultaneously operating the disconnection detection timer; and comparing the signal for starting the disconnection detection of the reception line with the value of the disconnection detection timer and indicating a signal indicating that the reception line is disconnected according to the result. A disconnection detection method using an auto-negotiation device having a disconnection detection function, comprising a step of outputting. 제6항에 있어서, 상기 링크 코드 워드가 수신되면 스테이트 인포가 2인지를 판단함을 특징으로 하는 단선검출 기능의 자동교섭장치를 이용한 단선검출방법.7. The disconnection detection method according to claim 6, wherein if the link code word is received, it is determined whether the state info is 2.
KR1019960031661A 1996-07-31 1996-07-31 Method and apparatus of automatic negotiation for sensing function for break in a line KR100192522B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960031661A KR100192522B1 (en) 1996-07-31 1996-07-31 Method and apparatus of automatic negotiation for sensing function for break in a line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960031661A KR100192522B1 (en) 1996-07-31 1996-07-31 Method and apparatus of automatic negotiation for sensing function for break in a line

Publications (2)

Publication Number Publication Date
KR980013098A KR980013098A (en) 1998-04-30
KR100192522B1 true KR100192522B1 (en) 1999-06-15

Family

ID=19468274

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960031661A KR100192522B1 (en) 1996-07-31 1996-07-31 Method and apparatus of automatic negotiation for sensing function for break in a line

Country Status (1)

Country Link
KR (1) KR100192522B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100401424B1 (en) * 2001-05-08 2003-10-17 (주)호서텔레콤 A tap-off which can observe the state of a drop line in the user side and a remote control system using the tap-off and the method thereof

Also Published As

Publication number Publication date
KR980013098A (en) 1998-04-30

Similar Documents

Publication Publication Date Title
EP0147644B1 (en) Token ring with secondary transmit opportunities
EP0422914B1 (en) Station-to-station full duplex communication in a communications network
US5495480A (en) Packet transmission system having timer for circuit disconnection
EP0129581B1 (en) Method and apparatus for graceful preemption on a digital communications link
EP0966128B1 (en) Apparatus and method of determining a link status between network stations connected to a telephone line medium
US4566098A (en) Control mechanism for a ring communication system
US4942572A (en) Process and device for high speed polling
US7177283B2 (en) Transmitting and receiving circuit and transmitting and receiving method
GB2351421A (en) Improved auto-negotiation process for a link between network devices
US20060062254A1 (en) Method of encoding a data packet
Hartwich et al. Introducing can xl into can networks
KR100233261B1 (en) Method of switching 1+1 line protection using remote defect indication
KR100192522B1 (en) Method and apparatus of automatic negotiation for sensing function for break in a line
US4835776A (en) Communication filter
KR100310843B1 (en) Method and aparatus for controlling flow in ethernet
GB2265797A (en) Communication system including twisted pair and coaxial cable networks
US7558483B2 (en) Optical communication method, optical linking device and optical communication system
US7940860B2 (en) Communication system
CA1204189A (en) Control mechanism for a ring communication system
US4843605A (en) Node apparatus for communication network having multi-conjunction architecture
US7145915B1 (en) Circuit and method for exchanging signals between network nodes
JP3110147B2 (en) FDDI connection time monitoring method
JP2739239B2 (en) Node device of communication network
JP2601184B2 (en) Line switching control signal transmission method
KR100642214B1 (en) Rf modem geared with distribution automaiton system and transmission/ receiving method thereof

Legal Events

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

Payment date: 20041230

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee