[go: up one dir, main page]

CN100418073C - High-speed printing control device and control method with two independent buffer memories - Google Patents

High-speed printing control device and control method with two independent buffer memories Download PDF

Info

Publication number
CN100418073C
CN100418073C CNB2006100888418A CN200610088841A CN100418073C CN 100418073 C CN100418073 C CN 100418073C CN B2006100888418 A CNB2006100888418 A CN B2006100888418A CN 200610088841 A CN200610088841 A CN 200610088841A CN 100418073 C CN100418073 C CN 100418073C
Authority
CN
China
Prior art keywords
buffer memory
buffer
output
input
selector
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CNB2006100888418A
Other languages
Chinese (zh)
Other versions
CN1900920A (en
Inventor
温晓辉
刘志红
陈�峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Peking University
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University
Beijing Founder Electronics Co Ltd
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 Peking University, Beijing Founder Electronics Co Ltd filed Critical Peking University
Priority to CNB2006100888418A priority Critical patent/CN100418073C/en
Publication of CN1900920A publication Critical patent/CN1900920A/en
Application granted granted Critical
Publication of CN100418073C publication Critical patent/CN100418073C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

The present invention belongs to the field of printer control technology, and is one printer control device with two independent buffer memories and its control method. The printer control device has two independent buffer memories for storing printed data, one input buffer selector for controlling the storage of the printed data in different buffer memories, one output buffer selector for controlling the data output circuit to obtain printed data from different buffer memories, one control signal generator for controlling the input buffer selector and the output buffer selector, one data receiving circuit for receiving printed data, and one data output circuit for outputting printed data. The high speed printer control device of the present invention has relaxed bandwidth requirement on each of the buffer memories, simplified circuit board design, reduced mutual interference between high speed devices and raised printer control device quality.

Description

带有两个独立缓冲存储器的高速打印控制装置及控制方法 High-speed printing control device and control method with two independent buffer memories

技术领域 technical field

本发明属于打印机控制技术领域,具体涉及一种带有两个独立缓冲存储器的高速打印控制装置及控制方法。The invention belongs to the technical field of printer control, and in particular relates to a high-speed printing control device and a control method with two independent buffer memories.

背景技术 Background technique

打印控制装置是一种将接收到的打印数据根据指定的打印要求发送到打印机成像部件(激光打印机机芯或者喷墨喷头)从而形成打印文档的控制装置。为了保证成像部件的动作连续性以及弥补打印控制装置的数据接收速度与成像部件的数据输出速度之间的差异,通常的打印控制装置(见图1)都带有一个用于缓冲打印数据的缓冲存储器。在启动成像部件输出打印数据之前,通常的打印控制装置需要先行接收打印数据保存到缓冲存储器中,等到缓冲存储器中保存的打印数据达到一定的容量(如满足打印一页的数据量)后,打印控制装置启动成像部件,将缓冲存储器中的打印数据根据成像部件的输出速度从缓冲存储器中读出并通过数据输出电路发送到成像部件。在将打印数据从缓冲存储器中读出的过程中,为了提高打印速度,通常的打印控制装置会继续从外界接收打印数据并保存到同一个缓冲存储器中。The printing control device is a control device that sends the received printing data to the printer imaging component (laser printer core or inkjet nozzle) according to the specified printing requirements to form a printed document. In order to ensure the continuity of the action of the imaging component and make up for the difference between the data receiving speed of the printing control device and the data output speed of the imaging component, the usual printing control device (see Figure 1) has a buffer for buffering printing data. memory. Before starting the imaging unit to output the print data, the usual print control device needs to receive the print data and save them in the buffer memory, and wait until the print data stored in the buffer memory reaches a certain capacity (such as the amount of data required to print one page). The control device activates the imaging unit, reads the print data in the buffer memory from the buffer memory according to the output speed of the imaging unit, and sends it to the imaging unit through the data output circuit. During the process of reading the print data from the buffer memory, in order to increase the printing speed, a common print control device will continue to receive print data from the outside and store it in the same buffer memory.

上述通常的打印控制装置中接收打印数据和输出打印数据使用同一个缓冲存储器,在宽幅打印或者高速打印等打印数据吞吐率很高的情况下,采用这种缓冲存储器结构的打印控制装置就对所使用缓冲存储器的数据接口带宽提出了极高的要求。例如对于打印分辨率为600dpi、2位灰度级、打印速度为300ppm的彩色打印机,打印控制装置接收打印数据的速度和输出打印数据的速度都将达到每秒320M Bytes,如果需要采用接收打印数据和输出打印数据并行进行的方式来保证连续打印的话,由于数据输入电路和数据输出电路同时使用同一个缓冲存储器,缓冲存储器同时作为当前的输入缓冲存储器和当前的输出缓冲存储器,这样缓冲存储器的数据接口的带宽必须达到每秒640M Bytes以上。在现有的技术条件下,要使缓冲存储器的数据接口的带宽达到如此高的速度将受到板卡设计困难、缓冲存储器制造困难、缓冲存储器控制电路复杂以及高速器件相互干扰严重等因素的制约而导致打印控制装置成品率降低,提高了打印控制装置的成本。In the above-mentioned common printing control device, the same buffer memory is used for receiving print data and outputting print data. In the case of high throughput rate of print data such as wide-format printing or high-speed printing, the print control device adopting this buffer memory structure can The data interface bandwidth of the buffer memory used places extremely high demands. For example, for a color printer with a printing resolution of 600dpi, 2-bit grayscale, and a printing speed of 300ppm, the printing control device can receive and output printing data at a speed of 320M Bytes per second. If the printing data is output in parallel to ensure continuous printing, since the data input circuit and the data output circuit use the same buffer memory at the same time, the buffer memory is also used as the current input buffer memory and the current output buffer memory, so the data in the buffer memory The bandwidth of the interface must reach more than 640M Bytes per second. Under the existing technical conditions, to make the bandwidth of the data interface of the buffer memory reach such a high speed will be restricted by factors such as the difficulty of board design, the difficulty of manufacturing the buffer memory, the complexity of the control circuit of the buffer memory, and the serious mutual interference of high-speed devices. As a result, the yield of the printing control device is reduced, and the cost of the printing control device is increased.

图1是通常的采用单一缓冲存储器的打印控制装置中打印数据的接收、缓冲和输出部分的结构框图,其中的缓冲存储器接口控制电路53通过控制信号54和输入/输出数据总线55实现对缓冲存储器51的读/写操作。这种打印控制装置在并行接收打印数据和输出打印数据时,数据接收电路50将接收的打印数据通过缓冲存储器接口控制电路53保存到缓冲存储器51中,与此同时,数据输出电路52通过缓冲存储器接口控制电路53从缓冲存储器51中读取有效的打印数据输出到成像部件。Fig. 1 is the structural block diagram of the receiving, buffering and outputting part of print data in the printing control device that generally adopts a single buffer memory, wherein the buffer memory interface control circuit 53 realizes to the buffer memory through the control signal 54 and the input/output data bus 55 51 read/write operations. When this printing control device receives and outputs print data in parallel, the data receiving circuit 50 saves the received print data into the buffer memory 51 through the buffer memory interface control circuit 53, and at the same time, the data output circuit 52 passes through the buffer memory The interface control circuit 53 reads valid print data from the buffer memory 51 and outputs it to the imaging component.

这种缓冲存储器同时作为输入缓冲存储器和输出缓冲存储器的缓冲存储器控制结构使得缓冲存储器接口控制电路53必须在对缓冲存储器51的读操作和对缓冲存储器51的写操作之间频繁切换,进而导致缓冲存储器接口控制电路53与缓冲存储器之间的控制信号54和输入/输出数据总线55的工作频率必须在单一的缓冲存储器写操作(或者读操作)的工作频率的两倍以上。在高速打印的情况下,这将导致缓冲存储器接口控制电路53、缓冲存储器51以及两者之间的控制信号54和数据总线55必须工作在极高的工作频率,面临高频控制电路设计困难、实际的板卡设计约束过高以及高频器件相互干扰等问题,从而导致实际的打印控制装置成品率降低,进而提高了打印控制装置的成本。This buffer memory is used as the buffer memory control structure of the input buffer memory and the output buffer memory at the same time, so that the buffer memory interface control circuit 53 must frequently switch between the read operation to the buffer memory 51 and the write operation to the buffer memory 51, thereby causing buffering. The operating frequency of the control signal 54 between the memory interface control circuit 53 and the buffer memory and the I/O data bus 55 must be more than twice the operating frequency of a single buffer memory write operation (or read operation). In the case of high-speed printing, this will cause the buffer memory interface control circuit 53, the buffer memory 51, and the control signal 54 and the data bus 55 between the two must work at a very high operating frequency, facing difficulties in designing high-frequency control circuits, The actual board design constraints are too high and high-frequency devices interfere with each other, which leads to a decrease in the yield of the actual printing control device, thereby increasing the cost of the printing control device.

发明内容 Contents of the invention

本发明的目的在于针对上述采用一个缓冲存储器的打印控制装置存在的缺陷,提供一种能够有效的提高打印速度且成本较低的打印控制装置及控制方法。The object of the present invention is to provide a printing control device and a control method that can effectively increase the printing speed and have a lower cost in view of the defects of the above-mentioned printing control device using a buffer memory.

本发明的目的是这样实现的:The purpose of the present invention is achieved like this:

一种带有两个独立缓冲存储器的高速打印控制装置,所述打印控制装置带有两个完全独立的缓冲存储器,两个缓冲存储器分别与用于控制将输入的打印数据存入不同的缓冲存储器的输入缓冲选择器和用于控制从不同的缓冲存储器中获得打印数据的输出缓冲选择器连接,用于产生两个用来分别控制独立缓冲选择器的控制信号的控制信号发生器分别与输入缓冲选择器和输出缓冲选择器连接,输入缓冲选择器连接用于接收打印数据的数据接收电路,输出缓冲选择器连接用于输出打印数据的数据输出电路。A high-speed print control device with two independent buffer memories, the print control device has two completely independent buffer memories, and the two buffer memories are respectively used to control the storage of input print data into different buffer memories The input buffer selector is connected with the output buffer selector used to control the printing data obtained from different buffer memories, and the control signal generator used to generate two control signals used to separately control the independent buffer selector is connected with the input buffer respectively. The selector is connected to the output buffer selector, the input buffer selector is connected to the data receiving circuit for receiving printing data, and the output buffer selector is connected to the data output circuit for outputting printing data.

进一步来说,上述装置中,所述的输入缓冲选择器包括一个与输入数据接口电路的输出端相连接的单路输入双路输出选择电路,该单路输入双路输出选择电路的输出端与两个独立的缓冲存储器控制电路连接。Further, in the above device, the input buffer selector includes a single-input dual-output selection circuit connected to the output end of the input data interface circuit, and the output end of the single-input dual-output selection circuit is connected to the Two independent buffer memory control circuits are connected.

所述的输出缓冲选择器包括一个与机芯接口控制电路的输入端相连接的双路输入单路输出选择电路,该双路输入单路输出选择电路的输入端与两个独立的缓冲存储器控制电路连接。The output buffer selector includes a dual-input single-output selection circuit connected to the input end of the movement interface control circuit, and the input end of the dual-input single-output selection circuit is connected to two independent buffer memories. circuit connection.

所述的两个完全独立的缓冲存储器的输入端分别与输入缓冲选择器的两个独立的缓冲存储器控制电路连接。The input terminals of the two completely independent buffer memories are respectively connected to the two independent buffer memory control circuits of the input buffer selector.

所述的两个完全独立的缓冲存储器的输出端分别与输出缓冲选择器的两个独立的缓冲存储器控制电路连接。The output terminals of the two completely independent buffer memories are respectively connected to the two independent buffer memory control circuits of the output buffer selector.

在本发明的打印控制装置中,两个缓冲存储器分别完全独立地与输入缓冲选择器和输出缓冲选择器进行数据传输,两个缓冲存储器之间没有任何控制信号或者数据总线之间的连接。In the printing control device of the present invention, the two buffer memories perform data transmission with the input buffer selector and the output buffer selector completely independently, without any control signal or data bus connection between the two buffer memories.

为了能够在保证打印速度的前提下达到降低对缓冲存储器的带宽要求的目的,本发明所述的打印控制装置的控制方法,包括如下控制过程:In order to achieve the purpose of reducing the bandwidth requirements of the buffer memory under the premise of ensuring the printing speed, the control method of the printing control device according to the present invention includes the following control process:

先将缓冲存储器A(12)作为当前输入缓冲存储器,将第一页的打印数据存入缓冲存储器A(12)中,在接收完第一页的打印点阵数据后,选择缓冲存储器A(12)作为当前输出缓冲存储器,从缓冲存储器A(12)中读出第一页的打印数据输出到成像部件开始打印;在开始输出第一页的打印数据的同时,将缓冲存储器B(15)作为当前输入缓冲存储器,将第二页的打印数据存放到缓冲存储器B(15)中;在完成了第一页的打印数据的输出和第二页的打印数据的输入以后,将缓冲存储器B(15)作为当前输出缓冲存储器,并将缓冲存储器A(12)作为当前输入缓冲存储器,这样从缓冲存储器B(15)中读出第二页的打印数据继续输出并接收第三页的打印数据存入缓冲存储器A(12)中,如此循环,使缓冲存储器A(12)和缓冲存储器B(15)轮流作为当前输入缓冲存储器和当前输出缓冲存储器,直至打印结束。First use the buffer memory A (12) as the current input buffer memory, store the print data of the first page in the buffer memory A (12), after receiving the printing dot matrix data of the first page, select the buffer memory A (12 ) as the current output buffer memory, read the print data of the first page from the buffer memory A (12) and output to the imaging component to start printing; while starting to output the print data of the first page, use the buffer memory B (15) as The current input buffer memory stores the print data of the second page in the buffer memory B (15); ) as the current output buffer memory, and buffer memory A (12) as the current input buffer memory, read the print data of the second page from the buffer memory B (15) and continue to output and receive the print data of the third page into In the buffer memory A (12), such circulation makes the buffer memory A (12) and the buffer memory B (15) take turns as the current input buffer memory and the current output buffer memory until the printing is finished.

如上所述,在整个的打印过程中,通过控制信号发生器对于输入缓冲选择器和输出缓冲选择器的控制,缓冲存储器A(12)和缓冲存储器B(15)将轮流作为当前输入缓冲存储器和当前输出缓冲存储器,并且当前输入缓冲存储器在接收一页打印数据输入的过程中不需要同时支持打印数据的输出,而当前输出缓冲存储器在输出一页打印数据的过程中不需要同时支持打印数据的输入。As mentioned above, in the whole printing process, through the control of the input buffer selector and the output buffer selector by the control signal generator, buffer memory A (12) and buffer memory B (15) will take turns as the current input buffer memory and buffer memory The current output buffer memory, and the current input buffer memory does not need to support the output of print data at the same time during the process of receiving a page of print data input, and the current output buffer memory does not need to support the output of print data at the same time during the process of outputting a page of print data enter.

本发明的效果在于:由于采用上述的控制结构以及控制流程,本发明所描述的打印控制装置不仅能够完全满足接受打印数据和输出打印数据并行的打印机不停机高速打印的要求,更重要的是由于采用了两个完全独立的缓冲存储器以及附属的控制机构,每一个缓冲存储器在作为当前输入缓冲存储器接收一页打印数据输入的过程中不需要同时支持打印数据的输出,而在作为当前输出缓冲存储器输出一页打印数据的过程中也不需要同时支持打印数据的输入。这样对于每个缓冲存储器的带宽要求将降低到采用单一缓冲存储器的一半,在很大程度上降低了板卡设计的困难程度,降低了高速器件之间的相互干扰,从而极大提高了打印控制装置的成品率。The effect of the present invention is that: due to the adoption of the above-mentioned control structure and control flow, the printing control device described in the present invention can not only fully meet the requirements of non-stop high-speed printing of printers that accept print data and output print data in parallel, but more importantly, because Two completely independent buffer memories and the attached control mechanism are adopted, each buffer memory does not need to support the output of print data at the same time when it is used as the current input buffer memory to receive a page of print data input, but when it is used as the current output buffer memory In the process of outputting one page of print data, there is no need to support the input of print data at the same time. In this way, the bandwidth requirements for each buffer memory will be reduced to half of that of a single buffer memory, which greatly reduces the difficulty of board design, reduces the mutual interference between high-speed devices, and thus greatly improves printing control. device yield.

附图说明 Description of drawings

图1是通常采用单一缓冲存储器的打印控制装置的结构框图;Fig. 1 is a structural block diagram of a printing control device that usually adopts a single buffer memory;

图2是本发明所述打印控制装置的结构框图;Fig. 2 is a structural block diagram of the printing control device of the present invention;

图3是本发明实施例的结构框图;Fig. 3 is a structural block diagram of an embodiment of the present invention;

图4是本发明实施例的输入缓冲选择器(11)的电路组成结构框图;Fig. 4 is the block diagram of the circuit composition structure of the input buffer selector (11) of the embodiment of the present invention;

图5是本发明实施例的输出缓冲选择器(13)的电路组成结构框图;Fig. 5 is the block diagram of the circuit composition structure of the output buffer selector (13) of the embodiment of the present invention;

图6是单路输入双路输出选择电路图;Fig. 6 is a single-channel input dual-channel output selection circuit diagram;

图7是双路输入单路输出选择电路图。Fig. 7 is a circuit diagram of dual input and single output selection.

具体实施方式 Detailed ways

下面结合附图和实施例对本发明的具体实施方式作进一步描述。The specific implementation manners of the present invention will be further described below in conjunction with the drawings and examples.

图2是本发明所描述的打印控制装置结构框图。其中输入缓冲选择器11通过控制信号61和输出数据总线60控制对缓冲存储器A12的数据输入,输入缓冲选择器11通过控制信号62和输出数据总线63控制对缓冲存储器B15的数据输入,输出缓冲选择器13通过控制信号65和输入数据总线64控制从缓冲存储器A12中的数据读出,输出缓冲选择器13通过控制信号66和输入数据总线67控制从缓冲存储器B15中的数据读出。缓冲存储器A12和缓冲存储器B15之间没有任何的控制信号之间以及数据总线之间的连接,是两个完全独立的缓冲存储器。Fig. 2 is a structural block diagram of the printing control device described in the present invention. Wherein the input buffer selector 11 controls the data input to the buffer memory A12 through the control signal 61 and the output data bus 60, the input buffer selector 11 controls the data input to the buffer memory B15 through the control signal 62 and the output data bus 63, and the output buffer selector The output buffer selector 13 controls the data reading from the buffer memory A12 through the control signal 65 and the input data bus 64, and the output buffer selector 13 controls the data reading from the buffer memory B15 through the control signal 66 and the input data bus 67. There is no connection between the control signals and data buses between the buffer memory A12 and the buffer memory B15, and they are two completely independent buffer memories.

图3、图4以及图5描述了本发明的具体实施例。所述具体实施例中的CPU控制系统22能够根据所收集到的打印输出信息和数据输入信息来产生控制信号16控制输入缓冲选择器11选择不同的缓冲存储器A12或者缓冲存储器B15来作为当前输入缓冲存储器,同时产生控制信号17控制输出缓冲选择器13选择不同的缓冲存储器A12或者缓冲存储器B15来作为当前输出缓冲存储器。作为打印控制装置的主控系统,CPU控制系统22能够控制缓冲存储器A12和缓冲存储器B15按照本发明所描述的操作流程轮流作为当前输入缓冲存储器和当前输出缓冲存储器,并且能够保证在任意特定的时刻两个缓冲存储器中一个作为当前输入缓冲存储器而另一个作为当前输出缓冲存储器。3, 4 and 5 describe specific embodiments of the present invention. The CPU control system 22 in the specific embodiment can generate a control signal 16 to control the input buffer selector 11 to select different buffer memory A12 or buffer memory B15 as the current input buffer according to the collected printout information and data input information. memory, while generating a control signal 17 to control the output buffer selector 13 to select a different buffer memory A12 or buffer memory B15 as the current output buffer memory. As the main control system of the printing control device, the CPU control system 22 can control the buffer memory A12 and the buffer memory B15 to take turns as the current input buffer memory and the current output buffer memory according to the operation process described in the present invention, and can ensure that at any specific moment One of the two buffers is the current input buffer and the other is the current output buffer.

所述打印控制装置通过高速数据输入接口20高速接收打印数据。输入缓冲选择器11通过控制信号71和输出数据总线70控制将接收到的打印数据存入缓冲存储器A12,输入缓冲选择器11通过控制信号72和输出数据总线73控制将接收到的打印数据存入缓冲存储器B15。输出缓冲选择器13通过控制信号75和输入数据总线74控制从缓冲存储器A12中读取打印数据,输出缓冲选择器13通过控制信号76和输入数据总线77控制从缓冲存储器B15中读取打印数据。CPU控制系统22根据打印数据的输出情况和打印数据的接收情况产生控制信号16控制输入缓冲选择器11选择不同的缓冲存储器作为当前输入缓冲存储器,产生控制信号17控制输出缓冲选择器13选择不同的缓冲存储器作为当前输出缓冲存储器。缓冲存储器A12和缓冲存储器B15之间不存在任何的控制信号之间以及数据总线之间的连接,是两个完全独立的缓冲存储器。The printing control device receives printing data at high speed through the high-speed data input interface 20 . The input buffer selector 11 controls the received print data to be stored in the buffer memory A12 through the control signal 71 and the output data bus 70, and the input buffer selector 11 controls to store the received print data into the buffer memory A12 through the control signal 72 and the output data bus 73. Buffer memory B15. The output buffer selector 13 controls the reading of print data from the buffer memory A12 through the control signal 75 and the input data bus 74 , and the output buffer selector 13 controls the reading of the print data from the buffer memory B15 through the control signal 76 and the input data bus 77 . The CPU control system 22 generates a control signal 16 to control the input buffer selector 11 to select a different buffer memory as the current input buffer memory according to the output of the print data and the reception of the print data, and generates a control signal 17 to control the output buffer selector 13 to select a different buffer memory. The buffer memory is used as the current output buffer memory. There is no connection between the control signals and data buses between the buffer memory A12 and the buffer memory B15, and they are two completely independent buffer memories.

图4为本具体实施例的一个关键电路-输入缓冲选择器11的电路组成结构框图。该选择器的核心部分是一个能够根据输入的控制信号16将输入数据接口电路30接收的数据发送到缓冲存储器控制电路A32或者缓冲存储器控制电路B33的单路输入双路输出选择电路31。当输入的控制信号16为高(低)电平时,单路输入双路输出选择电路31将数据发送到缓冲存储器控制电路A32,再由缓冲存储器控制电路A32根据缓冲存储器的接口时序要求通过控制信号71和输出数据总线70将数据发送到缓冲存储器A12。当输入的控制信号16为低(高)电平时,单路输入双路输出选择电路31将数据发送到缓冲存储器控制电路B33,再由缓冲存储器控制电路B33根据缓冲存储器的接口时序要求通过控制信号72和输出数据总线73将数据发送到缓冲存储器B15。根据图4所示的电路结构,当控制信号16为高电平时输入缓冲选择器11将缓冲存储器A12作为当前输入缓冲存储器,当控制信号16为低电平时输入缓冲选择器11将缓冲存储器B15作为当前输入缓冲存储器;或者,当控制信号16为低电平时,输入缓冲选择器11将缓冲存储器A12作为当前输入缓冲存储器,当控制信号16为高电平时,输入缓冲选择器11将缓冲存储器B15作为当前输入缓冲存储器。通过以上方式,实现了对两个缓冲存储器进行选择的功能。FIG. 4 is a block diagram of a key circuit in this embodiment—the circuit composition and structure of the input buffer selector 11 . The core part of the selector is a single-input dual-output selection circuit 31 capable of sending the data received by the input data interface circuit 30 to the buffer memory control circuit A32 or the buffer memory control circuit B33 according to the input control signal 16 . When the input control signal 16 is at a high (low) level, the single input dual output selection circuit 31 sends the data to the buffer memory control circuit A32, and then the buffer memory control circuit A32 passes the control signal according to the interface timing requirements of the buffer memory 71 and output data bus 70 to send data to buffer memory A12. When the input control signal 16 is low (high) level, the single input dual output selection circuit 31 sends the data to the buffer memory control circuit B33, and then the buffer memory control circuit B33 passes the control signal according to the interface timing requirements of the buffer memory 72 and output data bus 73 to send data to buffer memory B15. According to the circuit structure shown in Figure 4, when the control signal 16 is high level, the input buffer selector 11 uses the buffer memory A12 as the current input buffer memory, and when the control signal 16 is low level, the input buffer selector 11 uses the buffer memory B15 as the current input buffer memory. Current input buffer memory; Or, when control signal 16 is low level, input buffer selector 11 uses buffer memory A12 as current input buffer memory, and when control signal 16 is high level, input buffer selector 11 uses buffer memory B15 as Current input buffer memory. Through the above method, the function of selecting two buffer memories is realized.

图5为本具体实施例的另一个关键电路-输出缓冲选择器13的电路组成结构框图。所述选择器的核心部分是一个能够根据输入的控制信号17从缓冲存储器控制电路C42或者缓冲存储器控制电路D43中读取打印数据并发送到机芯接口控制电路45进行输出的双路输入单路输出选择电路44。缓冲存储器控制电路C42根据接收到的双路输入单路输出选择电路44的读取数据请求通过控制信号75和输入数据总线74从缓冲存储器A12中读取数据发送到双路输入单路输出选择电路44,缓冲存储器控制电路D43根据接收到的双路输入单路输出选择电路44的读取数据请求通过控制信号76和输入数据总线77从缓冲存储器B15中读取数据发送到双路输入单路输出选择电路44。当输入的控制信号17为高(低)电平时,双路输入单路输出选择电路44的读取数据请求将发送给缓冲存储器控制电路C42,当输入的控制信号17为低(高)电平时,双路输入单路输出选择电路44的读取数据请求将发送给缓冲存储器控制电路D43。根据图5所示的电路结构框图,当控制信号17为高电平时输出缓冲选择器13将缓冲存储器A12作为当前输出缓冲存储器,当控制信号17为低电平时输出缓冲选择器13将缓冲存储器B15作为当前输出缓冲存储器,或者,当控制信号17为低电平时,输出缓冲选择器13将缓冲存储器A12作为当前输出缓冲存储器,当控制信号17为高电平时,输出缓冲选择器13将缓冲存储器B15作为当前输出缓冲存储器。通过以上方式,实现了对两个缓冲存储器进行选择的功能。FIG. 5 is a structural block diagram of another key circuit in this embodiment—the output buffer selector 13 . The core part of the selector is a dual-input single-channel that can read print data from the buffer memory control circuit C42 or buffer memory control circuit D43 according to the input control signal 17 and send it to the core interface control circuit 45 for output. Output selection circuit 44 . The buffer memory control circuit C42 reads data from the buffer memory A12 through the control signal 75 and the input data bus 74 according to the received data read request of the dual input single output selection circuit 44 and sends it to the dual input single output selection circuit 44. The buffer memory control circuit D43 reads data from the buffer memory B15 through the control signal 76 and the input data bus 77 according to the received data read request of the dual input single output selection circuit 44 and sends them to the dual input single output Select circuit 44 . When the input control signal 17 is a high (low) level, the read data request of the dual input single output selection circuit 44 will be sent to the buffer memory control circuit C42, when the input control signal 17 is a low (high) level , the read data request of the dual-input single-output selection circuit 44 will be sent to the buffer memory control circuit D43. According to the block diagram of the circuit structure shown in Figure 5, when the control signal 17 is a high level, the output buffer selector 13 uses the buffer memory A12 as the current output buffer memory, and when the control signal 17 is a low level, the output buffer selector 13 uses the buffer memory B15 As the current output buffer memory, or, when the control signal 17 is a low level, the output buffer selector 13 uses the buffer memory A12 as the current output buffer memory, and when the control signal 17 is a high level, the output buffer selector 13 uses the buffer memory B15 as the current output buffer memory. Through the above method, the function of selecting two buffer memories is realized.

图6是本发明单路输入双路输出选择电路图。该电路是利用控制信号16来控制开关驱动器71,而利用控制信号通过反相器70来控制开关驱动器72,这样在控制信号16为高的情况下驱动器71打开而驱动器72关闭,在控制信号16为低的情况下驱动器71关闭而驱动器72打开。这样就实现了对单路输入的双路输出选择。Fig. 6 is a circuit diagram of a single input dual output selection circuit of the present invention. This circuit uses the control signal 16 to control the switch driver 71, and uses the control signal to control the switch driver 72 through the inverter 70, so that when the control signal 16 is high, the driver 71 is turned on and the driver 72 is turned off. When low, driver 71 is off and driver 72 is on. This enables dual output selection to a single input.

图7是本发明双路输入单路输出选择电路图。该电路是利用控制信号17来控制开关驱动器80,而利用控制信号通过反相器81来控制开关驱动器82,这样在控制信号17为高的情况下驱动器81打开而驱动器82关闭,在控制信号17为低的情况下驱动器81关闭而驱动器82打开。这样就实现了对双路输入的单路输出选择。Fig. 7 is a circuit diagram of dual-input single-output selection in the present invention. This circuit uses the control signal 17 to control the switch driver 80, and uses the control signal to control the switch driver 82 through the inverter 81, so that the driver 81 is turned on and the driver 82 is turned off when the control signal 17 is high. When low, driver 81 is off and driver 82 is on. This enables the selection of a single output to a dual input.

Claims (8)

1. 一种带有两个独立缓冲存储器的高速打印控制装置,其特征在于:两个完全独立的缓冲存储器(12、15)分别与用于控制将输入的打印数据存入不同的缓冲存储器的输入缓冲选择器(11)和用于控制从不同的缓冲存储器中获得打印数据的输出缓冲选择器(13)连接,用于产生两个用来分别控制独立缓冲选择器的控制信号(16、17)的控制信号发生器(18)分别与输入缓冲选择器(11)和输出缓冲选择器(13)连接,输入缓冲选择器(11)连接用于接收打印数据的数据接收电路(10),输出缓冲选择器(13)连接用于输出打印数据的数据输出电路(14);1. A high-speed printing control device with two independent buffer memories, characterized in that: two completely independent buffer memories (12, 15) are respectively used for controlling the print data input to be stored in different buffer memories The input buffer selector (11) is connected with the output buffer selector (13) used to control obtaining print data from different buffer memories, and is used to generate two control signals (16, 17) used to respectively control the independent buffer selector ) control signal generator (18) is respectively connected with the input buffer selector (11) and the output buffer selector (13), the input buffer selector (11) is connected with the data receiving circuit (10) for receiving the print data, output The buffer selector (13) is connected to a data output circuit (14) for outputting print data; 所述的输入缓冲选择器(11)包括一个与输入数据接口电路(30)的输出端相连接的单路输入双路输出选择电路(31),该单路输入双路输出选择电路(31)的输出端与两个独立的缓冲存储器控制电路(32、33)连接;Described input buffer selector (11) comprises a single-way input double-way output selection circuit (31) connected with the output end of input data interface circuit (30), and this single-way input double-way output selection circuit (31) The output end of two independent buffer memory control circuits (32,33) is connected; 所述的输出缓冲选择器(13)包括一个与机芯接口控制电路(45)的输入端相连接的双路输入单路输出选择电路(44),该双路输入单路输出选择电路(44)的输入端与两个独立的缓冲存储器控制电路(42、43)连接。The output buffer selector (13) includes a dual-input single-output selection circuit (44) connected to the input of the movement interface control circuit (45), and the dual-input single-output selection circuit (44 ) is connected to two independent buffer memory control circuits (42, 43). 2. 根据权利要求1所述的带有两个独立缓冲存储器的高速打印控制装置,其特征在于:两个完全独立的缓冲存储器(12、15)的输入端分别与输入缓冲选择器(11)的两个独立的缓冲存储器控制电路(32、33)连接。2. The high-speed printing control device with two independent buffer memories according to claim 1, characterized in that: the input terminals of the two completely independent buffer memories (12, 15) are respectively connected to the input buffer selector (11) Two independent buffer memory control circuits (32, 33) are connected. 3. 根据权利要求1或2所述的带有两个独立缓冲存储器的高速打印控制装置,其特征在于:两个完全独立的缓冲存储器(12、15)的输出端分别与输出缓冲选择器(13)的两个独立的缓冲存储器控制电路(42、43)连接。3. The high-speed printing control device with two independent buffer memories according to claim 1 or 2, characterized in that: the output terminals of the two completely independent buffer memories (12, 15) are respectively connected to the output buffer selector ( 13) two independent buffer memory control circuits (42, 43) are connected. 4. 一种如权利要求1所述高速打印控制装置的控制方法,包括如下控制过程:先将缓冲存储器A(12)作为当前输入缓冲存储器,将第一页的打印数据存入缓冲存储器A(12)中,在接收完第一页的打印点阵数据后,选择缓冲存储器A(12)作为当前输出缓冲存储器,从缓冲存储器A(12)中读出第一页的打印数据输出到成像部件开始打印;在开始输出第一页的打印数据的同时,将缓冲存储器B(15)作为当前输入缓冲存储器,将第二页的打印数据存放到缓冲存储器B(15)中;在完成了第一页的打印数据的输出和第二页的打印数据的输入以后,将缓冲存储器B(15)作为当前输出缓冲存储器,并将缓冲存储器A(12)作为当前输入缓冲存储器,这样从缓冲存储器B(15)中读出第二页的打印数据继续输出并接收第三页的打印数据存入缓冲存储器A(12)中,如此循环,使缓冲存储器A(12)和缓冲存储器B(15)轮流作为当前输入缓冲存储器和当前输出缓冲存储器,直至打印结束。4. A control method of a high-speed printing control device as claimed in claim 1, comprising the following control process: first using the buffer memory A (12) as the current input buffer memory, storing the print data of the first page into the buffer memory A ( In 12), after receiving the print dot matrix data of the first page, select the buffer memory A (12) as the current output buffer memory, read the print data of the first page from the buffer memory A (12) and output it to the imaging component Start printing; when starting to output the print data of the first page, the buffer memory B (15) is used as the current input buffer memory, and the print data of the second page is stored in the buffer memory B (15); after completing the first After the output of the print data of one page and the input of the print data of the second page, the buffer memory B (15) is set as the current output buffer memory, and the buffer memory A (12) is set as the current input buffer memory, so that from the buffer memory B ( In 15), read the print data of the second page and continue to output and receive the print data of the third page and store it in the buffer memory A (12), so that the buffer memory A (12) and buffer memory B (15) are used as The current input buffer and the current output buffer until the end of printing. 5. 根据权利要求4所述的控制方法,其特征在于:输入缓冲选择器(11)通过控制信号(71)和输出数据总线(70)控制将接收到的打印数据存入缓冲存储器A(12);输入缓冲选择器(11)通过控制信号(72)和输出数据总线(73)控制将接收到的打印数据存入缓冲存储器B(15)。5. The control method according to claim 4, characterized in that: the input buffer selector (11) is controlled by the control signal (71) and the output data bus (70) to store the received print data into the buffer memory A (12 ); the input buffer selector (11) controls the received print data into the buffer memory B (15) through the control signal (72) and the output data bus (73). 6. 根据权利要求4或5所述的控制方法,其特征在于:输出缓冲选择器(13)通过控制信号(75)和输入数据总线(74)控制从缓冲存储器A(12)中读取打印数据,输出缓冲选择器(13)通过控制信号(76)和输入数据总线(77)控制从缓冲存储器B(15)中读取打印数据。6. The control method according to claim 4 or 5, characterized in that: the output buffer selector (13) controls the reading and printing from the buffer memory A (12) through the control signal (75) and the input data bus (74) Data, the output buffer selector (13) controls the reading of print data from the buffer memory B (15) through the control signal (76) and the input data bus (77). 7. 根据权利要求5所述的控制方法,其特征在于:当控制信号(16)为高电平时,输入缓冲选择器(11)将缓冲存储器A(12)作为当前输入缓冲存储器,当控制信号(16)为低电平时,输入缓冲选择器(11)将缓冲存储器B(15)作为当前输入缓冲存储器;或者,当控制信号(16)为低电平时,输入缓冲选择器(11)将缓冲存储器A(12)作为当前输入缓冲存储器,当控制信号(16)为高电平时,输入缓冲选择器(11)将缓冲存储器B(15)作为当前输入缓冲存储器。7. The control method according to claim 5, characterized in that: when the control signal (16) is high level, the input buffer selector (11) uses the buffer memory A (12) as the current input buffer memory, when the control signal When (16) is low level, input buffer selector (11) uses buffer memory B (15) as current input buffer memory; Or, when control signal (16) is low level, input buffer selector (11) will buffer The memory A (12) is used as the current input buffer memory, and when the control signal (16) is at a high level, the input buffer selector (11) uses the buffer memory B (15) as the current input buffer memory. 8. 根据权利要求6所述的控制方法,其特征在于:当控制信号(17)为高电平时,输出缓冲选择器(13)将缓冲存储器A(12)作为当前输出缓冲存储器,当控制信号(17)为低电平时,输出缓冲选择器(13)将缓冲存储器B(15)作为当前输出缓冲存储器;或者,当控制信号(17)为低电平时,输出缓冲选择器(13)将缓冲存储器A(12)作为当前输出缓冲存储器,当控制信号(17)为高电平时,输出缓冲选择器(13)将缓冲存储器B(15)作为当前输出缓冲存储器。8. The control method according to claim 6, characterized in that: when the control signal (17) is high level, the output buffer selector (13) uses the buffer memory A (12) as the current output buffer memory, when the control signal When (17) is low level, output buffer selector (13) uses buffer memory B (15) as current output buffer memory; Or, when control signal (17) is low level, output buffer selector (13) will buffer The memory A (12) is used as the current output buffer memory, and when the control signal (17) is at a high level, the output buffer selector (13) uses the buffer memory B (15) as the current output buffer memory.
CNB2006100888418A 2006-07-20 2006-07-20 High-speed printing control device and control method with two independent buffer memories Expired - Fee Related CN100418073C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100888418A CN100418073C (en) 2006-07-20 2006-07-20 High-speed printing control device and control method with two independent buffer memories

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100888418A CN100418073C (en) 2006-07-20 2006-07-20 High-speed printing control device and control method with two independent buffer memories

Publications (2)

Publication Number Publication Date
CN1900920A CN1900920A (en) 2007-01-24
CN100418073C true CN100418073C (en) 2008-09-10

Family

ID=37656808

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100888418A Expired - Fee Related CN100418073C (en) 2006-07-20 2006-07-20 High-speed printing control device and control method with two independent buffer memories

Country Status (1)

Country Link
CN (1) CN100418073C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102103472B (en) * 2009-12-16 2013-06-05 北大方正集团有限公司 Device and method for printing primary image and mirror image of image during ink-jet printing
WO2013094648A1 (en) * 2011-12-21 2013-06-27 京セラドキュメントソリューションズ株式会社 Image formation device
CN110209621A (en) * 2019-06-10 2019-09-06 中航(深圳)航电科技发展有限公司 A kind of data transfer control circuit

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5353406A (en) * 1989-07-31 1994-10-04 Canon Kabushiki Kaisha Image communication apparatus
US6072781A (en) * 1996-10-22 2000-06-06 International Business Machines Corporation Multi-tasking adapter for parallel network applications
CN1509889A (en) * 2002-10-11 2004-07-07 ���ǵ�����ʽ���� Method for controlling printing job scheduling and printing system using the method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5353406A (en) * 1989-07-31 1994-10-04 Canon Kabushiki Kaisha Image communication apparatus
US6072781A (en) * 1996-10-22 2000-06-06 International Business Machines Corporation Multi-tasking adapter for parallel network applications
CN1509889A (en) * 2002-10-11 2004-07-07 ���ǵ�����ʽ���� Method for controlling printing job scheduling and printing system using the method

Also Published As

Publication number Publication date
CN1900920A (en) 2007-01-24

Similar Documents

Publication Publication Date Title
JP2011186894A (en) Data transfer device, image processing apparatus, data transfer method, data transfer program and recording medium
JP5929431B2 (en) Image recording apparatus, control method for image recording apparatus, and control program
JP5778918B2 (en) Bar code printer
CN100418073C (en) High-speed printing control device and control method with two independent buffer memories
CN102103472B (en) Device and method for printing primary image and mirror image of image during ink-jet printing
JP3656370B2 (en) Image processing apparatus, information processing apparatus, and printer
JP2007105917A (en) Printer device
JP5531427B2 (en) Switch, information processing apparatus, arbitration method, and image forming system
JPS58117036A (en) Print control device
US6801332B1 (en) Composite apparatus and printer sharing method
JP2006326857A (en) Recording apparatus and method for controlling the apparatus
JP5895428B2 (en) Printing apparatus and control method thereof
JP4124901B2 (en) Information supply apparatus, information processing system, and information processing method
KR200146385Y1 (en) Inkjet printer system of dual bus structure for bus switch
JP2010201706A (en) Printer
JP2008097142A (en) Printer and printer system
JP3483046B2 (en) Image forming device
JP2001047677A (en) Printer control device
JP2007108861A (en) Printer device
JPH11261808A (en) Image processing apparatus and image processing method
JP2000322210A (en) Printer control method
JP2007069424A (en) Printing device
JP2023093066A (en) Recording device, its control method, and program
JP2005071329A (en) Computer system, integrated circuit, and printing method
JP2758277B2 (en) DPI print control circuit in serial printer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: BEIJING FOUNDER DIGITAL PRINTING TECHNOLOGY CO., L

Free format text: FORMER OWNER: BEIDA FANGZHENG ELECTRONICS CO., LTD., BEIJING

Effective date: 20110627

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100085 FOUNDER BUILDING, NO. 9, SHANGDI 5TH STREET, HAIDIAN DISTRICT, BEIJING TO: 102200 ROOM 2212, TOWER B, NO. 9, CHAOQIAN ROAD, SCIENCE AND TECHNOLOGY PARK, CHANGPING DISTRICT, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20110627

Address after: 102200, room 2212, block B, No. 9, front road, Changping District science and Technology Park, Beijing

Co-patentee after: Peking University

Patentee after: Digital printing technology, Beijing Founder Electronics Co., Ltd.

Address before: 100085, fangzheng building, No. 9, five street, Beijing, Haidian District

Co-patentee before: Peking University

Patentee before: Beida Fangzheng Electronics Co., Ltd., Beijing

ASS Succession or assignment of patent right

Owner name: BEIDA FANGZHENG ELECTRONICS CO., LTD., BEIJING

Free format text: FORMER OWNER: BEIJING FOUNDER DIGITAL PRINTING TECHNOLOGY CO., LTD.

Effective date: 20120316

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 102200 CHANGPING, BEIJING TO: 100085 HAIDIAN, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20120316

Address after: 100085, fangzheng building, No. 9, five street, Beijing, Haidian District

Co-patentee after: Peking University

Patentee after: Beida Fangzheng Electronics Co., Ltd., Beijing

Address before: 102200, room 2212, block B, No. 9, front road, Changping District science and Technology Park, Beijing

Co-patentee before: Peking University

Patentee before: Digital printing technology, Beijing Founder Electronics Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080910

Termination date: 20190720

CF01 Termination of patent right due to non-payment of annual fee