KR19990006113A - How to handle data contention - Google Patents
How to handle data contention Download PDFInfo
- Publication number
- KR19990006113A KR19990006113A KR1019970030335A KR19970030335A KR19990006113A KR 19990006113 A KR19990006113 A KR 19990006113A KR 1019970030335 A KR1019970030335 A KR 1019970030335A KR 19970030335 A KR19970030335 A KR 19970030335A KR 19990006113 A KR19990006113 A KR 19990006113A
- Authority
- KR
- South Korea
- Prior art keywords
- data
- node
- bit
- transmitting
- contention
- Prior art date
Links
Landscapes
- Small-Scale Networks (AREA)
Abstract
본 발명은 각 노드의 데이타에 ID 코드를 정하여 ECU간의 데이타가 경합되었을 때 우선 순위가 높은 데이타가 전송되도록 하는 데이타 경합 처리방법에 관한 것이다.The present invention relates to a data contention processing method in which an ID code is assigned to data of each node so that high priority data is transmitted when data between ECUs is contended.
상기 데이터 경합 처리방법은 송신 노드의 비트열을 버스에 송신하면서 동시에 수신 비트열을 모니터하는 단계와, 버스에서 복수개의 송신노드간에 서로 충돌이 발생되면 데이터 경합으로 판단하는 단계와, 데이터 경합이라고 판단되면 비트-바이-비트(BIT-BY-BIT) 조정에 의해 우선도가 높은 노드는 계속 데이타를 송신하고, 우선도가 낮은 노드는 송신을 중단하는 것을 특징으로 한다.The data contention processing method may include: transmitting a bit string of a transmitting node to a bus and simultaneously monitoring a receiving bit string; determining that there is a data contention when a collision occurs between a plurality of transmitting nodes on a bus; In this case, the high-priority node continues to transmit data by the bit-by-bit adjustment, and the low-priority node stops transmitting.
이것에 의해, 노드간에 데이타가 경합되었을 때 우선 순위가 높은 데이타가 전송되도록하므로서, 데이타의 파괴나 에러없이 데이타를 전송할 수 있는 효과가 있다.As a result, data having a high priority is transmitted when data is contended between nodes, so that data can be transmitted without data destruction or error.
Description
본 발명은 랜 시스템에 있어서 데이타가 경합되었을 때 데이타의 파괴없이, 이를 처리하는 데이타 경합 처리방법에 관한 것이며, 보다 상세히는 각 노드의 데이타에 ID 코드를 정하여 ECU간의 데이타가 경합되었을 때 우선 순위가 높은 데이타가 전송되도록하는 데이타 경합 처리방법에 관한 것이다.The present invention relates to a data contention processing method for processing data without data destruction when a contention occurs in a LAN system. More particularly, priority is set when data between ECUs is determined by assigning an ID code to data of each node. The present invention relates to a data contention processing method that allows high data to be transmitted.
일반적으로 랜(LAN: Local Area Network) 시스템은 복수개의 노드가 신호 전송선인 버스에 접속되어 양방향 통신을 행한다.In general, a LAN (Local Area Network) system performs a bidirectional communication by connecting a plurality of nodes to a bus that is a signal transmission line.
상기와 같은 종래의 랜 시스템의 경우, 복수개의 노드가 버스로 전송될 때 서로 충돌이 발생되면 데이타가 파괴되어 데이타 송수신이 불가능해지는 문제점이 있다.In the conventional LAN system described above, when a plurality of nodes collide with each other when a plurality of nodes are transmitted on a bus, data is destroyed and data transmission and reception are impossible.
따라서, 본 발명은 상술한 종래의 문제점을 극복하기 위한 것으로서, 본 발명의 목적은 각 노드의 데이타에 ID 코드를 정하여 노드간에 데이타가 경합되었을 때 우선 순위가 높은 데이타가 전송되도록하므로서, 데이타의 파괴나 에러없이 데이타를 전송할 수 있는 데이타 경합 처리방법을 제공하는데 있다.Accordingly, an object of the present invention is to overcome the above-described problems, and an object of the present invention is to assign an ID code to data of each node so that high priority data is transmitted when data is contended between nodes, thereby destroying data. In addition, it provides a data contention processing method that can transmit data without error.
상기 본 발명의 목적을 달성하기 위한 데이타 경합 처리방법의 일예로서, 송신 노드의 비트열을 버스에 송신하면서 동시에 수신 비트열을 모니터하는 단계와, 버스에서 복수개의 송신노드간에 서로 충돌이 발생되면 데이터 경합으로 판단하는 단계와, 데이터 경합이라고 판단되면 비트-바이-비트(BIT-BY-BIT) 조정에 의해 우선도가 높은 노드는 계속 데이타를 송신하고, 우선도가 낮은 노드는 송신을 중단하는 것을 특징으로 한다.As an example of a data contention processing method for achieving the object of the present invention, the step of monitoring the receiving bit string while transmitting the bit string of the transmitting node on the bus, and if a collision occurs between a plurality of transmitting nodes on the bus data Determining contention, and if it is determined that data contention, the high-priority node continues to transmit data and the low-priority node stops transmitting due to bit-by-bit adjustment. It features.
이러한 구성에 의해, 노드간에 데이타가 경합되었을 때 우선 순위가 높은 데이타가 전송되도록하므로서, 데이타의 파괴나 에러없이 데이타를 전송할 수 있다.With this arrangement, high priority data is transmitted when data is contended between nodes, and data can be transmitted without data destruction or error.
도 1은 본 발명에 따른 데이터 경합 처리방법의 예를 도시한 챠트1 is a chart showing an example of a data contention processing method according to the present invention.
이하, 본 발명의 실시예를 도 1을 참조하여 상세히 설명하면, 도 1은 본 발명에 따른 데이터 경합 처리방법의 예를 도시한 챠트로서, 본 발명에 따른 데이터 경합 처리방법은 다음과 같다.Hereinafter, an embodiment of the present invention will be described in detail with reference to FIG. 1. FIG. 1 is a chart showing an example of a data contention processing method according to the present invention. The data contention processing method according to the present invention is as follows.
송신 노드의 비트열을 버스에 송신하면서 도시에 수신 비트열을 모니터한다.The receiving bit string is monitored in the illustration while transmitting the bit string of the transmitting node to the bus.
그런 다음, 버스에서 복수개의 송신노드간에 서로 충돌이 발생되면 데이터 경합으로 판단한다.Then, if a collision occurs between a plurality of transmitting nodes on the bus, it is determined as data contention.
데이터 경합이라고 판단되면 비트-바이-비트(BIT-BY-BIT) 조정에 의해 우선도가 높은 노드는 계속 데이타를 송신하고, 우선도가 낮은 노드는 송신을 중단한다.If it is determined that there is data contention, the node having higher priority continues to transmit data by adjusting the bit-by-bit, and the node having lower priority stops transmitting.
도 1을 참조하면, 상기 비트-바이-비트(BIT-BY-BIT) 조정은 다음과 같이 이루어진다.Referring to FIG. 1, the bit-by-bit adjustment is performed as follows.
노드 A와 노드 B의 ID 코드가 예와 같이 정해졌다고 가정하면, 양 노드의 스타트 비트는 0이므로 버스는 0이 된다. 계속해서 노드 A 및 노드 B가 ID 코드의 제1비트 0을 송신하고, 동시에 양 노드는 버스의 0을 수신하여 송신 신호 레벨과 수신 신호 레벨을 판별한다.Assuming the ID codes of Node A and Node B are defined as in the example, the bus is zero because the start bit of both nodes is zero. Subsequently, node A and node B transmit the first bit 0 of the ID code, and at the same time, both nodes receive 0 of the bus to determine the transmission signal level and the reception signal level.
송수신 레벨이 일치되면 다음 비트를 송신한다. 이와 같이 하여, 제3비트째에 노드 B는 1을 송신하지만 버스는 노드 A에 의해 0이 된다.If the transmit and receive levels match, the next bit is sent. In this way, the node B transmits 1 in the third bit, but the bus becomes 0 by the node A.
여기서 0이 1보다 우선도가 높기 때문에 노드 B는 충돌이 있었다고 판단하여 송신을 중지하고, 우선도가 높은 노드 A는 계속해서 데이타를 전송한다. 그 후, 노드 B는 버스가 한가한 상태가 되면 재차 송신을 개시한다.Here, since 0 has a higher priority than 1, node B determines that there is a collision and stops transmission, and node A, which has high priority, continues to transmit data. After that, the Node B starts transmission again when the bus becomes idle.
상술한 바와 같이 본 발명에 따른 광학식 거리 측정장치는 노드간에 데이타가 경합되었을 때 우선 순위가 높은 데이타가 전송되도록하므로서, 데이타의 파괴나 에러없이 데이타를 전송할 수 있는 효과가 있다.As described above, the optical distance measuring apparatus according to the present invention allows high priority data to be transmitted when data is contended between nodes, thereby transmitting data without data destruction or error.
이상에서 설명한 것은 본 발명에 따른 데이터 경합 처리방법을 실시하기 위한 하나의 실시예에 불과한 것으로서, 본 발명은 상기한 실시예에 한정되지 않고, 이하의 특허청구의 범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 분야에서 통상의 지식을 가진자라면 누구든지 다양한 변경 실시가 가능할 것이다.What has been described above is only one embodiment for implementing the data contention processing method according to the present invention, and the present invention is not limited to the above-described embodiment, and the gist of the present invention as claimed in the following claims. Various changes can be made by those skilled in the art without departing from the scope of the present invention.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970030335A KR19990006113A (en) | 1997-06-30 | 1997-06-30 | How to handle data contention |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970030335A KR19990006113A (en) | 1997-06-30 | 1997-06-30 | How to handle data contention |
Publications (1)
Publication Number | Publication Date |
---|---|
KR19990006113A true KR19990006113A (en) | 1999-01-25 |
Family
ID=66039538
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019970030335A KR19990006113A (en) | 1997-06-30 | 1997-06-30 | How to handle data contention |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR19990006113A (en) |
-
1997
- 1997-06-30 KR KR1019970030335A patent/KR19990006113A/en not_active Application Discontinuation
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5048014A (en) | Dynamic network reconfiguration technique for directed-token expanded-address LAN | |
EP0422914B1 (en) | Station-to-station full duplex communication in a communications network | |
KR890001309A (en) | Information packet transmission method and transceiver | |
EP0094180A2 (en) | Dual-count, round-robin distributed arbitration technique for serial buses | |
EP0074864A2 (en) | System and method for name-lookup in a local area network data communication system | |
EP0073698A2 (en) | System and method for synchronizing variable-length messages in a local area network data communication system | |
JPH0831870B2 (en) | Collision detection method and apparatus for optical passive star local area network using CSMA / CD | |
US4596012A (en) | Master controller succession system for bus control access for data-communications local area networks | |
US5012468A (en) | Master slave industrial token passing network | |
US5430843A (en) | Data transmission system and method for transmitting data having real-time and non-real-time characteristics | |
EP0273080A1 (en) | Process and device for high speed polling | |
EP0493905B1 (en) | Address management for remote terminals in digital loop transmission systems | |
US5065153A (en) | Contention control system | |
US7539206B2 (en) | Communication apparatus and method for supporting carrier sense multiple access/collision detection | |
KR19990006113A (en) | How to handle data contention | |
JP2816301B2 (en) | Communication device and communication method | |
JPH0158901B2 (en) | ||
JP3252556B2 (en) | Communication device | |
US5638449A (en) | Data transmission installation of the radio network type, and corresponding process | |
US5751974A (en) | Contention resolution for a shared access bus | |
JPS6165552A (en) | Communications system | |
JPH0475696B2 (en) | ||
KR0170643B1 (en) | Partitioned communication method by falling method | |
KR100299067B1 (en) | method for management access status of signaling point in No.7 signaling | |
JP3337907B2 (en) | Multiplex transmission system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WITN | Withdrawal due to no request for examination |