CN106528640A - Browser-based fingerprint check method and system - Google Patents

Browser-based fingerprint check method and system Download PDF

Info

Publication number
CN106528640A
CN106528640A CN201610893314.8A CN201610893314A CN106528640A CN 106528640 A CN106528640 A CN 106528640A CN 201610893314 A CN201610893314 A CN 201610893314A CN 106528640 A CN106528640 A CN 106528640A
Authority
CN
China
Prior art keywords
fingerprint
target terminal
finger
webservice
controls
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
CN201610893314.8A
Other languages
Chinese (zh)
Other versions
CN106528640B (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.)
Xiamen Entropy Technology Co., Ltd
Original Assignee
Xiamen Zhongkong Biological Recognition Information Technology Co Ltd
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 Xiamen Zhongkong Biological Recognition Information Technology Co Ltd filed Critical Xiamen Zhongkong Biological Recognition Information Technology Co Ltd
Priority to CN201610893314.8A priority Critical patent/CN106528640B/en
Publication of CN106528640A publication Critical patent/CN106528640A/en
Application granted granted Critical
Publication of CN106528640B publication Critical patent/CN106528640B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Collating Specific Patterns (AREA)

Abstract

An embodiment of the invention discloses a browser-based fingerprint acquisition method. The method comprises the steps that a web server receives an access request of a web access address pointing to a fingerprint check state display page and sent by a target terminal, and returns the fingerprint check state display page corresponding to the access request to the target terminal, and the target terminal displays the fingerprint check state display page, wherein the fingerprint check state display page contains a script file used for asynchronously accessing a webservice control, and the script file further contains a web access address pointing to the webservice control; the fingerprint state display page asynchronously accesses the web access address of the webservice control through executing the script file in the target terminal; and the target terminal captures fingerprint input data corresponding to a fingerprint acquisition apparatus corresponding to the target terminal through the webservice control and displays the fingerprint input data in the fingerprint check state display page. By adopting the method, cross-platform fingerprint acquisition and fingerprint login based on different browsers can be realized, so that system and data security is improved.

Description

