The utility model content
The utility model provides a kind of image to form control card and image forming apparatus, in order to solve above-mentioned defective of the prior art, realizes the expansion of USB interface in the image forming apparatus.
The utility model provides a kind of image to form control card, comprise main control unit, described main control unit comprises CPU, and described image forms control card and also comprises usb interface module, described usb interface module has two USB interface at least, and described CPU is by described usb interface module and peripheral communication.
Aforesaid image forms control card, and wherein, described USB interface is subordinate USB interface and/or USB-OTG interface.
Aforesaid image forms control card, and wherein, described usb interface module is arranged on outside the described main control unit, and described main control unit also comprises communication control module, and described CPU communicates by letter with described usb interface module by described communication control module.
Aforesaid image forms control card, and wherein, described usb interface module is one or more USB interface chips.
Aforesaid image forms control card, and wherein, described usb interface module is integrated in the described main control unit.
Aforesaid image forms control card, and wherein, described usb interface module is USB interface that draw from described CPU, at least two groups.
Aforesaid image forms control card, wherein, also is provided with another usb interface module outside described main control unit, and described main control unit also comprises communication control module, and described CPU communicates by letter with described another usb interface module by described communication control module.
Aforesaid image forms control card, wherein, be integrated in the described main control unit described usb interface module for draw from described CPU, one or more groups USB interface; Being arranged on outer described another usb interface module of described main control unit is one or more USB interface chips.
Aforesaid image forms control card, and wherein, described CPU comprises the processed module of the operator precedence level information that is used for storing described each USB interface of usb interface module.
Aforesaid image forms control card, wherein, also comprises among the described CPU:
The poll module that is connected with described processed module, be used for each USB interface is carried out poll.
The utility model provides a kind of image forming apparatus, comprises that above-mentioned image forms control card.
The image that the utility model provides forms control card and image forming apparatus, can expand being provided with the USB interface that this image forms the image forming apparatus of control card, solve conventional images forming device single subordinate USB interface and caused inconvenience in the use, made the multi-user use image forming apparatus convenient more; When a plurality of main process equipments use an image forming apparatus simultaneously, saved the energy, also guaranteed the security of contents processing.
Embodiment
Further specify the technical scheme of the utility model embodiment below in conjunction with the drawings and specific embodiments.
Along with the common requirements of modern handle official bussiness to image forming apparatus, the setting of the single subordinate USB interface of conventional images forming device can not have been satisfied the multi-user for easily, use the demand of image forming apparatus independently, the utility model embodiment provides a kind of image to form control card and is provided with the image forming apparatus that this image forms control card, by expansion to its USB interface, caused inconvenience in the use to solve the single subordinate USB interface of conventional images forming device, avoid or when reducing a plurality of main process equipments and using an image forming apparatus simultaneously, cause the dangerous of the waste of the energy and contents processing.The image that comprises that each embodiment of the utility model relates to forms the image forming apparatus of control card, can be electrophotographic image forming, also can be ink-jet image forming apparatus etc.For simplicity, each embodiment of the utility model is that example is elaborated with the printer.
Image that the utility model embodiment provides forms control card and is arranged at image forming apparatus for example in the printer, and it is used to receive for example print command that sends of main process equipment of peripheral hardware, and resolves the print command that receives, and realizes printing control function.The utility model embodiment image forms in the control card and comprises main control unit, comprises central processing unit (CPU) in this main control unit, and is connected other function elements on the CPU.This image forms control card and also comprises usb interface module, and this usb interface module has two USB interface at least.CPU by above-mentioned usb interface module and peripheral hardware for example main process equipment communicate.Because the usb interface module that this image forms in the control card comprises at least two USB interface.Can expand the quantity of the USB interface of image forming apparatus, solve the single subordinate USB interface of conventional images forming device and caused inconvenience in the use, make the multi-user to use image forming apparatus convenient more.The USB interface that comprises in the above-mentioned usb interface module can be subordinate USB interface and/or USB-OTG interface, specifically according to the actual conditions setting.
Image that present embodiment provides forms the usb interface module that comprises in the control card, can be arranged in the main control unit or is arranged in the main control unit, is introduced with the setting of following examples to usb interface module respectively.
First kind of situation, usb interface module is arranged on outside the main control unit.Under this kind situation, main control unit also comprises communication control module, and this CPU communicates by letter with usb interface module by communication control module.Fig. 1 forms the structural representation of control card embodiment one for the utility model image, as shown in Figure 1, this image forms control card 11 and comprises main control unit 12, this main control unit 12 comprises CPU14 and communication control module 15, main control unit 12 outer first usb interface modules 16 that also are provided with, CPU14 realizes communicating by letter with first usb interface module 16 by communication control module 15.Also comprise image processing module, the data compression/decompression functional parts such as module, clock module, reseting module, program storage and data-carrier store that contract in the main control unit 12, and all be connected with CPU14.As shown in FIG., be arranged on the first outer usb interface modules 16 of main control unit 12 and comprise the individual USB interface of N (N for greater than 1 natural number), be respectively the first subordinate USB interface a1, the second subordinate USB interface a2 ..., N subordinate USB interface aN.The first subordinate USB interface a1, the second subordinate USB interface a2 ..., N subordinate USB interface aN is respectively by main USB interface in the main process equipment 13 and corresponding main process equipment 13 connections, the user of so different main frames just can carry out printing separately, realizes simultaneously the purpose that can communicate with N peripheral hardware.
Usb interface module can be selected the USB interface chip for use in the present embodiment, and quantity can be selected one or more according to actual needs.The USB interface chip can be common USB interface chip or USB-OTG interface chip, tool has plenty of subordinate USB interface (as shown in Figure 1) in the common USB interface chip, tool has plenty of the USB-OTG interface in the USB-OTG interface chip, also can comprise the subordinate USB interface according to demand on the USB-OTG interface chip certainly.At least two USB interface that usb interface module had can be to comprise that by a USB interface chip at least two USB interface realize, also can be to be realized by the USB interface that at least two USB interface chip and each USB interface chip comprise at least.Fig. 1 only shows image and forms the situation that control card comprises the subordinate USB interface, forms the situation that control card comprises at least two USB-OTG interfaces for image, and those skilled in the art can repeat no more with reference to realization herein.
Second kind of situation, usb interface module is arranged in the main control unit.Under this kind situation, comprise usb interface module in the main control unit, wherein this usb interface module is USB interface that draw from CPU, at least two groups.Fig. 2 forms the structural representation of control card embodiment two for the utility model image, as shown in Figure 2, this image forms control card 11 and comprises main control unit 12, this main control unit 12 comprises the CPU14 and second usb interface module 16 ', and CPU14 communicates by letter with main process equipment 13 by second usb interface module 16 '.Also comprise image processing module, the data compression/decompression functional parts such as module, clock module, reseting module, program storage and data-carrier store that contract in the main control unit 12, it all is connected with CPU14.As shown in FIG., be arranged on second usb interface modules 16 ' in the main control unit 12 comprise draw from CPU14, the individual USB interface of N (N for greater than 1 natural number), be respectively the first subordinate USB interface a1, the second subordinate USB interface a2 ..., N subordinate USB interface aN.The first subordinate USB interface a1, the second subordinate USB interface a2 ..., N subordinate USB interface aN is respectively by main USB interface in the main process equipment 13 and corresponding main process equipment 13 connections, the user of so different main frames just can carry out printing separately, realizes simultaneously the purpose that can communicate with N peripheral hardware.
The difference of present embodiment and the foregoing description is, usb interface module is the formed USB interface of many groups usb bus of self drawing by CPU in the present embodiment, different CPU can draw the common USB bus and form subordinate USB interface (as shown in Figure 2), also can draw the USB-OTG bus and form USB-OTG interface (figure goes out not shown).Each group usb bus for example data line (D+, D-) or (OTG_D+ OTG_D-) just forms one group of USB interface, organizes usb bus more and forms usb interface module in the present embodiment.Fig. 2 only shows image and forms the situation that control card comprises the subordinate USB interface, forms the situation that control card comprises at least two USB-OTG interfaces for image, and those skilled in the art can repeat no more with reference to realization herein.
The third situation, this kind situation are the combinations of above-mentioned two kinds of situations.Particularly, comprise a usb interface module in the main control unit, main control unit also comprises another usb interface module outward.Main control unit also comprises a communication control module, and this CPU communicates by letter by the outer usb interface module of communication control module and main control unit; Comprise a usb interface module in the main control unit, wherein this usb interface module is USB interface that draw from CPU, at least two groups.Fig. 3 forms the structural representation of control card embodiment three for the utility model image, as shown in Figure 3, this image forms control card 11 and comprises main control unit 12, this main control unit 12 comprises CPU14, communication control module 15 and second usb interface module 16 ', and CPU14 is by second usb interface module 16 ' and corresponding main process equipment 13 communications.Main control unit 12 outer first usb interface modules 16 that also are provided with, CPU14 realizes communicating by letter with first usb interface module 16 by communication control module 15.Also comprise image processing module, the data compression/decompression functional parts such as module, clock module, reseting module, program storage and data-carrier store that contract in the main control unit 12, it all is connected with CPU14.
As shown in the figure, be arranged on the main control unit 12 first outer usb interface modules 16 and comprise the i.e. first subordinate USB interface a1 of a USB interface, it is by main USB interface in the main process equipment 13 and corresponding main process equipment 13 connections.Second usb interface module 16 ' that is arranged in the main control unit 12 comprises that a USB interface of drawing from CPU14 is the second subordinate USB interface a2, and it is by main USB interface in the main process equipment 13 and corresponding main process equipment 13 connections.Image in the present embodiment forms control card by being separately positioned on two usb interface modules inside and outside the main control unit, and the user of so different main frames just can carry out printing separately, realizes the purpose that the while can communicate with a plurality of peripheral hardwares.Having a USB interface with each usb interface module in the present embodiment is that example describes, and is not limited thereto certainly.
As from the foregoing, image in the present embodiment forms and is arranged at the first outer usb interface module of main control unit in the control card and can selects usb interface module in above-mentioned first kind of situation for use, be one or more USB interface chips, be arranged at second usb interface module in the main control unit and can select usb interface module in above-mentioned second kind of situation for use, be draw from CPU, one or more groups USB interface, specifically can repeat no more referring to above-mentioned introduction herein.
In addition, USB interface also can be done the subordinate USB interface because the USB-OTG interface can be decided, so printer is if use the USB-OTG technology can realize that not only a printer has the needs of a plurality of USB interface, more make the user reduce dependence to main process equipment, such as: digital equipments such as USB flash disk, camera can directly be inserted on the printer, and the data that wherein needs to print is carried out convenient printing.
The construction module figure that Fig. 4 communicates by letter with main process equipment for the utility model main control unit, as shown in Figure 4, CPU finishes the transmission of data by data bus (reusable is an address bus) and control bus, the data that usb interface module transmits main process equipment are according to the requirement of usb protocol, data are reorganized, carry out the transmission of data to finish with image formation control card.
Image in the various embodiments described above forms control card, owing to have a plurality of USB interface, therefore the phenomenon of handling procedure confusion when receiving print out task simultaneously, a plurality of USB interface takes place, need carry out unified and effective management to a plurality of USB interface, make it can realize sharing of printer in an orderly manner.Below form control card with image to have a plurality of subordinate USB interface be that example describes, those skilled in the art may appreciate that the USB-OTG interface has identical principle of work.
Certainly, have only under the situation of a subordinate USB interface, also just need not carry out priority management it if image forms control card.When having only the quantity sum that forms the subordinate USB interface of control card when image to be at least 2, just be necessary a plurality of subordinate USB interface are carried out the management of operator precedence level.Image forms among the interior CPU of control card and comprises the processed module, and the poll module that is connected with this processed module, wherein, the processed module is used for storing the operator precedence level information of each USB interface of usb interface module, and the poll module is used for each USB interface is carried out poll.Image forms control card and by its processed function that has and poll at least two USB interface on the usb interface module is managed.
Forming the control card structure with image shown in Figure 3 below is example, and the operator precedence level information setting of each the subordinate USB interface on first usb interface module 16 and second usb interface module 16 ' is in the processed module of CPU14.The operator precedence level information of each subordinate USB interface can be set according to the number order of each subordinate USB interface, for example the first subordinate USB interface a1, the second subordinate USB interface a2 ..., the operator precedence level information of N subordinate USB interface aN reduces successively.The operator precedence level of the first subordinate USB interface a1 is higher than the second subordinate USB interface a2 in the present embodiment.Certainly operator precedence level information also can be set according to other requirements according to the actual requirements.
The poll module is to adopt the mode of poll to detect each subordinate USB interface whether to receive the data that main USB interface transmits.A handles if printer has operation, sends over print job B and have from other main USB interface this moment, and printer then behind the A that fulfils assignment, begins processing operation B.If have two subordinate USB interface or more subordinate USB interface to receive the data that each self-corresponding main USB interface sends simultaneously at synchronization, then image forms control card 11 and can handle print out task successively according to the pre-set operator precedence level information of processed module, this kind processing is serial, specifically can form the control program workflow synoptic diagram of control card referring to image among the utility model embodiment shown in Figure 5.
The image that each embodiment of the utility model provides forms control card, can expand being provided with the USB interface quantity that this image forms the image forming apparatus of control card, solve conventional images forming device single subordinate USB interface and caused inconvenience in the use, made the multi-user use image forming apparatus convenient more; When a plurality of main process equipments use an image forming apparatus simultaneously, saved the energy, also guaranteed the security of contents processing.
The utility model embodiment also provides a kind of image forming apparatus, and this image forming apparatus comprises that the image that the various embodiments described above provide forms control card.Fig. 6 is the utility model image forming apparatus example structure synoptic diagram, and as shown in Figure 6, image forming apparatus for example printer 10 comprises image formation system and a plurality of USB interface.Printer 10 is realized being connected with different main process equipments 13 (as: PC) by this subordinate USB interface, and different like this users directly carries out different operations to printer 10, so that fast and safely finish print job.Specifically, each main process equipment 13 is used by different user respectively, and each main process equipment 13 has been as long as installed the driver of printer 10 respectively, just can carry out print job separately independently under the situation of phase Internet not.For different users, same printer 10 all is their local printer.The user only need open the main process equipment of oneself, and then opens printer 10 and just can carry out the print job of oneself, and whether other main process equipment works, unaffected fully.
Fig. 7 carries out the workflow diagram of print out task for printer.For example: the user sends print out task by main process equipment, next first main process equipment is with the SPOOLSV program of calling system, print out task is handled, first main process equipment calls print driver subsequently, through after the processing of this print driver, initial print out task has just become the type information that can be printed machine identification, and this information is transferred to the printer first subordinate USB originally, a complete print processing process that Here it is by the main USB of first main process equipment.Other user can carry out print job separately by other main process equipment.The Control Software of printer, whether the mode of employing poll detects each subordinate USB interface the type information that transmits from main process equipment.If printer is being handled the type information A that first main process equipment is sent, and when having this moment from type information B that other main process equipments send over, printer then after finishing A, the beginning treatments B.
If when synchronization had two subordinate USB interface or more interfaces to receive the type information of main process equipment transmission simultaneously, then printer can be handled these type informations successively according to preset priority, this processing is serial.Such as: the sequence of positions according to USB interface is numbered USB interface, the operator precedence level information of USB interface is set according to these number order again, and when above-mentioned conflict occurring, printer will be handled by predetermined priority like this, for the user, very convenient.
It should be noted that at last: above embodiment only in order to the explanation the technical solution of the utility model, is not intended to limit; Although the utility model is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of each embodiment technical scheme of the utility model.