KR950004449B1 - Transmission method for chinese characters or graphics - Google Patents

Transmission method for chinese characters or graphics Download PDF

Info

Publication number
KR950004449B1
KR950004449B1 KR1019910019390A KR910019390A KR950004449B1 KR 950004449 B1 KR950004449 B1 KR 950004449B1 KR 1019910019390 A KR1019910019390 A KR 1019910019390A KR 910019390 A KR910019390 A KR 910019390A KR 950004449 B1 KR950004449 B1 KR 950004449B1
Authority
KR
South Korea
Prior art keywords
data
chinese character
code
printer port
personal computer
Prior art date
Application number
KR1019910019390A
Other languages
Korean (ko)
Other versions
KR930008586A (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 KR1019910019390A priority Critical patent/KR950004449B1/en
Publication of KR930008586A publication Critical patent/KR930008586A/en
Application granted granted Critical
Publication of KR950004449B1 publication Critical patent/KR950004449B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

내용 없음.No content.

Description

컴퓨터 프린터 포트를 통해 중국문자형 또는 도형을 고속 전송하는 방법How to Fast Send Chinese Characters or Shapes Through the Computer Printer Port

제1도는 본 발명에 따른 컴퓨터 프린터 포트를 통해 중국문자형 또는도형을 고속 전송하는 방법의 인접표시도.1 is an adjoining diagram of a method for high speed transmission of Chinese characters or figures through a computer printer port in accordance with the present invention.

제2도는 본 발명에 이용되고 있는 자동 검지 회로의 회로도이다.2 is a circuit diagram of an automatic detection circuit used in the present invention.

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

1 : 퍼스널컴퓨터 2 : 중국문자형 또는 도형 발생장치1: Personal Computer 2: Chinese Character or Shape Generator

3 : 프린터 11 : 프린터 포트3: printer 11: printer port

U1,U2 : 데이터 레지스터 U3,U4 : 비교기U1, U2: data register U3, U4: comparator

U5,U6,U7 : 플립플롭(Flip-Flop) U8 : 앤드 게이트(AND Gate)U5, U6, U7: Flip-Flop U8: AND Gate

U9 : 노어 게이트(NOR Gate).U9: NOR Gate.

본 발명은 중국문자형 또는 도형의 전송방법에 관한 것으로서, 특히 컴퓨터 프린터 포트를 통해 중국문자형 또는 도형을 고속 전송하는 방법에 관한 것이다.The present invention relates to a method for transmitting Chinese characters or figures, and more particularly, to a method for high speed transmission of Chinese characters or figures through a computer printer port.

종래 기술에서 본다면 퍼스널컴퓨터에 어떤 응용(데이터 전송) 기능을 부가하고 싶을 경우, 통상의 공업표준기구(ISA), 마이크로 통로기구(MCA) 또는 퍼스널컴퓨터나 워크스테이션에 내장된 시스템 버스를 이용하여 설계한다. 그중 시스템 버스는 빠르게 데이터를 메모리 하기도 하고 인출시키는 장점이 있기 때문에 비교적 많이 채택하여 이용하고 있지만, 이 데이터 전송을 위한 시스템 버스는 응용할 때에 A종의 퍼스널컴퓨터에 적용되는 것은 B종의 퍼스널 컴퓨터에 적용할 수 없고, B종의 퍼스널 컴퓨터에 적용되는 것은 C종의 퍼스널 컴퓨터에 적용할 수 없는 결점을 가지고 있기 때문이 응용할때 여러가지 문제가 발생하고 특히 노트형 또는 휴대형 퍼스널 컴퓨터에는 그것 자체의 구조 및 체적의 관계에서 근본적으로 사용할 수 없다.According to the prior art, if you want to add some application (data transfer) function to a personal computer, it is designed using a conventional industrial standard organization (ISA), a micro passage mechanism (MCA), or a system bus embedded in a personal computer or workstation. do. Among them, the system bus is adopted and used relatively much because it has the advantage of fast memory and withdrawal of data, but the system bus for data transfer is applied to Class A personal computer when applied. It is not possible to apply to class B personal computer because it has a drawback that cannot be applied to class C personal computer. Therefore, various problems occur in application, especially for notebook or portable personal computer, its structure and volume It is fundamentally unavailable in relation to

상기 호환성 문제를 해결하기 위해 컴퓨터의 프린터포트를 데이터 전송 인터페이스로서 이용하는 방법이 제안되었다. 각종의 컴퓨터(노트형과 휴대형을 포함한다)에는 모두 프린터 포트가 설치되어 있고, 또 프린터 포트에 대한 일반적인 표준이 있다. 프린터 포트를 전송 인터페이스로서 이용하는 방법은 예를들어 포준센트로닉스 인터페이스를 사용하는 컴퓨터에 적용할 수 있다. 이런 형의 장치는 설치와 유지도 간단하고, 또노트형 또는 휴대형 퍼스널 컴퓨터로의 전송에 관한 문제점도 해결할 수 있다. 키카드(KEY CARD)는 그한 예이다.In order to solve the compatibility problem, a method of using a printer port of a computer as a data transmission interface has been proposed. Various computers (including notebook and portable) are all equipped with printer ports, and there are general standards for printer ports. The method of using a printer port as a transmission interface can be applied to, for example, a computer using a Fortune Centennial interface. This type of device is easy to install and maintain, and can also solve problems related to transfer to a notebook or portable personal computer. KEY CARD is an example.

그러나, 컴퓨터의 프린터 포트를 전송 인터페이스로서 이용하는데 있어서 문제는 전송속도가 너무 느리다는 것이다. 데이터량이 적은 전송에 있어서 프린터로의 전송같은 경우에는 인쇄속도가 느리기 때문에 속도가 대응할 수 있지만 많은 데이터량을 처리하는 시스템, 예를들면 중국문자형 또는 표의 문자를 처리하는 시스템같은 경우에는 느린 속도가 대응할 수 없는 치명적인 결점이 있어 개량을 필요로 하지만 유감스럽게도 아직 상기 문제에 대한 해답은 보지 못했다.However, the problem with using the computer's printer port as the transmission interface is that the transmission speed is too slow. In the case of small data transmission, the speed may be appropriate because the printing speed is slow, but in the case of a system processing a large amount of data, for example, a system that processes Chinese characters or ideographic characters, a slow speed may be appropriate. There are a number of fatal flaws that need improvement, but unfortunately we haven't seen the answer.

프린터 포트를 이용하여 데이터 특히 중국문자형 또는 도형을 고속 전송하는데 있어서 상기 문제를고려하여, 중국문자형과 도형의 특징을 분석하고 연구하여 분류한 후에 본 발명은 컴퓨터의 프린터 포트를 통해 중국문자형 또는 도형을 고속 전송하는 방법을 제공한다. 바람직한 실시예의 수단에 의해, 퍼스널 컴퓨터상의 프린터 포트를 통해 매회 1바이트의 중국문자형 또는 도형에 관한 데이터가 프린터 포트에 연결된 중국문자형 또는 도형 발생장치에 전송된다.In view of the above problems in the high-speed transmission of data, especially Chinese characters or figures using a printer port, after analyzing, studying and classifying the characteristics of Chinese characters and figures, the present invention uses the printer port of a computer to generate Chinese characters or figures. Provides a method for high speed transmission. By means of the preferred embodiment, data relating to Chinese characters or graphics of one byte each time is transmitted to the Chinese characters or graphics generating apparatus connected to the printer port through the printer port on the personal computer.

본 발명의 바람직한 실시예에 따르면, 데이터는 프린터 포트에 있는 데이터 버스로 전송되기 전에 퍼스널컴퓨터에 의해 처리된다. 데이터 검색 준비가 되어 있고 그래서 퍼스널 컴퓨더는 프린터 포트에 연결된 중국문자형 또는 도형 발생장치에 데이터를 전송할 수 있다는 것을 중국문자형 또는 도형 발생장치에 통지하는 제어신호를 발생하기 위해 자동 검지 회로가 사용된다. 중국문자형 또는 도형 발생장치는 스테이터스 시그널(status signal)을 이용하여 데이터를 전송한다. 데이터가 전송되기 전에 데이터량을 최소화 하기 위해 중국문자형 또는 도형의 연속적이고 체증 또는 체감하는 특성에 따라 데이터는 중국문자형 또는 도형 발생장치에 의해 인코딩(encoding)된다. 이렇게 압축된 데이터를 받은 후에 퍼스널 컴퓨터는 그것을 해독하여 원래의 데이터로 복원한다. 그 결과 중국문자형 또는 도형 발생장치는 퍼스널 컴퓨터에 데이터를 고속 전송할 수 있다.According to a preferred embodiment of the present invention, the data is processed by the personal computer before being transferred to the data bus at the printer port. An automatic detection circuit is used to generate a control signal informing the Chinese character or figure generator that the data is ready for data retrieval so that the personal computer can transmit data to the Chinese character or figure generator connected to the printer port. Chinese character or figure generators transmit data using status signals. In order to minimize the amount of data before data is transmitted, the data is encoded by the Chinese character or figure generator in accordance with the continuous, heavy or tangible nature of the Chinese character or figure. After receiving the compressed data, the personal computer decrypts it and restores the original data. As a result, the Chinese character or figure generator can transfer data to a personal computer at high speed.

본 발명의 여러 목적과 특징은 첨부된 도면을 참조하여 아래 설명에서 보다 명확해질 것이다.Various objects and features of the present invention will become more apparent from the following description with reference to the accompanying drawings.

제1도에 관해 설명하면, 퍼스널 컴퓨터(1)로부터 프린터 포트(1l)를 통해 중국문자형 또는 도형 발생장치(2)로 매회 1바이트의(각 바이트는 8비트로 이루어진다) 데이터가 전송된다. 데이터는 묘사형이거나 중국문자형의 코드이다. 그러나, 데이터가 데이터 버스로 전송된 후 처음에는 중국문자형 또는 도형 발생장치(2)는 프린터 포트(11)로 데이터가 전송된 것을 아직 인식하지 못한다. 종래의 방법에 의하면, 소프트웨어 제어하에서 4개의 제어신호인를 발생시켜, 데이터를 이용할 수 있으며 발생 장치가 데이터를 해독하여 프린터를 제어하는데 이용할 수 있다는 취지를 중국문자형 또는 도형 발생장치(2)에 통지하기 위해 이용해야 한다. 그러나, 이러한 시스템은 통상의 시스템에서 필요한 제어신호를 전송하는 데만 데이터 전송에 실제로 소요되는 시간의 약 5배의 시간이 소요된다는 결함을 가지고 있다. 즉, 데이터를 전송하는데 1유니트의 시간이 걸릴 경우, 데이터 전송 준비가 되어 있음을 통지하는 신호를 보내는데 2유니트의 시간이 사용되고, 데이터 출력이 판독되었는지 아닌지를 판단하기 위해 스테이터스 시그널을 읽는데 또 2유니트의 시간이 걸린다. 그러므로 데이터 전송에만 5유니트의 시간이 걸린다.Referring to FIG. 1, data of one byte (each byte is composed of 8 bits) is transmitted from the personal computer 1 to the Chinese character or figure generating apparatus 2 each time through the printer port 11. FIG. The data is descriptive or Chinese character code. However, after the data has been transferred to the data bus, the Chinese character or figure generator 2 does not yet recognize that the data has been transferred to the printer port 11. According to the conventional method, four control signals are controlled under software control. It should be used to inform the Chinese character or figure generating device 2 that the data can be generated and the generator can decode the data and use it to control the printer. However, such a system has a drawback that it takes about five times as long as the actual time required for data transmission only to transmit the control signal required in the conventional system. In other words, if it takes one unit of time to transmit data, two units of time are used to send a signal that the data is ready for transmission, and two units are used to read the status signal to determine whether or not the data output has been read. Takes time. Therefore, data transfer only takes 5 units of time.

이에 비해 본 반명에서는 각 바이트의 데이터가 전후 바이트의 데이터와 다르도록 데이터 처리되고, 제2도에 나타낸 자동 검지 회로를 이용해 제어신호를 자동적으로 발생시켜 데이터가 이용될 수 있다는 취지를 중국문자형 또는 도형 발생장치(2)에 통지한다. 자동 검지 회로에서 레지스터(U1 및 U2)로 구성된 데이터레지스터의 주된 기능은 먼저 전송된 데이터를 저장하는 것이다. 비교기 회로(U3,U4)로 구성된 비교기(comparator)에서는, 새로운 데이터가 전송될 때마다 데이터가 비교된다. 전후 데이터가 같다면 더 이상의 처리는 없지만 그렇지 않은 경우 새로운 데이터가 레지스터(U1,U2)에 저장된다. 1조의 플립 플롭(U5,U6,U7), AND게이트(U8) 및 NOR게이트(U9)로 구성된 타임 베이스 클럭(time base clock) 발생 회로는 펄스를 발생하여 데이터 레지스터(U1,U2)에 부여하고 외부 인터페이스에 새로운 데이터가 와서 저장되는 것을 통지한다. 그러면 외부 인터페이스는 데이터를 재빨리(375ns내에) 회수하여 다른 들어오는 데이터가 기존 데이터 위에 중복 기재되는 것을 막는다.On the other hand, in this class, the data of each byte is processed so that the data of each byte is different from the data of the front and rear bytes, and the Chinese character or figure that the data can be used by automatically generating a control signal using the automatic detection circuit shown in FIG. The generator 2 is notified. In the automatic detection circuit, the main function of the data register consisting of registers U1 and U2 is to store the transmitted data first. In a comparator composed of comparator circuits U3 and U4, the data is compared each time new data is transmitted. If the before and after data is the same, no further processing is done; otherwise, new data is stored in the registers U1 and U2. A time base clock generator circuit consisting of a set of flip flops (U5, U6, U7), an AND gate (U8), and a NOR gate (U9) generates a pulse and gives it to the data registers (U1, U2). Notify that new data comes to the external interface and is stored. The external interface then quickly retrieves data (within 375ns) to prevent other incoming data from being overwritten on existing data.

상기 시스템은 중국문자형 또는 도형 발생장치(2)로 데이터를 고속 전송한다. 그러나, 프린터 포트에서 사용되는 데이터 버스가 일반적으로 편방향의 것이기 때문에 중국문자형 또는 도형 발생장치(2)로부터 컴퓨터(1)로 도형을 전송하는 것은 매우 어렵다. 본 발명에서 스테이터스 시그널은 데이터 신호의 전송에 대해 충분한 정보를 포함해야 한다. 각 스테이터스 시그널에 대해 5개의 구성요소만 있고 그것이 전송할 수 있는데이터는 한정되어 있다는 것을 감안하여 중국문자형 또는 도형의 특성을 분석하고 통계내어 발생장치로 하여금 상기 중국문자형 또는 도형의 특성에 따라 데이터를 인코딩하게하는 독특한 방법이 개발되었다. 퍼스널 컴퓨터에 수신된 상기 인코딩된 데이터는 해독되어 원 데이터로 회복된다. 스테이터스 시그널의 5구성요소는 BUSY,PE, SLCT 및이고 코드 작성 방식은 다음과 같다.The system transmits data at high speed to the Chinese character or figure generator 2. However, it is very difficult to transfer figures from the Chinese character or figure generator 2 to the computer 1 because the data bus used at the printer port is generally one-way. In the present invention, the status signal should include sufficient information about the transmission of the data signal. Given that there are only five components for each status signal and the data that can be transmitted is limited, the characteristics of Chinese characters or figures are analyzed and statistically generated by the generator to encode the data according to the characteristics of the Chinese characters or figures. A unique way to make it was developed. The encoded data received at the personal computer is decrypted and restored to the original data. The five components of the status signal are BUSY, PE, SLCT and The code writing method is as follows.

코드 작성은 상대값을 이용한다. 즉, 10,10을 전송리드 코드로 하여 이후로 보내져오는 모든 데이터는 상대값이 라는 취지를 알린다.=l, SLCTOUT=0, PE=0,=0, BUSY=0의 신호가 리느 코드로 2회 전송된다.Code writing uses relative values. That is, 10 and 10 are used as transmission lead codes, indicating that all data subsequently sent are relative values. = l, SLCTOUT = 0, PE = 0, A signal of = 0 and BUSY = 0 is transmitted twice in the lane code.

퍼스널 컴퓨더(1)가 폴링(po1ling)방식으로 리드 코드를 검지한다. 데이터를 매회 판독할 때에 퍼스널 컴퓨터(1)가 상기 방식으로 1바이트의 데이터를 중국문자형 또는 도형 발생장치(2)에 보내어 이 장치(2)에 스테이터스 시그널 라인상의 데이러가 이미 판녹되어 있음을 통지한다. 이러한 처리는 중국문자형 또는 도형발생장치(2)가 스테이터스 시그널 라인상에 데이터가 이미 준비되어 있다는 것을 퍼스널 컴퓨더(1)에 통지할 필요를 없앤다. 이것은 즉 데이터 전송시간 간격이 5가지 요인에 의해 줄여진다는 것을 의미한다. 그러므로 시그널 라인상의 데이터는 일반적인 데이터, 예를들어 문자 또는 글자형의 묘사등에 관한 데이터일 수도 있고, 동시에 통지용도로 소용됨으로써 전송시간을 절약할 수 있다, 중국문자형 또는 도형 발생장치(2)는 판독 통지를 받자마자 제3바이트 이하의 데이터를 순서적으로 송출한다. 퍼스널 컴퓨터(l)는 이들 이미 코드작성된 데이터를 받아들인 후 더욱더 일보 진행하여 처리하기 위해 코드를 해독하고 원래의 데이터를 회복한다. 최후의 데이터를 보낸후 프린터포트(11)는 1, NF신호 즉=1, SLCTOUT=*, PE=*,=*, BUSY=*를 보내 데이터 전송이 종료된 것을 나타낸다.The personal computer 1 detects the lead cord in a poling manner. When reading data each time, the personal computer 1 sends one byte of data to the Chinese character or figure generating device 2 in the above manner, informing the device 2 that the data on the status signal line has already been recorded. do. This processing eliminates the need for the Chinese character or figure generator 2 to notify the personal computer 1 that data is already prepared on the status signal line. This means that the data transmission time interval is reduced by five factors. Therefore, the data on the signal line may be general data, for example, data relating to a character or character description, etc., and at the same time used for notification purposes, thereby saving transmission time. The Chinese character or figure generator 2 reads As soon as the notification is received, data of 3 bytes or less is sent out in order. The personal computer 1 accepts these already coded data and then decodes the code and recovers the original data for further processing. After sending the last data, the printer port 11 sends 1, NF signal = 1, SLCTOUT = *, PE = *, = *, BUSY = * is sent to indicate that data transfer is complete.

중국문자형 또는 도형을 분석한 결과 각 중국문자형 또는 도형의 한개의 파라메터는 다른 파라메터가 커다란 변화를 겪는 동안에도 항상 일정하게 유지된다는 특성이 있다는 것을 발견했다. 그러므로 다른 코드작성 방식을 설계하여 보다 좋은 성능을 제공할수 있고 그 코드 작성 방식은Analysis of the Chinese character or figure found that one parameter of each Chinese character or figure is always kept constant while the other parameter undergoes major changes. Therefore, you can design different coding methods to provide better performance.

앞서 언급한 제1종의 코드작성 방식에서의 이용된 것과 같은 핸드세이킹 방식(handshaking mode)으로 중국문자형 또는 도형 발생장치(2)는 10을 전송 리드 코드로 아래와 같이 송출한다.In the handshaking mode as used in the first type of coding method mentioned above, the Chinese character or figure generator 2 sends 10 as a transmission lead code as follows.

ERROR=1ERROR = 1

SLCTOUT=0SLCTOUT = 0

PE=0PE = 0

ACK=0ACK = 0

BUSY=0BUSY = 0

그후, 중국문자사형 또는 도형발생장치(2)는 데이터의 (0,,Nl),(0, N2)…(1,NF) 전송을 시작하고, 이때 N1*N2+NF는 문자형 또는 도형을 재빨리 표시하기 위해 아래로 건너뛰는 점의 수를 가리킨다.Thereafter, the Chinese character or figure generating device 2 has (0, Nl), (0, N2)... (1, NF) Start transmission, where N1 * N2 + NF indicates the number of points skipped down to quickly display a character or figure.

본 발명의 특징을 보여주기 위해, 이하 한 도형의 전송을 예로(중국문자의 필획의 예를 들어보자) 상세하게 설명한다. 만약 이 도형이 6바이트 세트의 데이터로 퍼스널 컴퓨터(1)로부터 중국문자형 또는 도형 발생장치(2)로 보내져야 하고 그 묘사(이하 수자는 모두 16진법으로 표시된다)는 00 3F 62 32 62 62이라 가정하자.In order to show the characteristics of the present invention, the transmission of one figure will be described in detail below (as an example of stroke of Chinese characters). If the figure is to be sent from the personal computer 1 to the Chinese character or figure generator 2 as a six-byte set of data, the description (the following numbers are all expressed in hexadecimal) is 00 3F 62 32 62 62. Suppose

각 데이터 전송에서 임의의 두 연속하는 바이트는 서로 달라야 하기 때문에 홀수째의 바이트(즉 1,3.5.7번째 바이트)의 값은 먼저 80을 가하고 짝수째의 바이트(즉 2,4,6,8번째 바이트)는 그대로 유지한다. 그래서 상기 6바이트의 데이터는,00 BF 62 B2 62 E2로 된다.Since any two consecutive bytes in each data transfer must be different, the value of the odd byte (i.e. 1,3.5.7 th byte) is added to 80 first and the even byte (i.e. 2, 4, 6, 8th) Byte). Thus, the 6-byte data is 00 BF 62 B2 62 E2.

