KR920009376B1 - Method for transmitting serially between radio phones - Google Patents
Method for transmitting serially between radio phones Download PDFInfo
- Publication number
- KR920009376B1 KR920009376B1 KR1019900007440A KR900007440A KR920009376B1 KR 920009376 B1 KR920009376 B1 KR 920009376B1 KR 1019900007440 A KR1019900007440 A KR 1019900007440A KR 900007440 A KR900007440 A KR 900007440A KR 920009376 B1 KR920009376 B1 KR 920009376B1
- Authority
- KR
- South Korea
- Prior art keywords
- information
- request line
- transmission
- unit
- line
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Communication Control (AREA)
Abstract
Description
제1도는 본 발명에 따른 시스템 블럭도.1 is a system block diagram according to the present invention.
제2도는 정보전송 테이블 구성도.2 is a configuration diagram of the information transmission table.
제3도는 일 실시예의 정보전송 테이블 구성도.3 is a diagram illustrating an information transmission table in an embodiment.
제4도는 본 발명에 따른 흐름도.4 is a flow chart according to the present invention.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for the main parts of the drawings
10 : 주장치부 20 : 부가장치부10: main unit 20: additional unit
21-2N : 제1-N부가장치 31 : 수신데이타라인21-2N: 1-N accessory 31: Receive data line
32 : 송신데이타라인 33 : 리궤스트라인32: Transmission data line 33: Request line
본 발명은 카폰(Car Phone) 시스템에 있어서 하나의 주장치에 여러개의 부가장치가 접속되어 운용되는 경우 각 부가장치들의 시리얼 통신에서 정보전달의 확인 작업을 통해 정보전달의 정확성을 높여 혼동을 방지할 수 있는 단말기 상호간의 시리얼 통신방법에 관한 것이다.According to the present invention, when a plurality of additional devices are connected to and operated in one main device in a car phone system, confusion can be prevented by increasing the accuracy of information transmission by checking information transmission in serial communication of each additional device. The present invention relates to a serial communication method between terminals.
종래의 단말기 상호간의 시리얼 통신방법에서는 주장치와 부가장치 상호간의 정보전달에 대한 확인이 어렵고 여러가지 부가장치가 접속되는 경우 정보전달의 혼동을 가져와 정확한 정보전달을 할 수 없는 문제점이 있었다.In the conventional serial communication method between terminals, there is a problem in that information transmission between the main device and the additional device is difficult to verify, and when various additional devices are connected, there is a confusion of information delivery and accurate information cannot be delivered.
따라서 본 발명의 목적은 하나의 주장치에 여러개의 부가장치가 접속되어 운용되는 경우 각 부가장치들의 시리얼 통신에서 정보전달의 확인작업을 통해 정보전달의 정확성을 높여 혼동을 방지할 수 있는 단말기 상호간의 시리얼 통신 방법을 제공함에 있다.Therefore, an object of the present invention is to increase the accuracy of information transmission through serial communication of each additional device when multiple additional devices are connected and operated to one main device to prevent confusion between serial terminals. In providing a communication method.
이하 본 발명을 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
제1도는 본 발명에 따른 시스템 블럭도로서, 주장치부(10)와 부가장치부(20)가 송신데이타 라인(31), 수신데이타 라인(32), 리궤스트 라인(33)으로 병렬 연결되도록 구성된다.1 is a system block diagram according to the present invention, in which the main unit 10 and the additional unit 20 are connected in parallel to the transmission data line 31, the reception data line 32, and the retraction line 33. do.
상기 구성중 주장치부(10)는 중앙처리장치(11)와 롬(12)으로 구성되며 부가장치부(20)는 다수개의 부가장치(21-2N)가 송신데이타 라인(31), 수신데이타 라인 (32), 리궤스트 라인(33)에 각각 병렬 연결되도록 구성된다.In the above configuration, the main unit 10 is composed of a central processing unit 11 and a
제2도는 정보전송 테이블 구성도로서, 하나의 정보는 시작 1비트(311), 정보 8비트, 정지 1비트(312) 총 10비트로 구성되어 있다. 여기서 시작 1비트(311)와 정지 1비트(312)는 제1도의 부가장치부(20)의 각 프로세서의 내부 제어에 의해 자동으로 전송된다.2 is a configuration diagram of the information transmission table, in which one piece of information is composed of a total of 10 bits including a
콘트롤 바이트(313)의 정보구성은 4비트는 부가장치(20)를 구별하기 위한 형태를 나타내는 내용이고 4비트는 어떤 정보인가를 판단하는데 사용하는 정보코드를 저장한다. 부가장치부(20)의 구별을 위한 형태의 예를 들면 다음과 같다.The information structure of the control byte 313 is a 4-bit content indicating a form for distinguishing the additional device 20, and the 4-bit stores an information code used for determining what information. Examples of the form for distinguishing the additional device unit 20 are as follows.
콘트롤 장치 : 0000Control unit: 0000
인터페이스 박스 : 0001Interface box: 0001
팩스연결 모뎀 : 0010FAX Modem: 0010
또한 정보의 종류는 다음과 같이 정의할 수 있다.In addition, the type of information can be defined as follows.
주장치에서 부가장치로 정보전송 : 0000Transfer of information from main device to additional device: 0000
부가장치에서 주장치로 정보전송 : 0001Information transfer from auxiliary device to main device: 0001
보낸 내용을 정확하게 수신한 경우 : 0010Received correctly: 0010
보낸 내용을 정확히 수신하지 못한 경우 : 0011If you did not receive the sent message correctly: 0011
정보 전송이 끝난 경우 : 0100When the information is sent: 0100
ㆍ ㆍㆍ ㆍ
ㆍ ㆍㆍ ㆍ
ㆍ ㆍㆍ ㆍ
헤더 바이트(Header byte)(314)의 구성을 보면 4비트는 어떤 기능인지를 나타내는 내용을 갖는 펑션(function)이고 4비트는 설제 정보가 전달되는 정보의 길이를 저장한다.Looking at the configuration of the
여기서 정보의 길이는 포멧(format) 마지막 바이트인 체크섬(Cheeksum) 바이트(316)는 제외시킨다.The length of the information excludes the checksum byte 316 which is the last byte of the format.
정보가 어떤 것인가 나타내는 내용의 예를 보면 다음과 같다.An example of the content that indicates what the information is is as follows.
장치의 연결상태 점검 : 0000Check the connection status of the device: 0000
key 동작정보 : 0001key operation information: 0001
display 처리정보 : 0010display processing information: 0010
swich 처리정보 : 0011swich Processing Information: 0011
데이타 바이트(data bytes)(315)는 주장치(10)와 부가장치(20)에 여러 형태의 정보를 설정처리할 수 있다.The data bytes 315 may set and process various types of information in the main device 10 and the additional device 20.
체크섬(Checkusm) 바이트(316)는 헤더바이트(header byte)(314)에서 데이타 바이트(data bytes)(315)의 내용을 합한 값을 저장 전송하며, 상기 체크섬(check sum)(316)를 주장치부(10)가 수신한 내용과 수신장치에서 해더바이트(heade r byte)(314)와 데이타 바이트(data bytes)(315)의 내용을 계산한 체크섬과 비교하여 수신의 상태를 판단하여 재 전송을 요구할 것인가, 정확한 수신인가를 부가장치부( 20) 장치에 알려준다. 콘트롤 바이트(control byte)(313)를 체크섬에서 제외하는 것은 먼저 주장치부(10)가 연결된 부가장치부(20)가 아닌 형태코드(type code)이면 이후 데이타를 수신할 필요가 없기 때문이다.The checksum byte 316 stores and transmits the sum of the contents of the data bytes 315 in the
제3도는 일 실시예의 정보전송 테이블 구성도이고, 제4도는 본 발명에 따른 흐름도로서, 정보전송 테이블 형태에 의해 정보를 편집하여 전송준비를 한 후 리궤스트 라인(33)의 상태를 체크하는 제1과정과, 상기 제1과정에서 리궤스트 라인(33)이 로우상태이면, 상기 리궤스트 라인(33)을 하이상태로 만들고 정보전송을 실행하는 제2과정과, 상기 제2과정에서 전송된 정보가 주장치부(10)에 정확하게 수신되었는가를 체크하는 제3과정과, 상기 제3과정에서 전송된 정보가 정확하게 수신되지 않았으면 주장치부 (10)로 정보를 재 전송하는 제4과정과, 제3과정에서 전송전보가 정확하게 수신되었으며 상기 주장치부(10)로 전송종료 정보를 2번 연속하여 보내고 리궤스트라인(33)을 로우상태로 유지하는 제5과정으로 이루어진다.3 is a block diagram of an information transmission table according to an embodiment of the present invention, and FIG. 4 is a flow chart according to an exemplary embodiment of the present invention, in which an information transmission table is edited and prepared for transmission, and then the state of the request line 33 is checked.
상기 구성에 의거 본 발명의 일 실시예를 제1-4도를 참조하여 설명한다.Based on the above configuration, an embodiment of the present invention will be described with reference to FIGS. 1-4.
먼저 부가장치부(20)에서 주장치부(10)로 숫자키"1"을 누른 내용을 전송한다고 가정한다. (a)단계에서 제2도의 정보전송 포멧 형태에 부가장치부(20)는 정보를 편집하여 전송할 준비를 한다. 상기 부가장치에서 편집된 내용은 제3도와 같은 일실시예의 테이블도와 같이 장치 형태는 0000 전송정보 코드는 0001 기능을 나타내는 펑션 (function)은 0001 데이타 정보길이는 0001 데이타 바이트(Data bytes)(315)의 상위 1비트는 키의 상태를 나타내고 나머지 7비트는 키"1"이라는 정보를 나타낸다. 상기 (a)단계의 전송정보 편집을 끝내고 (b)단계에서 부가장치부(20)는 리궤스트 라인(3 3)의 상태를 체크하여 리궤스트 라인(33)이 하이상태이면 부가장치부(20)중 소정의 부가장치가 정보를 전송하고 있는 것으로 판단하여 대기하고 리궤스트 라인(33)이 로우상태이면 (c)단계를 수행한다.First, it is assumed that the contents of pressing the numeric key "1 부가 from the additional device unit 20 to the main device unit 10 are assumed. In step (a), the additional device unit 20 prepares for transmission by editing the information in the information transmission format of FIG. The content edited in the additional device is shown in the table of the embodiment as shown in FIG. 3. The device type is 0000, the transmission information code is 0001, and the function is 0001. The data information length is 0001 Data bytes 315 The upper 1 bit of represents the state of the key, and the remaining 7 bits represent the information of the key '1'. After the editing of the transmission information in step (a) is finished, and in step (b), the additional device unit 20 checks the state of the request line 33 and if the request line 33 is in a high state, the additional device unit 20 If it is determined that a predetermined additional device is transmitting information and waits, and the request line 33 is in a low state, step (c) is performed.
상기 (c)단계에서는 정보전송을 위해 리궤스트 라인(33)을 하이상태로 만들고 (d)단계에서 정보전송을 실행한다. 이때 주장치부(10)에서는 수신된 정보를 저장하고 헤더 바이트(header byte)(314)와 데이타 바이트(Data byte)(315)들의 체크섬( Checksum)을 계산한다. 상기 (d)단계의 정보전송을 실행한 후 (e)단계에서는 부가장치(20)에서 전송한 체크섬 값과 주장치부(10)에서 계산한 체크섬 값을 비교하여 정보가 정확하게 수신되었는가를 체크하여 정확하게 수신되었으면 (h)단계를 수행하고 정확하게 수신되지 않았으면 (f)단계를 수행한다.In step (c), the request line 33 is made high for information transmission, and information transmission is performed in step (d). At this time, the main unit 10 stores the received information and calculates a checksum of the
상기 (f)단계에서는 정보전송 시도가 끝났는가를 체크하여 정보전송시도가 끝나지 않았으면 다시 (d)단계를 수행하여 정보를 재전송하고 정보전송시도가 끝났으면 (g)단계에서 정보전송을 취소하고 (h)단계를 수행한다.In step (f), if the information transmission attempt is not finished by checking whether the information transmission attempt is completed, perform step (d) again to retransmit the information, and when the information transmission attempt is finished, cancel the information transmission in step (g) ( Perform step h).
상기 (h)단계에서는 전송종료 정보들 주장치부(10)로 2번 연속보내고 (i)단계를 수행한다. 상기 (i)단계에서는 부가장치부(20)가 리궤스트 라인(316)을 로우상태로 하고 정보전송을 종료한다.In step (h), transmission end information is continuously sent twice to the main device unit 10, and step (i) is performed. In step (i), the additional device unit 20 sets the request line 316 to a low state and ends the information transmission.
또한 주장치부(10)에서 부가장치부(20)로 전송할 정보가 있으면 전술한 방법과 동일하나 리궤스트 라인(33)의 상태에 관계없이 자체 정보를 전송할 수 있다.In addition, if there is information to be transmitted from the main device unit 10 to the additional device unit 20, the same method as described above, but can transmit its own information regardless of the state of the request line 33.
상술한 바와 같이 주장치부(10)에 여러개의 부가장치부(20)를 동시에 연결하고 리궤스트 라인(33)을 검색하여 정보전송 여부를 판단할 수 있으므로 정보전송의 혼동을 방지할 수 있으며 계산된 체크섬 값과 수신된 체크섬 값을 비교하여 정확한 정보전달을 확인할 수 있는 이점이 있다.As described above, it is possible to connect several additional device units 20 to the main unit unit 10 at the same time and search the request line 33 to determine whether or not to transmit information, thereby preventing confusion of information transmission. Comparing the checksum value with the received checksum value has the advantage of confirming accurate information delivery.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019900007440A KR920009376B1 (en) | 1990-05-23 | 1990-05-23 | Method for transmitting serially between radio phones |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019900007440A KR920009376B1 (en) | 1990-05-23 | 1990-05-23 | Method for transmitting serially between radio phones |
Publications (2)
Publication Number | Publication Date |
---|---|
KR910021057A KR910021057A (en) | 1991-12-20 |
KR920009376B1 true KR920009376B1 (en) | 1992-10-15 |
Family
ID=19299335
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019900007440A KR920009376B1 (en) | 1990-05-23 | 1990-05-23 | Method for transmitting serially between radio phones |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR920009376B1 (en) |
-
1990
- 1990-05-23 KR KR1019900007440A patent/KR920009376B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR910021057A (en) | 1991-12-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4507782A (en) | Method and apparatus of packet switching | |
US4852127A (en) | Universal protocol data receiver | |
US4691314A (en) | Method and apparatus for transmitting data in adjustable-sized packets | |
US4959833A (en) | Data transmission method and bus extender | |
US4896151A (en) | Simultaneous communication method and system | |
EP0539796A2 (en) | Method for data collision detection in a multi-processor communication system | |
US5261061A (en) | Remote maintenance and administration method in a switchboard system | |
US6292470B1 (en) | Data transmission system and method utilizing history information corresponding to correctly received frames | |
US4509117A (en) | Communications network access rights arbitration | |
US5142538A (en) | Link protocol for rs 232 communications | |
EP1011240A2 (en) | Efficient full duplex simultaneous message transfer | |
EP0330223A2 (en) | Information distribution system | |
KR920009376B1 (en) | Method for transmitting serially between radio phones | |
US6466989B1 (en) | Automatic network connection device for wiring to network cable | |
US5388109A (en) | Data communications device with resident link adapter | |
US4282399A (en) | Shared maintenance terminal system | |
GB1470883A (en) | Data communications system and its method of operation | |
CN114826814B (en) | Data transmission method and data transmission equipment based on different communication buses | |
JPH01289339A (en) | Communication controller | |
KR920019144A (en) | Communication protocol communication method between private exchange and external computer system | |
JPS5833340A (en) | Address confirming system | |
KR100261028B1 (en) | Structure of protocol between tcu and terminal | |
JPH03276934A (en) | Error detection system for data communication | |
US6108690A (en) | Electrical mail system guaranteeing accurately received content | |
JPH05347649A (en) | Data communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
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: 20020924 Year of fee payment: 11 |
|
LAPS | Lapse due to unpaid annual fee |