KR940006095B1 - Picture data scanning method for computer-fax system - Google Patents
Picture data scanning method for computer-fax system Download PDFInfo
- Publication number
- KR940006095B1 KR940006095B1 KR1019910015647A KR910015647A KR940006095B1 KR 940006095 B1 KR940006095 B1 KR 940006095B1 KR 1019910015647 A KR1019910015647 A KR 1019910015647A KR 910015647 A KR910015647 A KR 910015647A KR 940006095 B1 KR940006095 B1 KR 940006095B1
- Authority
- KR
- South Korea
- Prior art keywords
- bit
- fax
- file
- recognition
- data
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Facsimiles In General (AREA)
Abstract
Description
제1도는 본 발명이 적용되는 컴퓨터-팩시밀리 접속시스템의 개략적인 일실시예 하드웨어 구성 블럭도.1 is a schematic block diagram of one embodiment of a computer-facsimile connection system to which the present invention is applied.
제2도는 본 발명이 적용되는 컴퓨터-팩시밀리 접속시스템에서의 팩시밀리측 일실시예 접속 구조도.2 is a facsimile-side embodiment of a computer-facsimile connection system to which the present invention is applied.
제3도는 본 발명의 메인 프로그램 수행 흐름도.3 is a flowchart of a main program execution of the present invention.
제4도는 본 발명에서의 RS232C 인터럽트 수행 흐름도.4 is a flowchart illustrating RS232C interrupt in the present invention.
제5도는 본 발명에서의 타임 인터럽트 수행 흐름도.5 is a flowchart for performing time interruption in the present invention.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
10 : 컴퓨터 11 : RS232C 접속부10: Computer 11: RS232C Connection
12 : 컴퓨터 주제어부 13 : 메모리부12: computer main control part 13: memory part
14 : 하드디스크 15 : 키보드14 Hard Disk 15 Keyboard
16 : 모니터 20 : 팩시밀리16: monitor 20: facsimile
21 : 팩시밀리 제어부 22 : 이미지 스캐너21: facsimile control unit 22: image scanner
23 : 모뎀 및 망제어부 24 : 이미지 프린터23: modem and network control unit 24: image printer
25 : 시리얼 접속부 30 : 접속장치25: serial connection 30: connection device
31 : 송.수신 접속부 32 : 절환회로부31: transmission / reception connection part 32: switching circuit part
33 : 접속 제어부 34 : 접속 메모리부33: connection control section 34: connection memory section
35 : 버퍼부 36 : 컴퓨터 접속부35: buffer unit 36: computer connection unit
본 발명은 컴퓨터-팩시밀리 접속시스템(이하 간단히 "PC-FAX"라 한다)에서의 화상 스캔 방법에 관한 것으로, 특히 컴퓨터(PC)에 내장된 하드디스크(HARD DISK)에 자신과 접속된 팩시밀리를 통해 읽어들인 화상데이타를 저장하는 PC-FAX에서의 화상 데이타 스캔 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of scanning an image in a computer-facsimile connection system (hereinafter simply referred to as "PC-FAX"), in particular through a facsimile connected with itself to a hard disk (HARD DISK) built into a computer (PC). An image data scanning method in PC-FAX for storing read image data.
본 발명에 있어서의 화상 데이타 스캔이라 함은 자신과 연결된 FAX로부터 읽어들인 데이타를 PC-FAX의 PC측 하드디스크에 저장하는 것을 의미한다.In the present invention, the image data scan means storing data read from the FAX connected to the PC on the PC-side hard disk of the PC-FAX.
종래의 팩시밀리는 이미지 스캐너(Image Scanning Device), 이미지 프린터(Image Printer), 팩시밀리간 통신용 모뎀, 및 그 주변회로를 구비하여 화상정보의 송수신을 수행하고 있으나, 상기 팩시밀리를 통해 읽어들인 화상데이타를 편집하는 기능을 구현하지 못하여 불필요한 화상을 그대로 포함시킨 채 전송하는 등 전반적인 운용효율에 나쁜 요소를 포함하고 있었다.Conventional facsimile is provided with an image scanner (Image Scanning Device), an image printer (Image Printer), a modem for communication between the facsimile, and its peripheral circuit for transmitting and receiving image information, but editing the image data read through the facsimile Because it could not implement the function, it included a bad element in the overall operation efficiency, such as transmitting the unnecessary image as it is.
그리고, 이를 개선하기 위한 종래의 경우로서, 상기의 화상데이타를 별도의 스캐너를 사용하여 스캔하고, 편집한 후 유틸리티를 이용해 FAX 포맷으로 변환하여 PC의 메모리에 저장하거나, 전송하는 등의 방법이 제안되었으나 매우 번거로운 처리 과정을 거쳐야 했다.As a conventional case for improving the problem, a method of scanning the image data using a separate scanner, editing the image data, and converting the image data into a FAX format using a utility is stored in a PC memory or transmitted. However, the process was very cumbersome.
따라서 본 발명은 상기의 제반 문제점을 배제하기 위해 안출된 것으로서, 이미 널리 보급되어 사용하고 있는 PC와 FAX를 접속시켜 PC에서 FAX의 모든 기능을 제어함에 있어서 상기 FAX를 통해 읽어들인 화상 데이타를 상기 PC의 하드디스크에 저장하여 이를 효과적으로 이용할 수 있도록 하는 PC-FAX의 화상 데이타 스캔 방법을 제공함에 그 목적을 두고 있다.Accordingly, the present invention has been made to eliminate the above problems, and by connecting the PC and FAX which are already widely used and controlling all the functions of FAX in the PC, the image data read through the FAX is stored in the PC. The purpose of the present invention is to provide an image data scanning method of PC-FAX, which is stored in the hard disk of the PC-FAX to be used effectively.
본 발명은 상기 목적을 달성하기 위하여 외부 팩시밀리와의 화상 송.수신을 위해 공중통신망에 연결되는 모뎀 및 망제어부와, 이미지 스캐너와, 상기 모뎀 및 망제어부와 이미지 스캐너에 연결되어 화상 데이타의 입출력을 제어하는 팩시밀리 제어부와, 상기 제어부에 연결되어 있고 외부 기기를 접속하는 시리얼 접속부를 구비한 팩시밀리 장치(FAX)와, 외부기기와의 접속을 위한 RS232C 접속부와, ROM 및 RAM으로 구성되는 메모리부와, 하드디스크와, 키보드와, 모니터와, 상기의 RS232C 접속부, 하드디스크, 키보드, 및 모니터에 연결되어 전반적인 제어를 수행하는 주제어부를 구비한 컴퓨터(PC)를 연결하여 구성한 PC-FAX접속 시스템에서의 PC측 제어에 의한 화상데이타 스캔방법에 있어서, 사용자가 화일명 및 모드를 지정하여 스캔을 요구하면 지정된 화일을 오픈시키는 제1단계, FAX측으로 스캔요구 신호를 송출하고 타임을 세트시키는 제2단계, 상기 제2단계에서 세트된 시간동안 스캔인식비트의 세트여부를 판단하여 상기 제1단계에서 설정된 모드를 정송하고 타임을 새로 세트시키는 제3단계, 상기 제3단계에서 설정된 시간동안 모드인식 비트의 세트 여부를 판단하는 제4단계, 페이지 비트 세트, 화일 끝 비트 세트, 및 어보드 비트 세트 여부를 순차적으로 판단하여 세트되어 있는 비트에 따라 처리를 수행하고 세트되어 있는 비트가 없으면 계속적으로 버퍼에 존재하는 데이타를 하드디스크에 저장하는 제5단, 상기 제5단계 수행후 세트되어 있는 스캔 인식 비트를 클리어 시키는 제6단계에 의해 수행되는 것을 특징으로 한다.In order to achieve the above object, the present invention provides a modem and network controller connected to a public communication network, an image scanner, an image scanner, and a modem and a network controller connected to the public fax network for image transmission and reception with an external facsimile. A facsimile control unit (FAX) having a facsimile control unit for controlling, a serial connection unit connected to the control unit for connecting an external device, an RS232C connection unit for connecting to an external device, a memory unit including ROM and RAM, PC in PC-FAX connection system formed by connecting a hard disk, a keyboard, a monitor, and a computer (PC) having the main control unit connected to the RS232C connection unit, the hard disk, the keyboard, and the monitor to perform overall control. In the image data scanning method by the side control, when a user requests a scan by specifying a file name and mode, In the first step of opening, transmitting the scan request signal to the FAX side and setting the time, determining whether the scan recognition bit is set for the time set in the second step and transmitting the mode set in the first step. A third step of newly setting the time, a fourth step of determining whether the mode recognition bit is set during the time set in the third step, sequentially determining whether the page bit set, the file end bit set, and the motherboard bit set are A fifth step of performing processing according to the set bits and continuously storing data existing in the buffer on the hard disk when no bits are set; and a sixth step of clearing the scan recognition bit set after the fifth step. Characterized in that performed by the step.
이하, 첨부된 도면을 참조하여 본 발명을 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail the present invention.
제1도는 본 발명이 적용되는 PC-FAX의 개략적인 하드웨어 구성블럭도로서, 10은 컴퓨터(PC), 20은 팩시밀리(FAX), 30은 접속장치이며, 11은 주변기기 접속부, 12는 컴퓨터 주제어부, 13은 ROM 및 RAM으로 구성되는 메모리부, 14는 하드디스크, 15는 키보드, 16은 모니터, 21은 팩시밀리 제어부 22는 이미지 스캐너, 23은 모뎀 및 망제어부, 24는 이미지 프린터, 25는 시리얼 접속부, 31a는 수신접속부, 31b는 송신접속부, 32는 절환회로부, 33은 접속제어부, 34는 접속메모리부, 35는 버퍼부를 각각 나타낸다.1 is a schematic block diagram of a PC-FAX to which the present invention is applied, wherein 10 is a computer, 20 is a facsimile, 30 is a connection device, 11 is a peripheral connection part, and 12 is a computer main control part. 13 memory, consisting of ROM and RAM, 14 hard disk, 15 keyboard, 16 monitor, 21 facsimile control 22 image scanner, 23 modem and network controller, 24 image printer, 25 serial connection 31a denotes a reception connection portion, 31b a transmission connection portion, 32 a switching circuit portion, 33 a connection control portion, 34 a connection memory portion, and 35 a buffer portion.
참고적으로, 이와같이 본 발명이 적용되는 하드웨어 구성과 관련하여 본원 출원인에 의해 이미 특허 출원제 90-16399호, 및 제 90-16410호로 출원된 바 있다.For reference, the hardware configuration to which the present invention is applied has already been filed by the applicant of the Patent Application Nos. 90-16399 and 90-16410.
도면에 도시한 바와같이 본 발명은 공중통신망(PSTN)에 연결된 팩시밀리(20)와, 일반적으로 널리 보급되어 사용되고 있고 퍼스널 컴퓨터(10)와, 상기 팩시밀리 및 퍼스널 컴퓨터 간에 연결되어 접속장치(INTERFACE)(30)로 구성되는 시스템에 적용되는데, 상기 팩시밀리(20)는 시리얼 접속부(Serial Interface)(25)를 구비한 일반 팩시밀리 또는 공지의 송신전용 팩시밀리이다.As shown in the figure, the present invention is a facsimile 20 connected to a public communication network (PSTN), and is generally widely used and is connected between a personal computer 10 and the facsimile and personal computer (INTERFACE) ( 30). The facsimile 20 is a general facsimile with a serial interface 25 or a known transmit only facsimile.
그리고 상기 퍼스널 컴퓨터(10)는 확장 메모리(14)로서 20M 바이트 이상의 하드디스크(HARD DISK)와 RS232C 접속부(11)를 구비한 범용의 컴퓨터로서 이미 널리 보급된 IBM PC/AT(등록상표임) 또는 그 호환기종으로 구성함이 바람직하다.The personal computer 10 is a general-purpose computer having a hard disk (HARD DISK) of 20M bytes or more and an RS232C connection portion 11 as an expansion memory 14, or a widely used IBM PC / AT (registered trademark) or It is preferable to comprise the compatible model.
또한, 상기 접속장치(30)는 팩시밀리(20)의 시리얼 접속부(25)에 접속되는 송.수신접속부(31)와, 상기 송.수신 접속부에 연결된 절환회로부(32)와, 컴퓨터(10)의 RS232C 접속부(11)에 접속되는 컴퓨터 접속부(36)와, 상기 절환회로부 및 컴퓨터 접속부에 연결된 접속제어부(33)와, 상기 절환회로부, 컴퓨터 접속부 및 접속제어부에 각각 연결되는 접속메모리부(34) 및 버퍼부(35)를 구비한 것으로서, 송.수신 접속부(31)는 팩시밀리(20)로부터 부호화된 화상정보와 제어신호를 입력하여 절환회로부(32)에 인가하거나, 컴퓨터(10)측으로부터 상기 절환회로부(32)를 통해 입력되는 화상정보와 제어신호를 팩시밀리(20) 측으로 인가하는 것으로서 도면에 도시한 바와같이 수신접속부(31a)와 송신접속부(31b)로 구성된다.In addition, the connection device 30 includes a transmission / reception connection part 31 connected to the serial connection part 25 of the facsimile 20, a switching circuit part 32 connected to the transmission / reception connection part, and a computer 10. A computer connection portion 36 connected to an RS232C connection portion 11, a connection control portion 33 connected to the switching circuit portion and a computer connection portion, a connection memory portion 34 connected to the switching circuit portion, a computer connection portion and a connection control portion, respectively; The buffer 35 is provided, and the transmission / reception connection unit 31 inputs the image information and the control signal encoded from the facsimile 20 to be applied to the switching circuit unit 32 or the switching from the computer 10 side. As shown in the drawing, the image information and the control signal input through the circuit unit 32 are applied to the facsimile 20. The receiving connection unit 31a and the transmission connection unit 31b are formed.
절환회로부(32)는 컴퓨터(10)의 제어신호에 의해 송신접속부(31b) 또는 수신 접속부(31a)를 선택 절환(Switching)하여 화상정보의 입출력 방향을 결정한다.The switching circuit part 32 selects and switches the transmission connection part 31b or the reception connection part 31a according to the control signal of the computer 10, and determines the input / output direction of image information.
그리고, 상기 접속제어부(33), 접속메모리부(34), 및 버퍼부(35)는 컴퓨터 접속부(36)를 통하여 입력되는 신호중 문서 정보(화상데이타)를 일시저장한 후에 화상 정보로 전개하여 이를 팩시밀리의 송신장치(10)에서 직접 전송할 수 있는 화상정보로 부호화한다. 또한, 팩시밀리 송신장치 또는 팩시밀리 수신장치에서 전송되어온 화상정보를 일시 저장하였다가 컴퓨터 접속부(36)를 통하여 컴퓨터로 전송하는 등의 내부 정보처리 절차를 결정하여 제어하는 기능을 담당한다.The connection control section 33, the connection memory section 34, and the buffer section 35 temporarily store document information (image data) among signals input through the computer connection section 36, and then expand the image information into image information. Encoding is made into image information which can be directly transmitted by the facsimile transmitter 10. In addition, it is responsible for determining and controlling an internal information processing procedure such as temporarily storing image information transmitted from a facsimile transmitting apparatus or a facsimile receiving apparatus and transmitting the image information to a computer through the computer connection unit 36.
상기 접속제어부(33)는 마이크로 프로세서, 접속메모리부(34)는 폰트 저자용 ROM과 프로그램 저장용 ROM을 사용하여 구성하였다.The connection control unit 33 is a microprocessor, and the connection memory unit 34 is configured using a font author ROM and a program storage ROM.
컴퓨터 접속부(36)는 컴퓨터(3)와의 RS232C 통신을 하기 위한 인터페이스 기능을 담당한다.The computer connection unit 36 is responsible for an interface function for RS232C communication with the computer 3.
그러나, 본 발명을 PC-FAX 시스템 상에서 실행함에 있어서, 상기 컴퓨터(10)에서의 데이타 저장속도가 팩시밀리(20)로부터의 데이타 전송속도 보다 빠를 경우에는 상기의 접속장치(30)를 제거하고 팩시밀리의 시리얼 접속부(25)와 컴퓨터의 RS232C 접속부(11)를 직접 연결하여 사용할 수 있다.However, in carrying out the present invention on a PC-FAX system, when the data storage speed of the computer 10 is faster than the data transmission speed from the facsimile 20, the connection device 30 is removed and the facsimile of the facsimile is removed. The serial connection 25 and the RS232C connection 11 of the computer can be directly connected.
이때, 팩시밀리 측의 일실시예 접속구조를 제2도에 도시하였다. 도면에서 21a는 CPU, 21b는 프로그램 저장용 및 폰트 저장용 ROM, 21c는 버퍼메모리인 RAM, 21d는 어드레스 디코더로서 팩시밀리 제어부의 구성요부이고, 23a는 모뎀으로서 모뎀 및 망제어부의 구성요부이며, 25a는 UART(Universal Asyncronous Receiver Transmitter)로서 컴퓨터 시스템 접속부의 구성요부이다.At this time, an embodiment connection structure of the facsimile side is shown in FIG. In the figure, 21a is a CPU, 21b is a ROM for program storage and font storage, 21c is a RAM which is a buffer memory, 21d is a component of a facsimile control unit as an address decoder, 23a is a component of a modem and a network control unit as a modem, 25a UART (Universal Asyncronous Receiver Transmitter) is a component of the computer system connection.
상기 CPU(21a)는 팩시밀리의 전반적인 동작을 제어하는 프로세서이고, 상기 ROM(21b)은 어드레서 버스, 데이타 버스 및 제어버스에 연결되어 있으며 확장 가능한 것으로서 프로그램 저장용 ROM과 폰트저장용 ROM을 분리하여 구성할 수도 있으나 본 실시예에서는 하나의 EPROM을 사용하여 구성하였다. 상기 RAM(21c)도 상기 어드레스 버스, 데이타 버스 및 제어버스에 연결되어 있으며, 확장 가능한 것으로서 본 실시예에서는 256K SRAM을 사용하여 구성하였다. 여기에서 상기 CPU(20a), ROM(21b), 및 RAM(21c)은 이들 기능을 포함하고 있는 원 칩 CPU로 대체 할 수도 있으며, 이 경우 버퍼 메모리의 용량이 부족할시 외부에 상기한 바와같은 RAM을 부가하여 그 용량을 확장할 수 있다.The CPU 21a is a processor for controlling the overall operation of the facsimile, and the ROM 21b is connected to an address bus, a data bus, and a control bus, and is expandable to separate a program storage ROM and a font storage ROM. It may be configured, but in this embodiment, it is configured using one EPROM. The RAM 21c is also connected to the address bus, data bus, and control bus, and is expandable and constructed using 256K SRAM in this embodiment. Here, the CPU 20a, the ROM 21b, and the RAM 21c may be replaced by a one-chip CPU including these functions. In this case, when the capacity of the buffer memory is insufficient, the RAM as described above is externally present. The capacity can be extended by adding.
모뎀(23a)은 상기 데이타 버스 및 제어버스에 연결되어 있으며 공중통신망의 회선과 접속되는 것이다. UART(25a)는 상기 데이타버스 및 제어버스에 연결되어 있으며 컴퓨터 측에 접속된다. 그리고 어드레스 디코더(21d)는 상기 어드레스 버스에 입력단이 연결되어 있고 상기의 ROM, RAM, 모뎀, 및 UART에 출력단이 연결되어 입력 어드레스에 따라 선택한다.The modem 23a is connected to the data bus and the control bus and is connected to the line of the public communication network. The UART 25a is connected to the data bus and the control bus and is connected to the computer side. The address decoder 21d has an input connected to the address bus, and an output connected to the ROM, RAM, modem, and UART.
제3도는 본 발명의 흐름도로서, PC의 주제어부(12)가 RS232C 접속부(11)를 통해 자신과 연결된 FAX(20)로부터 입력되는 화상데이타를 하드디스크(14)에 저장하는 과정을 나타낸 것이다.3 is a flowchart of the present invention, which shows the process of the main controller 12 of the PC storing the image data input from the FAX 20 connected thereto via the RS232C connection unit 11 to the hard disk 14.
사용자가 PC(10)와 FAX(20)를 연결한 다음에, 상기 FAX(20)에 원고를 세팅한 후, FAX에서 스캔(SCAN)할 화일이름과, 보통자 또는 작은자등의 원하는 모드를 지정하여 스캔(SCAN)을 요구하면, PC의 주제어부(12)는 상기의 지정된 화일을 오픈시키고(40), FAX(20) 측으로 스캔요구 신호를 송출함과 동시에 타이머(도시하지 않았음)의 타임을 새로이 세트시킨다(41).After the user connects the PC 10 and the FAX 20, sets an original in the FAX 20, and then selects a file name to be scanned (SCAN) in FAX and a desired mode such as ordinary or small characters. If a scan is requested by designating, the main controller 12 of the PC opens the designated file (40), sends a scan request signal to the FAX 20 side, and at the same time the timer (not shown) The time is newly set (41).
그리고나서, 상기의 세트된 시간동안 스캔 인식 비트 및 어보트 비트의 세트 여부를 판단한다(42, 43). 여기에서 상기 스캔 인식 비트는 제4도의 RS232C 인터럽트에 대한 수행 설명에서 나타낸 바와같이 FAX(20)가 PC의 스캔 요구를 받아들인다는 확인 신호에 의해 세트되는 것이고, 상기 어보트 비트는 FAX(20)가 스캔 불가능 상태임을 PC(10)로 알림으로써 세트되는 것이다. 따라서 스캔인식 비트가 세트되어 있으면 원하는 모드를 상기 FAX(20)로 전송하고, 타임을 새로이 세트시킨다(45). 그리고 어보트 비트가 세트되어 있으면 열어 놓은 화일을 닫고 사용자에게 메세지를 출력하는 등의 스캔에러 처리를 수행한 후(46) 종료된다. 또한, 상기의 스캔 인식 비트 또는 어보트 비트가 세트되어 있지 않은 상태로 타이머의 세팅된 시간이 0으로 되면 열어 놓은 화일을 닫고 타임에러 처리를 한다(49).Then, it is determined whether the scan recognition bit and the abort bit are set for the set time (42, 43). Here, the scan recognition bit is set by an acknowledgment signal that the FAX 20 accepts a scan request from the PC as shown in the performance description for the RS232C interrupt in FIG. 4, and the abort bit is set by the FAX 20. Is set by notifying the PC 10 that the scan state is impossible. Therefore, if the scan recognition bit is set, the desired mode is transmitted to the FAX 20, and a new time is set (45). If the abort bit is set, the process is terminated after performing a scan error process such as closing the open file and outputting a message to the user (46). In addition, when the set time of the timer becomes 0 while the scan recognition bit or the abort bit is not set, the opened file is closed and time error processing is performed (49).
그리고 상기 모드 전송 수행(45)후 세트된 시간동안 모드 인식 비트의 세트 여부를 판단한다(47). 이때 판단되는 모드 인식비트는 FAX(20)로부터의 모드 인식 확인 신호를 수신했을때 세트되는 것이다. 이때에도 역시 상기의 모드 전송시 설정된 시간동안 모드 인식 비트가 세트되지 않으면(48), 상기한 바와같은 타임에러 처리를 주행한다(49).Then, it is determined whether the mode recognition bit is set for the set time after performing the mode transmission 45 (47). The mode recognition bit determined at this time is set when the mode recognition confirmation signal from the FAX 20 is received. In this case, too, if the mode recognition bit is not set for the set time during the mode transmission (48), the above-described time error processing is run (49).
상기의 모드 인식 비트가 세트되어 있으면(47), 페이지 끝 비트, 화일 끝 비트, 어보트 비트 중 어느것이 세트되어 있는지 판단하고(50, 55, 60) 그에 해당하는 처리를 수행하게 되는데, 상기의 어떠한 비트도 세트되어 있지 않으면 버퍼(PC의 주기억장치(13)에 해당함)에 데이타가 존재하는지 확인하여(63) 있으면 하드디스크에 계속적으로 저장한다(64).If the mode recognition bit is set (47), it is determined which one of the page end bit, the file end bit, and the abbot bit is set (50, 55, 60), and the corresponding processing is performed. If none of the bits are set, it is checked whether data exists in the buffer (corresponding to the main memory device 13 of the PC) (63), and if there is any data, it is continuously stored in the hard disk (64).
상기의 판단과정(50, 55, 50)에서 페이지 끝 비트가 세트되어 있으면(50) FAX(20)측으로 페이지 끝 인식 신호를 전송하고(51) 버퍼에 데이타가 존재하는지 검색하여(52) 하드디스크에 저장한 후(53), 현재 페이지의 화일을 닫고 다음 페이지에 할당된 화일을 오픈시킨다. 그리고 다음 페이지에 대한 상기 과정의 수행을 반복하기 위해 상기의 모드 세트되어 있는 인식 비트 및 페이지 끝 비트를 클리어 시키고(54) 다시 모드 전송 및 타임세트 수행단계(45)로 진행한다.If the end-of-page bit is set (50) in the above-described determination process (50), the end-of-page recognition signal is transmitted to the FAX 20 (51) and the data is searched for in the buffer (52). (53), closes the file on the current page and opens the file assigned to the next page. In order to repeat the above process for the next page, the mode set recognition bit and the page end bit are cleared (54), and the mode transfer and timeset execution step 45 is performed.
그리고, 상기의 판단 과정(50, 55, 60)에서 화일 끝 비트가 세트되어 있으면( 55) FAX(20)측으로 화일 끝 인식 신호를 전송하고(56), 버퍼에 데이타가 존재하는지 검색하여(57) 하드디스크에 저장한 후(58), 화일을 닫고(59), 상기의 스캔 인식 비트를 클리어시켜(62) 수행을 종료한다.If the file end bit is set in the determination process (50, 55, 60) (55), the file end recognition signal is transmitted to the FAX 20 (56), and the data is searched for in the buffer (57). ) After the data has been stored in the hard disk (58), the file is closed (59), and the scan recognition bit is cleared (62).
반면에 상기의 판단 과정(50, 55, 60)에서 어보트 비트가 세트되어 있으며(60), 사용하던 화일을 닫고 어보트 에러처리를 수행한후(61), 스캔 인식 비트를 클리어시켜(62) 수행을 종료한다.On the other hand, in the determination process (50, 55, 60), the abort bit is set (60), after closing the file used and performing abort error processing (61), and clearing the scan recognition bit (62). Terminate execution.
제4도는 본 발명에서의 RS232C 인터럽트에 대해 수행 흐름도로서, 상기 제3도의 경우와는 달리 컴퓨터 주메모리부(13)의 RAM에 상주시켜 컴퓨터 주제어부(12)의 인터럽트 처리에 의해 백 그라운드(BACK GROUND) 처리하도록 한다.FIG. 4 is a flowchart showing RS232C interrupt in the present invention, and unlike the case of FIG. 3, it resides in the RAM of the computer main memory unit 13 and is interrupted by the interrupt processing of the computer main control unit 12. GROUND).
RS232C 접속부(11)를 통해 FAX(20)측으로부터 데이타가 입력되면(70) PC의 주제어부(12)에서는 수신된 데이타가 명령 데이타인가 판단하고(71) 명령데이타이면 상기 명령데이타가 구체적으로 어떤 명령데이타인가 판단하여, 즉 스캔인식(74), 모드인식(76), 페이지 끝 인식(78), 화일 끝 인식(80), 또는 어보트 명령(82)중 어느 것에 해당하는지 판단하여 해당되는 명령의 비트를 세트시키게 되는데(75, 77, 79, 81, 83), 스캔 인식 비트, 모드 인식 인식 비트, 또는 페이지 끝 인식 비트가 세트된 경우(75, 77, 79)는 다시 처음의 데이타 수신 대기 단계로 진행하고, 화일 끝 비트 세트 또는 어보트 비트 세트의 경우(81, 83)는 그 수행을 중지시킨다.When data is input from the FAX 20 side through the RS232C connection unit 11 (70), the main controller 12 of the PC determines whether the received data is command data (71). Determine whether the command data, that is, scan recognition 74, mode recognition 76, end of page recognition 78, end of file recognition 80, or abort command 82 to determine the corresponding command Bit of (75, 77, 79, 81, 83), if the scan recognition bit, the mode recognition bit, or the end-of-page recognition bit is set (75, 77, 79) again waiting for the first data reception Proceeding to step, the case of the file end bit set or the abort bit set (81, 83) stops the execution.
제5도는 본 발명에서의 타임 인터럽트 수행 흐름도로서, 상기 제2도의 설명된 타이머에 타임이 세트되면 이를 단순히 감소시킬 뿐(90, 91) 별도의 에러처리를 하지 않는다.FIG. 5 is a flowchart of performing time interrupts in the present invention. When time is set in the timer described in FIG. 2, the time is simply reduced (90, 91) and no error processing is performed.
상기한 바와같은 PC측 제어 흐름에 의한 화상 데이타 스캔의 일실시예로서, 자신(10)과 연결된 FAX(20)를 통해 3페이지 분량의 화상정보를 스캔하는 과정을 살펴보면 다음과 같다.As an embodiment of the image data scan by the PC-side control flow as described above, a process of scanning the three pages of image information through the FAX 20 connected to itself 10 as follows.
사용자가 상기 PC(10)와 FAX(20)를 연결한 후, FAX(20)에 제1페이지의 원고를 세팅하고 PC에서 스캔할 화일 이름(SCAN)과 원하는 모드는 지정하여 PC측으로 스캔(SCAN)을 요구하게 되면, PC는 FAX로 스캔 요구신호를 전송한다(41). 그리고나서 스캔 인식 비트가 세트되어 있는가 판단하고(42), FAX측으로 모드를 전송하여(45) 상기 FAX로부터 모드 인식 신호가 수신되어 모드 인식 비트가 세트될때 까지 대기하다가 상기 모드인식 비트가 제트된 후(74, 75) 셋팅된 제1페이지의 원고 화상을 하드디스크의 지정된 화일(SCAN.001)에 저장하기 시작한다(63, 64). 이때 FAX는 원고의 화상을 읽어 팩시밀리 포맷(FAX FORMAT)으로 코팅한 다음 다른 FAX로 전송할때와 마찬가지로 PC(10)로 전송한다.After the user connects the PC 10 and the FAX 20, the document on the first page is set in the FAX 20, and the file name (SCAN) and the desired mode to be scanned on the PC are specified and scanned to the PC side (SCAN). If a request is made, the PC transmits a scan request signal to the fax (41). Then, it determines whether the scan recognition bit is set (42), transmits the mode to the FAX side (45), waits until the mode recognition signal is received from the FAX and the mode recognition bit is set, and then the mode recognition bit is jetted. (74, 75) It starts to store the set original image of the first page in the designated file (SCAN. 001) of the hard disk (63, 64). At this time, the FAX reads an image of the original and coats it in a facsimile format (FAX FORMAT) and transmits it to the PC 10 as in the case of other FAX transmission.
상기 FAX로부터 페이지 끝 신호가 입력되어 페이지 끝 비트가 세트되면(78, 79), 상기 PC에서는 페이지 끝 인식 신호를 FAX 측으로 전송하고(51) 버퍼에 존재하는 데이타를 하드디스크의 지정된 화일에 저장한 후(52, 53), 현재의 화일을 닫고, 다음 페이지(제2페이지)에 할당된 화일(SCAN.002)을 오픈 시킨후(54), 다시 모드전송(45)로부터 반복 수행하여 제2페이지의 화상 데이타를 하드디스크의 지정된 화일(SCAN.002)에 저장한다.When a page end signal is input from the FAX and a page end bit is set (78, 79), the PC transmits a page end recognition signal to the FAX side (51) and stores data in the buffer in a designated file on the hard disk. Afterwards (52, 53), the current file is closed, the file (SCAN.002) assigned to the next page (page 2) is opened (54), and the second page is repeatedly executed from the mode transfer (45). Image data is stored in a specified file (SCAN.002) on the hard disk.
이와 마찬가지로 제3페이지(마지막 페이지 임)까지 수신되는 화상 데이타를 지정된 화일(SCAN.003)에 저장하게 되는데, 상기의 FAX가 PC측으로 화일 끝 신호를 송출하게 되면, PC측에서 이 신호를 받고서, 현재 버퍼에 있는 데이타까지 하드디스크의 지정된 화일(SCAN.003)에 저장한 후(57, 58), 화일을 닫고나서(59) 스캔인식 비트를 클리어시켜(62) 수행을 종료한다.Similarly, the image data received up to the third page (the last page) is stored in the designated file (SCAN.003). When the FAX sends the file end signal to the PC side, the PC side receives this signal. After the data in the current buffer is stored in the designated file (SCAN.003) of the hard disk (57, 58), the file is closed (59), and the scan recognition bit is cleared (62) to end the execution.
상술한 바와같이 본 발명은 PC에서 FAX를 이용하여 화상데이타를 스캔할 수 있으므로 별도의 스캐너를 필요로 하지 않으며, 외부로의 전송등에 필요한 화상을 한번 읽어 저장하고 나면 저장된 화일을 지우지 않는 한 필요한 여러 곳으로 전송할 수 있도록 하며, 편집기능도 실현할 수 있도록 하는 효과를 갖는다.As described above, the present invention does not require a separate scanner because it can scan image data using a FAX on a PC. It has the effect of making it possible to send it to a place and to realize the editing function.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019910015647A KR940006095B1 (en) | 1991-09-07 | 1991-09-07 | Picture data scanning method for computer-fax system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019910015647A KR940006095B1 (en) | 1991-09-07 | 1991-09-07 | Picture data scanning method for computer-fax system |
Publications (2)
Publication Number | Publication Date |
---|---|
KR930007173A KR930007173A (en) | 1993-04-22 |
KR940006095B1 true KR940006095B1 (en) | 1994-07-06 |
Family
ID=19319704
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019910015647A KR940006095B1 (en) | 1991-09-07 | 1991-09-07 | Picture data scanning method for computer-fax system |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR940006095B1 (en) |
-
1991
- 1991-09-07 KR KR1019910015647A patent/KR940006095B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR930007173A (en) | 1993-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3529206B2 (en) | Printing device job processing method | |
JPH08297528A (en) | Data communication device | |
JP3529205B2 (en) | Printing equipment | |
US5576846A (en) | Document processing apparatus | |
KR930006826B1 (en) | Laser printer for fax | |
KR940006095B1 (en) | Picture data scanning method for computer-fax system | |
JP2755157B2 (en) | Facsimile machine | |
EP0865191B1 (en) | Facsimile machine | |
KR940007677B1 (en) | Storage image printing method for computer-fax system | |
KR940007676B1 (en) | Storage image transmission method for computer-fax system | |
KR930010142B1 (en) | Picture data receiving method for computer-fax system | |
JP3267491B2 (en) | Document processing device with facsimile function | |
JP3115702B2 (en) | Network type document management system | |
KR940008795B1 (en) | Fax control method of image data scan for computer fax system | |
KR940005255B1 (en) | Fax control method of image data printing for computer-fax system | |
JP3163304B2 (en) | Encoding / decoding method | |
KR100280177B1 (en) | Method for Checking a Last Portion of Reading Data | |
KR930002194B1 (en) | Fax-computer connecting device | |
JP2906425B2 (en) | Mode switching method for digital copier | |
KR940002972B1 (en) | Computer system connecting circuit for fax | |
JP2878430B2 (en) | Communication terminal device | |
JP3169744B2 (en) | Image communication device | |
JPH07273915A (en) | Image processor | |
KR930015628A (en) | Facsimile Control Method for Computer File Transmission in Computer-Facsimile Access System | |
KR930015629A (en) | Facsimile Control Method for Receiving Image Data in Computer-Facsimile Access System |
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: 19970705 Year of fee payment: 6 |
|
LAPS | Lapse due to unpaid annual fee |