이상의 데이터에 알 수 있는 바와같이 각 바이트는 그 전후 바이트와 달라서(실제의 데이터는 바이트 O에서 바이트 6까지 표시하고 바이트 7은 홀짝변환을 위해 보류한다,) 입력된 데이터를 식별할 수 있다. 그리고 중국문자형 또는 도형 발생장치(2)로부터 퍼스널 컴퓨더(1)에 전송되는 데이터는 중국문자형 또는 도형이 일반적으로 연속적으로 체증하거나 또는 체감하는 성질을 가지기 때문에As can be seen from the above data, each byte is different from the preceding and following bytes (the actual data is displayed from byte O to byte 6 and byte 7 is reserved for the odd conversion), so that the input data can be identified. The data transmitted from the Chinese character or figure generating device 2 to the personal computer 1 has the property that Chinese characters or figures generally increase or feel continually.

와 같이 가정한다.Assume

종래의 전송 방식에서, 필요한 비트수는 도형을 표시하는 실제 좌표에 달려있었다. 예를들면 좌표가(10,026)이라면 좌표를 표시하기 위해 11비트가 필요하지만 프린터 포트(11)상의 스테이터스 시그널은 5비트만 있기 때문에 상기 좌표를 표시하기 위해 3번의 전송이 필요하다. 즉 다른 2회의 핸드세이킹을 필요로 하여 그 속도가 원래 속도의 약 1/5로 된다.In conventional transmission schemes, the number of bits required depends on the actual coordinates representing the figure. For example, if the coordinate is (10,026), 11 bits are needed to display the coordinates, but since the status signal on the printer port 11 has only 5 bits, three transmissions are required to display the coordinates. In other words, two other handshakings are required and the speed is about one fifth of the original speed.

그러나, 본 발명 방식에 의하면 5비트로 표시할 수 있고. 상기 예에 대해 그 코드작성된 데이터(제1종의 코드작성방식을 채택하여 이용한다)는10,10,00,0F.0B,05,07,03,0A,04,09.....여기에서 최초의 두"10"은 리드 코드이고 세번째 바이트(00)는 X가 00에서 시작하고 있는 것을 표시하고, "0F"는 Y1이 15인것을 표시하고, "0B"는 Y2=15+11=26인 것을 표시하고, "5"는 Y3=26+5=31인 것을 표시한다. "Xn"과 "Xn+1"이 체증(+1)이기 때문에 Yn과 Yn+l의 차액만 전송한다면 좋을 것이다. 데이터 값의 변화가 클 경우는 제 2 종의 방식으로 코드를 작성 한다.However, according to the present invention, 5 bits can be displayed. For the above example, the coded data (which adopts the first type of code writing method) is 10,10,00,0F.0B, 05,07,03,0A, 04,09 ..... here The first two "10" are read codes and the third byte (00) indicates that X is starting at 00, "0F" indicates that Y1 is 15, and "0B" indicates Y2 = 15 + 11 = 26 "5" indicates that Y3 = 26 + 5 = 31. "X n" would be better if only the difference between the Y n and Y n + l transport because the "X n + 1" is congestion (+1). If the change in data value is large, write the code in the second kind.

