CN1376989A - converter with USB structure for digital camera to printer - Google Patents

converter with USB structure for digital camera to printer Download PDF

Info

Publication number
CN1376989A
CN1376989A CN 01110184 CN01110184A CN1376989A CN 1376989 A CN1376989 A CN 1376989A CN 01110184 CN01110184 CN 01110184 CN 01110184 A CN01110184 A CN 01110184A CN 1376989 A CN1376989 A CN 1376989A
Authority
CN
China
Prior art keywords
usb
tcu
conversion equipment
control unit
transmission control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 01110184
Other languages
Chinese (zh)
Other versions
CN1178142C (en
Inventor
林椿斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Winbond Electronics Corp
Original Assignee
Winbond Electronics Corp
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 Winbond Electronics Corp filed Critical Winbond Electronics Corp
Priority to CNB011101849A priority Critical patent/CN1178142C/en
Publication of CN1376989A publication Critical patent/CN1376989A/en
Application granted granted Critical
Publication of CN1178142C publication Critical patent/CN1178142C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

A converter with USB structure and connected between digital camera and printer is composed of a transmission controller with a buffer, a firmware as the memory of system program, and a multi-task microcontroller with data bus and control bus connected with transmission controller and firmware.

Description

A kind of conversion equipment with digital camera to printer of USB structure
The present invention relates to a kind of application technology of USB (universal serial bus), especially relate to the conversion equipment of digital camera to printer with USB (universal serial bus) structure.
Traditional serial port such as RS-232C in, the three big shortcomings that people complained the most are that speed is slow, wiring trouble and the port number that can support are limited etc.So from USB (universal serial bus) (Universal Serial Bus in 1996, hereinafter be called for short with USB) come out after, just with the high speed of 12Mbits/sec, avoid wiring error design, support to become the standard at serial of new generation port up to the expansion capacity of 127 peripheral units, with low cost and plug and play functions such as (plug-and-play).In the present computer peripheral equipment product, such as display, keyboard, mouse, rocking bar, scanner, printer and digital camera (Digital Still Camera) etc., all existing manufacturer releases one after another and supports the product of USB (universal serial bus).
At present, by the captured high definition digital image of digital camera, after all needing to process storage through personal computer earlier, the usb host end software that is provided with the operating system Windows of Microsoft company 98 (such as USB driver or USD controller driver etc.) again is sent to the printer place that personal computer connects and does output print.In other words, the digitized video that digital camera is captured is if want output print, all need as operation-interface by personal computer, therefore, for do not need personal computer or fail to carry for the user of personal computer temporarily, can't from digital camera, print captured digitized video.
The conversion equipment that the purpose of this invention is to provide a kind of digital camera to printer of the USB of having structure, this device only needs digital camera and printer all to have the USB structure, just can with digitized video digital camera handle affairs choose editor earlier after, directly be sent to the printer place and do output print through this device.
Another object of the present invention provides a kind of conversion equipment of position camera printer of the USB of having structure, this device only needs printer to have the USB structure, just the digital image data that stores up in the digital camera flash memory directly can be exported to printer side and does printing.
For achieving the above object, the present invention can finish by a kind of conversion equipment is provided.Conversion equipment according to the present invention is connected between a digital camera and the printer, comprising: a transmission control unit (TCU), a firmware internal memory and a multitask microcontroller.Transmission control unit (TCU) has a buffer, is stored to before this in the buffer at the image data that receives digital camera, is resent to the output print of printer place.Contain a system program in the firmware internal memory.And the multitask microcontroller is connected with the firmware internal memory with transmission control unit (TCU) by a data bus and a control bus, and this control tasks device receives and transmit image data according to system program in the time of the control transmission controller.The present invention also can reach by following manner, and the conversion equipment of a kind of position camera of the USB of having structure to printer is provided, and this conversion equipment is connected between a digital camera and the printer, and this conversion equipment comprises:
One transmission control unit (TCU), it has a two-way data transmission scratch block, this transmission control unit (TCU) receives the image data of this digital camera, be stored to this transmitted in both directions scratch block earlier after, be resent to this printer;
One stores the internal memory of a system program; And
One multitask microcontroller is connected with this internal memory with this transmission control unit (TCU) with a control bus by a data bus, and this control tasks device receives and transmit these image datas according to this system program when controlling this transmission control unit (TCU).
Because conversion equipment of the present invention can be done the translation interface of two USB devices, therefore, only need digital camera and printer all to have the USB structure, just can with digitized video digital camera handle affairs choose editor earlier after, directly be sent to the printer place and do output print through this.In addition, conversion equipment of the present invention can comprise an extraction-type memory card, and the image data that receives storage in the extraction-type memory card for transmission control unit (TCU) is resent to this printer to the buffer storage.Therefore, only need printer to have the USB framework, just the digital image data that stores up in the digital camera flash memory directly can be exported to printer side and does printing.
The present invention is described in detail below in conjunction with drawings and Examples:
Fig. 1 is the block scheme of conversion equipment one preferred embodiment of the digital camera to printer according to the present invention;
Fig. 2 is the more detailed block diagram of data formats transmission control unit (TCU) among Fig. 1;
Fig. 3 is the structural drawing of first in first out buffer among Fig. 2.
10~data formats switching controller; 11~multitask microprocessor; 12~system firmware internal memory; 13~flash memory; 14~USB digital camera port; 15~USB printer port; 20~USB serial interface processor; 21,22~USB transceiver; 23~USB state controller; 24~list processor; 25~first in first out block buffer; 26~multitask microcontroller interface; And, 27~direct memory access controller.
Embodiment:
According to conversion equipment of the present invention, can be after the digital camera end be chosen in advance, is edited with digitized video, directly be sent to the printer place and do output print, and do not need usb host end software, reduce demand and cost personal computer with this by operating system Windows 98 complexity.
Please refer to Fig. 1, be depicted as the block scheme of a preferred embodiment of doing according to the principle of the invention.Conversion equipment 1 shown in Figure 1 comprises: a data formats switching controller (Data FormatTransfer Controller) 10, one multitask microprocessor (Multi-processingMicro-controller) 11, a system firmware internal memory (System Firmware Memory) 12, one USB digital camera port one 4 and a USB printer port 15 or the like.
As shown in Figure 1, conversion equipment 1 is to couple with a USB digital camera port one 4 and a USB digital camera 2, and between USB digital camera port one 4 and the USB digital camera 2, be to connect with a USB cable 4, because conversion equipment 1 of the present invention is as the host side under the USB structure (host), therefore, a USB cable 4 and an end that is positioned at USB digital camera port one 4 belong to the Type-A connector, and an end that is positioned at USB digital camera 2 belongs to the Type-B connector.In like manner, conversion equipment 1 is to couple with a USB printer port 15 and a USB printer 3, and between USB printer port 15 and the USB printer 3, be to connect with a USB cable 5, because conversion equipment 1 of the present invention is as the host side under the USB structure (host), therefore USB cable 5 and the end that is positioned at USB printer port 15 belong to the Type-A connector, and an end that is positioned at USB printer 3 belongs to the Type-B connector.
In brief, above-mentioned USB digital camera port one 4 and USB printer port 15 promptly are the interface circuits that comprises pull-up assembly, pull-down assembly, reaches some buffers.In addition, USB digital camera port one 4 and USB printer port 15 respectively by bus 18 and 19 and data formats controller 10 do the transmission of data or control signal.
In Fig. 1, multitask microcontroller 11 connects and data formats switching controller 10 and system firmware internal memory 12 etc. by a data bus 16 and a control bus 17, is the core processing unit of conversion equipment 1 of the present invention.Its systems according to storage in the system firmware internal memory 12 open the operation that initializes of beginning program (the System Initialization Program) system of doing, and carrying out according to the system firmware programs of storing up in the system firmware internal memory 12 that USB enumerates is configuration program (USB Enumeration﹠amp; And the functional operation of responsible conversion equipment 1 whole systems Configuration Procedure).For can reduce cycle (cycle) number of instruction under multitasking environment, multitask microprocessor 11 can be an exquisite instruction set computing (Reduced Instruction Set Computing generally is called for short a RISC) multitask microprocessor.
In addition, conversion equipment 1 of the present invention can also be at the digital camera of non-USB structure, and a slot that can supply grafting extraction-type digital camera flash memory (Removable DSCFlash Memory Card) 13 optionally is set.By this slot, the digital camera of non-USB structure only needs flash memory 13 is unloaded, and is connected with the data bus 16 and the control bus 17 of conversion equipment 1 again, just the digital image data of interior storage can be read, and delivers to printer 3 output prints.
Please refer to Fig. 2, be depicted as the more detailed block diagram of Fig. 1 data formats switching controller 10.As shown in Figure 2, data formats switching controller 10 comprises: a USB serial interface processor (USBSerial Interface Engine) the 20, the one USB transceiver 21, the 2nd USB transceiver 22, a USB state controller (USB state controller) 23, list processor (List Processor) 24, one first in first out block (bank) buffer 25, a multitask microcontroller interface 26 and a direct internal storage access controller 27 or the like.
In Fig. 2, USB serial interface processor 20, USB state controller 23, list processor 24, first in first out block buffer 25 and multitask microcontroller interface 26 etc., be to connect each other by a data bus 28 and a control bus 29.The one USB transceiver 21 connects USB digital camera port one 4 through bus 18, and connects USB serial interface processor 20 through a data bus 30 and a control bus 31.The 2nd USB transceiver 22 connects USB printer port 15 through bus 19, and connects USB serial interface processor 20 through a data bus 32 and a control bus 33.
The one USB transceiver 21 and the 2nd USB transceiver 22 are the high speed USB transceiver of 12Mbit/sec, main responsible transmission and reception USB serial interface processor 20 are handled or pending data, in differential (differential) mode data are transmitted at the same time or separately and are received between conversion equipment 1 of the present invention and digital camera 2 and the printer 3.And USB serial interface processor 20 is the data with USB receiver 21 and 22 required receptions or transmission, decipher/encode in non-return-to-zero anti-phase (Non-Return Zero Inverted:NZRI) mode, the Cyclic Redundancy Code that carries out data again detects (Cyclic Redundancy Check:CRC) and checks/produces, then with the data that receives by serial conversion be side by side, data that maybe will be to be transmitted is by being converted to serial mode side by side.
And USB state controller 23 is according to the system firmware program that is stored in the system firmware internal memory 12, handles the data of turnover at USB serial interface processor 20, is responsible for carrying out the bus protocol (bus protocol) of USB through this.In addition, USB state controller 23 also is responsible for producing every one millisecond (1msec) synchronous with sign (token) signal, is the characterization signal SOF (start of frame) on the usb bus.With this synchronizing signal digital camera 2, printer 3 and conversion equipment of the present invention 1 are obtained synchronously.In addition, USB state controller 23 also need activate or excite the work execution sequence of formation (queued) in listing processor 24 to arrange (task processinglist).
Listing processor 24 is according to the execution sequence table of the system firmware program ordering of conversion equipment 1, carries out one by one.
Multitask microcontroller interface 26 is to be connected with multitask microcontroller 11 through data bus 16, and through control bus 34 control direct memory access controllers 27.Direct memory access controller 27 is connected to control bus 17.When in conversion equipment 1 flash memory 13 to be read of the present invention during the storage data, can carry out image data read operation fast by 27 pairs of flash memories of direct memory access controller 13, and need be by the interrupt request (Interrupt Service Request) to multitask microcontroller 11, and directly the image data that stores up in the flash memory 13 is read, therefore can avoid increasing the burden of multitask microcontroller 11, improve the speed when reading flash memory 13.
In said process, handled control data (control message) or wait the digital image data that transmits or receive all can be temporarily stored in the first in first out block buffer 25.Please refer to Fig. 3, be depicted as the block structure figure of Fig. 2 first in first out block buffer 25.Among Fig. 3, first in first out block buffer 25 is divided into the block of three kinds of different-formats: 251 and 252, two unidirectional eight Bulk_IN/Bulk_OUT data transmission blocks (bi-directional 64-byte Bulk_IN/Bulk_OUT transfer FIFO bank) 255 that interrupt 253 and 254 and two-way 60 nybbles of transport block (Uni-directional 8-byte interrupt transfer FIFO bank) of the control transmission block (bi-directional 8-byte control transfer FIFO bank) of two two-way Eight characters joints.Wherein, be corresponding to digital camera 2 with control transmission block 251 and interruption transport block 253, control transmission block 252 and interruption transport block 254 are corresponding to printer 3.First in first out block buffer 25 can dual port memories (dual port) realize that effect can be better like this.
Below explanation is done in whole operations of conversion equipment 1 of the present invention.After system power supply was opened (power-on) or activated (start-up), multitask microcontroller 11 read and executive system opens beginning program (System Initialization Program) from system firmware internal memory 12, the system's of doing operation that initializes.After the system that treats activates, begin to wait for digital camera 2 and printer 3 and conversion equipment 1 grafting (Plug ﹠amp; Play).In addition, multitask microcontroller 11 carries out at the same time or separately to digital camera 2 and printer 3 also that USB enumerates and configuration program (USB Enumeration; ConfigurationProcedure), this USB enumerate and configuration program in required configuration data/information can be temporarily stored in respectively in the control transmission block 251 and 252 corresponding to digital camera 2 and printer 3.Because USB enumerates and the step of configuration program and the enforcement of regulations of all complete secundum legem USB weave specification of order 1.0 editions, just no longer is explained in detail at this.
Treat the digital camera 2 at two ends and printer 3 finish USB enumerate with configuration program after, just can pass through USB digital camera port one 4, digital camera is 2 selected, editor's digital image data, by conversion equipment 1 in USB Bulk_IN mode, digital image data after USB cable 4 is sent to conversion equipment 1, is temporarily stored in the data transmission block 255 of first in first out block buffer 25.Later on by USB Bulk_OUT mode, with the digital image data that is temporarily stored in the data transmission block 255, be sent to USB printer port 15 after, be delivered to USB printer 3 places by USB cable 5 and do output print.
According to the present invention, digital image data is to transmit in the Bulk_IN/Bulk_OUT mode, do not need to be stored in external memory, one can reduce the cost of conversion equipment, on the other hand, again can the minimizing system fixing consume time (system latency time), so be able in the shortest time, digital image data be sent to printer 3 places do output print.
In addition, when digital camera 2 or 3 pairs of conversion equipments 1 of printer send system service request (System Service Request) or other specific function demand for services, then be responsible for receiving and store by interrupting transport block 253 or 254 respectively.
In addition, conversion equipment 1 of the present invention can also be handled the digital image data of storage in the extraction-type digital camera flash memory 13.According to the present invention, by immediate system internal document access controller 27, with being stored in after digital image datas in the flash memory 13 read, be sent in the data transmission block 255 of first in first out block buffer 25, deliver to printer 3 later on again and print.
In view of the above, digital camera to printer conversion equipment of the present invention, only need digital camera and printer all to have the USB framework, just can with digitized video digital camera handle affairs choose editor earlier after, directly be sent to the printer place and do output print, do not need personal computer system by costliness through this.In addition, even have only printer to have the USB structure, also the digital image data that stores up in the digital camera flash memory directly can be exported to printer side and does printing.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; anyly know art technology person; without departing from the spirit and scope of the invention; when can doing to change and retouching, so the present invention's protection domain is when looking appended claim and being as the criterion in conjunction with the scope person of defining of instructions and accompanying drawing.

Claims (18)

1. conversion equipment with digital camera to printer of USB structure, it is connected between a digital camera and the printer, it is characterized in that: described conversion equipment comprises that one has the transmission control unit (TCU) of a buffer, this transmission control unit (TCU) receives the image data of this digital camera, after being stored to this buffer earlier, be resent to this printer;
One is used to store the internal memory of a system program;
One multitask microcontroller, it is connected with above-mentioned internal memory with this transmission control unit (TCU) with a control bus by a data bus, and this control tasks device receives and transmits these image datas according to this system program when controlling this transmission control unit (TCU).
2. conversion equipment according to claim 1 is characterized in that: this buffer comprises a two-way data transmission block.
3. conversion equipment according to claim 2 is characterized in that: this buffer is a dual-port internal memory.
4. conversion equipment according to claim 2 is characterized in that: this buffer still comprises two two-way control transmission blocks and two unidirectional interruption transport blocks.
5. conversion equipment according to claim 1, it is characterized in that: this transmission control unit (TCU) also comprises a USB serial interface processor, these image datas of serial are converted to after the data arranged side by side to this buffer store, and be sent to this printer after these data arranged side by side are converted to a serial data.
6. conversion equipment according to claim 5 is characterized in that: this transmission control unit (TCU) also comprises a multitask microcontroller interface, is connected to this data bus, as the interface between this USB serial interface processor and this multitask microcontroller.
7. conversion equipment according to claim 6 is characterized in that: this transmission control unit (TCU) also comprises an extraction-type memory card, and this transmission control unit (TCU) receives the image data of storage in this extraction-type memory card to this buffer storage, is resent to this printer.
8. conversion equipment according to claim 7 is characterized in that: this transmission control unit (TCU) also comprises a direct internal storage access controller, is connected between this multitask microcontroller interface and this control bus, and this extraction-type memory card is controlled.
9. conversion equipment according to claim 5 is characterized in that: this transmission control unit (TCU) also comprises:
One the one USB transceiver is connected between this USB serial interface processor and this digital camera; And
One the 2nd USB transceiver is connected between this USB serial interface processor and this printer.
10. conversion equipment according to claim 5 is characterized in that: this transmission control unit (TCU) comprises that also a USB state controller and lists processor, all is connected with this USB serial interface processor.
11. the conversion equipment with position camera of USB structure to printer, described conversion equipment is connected between a digital camera and the printer, it is characterized in that: this conversion equipment comprises:
One transmission control unit (TCU), it has a two-way data transmission scratch block, this transmission control unit (TCU) receives the image data of this digital camera, be stored to this transmitted in both directions scratch block earlier after, be resent to this printer;
One stores the internal memory of a system program; And
One multitask microcontroller is connected with this internal memory with this transmission control unit (TCU) with a control bus by a data bus, and this control tasks device receives and transmit these image datas according to this system program when controlling this transmission control unit (TCU).
12. conversion equipment according to claim 11 is characterized in that: this transmitted in both directions scratch block is an a pair of port internal memory.
13. conversion equipment according to claim 11, it is characterized in that: this transmission control unit (TCU) also comprises a USB serial interface processor, these image datas of serial are converted to after the data arranged side by side to this transmitted in both directions scratch block store, and be sent to this printer after these data arranged side by side are converted to a serial data.
14. conversion equipment according to claim 13 is characterized in that: this transmission control unit (TCU) also comprises a multitask microcontroller interface, is connected to this data bus, as the interface between this USB serial interface processor and this multitask microcontroller.
15. conversion equipment according to claim 14, it is characterized in that: this transmission control unit (TCU) also comprises an extraction-type memory card, this transmission control unit (TCU) receives the image data of storage in this extraction-type memory card to this transmitted in both directions scratch block storage, is resent to this printer.
16. conversion equipment according to claim 15 is characterized in that: this transmission control unit (TCU) also comprises a direct internal storage access controller, is connected between this multitask microcontroller interface and this control bus, and this extraction-type memory card is controlled.
17. conversion equipment according to claim 13 is characterized in that: this transmission control unit (TCU) also comprises:
One the one USB transceiver is connected between this USB serial interface processor and this digital camera; And
One the 2nd USB transceiver is connected between this USB serial interface processor and this printer.
18. conversion equipment according to claim 13 is characterized in that: this transmission control unit (TCU) comprises that also a USB state controller and lists processor, all is connected with this USB serial interface processor.
CNB011101849A 2001-03-28 2001-03-28 Converter with USB structure for digital camera to printer Expired - Fee Related CN1178142C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB011101849A CN1178142C (en) 2001-03-28 2001-03-28 Converter with USB structure for digital camera to printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB011101849A CN1178142C (en) 2001-03-28 2001-03-28 Converter with USB structure for digital camera to printer

Publications (2)

Publication Number Publication Date
CN1376989A true CN1376989A (en) 2002-10-30
CN1178142C CN1178142C (en) 2004-12-01

Family

ID=4658398

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB011101849A Expired - Fee Related CN1178142C (en) 2001-03-28 2001-03-28 Converter with USB structure for digital camera to printer

Country Status (1)

Country Link
CN (1) CN1178142C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100410910C (en) * 2004-09-27 2008-08-13 新科电子集团有限公司 Data transmission and control system employing USB and relative method thereof
WO2012013140A1 (en) * 2010-07-27 2012-02-02 珠海赛纳打印科技股份有限公司 Image generation controller card and image generation device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100410910C (en) * 2004-09-27 2008-08-13 新科电子集团有限公司 Data transmission and control system employing USB and relative method thereof
WO2012013140A1 (en) * 2010-07-27 2012-02-02 珠海赛纳打印科技股份有限公司 Image generation controller card and image generation device

Also Published As

Publication number Publication date
CN1178142C (en) 2004-12-01

Similar Documents

Publication Publication Date Title
US7028109B2 (en) Data transfer control device including buffer controller with plurality of pipe regions allocated to plurality of endpoints
JP5273072B2 (en) Data processing device, data input / output device, and data input / output method
US5724555A (en) Network interface board for digital copier
US6018787A (en) System for generating chip select signals based on coded and uncoded address signals
US20040117516A1 (en) System controller using plural CPU's
US6753903B1 (en) Adaptor for direct connection between USB digital still camera and use color printer
EP1516261B1 (en) Bus system, station for use in a bus system, and bus interface
US7359996B2 (en) Data transfer control device, electronic equipment, and data transfer control method
US7469304B2 (en) Data transfer control device, electronic equipment, and method for a data transfer through a bus, the data transfer control device including a register and a packet buffer that are commonly used during a host operation and a peripheral operation
US7428600B2 (en) Data transfer control device, electronic equipment, and data transfer control method
CN1178142C (en) Converter with USB structure for digital camera to printer
KR100597497B1 (en) Data transfer system
US6799231B2 (en) Virtual I/O device coupled to memory controller
US5600804A (en) Shared RAM access arrangement
US6889262B1 (en) Direct transaction mode for peripheral devices
KR100757223B1 (en) Bus bridge
KR100757224B1 (en) Computer docking system and method
JP2000155738A (en) Data processor
JP3153257B2 (en) Facsimile machine
US20060129734A1 (en) Method for accessing data
JP2002229929A (en) Memory access control method and memory access control device
JP3061393B2 (en) Print information relay device
JP2007004815A (en) Link bridge
JPH0546532A (en) High-speed scsi host adaptor
JPH11110334A (en) Data processing circuit and image forming device provided with the circuit

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20041201