Summary of the invention
For solving the prior art problem, multi-functional vein acquisition method based on the cloud platform of the present invention is: utilize the front-end collection device to gather the human finger vein image, be sent to thin client, thin client is resent to cloud server and processes, to realize extraction and the comparison of human finger vein pattern.
The method is based on the cloud platform architecture, image acquisition and feature extraction are separated, utilize cloud platform processes core missions, and do not need front-end equipment to set up special computing hardware, the cloud platform adopts the scalable distributed file system of GFS, manage a large amount of vein images and characteristic of correspondence and identity database by a Master and a large amount of block server, the client of large quantity is obtained the information of target data block in the cloud platform network from Master, and direct and block server carries out the vein data transfer alternately.
Should comprise front-end collection device, thin client, cloud server based on the multi-functional vein harvester of cloud platform, wherein, the front-end collection device is connected with thin client, and thin client connects cloud server.
Described front-end collection device is portable, microminiature equipment, only is used for gathering finger venous image, by USB interface the vein image that collects is transferred to thin client;
Described thin client is common computer, behind the installation corresponding software, can be connected with harvester and server, by network the vein image that gets access to is accessed the cloud platform, and realizes rotating function in the steering order;
Described cloud server is positioned over Special machine room, with many thin clients by wired or wireless network connection, realize to receive and to upload image, image is carried out feature extraction, storage, processes than equity, and according to demand comparison result is issued to thin client, realize purview certification.
That Ethernet connects between described thin client and the cloud server.
Described front-end collection device has multiple-working mode, realizes powering on as required, working as required, its schematic diagram such as Fig. 2.
Infrared light supply and CMOS module are in " shut " mode" during without acquisition tasks, and main control chip is in park mode; When needs were carried out acquisition tasks, trigger switch woke main control chip up from dynamic response user's operation, changes normal mode of operation over to after main control chip is waken up, and enabled power supply and powered on to infrared light supply and CMOS module, and begin to carry out the vein image acquisition processing; After acquisition tasks is finished, trigger switch after main control chip detects this operation, is at first closed the power supply of infrared light supply and CMOS module again from dynamic response user's operation, then main control chip changes park mode over to, and the single treatment task of whole front-end collection equipment is finished.
Described front-end collection device is provided with vein trigger collection device, be specially: be provided with a light at finger collection zone end and detect the hole, the below is fixed with photosensitive device, change for detection of light, change the placement situation of judging finger by light, realize the detection trigger function, photosensitive device is only to visible-light spectrum sensitive, gather the brightness of hole perception visible light by light, photosensitive device links to each other with the dormancy awakening pin of main control chip.Testing circuit such as Fig. 4.
The vein trigger collection process of described front-end collection device is: photosensitive device detects visible light under the mode of operation, and resistance is very little, and it is low level that main control chip wakes pin up, and front-end collection equipment is in low power consumpting state; When librarian use vein collecting device was arranged, finger stretched into and puts in place, sheltered from light and gathered the hole, and it is large that photosensitive device resistance becomes, and it is high level that main control chip wakes pin up, and this moment, main control chip transferred duty to from dormant state; Control immediately infrared light supply after the main control chip work and the CMOS module works on power, the above-mentioned time is Microsecond grade, and the main control chip time-delay started the image acquisition program after 1 second, began to gather the human finger vein image; Collect behind the finger venous image main control chip with image data transmission to thin client; Finishing behind the image transmitting main control chip begins inquiry and wakes the pin level up, after finger is taken away, photosensitive device reverts to small resistor, above-mentioned pin level reverts to low, this moment, the main control chip time-delay was closed infrared light supply and CMOS modular power source after 2 to 4 seconds, and with self dormancy, harvester was finished once and was gathered this moment, reentered low power consumpting state.
Described front-end collection device inside is provided with USB HUB chip, USB HUB chip is connected to thin client by one tunnel USB interface, USB HUB chip connects respectively acquisition module, spread F LASH storage, expanding USB interface in inner three tunnel USB interface that connect of front-end collection device.Like this, the road USB interface that in harvester inside USB HUB chip is connected to thin client by USB HUB chip expands to three the tunnel, is respectively applied to connect acquisition module, spread F LASH storage, expanding USB interface.Its structure as shown in Figure 5.
Wherein, USB HUB chip adopts GL850, comprises the key signal circuits such as DM0, DP0, DM1, DP1, DM2, DP2, DM3, DP3, and its core circuit connects as shown in Figure 6.
After the said method expansion, DM0, DP0 are used for connecting the thin client USB interface; DM1, DP1 are used for connecting image capture module; DM2, DP2 are used for connecting spread F LASH chip; DM3, DP3 are used for connecting the USB stand, as expansion interface.
Wherein spread F LASH chip is used for depositing driver and relative application software, and after harvester was by USB access thin client, thin client was processed automatically according to following step:
Step1: thin client automatically identifies extended partition;
Step2: specific drivers is installed by automatic operation;
Step3: by automatic operation vein is installed and is gathered client software;
Step4: vein gathers client software and enter holding state after be dynamically connected cloud server, test communications is normal, waits for that vein gathers identifying operation.
Single channel USB is expanded to multichannel, both realized that vein gathered required data transmission and control forwarding capability, do not take again the USB Peripheral Interface of thin client itself, simultaneously that driver and application program is integrated inner to collecting device, increased system reliability and convenience.
The beneficial effect of this method is, reduces the power consumption of front-end collection device under off working state, energy savings, and can protect associated components, increase the service life.
Adopt this framework to realize utilizing cloud platform processes core missions, and do not need to set up special computing hardware for front-end equipment, reduced system cost.Because cloud platform computing power super single embedded device far away or PC, this framework has outstanding advantage at aspects such as file management, system effectivenesies, can further improve the processing power of human finger vein pattern, realize that real-time vein image and historical template vein image that distributed front end is obtained in a large number, disperses carry out high security, high efficiency management and processing.