The object of the present invention is to provide to be built in scanning means driving method in the host computer in a kind of, it can start scanning means automatically.
The object of the present invention is achieved like this, a kind of method that drives device of image scanning promptly is provided, described device of image scanning has the file bogey in order to the carrying scanned document, first sensing element is arranged in the described device of image scanning to detect described file bogey, second sensing element is arranged in the described device of image scanning in order to scan described file, reference pattern is formed in the described file bogey as the identification that drives described second sensing element, described file bogey can be by in the described device of image scanning of feed-in, described method comprises at least: at first whether the detecting element detection file bogey by scanning means is arranged in this scanning means, if, detecting element detects the file bogey and has been arranged in scanning means, then drive the default position of above-mentioned Image Sensor to, this position is positioned at directly over the reference pattern, Image Sensor begins to detect file and whether is arranged in the file bogey then, if, Image Sensor can be accepted the reflected signal of reference pattern, represent that then file is not in the file bogey, scanning means will can not scan, if file is placed in the file bogey, then reference pattern will be hidden by file, therefore Image Sensor can't detect reference pattern, and Image Sensor will be driven and be used for scanning the file that is arranged in the file bogey.
The advantage of the inventive method is that it can drive the startup scanning means automatically, and it is easy to use, and practicality is good, and its framework file can holding paper.In addition, scanning means can also be applied to common platform formula scanning means to method of the present invention in the built-in host computer except being applied to.
Below in conjunction with accompanying drawing, embodiments of the invention are described, wherein:
Device of image scanning of the present invention can built-in host computer in, itself and have the scanning means pedestal in order to carrying device of image scanning each several part element and provide receiving element and the space of circuit, the file bogey can be a card box file card casket or any suitable file bogey, the file bogey comprises file bogey loam cake and file bogey lower cover, one reference pattern is arranged on file bogey loam cake or the file bogey lower cover, and this reference pattern is used for scanning means and detects whether file has been positioned at the file bogey.
The file bogey is opened, place in the file bogey scanned then, insert in the scanning means behind the close file bogey, a detecting element is arranged in the scanning means in order to detect the file bogey whether in the feed-in scanning means subsequently, one Image Sensor is arranged in the scanning means whether be arranged in the file bogey in order to detect file, in addition, Image Sensor is in order to sensing and catch the image data of file, whether the inventive method is at first to detect the file bogey by the detecting element of scanning means to be positioned among this scanning means, if, detecting element detects the file bogey and has been positioned among the scanning means, then drive the default position of above-mentioned Image Sensor to, this position is positioned at directly over the reference pattern, whether Image Sensor begins to detect file and is positioned among the file bogey then, if Image Sensor can be accepted the reflected signal of reference pattern, represent that then file is not among the file bogey, scanning means will can not scan, if file is placed among the file bogey, then reference pattern will be hidden by file, therefore Image Sensor can't detect reference pattern, Image Sensor will be driven and be used for scanning the file that is arranged in the file bogey, in preferred embodiment of the present invention, this Image Sensor is contact-type image sensing element (contact image sensor-CIS), or uses electric charge coupling sensing element (charge couple device-CCD).
The present invention for a kind of can in be built in the driving method of host computer device of image scanning, for example the present invention can utilize the original-pack CD or the room device in-building type scanning means of floppy drive on the host computer, this in-building type scanning means has the file bogey, above-mentioned file bogey can be beneficial to file and insert by extracting out in the in-building type scanning means and separating.
For example, see also Fig. 1, one device of image scanning can in be built in host computer and its and have scanning means pedestal 100 in order to carrying device of image scanning each several part element and provide receiving element and the space of circuit, have chute 102 on pedestal 100 two sides and be used for accepting the file bogey 200 (consulting Fig. 2) of insertion, this document bogey 200 can be a card box file card casket or any suitable file bogey, type of drive of the present invention for convenience of explanation, only illustrate as embodiment with card box file card casket, one front panel 104 is connected in pedestal 100, this panel 104 has an insertion groove 106, its horizontal plane is identical with chute 102, card box file card casket can insert from insertion groove 106 and be accepted by the chute 102 of pedestal 100, has the casket of moving back knob 108 on the panel 104, move back case device 110 and the file card casket is withdrawed from when file card casket 200 can will be pressed this knob 108, one when scanning means withdraws from order to respond the above-mentioned casket knob 108 that moves back.
Consult Fig. 1; scanning means has fixture 112 and is arranged on the pedestal 100; it is fixing in order to the file bogey 200 that will insert near slide rail 102; one Image Sensor 114 is arranged in this scanning means; and the mat actuator drives is beneficial to move and pick up image with Image Sensor 114 and finishes scanning; as shown in Figure 1, the loam cake 118 of one scan device is in order to cover and to protect inner member with pedestal 100.
Consult Fig. 2, the file bogey of file bogey 200 comprises loam cake 200a and file bogey lower cover 200b, file bogey loam cake 200a is connected with file bogey lower cover 200b one end and the other end can utilize link to open for axle, in addition, but file bogey 200 has at least one side to be made by the light peneration material is beneficial to Image Sensor 114 captures, but above-mentioned light penetrable material can be used acryl or tempered glass etc.One reference pattern 208 is arranged on file bogey loam cake 200a or the file bogey lower cover 200b, in most preferred embodiment, reference pattern 208 is located at the inboard end of file bogey lower cover 200b, file bogey loam cake 200a is a transparency or opposite, this reference pattern is used for being beneficial to scanning means and detects whether file 206 is positioned among the file bogey 200, and these also will be narrated hereinafter.
Consult Fig. 3, when operator's scan-image, file bogey 200 is opened, place in the file bogey 200 scanned 206 then, behind the close file bogey 200, be inserted into the scanning means from the insertion groove 106 of panel 104 and accept by chute 102, fixture 112 is just fixing with file bogey 200 after entering the fixed position, whether one detecting element 210 of first sensing element is arranged in the scanning means in order to detect file bogey 200 among the feed-in scanning means, one-be that the Image Sensor 114 of second sensing element is arranged in the scanning means whether be arranged in file bogey 200 in order to detect file 206, in addition, Image Sensor 114 is used for sensing and obtain the image data of file 206.
Consult Fig. 4, it is the inventive method flow chart, at first, the detecting element 210 of scanning means detects file bogey 200 and whether is arranged in this scanning means in step 300, if, detecting element 210 detects file bogey 200 and is arranged in scanning means, then drives above-mentioned Image Sensor 114 to one predeterminated positions in step 302, and this position is positioned at directly over the reference pattern 208.In one embodiment of this invention, can use Photosensing Units (photodetector) as above-mentioned detecting element 210.
Whether Fig. 5 is identification file bogey 200 of the present invention circuit diagram in scanning means 400, this circuit comprises Photosensing Units 210 and d type flip flop (Dflip-flop) 404, Photosensing Units 210 is connected in a high potential (V+), in preferred embodiment of the present invention, Photosensing Units 210 is that light-emitting diode (light-emitting diode-LED) 210a and a transistor 210b form.Behind file bogey 200 feed-in scanning means, file bogey 200 will be between light-emitting diode 210a and transistor 210b.If file bogey 200 is not among scanning means, then transistor 210b can receive the light signal that is sent by light-emitting diode 210a, therefore the output of Photosensing Units 210 is different according to design, for example can be high potential, output signal with this Photosensing Units 210 is fed to d type flip flop 404 sequential ends (clock-CK) then, the CK end reacts above-mentioned signal and above-mentioned conversion of signals is become electronegative potential subsequently, in addition, the D end of d type flip flop 404 connects high potential (V+) usually, therefore, the output of Q end will can not changed its state, so Image Sensor 114 will can not be driven.On the contrary, if file bogey 200 is arranged in scanning means, then transistor 210b can't receive the light signal that is sent by light-emitting diode 210a, therefore the output signal of Photosensing Units 210 is an electronegative potential, then the output signal of this Photosensing Units 210 is fed to the sequential end of d type flip flop 404, the above-mentioned signal of CK end reaction subsequently also converts above-mentioned low-potential signal to high potential, so the output of Q end will change its state, and Image Sensor 114 can be driven.
Consult Fig. 3, step 302, Image Sensor 114 is driven to the precalculated position because of above-mentioned transition state, just be positioned at directly over the reference pattern 208, Image Sensor 114 begins to detect file and whether has been arranged in file bogey 200 then, if Image Sensor can be accepted the reflected signal of reference pattern 208, represent that then file is not among file bogey 200, scanning means will can not scan, reference pattern 208 can be arranged at any suitable position, for example, when first reference pattern 208 was formed for transparency, reference pattern 208 was arranged at inboard one end of file bogey lower cover 200b.If file is placed among the file bogey 200, then reference pattern 208 will be hidden by file, therefore Image Sensor 114 can't detect reference pattern 208, therefore among step 306, Image Sensor 114 will be driven and be used for scanning the file that is arranged in file bogey 200, in a preferred embodiment of the present invention, this Image Sensor 114 is contact-type image sensing element (contact image sensor-CIS), or uses electric charge coupling sensing element (charge coupledevice-CCD).
Consult Fig. 6, it illustrates the signal figure of reference pattern 208, and for example, reference pattern 208 is the pattern that has at least one blackstreak on the white background, or the pattern that has at least one white stripes on the black matrix.
User of the present invention can not need to press any button and come the driven sweep device, and method of the present invention can start scanning means automatically for it.
More than embodiments of the invention are described, those skilled in the art do not break away from spirit of the present invention and can make and changing or retouching, but these changes or equivalent all are included in the accompanying Claim book.