예를들면 만약 a1(00,100)10, a2(00,3375)l0이라면 "a1"은 l0,0F,06,lA로 인코딩될 수 있고 "a2"는 10,0F,0F.0F,10으로 인코딩될 수 있다. a1의 데이터(0F)에 06을 곱하면 9010이고 또한 그 증가분(0A)을 가하면 그 합이 100100으로 되고 a2의 데이터 0F에 0F를 곱하고 0F를 곱한후 증가분(0)을 가하면 그 합이 3375로 된다.For example, if a1 (00,100) 10 , a2 (00,3375) l0, "a1" could be encoded as l0,0F, 06, lA and "a2" would be encoded as 10,0F, 0F.0F, 10 Can be. If you multiply the data of a1 (0F) by 06, it is 90 10. If you add the increment (0A), the sum is 100 100. If you add the data of 0 and multiply 0F by 0F, and add the increment (0), the sum is 3375.

이런 방식으로 데이터 수량을 크게 줄이고 또한 상기 핸드세이킹 방식으로 중국문자형 또는 도형을 고속전송하는 목적이 달성되어 진다.In this way, a large amount of data can be greatly reduced, and the purpose of high-speed transmission of Chinese characters or figures in the handshaking method can be achieved.

이상 설명한 바와같이 본 발명에 따른 컴퓨터 프린터 포트를 통해 중국문자형 또는 도형을 고속 전송하는 방법은 프린터 포트를 통하여 매 바이트 중국문자형 또는 도형의 묘사, 및 코드 데이터를 프린터포트에 연이어 접속된 중국문자형 또는 도형 발생장치에 전송하는 것에 관한 것이다. 퍼스널 컴퓨터에서 데이터를 프린터 포트의 데이터 버스에 전송하기전에 미리 각 바이트 데이더는 모두 그 전후의 데이터와 다르도록 처리된다. 또 자동검지회로를 이용하여 제어신호를 발생하여 데이터가 이미 준비완료되어 판독할 수 있다는 것을 중국문자형 또는 도형 발생장치에 통지하고, 컴퓨터가 프린터 포트에 연이어 접속된 중국문자형 또는 도형 발생장치에 데이터를 고속전송하게 한다.As described above, the method for high-speed transmission of Chinese characters or figures through a computer printer port according to the present invention includes descriptions of Chinese characters or figures every byte through the printer port, and Chinese characters or figures connected to the printer port in sequence. It relates to the transmission to the generator. Before the data is transferred from the personal computer to the data bus of the printer port, each byte data is processed to be different from the data before and after it. The automatic detection circuit is used to generate a control signal to notify the Chinese character or figure generating device that the data is already ready and can be read, and the computer sends the data to the Chinese character or figure generating device connected to the printer port. Enable high speed transmission.

