CN1239985C - Upstream peripheral equipment capable of being used as USB host computer - Google Patents
Upstream peripheral equipment capable of being used as USB host computer Download PDFInfo
- Publication number
- CN1239985C CN1239985C CN 02111448 CN02111448A CN1239985C CN 1239985 C CN1239985 C CN 1239985C CN 02111448 CN02111448 CN 02111448 CN 02111448 A CN02111448 A CN 02111448A CN 1239985 C CN1239985 C CN 1239985C
- Authority
- CN
- China
- Prior art keywords
- upstream
- peripheral device
- perimeter
- downstream perimeter
- virtual
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 230000002093 peripheral effect Effects 0.000 title claims description 71
- 238000011144 upstream manufacturing Methods 0.000 title claims description 45
- 230000000930 thermomechanical effect Effects 0.000 claims description 24
- 230000001360 synchronised effect Effects 0.000 claims description 2
- 230000006870 function Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 238000007639 printing Methods 0.000 description 5
- 230000008878 coupling Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 4
- 238000005859 coupling reaction Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 239000012636 effector Substances 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 230000000712 assembly Effects 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 230000003750 conditioning effect Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000010017 direct printing Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Facsimiles In General (AREA)
Abstract
The present invention relates to a scanner which can be used as a universal sequence bus (USB) host. The present invention at least comprises a concentrator, a scanner component, a virtual printer component and an inner host, wherein the concentrator is coupled with the host of a computer and the scanner; the scanner component stores basic set data of the scanner, the virtual printer component stores basic set data of a printer, and both the scanner component and the virtual printer component are coupled with the concentrator; the scanner component, the virtual printer component and the printer are respectively coupled with the inner host. The virtual printer component, the inner host and the scanner can form a virtual USB host, and the printer is directly controlled so as to directly print.
Description
Technical field
The present invention relates to a kind of upstream peripheral device that uses universal serial bus, relate in particular to a kind of scanner that can be used as dummy general serial bus main frame.
Background technology
(Universal Serial Bus USB) is a kind of bus interface that is applicable to various computer peripheral apparatus to universal serial bus.It can make main frame and various perimeter component all use unified mode with standard to couple mutually.By USB, main frame with and the various peripheral devices that coupled can directly carry out the exchange of information each other with high transfer rate.Various peripheral devices also can be bonded, install, use or remove when main frame be worked, reach with inserting with using (Plug and Play, function PnP).Therefore, present computer system great majority all use USB to be used as the interface of main frame and peripheral device.
Be illustrated in figure 1 as the synoptic diagram of the topology form (topology) of the main frame that uses USB and peripheral device.Usb host (USB host) is coupled by hub (hub) and peripheral device.Hub can directly couple with peripheral device, or couples after another hub again, utilizes another hub and other peripheral device to couple again.Peripheral device then cannot couple with other peripheral device.With Fig. 1 is example, usb host 102 by hub 104 directly and peripheral device 106 couple.Or after hub 104 couples with other hub 108 earlier, couple by hub 108 and other peripheral device 110 again.And each peripheral device 106,110 does not couple with other peripheral device.By USB, usb host 102 couples with other peripheral device 106,110 and forms an information handling system 100.In information handling system 100, usb host 102 is effectors of whole information handling system 100, in order to control the work of all peripheral devices 106 or 110.In other words, the work of all peripheral devices 106,110 is all controlled by usb host 102.
Please refer to Fig. 2 A ~ 2B, tradition is used the main frame 202 of USB and the synoptic diagram of the coupling mode of scanner 204 and printer 206, and shown can be described as is a kind of information handling system 200 in this synoptic diagram.In Fig. 2 A, scanner 204 and printer 206 are coupled by hub 203 and main frame 202 respectively.So, main frame 202 directly gated sweep instrument 204 carries out scanning motion, and can transmit printed information to printer 206 and print work.And,, also can adopt the connecting interface of EPP interface as information handling system 200 except adopting traditional USB as the connecting interface in the coupling mode of main frame, scanner and the printer shown in Fig. 2 B.If the information handling system shown in Fig. 2 B 200 is used the EPP interface, then main frame 202 can be distinguished the scanning or the print job of gated sweep instrument 204 or printer 206, and scanner 204 can also directly control the print job of printer 206, thereby has the function of " scanning printing (scan-to-print) ".
But, if USB interface will be applied in the syndeton of Fig. 2 B, then may have the following practice, but but can't have the function of " scanning printing ".Main frame 202 is connected to scanner 204, and scanner 204 is connected with printer 206 again.For the purpose of icon is clear, do not illustrate hub among Fig. 2 B, but in fact main frame 202 is connected to the hub of being located at scanner 204 inside, and inner hub is again via being connected internally to scanner, and USB port of tap is used for the connection of printer 206.In this information handling system 200, main frame 202 is a usb host, and scanner 204 and printer 206 are peripheral device.Under the control of main frame 202, object computer main frame 202 work of being paid respectively of scanner 204 and printer 206.
The image document that scanner scanned can directly not be sent to printer and carry out directly and print by main frame, become many users when carrying out information processing work, to one of requirement of operation ease.But, when if main frame 202 uses USB and scanner 204 to couple with printer 206, because main frame 202 unique effector that is whole information handling systems 200, the work of scanner 204 and printer 206 all must be accepted the control of main frame 202.Can't replace main frame as the scanner 204 of peripheral device becomes usb host (USB host), controls printer 206 and directly prints.Therefore, according to the structure of Fig. 2 B, the user can't directly deliver to printer 206 with scanner 204 scanning documents and print.
Summary of the invention
The object of the present invention is to provide a kind of scanner that can be used as the virtual USB main frame, under situation about not needing, directly control printer and carry out directly printing by external host.
According to purpose of the present invention, a kind of scanner that can be used as usb host is proposed.This scanner is coupled with main frame and printer respectively by USB.Wherein, main frame is a usb host.This scanner comprises hub, scanner, virtual printing thermomechanical components and internal host at least.Hub and main frame couple, and are used for data is inputed to scanner from main frame, and export data self-scanning instrument to main frame.Scanner and hub couple, in order to exporting data to hub, and the data that is received from hub output.Wherein, scanner stores the basic set data of scanner.Virtual printing thermomechanical components and hub couple, and in order to exporting data to hub, and accept data from hub output.Wherein, the virtual printing thermomechanical components stores the basic set data of printer.Internal host couples with scanner, virtual printing thermomechanical components and printer respectively, and in order to exporting data to the virtual printing thermomechanical components from printer, and self-scanning instrument assembly, virtual printing thermomechanical components export printer to respectively with data.Wherein, by virtual printing thermomechanical components and internal host, scanner can become the virtual USB main frame, directly controls printer and directly prints.
Description of drawings
Fig. 1: the synoptic diagram of the main frame of use USB and the topology form of peripheral device.
Fig. 2 A ~ 2B: the synoptic diagram of the main frame of tradition use USB and the coupling mode of scanner and printer.
Fig. 3: have the usb host function the scanner intraware couple graph of a relation.
Embodiment
For simplify just, below with the preferred embodiment of scanner as the upstream peripheral device, the present invention will be described in detail.
Characteristics of the present invention are that feasible scanner as the upstream peripheral device has the function as the virtual USB main frame, can not pass through under the control of main frame, the image document that scanning is obtained directly is sent to the printer as the downstream perimeter device, directly prints.
Fig. 3 is the graph of a relation that couples of the scanner intraware with usb host function proposed by the invention.Scanner (upstream peripheral device) 304 is respectively by USB input connector 308 and USB out connector 320 and couple with main frame (external host) 302 and printer (downstream perimeter device) 306.Use in the information handling system of USB at this, main frame 302 is a usb host, and scanner 304 and printer 306 then are upstream and downstream perimeter device.In scanner 304, more comprise virtual printing thermomechanical components (virtual downstream perimeter assembly) 312, scanner (upstream perimeter component) 316, internal memory 314 and inner usb host or internal host 318.The usb hub 310 that connects main frame 302 and scanner 304 can be arranged in the main frame 302, between main frame 302 and the scanner 304, or in scanner 304.In the present embodiment, usb hub 310 is arranged in the scanner 304, but the present invention is not as limit.Virtual printing thermomechanical components 312 and scanner 316 couple with hub 310 and internal host 318 respectively.Internal memory 314 can be SDRAM (Synchronous dynamic random access memory) (SDRAM), couples required instruction and data when working in order to the store information treating apparatus respectively with virtual printing thermomechanical components 312 and scanner 316.
After the power supply opening of the usb host of data processing equipment, usb host can carry out the initial setting action to the peripheral device that couples with it and opened at present, and each peripheral device of having opened all can transmit the basic set data of this peripheral device to usb host by hub.By these basic set datas, usb host can be learnt the number of the peripheral device that whole signal conditioning package couples, the relation that couples relatively between the kind of each peripheral device, model and the peripheral device.In the process of information handling system work, couple if there is other peripheral device to add, then main frame can carry out the initial setting action by the hub that couples with it and this new peripheral device.
In the present embodiment, after the power supply opening of main frame 302 and scanner 304, main frame 302 can carry out the initial setting action by 310 pairs of scanners of hub 304.Wherein, the basic set data of scanner 304 is stored in the scanner 316, when main frame 302 is carried out the initial setting action, can be read the basic set data of scanner 304 by hub 310 self-scanning instrument assemblies 316.Store the basic set data of printer 306 in the virtual printing thermomechanical components 312 of scanner 304.When printer 306 does not couple with scanner 304 as yet, or the power supply of printer 306 do not open as yet, and then the virtual printing thermomechanical components 312 in the scanner 304 can be set to and forbid (disable) state.So, when main frame 302 when carrying out the initial setting action, read the basic set data of printer 306 in just can self-virtualizing printer module 312.And do not couple printer 306 in the qualified information disposal system.Power supply opening when printer 306, or after printer 306 couples with the mode of hot plug (hot swap) and scanner 304, virtual printing thermomechanical components 312 can be set to (enable) state that enables, and main frame 302 can be read the basic set data of printer 306 by virtual printing thermomechanical components 312.At this moment, main frame 302 can have a printer 306 in the qualified information treating apparatus.Be noted that, virtual printing thermomechanical components 312 usefulness so that main frame 302 assert printers 306 directly and main frame 302 couple.In other words, when main frame 302 self-virtualizing printer modules 312 are obtained the basic set data of printer 306, main frame 302 assert that according to this basic set data printer 306 is identical with scanner 304, they all be directly to couple, but not printer 306 as shown in Figure 3 is by scanner 304 and main frame 302 indirect coupling access status by hub 310 and main frame 302.
When main frame 302 desires utilized printer 306 to print the data of main frame storage, at first, setting virtual printing thermomechanical components 312 was standby condition.Afterwards, main frame 302 will be sent in the printer 306 by hub 310, virtual printing thermomechanical components 312, internal host 318 in order in order to the host command of control printer action and the host data of desire printing.Wherein, when virtual printing thermomechanical components 312 was received host command and host data, 302 outputs one confirmed that (Acknowledgement, ACK) signal is in order to confirm to have received host command and the host data that transmits to main frame 302 to main frame earlier.These host commands and host data can be temporary in earlier in the internal memory 314, are resent to printer 306 afterwards.Printer 306 is according to host command, and the main frame that desire is printed stores data and prints.The signal that printer 306 need export main frame 302 to also can be sent in the main frame 302 by internal host 318, virtual printing thermomechanical components 312 and hub 310 in order.In whole process, printer 306 is the peripheral device of main frame 302, and the control of accepting main frame is with execution work.
Utilize printer 306 when scanner 304 desires and directly print, with scanning information that scanner 304 was scanned not by the control of main frame 302 directly when printer 306 prints, at first, setting virtual printing thermomechanical components 312 is busy condition.At this moment, if when main frame 302 is also wanted to use printer 306 simultaneously, the busy condition that main frame 302 can be set according to virtual printing thermomechanical components 312 assert that printer 306 carrying out other work at present.So, main frame 302 will postpone controlling printer 306 execution print jobs.Simultaneously, by internal host 318, scanner 304 can be used as virtual usb host, utilizes internal host 318 to control action as the printer 306 of peripheral device.Scanner 304 will be sent in the printer 306 by internal host 318 in order in order to the scanning information that scanner instructs and desire is printed of control printer action.Wherein, when printer 306 when receiving scanner instruction and scanning information, also can be earlier to scanner 304 outputs one confirmation signal, in order to confirm to have received scanner instruction and the scan-data that transmits to scanner 304.Printer 306 is according to the scanner instruction, and the scan-data that desire is printed prints.The signal that printer 306 need export scanner 304 to also can be sent in the scanner 316 by internal host 318.In whole process, printer 306 is the peripheral device of scanner 304, accepts the control execution work as the scanner 304 of usb host.When printer 306 executed the work of direct printing, virtual printing thermomechanical components 312 can revert back to standby condition again.At this moment, main frame 302 can utilize printer 306 printed information.
Because scanner 304 of the present invention both can serve as peripheral device, can be used as usb host again, so scanner 304 can be considered as having the function of virtual USB main frame.
In practical application, the user is not when buying more scanner 304 as yet, and main frame 302 is directly to be connected with printer 306.After buying more scanner 304 of the present invention, only need scanner 304 is connected between printer 306 and the main frame 302, can scan, print, scan work such as printing.Therefore, scanner 304 of the present invention is quite easily in the use.
Be noted that the present invention is not limited to scanner 304 must be needed directly to couple with main frame 302, printer 306 must need to couple indirectly with main frame 302 by other device.The various peripheral devices that scanner, printer and other are directly coupled by USB and main frame 302 or couple indirectly by hub and main frame 302; for example be: digital camera, CD-ROM drive, personal digital aid (PDA) (PDA); if have the function setting of virtual USB main frame, the claim that all belongs to the present invention and protected.
For example, under the connected mode of main frame-digital camera-printer, main frame can control figure camera and printer, and digital camera also can directly be controlled the work of printer.Under the connection situation of PDA-scanner-CD-ROM drive, PDA can control the work of CD-ROM drive and scanner, and scanner can directly be exported data and stores for future use in CD-ROM drive.
The disclosed scanner that can be used as the virtual USB main frame of the above embodiment of the present invention can not pass through under the control of main frame, and the image document that scanning is obtained directly is sent to printer, directly prints.
The above is preferred embodiment of the present invention and design, this embodiment and design only illustrate, be not to be used to limit the scope of the invention, all with the technological means that is equal to or any distortion in the scope that claim was contained, all do not break away from interest field of the present invention and category thereof.
The reference numerals explanation
100,200: the information processing system
The 102:USB main frame
104,108: hub
106,110: peripheral device
202,302: main frame
203: hub
204,304: scanner
206,306: printer
The 308:USB input connector
310: hub
312: the virtual printing thermomechanical components
314: internal memory
316: scanner
318: internal host
The 320:USB out connector
Claims (14)
1. upstream peripheral device that can be used as the universal serial bus main frame, it is characterized in that, described upstream peripheral device couples by a hub and an external host, described hub is used for data is inputed to described upstream peripheral device from described external host, and export data to described external host from described upstream peripheral device, as connecting interface, described upstream peripheral device comprises at least with universal serial bus for described upstream peripheral device and described external host and a downstream peripheral device:
One upstream perimeter component, couple with described hub, in order to data is exported to described hub, and the data that is received from described hub output, wherein said upstream perimeter component stores the basic set data of described upstream peripheral device, and can receive the signal that the downstream perimeter device sends the upstream peripheral device to;
One virtual downstream perimeter assembly, couple with described hub, in order to data is exported to described hub, and acceptance is from the data of described hub output, wherein said virtual downstream perimeter assembly stores the basic set data of described downstream perimeter device, and with so that described external host assert described downstream perimeter device directly and external host couple; And
One internal host, couple with described upstream perimeter component, described virtual downstream perimeter assembly and described downstream perimeter device respectively, in order to exporting data to described virtual downstream perimeter assembly from described downstream perimeter device, and export data to described downstream perimeter device from described upstream perimeter component, described virtual downstream perimeter assembly respectively;
Wherein, described downstream perimeter device optionally is subjected to the control of described external host and described upstream peripheral device and works, when described downstream perimeter device is set to standby condition at virtual downstream perimeter assembly, be subjected to the control of external host and work, when virtual downstream perimeter assembly is set to busy condition, is subjected to the control of upstream peripheral device and works;
Also comprise an internal memory, couple with described virtual downstream perimeter assembly and described upstream perimeter component respectively, in order to store data.
2. upstream as claimed in claim 1 peripheral device, it is further characterized in that described hub is arranged at the inside of described upstream peripheral device.
3. upstream as claimed in claim 1 peripheral device, it is further characterized in that, saves as SDRAM (Synchronous dynamic random access memory) in described.
4. upstream as claimed in claim 1 peripheral device, it is further characterized in that, described external host can be respectively obtained the basic set data of described upstream peripheral device and described downstream perimeter device from described upstream perimeter component and described virtual downstream perimeter assembly.
5. upstream as claimed in claim 1 peripheral device, it is further characterized in that, when described downstream perimeter device was subjected to the control of described external host, described virtual downstream perimeter module sets was a standby condition, controls the work of described downstream perimeter device for described external host.
6. upstream as claimed in claim 1 peripheral device, it is further characterized in that, when described downstream perimeter device is subjected to the control of described upstream peripheral device, described virtual downstream perimeter module sets is a busy condition, make the uncontrollable described downstream perimeter assembly of described external host, and make described upstream peripheral device can directly control the work of described downstream perimeter device a bit.
7. upstream as claimed in claim 1 peripheral device, it is further characterized in that described hub is arranged at the inside of described external host.
8. upstream as claimed in claim 1 peripheral device, it is further characterized in that described hub is arranged between described external host and the described upstream peripheral device.
9. upstream as claimed in claim 1 peripheral device, it is further characterized in that described external host is a main frame.
10. upstream as claimed in claim 1 peripheral device, it is further characterized in that described upstream peripheral device is the one scan instrument, and described upstream perimeter component is an one scan instrument assembly.
11. upstream as claimed in claim 1 peripheral device, it is further characterized in that described downstream perimeter device is a printer, and described virtual downstream perimeter assembly is a virtual printing thermomechanical components.
12. upstream as claimed in claim 1 peripheral device, it is further characterized in that described downstream perimeter device is a digital camera, and described virtual downstream perimeter assembly is a virtual digit photomoduel.
13. upstream as claimed in claim 1 peripheral device, it is further characterized in that described downstream perimeter device is a personal digital aid (PDA), and described virtual downstream perimeter assembly is a virtual personal digital aid (PDA) assembly.
14. upstream as claimed in claim 1 peripheral device, it is further characterized in that described downstream perimeter device is a printer, and described upstream peripheral device is the one scan instrument.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 02111448 CN1239985C (en) | 2002-04-22 | 2002-04-22 | Upstream peripheral equipment capable of being used as USB host computer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 02111448 CN1239985C (en) | 2002-04-22 | 2002-04-22 | Upstream peripheral equipment capable of being used as USB host computer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1453684A CN1453684A (en) | 2003-11-05 |
| CN1239985C true CN1239985C (en) | 2006-02-01 |
Family
ID=29256784
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 02111448 Expired - Lifetime CN1239985C (en) | 2002-04-22 | 2002-04-22 | Upstream peripheral equipment capable of being used as USB host computer |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1239985C (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI326552B (en) | 2006-02-08 | 2010-06-21 | Muller Capital Llc | Apparatus for scanning photograph |
| TWI549472B (en) * | 2013-06-11 | 2016-09-11 | 虹光精密工業股份有限公司 | Image reproducing method, digital processing machine and document processing system |
-
2002
- 2002-04-22 CN CN 02111448 patent/CN1239985C/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| CN1453684A (en) | 2003-11-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9141574B2 (en) | Image forming apparatus and low power driving method thereof | |
| US6816931B2 (en) | Upstream peripheral device serving as a USB host | |
| US7034955B2 (en) | Using a processor enhanced memory module to accelerate hardcopy image processing within existing printer controller | |
| CN1454340A (en) | Network based keyboard/video/mouse switching system | |
| CN1236134A (en) | Peripheral equipment and its control method | |
| CN1230723A (en) | Electronic device and data communication method | |
| JP2002342261A (en) | Data transfer control device and electronic equipment | |
| CN1255742C (en) | Data processing device and data input output method | |
| CN1239985C (en) | Upstream peripheral equipment capable of being used as USB host computer | |
| CN100351824C (en) | Bus systems and bus interfaces for connection to the bus | |
| CN101059791A (en) | Virtual universal serial bus device system and its data transmission method | |
| US8122164B2 (en) | Information processing apparatus having first DMA controller and second DMA controller wherein selection circuit determines which DMA will perform data transfer based on higher data transfer performance | |
| CN1109980C (en) | Communication DMA device | |
| CN1235128C (en) | Combined apparatus system | |
| CN1445639A (en) | Data transmission system | |
| CN1107265C (en) | Method for processing print data | |
| JPH1185413A (en) | Recording device | |
| JP3906838B2 (en) | USB compatible digital MFP | |
| CN1178142C (en) | Digital camera to printer conversion device with USB structure | |
| KR20100052246A (en) | Control board of image forming appartus, image forming appartus, and image forming method | |
| US6897872B2 (en) | Controller of multi function device | |
| CN1576032A (en) | System for printing image data stored in a plurality of image storage devices and method of printing image data thereof | |
| JP2004362593A (en) | Printer memory | |
| JP3153257B2 (en) | Facsimile machine | |
| US7272680B2 (en) | Method of transferring data between computer peripherals |
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 | ||
| CX01 | Expiry of patent term |
Granted publication date: 20060201 |
|
| CX01 | Expiry of patent term |