A kind of finger-mark check method and system based on browser
Technical field
A kind of the present invention relates to Internet technical field, more particularly to finger-mark check method and system based on browser.
Background technology
With developing rapidly for Internet technology, biological identification technology is more and more applied in various products, for example, Convenient use and the fingerprint with uniqueness, are widely used in various subscriber authentications or security system. In general, the collection and checking based on the user fingerprints under fingerprint identification technology, the overwhelming majority are all based on C/S model (Client/Server patterns, or Client/Server pattern), that is, need to install special client in terminal;For clear Look at Product out) because any special software need not be installed, as long as there is a computer that can be surfed the Net excellent with what is used Development mode under gesture, therefore the pattern receives the favor of increasing client.
But, under B/S patterns, browser terminal and corresponding server need to obtain the fingerprint of user input and Corresponding readable code, solution in the prior art include Java Applet technologies and ActiveX technologies, front Person is because loading velocity is slow, can only support the particular version of some particular browsers and the problem that part is incompatible, it is impossible to real Arbitrary browser terminal is realized now;The latter then only supports IE browser, and other browsers are not then supported, there is compatibility Poor problem.
That is, because the restriction of each browser, result in carries out cross-platform fingerprint on browser terminal and adopts Collection or fingerprint are logged in cannot be realized.
The content of the invention
Based on this, it is to solve in above-mentioned conventional art to carry out cross-platform fingerprint collecting on browser terminal or fingerprint is stepped on The technical problem that record cannot be realized, spy propose a kind of finger-mark check method based on browser.
A kind of finger-mark check method based on browser, including:
Web server receives the visit of the web reference address of the sensing finger-mark check state displayed page that target terminal sends Request is asked, finger-mark check state displayed page corresponding with the access request is returned to into the target terminal, the target Finger-mark check state displayed page described in terminal display;
Include the script file of webservice controls described in asynchronous access on the finger-mark check state displayed page, Also include the web reference address for pointing to the webservice controls in the script file;
On the target terminal, finger-mark check state displayed page asynchronously accesses institute by performing the script file State the web reference address of webservice controls;
The target terminal captures fingerprint acquisition device corresponding with the target terminal by webservice controls and adopts The fingerprint logging data of collection is simultaneously illustrated in the finger-mark check state displayed page.
Optionally, in one embodiment, the target terminal is captured and the target end by webservice controls Also include before the fingerprint logging data for holding corresponding fingerprint acquisition device collection:
The target terminal installs webservice controls, and in the webservice controls arranges Access- Control-Allow-Origin;
The interface function for calling the webservice controls is encapsulated in the displaying of finger-mark check state by the target terminal In the script file of webservice controls described in the asynchronous access included on the page;
The target terminal captures fingerprint acquisition device corresponding with the target terminal by webservice controls and adopts The fingerprint logging data of collection also includes:
The target terminal calls connecing for the fingerprint collecting of the webservice controls by the Ajax of JavaScript Mouth function, judges whether fingerprint acquisition device corresponding with the target terminal collects fingerprint, if so, then passes through the fingerprint The interface function of collection obtains fingerprint logging data corresponding with the fingerprint for collecting.
Optionally, in one embodiment, described acquisition by the interface function of the fingerprint collecting is collected with described The corresponding fingerprint logging data of fingerprint also include:
The fingerprint typing operation of the fingerprint acquisition device detection user input, obtains corresponding with the fingerprint typing operation Fingerprint character code information;
The fingerprint character code information is encoded into base64 character strings and returns to the mesh by the fingerprint acquisition device The fingerprint logging data is carried out interim storage by mark terminal, the target terminal;
The interface function of fingerprint collecting of the target terminal by the webservice controls is from the fingerprint collecting In device obtain coding after base64 character strings are as fingerprint logging data and are uploaded to web server;
The base64 characters that the fingerprint character code information as fingerprint logging data is encoded into by the web server String is preserved into the fingerprint masterplate table of the web server data base and is uploaded to fingerprint server simultaneously.
Optionally, in one embodiment, the web server is using the fingerprint character code as fingerprint logging data The base64 character strings that information is encoded into also include after being uploaded to fingerprint server:
The fingerprint logging data is stored in default fingerprint sample by the web server In database.
Optionally, in one embodiment, the web server is using the fingerprint character code as fingerprint logging data The base64 character strings that information is encoded into also include after being uploaded to fingerprint server:
In the web server by the fingerprint logging data with the second sample fingerprint data pre-recorded by calling The fingerprint comparison interface function for stating fingerprint server is compared, and generates fingerprint authentication result according to comparison result;
The fingerprint authentication result is returned to the target terminal by the web server, and the target terminal is according to connecing The fingerprint authentication result that receives showing in the finger-mark check state be shown on interface.
Optionally, in one embodiment, methods described also includes:
The target terminal is generated corresponding with the base64 character strings for grabbing by the Canvas paintbrushes of HTML5 Fingerprint image, and be illustrated in the finger-mark check state displayed page.
Additionally, for solving to carry out cross-platform fingerprint collecting or fingerprint login in above-mentioned conventional art on browser terminal The technical problem that cannot be realized, spy propose a kind of finger-mark check system based on browser.
A kind of finger-mark check system based on browser, including target terminal, web server and with the target terminal Connected fingerprint acquisition device, wherein:
The web server is used for the web of the sensing finger-mark check state displayed page for receiving target terminal transmission and accesses Finger-mark check state displayed page corresponding with the access request is returned to the target terminal by the access request of address;
The target terminal is used for showing the finger-mark check state displayed page, the finger-mark check state displayed page On include the script file of webservice controls described in asynchronous access, also include sensing in the script file described The web reference address of webservice controls;
The target terminal is additionally operable to the finger-mark check state displayed page on the target terminal and passes through to perform the foot Presents asynchronously accesses the web reference address of the webservice controls;
The target terminal is additionally operable to capture fingerprint collecting corresponding with the target terminal by webservice controls The fingerprint logging data of device collection is simultaneously illustrated in the finger-mark check state displayed page.
Optionally, in one embodiment, the target terminal is additionally operable to install webservice controls, and described In webservice controls, Access-Control-Allow-Origin is set;Connecing for the webservice controls will be called Mouth function is encapsulated in the script file of webservice controls described in the asynchronous access include on finger-mark check state displayed page In;By the fingerprint logging data of webservice controls crawl fingerprint acquisition device collection corresponding with the target terminal also Including:The interface function of the fingerprint collecting of the webservice controls is called by the Ajax of JavaScript, is judged and institute State whether the corresponding fingerprint acquisition device of target terminal collects fingerprint, if so, then by the interface function of the fingerprint collecting Obtain fingerprint logging data corresponding with the fingerprint for collecting.
Optionally, in one embodiment, the fingerprint acquisition device is additionally operable to detect the fingerprint typing behaviour of user input Make, obtain fingerprint character code information corresponding with the fingerprint typing operation;The fingerprint character code information is encoded into Base64 character strings simultaneously return to the target terminal, and the fingerprint logging data is carried out interim storage by the target terminal;
The target terminal is additionally operable to the interface function of the fingerprint collecting by the webservice controls from the finger In stricture of vagina harvester obtain coding after base64 character strings are as fingerprint logging data and are uploaded to web server;
The web server is additionally operable to be encoded into the fingerprint character code information as fingerprint logging data Base64 character strings are preserved into the fingerprint masterplate table of the web server data base and while are uploaded to fingerprint server.
Optionally, in one embodiment, the web server is additionally operable to the fingerprint logging data as the first sample This finger print data is stored in default sample fingerprint data base.
Optionally, in one embodiment, the web server is additionally operable to the fingerprint in the web server Logging data is carried out by calling the fingerprint comparison interface function of the fingerprint server with the second sample fingerprint data pre-recorded Compare, and fingerprint authentication result is generated according to comparison result;The fingerprint authentication result is returned to into the target terminal, it is described Target terminal is shown according to the fingerprint authentication result for receiving and on finger-mark check state displaying interface.
Optionally, in one embodiment, the target terminal is additionally operable to be generated and grabbed by the Canvas paintbrushes of HTML5 The corresponding fingerprint image of the base64 character strings got, and be illustrated in the finger-mark check state displayed page.
Implement the embodiment of the present invention, will have the advantages that:
After employing the above-mentioned finger-mark check method and system based on browser, web server receives target terminal and sends out The access request of the web reference address of the sensing finger-mark check state displayed page for sending, will finger corresponding with the access request Stricture of vagina verification state displayed page returns to the target terminal, and the target terminal shows that the finger-mark check state shows page Face;Include the script file of webservice controls described in asynchronous access on the finger-mark check state displayed page, it is described Also include the web reference address for pointing to the webservice controls in script file;The fingerprint school on the target terminal Test the web reference address that state displayed page asynchronously accesses the webservice controls by performing the script file; The target terminal captures the fingerprint of fingerprint acquisition device collection corresponding with the target terminal by webservice controls Logging data is simultaneously illustrated in the finger-mark check state displayed page.That is, employing the above-mentioned finger based on browser After stricture of vagina method of calibration and system, the interface function of webservice controls can be called to gather by the Ajax of JavaScript The finger print information of user input, compared to the OCX used by old scheme, is no longer influenced by the restriction of browser, realizes not With fingerprint and fingerprint login is gathered in browser, the suitability that fingerprint collecting and fingerprint based on browser are logged in is improve; Meanwhile, compared to the ActiveX used by old scheme, improve the safety of system and data.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Wherein:
Fig. 1 is a kind of composition schematic diagram of the finger-mark check system based on browser in one embodiment;
Fig. 2 is a kind of schematic flow sheet of the finger-mark check method based on browser in one embodiment;
Fig. 3 is a kind of interface schematic diagram of the sample fingerprint typing page in one embodiment;
Fig. 4 is a kind of interface schematic diagram of fingerprint login page in one embodiment.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Cannot for carrying out cross-platform fingerprint collecting or fingerprint login in the above-mentioned conventional art of solution on browser terminal The technical problem of realization, in the present embodiment, spy proposes a kind of finger-mark check system based on browser, specifically, can be such as Shown in Fig. 1, the above-mentioned finger-mark check system based on browser includes web server 10, is mounted with the target terminal of browser 20 and the fingerprint acquisition device 30 of typing fingerprint.In the present embodiment, it is mounted with that webservice is controlled in web server Part, that is, be mounted with that Secuirty ISSOnline Service are serviced, so that web server can call webservice The interface function of control.Further, in target terminal, corresponding webservice controls are there are also installed, is mounted with Secuirty ISSOnline Service are serviced, and for example, user can download webservice controls manually by browser Exe files and installed, after the installation is complete, target terminal can directly call webservice to control in a browser The correlation function of part.
It should be noted that in the present embodiment, communication link is established between fingerprint acquisition device 30 and target terminal 20 Connect, that is to say, that can carry out data transmission therebetween, for example, the finger print data for collecting is passed by fingerprint acquisition device 30 Give target terminal.In the present embodiment, fingerprint acquisition device 30 can be built in target terminal, for example, installed in pen Remember the fingerprint sensor on this computer or the fingerprint sensor on smart mobile phone, panel computer, can also be and pass through Wired mode or wireless mode (WIFI, bluetooth etc.) establish the fingerprint collecting device of communication connection and target terminal between.
Specifically, as shown in figure 1, the above-mentioned finger-mark check method based on browser comprises the steps:
Step S102:Web server receives the web of the sensing finger-mark check state displayed page that target terminal sends and accesses Finger-mark check state displayed page corresponding with the access request is returned to the target terminal by the access request of address, The target terminal shows the finger-mark check state displayed page.
User by install be manually entered in one hurdle of address of browser on a target terminal the address that needs to access or Person clicks on the link for pointing to reference address, you can send an access request to web server corresponding with reference address.At this In embodiment, what user was input on a target terminal is directed to the access of the web reference address of finger-mark check state displayed page The access request is uploaded to corresponding web server after the access request is detected by request, target terminal.Need Bright, in the present embodiment, web server refers exclusively to the corresponding web server of finger-mark check state displayed page.
In being embodied as, web server is in the sensing finger-mark check state displayed page for receiving target terminal transmission After the access request of web reference address, according to access request, obtain finger-mark check state corresponding with the access request and show The page simultaneously returns to target terminal, target terminal receive with after finger-mark check state displayed page, in target terminal Show.
It should be noted that in the present embodiment, web server returns to the finger-mark check state of target terminal and shows page Face is script file corresponding with the finger-mark check state displayed page, and target terminal leads to after the script file is received Cross browser to perform the script file to show above-mentioned finger-mark check state displayed page.
Further, in the present embodiment, above-mentioned finger-mark check state displayed page can be corresponding with finger-mark check The sample fingerprint typing page, i.e. user for example, can gather fingerprint corresponding with ID by the page typing finger print information Information;Can also be fingerprint login page corresponding with finger-mark check.
Optionally, in the present embodiment, optional step also includes:The target terminal is drawn by the Canvas of HTML5 Pen generates corresponding fingerprint image, and is illustrated in the finger-mark check state displayed page.
Specifically, for example when finger-mark check state displayed page is the sample fingerprint typing page, can be by HTML5's Canvas paintbrushes generate fingerprint image corresponding with single fingerprint or palm;Show that interface is stepped on for fingerprint in finger-mark check state During the record page, corresponding fingerprint image can be generated by the Canvas paintbrushes of HTML5, that is to say, that it is right that user can pass through The visual displayed page of fingerprint image completes the gatherer process of fingerprint.
As shown in Figure 3 and Figure 4, Fig. 3 illustrates the showing interface of the sample fingerprint typing page in a specific embodiment Figure, is being display area corresponding with the fingerprint image of typing shown in the region shown in numbering P1, in the diagram, is illustrating In a specific embodiment in fingerprint login page, the region shown in numbering P2 shows the fingerprint image pair with typing The display area answered.Further, the region shown in numbering Q in figure 3, is the feelings of the finger print data in the multiple fingers of typing Under condition, the progress bar of the fingerprint collecting corresponding with multiple fingers generated using Canvas paintbrushes is gathered successful finger and then will The viewing area of corresponding finger becomes green.
Step S104:On the target terminal, finger-mark check state displayed page is asynchronous by performing the script file Ground accesses the web reference address of the webservice controls.
In specific embodiment, target terminal passes through perform script document presentation finger-mark check state displayed page, that is, Say, web server returns to the finger-mark check state displayed page of target terminal and contains and shows page with the finger-mark check state The corresponding script file in face, target terminal refer to after script file corresponding with finger-mark check state displayed page is received Stricture of vagina verifies state displayed page by performing above-mentioned script file to show finger-mark check state displayed page.
It should be noted that returning to the corresponding foot of finger-mark check state displayed page of target terminal in web server In presents, webservice controls described in the asynchronous access for enabling target terminal successful access webservice control are further comprises The script file of part, also, further, in script file, also include the web access for pointing to the webservice controls Address, therefore, web reference address of the target terminal by the asynchronous access webservice controls of perform script file.
Step S106:The target terminal captures fingerprint corresponding with the target terminal by webservice controls and adopts The fingerprint logging data of acquisition means collection is simultaneously illustrated in the finger-mark check state displayed page.
In the present embodiment, target terminal is illustrating finger-mark check state displaying page by performing corresponding script file After face, user needs to be input into corresponding finger print information by above-mentioned displayed page.In the present embodiment, user can by Above-mentioned finger-mark check status page clicks on control button corresponding with typing fingerprint is started, and sends a fingerprint to target terminal and grabs Instruction fetch, that is to say, that target terminal performs phase after the fingerprint crawl instruction that user is input into by target terminal is received The operation of the fingerprint crawl answered.In the present embodiment, target terminal captures the operation of fingerprint, can be by the fingerprint of user input It is crawl instruction triggers, or that target terminal is triggered after successful presentation finger-mark check state displayed page automatically.
Specifically, in the present embodiment, target terminal is captured and mesh by the webservice controls installed in terminal The fingerprint logging data of the corresponding fingerprint acquisition device collection of mark terminal.
It should be noted that because web server or target terminal directly invoke the interface letter of webservice controls Number belongs to cross-domain access, and this access module is forbidden by origin policy, in order that accessing webservice controls The access of interface function is normally carried out, in the present embodiment, it is possible to use the CORS (cross-domain resource is shared) of HTML5, Access-Control-Allow-Origin is set in webservice controls, after success is set, it is possible to allow JavaScript carries out cross-domain access by Ajax, that is, allow JavaScript to call connecing for webservice controls by Ajax Mouth function.
Further, in order that target terminal is opened up script file corresponding with finger-mark check state displayed page is performed On the finger-mark check state displayed page for showing, target terminal can also get corresponding fingerprint logging data, and this requires target In terminal execution script file, corresponding arrange parameter is also contains.Specifically, the interface of webservice controls will be called Function is encapsulated in the script file for asynchronously accessing web server included on finger-mark check state displayed page, that is, Say, target terminal is when corresponding script file is performed, it is also possible to access the interface function of above-mentioned webservice controls.Need Illustrate, in the present embodiment, on a target terminal, in order to be able to make target terminal show finger-mark check state displayed page During, associative operation corresponding with webservice controls are called in energy successful execution script file, on a target terminal In the browser of installation, in addition to webservice controls will be installed, in addition it is also necessary to enter in the webservice controls installed The corresponding Access-Control-Allow-Origin of row is arranged.
It is that is, in web server and target terminal, be respectively mounted webservice controls, and corresponding Carry out corresponding Access-Control-Allow-Origin to arrange in webservice controls, to allow to access The web reference address of webservice controls.
After the setting for being allowed cross-domain access accordingly, it is possible to captured by webservice controls and target The fingerprint logging data of the corresponding fingerprint acquisition device collection of terminal.It should be noted that in the present embodiment, fingerprint typing number According to can user be input into by the fingerprint acquisition device being connected with target terminal, specifically, fingerprint acquisition device can be Fingerprint sensor on a target terminal is installed, or by way of wired or wireless communication connection and target terminal Establish the fingerprint acquisition device of communication connection.Fingerprint acquisition device operates it in the fingerprint typing for detecting user input fingerprint Afterwards, obtain the corresponding finger print data of fingerprint with fingerprint typing operation corresponding operating parameter, i.e. user input.
It should be noted that in the present embodiment, above-mentioned finger print data may refer to print image, it is also possible to fingerprint image Characteristic information, can also be fingerprint character code information corresponding with fingerprint image, in the present embodiment, can also be by fingerprint characteristic Code information is encoded into base64 character strings, using the fingerprint logging data that base64 character strings are captured as web server.
Specifically, the fingerprint typing operation of the fingerprint acquisition device detection user input, obtains and the fingerprint typing Operate corresponding fingerprint character code information;The fingerprint character code information is encoded into base64 characters by the fingerprint acquisition device String returns to the target terminal, and the fingerprint logging data is carried out interim storage by the target terminal;Institute's target terminal leads to Cross the fingerprint collecting of the webservice controls interface function obtain from the fingerprint acquisition device coding after Base64 character strings are as fingerprint logging data and upload to web server, and web server is using the finger as fingerprint logging data The base64 character strings that stricture of vagina condition code information is encoded into preserve into the fingerprint masterplate table of the web server data base and while It is uploaded to fingerprint server.
In an optional embodiment, target terminal captures finger corresponding with target terminal by webservice controls During the fingerprint logging data of stricture of vagina harvester collection, can also be and called by the Ajax of JavaScript Corresponding interface function corresponding with fingerprint collecting in webservice controls, also, the return value by interface function, it is determined that Whether obtain successfully with fingerprint logging data, that is, whether successful acquisition is to finger to judge the fingerprint acquisition device being connected with target terminal Stricture of vagina, if gathering successfully, the return value of above-mentioned interface function corresponding with fingerprint collecting is fingerprint logging data, that is, pass through The interface function of the fingerprint collecting of webservice controls, obtains the corresponding fingerprint logging data of fingerprint for collecting.
Further, in the present embodiment, target terminal is after fingerprint logging data is grabbed, in the clear of target terminal Look at and show the fingerprint logging data for grabbing in the finger-mark check state displayed page shown on device interface.
Optionally, in the present embodiment, the finger-mark check state for showing on the browser interface of above-mentioned target terminal shows Show the process of the fingerprint logging data for grabbing in the page, can be the Canvas paintbrushes by HTML5, generate and grab The corresponding fingerprint image of fingerprint logging data, in the present embodiment, fingerprint logging data for base64 character strings process In, fingerprint image corresponding with the base64 character strings can be generated by the Canvas paintbrushes of HTML5, and Canvas is drawn The fingerprint image that pen is generated is illustrated in finger-mark check state displayed page.
The area shown in numbering P2 in region and Fig. 4 in a specific embodiment, as shown in numbering P1 of Fig. 3 Shown in domain, in P1 and P2, illustrate according to the generation of Canvas paintbrushes and fingerprint logging data (the base64 words for grabbing Symbol string) corresponding fingerprint image, that is to say, that the condition code information coding of the fingerprint image collected according to fingerprint acquisition device Into base64 character strings, by Canvas paintbrushes, generate fingerprint image corresponding with base64 character strings, it is possible to use family is straight The situation for checking fingerprint typing seen.
Optionally, after fingerprint logging data is grabbed, the fingerprint logging data to grabbing is processed, also, In the present embodiment, different process are carried out respectively according to different application scenarios.Specifically, can be according to finger-mark check state The particular content of displayed page determines the concrete operations of the process for carrying out.For example, finger-mark check state displayed page be fingerprint During the sample typing page, the fingerprint logging data for grabbing is stored in into default sample fingerprint as first sample finger print data In data base, also, with first sample finger print data together preserve also include ID, that is to say, that ID and first It is corresponding between sample fingerprint data.
Optionally, in the present embodiment, the quantity of the corresponding first sample finger print data of same user can more than one Individual, for example, the corresponding first sample finger print data of the 10 of both hands fingers can be stored in default fingerprint sample by user In database, and finger numbering is saved in into default sample fingerprint data base in the lump with corresponding first sample finger print data In.
Further, in the present embodiment, before first sample finger print data is preserved, in addition it is also necessary to for same finger Fingerprint carries out multi collect, for example, it is desired to the process of 3 fingerprint collectings is successively carried out, after three fingerprint collectings are completed, then According to the fingerprint character code information for collecting for three times, webservice interfaces are called by the Ajax of JavaScript, by three times The fingerprint character code information for collecting synthesizes a new fingerprint character code information, that is to say, that the new fingerprint characteristic of synthesis Code information will be saved in default sample fingerprint data base as final first sample finger print data;Further, in web In the case that the fingerprint logging data of server crawl is base64 character strings, with the new fingerprint character code information pair after synthesis The base64 character strings answered will be saved in default sample fingerprint data base as first sample finger print data.
When finger-mark check state displayed page is fingerprint login page, by the fingerprint logging data that grabs with pre-record Second sample fingerprint data are compared.In the present embodiment, the second sample fingerprint data pre-recorded are user and are referring in advance In grain pattern this typing page typing and preserve it is corresponding with ID and be saved in default sample fingerprint data base Fingerprint logging data or first sample finger print data.During fingerprint login is carried out, according to ID, in default fingerprint Search the second sample fingerprint data corresponding with the ID in sample database, and by the second sample fingerprint data and crawl To fingerprint logging data compare.Further, comparison result is fingerprint authentication result, that is to say, that if fingerprint ratio To success, then the authentication success of fingerprint authentication success, i.e. user is judged.In the present embodiment, web server is by fingerprint inspection Card result returns to target terminal, and target terminal is showing boundary in finger-mark check state after fingerprint authentication result is received Show the page corresponding with fingerprint authentication result on face.For example, if being proved to be successful, web server will number corresponding with ID According to target terminal is returned to, target terminal is received and shows related data corresponding with ID accordingly.
Additionally, for solving to carry out cross-platform fingerprint collecting or fingerprint login in above-mentioned conventional art on browser terminal The technical problem that cannot be realized, in one embodiment, as shown in Figure 1, it is proposed that the fingerprint verifying device based on browser Including the fingerprint acquisition device 30 being connected including target terminal 20, web server 10 and with the target terminal 20, wherein:
The web server 10 is used for the web of the sensing finger-mark check state displayed page for receiving the transmission of target terminal 20 Finger-mark check state displayed page corresponding with the access request is returned to the target end by the access request of reference address End 20;
The target terminal 20 is used for showing the finger-mark check state displayed page that the finger-mark check state to show page Include the script file of webservice controls described in asynchronous access on face, also include sensing in the script file described The web reference address of webservice controls;
The target terminal 20 is additionally operable to the finger-mark check state displayed page on the target terminal 20 and passes through to perform institute State the web reference address that script file asynchronously accesses the webservice controls;
The target terminal 20 is additionally operable to capture and 20 corresponding fingerprint of the target terminal by webservice controls The fingerprint logging data of the collection of harvester 30 is simultaneously illustrated in the finger-mark check state displayed page.
Optionally, in one embodiment, the target terminal 20 is additionally operable to install webservice controls, and described In webservice controls, Access-Control-Allow-Origin is set;Connecing for the webservice controls will be called Mouth function is encapsulated in the script file of webservice controls described in the asynchronous access include on finger-mark check state displayed page In;Fingerprint typing number with the collection of 20 corresponding fingerprint acquisition device of the target terminal 30 is captured by webservice controls According to also including:The interface function of the fingerprint collecting of the webservice controls is called by the Ajax of JavaScript, is judged Whether fingerprint is collected with 20 corresponding fingerprint acquisition device 30 of the target terminal, if so, then by the fingerprint collecting Interface function obtains fingerprint logging data corresponding with the fingerprint for collecting.
Optionally, in one embodiment, fingerprint acquisition device 30 is additionally operable to detect the fingerprint typing operation of user input, Obtain fingerprint character code information corresponding with the fingerprint typing operation;The fingerprint character code information is encoded into into base64 words Symbol is gone here and there and returns to the target terminal 20, and the fingerprint logging data is carried out interim storage by the target terminal 20;
The target terminal 20 is additionally operable to the interface function of the fingerprint collecting by the webservice controls from described In fingerprint acquisition device 30 obtain coding after base64 character strings are as fingerprint logging data and are uploaded to web server 10;
The web server 10 is additionally operable to be encoded into the fingerprint character code information as fingerprint logging data Base64 character strings are preserved into the fingerprint masterplate table of 10 data base of the web server and while are uploaded to fingerprint server.
Optionally, in one embodiment, web server 10 is additionally operable to the fingerprint logging data as first sample Finger print data is stored in default sample fingerprint data base.
Optionally, in one embodiment, web server 10 is additionally operable to the fingerprint in the web server 10 Logging data is carried out by calling the fingerprint comparison interface function of the fingerprint server with the second sample fingerprint data pre-recorded Compare, and fingerprint authentication result is generated according to comparison result;The fingerprint authentication result is returned to into the target terminal 20, institute Target terminal 20 is stated according to the fingerprint authentication result for receiving and is shown in the finger-mark check state and be shown on interface.
Optionally, in one embodiment, target terminal 20 is additionally operable to generate and crawl by the Canvas paintbrushes of HTML5 The corresponding fingerprint image of the base64 character strings for arriving, and be illustrated in the finger-mark check state displayed page.
Implement the embodiment of the present invention, will have the advantages that:
After employing the above-mentioned finger-mark check method and system based on browser, web server receives target terminal 20 The access request of the web reference address of the sensing finger-mark check state displayed page of transmission, will be corresponding with the access request Finger-mark check state displayed page returns to the target terminal 20, and the target terminal 20 shows the finger-mark check state exhibition Show the page;Include the script file of webservice controls described in asynchronous access on the finger-mark check state displayed page, Also include the web reference address for pointing to the webservice controls in the script file;On the target terminal 20 Finger-mark check state displayed page asynchronously accesses the web of the webservice controls and accesses by performing the script file Address;The target terminal 20 is adopted with 20 corresponding fingerprint acquisition device of the target terminal by the crawl of webservice controls The fingerprint logging data of collection is simultaneously illustrated in the finger-mark check state displayed page.That is, employing above-mentioned based on clear Look at after the finger-mark check method and system of device, the interface of webservice controls can be called by the Ajax of JavaScript Function gathers the finger print information of user input, compared to the OCX used by old scheme, is no longer influenced by the restriction of browser, real Show and gathered fingerprint and fingerprint login in different browsers, improve what fingerprint collecting and fingerprint based on browser were logged in The suitability;Meanwhile, compared to the ActiveX used by old scheme, improve the safety of system and data.
Above disclosed is only present pre-ferred embodiments, can not limit certainly the right model of the present invention with this Enclose, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope covered by the present invention.

Claims (12)

1. a kind of finger-mark check method based on browser, it is characterised in that include:
Web server receives the access of the web reference address of the sensing finger-mark check state displayed page that target terminal sends please Ask, finger-mark check state displayed page corresponding with the access request is returned to into the target terminal, the target terminal Show the finger-mark check state displayed page;
Include the script file of webservice controls described in asynchronous access on the finger-mark check state displayed page, it is described Also include the web reference address for pointing to the webservice controls in script file;
On the target terminal, finger-mark check state displayed page asynchronously accesses described by performing the script file The web reference address of webservice controls;
The target terminal captures fingerprint acquisition device collection corresponding with the target terminal by webservice controls Fingerprint logging data is simultaneously illustrated in the finger-mark check state displayed page.
2. the finger-mark check method based on browser according to claim 1, it is characterised in that the target terminal passes through Webservice controls are also wrapped before capturing the fingerprint logging data that fingerprint acquisition device corresponding with the target terminal is gathered Include:
The target terminal installs webservice controls, and in the webservice controls arranges Access- Control-Allow-Origin;
The interface function for calling the webservice controls is encapsulated in finger-mark check state displayed page by the target terminal On in the script file of webservice controls described in the asynchronous access that includes;
The target terminal captures fingerprint acquisition device collection corresponding with the target terminal by webservice controls Fingerprint logging data also includes:
The target terminal calls the interface letter of the fingerprint collecting of the webservice controls by the Ajax of JavaScript Number, judges whether fingerprint acquisition device corresponding with the target terminal collects fingerprint, if so, then passes through the fingerprint collecting Interface function obtain corresponding with the fingerprint for collecting fingerprint logging data.
3. the finger-mark check method based on browser according to claim 2, it is characterised in that described by the fingerprint The interface function of collection obtains fingerprint logging data corresponding with the fingerprint for collecting also to be included:
The fingerprint typing operation of the fingerprint acquisition device detection user input, obtains and the corresponding finger of the fingerprint typing operation Stricture of vagina condition code information;
The fingerprint character code information is encoded into base64 character strings and returns to the target end by the fingerprint acquisition device The fingerprint logging data is carried out interim storage by end, the target terminal;
The interface function of fingerprint collecting of the target terminal by the webservice controls is from the fingerprint acquisition device It is middle obtain coding after base64 character strings are as fingerprint logging data and are uploaded to web server;
The base64 character strings that the fingerprint character code information as fingerprint logging data is encoded into by the web server are protected Deposit into the fingerprint masterplate table of the web server data base and while be uploaded to fingerprint server.
4. the finger-mark check method based on browser according to claim 3, it is characterised in that the web server will After the base64 character strings that the fingerprint character code information as fingerprint logging data is encoded into are uploaded to fingerprint server Also include:
The fingerprint logging data is stored in default sample fingerprint number by the web server According in storehouse.
5. the finger-mark check method based on browser according to claim 4, it is characterised in that the web server will After the base64 character strings that the fingerprint character code information as fingerprint logging data is encoded into are uploaded to fingerprint server Also include:
In the web server by the fingerprint logging data with the second sample fingerprint data pre-recorded by calling the finger The fingerprint comparison interface function of stricture of vagina server is compared, and generates fingerprint authentication result according to comparison result;
The fingerprint authentication result is returned to the target terminal by the web server, and the target terminal is according to receiving Fingerprint authentication result and the finger-mark check state show interface on be shown.
6. according to the arbitrary described finger-mark check method based on browser of claim 1 to 5, it is characterised in that methods described Also include:
The target terminal generates fingerprint corresponding with the base64 character strings for grabbing by the Canvas paintbrushes of HTML5 Image, and be illustrated in the finger-mark check state displayed page.
7. a kind of finger-mark check system based on browser, it is characterised in that including target terminal, web server and with institute The fingerprint acquisition device that target terminal is connected is stated, wherein:
The web server is used for the web reference address of the sensing finger-mark check state displayed page for receiving target terminal transmission Access request, finger-mark check state displayed page corresponding with the access request is returned to into the target terminal;
The target terminal is used for showing the finger-mark check state displayed page, wraps on the finger-mark check state displayed page Script file containing webservice controls described in asynchronous access, also includes sensing described in the script file The web reference address of webservice controls;
It is literary by performing the script that the target terminal is additionally operable to the finger-mark check state displayed page on the target terminal Part asynchronously accesses the web reference address of the webservice controls;
The target terminal is additionally operable to capture fingerprint acquisition device corresponding with the target terminal by webservice controls The fingerprint logging data of collection is simultaneously illustrated in the finger-mark check state displayed page.
8. the finger-mark check system based on browser according to claim 7, it is characterised in that the target terminal is also used In installation webservice controls, and Access-Control-Allow-Origin is set in the webservice controls; The interface function for calling the webservice controls is encapsulated in the asynchronous access include on finger-mark check state displayed page In the script file of the webservice controls;Fingerprint corresponding with the target terminal is captured by webservice controls The fingerprint logging data of harvester collection also includes:The webservice controls are called by the Ajax of JavaScript The interface function of fingerprint collecting, judges whether fingerprint acquisition device corresponding with the target terminal collects fingerprint, if so, then Fingerprint logging data corresponding with the fingerprint for collecting is obtained by the interface function of the fingerprint collecting.
9. the finger-mark check system based on browser according to claim 8, it is characterised in that the fingerprint acquisition device It is additionally operable to detect the fingerprint typing operation of user input, obtains fingerprint character code information corresponding with the fingerprint typing operation; The fingerprint character code information is encoded into into base64 character strings and the target terminal is returned to, the target terminal will be described Fingerprint logging data carries out interim storage;
The target terminal is additionally operable to adopt from the fingerprint by the interface function of the fingerprint collecting of the webservice controls In acquisition means obtain coding after base64 character strings are as fingerprint logging data and are uploaded to web server;
The web server is additionally operable to the base64 words for being encoded into the fingerprint character code information as fingerprint logging data Symbol string is preserved into the fingerprint masterplate table of the web server data base and is uploaded to fingerprint server simultaneously.
10. the finger-mark check system based on browser according to claim 9, it is characterised in that the web server is also For being stored in the fingerprint logging data as first sample finger print data in default sample fingerprint data base.
The 11. finger-mark check systems based on browser according to claim 10, it is characterised in that the web server It is additionally operable in the web server fingerprint logging data is described by calling with the second sample fingerprint data pre-recorded The fingerprint comparison interface function of fingerprint server is compared, and generates fingerprint authentication result according to comparison result;By the finger Stricture of vagina the result returns to the target terminal, and the target terminal is according to the fingerprint authentication result for receiving and in the fingerprint Verification state shows.
12. according to the arbitrary described finger-mark check system based on browser of claim 7 to 11, it is characterised in that the mesh Mark terminal is additionally operable to generate fingerprint image corresponding with the base64 character strings for grabbing by the Canvas paintbrushes of HTML5 Picture, and be illustrated in the finger-mark check state displayed page.
CN201610893314.8A 2016-10-13 2016-10-13 A kind of finger-mark check method and system based on browser Active CN106528640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610893314.8A CN106528640B (en) 2016-10-13 2016-10-13 A kind of finger-mark check method and system based on browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610893314.8A CN106528640B (en) 2016-10-13 2016-10-13 A kind of finger-mark check method and system based on browser

Publications (2)

Publication Number Publication Date
CN106528640A true CN106528640A (en) 2017-03-22
CN106528640B CN106528640B (en) 2019-10-18

Family

ID=58332010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610893314.8A Active CN106528640B (en) 2016-10-13 2016-10-13 A kind of finger-mark check method and system based on browser

Country Status (1)

Country Link
CN (1) CN106528640B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109657431A (en) * 2018-12-07 2019-04-19 杭州启博科技有限公司 The method of user identity for identification
CN109688210A (en) * 2018-12-14 2019-04-26 平安城市建设科技(深圳)有限公司 Track method, apparatus, server and the storage medium of user information
CN109977879A (en) * 2019-03-28 2019-07-05 山东省计算中心(国家超级计算济南中心) A kind of acquisition of fingerprint on site matches control methods and system with long-range

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523288A (en) * 2011-12-16 2012-06-27 北京视博云科技有限公司 System for providing webpage service for terminal equipment and method thereof
CN102868533A (en) * 2012-09-13 2013-01-09 中科华核电技术研究院有限公司 Method and system for verifying resource access authorization
CN103139200A (en) * 2013-01-06 2013-06-05 深圳市元征科技股份有限公司 Single sign-on method of web service
CN103544014A (en) * 2013-10-25 2014-01-29 江苏科大汇峰科技有限公司 B/S based real estate registration management system fingerprint entry and authentication verification method
CN103645951A (en) * 2013-12-19 2014-03-19 北京邮电大学 Cross-platform mobile data management system and method
US20140279851A1 (en) * 2013-03-15 2014-09-18 Microsoft Corporation Fingerprint-Based, Intelligent, Content Pre-Fetching

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523288A (en) * 2011-12-16 2012-06-27 北京视博云科技有限公司 System for providing webpage service for terminal equipment and method thereof
CN102868533A (en) * 2012-09-13 2013-01-09 中科华核电技术研究院有限公司 Method and system for verifying resource access authorization
CN103139200A (en) * 2013-01-06 2013-06-05 深圳市元征科技股份有限公司 Single sign-on method of web service
US20140279851A1 (en) * 2013-03-15 2014-09-18 Microsoft Corporation Fingerprint-Based, Intelligent, Content Pre-Fetching
CN103544014A (en) * 2013-10-25 2014-01-29 江苏科大汇峰科技有限公司 B/S based real estate registration management system fingerprint entry and authentication verification method
CN103645951A (en) * 2013-12-19 2014-03-19 北京邮电大学 Cross-platform mobile data management system and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109657431A (en) * 2018-12-07 2019-04-19 杭州启博科技有限公司 The method of user identity for identification
CN109657431B (en) * 2018-12-07 2020-10-16 杭州启博科技有限公司 Method for identifying user identity
CN109688210A (en) * 2018-12-14 2019-04-26 平安城市建设科技(深圳)有限公司 Track method, apparatus, server and the storage medium of user information
CN109977879A (en) * 2019-03-28 2019-07-05 山东省计算中心(国家超级计算济南中心) A kind of acquisition of fingerprint on site matches control methods and system with long-range

Also Published As

Publication number Publication date
CN106528640B (en) 2019-10-18

Similar Documents

Publication Publication Date Title
US9792365B2 (en) Method and system for tracking and gathering multivariate testing data
CN104580125B (en) A kind of payment verification methods, devices and systems
CN101340434B (en) Malicious content detection and verification method and system for network station
CN106294166A (en) A kind of game data monitoring method and apparatus
CN106713241B (en) A kind of auth method, device and system
CN104967586B (en) A kind of user ID authentication method, apparatus and system
CN108132814A (en) Page loading method, device, computer equipment and the storage medium of application program
CN107622000A (en) A kind of collection of application crash information and report method, device
CN109388532A (en) Test method, device, electronic equipment and computer-readable storage medium
KR101193335B1 (en) Information processing device, terminal device, content of interest determination method, recording medium on which program is recorded, and information provision system
CN108696490A (en) The recognition methods of account permission and device
CN107480148A (en) The method and device and user terminal that control webpage redirects
CN106528640A (en) Browser-based fingerprint check method and system
CN103246699A (en) Method and device for data access control based on browser
CN107291759A (en) The treating method and apparatus of browser page resource
CN103607454B (en) The method that android system browser arranges privately owned proxy server
CN105809163A (en) Method and device for connecting to WIFI
CN106960062A (en) Webpage capture method and system
CN107967422A (en) One kind verification implementation method and electric terminal
CN103838851B (en) The rendering intent and device of three-dimensional scene models file
CN103793495B (en) Application message search method and system and application message acquisition methods and system
CN107817987A (en) A kind of hardware configuration method, system, terminal and server
CN109446801A (en) Detect method, apparatus, server and the storage medium of simulator access
CN104468459A (en) Vulnerability detection method and apparatus
CN103389985A (en) Method and device for providing search result

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200108

Address after: 361000, Xiamen three software park, Fujian Province, 8 North Street, room 2001

Patentee after: Xiamen Central Intelligent Information Technology Co., Ltd.

Address before: Software Park Siming District of Xiamen city in Fujian province 361000 two sunrise Road No. 32 403 unit 02

Patentee before: XIAMEN ZHONGKONG BIOLOGICAL RECOGNITION INFORMATION TECHNOLOGY CO., LTD.

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Room 1301, No.132, Fengqi Road, phase III, software park, Xiamen City, Fujian Province

Patentee after: Xiamen Entropy Technology Co., Ltd

Address before: 361000, Xiamen three software park, Fujian Province, 8 North Street, room 2001

Patentee before: XIAMEN ZKTECO BIOMETRIC IDENTIFICATION TECHNOLOGY Co.,Ltd.