한편, 중국문자형 또는 도형 발생장치는 또 중국문자형 또는 도형의 특성을 이용하여 분석, 통계내고, 데이터의 코드 작성하고 나서 스테이터스 시그널을 이용하여 데이터를 퍼스널 컴퓨터에 전송한다. 퍼스널 컴퓨터는 데이터를 접수한 후 코드를 해독하여 원래의 데이터로 회복한다. 이런식으로 중국문자형 또는 도형발생장치는 빠르게 데이터를 퍼스널 컴퓨터에 전송한다.On the other hand, the Chinese character or figure generating apparatus also analyzes and statistics using the characteristics of the Chinese character or figure, codes the data, and transmits the data to the personal computer using the status signal. After receiving the data, the personal computer decrypts the code and restores the original data. In this way, the Chinese character or figure generator quickly transfers the data to the personal computer.

Claims (4)

컴퓨터의 프린터 포트를 통하여 매회 1바이트의 중국문자형 또는 도형의 묘사 및 코드 데이터를 프린터 포트에 연이어 접속한 중국문자형 또는 도형 발생장치로 전송하는 중국문자형 또는 도형의 전송방법에 있어서, 퍼스널 컴퓨터가 데이터를 프린터 포트의 데이터 버스에 보내기 전에 미리 각조의 데이터가 다르도록 처리하고, 또 자동검지 회로에서 제어신호를 발생하여 데이터가 이미 준비되어 판독할 수 있다는 것을 중국문자형 또는 도형 발생장치에 통지하여 컴퓨터가 데이터를 상기 프린터 포트에 연이어 접속된 중국문사형 또는 도형 발생장치에 전송할 수 있게 하고, 상기 중국문자형 또는 도형 발생장치는 상기 데이타를 분석, 통계내어 데이터의 코드를 작성한후, 스테이터스 시그널을 이용하여 데이더를 컴퓨터에 전송하며, 퍼스널 컴퓨터는 데이터를 받은 후 수신된 코드를 해독하여 재차 원래의 데이터로 회복하여 중국문자형 또는 도형 발생장치가 데이터를 퍼스널 컴퓨터로 고속 전송할 수 있는 것을 특징으로 하는 컴퓨터 프린터 포트를 통해 중국문자형 또는 도형을 고속 전송하는 방법.In a method of transferring a Chinese character or figure, in which a description and code data of one byte of Chinese character or figure are transmitted to a Chinese character or figure generating device connected to the printer port each time through a printer port of a computer. Before sending to the data bus of the printer port, the data is processed in advance so that each set of data is different, and the automatic detection circuit generates a control signal to notify the Chinese character or figure generator that the data is already ready and can be read. Is transmitted to a Chinese character or figure generating device connected to the printer port in succession, and the Chinese character or figure generating device analyzes the data, prepares a code of the data by analyzing the data, and then uses a status signal. To a computer, and a personal computer After receiving the data, it decodes the received code and recovers the original data again so that the Chinese character or figure generator can transmit the character to the personal computer at high speed. Way. 제1항에 있어서, 상기 자동검지회로는 데이터 레지스터의, 비교기 및 1조의 플립플롭으로 이루어진 타임 베이스 클럭 발생회로로 구성되고, 상기 데이터 레지스터는 먼저 전송된 데이터를 저장하고, 상기비교기는 항상 데이터 레지스터에 저장된 데이터와 컴퓨터 프린터 포트의 데이터 버스상의 도입 데이터를 비교하고 도입 데이터가 데이터 레지스터에 저장된것과 다를 경우 타임 베이스 클럭 발생회로에서 한개의 펄스를 발생하여 데이터 레지스터에 부여하여 데이터를 저장하고 새로운 데이터를 도입하고 또 저장하도록 외부인터페이스에 통지하여, 외부 인터페이스가 일정 시간내에 상기 데이터를 검색하여 후에 도입되는 다른 데이터가 앞의 데이터 위에 중복기재되는 것을 방지하는 것을 특징으로 하는 컴퓨터 프린터 포트를 통해 중국문자형 또는 도형을 고속 전송하는 방법.2. The apparatus of claim 1, wherein the automatic detection circuit comprises a time base clock generation circuit comprising a comparator and a set of flip-flops of a data register, the data register storing first transmitted data, the comparator always being a data register. Compare the stored data with the introduction data on the data bus of the computer printer port, and if the introduction data is different from that stored in the data register, one pulse is generated from the time base clock generation circuit and given to the data register to store the data and the new data. Notifying the external interface to introduce and save, the Chinese character type through the computer printer port, characterized in that the external interface retrieves the data within a certain time and prevents other data introduced later from being overwritten on the previous data. A method for high-speed transmission the shape. 제1항 또는 제2항에 있어서,, PE, BUSY 및 SLCTOUT의 5개의 스테이터스 시그널이 코드 작성을 위해 이용되고, 이때 상대값 기저 10,10위에 즉 ERROR=1, SLCTOUT=0. PE=0.ACK=0, BUSY-=0를 리드코드(lead code)로 연속 2회 송출하고 코드를 작성하며. 퍼스널 컴퓨터가 풀링방식으로 상기 리드코드를 검지하여 상기 코드를 발견하면 퍼스널 컴퓨터가 1바이트의 데이터를 중국문자형 또는 도형 발생장치에 보내어 스테이터스 시그널 라인상의 데이터가 이미 판독되고 있다는 것을 중국문자형 또는 도형 발생장치에 통지하고(이 데이터는 또한 전송시간을 최소화하기 위해 코드식 또는 글자형의 묘사이다.) 그 다음에 중국문자형 또는 도형 발생장치가 다음 데이터를 차례로 송출하고 퍼스널 컴퓨터는 상기 코드 작성된 데이터를 수신한 후 코드를 해독하고 원래의 데이터로 회복하고 나서 더 진행해서 처리하고 상기 중국문자형 또는 도형 발생장치는 데이터 전송후 1, NF 즉,=1, SLCTOUT=*, PE=*,=*, BUSY=*을 보내어 전송의 종료를 나타낸 것을 특징으로 하는 컴퓨터 프린터 포트를 통해 중국문자형 또는 도형을 고속 전승하는 방법.The method according to claim 1 or 2, Five status signals,, PE, BUSY and SLCTOUT are used for writing the code, where the relative value bases 10 and 10, ie ERROR = 1, SLCTOUT = 0. PE = 0.ACK = 0 and BUSY- = 0 are sent twice in succession as lead code and code is written. When the personal computer detects the lead code by a pulling method and finds the code, the personal computer sends one byte of data to the Chinese character or figure generator, indicating that the data on the status signal line has already been read. (This data is also a coded or textual representation to minimize transmission time.) Then the Chinese character or graphic generator sends out the next data in turn and the personal computer receives the coded data. After decoding the code and recovering the original data, it is processed further and the Chinese character or figure generator is 1, NF, = 1, SLCTOUT = *, PE = *, A method of high speed transmission of Chinese characters or figures through a computer printer port, characterized by sending = *, BUSY = * to indicate the end of the transmission. 제l항 또는 제2항에 있어서, 상기 데이터의 코드작성은 같은 핸드세이킹 방식으로 또다른 코드작성방법을 채택이용할 수 있으므로 이것에 의해 중국문자형 또는 도형 발생장치가 10 즉,=1, SLCTOUT=0, PE=0,=0, BUSY=0을 리드코드로 전송한후 각 문자형을 나타내는 효율적인 방법으로 0, Nl,0, N2··1, NF를 전송하는데 이때 N1*N2+NF는 아래로 건너뛰어야 하는 점의 수를 나타내는 것을 특징으로 하는 컴퓨터 프린터 포트를 통해 중국문자형 또는 도형을 고속 전송하는 방법.The method of claim 1 or 2, wherein the code writing of the data can be made by adopting another code writing method using the same handshaking method. = 1, SLCTOUT = 0, PE = 0, Send 0, Nl, 0, N2 · 1, NF as an efficient way to represent each character type after sending = 0, BUSY = 0 as lead code, where N1 * N2 + NF is the number of points to skip down A method of high speed transmission of Chinese characters or figures through a computer printer port, characterized in that.
KR1019910019390A 1991-10-30 1991-10-30 Transmission method for chinese characters or graphics KR950004449B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019910019390A KR950004449B1 (en) 1991-10-30 1991-10-30 Transmission method for chinese characters or graphics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019910019390A KR950004449B1 (en) 1991-10-30 1991-10-30 Transmission method for chinese characters or graphics

Publications (2)

Publication Number Publication Date
KR930008586A KR930008586A (en) 1993-05-21
KR950004449B1 true KR950004449B1 (en) 1995-05-01

Family

ID=19322156

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019910019390A KR950004449B1 (en) 1991-10-30 1991-10-30 Transmission method for chinese characters or graphics

Country Status (1)

Country Link
KR (1) KR950004449B1 (en)

Also Published As

Publication number Publication date
KR930008586A (en) 1993-05-21

Similar Documents

Publication Publication Date Title
US3896428A (en) Display apparatus with selective character width multiplication
EP0352028B1 (en) Apparatus for transmitting data between a central processor and remote peripheral devices
US4843632A (en) Compressed image expansion system
CN101526963A (en) Method for identifying web page coding, device and terminal equipment
US3665406A (en) Automatic polling systems
CN111698271A (en) HDLC protocol IP core
US4800440A (en) Digital image signal coding/decoding circuit with buffer memory storing reference line as compression codes
KR950004449B1 (en) Transmission method for chinese characters or graphics
EP0187813A1 (en) High speed data transfer between first and second processing means.
US5128677A (en) Apparatus and method for transferring data along a serial data bus
JPH0234038A (en) Data compressing device
US4095277A (en) Method for communicating text commands and instructions using conventional coded text characters and a structure for decoding and presenting command and instruction signals
CN101110979B (en) Method, device and system for message transmission
CN114024874B (en) RDMA (remote direct memory Access) -based data transmission method, device, equipment and storage medium
CN109064121A (en) A kind of method and device for signing electronic contract
US3492648A (en) Keyboard selection system
US5175750A (en) Application specific integrated circuit for a serial data bus
CN113608889A (en) Message data processing method, device, equipment and storage medium
GB2260427A (en) Methods for the high speed transmission of Chinese fonts or graphics via a printer port on a computer
KR930008045B1 (en) Interface circuit of parallel printer for a serial bus
CN116594570B (en) Memory access circuit, memory access method, integrated circuit, and electronic device
CN1172266C (en) Compressed chinese character library chip
KR100217370B1 (en) Fax data receiving processing method in portable information terminal
TR200101268T2 (en) The method of transferring the information on the television screen to another medium.
CN115118285A (en) System for scanning data before data transmission and marking same data

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: 19990423

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee