KR950009583B1 - Method and device to acknowledge collision of data in msx computer network - Google Patents

Method and device to acknowledge collision of data in msx computer network Download PDF

Info

Publication number
KR950009583B1
KR950009583B1 KR1019900001905A KR900001905A KR950009583B1 KR 950009583 B1 KR950009583 B1 KR 950009583B1 KR 1019900001905 A KR1019900001905 A KR 1019900001905A KR 900001905 A KR900001905 A KR 900001905A KR 950009583 B1 KR950009583 B1 KR 950009583B1
Authority
KR
South Korea
Prior art keywords
frame
data
counter
transmission line
busy
Prior art date
Application number
KR1019900001905A
Other languages
Korean (ko)
Other versions
KR910015934A (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 KR1019900001905A priority Critical patent/KR950009583B1/en
Publication of KR910015934A publication Critical patent/KR910015934A/en
Application granted granted Critical
Publication of KR950009583B1 publication Critical patent/KR950009583B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation

Abstract

The method for recognizing the collision by checking the state of the transmission line in an MSX computer network comprises the steps of inputting a busy number at a proper number register and setting the counter corresponding to two times of checking time; if the counter is set, judging whether there is a busy frame or not; if there is no busy frame, reducing the counter; if the counter is "0", outputting a checking frame by inputting its own number at the proper number register; if the checking frame is outputted, comparing the first, second and third data with its own number; and if the data is not its own number, setting the counter corresponding to two times of the checking time by delaying and if the data is its own number, transmitting the busy frame and thereafter the transmission frame.

Description

엠에스엑스 컴퓨터 네트웍에서 전송라인의 상태를 검사하여 충돌을 인식하는 방법How to recognize collisions by checking the status of transmission line in MSX Computer Network

제1도는 본 발명에 따른 전체적인 구성 블럭도.1 is a block diagram of the overall configuration according to the present invention.

제2도는 엠에스엑스 컴퓨터 네트웍 구성도.2 is a configuration diagram of the MS computer network.

제3도는 엠에스엑스 컴퓨터 네트웍에서 전송되는 프레임의 구성도.3 is a block diagram of a frame transmitted from the MS computer network.

제4도는 독립적인 고유번호를 갖는 통신처리장치가 인식할 수 있는 전송선로의 데이타 형태를 보인 일예시도.4 is an exemplary view showing a data format of a transmission line that can be recognized by a communication processing apparatus having an independent unique number.

제5도는 전송선로가 사용중 임을 나타내는 방법으로 전송 프레임 앞에 비지(BUSY)프레임을 먼저 송출했을 때의 모습을 보인 일예시도.FIG. 5 is an exemplary view showing when a BUSY frame is first transmitted in front of a transmission frame in a manner of indicating that a transmission line is in use.

제6도는 제3도에서 정의한 "정보"부분의 최대크기를 제한했을때 전송프레임 송출에 걸리는 시간에 대한 정의를 보인 일예시도.FIG. 6 is an exemplary view showing the definition of the time taken for transmitting a transmission frame when the maximum size of the “information” portion defined in FIG. 3 is limited.

제7도는 전송선로의 검사 및 전송프레임 송출의 플로우챠트.7 is a flowchart of inspection of transmission line and transmission of transmission frame.

제8도는 충돌검사프레임을 보인 일예시도.8 is an exemplary view showing a collision inspection frame.

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

1: 중앙처리장치 2 : 통신처리장치1: central processing unit 2: communication processing unit

3 : 롬(ROM) 4 : 램(RAM)3: ROM 4: RAM

5 : 데이타셀럭터 6 : 고유번호래치5: data selector 6: unique number latch

8 : 라인드라이버 9 : 라인리시버8: line driver 9: line receiver

10, 11 : 모듈러잭 12 : 전송선로10, 11: modular jack 12: transmission line

13 : 클럭공급회로 14 : 리셋회로13: clock supply circuit 14: reset circuit

본 발명은 엠에스엑스 컴퓨터로 구성된 네트웍에 있어서, 특히 각 엠에스엑스 컴퓨터간에 데이타 전송라인의 상태를 검사하여 충돌을 인식하는 방법 및 장치에 관한 것이다.The present invention relates to a method and apparatus for recognizing a collision by inspecting a state of a data transmission line between each MSX computer, in particular in a network composed of MSX computers.

통신처리장치들이 버스(BUS)구조로 연결된 엠에스엑스 네트웍상의 각 엠에스엑스 컴퓨터들이 데이타를 전송하는 경우 전송선로상에 전송되는 데이터의 유,무를 판별하여 전송된 데이타가 없을 경우에만 전송선로를 통해서 데이터의 송,수신을 할 수 있도록 하여야 한다.Each MS computer on the MS network where communication processing devices are connected by a bus structure determines whether data is transmitted or not on the transmission line when data is transmitted through the transmission line only when no data is transmitted. Should be able to send and receive

이러한 목적을 위해서 일반적으로 전송선로 감지회로를 사용하고 있으나, 상기 감지 회로는 고가이므로 일반 8비트 컴퓨터에 사용하기에는 적합하지 않았다.For this purpose, transmission line sensing circuits are generally used, but the sensing circuits are expensive and are not suitable for use in general 8-bit computers.

본 발명은 이러한 점에 착안하여 안출한 것으로, 별도의 전송선로 감지회로를 갖지 않고 미리정한 프로그램에 의해 전송선로의 상태를 조사하여 전송선로상에 전송되는 데이타간의 충돌을 피하는 방법 및 장치를 제공함에 본 발명의 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made in view of this point, and provides a method and apparatus for avoiding collision between data transmitted on a transmission line by examining a state of the transmission line by a predetermined program without having a separate transmission line detection circuit. There is an object of the present invention.

이를 첨부 도면에 의해 설명한다.This will be described with reference to the accompanying drawings.

제7도는 전송선로의 검사 및 전송프레임 송출의 플로우챠트로써, 전송선로검사가 시작되면 고유번호 레지스터에 비지번호를 써넣어 검사시간(T)의 2배에 해당하는 카운터를 설정하는 과정과, 상기 카운터가 설정되면 비지프레임의 유,무를 판단하는 과정과, 상기 비지프레임 유,무가 판단되어 비지프레임의 없으면 카운터를 감소시켜 카운터를 판단하는 과정과, 상기 카운터가 판단되어 "0"이면 고유번호 래지스터에 자신의 고유번호를 다시 써넣어 검사프레임을 송출하는 과정과, 상기 검사프레임이 송출되면 제1, 2, 3데이타와 자신의 고유번호를 비교 판단하는 과정과, 상기 비교판단된 자신의 고유번호가 아니면 지연시켜 T의 2배에 해당하는 카운터를 설정하고 자신의 고유번호이면 비지프레임을 송출한 후 전송프레임을 송출하는 과정으로 이루어지는 방법을 제공한다.7 is a flowchart of the inspection of the transmission line and the transmission of the transmission frame. When the inspection of the transmission line starts, the process of setting a counter corresponding to twice the inspection time T by writing a busy number in the unique number register; If the counter is set, the process of determining the presence or absence of busy frame, and if the busy frame is determined, if there is no busy frame, the process of determining the counter by reducing the counter, and if the counter is determined to be "0" The process of sending a test frame by rewriting its own unique number into the jister, and the process of comparing and determining the first, second, and third data and its own unique number when the test frame is sent, and the uniqueness of the comparison judged If it is not a number, it sets the counter corresponding to 2 times of T and if it is its own number, it sends a busy frame and sends a transmission frame. Provides a way.

제1도는 본 발명에 따른 전체적인 블럭도로써, 전체시스템을 제어하는 중앙처리장치(1)와, 네트웍과의 송수신을 담당하는 통신처리장치(2)와, 전송라인(12)의 데이타 유,무를 판별하여 데이타 전송시 상호간의 충돌을 방지하는 알고리즘을 갖는 롬(3)과 데이타를 일시 저장하는 램(4)과 중앙처리장치(1)가 롬(3) 램(4)통신처리장치(2) 및 고유번호래치(6)를 선별하여 선택할 수 있도록 하는 데이타셀렉터(5)와, 32개의 고유번호를 가질 수 있는 고유번호래치(6)와, 상기 고유번호래치(6)에 고유번호를 설정하는 스위치(7)와, 라인드라이버(8) 라인리버시버(9) 모듈러팩(10), (11) 전송선로(12) 클럭공급회로(13) 리셋회로(14)를 상호 접속하여 본 발명의 장치를 구성한다.1 is an overall block diagram according to the present invention, which includes a central processing unit (1) for controlling the entire system, a communication processing unit (2) that is responsible for transmitting and receiving a network, and data presence or absence of data on the transmission line (12). ROM 3 having an algorithm for discriminating and preventing collision between data during transmission and RAM 4 and central processing unit 1 storing data temporarily are ROM 3 RAM 4 communication processing apparatus 2 And a data selector 5 for selecting and selecting a unique number latch 6, a unique number latch 6 which may have 32 unique numbers, and a unique number set in the unique number latch 6; The apparatus of the invention by interconnecting a switch (7), a line driver (8), a line receiver (9), a modular pack (10), (11) a transmission line (12), a clock supply circuit (13) and a reset circuit (14) Configure

이하 첨부된 도면에 의해 본 발명의 작용 및 효과를 설명한다.Hereinafter, the operation and effects of the present invention will be described with reference to the accompanying drawings.

통신처리장치(2)의 모드를 SDLC로하고 어드레스 서치(SEARCH)모드를 선택하면, 제3도와 같은 형식을 갖는 데이타의 프레임(FRAME)을 보낼 수 있고, 상기 프레임의 도착지 주소가 통신처리장치(2)내의 레지스터에 쓰여진 자신의 고유번호와 같은 경우에 제3도와 같은 형식을 갖는 데이타의 프레임을 받을 수 있다.If the mode of the communication processing device 2 is set to SDLC and the address search mode is selected, a frame of data having the format shown in FIG. 3 can be sent, and the destination address of the frame is set to the communication processing device ( In the case of its own serial number written in the register in 2), it is possible to receive a frame of data having the format shown in FIG.

또한 데이타의 전송속도는 통신처리장치(2) 내의 레지스터에 프로그램할 수 있도록 되어 있어 통신처리장치(2)에 공급되는 클럭과 프로그램한 값에 의하여 다음과 같은 통신속도를 갖게 된다.In addition, the data transfer rate can be programmed into a register in the communication processing apparatus 2, and accordingly, the clock and the value supplied to the communication processing apparatus 2 have the following communication rates.

통신속도=

Figure kpo00001
×클럭주파수(초당전송비트수)…………식(1)Communication speed
Figure kpo00001
Clock frequency (transmit bits per second) … … … Formula (1)

한편 통신처리장치(2)는 전송선로(12)상에 자신의 고유번호와 동일한 도착지 주소만을 가진 제3도와 같은 프레임만을 인식할 수 있기 때문에 다른 네트웍용 장치까지 정보를 주고 받는 것을 감지할 수 없고 전송선로(12)상에 제4도와 같은 신호가 나타날 때에만 전송선로(12)상에 전송되는 데이타가 있음을 알 수 있도록 되어 있으며, 네트웍에 참가할 수 있는 네트웍용 장치는, 제1도의 라인드라이버(8)의 특성에 의해 32대로 제한된다.On the other hand, since the communication processing apparatus 2 can recognize only the frame shown in FIG. 3 having only the destination address identical to its own unique number on the transmission line 12, it cannot detect that information is transmitted to and from another network device. It is understood that there is data to be transmitted on the transmission line 12 only when a signal such as that of FIG. 4 appears on the transmission line 12. The network device that can participate in the network is the line driver of FIG. It is limited to 32 by the characteristics of (8).

그러나 각 네트웍용 장치가 제3도에 도시한 정보부분의 최대치크기를 정하고 각각의 전송프레임 앞의 네트웍에 사용되지 않는 비지(BUSY)번호를 갖는 비지프레임을 제5도와 같이 전송선로(12)상에 내보낼 경우에는 각각의 통신처리장치가 그 비지프레임을 인식할 수 있다.However, each network device determines the maximum size of the information portion shown in FIG. 3, and assigns a busy frame having a busy number, which is not used in the network in front of each transport frame, on the transmission line 12 as shown in FIG. Each communication processing device can recognize the busy frame.

그러므로 자신의 고유번호가 입력되어 있는 통신처리장치(2)의 레지스터에 미리 약속된 비지프레임의 번호를 세로이 써넣은 후 제6도에 도시한 검사기간 "T"의 2배의 시간동안에 비지프레임이 나타나는 가의 여부를 검사하여 만일 비지프레임이 나타나면, 제7도와 같은 플로우챠트에 의해 다시 검사기간 "T"의 2배를 다시 설정하여 검사기간 "T"의 2배동안에 비지프레임이 나타나는 가를 검사해 비지프레임이 나타나지 않으면, 전송선로(12)를 통해서 전송되는 데이타가 없다는 뜻이므로 제8도와 같은 검사프레임을 전송선로(12)상에 내보내어, 상기 프레임의 다른 네트웍의 간섭 여부 즉, 동시 송출에 의한 다른 데이타의 충돌 여부를 검사한다.Therefore, after writing the number of busy frames previously promised in the register of the communication processing apparatus 2 in which its own number is inputted, the busy frames have been made for twice as long as the inspection period "T" shown in FIG. If busy frame appears, if the busy frame appears, double check the inspection period "T" again according to the flowchart shown in FIG. 7 to check whether the busy frame appears for two times the inspection period "T". If the frame does not appear, it means that there is no data transmitted through the transmission line 12. Therefore, a test frame as shown in FIG. 8 is sent out on the transmission line 12, and if the other network of the frame interferes, that is, by simultaneous transmission. Check for collisions with other data.

즉, 3바이트로 된 자신의 고유번호를 차례로 전송선로(12)상에 내보내는 동시에 전송선로(12)상의 정보를 받아 저장하여 3바이트의 검사프레임을 모두 송출한 후에 전송선로(12)로부터 받은 정보가 자신의 고유번호와 일치하는가 검사한다.That is, the three-byte unique number is sent out on the transmission line 12 in turn, and receives and stores the information on the transmission line 12, and transmits all three-byte inspection frames, and then receives the information from the transmission line 12. Checks whether it matches its own serial number.

자신의 고유번호와 일치하던 전송선로(12)를 통해 데이타를 주고 받을 수 있다는 의미이므로 데이타 전송을 시작하여 일치하지 않을 경우에는 적절한 시간이 경과한 후 제7도의 플로우챠트에 따라 다시 비지프레임의 검사를 시작하여 자신이 송출한 고유번호와 일치하는 정보를 수신할 때 까지 상기한 바와같은 과정을 되풀이 하면서 데이타의 전송 전에 전송선로(12)를 사용할 수 있는가를 판단한다.This means that data can be sent and received through the transmission line 12 that matched its own number. If the data is not matched by starting data transmission, the busy frame is checked again according to the flowchart of FIG. 7 after an appropriate time elapses. Starting with and repeating the above process until it receives the information corresponding to the unique number sent by itself, it is determined whether the transmission line 12 can be used before the data is transmitted.

상술한 바와같이 본 발명은 엠에스엑스 컴퓨터로 구성된 네트웍에 있어서, 각 엠에스엑스 컴퓨터간의 데이타 전송시 전송선로(12)상에서 각 컴퓨터간의 데이타 동시 송출로 인한 데이타의 충돌을 방지할 수 있으므로 고가인 별도의 전송선로 감지회로를 구비하지 않고서도 원하는 네트웍상의 엠에스엑스 컴퓨터로 정확하게 데이타를 전송할 수 있다는 장점이 있다.As described above, according to the present invention, in a network composed of MS computers, data collision between data transmissions between computers on the transmission line 12 can be prevented when data is transmitted between MS computers. It is advantageous in that data can be accurately transmitted to an MS computer on a desired network without having a transmission line sensing circuit.

Claims (2)

전송선로검사가 시작되면 고유번호 레지스터에 비지번호를 써넣어 검사시간(T)의 2배에 해당하는 카운터를 설정하는 과정과, 상기 카운터가 설정되면 비지프레임의 유,무를 판단하는 과정과, 상기 비지프레임, 유, 무가 판단되어 비지프레임의 없으면 카운터를 감소시켜 카운터를 판단하는 과정과, 상기 카운터가 판단되어 "0"이면 고유번호 레지스터에 자신의 고유번호를 다시 써넣어 검사프레임을 송출하는 과정과, 상기 검사프레임이 송출되면 제1, 2, 3데이타와 자신의 고유번호를 비교 판단하는 과정과, 상기 비교판단된 자신의 고유번호가 아니면 지연시켜 T의 2배에 해당하는 카운터를 설정하고 자신의 고유번호이면 비지프레임을 송출한 후 전송프레임을 송출하는 과정으로 이루어진 엠에스엑스 컴퓨터 네트웍에서 전송라인의 상태를 검사하여 충돌을 인식하는 방법.When the transmission line test is started, writing a busy number in the unique number register to set a counter corresponding to twice the test time T; and when the counter is set, determining whether or not a busy frame is present; Busy frame, whether or not busy frame is determined, if there is no busy frame, the counter is decremented to determine the counter, and if the counter is determined to be "0", the process of sending a check frame by rewriting its own number in the unique number register. And, when the check frame is sent out the process of comparing and determining the first, second, third data and its own unique number, and if the comparison is not its own unique number is determined by setting a counter corresponding to twice the T and If it is its own number, it checks the status of the transmission line in MS X computer network which is composed of sending busy frame and sending transmission frame. How to recognize a conflict. 라인드라이버(8) 라연리시버(9) 모듈러잭(10), (11) 전송선로(12)를 구비한 통신처리장치(2)를 사용하여 엠에스엑스 컴퓨터를 구성한 네트웍에 있어서, 클럭공급회로(13)와 리셋회로(14)가 접속되어 전체시스템을 제어하는 중앙처리장치(1)와, 상기 전송라인(12)의 데이타 유, 무를 판별하여 데이타 전송시 상호간의 충돌을 방지하는 알고리즘을 갖는 롬(3)과, 데이타를 일시 저장하는 램(4)과, 상기 중앙처리장치(1)가 롬(3) 램(4) 통신처리장치(2) 및 고유번호래치(6)를 선별하여 선택할 수 있도록 하는 데이타셀렉터(5)와, 32개의 고유번호를 가질 수 있는 고유변호래치(6)와, 상기 고유번호래치(6)에 고유번호를 설정하는 스위치(7)를 구비함을 특징으로 하는 엠에스엑스 컴퓨터 네트웍에서 전송라연의 상태를 검사하여 충돌을 인식하는 장치.In a network in which an MS computer is configured by using a communication processor (2) including a line driver (8), a radio receiver (9), a modular jack (10), and a transmission line (12), a clock supply circuit (13) And a reset circuit 14 connected to the central processing unit 1 for controlling the entire system, and a ROM having an algorithm for discriminating data presence or absence of the transmission line 12 and preventing collision between data transmissions. 3), RAM (4) for temporarily storing data, and the central processing unit (1) to select and select the ROM (3) RAM (4) communication processing unit (2) and unique number latch (6) MS, characterized in that it comprises a data selector (5), a unique code latch 6 that can have 32 unique numbers, and a switch 7 for setting a unique number in the unique number latch (6) A device that detects collisions by examining the status of a transport layer on a computer network.
KR1019900001905A 1990-02-16 1990-02-16 Method and device to acknowledge collision of data in msx computer network KR950009583B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019900001905A KR950009583B1 (en) 1990-02-16 1990-02-16 Method and device to acknowledge collision of data in msx computer network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019900001905A KR950009583B1 (en) 1990-02-16 1990-02-16 Method and device to acknowledge collision of data in msx computer network

Publications (2)

Publication Number Publication Date
KR910015934A KR910015934A (en) 1991-09-30
KR950009583B1 true KR950009583B1 (en) 1995-08-24

Family

ID=19296126

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019900001905A KR950009583B1 (en) 1990-02-16 1990-02-16 Method and device to acknowledge collision of data in msx computer network

Country Status (1)

Country Link
KR (1) KR950009583B1 (en)

Also Published As

Publication number Publication date
KR910015934A (en) 1991-09-30

Similar Documents

Publication Publication Date Title
US4988990A (en) Dual master implied token communication system
US5122794A (en) Dual master implied token communication system
US6854053B2 (en) Method for identifying and communicating with a plurality of slaves in a master-slave system
US5166678A (en) Dual master implied token communication system
EP0051794A1 (en) Distributed-structure message switching system on random-access channel for message dialogue among processing units
AU655303B2 (en) Method and apparatus for data collision detection in a multi-processor communication system
US4495493A (en) Method of controlling the transmission/reception of data in a local communication network, and data transmission system for performing the method
SE444619B (en) SET IN A DIGITAL DATA COMMUNICATION NETWORK PREVENT AT THE SAME TIME TRANSFER OF THE MESSAGE OF MULTIPLE DEVICES AND SYSTEM FOR IMPLEMENTATION OF THE SET
US4191941A (en) Switch matrix for data transfers
US4590924A (en) Endoscope system
KR950009583B1 (en) Method and device to acknowledge collision of data in msx computer network
US4872006A (en) Data transmission system
EP0132645A2 (en) Method and apparatus for facilitating collision detection
JPH0441399B2 (en)
KR100267344B1 (en) Apparatus and method for collision protecting of transmitting data in hdlc bus structured switching system
JPH0313038A (en) Asynchronous serial data transmitter
JP2001051912A (en) Serial data transfer system and abnormality detecting method
JP3051873B2 (en) Data collision detection device
JPS6051964A (en) Computer system
JP3217042B2 (en) Semiconductor device having pseudo parity error signal generation function
JPH033469A (en) Sequence testing equipment
JPH0353642A (en) Asynchronous serial data transmitter and transmission system and transmission method for same
JPS61224538A (en) Test system for data communication equipment
JPH04278742A (en) Method of detecting error in reception data
JPH0738582A (en) Terminal address setting method

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
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: 19990731

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee