WO2012013140A1 - Image generation controller card and image generation device - Google Patents

Image generation controller card and image generation device Download PDF

Info

Publication number
WO2012013140A1
WO2012013140A1 PCT/CN2011/077624 CN2011077624W WO2012013140A1 WO 2012013140 A1 WO2012013140 A1 WO 2012013140A1 CN 2011077624 W CN2011077624 W CN 2011077624W WO 2012013140 A1 WO2012013140 A1 WO 2012013140A1
Authority
WO
WIPO (PCT)
Prior art keywords
usb interface
image forming
module
control card
cpu
Prior art date
Application number
PCT/CN2011/077624
Other languages
French (fr)
Chinese (zh)
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 珠海赛纳打印科技股份有限公司
Publication of WO2012013140A1 publication Critical patent/WO2012013140A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • H04N1/00347Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with another still picture apparatus, e.g. hybrid still picture apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • H04N1/00204Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a digital computer or a digital computer system, e.g. an internet server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/0008Connection or combination of a still picture apparatus with another apparatus
    • H04N2201/0034Details of the connection, e.g. connector, interface
    • H04N2201/0037Topological details of the connection
    • H04N2201/0041Point to point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/0008Connection or combination of a still picture apparatus with another apparatus
    • H04N2201/0034Details of the connection, e.g. connector, interface
    • H04N2201/0037Topological details of the connection
    • H04N2201/0043Point to multipoint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/0008Connection or combination of a still picture apparatus with another apparatus
    • H04N2201/0034Details of the connection, e.g. connector, interface
    • H04N2201/0044Connecting to a plurality of different apparatus; Using a plurality of different connectors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/0008Connection or combination of a still picture apparatus with another apparatus
    • H04N2201/0034Details of the connection, e.g. connector, interface
    • H04N2201/0048Type of connection
    • H04N2201/0049By wire, cable or the like
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/0077Types of the still picture apparatus
    • H04N2201/0082Image hardcopy reproducer

Definitions

  • the present invention relates to printing technology, and more particularly to an image forming control card and an image forming apparatus. Background technique
  • image forming equipment has become a must-have device for offices and homes.
  • an existing image forming apparatus such as a printer generally provides only one slave USB interface
  • a printer can be connected only to one host device such as a computer, that is, only one host device can locally control and print the printer. Work, can not meet the needs of multiple host devices to use the printer.
  • the second way is to share the way, that is, the first host device connected to the printer has the shared feature by setting the device attribute, and the second host device controls the printer through the first host device based on the sharing mode.
  • the first host device must be in a working state. In order to enable the second host device to print and the first host device is always in working state, it is obviously wasteful of energy.
  • the print job is realized by sharing, and there is also a security risk of the printed content.
  • one person has two computers, one of which is connected to the other, and the other is not connected to the network.
  • the present invention provides an image forming control card and an image forming apparatus for solving the above-mentioned drawbacks in the prior art and realizing the expansion of the USB interface in the image forming apparatus.
  • the present invention provides an image forming control card, including a main control unit, the main control unit includes a CPU, the image forming control card further includes a USB interface module, and the USB interface module has at least two USB interfaces, and the CPU Communicate with the peripheral device through the USB interface module.
  • USB interface is a slave USB interface and/or a USB-OTG interface.
  • USB interface module is one or more USB interface chips.
  • USB interface module includes at least two sets of USB interfaces that are extracted from the CPU.
  • the other USB interface module is one or more USB interface chips.
  • a polling module connected to the priority processing module for polling each USB interface.
  • the image forming control card as described above, wherein the feature information of the file to be printed includes: a character included in a file name of the file to be printed, and/or a file type of the file to be printed.
  • the present invention provides an image forming apparatus including the image forming control card described above.
  • the image forming control card and the image forming apparatus provided by the present invention can expand the USB interface of the image forming apparatus provided with the image forming control card, and solve the inconvenience caused by the use of the single slave USB interface of the existing image forming apparatus. It makes it more convenient for multiple users to use the image forming apparatus; when a plurality of host devices simultaneously use one image forming apparatus, energy is saved, and the security of the processed content is also ensured.
  • Embodiment 1 is a schematic structural view of Embodiment 1 of an image forming control card according to the present invention
  • Embodiment 2 is a schematic structural diagram of Embodiment 2 of an image forming control card according to the present invention.
  • Embodiment 3 is a schematic structural diagram of Embodiment 3 of an image forming control card according to the present invention.
  • FIG. 4 is a structural block diagram of communication between a main control unit and a host device according to the present invention
  • 5 is a schematic diagram of a working procedure of a control program of an image forming control card according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of an image forming apparatus according to an embodiment of the present invention
  • Figure 7 is a workflow diagram of the printer performing a print job. detailed description
  • the embodiment of the present invention provides an image forming.
  • the control card and the image forming apparatus provided with the image forming control card by expanding the USB interface thereof, solve the inconvenience caused by the use of the single slave USB interface of the existing image forming apparatus, and avoid or reduce the simultaneous use of the plurality of host devices.
  • an image forming device When an image forming device is used, it causes waste of energy and insecure processing content.
  • the image forming apparatus including the image forming control card according to various embodiments of the present invention may be an electrophotographic image forming apparatus, an ink jet image forming apparatus or the like. For the sake of convenience, the embodiments of the present invention will be described in detail by taking a printer as an example.
  • the image forming control card provided by the embodiment of the present invention is disposed in an image forming apparatus, such as a printer, for receiving a print command sent by a peripheral device such as a host device, and parsing the received print command to implement a print control function.
  • the image forming control card of the embodiment of the invention includes a main control unit, which includes a central processing unit (CPU) and other functional devices connected to the CPU.
  • the image forming control card further includes a USB interface module having at least two USB interfaces.
  • the CPU communicates with a peripheral device such as a host device through the USB interface module described above. Since the USB interface module in the image forming control card includes at least two USB interfaces.
  • the number of USB interfaces of the image forming apparatus can be expanded, which solves the inconvenience caused by the use of the single slave USB interface of the existing image forming apparatus, and makes it more convenient for the multi-user to use the image forming apparatus.
  • the USB interface included in the above USB interface module may be a slave USB interface and/or a USB-OTG interface, and is specifically set according to actual conditions.
  • the USB interface module included in the image forming control card provided in this embodiment may be disposed outside the main control unit or in the main control unit, and the settings of the USB interface module are respectively described in the following embodiments.
  • the USB interface module is set outside the main control unit.
  • the main control unit further includes a communication control module, and the CPU communicates with the USB interface module through the communication control module.
  • 1 is a schematic structural diagram of Embodiment 1 of an image forming control card according to the present invention.
  • the image forming control card 11 includes a main control unit 12, and the main control unit 12 includes a CPU 14 and a communication control module 15, and a main control unit.
  • a first USB interface module 16 is also provided in addition to the 12, and the CPU 14 communicates with the first USB interface module 16 via the communication control module 15.
  • the main control unit 12 further includes functional components such as an image processing module, a data compression/decompression module, a clock module, a reset module, a program memory, and a data memory, all of which are connected to the CPU 14.
  • the first USB interface module 16 disposed outside the main control unit 12 includes N (N is a natural number greater than 1) USB interfaces, respectively being the first slaves
  • USB interface al second slave USB interface a2 N slave USB interface aN.
  • the first slave USB interface a1, the second slave USB interface a2, and the Nth slave USB interface aN are respectively connected to the corresponding host device 13 through the main USB interface in the host device 13, so that users of different hosts can perform respective printing operations. Achieve simultaneous communication with N peripherals.
  • the USB interface module can be a USB interface chip, and the number can be selected according to actual needs.
  • the USB interface chip can be a normal USB interface chip or a USB-OTG interface chip.
  • the common USB interface chip has a slave USB interface (as shown in FIG. 1), and the USB-OTG interface chip has a USB-OTG. Interface, of course, the USB-OTG interface chip can also include a slave USB interface as needed.
  • the at least two USB interfaces of the USB interface module may be implemented by one USB interface chip including at least two USB interfaces, or may be at least two USB interface chips, and each USB interface chip includes at least one USB interface. achieve.
  • FIG. 1 shows only the case where the image forming control card includes the slave USB interface.
  • the USB interface module is set in the main control unit.
  • the main control unit includes a USB interface module, wherein the USB interface module includes at least two sets of USB interfaces that are taken from the CPU.
  • 2 is a schematic structural diagram of Embodiment 2 of an image forming control card according to the present invention.
  • the image forming control card 11 includes a main control unit 12, and the main control unit 12 includes a CPU 14 and a second USB interface module 16, The CPU 14 communicates with the host device 13 through the second USB interface module 16.
  • the main control unit 12 further includes functional components such as an image processing module, a data compression/decompression module, a clock module, a reset module, a program memory, and a data memory, all of which are connected to the CPU 14.
  • the second USB interface module 16 disposed in the main control unit 12 includes N (N is a natural number greater than 1) USB interfaces, which are respectively derived from the CPU 14, and are respectively the first slave USB interfaces a1, Two slave USB interface a2 Nth slave USB interface aN.
  • the first slave USB interface a1, the second slave USB interface a2, and the Nth slave USB interface aN are respectively connected to the corresponding host device 13 through the main USB interface in the host device 13, so that users of different hosts can perform respective printing operations. Achieve simultaneous communication with N peripherals.
  • the USB interface module in the embodiment includes a USB interface formed by multiple sets of USB buses drawn by the CPU itself, and different CPUs can form a USB bus to form a slave USB.
  • the interface (shown in Figure 2) can also lead to the USB-OTG bus to form a USB-OTG interface (not shown).
  • Each set of USB buses such as data lines (D+, D-) or (OTG-D+, OTG-D-), form a set of USB interfaces.
  • FIG. 2 only shows the case where the image forming control card includes the slave USB interface.
  • the image forming control card includes at least two USB-OTG interfaces, those skilled in the art can refer to the implementation, and details are not described herein again.
  • the main control unit includes a USB interface module, and the main control unit further includes another USB interface module.
  • the main control unit further includes a communication control module, wherein the CPU communicates with the USB interface module outside the main control unit through the communication control module; the main control unit includes a USB interface module, wherein the USB interface module includes at least two from the CPU Group of USB interfaces.
  • 3 is a schematic structural diagram of Embodiment 3 of an image forming control card according to the present invention. As shown in FIG.
  • the image forming control card 11 includes a main control unit 12, and the main control unit
  • the element 12 includes a CPU 14, a communication control module 15, and a second USB interface module 16, and the CPU 14 communicates with the corresponding host device 13 via the second USB interface module 16.
  • a first USB interface module 16 is further disposed outside the main control unit 12, and the CPU 14 communicates with the first USB interface module 16 through the communication control module 15.
  • the main control unit 12 further includes functional components such as an image processing module, a data compression/decompression module, a clock module, a reset module, a program memory, and a data memory, all of which are connected to the CPU 14.
  • the first USB interface module 16 disposed outside the main control unit 12 includes a USB interface, i.e., a first slave USB interface al, which is coupled to the corresponding host device 13 via a primary USB interface in the host device 13.
  • the second USB interface module 16 disposed in the main control unit 12 includes a USB interface that is derived from the CPU 14, that is, the second slave USB interface a2, which is connected to the corresponding host device 13 through the main USB interface in the host device 13.
  • the image forming control card in this embodiment is respectively provided with two USB interface modules inside and outside the main control unit, so that users of different hosts can perform respective printing operations, thereby achieving the purpose of being able to communicate with a plurality of peripheral devices at the same time.
  • each USB interface module has a USB interface as an example, and is of course not limited thereto.
  • the first USB interface module disposed outside the main control unit can select the USB interface module in the first case, that is, one or more USB interface chips
  • the second USB interface module in the main control unit may select the USB interface module in the second case, that is, one or more sets of USB interfaces that are extracted from the CPU.
  • USB-OTG interface can be used as the main USB interface and can also be used as the slave USB interface
  • the printer uses USB-OTG technology, not only can a printer have multiple USB interfaces, but also reduce the dependence on the host device.
  • USB devices such as USB flash drives and cameras can be directly inserted into the printer to easily print the data that needs to be printed.
  • FIG. 4 is a structural block diagram of communication between a main control unit and a host device according to the present invention.
  • the CPU completes data transmission through a data bus (reusable as an address bus) and a control bus, and the USB interface.
  • the module reorganizes the data transmitted by the host device according to the requirements of the USB protocol to complete the data transmission with the image forming control card.
  • the image forming control card in each of the above embodiments has a plurality of USB interfaces, it is necessary to uniformly and effectively manage a plurality of USB interfaces in order to avoid a disorder of processing programs when a plurality of USB interfaces simultaneously receive a print job. So that it can achieve the sharing of printers in an orderly manner.
  • the following is an example in which the image forming control card has a plurality of slave USB interfaces, and those skilled in the art can understand that the USB-OTG interface has the same working principle.
  • the CPU in the image forming control card includes a priority processing module and a polling module connected to the priority processing module, wherein the priority processing module is configured to store operation priority information of each USB interface in the USB interface module, The polling module is used to poll each USB interface.
  • the image forming control card manages at least two USB interfaces on the USB interface module through its priority processing function and polling function.
  • the operation priority information of each slave USB interface on the first USB interface module 16 and the second USB interface module 16 is set in the priority processing module of the CPU 14.
  • the operation priority information of each slave USB interface can be set according to the number order of each slave USB interface, for example, the first slave USB interface al, the second slave USB interface a2, the N slave USB interface aN operation priority information is sequentially lowered.
  • the operation priority of the first slave USB interface al is higher than that of the second slave USB interface a2.
  • the operation priority information can also be set according to other requirements according to actual needs. Specifically, it can be completed by the first setting module included in the CPU.
  • the first setting module is connected to the priority processing module, and is configured to set operation priority information of each USB interface.
  • the polling module uses polling to detect whether each slave USB interface receives the master.
  • the printer has job A being processed, then there is another Its main USB interface is sent to print job B, and the printer starts processing job B after completing job A. If two slave USB interfaces or more slave USB interfaces receive data transmitted by the corresponding master USB interface at the same time, the image forming control card 11 presets the operation priority information according to the priority processing module. The processing tasks are serially processed, and the processing is serial. For details, refer to the working flow of the control program of the image forming control card in the embodiment of the present invention shown in FIG.
  • the CPU may further include an availability configuration module, where the availability configuration module is configured to store availability configuration information for identifying whether each USB interface in the USB interface module is currently available.
  • the image forming control card can configure the availability of each USB interface through the availability configuration module. If there are three interfaces of the first slave USB interface a1, the second slave USB interface a2, and the third slave USB interface a3, the availability configuration information is provided. Configured as 0, 1, and 0 respectively. Assuming that 0 is not enabled and 1 is enabled, the image forming control card judges by reading the availability configuration information of each USB interface, and only responds to the print job received through the USB interface of the availability configuration information of 1, that is, printing is passed. The file to be printed received by the enabled second slave USB interface a2; the image forming control card does not perform the task even if there is a print job received through the first slave USB interface a1 and the third slave USB interface a3.
  • the attributes of each USB interface are configured or modified by a control device such as a control panel, a remote controller, a connected computer, or the like of the image forming control card.
  • the first setting module configures operation priority information of each USB interface by using information input by the control device. For example, the image forming control card initially configures the operation priority information of the first slave USB interface a1, the second slave USB interface a2, and the third slave USB interface a3 to be 001, 010, and 011, respectively, when the image forming control card passes through the 3
  • the printer first compares the priority configuration information, and then executes it according to the preset priority execution order.
  • the preset priority execution order is the small to large configuration according to the USB interface priority.
  • the printer will first execute the received through the first slave USB interface a1
  • the print job after all execution is completed, executes the print job received through the second slave USB interface a2; and so on, finally executes the print job received through the third slave USB interface a3.
  • the priority execution order set in advance is the time sequence received through the USB interface, and when the print task is simultaneously received according to the priority configuration of the USB interface, when the image forming control card simultaneously receives the first slave
  • the print tasks A1 and B1 are respectively received by the USB interface a1 and the second slave USB interface a2
  • the print job A1 is executed first, and the print job B1 waits; if the print task A1 is not executed, the first slave is received.
  • the print job A2 received by the USB interface a1 at this time, the image forming control card executes the print job B1 first, and then executes the print job A2.
  • the operation priority information of the first slave USB interface al, the second slave USB interface a2, and the third slave USB interface a3 can be reconfigured to 010, 001, and 011, respectively, by the first setting module. Then, when the image forming control card receives the print job through the three USB interfaces at the same time, after comparing the operation priority information, the print task received through the second slave USB interface a2 is first executed through the second slave.
  • the USB interface a2 receives the print job of the file to be printed, and then sequentially responds to the print job received through the first slave USB interface a1 and the third slave USB interface a3.
  • the second configuration module included in the CPU may also modify the availability configuration information of each USB interface in the USB interface module as needed.
  • the first slave USB interface a1 and the second may be used.
  • the availability configuration information of the slave USB interface a2 and the third slave USB interface a3 are respectively reset to 1, 1, 0, and the first slave USB interface a1 and the second slave USB interface a2 are available.
  • the foregoing is only an embodiment.
  • the enabling or disabling of each USB interface is not necessarily identified by 0 and 1, and any other distinguishing identifier may be used.
  • Some of the attributes of the USB interface in the above embodiments may also have no initial configuration.
  • the user can adjust the performance of the USB interface by subsequent configuration of the attributes of the USB interface, such as the execution of input information of each USB interface. The order, whether each USB interface is available, etc.
  • the first setting module and the second setting module mentioned in the above embodiments may also be according to actual needs. As a separate function module, the corresponding operation priority information and the reset of the availability configuration information are implemented.
  • the first setting module and the second setting module of the split setting or the integral setting may configure the operation priority information and/or the availability configuration information by the information input by the control module.
  • the embodiment of the present invention further provides an image forming system including a host and an image forming apparatus connected to the host and provided with the image forming control card provided by each of the foregoing embodiments, where the image forming apparatus receives the host sending by the control device.
  • the setting information is sent to the first setting module and the second setting module which are separately set or integrated by the control device, and the priority information and/or the availability configuration information are configured by the setting module pair.
  • the setting information sent by the host includes information for setting priority information and/or availability configuration information.
  • the CPU may further include a first processing module, and the first processing module is configured to store execution order information of the file to be printed determined according to the feature information of the file to be printed.
  • the operation priority information of each USB interface is no longer used as the execution order, but the print tasks of the USB interfaces are sequentially responded to based on the files to be printed received by the USB interfaces.
  • the feature information of the file to be printed may include characters included in a file name of the file to be printed, and/or a file type of the file to be printed, or other feature information capable of identifying the file to be printed.
  • the image forming control card may determine the execution order based on the preset priority judgment policy according to the feature of the file to be printed, and sequentially implement the priority policy.
  • the feature information of the file to be printed may be that the file with the special "#" character included in the file name is first printed. According to the ASCII code table, "#" corresponds to 23H, and when the received file to be printed is judged When the file name portion has 23H information, the print job is executed first.
  • the print task whose suffix of the file to be printed is xls is executed first, and then the execution suffix is doc to be printed.
  • File, the last execution suffix is jpg file to be printed.
  • Another special The type of file, such as the test file is executed first, then the print task with the suffix of the file to be printed is executed first.
  • the image forming control card provided by the embodiments of the present invention can expand the number of USB interfaces of the image forming apparatus provided with the image forming control card, and solves the inconvenience caused by the use of the single slave USB interface of the existing image forming apparatus. It makes it more convenient for multiple users to use the image forming apparatus; when a plurality of host devices simultaneously use one image forming apparatus, energy is saved, and the security of the processed content is also ensured.
  • An embodiment of the present invention further provides an image forming apparatus comprising the image forming control card provided by the above embodiments.
  • Fig. 6 is a view showing the structure of an embodiment of an image forming apparatus of the present invention.
  • an image forming apparatus such as a printer 10 includes an image forming system and a plurality of USB interfaces.
  • the printer 10 is connected to different host devices 13 (e.g., PCs) through the slave USB interface, so that different users directly perform different operations on the printer 10 to complete the printing work quickly and safely.
  • host devices 13 e.g., PCs
  • each of the host devices 13 is used by a different user, and each of the host devices 13 can independently perform respective print jobs without being connected to each other as long as the drivers of the printer 10 are separately installed.
  • the same printer 10 is their local printer for different users. The user only needs to open his own host device, and then turn on the printer 10 to perform his own printing work. Whether other host devices work or not is completely unaffected.
  • Figure 7 is a flow chart showing the operation of the printer to perform a print job.
  • the user issues a print job through the host device, and then the first host device will call the SPOOLSV program of the system to process the print task, and then the first host device calls the print driver, after the processing of the print driver, the initial The print job becomes print information that can be recognized by the printer, and the information is transmitted to the first slave USB of the printer by the main USB of the first host device, which is a complete print process. Other users can perform their own printing work through other host devices.
  • the printer's control software uses polling to detect whether each slave USB interface has print information transmitted from the host device. If the printer is processing print information A from the first host device and there is print information B sent from other host devices, the printer is finished. After becoming A, start processing 8.
  • the processing is serial. For example: According to the position order of the USB interface, the USB interface is numbered, and then the operation priority information of the USB interface is set according to the order of the numbers, so that when the above conflict occurs, the printer processes according to the predetermined priority, for the user, Very convenient.
  • the printer can also sequentially execute the print job according to the priority, availability, and the like of each USB interface as mentioned in the above embodiment of the image forming control card. And the printing task is executed in sequence according to the feature information of the file to be printed.
  • the printer can also sequentially execute the print job according to the priority, availability, and the like of each USB interface as mentioned in the above embodiment of the image forming control card.
  • the printing task is executed in sequence according to the feature information of the file to be printed.
  • the printer can also sequentially execute the print job according to the priority, availability, and the like of each USB interface as mentioned in the above embodiment of the image forming control card.
  • the printing task is executed in sequence according to the feature information of the file to be printed.

Abstract

Provided are an image generation controller card and an image generation device. The image generation controller card comprises: a main control unit and a USB interface module. The main control unit comprises a CPU, and the USB interface module has at least two USB ports. The CPU communicates with an external device via the USB interface module. The image generation device comprises the image generation controller card. The controller card and the device are capable of expansion to a USB port of an image generation device provided with the image generation controller card, thereby solving the inconvenience experienced when using an existing image generation device having a single subordinate USB port, facilitating a convenient usage of the image generation device by multiple users, conserving energy when multiple host devices simultaneously use one image generation device, and ensuring the security of the contents being processed.

Description

图像形成控制卡及图像形成设备  Image forming control card and image forming apparatus
技术领域 Technical field
本发明涉及打印技术, 尤其涉及一种图像形成控制卡及图像形成设备。 背景技术  The present invention relates to printing technology, and more particularly to an image forming control card and an image forming apparatus. Background technique
图像形成设备作为现有办公环境中的重要设备之一, 已经成为办公室和 家用的必备设备。 但是由于现有图像形成设备例如打印机一般仅提供一个从 属 USB接口, 这样就造成一台打印机仅能和一台主机设备例如计算机相连, 即仅能有一台主机设备对该打印机进行本地控制和打印等工作, 不能满足多 台主机设备使用该打印机的需求。  As one of the important devices in the existing office environment, image forming equipment has become a must-have device for offices and homes. However, since an existing image forming apparatus such as a printer generally provides only one slave USB interface, a printer can be connected only to one host device such as a computer, that is, only one host device can locally control and print the printer. Work, can not meet the needs of multiple host devices to use the printer.
现有技术中, 当需要多台主机设备通过该打印机进行打印作业时, 解决 的方式一般有以下两种: 一种方式是将连接到第一台主机设备上的 USB连接 线拔出, 插入到第二主机设备中进行打印, 显然这种操作方式的便利性较差。  In the prior art, when multiple host devices are required to perform print jobs through the printer, there are generally two ways to solve the problem: one way is to pull out the USB cable connected to the first host device and insert it into Printing is performed in the second host device, and it is obvious that the operation mode is less convenient.
第二种方式是通过共享的方式, 即与打印机连接的第一台主机设备通过 设置设备属性使其具备有共享的特性, 第二台主机设备基于共享方式, 通过 第一台主机设备来控制打印机, 从而实现打印作业。 然而, 该种操作方式的 前提是要求第一台主机设备必须处于工作状态, 为了能使第二台主机设备进 行打印而让第一台主机设备始终处于工作状态, 显然会造成能源的浪费。 同 时, 通过共享方式实现打印作业, 同时也会存在打印内容的安全隐患。 另夕卜, 尤其是在一些保密性要求高的办公室, 一人拥有两台电脑, 其中一台联网, 另一台不联网, 这就需要两台打印机才能满足工作要求, 这样不仅占有较大 的空间, 更浪费资源。 因现有图像形成设备仅提供一个从属 USB接口而引发 的诸多不便的情况亟待解决。 发明内容 本发明提供一种图像形成控制卡及图像形成设备, 用以解决现有技术中 的上述缺陷, 实现图像形成设备中 USB接口的扩展。 The second way is to share the way, that is, the first host device connected to the printer has the shared feature by setting the device attribute, and the second host device controls the printer through the first host device based on the sharing mode. To achieve a print job. However, the premise of this mode of operation is that the first host device must be in a working state. In order to enable the second host device to print and the first host device is always in working state, it is obviously wasteful of energy. At the same time, the print job is realized by sharing, and there is also a security risk of the printed content. In addition, especially in some offices with high confidentiality requirements, one person has two computers, one of which is connected to the other, and the other is not connected to the network. This requires two printers to meet the work requirements, which not only occupies a large space. More waste of resources. The inconvenience caused by the existing image forming apparatus providing only one slave USB interface needs to be solved. Summary of the invention The present invention provides an image forming control card and an image forming apparatus for solving the above-mentioned drawbacks in the prior art and realizing the expansion of the USB interface in the image forming apparatus.
本发明提供一种图像形成控制卡, 包括主控单元, 所述主控单元包括 CPU, 所述图像形成控制卡还包括 USB接口模块, 所述 USB接口模块至少 具有两个 USB接口, 所述 CPU通过所述 USB接口模块与外设通信。  The present invention provides an image forming control card, including a main control unit, the main control unit includes a CPU, the image forming control card further includes a USB interface module, and the USB interface module has at least two USB interfaces, and the CPU Communicate with the peripheral device through the USB interface module.
如上所述的图像形成控制卡, 其中, 所述 USB接口为从属 USB接口和 / 或 USB-OTG接口。  The image forming control card as described above, wherein the USB interface is a slave USB interface and/or a USB-OTG interface.
如上所述的图像形成控制卡, 其中, 所述 USB接口模块设置在所述主控 单元外, 所述主控单元还包括通信控制模块, 所述 CPU通过所述通信控制模 块与所述 USB接口模块通信。  The image forming control card as described above, wherein the USB interface module is disposed outside the main control unit, the main control unit further includes a communication control module, and the CPU passes the communication control module and the USB interface Module communication.
如上所述的图像形成控制卡, 其中, 所述 USB接口模块为一个或多个 USB接口芯片。  The image forming control card as described above, wherein the USB interface module is one or more USB interface chips.
如上所述的图像形成控制卡, 其中, 所述 USB接口模块集成在所述主控 单元内。  The image forming control card as described above, wherein the USB interface module is integrated in the main control unit.
如上所述的图像形成控制卡,其中, 所述 USB接口模块包括从所述 CPU 引出的、 至少两组的 USB接口。  The image forming control card as described above, wherein the USB interface module includes at least two sets of USB interfaces that are extracted from the CPU.
如上所述的图像形成控制卡,其中,在所述主控单元外还设置有另一 USB 接口模块, 所述主控单元还包括通信控制模块, 所述 CPU通过所述通信控制 模块与所述另一 USB接口模块通信。  An image forming control card as described above, wherein another USB interface module is further disposed outside the main control unit, the main control unit further includes a communication control module, and the CPU passes the communication control module and the Another USB interface module communicates.
如上所述的图像形成控制卡, 其中, 集成在所述主控单元内的所述 USB 接口模块包括从所述 CPU引出的、 一组或多组的 USB接口; 设置在所述主 控单元外的所述另一 USB接口模块为一个或多个 USB接口芯片。  The image forming control card as described above, wherein the USB interface module integrated in the main control unit includes one or more sets of USB interfaces led out from the CPU; and is disposed outside the main control unit The other USB interface module is one or more USB interface chips.
如上所述的图像形成控制卡, 其中, 所述 CPU 包括用于存储所述 USB 接口模块中各 USB接口的操作优先级信息的优先级处理模块。  The image forming control card as described above, wherein the CPU includes a priority processing module for storing operation priority information of each USB interface in the USB interface module.
如上所述的图像形成控制卡, 其中, 所述 CPU还包括第一设置模块, 所 述第一设置模块用于设置各 USB接口的操作优先级信息。 如上所述的图像形成控制卡, 其中, 所述操作优先级信息根据各 USB接 口的编号顺序确定。 The image forming control card as described above, wherein the CPU further includes a first setting module, and the first setting module is configured to set operation priority information of each USB interface. The image forming control card as described above, wherein the operation priority information is determined according to a number order of each USB interface.
如上所述的图像形成控制卡, 其中, 所述 CPU中还包括:  The image forming control card as described above, wherein the CPU further includes:
与所述优先级处理模块连接的、用于对各 USB接口进行轮询的轮询模块。 如上所述的图像形成控制卡, 其中, 所述 CPU包括可用性配置模块, 所 述可用性配置模块用于存储用以标识所述 USB接口模块中各 USB接口当前 是否可用的可用性配置信息。  A polling module connected to the priority processing module for polling each USB interface. The image forming control card as described above, wherein the CPU includes an availability configuration module, and the availability configuration module is configured to store availability configuration information for identifying whether each USB interface in the USB interface module is currently available.
如上所述的图像形成控制卡, 其中, 所述 CPU还包括第二设置模块, 所 述第二设置模块用于设置所述可用性配置信息。  The image forming control card as described above, wherein the CPU further includes a second setting module, and the second setting module is configured to set the availability configuration information.
如上所述的图像形成控制卡, 其中, 所述 CPU包括第一处理模块, 所述 第一处理模块用于存储根据待打印文件的特征信息而确定的待打印文件的执 行顺序信息。  The image forming control card as described above, wherein the CPU includes a first processing module, and the first processing module is configured to store execution order information of the file to be printed determined according to the feature information of the file to be printed.
如上所述的图像形成控制卡, 其中, 所述待打印文件的特征信息包括: 所述待打印文件的文件名中包含的字符, 和 /或所述待打印文件的文件类型。  The image forming control card as described above, wherein the feature information of the file to be printed includes: a character included in a file name of the file to be printed, and/or a file type of the file to be printed.
本发明提供一种图像形成设备, 包括上述的图像形成控制卡。  The present invention provides an image forming apparatus including the image forming control card described above.
本发明提供的图像形成控制卡及图像形成设备, 可以对设置有该图像形 成控制卡的图像形成设备的 USB接口进行扩展,解决了现有图像形成设备单 一从属 USB接口所造成使用中的不便,使得多用户使用图像形成设备更加便 利; 在多个主机设备同时使用一台图像形成设备时, 节省了能源, 还保证了 处理内容的安全性。 附图说明  The image forming control card and the image forming apparatus provided by the present invention can expand the USB interface of the image forming apparatus provided with the image forming control card, and solve the inconvenience caused by the use of the single slave USB interface of the existing image forming apparatus. It makes it more convenient for multiple users to use the image forming apparatus; when a plurality of host devices simultaneously use one image forming apparatus, energy is saved, and the security of the processed content is also ensured. DRAWINGS
图 1为本发明图像形成控制卡实施例一的结构示意图;  1 is a schematic structural view of Embodiment 1 of an image forming control card according to the present invention;
图 2为本发明图像形成控制卡实施例二的结构示意图;  2 is a schematic structural diagram of Embodiment 2 of an image forming control card according to the present invention;
图 3为本发明图像形成控制卡实施例三的结构示意图;  3 is a schematic structural diagram of Embodiment 3 of an image forming control card according to the present invention;
图 4为本发明主控单元与主机设备通信的结构模块图; 图 5为本发明实施例中图像形成控制卡的控制程序工作流程示意图; 图 6为本发明图像形成设备实施例结构示意图; 4 is a structural block diagram of communication between a main control unit and a host device according to the present invention; 5 is a schematic diagram of a working procedure of a control program of an image forming control card according to an embodiment of the present invention; FIG. 6 is a schematic structural diagram of an image forming apparatus according to an embodiment of the present invention;
图 7为打印机执行打印任务的工作流程图。 具体实施方式  Figure 7 is a workflow diagram of the printer performing a print job. detailed description
下面结合附图和具体实施例进一步说明本发明实施例的技术方案。  The technical solutions of the embodiments of the present invention are further described below with reference to the accompanying drawings and specific embodiments.
随着现代办公对图像形成设备的普遍需求, 现有图像形成设备单一从属 USB接口的设置已经不能满足多用户对于方便地、 独立地使用图像形成设备 的需求, 本发明实施例提供一种图像形成控制卡以及设置有该图像形成控制 卡的图像形成设备, 通过对其 USB接口的扩展, 以解决现有图像形成设备单 一从属 USB接口所造成使用中的不便,避免或减少多个主机设备同时使用一 台图像形成设备时, 造成能源的浪费以及处理内容的不安全。 本发明各实施 例涉及的包括图像形成控制卡的图像形成设备, 可以是电子照相成像设备, 也可以是喷墨成像设备等。 为方便起见, 本发明各实施例以打印机为例进行 详细说明。  With the general demand for the image forming apparatus in the modern office, the setting of the single slave USB interface of the existing image forming apparatus can not meet the requirements of the multi-user for conveniently and independently using the image forming apparatus, and the embodiment of the present invention provides an image forming. The control card and the image forming apparatus provided with the image forming control card, by expanding the USB interface thereof, solve the inconvenience caused by the use of the single slave USB interface of the existing image forming apparatus, and avoid or reduce the simultaneous use of the plurality of host devices. When an image forming device is used, it causes waste of energy and insecure processing content. The image forming apparatus including the image forming control card according to various embodiments of the present invention may be an electrophotographic image forming apparatus, an ink jet image forming apparatus or the like. For the sake of convenience, the embodiments of the present invention will be described in detail by taking a printer as an example.
本发明实施例提供的图像形成控制卡设置于图像形成设备例如打印机 中, 其用于接收外设例如主机设备发送的打印命令, 并解析接收到的打印命 令, 实现打印控制功能。 本发明实施例图像形成控制卡中包括主控单元, 该 主控单元中包括中央处理器(CPU ) , 以及连接在 CPU上的其他功能器件。 该图像形成控制卡还包括 USB接口模块,该 USB接口模块至少具有两个 USB 接口。 CPU通过上述的 USB接口模块与外设例如主机设备进行通信。 由于该 图像形成控制卡中的 USB接口模块包括至少两个 USB接口。 可以对图像形 成设备的 USB接口的数量进行扩展,解决了现有图像形成设备单一从属 USB 接口所造成使用中的不便, 使得多用户使用图像形成设备更加便利。 上述的 USB接口模块中包括的 USB接口可以为从属 USB接口和 /或 USB-OTG接口, 具体根据实际情况设置。 本实施例提供的图像形成控制卡中包括的 USB接口模块,可以是设置在 主控单元外或设置在主控单元内,分别以以下实施例对 USB接口模块的设置 进行介绍。 The image forming control card provided by the embodiment of the present invention is disposed in an image forming apparatus, such as a printer, for receiving a print command sent by a peripheral device such as a host device, and parsing the received print command to implement a print control function. The image forming control card of the embodiment of the invention includes a main control unit, which includes a central processing unit (CPU) and other functional devices connected to the CPU. The image forming control card further includes a USB interface module having at least two USB interfaces. The CPU communicates with a peripheral device such as a host device through the USB interface module described above. Since the USB interface module in the image forming control card includes at least two USB interfaces. The number of USB interfaces of the image forming apparatus can be expanded, which solves the inconvenience caused by the use of the single slave USB interface of the existing image forming apparatus, and makes it more convenient for the multi-user to use the image forming apparatus. The USB interface included in the above USB interface module may be a slave USB interface and/or a USB-OTG interface, and is specifically set according to actual conditions. The USB interface module included in the image forming control card provided in this embodiment may be disposed outside the main control unit or in the main control unit, and the settings of the USB interface module are respectively described in the following embodiments.
第一种情况, USB接口模块设置在主控单元外。 该种情况下, 主控单元 还包括通信控制模块,该 CPU通过通信控制模块与 USB接口模块通信。 图 1 为本发明图像形成控制卡实施例一的结构示意图, 如图 1所示, 该图像形成 控制卡 11包括主控单元 12,该主控单元 12包括 CPU14和通信控制模块 15 , 主控单元 12外还设置有第一 USB接口模块 16, CPU14通过通信控制模块 15 与第一 USB接口模块 16实现通信。 主控单元 12内还包括图像处理模块、 数 据压缩 /解压缩模块、 时钟模块、 复位模块、 程序存储器和数据存储器等功能 部件, 且均与 CPU14连接。 如图中所示, 设置在主控单元 12外的第一 USB 接口模块 16包括 N ( N为大于 1的自然数) 个 USB接口, 分别为第一从属 In the first case, the USB interface module is set outside the main control unit. In this case, the main control unit further includes a communication control module, and the CPU communicates with the USB interface module through the communication control module. 1 is a schematic structural diagram of Embodiment 1 of an image forming control card according to the present invention. As shown in FIG. 1, the image forming control card 11 includes a main control unit 12, and the main control unit 12 includes a CPU 14 and a communication control module 15, and a main control unit. A first USB interface module 16 is also provided in addition to the 12, and the CPU 14 communicates with the first USB interface module 16 via the communication control module 15. The main control unit 12 further includes functional components such as an image processing module, a data compression/decompression module, a clock module, a reset module, a program memory, and a data memory, all of which are connected to the CPU 14. As shown in the figure, the first USB interface module 16 disposed outside the main control unit 12 includes N (N is a natural number greater than 1) USB interfaces, respectively being the first slaves
USB接口 al、 第二从属 USB接口 a2 第 N从属 USB接口 aN。 第一从 属 USB接口 al、 第二从属 USB接口 a2 第 N从属 USB接口 aN分别通 过主机设备 13中的主 USB接口与对应的主机设备 13连接,这样不同主机的 用户就可以进行各自的打印操作,实现同时能够与 N个外设进行通信的目的。 USB interface al, second slave USB interface a2 N slave USB interface aN. The first slave USB interface a1, the second slave USB interface a2, and the Nth slave USB interface aN are respectively connected to the corresponding host device 13 through the main USB interface in the host device 13, so that users of different hosts can perform respective printing operations. Achieve simultaneous communication with N peripherals.
本实施例中 USB接口模块可以选用 USB接口芯片, 数量可以根据实际 需要选择一个或多个。 USB 接口芯片可以为普通的 USB 接口芯片或者是 USB-OTG接口芯片, 普通的 USB接口芯片中具有的是从属 USB接口 (如图 1所示) , USB-OTG接口芯片中具有的是 USB-OTG接口, 当然 USB-OTG 接口芯片上也可以根据需求包括从属 USB接口。 USB接口模块所具有的至少 两个 USB接口可以是由一个 USB接口芯片包括至少两个 USB接口实现, 也 可以是由至少两个的 USB接口芯片、 且每个 USB接口芯片至少包括一个的 USB接口实现。 图 1仅示出了图像形成控制卡包括从属 USB接口的情况,对 于图像形成控制卡包括至少两个 USB-OTG接口的情况, 本领域技术人员可 以参照实现, 此处不再赘述。 第二种情况, USB接口模块设置在主控单元内。 该种情况下, 主控单元 内包括 USB接口模块, 其中该 USB接口模块包括从 CPU引出的、 至少两组 的 USB接口。 图 2为本发明图像形成控制卡实施例二的结构示意图, 如图 2 所示, 该图像形成控制卡 11 包括主控单元 12, 该主控单元 12包括 CPU14 以及第二 USB接口模块 16,, CPU14通过第二 USB接口模块 16,与主机设备 13通信。 主控单元 12内还包括图像处理模块、 数据压缩 /解压缩模块、 时钟 模块、复位模块、程序存储器和数据存储器等功能部件,其均与 CPU14连接。 如图中所示, 设置在主控单元 12内的第二 USB接口模块 16,包括从 CPU14 引出的、 N ( N为大于 1的自然数)个 USB接口, 分别为第一从属 USB接口 al、 第二从属 USB接口 a2 第 N从属 USB接口 aN。 第一从属 USB接 口 al、 第二从属 USB接口 a2 第 N从属 USB接口 aN分别通过主机设 备 13中的主 USB接口与对应的主机设备 13连接,这样不同主机的用户就可 以进行各自的打印操作, 实现同时能够与 N个外设进行通信的目的。 In this embodiment, the USB interface module can be a USB interface chip, and the number can be selected according to actual needs. The USB interface chip can be a normal USB interface chip or a USB-OTG interface chip. The common USB interface chip has a slave USB interface (as shown in FIG. 1), and the USB-OTG interface chip has a USB-OTG. Interface, of course, the USB-OTG interface chip can also include a slave USB interface as needed. The at least two USB interfaces of the USB interface module may be implemented by one USB interface chip including at least two USB interfaces, or may be at least two USB interface chips, and each USB interface chip includes at least one USB interface. achieve. FIG. 1 shows only the case where the image forming control card includes the slave USB interface. For the case where the image forming control card includes at least two USB-OTG interfaces, those skilled in the art can refer to the implementation, and details are not described herein again. In the second case, the USB interface module is set in the main control unit. In this case, the main control unit includes a USB interface module, wherein the USB interface module includes at least two sets of USB interfaces that are taken from the CPU. 2 is a schematic structural diagram of Embodiment 2 of an image forming control card according to the present invention. As shown in FIG. 2, the image forming control card 11 includes a main control unit 12, and the main control unit 12 includes a CPU 14 and a second USB interface module 16, The CPU 14 communicates with the host device 13 through the second USB interface module 16. The main control unit 12 further includes functional components such as an image processing module, a data compression/decompression module, a clock module, a reset module, a program memory, and a data memory, all of which are connected to the CPU 14. As shown in the figure, the second USB interface module 16 disposed in the main control unit 12 includes N (N is a natural number greater than 1) USB interfaces, which are respectively derived from the CPU 14, and are respectively the first slave USB interfaces a1, Two slave USB interface a2 Nth slave USB interface aN. The first slave USB interface a1, the second slave USB interface a2, and the Nth slave USB interface aN are respectively connected to the corresponding host device 13 through the main USB interface in the host device 13, so that users of different hosts can perform respective printing operations. Achieve simultaneous communication with N peripherals.
本实施例与上述实施例的不同之处在于,本实施例中 USB接口模块包括 通过 CPU自身引出的多组 USB总线所形成的 USB接口, 不同的 CPU可以 弓 I出普通的 USB总线形成从属 USB接口(如图 2所示),也可以引出 USB-OTG 总线形成 USB-OTG接口(图出未示出)。每一组 USB总线例如数据线(D+, D- )或 ( OTG— D+, OTG— D- )便形成一组 USB接口。 图 2仅示出了图像形 成控制卡包括从属 USB 接口的情况, 对于图像形成控制卡包括至少两个 USB-OTG接口的情况, 本领域技术人员可以参照实现, 此处不再赘述。  The difference between this embodiment and the above embodiment is that the USB interface module in the embodiment includes a USB interface formed by multiple sets of USB buses drawn by the CPU itself, and different CPUs can form a USB bus to form a slave USB. The interface (shown in Figure 2) can also lead to the USB-OTG bus to form a USB-OTG interface (not shown). Each set of USB buses, such as data lines (D+, D-) or (OTG-D+, OTG-D-), form a set of USB interfaces. FIG. 2 only shows the case where the image forming control card includes the slave USB interface. For the case where the image forming control card includes at least two USB-OTG interfaces, those skilled in the art can refer to the implementation, and details are not described herein again.
第三种情况, 该种情况是上述两种情况的结合。 具体地, 主控单元内包 括一 USB接口模块, 主控单元外还包括另一 USB接口模块。 主控单元还包 括一通信控制模块, 该 CPU通过通信控制模块与主控单元外的 USB接口模 块通信;主控单元内包括一 USB接口模块,其中该 USB接口模块包括从 CPU 引出的、 至少两组的 USB接口。 图 3为本发明图像形成控制卡实施例三的结 构示意图, 如图 3所示, 该图像形成控制卡 11 包括主控单元 12, 该主控单 元 12包括 CPU14、 通信控制模块 15以及第二 USB接口模块 16,, CPU14通 过第二 USB接口模块 16,与对应的主机设备 13通信。 主控单元 12外还设置 有第一 USB接口模块 16, CPU14通过通信控制模块 15与第一 USB接口模 块 16实现通信。主控单元 12内还包括图像处理模块、数据压缩 /解压缩模块、 时钟模块、 复位模块、 程序存储器和数据存储器等功能部件, 其均与 CPU14 连接。 In the third case, this situation is a combination of the above two cases. Specifically, the main control unit includes a USB interface module, and the main control unit further includes another USB interface module. The main control unit further includes a communication control module, wherein the CPU communicates with the USB interface module outside the main control unit through the communication control module; the main control unit includes a USB interface module, wherein the USB interface module includes at least two from the CPU Group of USB interfaces. 3 is a schematic structural diagram of Embodiment 3 of an image forming control card according to the present invention. As shown in FIG. 3, the image forming control card 11 includes a main control unit 12, and the main control unit The element 12 includes a CPU 14, a communication control module 15, and a second USB interface module 16, and the CPU 14 communicates with the corresponding host device 13 via the second USB interface module 16. A first USB interface module 16 is further disposed outside the main control unit 12, and the CPU 14 communicates with the first USB interface module 16 through the communication control module 15. The main control unit 12 further includes functional components such as an image processing module, a data compression/decompression module, a clock module, a reset module, a program memory, and a data memory, all of which are connected to the CPU 14.
如图所示,设置在主控单元 12外的第一 USB接口模块 16包括一个 USB 接口即第一从属 USB接口 al ,其通过主机设备 13中的主 USB接口与对应的 主机设备 13连接。 设置在主控单元 12 内的第二 USB接口模块 16,包括从 CPU14引出的一个 USB接口即第二从属 USB接口 a2, 其通过主机设备 13 中的主 USB接口与对应的主机设备 13连接。 本实施例中的图像形成控制卡 通过分别设置在主控单元内外的两个 USB接口模块,这样不同主机的用户就 可以进行各自的打印操作, 实现同时能够与多个外设进行通信的目的。 本实 施例中以每个 USB接口模块具有一个 USB接口为例进行说明, 当然并不局 限于此。  As shown, the first USB interface module 16 disposed outside the main control unit 12 includes a USB interface, i.e., a first slave USB interface al, which is coupled to the corresponding host device 13 via a primary USB interface in the host device 13. The second USB interface module 16 disposed in the main control unit 12 includes a USB interface that is derived from the CPU 14, that is, the second slave USB interface a2, which is connected to the corresponding host device 13 through the main USB interface in the host device 13. The image forming control card in this embodiment is respectively provided with two USB interface modules inside and outside the main control unit, so that users of different hosts can perform respective printing operations, thereby achieving the purpose of being able to communicate with a plurality of peripheral devices at the same time. In this embodiment, each USB interface module has a USB interface as an example, and is of course not limited thereto.
由上可知, 本实施例中的图像形成控制卡中设置于主控单元外的第一 USB接口模块可以选用上述第一种情况中的 USB接口模块,即为一个或多个 USB接口芯片,设置于主控单元内的第二 USB接口模块可以选用上述第二种 情况中的 USB接口模块, 即包括从 CPU引出的、 一组或多组的 USB接口, 具体可参见上述介绍, 此处不再赘述。  It can be seen that, in the image forming control card in this embodiment, the first USB interface module disposed outside the main control unit can select the USB interface module in the first case, that is, one or more USB interface chips, The second USB interface module in the main control unit may select the USB interface module in the second case, that is, one or more sets of USB interfaces that are extracted from the CPU. For details, refer to the above introduction. Narration.
另外, 由于 USB-OTG接口可以做主 USB接口也可做从属 USB接口, 所以打印机若使用 USB-OTG技术不仅可实现一台打印机具有多个 USB接口 的需要, 更使用户减少了对主机设备的依赖, 比如: U盘、 相机等数码设备 可以直接插到打印机上, 将其中需要打印的资料进行方便打印。  In addition, since the USB-OTG interface can be used as the main USB interface and can also be used as the slave USB interface, if the printer uses USB-OTG technology, not only can a printer have multiple USB interfaces, but also reduce the dependence on the host device. For example, USB devices such as USB flash drives and cameras can be directly inserted into the printer to easily print the data that needs to be printed.
图 4为本发明主控单元与主机设备通信的结构模块图,如图 4所示, CPU 通过数据总线(可复用为地址总线)和控制总线完成数据的传输, USB接口 模块将主机设备传输过来的数据按照 USB协议的要求, 对数据重新组织, 以 完成和图像形成控制卡进行数据的传输。 4 is a structural block diagram of communication between a main control unit and a host device according to the present invention. As shown in FIG. 4, the CPU completes data transmission through a data bus (reusable as an address bus) and a control bus, and the USB interface. The module reorganizes the data transmitted by the host device according to the requirements of the USB protocol to complete the data transmission with the image forming control card.
上述各实施例中的图像形成控制卡, 由于具有多个 USB接口, 因此为了 避免多个 USB接口同时接收打印任务时发生处理程序混乱的现象,需要对多 个的 USB接口进行统一且有效的管理,使得其能够有序地实现打印机的共享。 以下以图像形成控制卡具有多个的从属 USB接口为例进行说明,本领域的技 术人员可理解 USB-OTG接口具有相同的工作原理。  Since the image forming control card in each of the above embodiments has a plurality of USB interfaces, it is necessary to uniformly and effectively manage a plurality of USB interfaces in order to avoid a disorder of processing programs when a plurality of USB interfaces simultaneously receive a print job. So that it can achieve the sharing of printers in an orderly manner. The following is an example in which the image forming control card has a plurality of slave USB interfaces, and those skilled in the art can understand that the USB-OTG interface has the same working principle.
当然, 若图像形成控制卡只有一个从属 USB接口的情况下, 也就没必要 对其进行优先级管理。只有当图像形成控制卡的从属 USB接口的数量之和至 少为 2个的时候, 才有必要对多个从属 USB接口进行操作优先级的管理。 图 像形成控制卡内的 CPU中包括优先级处理模块, 以及与该优先级处理模块连 接的轮询模块, 其中, 优先级处理模块用于存储 USB接口模块中各 USB接 口的操作优先级信息, 轮询模块用于对各 USB接口进行轮询。 图像形成控制 卡通过其具有的优先级处理功能和轮询功能对 USB接口模块上的至少两个的 USB接口进行管理。  Of course, if the image forming control card has only one slave USB interface, there is no need to prioritize it. Only when the sum of the number of slave USB interfaces of the image forming control card is at least two, it is necessary to manage the operation priorities of the plurality of slave USB interfaces. The CPU in the image forming control card includes a priority processing module and a polling module connected to the priority processing module, wherein the priority processing module is configured to store operation priority information of each USB interface in the USB interface module, The polling module is used to poll each USB interface. The image forming control card manages at least two USB interfaces on the USB interface module through its priority processing function and polling function.
下面以图 3所示的图像形成控制卡结构为例, 第一 USB接口模块 16和 第二 USB接口模块 16,上的各从属 USB接口的操作优先级信息设置在 CPU14 的优先级处理模块中。 各从属 USB接口的操作优先级信息可以根据各从属 USB接口的编号顺序进行设定, 例如第一从属 USB接口 al、 第二从属 USB 接口 a2 第 N从属 USB接口 aN的操作优先级信息依次降低。 本实施例 中第一从属 USB接口 al的操作优先级高于第二从属 USB接口 a2。当然操作 优先级信息也可以根据实际需求按照其他要求进行设定。 具体地, 可以通过 CPU中所包括的第一设置模块完成。该第一设置模块与优先级处理模块连接, 用于设置各 USB接口的操作优先级信息。  Taking the image forming control card structure shown in FIG. 3 as an example, the operation priority information of each slave USB interface on the first USB interface module 16 and the second USB interface module 16 is set in the priority processing module of the CPU 14. The operation priority information of each slave USB interface can be set according to the number order of each slave USB interface, for example, the first slave USB interface al, the second slave USB interface a2, the N slave USB interface aN operation priority information is sequentially lowered. In this embodiment, the operation priority of the first slave USB interface al is higher than that of the second slave USB interface a2. Of course, the operation priority information can also be set according to other requirements according to actual needs. Specifically, it can be completed by the first setting module included in the CPU. The first setting module is connected to the priority processing module, and is configured to set operation priority information of each USB interface.
轮询模块是釆用轮询的方式来检测各个从属 USB 接口是否接收到主 The polling module uses polling to detect whether each slave USB interface receives the master.
USB接口传输过来的数据。 如果打印机有作业 A正在处理, 而此时又有从其 它主 USB接口发送过来打印作业 B,打印机则在完成作业 A后, 开始处理作 业 B。 如果在同一时刻有两个从属 USB接口或者更多从属 USB接口同时接 收到各自对应的主 USB接口发送的数据, 则图像形成控制卡 11会根据优先 级处理模块预先设定好的操作优先级信息来依次处理打印任务, 此种处理是 串行的, 具体可参见图 5所示的本发明实施例中图像形成控制卡的控制程序 工作流程示意图。 Data transmitted from the USB interface. If the printer has job A being processed, then there is another Its main USB interface is sent to print job B, and the printer starts processing job B after completing job A. If two slave USB interfaces or more slave USB interfaces receive data transmitted by the corresponding master USB interface at the same time, the image forming control card 11 presets the operation priority information according to the priority processing module. The processing tasks are serially processed, and the processing is serial. For details, refer to the working flow of the control program of the image forming control card in the embodiment of the present invention shown in FIG.
本发明实施例所提供的图像形成控制卡中, CPU还可以包括一可用性配 置模块, 该可用性配置模块用于存储用以标识 USB接口模块中各 USB接口 当前是否可用的可用性配置信息。  In the image forming control card provided by the embodiment of the present invention, the CPU may further include an availability configuration module, where the availability configuration module is configured to store availability configuration information for identifying whether each USB interface in the USB interface module is currently available.
图像形成控制卡可以通过可用性配置模块对各 USB接口的可用性进行配 置, 如有第一从属 USB接口 al、 第二从属 USB接口 a2和第三从属 USB接 口 a3这三个接口, 将其可用性配置信息分别配置为 0、 1、 0。 假设 0代表不 使能、 1代表使能, 则图像形成控制卡通过读到各 USB接口的可用性配置信 息进行判断,只响应通过可用性配置信息为 1的 USB接口接收到的打印任务, 即打印通过被使能的第二从属 USB接口 a2接收到的待打印文件; 即使有通 过第一从属 USB接口 al和第三从属 USB接口 a3接收到的打印任务, 图像 形成控制卡也不会执行该任务。  The image forming control card can configure the availability of each USB interface through the availability configuration module. If there are three interfaces of the first slave USB interface a1, the second slave USB interface a2, and the third slave USB interface a3, the availability configuration information is provided. Configured as 0, 1, and 0 respectively. Assuming that 0 is not enabled and 1 is enabled, the image forming control card judges by reading the availability configuration information of each USB interface, and only responds to the print job received through the USB interface of the availability configuration information of 1, that is, printing is passed. The file to be printed received by the enabled second slave USB interface a2; the image forming control card does not perform the task even if there is a print job received through the first slave USB interface a1 and the third slave USB interface a3.
本发明实施例所提供的图像形成控制卡中, 通过图像形成控制卡的控制 装置如控制面板、遥控器、所连的计算机等来配置或修改各 USB接口的属性, 如优先级、 可用性等。 第一设置模块通过控制装置输入的信息来配置各 USB 接口的操作优先级信息。 例如, 图像形成控制卡初始配置第一从属 USB接口 al、 第二从属 USB接口 a2和第三从属 USB接口 a3的操作优先级信息分别 为 001、 010、 011 , 当图像形成控制卡同时通过这 3个 USB接口接收到打印 任务时, 打印机会首先比较优先级配置信息, 然后按照预先设置的优先级执 行顺序依次执行,如预先设置的优先级执行顺序为按 USB接口优先级配置的 从小到大的顺序, 则打印机会首先执行通过第一从属 USB接口 al接收到的 打印任务, 当全部执行完毕后, 再执行通过第二从属 USB接口 a2接收到的 打印任务; 以此类推, 最后执行通过第三从属 USB接口 a3接收到的打印任 务。 又如预先设置的优先级执行顺序为通过 USB接口接收到的时间顺序, 且 当同时收到打印任务时按照 USB接口的优先级配置来执行,则当图像形成控 制卡同时接收到通过第一从属 USB接口 al和第二从属 USB接口 a2分别接 收到的打印任务 Al、 B1时, 打印任务 A1会先被执行, 打印任务 B1等待; 如果在打印任务 A1没有执行完成前又收到通过第一从属 USB接口 al接收到 的打印任务 A2, 此时, 图像形成控制卡会先执行打印任务 B1 , 然后再执行 打印任务 A2。 In the image forming control card provided by the embodiment of the present invention, the attributes of each USB interface, such as priority, availability, etc., are configured or modified by a control device such as a control panel, a remote controller, a connected computer, or the like of the image forming control card. The first setting module configures operation priority information of each USB interface by using information input by the control device. For example, the image forming control card initially configures the operation priority information of the first slave USB interface a1, the second slave USB interface a2, and the third slave USB interface a3 to be 001, 010, and 011, respectively, when the image forming control card passes through the 3 When the USB interface receives the print task, the printer first compares the priority configuration information, and then executes it according to the preset priority execution order. For example, the preset priority execution order is the small to large configuration according to the USB interface priority. In order, the printer will first execute the received through the first slave USB interface a1 The print job, after all execution is completed, executes the print job received through the second slave USB interface a2; and so on, finally executes the print job received through the third slave USB interface a3. In another example, the priority execution order set in advance is the time sequence received through the USB interface, and when the print task is simultaneously received according to the priority configuration of the USB interface, when the image forming control card simultaneously receives the first slave When the print tasks A1 and B1 are respectively received by the USB interface a1 and the second slave USB interface a2, the print job A1 is executed first, and the print job B1 waits; if the print task A1 is not executed, the first slave is received. The print job A2 received by the USB interface a1, at this time, the image forming control card executes the print job B1 first, and then executes the print job A2.
之后, 可以通过第一设置模块将第一从属 USB接口 al、 第二从属 USB 接口 a2和第三从属 USB接口 a3的操作优先级信息分别重配置为 010、 001、 011。 则此后, 当图像形成控制卡同时通过这三个 USB接口接收到打印任务 时, 通过比较操作优先级信息后, 会首先响应通过第二从属 USB接口 a2接 收到的打印任务即执行通过第二从属 USB接口 a2接收到的待打印文件的打 印工作, 然后再依次响应通过第一从属 USB接口 al、 第三从属 USB接口 a3 接收到的打印任务。  Thereafter, the operation priority information of the first slave USB interface al, the second slave USB interface a2, and the third slave USB interface a3 can be reconfigured to 010, 001, and 011, respectively, by the first setting module. Then, when the image forming control card receives the print job through the three USB interfaces at the same time, after comparing the operation priority information, the print task received through the second slave USB interface a2 is first executed through the second slave. The USB interface a2 receives the print job of the file to be printed, and then sequentially responds to the print job received through the first slave USB interface a1 and the third slave USB interface a3.
本发明实施例中还可以通过 CPU 包括的第二设置模块根据需要修改 USB接口模块中各 USB接口的可用性配置信息, 例如需要使用多个 USB接 口时, 可将第一从属 USB接口 al、 第二从属 USB接口 a2和第三从属 USB 接口 a3的可用性配置信息分别重新设置为 1、 1、 0, 则第一从属 USB接口 al和第二从属 USB接口 a2可用。 上述仅是一实施例, 各 USB接口的使能或 不使能不一定用 0和 1来标识, 也可用其他任何的区分标识。  In the embodiment of the present invention, the second configuration module included in the CPU may also modify the availability configuration information of each USB interface in the USB interface module as needed. For example, when multiple USB interfaces are required, the first slave USB interface a1 and the second may be used. The availability configuration information of the slave USB interface a2 and the third slave USB interface a3 are respectively reset to 1, 1, 0, and the first slave USB interface a1 and the second slave USB interface a2 are available. The foregoing is only an embodiment. The enabling or disabling of each USB interface is not necessarily identified by 0 and 1, and any other distinguishing identifier may be used.
上述各实施例中的某些 USB接口的属性如优先级、可用性等也可以没有 初始配置, 用户可以通过后续对 USB接口的属性配置, 调节 USB接口的使 用性能, 如各 USB接口输入信息的执行顺序、 各 USB接口是否可用等。  Some of the attributes of the USB interface in the above embodiments, such as priority, availability, etc., may also have no initial configuration. The user can adjust the performance of the USB interface by subsequent configuration of the attributes of the USB interface, such as the execution of input information of each USB interface. The order, whether each USB interface is available, etc.
上述实施例中提及的第一设置模块和第二设置模块还可以根据实际需要 作为单独的一个功能模块来实现相应的操作优先级信息和可用性配置信息的 重新设置。 分体设置或一体设置的第一设置模块和第二设置模块可以通过控 制模块输入的信息配置操作优先级信息和 /或可用性配置信息。 The first setting module and the second setting module mentioned in the above embodiments may also be according to actual needs. As a separate function module, the corresponding operation priority information and the reset of the availability configuration information are implemented. The first setting module and the second setting module of the split setting or the integral setting may configure the operation priority information and/or the availability configuration information by the information input by the control module.
本发明实施例还提供一种图像形成系统, 包括主机以及与该主机连接的 设置有上述各实施例所提供的图像形成控制卡的图像形成设备, 图像形成设 备通过上述控制装置接收到主机发送的设置信息后, 通过控制装置将设置信 息发送给分体设置或一体设置的第一设置模块和第二设置模块, 并由设置模 块对来配置优先级信息和 /或可用性配置信息。 所述的主机发送的设置信息包 括用于设置优先级信息和 /或可用性配置信息的信息。  The embodiment of the present invention further provides an image forming system including a host and an image forming apparatus connected to the host and provided with the image forming control card provided by each of the foregoing embodiments, where the image forming apparatus receives the host sending by the control device. After the information is set, the setting information is sent to the first setting module and the second setting module which are separately set or integrated by the control device, and the priority information and/or the availability configuration information are configured by the setting module pair. The setting information sent by the host includes information for setting priority information and/or availability configuration information.
本发明实施例所提供的图像形成控制卡中, CPU还可以包括第一处理模 块, 该第一处理模块用于存储根据待打印文件的特征信息而确定的待打印文 件的执行顺序信息。 本实施例中, 不再以各 USB接口的操作优先级信息为执 行顺序,而是以各 USB接口所接收到的待打印文件为依据来顺序响应各 USB 接口的打印任务。 所述的待打印文件的特征信息可以包括待打印文件的文件 名中包含的字符, 和 /或待打印文件的文件类型, 或其他能够标识待打印文件 的特征信息。  In the image forming control card provided by the embodiment of the present invention, the CPU may further include a first processing module, and the first processing module is configured to store execution order information of the file to be printed determined according to the feature information of the file to be printed. In this embodiment, the operation priority information of each USB interface is no longer used as the execution order, but the print tasks of the USB interfaces are sequentially responded to based on the files to be printed received by the USB interfaces. The feature information of the file to be printed may include characters included in a file name of the file to be printed, and/or a file type of the file to be printed, or other feature information capable of identifying the file to be printed.
具体地, 图像形成控制卡从多个 USB接口同时接收到打印任务时, 可以 根据待打印文件的特征基于预设的优先级判断策略来确定执行顺序, 依次执 置的优先级策略。 上述的待打印文件的特征信息可以是文件名里包含的特殊 有 "#" 字符的文件首先被打印, 根据 ASCII码表, "#" 对应的是 23H, 则 当判断出接收到的待打印文件的文件名部分带有 23H的信息时, 就先执行该 打印任务。又如预设的优先级判断策略为待打印文件按照后缀是 xls、 doc、 jpg 的顺序依次执行,则待打印文件的后缀是 xls的打印任务会先执行,其次是执 行后缀是 doc的待打印文件, 最后执行后缀是 jpg的待打印文件。 又如特殊 类型的文件, 如 test文件先执行, 则待打印文件的后缀是 test的打印任务会 先执行等等。 Specifically, when the image forming control card receives the print job from the plurality of USB interfaces, the image forming control card may determine the execution order based on the preset priority judgment policy according to the feature of the file to be printed, and sequentially implement the priority policy. The feature information of the file to be printed may be that the file with the special "#" character included in the file name is first printed. According to the ASCII code table, "#" corresponds to 23H, and when the received file to be printed is judged When the file name portion has 23H information, the print job is executed first. For example, if the preset priority judgment strategy is executed in the order that the files to be printed are in the order of xls, doc, and jpg, the print task whose suffix of the file to be printed is xls is executed first, and then the execution suffix is doc to be printed. File, the last execution suffix is jpg file to be printed. Another special The type of file, such as the test file is executed first, then the print task with the suffix of the file to be printed is executed first.
本发明各实施例提供的图像形成控制卡, 可以对设置有该图像形成控制 卡的图像形成设备的 USB接口数量进行扩展,解决了现有图像形成设备单一 从属 USB接口所造成使用中的不便,使得多用户使用图像形成设备更加便利; 在多个主机设备同时使用一台图像形成设备时, 节省了能源, 还保证了处理 内容的安全性。  The image forming control card provided by the embodiments of the present invention can expand the number of USB interfaces of the image forming apparatus provided with the image forming control card, and solves the inconvenience caused by the use of the single slave USB interface of the existing image forming apparatus. It makes it more convenient for multiple users to use the image forming apparatus; when a plurality of host devices simultaneously use one image forming apparatus, energy is saved, and the security of the processed content is also ensured.
本发明实施例还提供一种图像形成设备, 该图像形成设备包括上述各实 施例提供的图像形成控制卡。图 6为本发明图像形成设备实施例结构示意图, 如图 6所示, 图像形成设备例如打印机 10包括图像形成系统和多个 USB接 口。 打印机 10通过该从属 USB接口实现与不同主机设备 13 (如: PC )相连 接, 这样不同的用户直接对打印机 10进行不同的操作, 以便快捷且安全地完 成打印工作。 具体地说, 各主机设备 13分别由不同的用户使用, 各主机设备 13只要分别安装了打印机 10的驱动程序, 就可以在不相互连网的情况下, 独立地进行各自的打印工作。 对于不同的用户来说, 同一台打印机 10都是他 们的本地打印机。 用户只需要打开了自己的主机设备, 然后再打开打印机 10 就可以进行自己的打印工作, 其它主机设备是否工作, 完全不受影响。  An embodiment of the present invention further provides an image forming apparatus comprising the image forming control card provided by the above embodiments. Fig. 6 is a view showing the structure of an embodiment of an image forming apparatus of the present invention. As shown in Fig. 6, an image forming apparatus such as a printer 10 includes an image forming system and a plurality of USB interfaces. The printer 10 is connected to different host devices 13 (e.g., PCs) through the slave USB interface, so that different users directly perform different operations on the printer 10 to complete the printing work quickly and safely. Specifically, each of the host devices 13 is used by a different user, and each of the host devices 13 can independently perform respective print jobs without being connected to each other as long as the drivers of the printer 10 are separately installed. The same printer 10 is their local printer for different users. The user only needs to open his own host device, and then turn on the printer 10 to perform his own printing work. Whether other host devices work or not is completely unaffected.
图 7为打印机执行打印任务的工作流程图。 例如: 用户通过主机设备发 出打印任务, 接下来第一主机设备将调用系统的 SPOOLSV程序, 对打印任 务进行处理, 随后第一主机设备调用打印驱动程序, 经过该打印驱动程序的 处理之后, 最初的打印任务就变成了能被打印机识别的打印信息, 该信息通 过第一主机设备的主 USB传输给打印机本的第一从属 USB,这就是一个完整 的打印处理过程。 其它用户可以通过其它的主机设备进行各自的打印工作。 打印机的控制软件,釆用轮询的方式来检测各个从属 USB接口是否有从主机 设备传输过来的打印信息。 如果打印机正在处理第一主机设备发来的打印信 息 A, 而此时又有从其他主机设备发送过来的打印信息 B时, 打印机则在完 成 A后, 开始处理8。 Figure 7 is a flow chart showing the operation of the printer to perform a print job. For example: The user issues a print job through the host device, and then the first host device will call the SPOOLSV program of the system to process the print task, and then the first host device calls the print driver, after the processing of the print driver, the initial The print job becomes print information that can be recognized by the printer, and the information is transmitted to the first slave USB of the printer by the main USB of the first host device, which is a complete print process. Other users can perform their own printing work through other host devices. The printer's control software uses polling to detect whether each slave USB interface has print information transmitted from the host device. If the printer is processing print information A from the first host device and there is print information B sent from other host devices, the printer is finished. After becoming A, start processing 8.
如果在同一时刻有两个从属 USB接口或者更多接口同时接收到主机设备 这种处理是串行的。 比如: 按照 USB接口的位置顺序对 USB接口进行编号, 再根据这些编号顺序设置 USB接口的操作优先级信息,这样在出现上述冲突 时, 打印机就会按预定优先级进行处理, 对于用户来说, 非常方便。  If there are two slave USB interfaces or more interfaces receiving the host device at the same time, the processing is serial. For example: According to the position order of the USB interface, the USB interface is numbered, and then the operation priority information of the USB interface is set according to the order of the numbers, so that when the above conflict occurs, the printer processes according to the predetermined priority, for the user, Very convenient.
当然, 打印机也可以按照上述图像形成控制卡实施例中所提及的按照各 USB接口的优先级、 可用性等信息依次执行打印任务。 以及根据待打印文件 的特征信息来依次执行打印任务, 具体可以参照各图像形成控制卡实施例, 此处不再赘述。  Of course, the printer can also sequentially execute the print job according to the priority, availability, and the like of each USB interface as mentioned in the above embodiment of the image forming control card. And the printing task is executed in sequence according to the feature information of the file to be printed. For details, refer to the embodiments of the image forming control card, and details are not described herein again.
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或 者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技 术方案的本质脱离本发明各实施例技术方案的精神和范围。  It should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

权 利 要 求 书 Claim
1、 一种图像形成控制卡, 包括主控单元, 所述主控单元包括 CPU, 其特 征在于, 所述图像形成控制卡还包括 USB接口模块, 所述 USB接口模块至 少具有两个 USB接口, 所述 CPU通过所述 USB接口模块与外设通信。  An image forming control card, comprising a main control unit, the main control unit comprising a CPU, wherein the image forming control card further comprises a USB interface module, and the USB interface module has at least two USB interfaces. The CPU communicates with the peripheral device through the USB interface module.
2、 根据权利要求 1所述的图像形成控制卡, 其特征在于, 所述 USB接 口为从属 USB接口和 /或 USB-OTG接口。  2. The image forming control card according to claim 1, wherein the USB interface is a slave USB interface and/or a USB-OTG interface.
3、根据权利要求 1或 2所述的图像形成控制卡, 其特征在于, 所述 USB 接口模块设置在所述主控单元外, 所述主控单元还包括通信控制模块, 所述 CPU通过所述通信控制模块与所述 USB接口模块通信。  The image forming control card according to claim 1 or 2, wherein the USB interface module is disposed outside the main control unit, the main control unit further includes a communication control module, and the CPU passes through the The communication control module communicates with the USB interface module.
4、 根据权利要求 3所述的图像形成控制卡, 其特征在于, 所述 USB接 口模块为一个或多个 USB接口芯片。  4. The image forming control card according to claim 3, wherein the USB interface module is one or more USB interface chips.
5、根据权利要求 1或 2所述的图像形成控制卡, 其特征在于, 所述 USB 接口模块集成在所述主控单元内。  The image forming control card according to claim 1 or 2, wherein the USB interface module is integrated in the main control unit.
6、 根据权利要求 5所述的图像形成控制卡, 其特征在于, 所述 USB接 口模块包括从所述 CPU引出的、 至少两组的 USB接口。  6. The image forming control card according to claim 5, wherein the USB interface module comprises at least two sets of USB interfaces that are led from the CPU.
7、 根据权利要求 5所述的图像形成控制卡, 其特征在于, 在所述主控单 元外还设置有另一 USB接口模块, 所述主控单元还包括通信控制模块, 所述 CPU通过所述通信控制模块与所述另一 USB接口模块通信。  The image forming control card according to claim 5, wherein another USB interface module is further disposed outside the main control unit, the main control unit further includes a communication control module, and the CPU passes through the The communication control module is in communication with the other USB interface module.
8、 根据权利要求 7所述的图像形成控制卡, 其特征在于, 其中, 集成在 所述主控单元内的所述 USB接口模块包括从所述 CPU引出的、 一组或多组 的 USB接口; 设置在所述主控单元外的所述另一 USB接口模块为一个或多 个 USB接口芯片。  8. The image forming control card according to claim 7, wherein the USB interface module integrated in the main control unit comprises one or more groups of USB interfaces led out from the CPU. The other USB interface module disposed outside the main control unit is one or more USB interface chips.
9、根据权利要求 1或 2所述的图像形成控制卡, 其特征在于, 所述 CPU 包括用于存储所述 USB接口模块中各 USB接口的操作优先级信息的优先级 处理模块。  The image forming control card according to claim 1 or 2, wherein the CPU comprises a priority processing module for storing operation priority information of each USB interface in the USB interface module.
10、 根据权利要求 9所述的图像形成控制卡, 其特征在于, 所述 CPU还 包括第一设置模块,所述第一设置模块用于设置各 USB接口的操作优先级信 息。 10. The image forming control card according to claim 9, wherein the CPU further The first setting module is configured to set operation priority information of each USB interface.
11、 根据权利要求 9或 10所述的图像形成控制卡, 其特征在于, 所述操 作优先级信息根据各 USB接口的编号顺序确定。  The image forming control card according to claim 9 or 10, wherein the operation priority information is determined in accordance with the number order of each USB interface.
12、 根据权利要求 9、 10或 11所述的图像形成控制卡, 其特征在于, 所 述 CPU中还包括:  The image forming control card according to claim 9, 10 or 11, wherein the CPU further comprises:
与所述优先级处理模块连接的、用于对各 USB接口进行轮询的轮询模块。 A polling module connected to the priority processing module for polling each USB interface.
13、根据权利要求 1或 2所述的图像形成控制卡,其特征在于,所述 CPU 包括可用性配置模块,所述可用性配置模块用于存储用以标识所述 USB接口 模块中各 USB接口当前是否可用的可用性配置信息。 The image forming control card according to claim 1 or 2, wherein the CPU includes an availability configuration module, and the availability configuration module is configured to store whether each USB interface in the USB interface module is currently Available availability configuration information.
14、 根据权利要求 13 所述的图像形成控制卡, 其特征在于, 所述 CPU 还包括第二设置模块, 所述第二设置模块用于设置所述可用性配置信息。  The image forming control card according to claim 13, wherein the CPU further comprises a second setting module, wherein the second setting module is configured to set the availability configuration information.
15、根据权利要求 1或 2所述的图像形成控制卡,其特征在于,所述 CPU 包括第一处理模块, 所述第一处理模块用于存储根据待打印文件的特征信息 而确定的待打印文件的执行顺序信息。  The image forming control card according to claim 1 or 2, wherein the CPU comprises a first processing module, and the first processing module is configured to store a to-be-printed determined according to feature information of a file to be printed. The order of execution of the file.
16、 根据权利要求 15所述的图像形成控制卡, 其特征在于, 所述待打印 文件的特征信息包括: 所述待打印文件的文件名中包含的字符, 和 /或所述待 打印文件的文件类型。  The image forming control card according to claim 15, wherein the feature information of the file to be printed comprises: a character included in a file name of the file to be printed, and/or a file to be printed file type.
17、 一种图像形成设备, 其特征在于, 包括如权利要求 1至 16任一所述 的图像形成控制卡。  An image forming apparatus comprising the image forming control card according to any one of claims 1 to 16.
PCT/CN2011/077624 2010-07-27 2011-07-26 Image generation controller card and image generation device WO2012013140A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010240432.1A CN102346722B (en) 2010-07-27 2010-07-27 Image formation control card and image formation equipment
CN201010240432.1 2010-07-27

Publications (1)

Publication Number Publication Date
WO2012013140A1 true WO2012013140A1 (en) 2012-02-02

Family

ID=45529423

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/077624 WO2012013140A1 (en) 2010-07-27 2011-07-26 Image generation controller card and image generation device

Country Status (2)

Country Link
CN (1) CN102346722B (en)
WO (1) WO2012013140A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USD948715S1 (en) 2020-11-06 2022-04-12 West Pharmaceutical Services, Inc. Injection needle shield puller
US11857767B2 (en) 2017-12-22 2024-01-02 West Pharma. Services IL, Ltd. Injector usable with different dimension cartridges
US11931552B2 (en) 2015-06-04 2024-03-19 West Pharma Services Il, Ltd. Cartridge insertion for drug delivery device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1376989A (en) * 2001-03-28 2002-10-30 华邦电子股份有限公司 converter with USB structure for digital camera to printer
CN1535839A (en) * 2003-03-20 2004-10-13 ������������ʽ���� Recording device and power supply control method for recording device
CN1672949A (en) * 2004-03-25 2005-09-28 村田机械株式会社 Printing device
CN1691733A (en) * 2004-04-26 2005-11-02 全友电脑股份有限公司 Scanner capable of independent operation
CN201749463U (en) * 2010-07-27 2011-02-16 珠海赛纳科技有限公司 Image forming control card and image forming device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5010065B2 (en) * 2000-11-10 2012-08-29 オンセミコンダクター・トレーディング・リミテッド Microcomputer
CN101303638A (en) * 2008-02-22 2008-11-12 华南理工大学 Multi-USB interface high performance image adaptation apparatus as well as signal transmission method
CN101551707A (en) * 2008-03-31 2009-10-07 宏正自动科技股份有限公司 Switch and method capable of transmitting image signals to universal serial bus displayer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1376989A (en) * 2001-03-28 2002-10-30 华邦电子股份有限公司 converter with USB structure for digital camera to printer
CN1535839A (en) * 2003-03-20 2004-10-13 ������������ʽ���� Recording device and power supply control method for recording device
CN1672949A (en) * 2004-03-25 2005-09-28 村田机械株式会社 Printing device
CN1691733A (en) * 2004-04-26 2005-11-02 全友电脑股份有限公司 Scanner capable of independent operation
CN201749463U (en) * 2010-07-27 2011-02-16 珠海赛纳科技有限公司 Image forming control card and image forming device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11931552B2 (en) 2015-06-04 2024-03-19 West Pharma Services Il, Ltd. Cartridge insertion for drug delivery device
US11857767B2 (en) 2017-12-22 2024-01-02 West Pharma. Services IL, Ltd. Injector usable with different dimension cartridges
USD948715S1 (en) 2020-11-06 2022-04-12 West Pharmaceutical Services, Inc. Injection needle shield puller

Also Published As

Publication number Publication date
CN102346722B (en) 2014-03-12
CN102346722A (en) 2012-02-08

Similar Documents

Publication Publication Date Title
EP1591910B1 (en) Configurable PCI express switch
US8665474B2 (en) Method, system, apparatus and medium for minimizing unnecessary processing associated with connection/disconnection of a same host
JP2003316719A (en) Upstream peripheral equipment performing role of usb host
JP4613328B2 (en) USB device server and USB device server system
JP2011034551A (en) Wireless removable storage device and image forming processor for executing image forming processing, and image forming processing method using the wireless removable storage device
CN106851041B (en) Information processing unit and its control method with battery saving mode
JP2001256170A (en) Peripheral device and printer
TWI541657B (en) Electronic device providing real-time switching and sharing of usb electronic apparatuses among hosts
WO2012013140A1 (en) Image generation controller card and image generation device
JP4954023B2 (en) Image forming apparatus and connection notification method
US9525757B2 (en) Information processing apparatus that controls connection of devices, method of controlling the apparatus, and device control system
JP5030538B2 (en) Data communication system, unit and data communication method
JP6460905B2 (en) Communication device, control method, program
JP6083243B2 (en) Image forming apparatus
TWM494348U (en) Electronic device providing real-time switching and sharing of USB electronic apparatuses among hosts
WO2013111507A1 (en) Controller
US9268726B2 (en) Information processing apparatus, control method thereof, and storage medium
JP5476913B2 (en) Information processing device
CN201749463U (en) Image forming control card and image forming device
JP4775146B2 (en) Image output apparatus and power consumption reduction method in image output apparatus
JP6089597B2 (en) Image forming apparatus and control method thereof
KR20070000682A (en) The printer having multiple usb ports and method for the same
US8542387B2 (en) Printing apparatus, printing system and printer driver
WO2024066857A1 (en) Electronic device, processor, and data transmission method and apparatus
JP2004213495A (en) Information processing system and pos system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11811841

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02/08/2013)

122 Ep: pct application non-entry in european phase

Ref document number: 11811841

Country of ref document: EP

Kind code of ref document: A1