CN106528640B - A kind of finger-mark check method and system based on browser - Google Patents

A kind of finger-mark check method and system based on browser Download PDF

Info

Publication number
CN106528640B
CN106528640B CN201610893314.8A CN201610893314A CN106528640B CN 106528640 B CN106528640 B CN 106528640B CN 201610893314 A CN201610893314 A CN 201610893314A CN 106528640 B CN106528640 B CN 106528640B
Authority
CN
China
Prior art keywords
fingerprint
finger
target terminal
webservice
mark check
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.)
Active
Application number
CN201610893314.8A
Other languages
Chinese (zh)
Other versions
CN106528640A (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

The embodiment of the invention discloses a kind of fingerprint collecting methods based on browser, it include: the access request that web server receives the web access address for the direction finger-mark check state displayed page that target terminal is sent, finger-mark check state displayed page corresponding with access request is returned into target terminal, target terminal shows finger-mark check state displayed page;Include the script file of asynchronous access webservice control on finger-mark check state displayed page, also includes the web access address for being directed toward webservice control in script file;Finger-mark check state displayed page asynchronously accesses the web access address of the webservice control by executing the script file on the target terminal;Target terminal is by the corresponding fingerprint logging data of webservice control crawl fingerprint acquisition device corresponding with target terminal and shows in finger-mark check state displayed page.Using the present invention, it can be achieved that based under different browsers cross-platform fingerprint collecting and fingerprint log in, improve system and data safety.

Description

A kind of finger-mark check method and system based on browser
Technical field
The present invention relates to Internet technical field more particularly to a kind of finger-mark check method and system based on browser.
Background technique
With the rapid development of Internet technology, biological identification technology is more and more applied in various products, for example, Fingerprint convenient to use and with uniqueness, is widely used in various subscriber authentications or security system. In general, acquisition and verifying, the overwhelming majority based on the user fingerprints under fingerprint identification technology are all based on C/S model (Client/Server mode or Client/Server pattern) needs to install special client at the terminal;For clear It lookes at for the client of device terminal (i.e. based on being developed under B/S mode or Browser/Server mode or Browser/Server Mode Product out) because not needing to install any special software, as long as there have the computer that can be surfed the Internet to use to be excellent Gesture, therefore the development mode under the mode receives the favor of more and more clients.
But under B/S mode, browser terminal and corresponding server need to obtain user's input fingerprint and Corresponding readable code, solution in the prior art include Java Applet technology and ActiveX technology, preceding Person is because loading velocity is slow, can only support the incompatible problem of the particular version of certain particular browsers and part, Wu Fashi Arbitrary browser terminal is realized now;The latter then only supports IE browser, and other browsers are not supported then, and there are compatibility The problem of difference.
That is, resulting in because of the limitation of each browser and carrying out cross-platform fingerprint on browser terminal and adopt Collection or fingerprint login cannot achieve.
Summary of the invention
Based on this, stepped on to carry out cross-platform fingerprint collecting or fingerprint on browser terminal in the above-mentioned traditional technology of solution The technical issues of record cannot achieve, spy propose a kind of finger-mark check method based on browser.
A kind of finger-mark check method based on browser, comprising:
Web server receives the visit of the web access address for the direction finger-mark check state displayed page that target terminal is sent It asks request, finger-mark check state displayed page corresponding with the access request is returned into the target terminal, the target Finger-mark check state displayed page described in terminal display;
It include the script file of webservice control described in asynchronous access on the finger-mark check state displayed page, It also include the web access address for being directed toward the webservice control in the script file;
Finger-mark check state displayed page asynchronously accesses institute by executing the script file on the target terminal State the web access address of webservice control;
The target terminal grabs fingerprint acquisition device corresponding with the target terminal by webservice control and adopts The fingerprint logging data of collection is simultaneously shown in the finger-mark check state displayed page.
Optionally, in one embodiment, the target terminal is whole by the crawl of webservice control and the target Before the fingerprint logging data for holding corresponding fingerprint acquisition device acquisition further include:
The target terminal installs webservice control, and Access- is arranged in the webservice control Control-Allow-Origin;
The interface function for calling the webservice control is encapsulated in finger-mark check state and shown by the target terminal In the script file of webservice control described in the asynchronous access for including on the page;
The target terminal grabs fingerprint acquisition device corresponding with the target terminal by webservice control and adopts The fingerprint logging data of collection further include:
The target terminal calls the fingerprint collecting of the webservice control to connect by the Ajax of JavaScript Mouth function, judges whether fingerprint acquisition device corresponding with the target terminal collects fingerprint, if so, passing through the fingerprint The interface function of acquisition obtains fingerprint logging data corresponding with the collected fingerprint.
Optionally, in one embodiment, the interface function by the fingerprint collecting is obtained collects with described The corresponding fingerprint logging data of fingerprint further include:
The fingerprint typing operation of fingerprint acquisition device detection user's input, obtains corresponding with the fingerprint typing operation Fingerprint character code information;
The fingerprint character code information coding at base64 character string and is returned to the mesh by the fingerprint acquisition device Terminal is marked, the target terminal is temporarily stored the fingerprint logging data;
The target terminal is by the interface function of the fingerprint collecting of the webservice control from the fingerprint collecting Base64 character string after obtaining coding in device as fingerprint logging data and is uploaded to web server;
The web server by the fingerprint character code information coding as fingerprint logging data at base64 character String saves into the fingerprint template table of the web server database and is uploaded to fingerprint server simultaneously.
Optionally, in one embodiment, the web server is by the fingerprint character code as fingerprint logging data Information coding at base64 character string be uploaded to after fingerprint server further include:
The fingerprint logging data is stored in preset fingerprint sample by the web server In database.
Optionally, in one embodiment, the web server is by the fingerprint character code as fingerprint logging data Information coding at base64 character string be uploaded to after fingerprint server further include:
The fingerprint logging data is passed through into calling institute with the second sample fingerprint data pre-recorded in the web server 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 and showing in the finger-mark check state is shown on interface.
Optionally, in one embodiment, the method also includes:
The target terminal is generated corresponding with the base64 character string grabbed by the Canvas paintbrush of HTML5 Fingerprint image, and show in the finger-mark check state displayed page.
In addition, being logged in solve to carry out cross-platform fingerprint collecting or fingerprint on browser terminal in above-mentioned traditional technology The technical issues of cannot achieve, 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, in which:
The web server is used to receive the web access of the direction finger-mark check state displayed page of target terminal transmission 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 for showing the finger-mark check state displayed page, the finger-mark check state displayed page On include webservice control described in asynchronous access script file, also include described in direction in the script file The web access address of webservice control;
The target terminal is also used to the finger-mark check state displayed page on the target terminal and passes through the execution foot This document asynchronously accesses the web access address of the webservice control;
The target terminal is also used to grab fingerprint collecting corresponding with the target terminal by webservice control The fingerprint logging data of device acquisition is simultaneously shown in the finger-mark check state displayed page.
Optionally, in one embodiment, the target terminal is also used to install webservice control, and described Access-Control-Allow-Origin is set in webservice control;Connecing for the webservice control will be called Mouth function is encapsulated in the script file of webservice control described in the asynchronous access on finger-mark check state displayed page included In;The fingerprint logging data of fingerprint acquisition device acquisition corresponding with the target terminal is grabbed also by webservice control It include: the interface function that the fingerprint collecting of the webservice control is called by the Ajax of JavaScript, judgement and institute State whether the corresponding fingerprint acquisition device of target terminal collects fingerprint, if so, passing through the interface function of the fingerprint collecting Obtain fingerprint logging data corresponding with the collected fingerprint.
Optionally, in one embodiment, the fingerprint acquisition device is also used to detect the fingerprint typing behaviour of user's input Make, obtains fingerprint character code information corresponding with the fingerprint typing operation;By the fingerprint character code information coding at Base64 character string simultaneously returns to the target terminal, and the target terminal is temporarily stored the fingerprint logging data;
The target terminal is also used to through the interface function of the fingerprint collecting of the webservice control from the finger Base64 character string after obtaining coding in line acquisition device as fingerprint logging data and is uploaded to web server;
The web server be also used to by the fingerprint character code information coding as fingerprint logging data at Base64 character string saves into the fingerprint template table of the web server database and is uploaded to fingerprint server simultaneously.
Optionally, in one embodiment, the web server is also used to using the fingerprint logging data as the first sample This finger print data is stored in preset sample fingerprint database.
Optionally, in one embodiment, the web server is also used to the fingerprint in the web server Logging data is with the second sample fingerprint data pre-recorded by calling the fingerprint comparison interface function of the fingerprint server to carry out It compares, and fingerprint authentication result is generated according to comparison result;The fingerprint authentication result is returned into the target terminal, it is described Target terminal is shown according to the fingerprint authentication result received and on finger-mark check state displaying interface.
Optionally, in one embodiment, the target terminal is also used to generate and grab by the Canvas paintbrush of HTML5 The corresponding fingerprint image of the base64 character string got, and show in the finger-mark check state displayed page.
Implement the embodiment of the present invention, will have the following beneficial effects:
After the above-mentioned finger-mark check method and system based on browser, web server receives target terminal hair The access request of the web access address of the direction finger-mark check state displayed page sent, will finger corresponding with the access request Line verification state displayed page returns to the target terminal, and the target terminal shows that the finger-mark check state shows page Face;It include the script file of webservice control described in asynchronous access on the finger-mark check state displayed page, it is described It also include the web access address for being directed toward the webservice control in script file;The fingerprint school on the target terminal Test the web access address that state displayed page asynchronously accesses the webservice control by executing the script file; The target terminal grabs the fingerprint of fingerprint acquisition device acquisition corresponding with the target terminal by webservice control Logging data is simultaneously shown in the finger-mark check state displayed page.That is, using the above-mentioned finger based on browser After line method of calibration and system, the interface function of webservice control can be called to acquire by the Ajax of JavaScript The finger print information of user's input is no longer influenced by the limitation of browser, realizes not compared to OCX used in old scheme With fingerprint and fingerprint login is acquired in browser, the applicability that fingerprint collecting and fingerprint based on browser log in is improved; Meanwhile compared to ActiveX used in old scheme, the safety of system and data is improved.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these 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 flow diagram 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
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Fingerprint collecting or fingerprint login to carry out cross-platform in the above-mentioned traditional technology of solution on browser terminal can not The technical issues of realization, in the present embodiment, spy, propose 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, the target terminal for being mounted with browser 20 and typing fingerprint fingerprint acquisition device 30.In the present embodiment, it is mounted with that webservice is controlled in web server Part is mounted with that Secuirty ISSOnline Service is serviced, so that web server can call webservice The interface function of control.Further, in target terminal, there are also installed corresponding webservice controls, are mounted with Secuirty ISSOnline Service service, for example, user can download webservice control manually by browser Exe file and installed, after the installation is complete, target terminal directly can call webservice to control in a browser The correlation function of part.
It should be noted that in the present embodiment, establishing communication link between fingerprint acquisition device 30 and target terminal 20 It connects, that is to say, that can carry out data transmission therebetween, for example, fingerprint acquisition device 30 passes collected finger print data Give target terminal.In the present embodiment, fingerprint acquisition device 30, which can be, is built in target terminal, for example, being mounted on pen Remember the fingerprint sensor on this computer or be mounted on smart phone, the fingerprint sensor on tablet computer, can also be and pass through The fingerprint acquisition instrument of communication connection is established between wired mode or wireless mode (WIFI, bluetooth etc.) and target terminal.
Specifically, as shown in Figure 1, the above-mentioned finger-mark check method based on browser includes the following steps:
Step S102:web server receives the web access for the direction finger-mark check state displayed page that target terminal is sent 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 be manually entered in one column of address by installation browser on a target terminal the address for needing to access or Person clicks the link for being directed toward access address, can send an access request to web server corresponding with access address.At this In embodiment, what user inputted on a target terminal is directed to the access of the web access address of finger-mark check state displayed page Request, target terminal are uploaded to corresponding web server after detecting the access request, by the access request.It needs Bright, in the present embodiment, web server refers exclusively to the corresponding web server of finger-mark check state displayed page.
In specific implementation, web server is in the direction finger-mark check state displayed page for receiving target terminal transmission After the access request of web access address, according to access request, obtains 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 It shows and shows that the finger-mark check state shows interface on interface.
It should be noted that in the present embodiment, the finger-mark check state that web server returns to target terminal shows page Face is script file corresponding with the finger-mark check state displayed page, and target terminal leads to after receiving the script file It crosses browser and executes 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 can be by the page typing finger print informations, for example, acquisition fingerprint corresponding with User ID Information;It can also be fingerprint login page corresponding with finger-mark check.
Optionally, in the present embodiment, optional step further include: the target terminal is drawn by the Canvas of HTML5 Pen generates corresponding fingerprint image, and shows in the finger-mark check state displayed page.
Specifically, for example can pass through HTML5's when finger-mark check state displayed page is the sample fingerprint typing page Canvas paintbrush generates fingerprint image corresponding with single fingerprint or palm;Show that interface is stepped on for fingerprint in finger-mark check state When recording the page, corresponding fingerprint image can be generated by the Canvas paintbrush of HTML5, that is to say, that user can be by right The visual displayed page of fingerprint image completes the collection 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 Scheme, is that display area corresponding with the fingerprint image of typing illustrates in Fig. 4 shown in the region shown in number P1 In a specific embodiment in fingerprint login page, region shown in number P2 shows the fingerprint image pair with typing The display area answered.Further, region shown in the number Q in Fig. 3 is the feelings in the finger print data of the multiple fingers of typing Under condition, the progress bar of the fingerprint collecting corresponding with multiple fingers generated using Canvas paintbrush is acquired successful finger and then will The display area of corresponding finger becomes green.
Step S104: finger-mark check state displayed page is asynchronous by executing the script file on the target terminal Ground accesses the web access address of the webservice control.
In specific embodiment, target terminal passes through perform script document presentation finger-mark check state displayed page, that is, It says, the finger-mark check state displayed page that web server returns to target terminal, which is contained, shows page with the finger-mark check state The corresponding script file in face, target terminal refer to after receiving script file corresponding with finger-mark check state displayed page Line verifies state displayed page by executing 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 this document, the control of webservice described in the asynchronous access for enabling target terminal successful access webservice control is further comprised The script file of part, also, it is further, it also include the web access for being directed toward the webservice control in script file Address, therefore, the web access address that target terminal passes through the asynchronous access webservice control of perform script file.
Step S106: the target terminal grabs fingerprint corresponding with the target terminal by webservice control and adopts The fingerprint logging data of acquisition means acquisition is simultaneously shown in the finger-mark check state displayed page.
In the present embodiment, target terminal is illustrating finger-mark check state displaying page by executing corresponding script file After face, user needs to input corresponding finger print information by above-mentioned displayed page.In the present embodiment, user can by Above-mentioned finger-mark check status page clicks 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 executes phase after receiving the fingerprint fetching instruction that user is inputted by target terminal The operation for the fingerprint crawl answered.In the present embodiment, the operation of target terminal crawl fingerprint, can be fingerprint input by user Fetching instruction triggering, it is also possible to target terminal automatic trigger after successful presentation finger-mark check state displayed page.
Specifically, in the present embodiment, target terminal passes through the webservice control installed at the terminal, crawl and mesh Mark the fingerprint logging data of the corresponding fingerprint acquisition device acquisition of terminal.
It should be noted that because web server or target terminal call directly the interface letter of webservice control Number belongs to cross-domain access, and this access module is forbidden by origin policy, in order to make to access webservice control The access of interface function is normally carried out, and in the present embodiment, the CORS (cross-domain resource is shared) of HTML5 can be used, Access-Control-Allow-Origin is set in webservice control, after being arranged successfully, so that it may allow JavaScript carries out cross-domain access by Ajax, i.e. permission JavaScript calls connecing for webservice control by Ajax Mouth function.
Further, in order to open up target terminal executing corresponding with finger-mark check state displayed page script file On the finger-mark check state displayed page shown, target terminal can also get corresponding fingerprint logging data, and this requires targets In terminal execution script file, corresponding setting parameter is also contained.Specifically, the interface that webservice control will be called Function is encapsulated in the script file for asynchronously accessing web server for including on finger-mark check state displayed page, that is, It says, target terminal is when executing corresponding script file, the also interface function of accessible above-mentioned webservice control.It needs Illustrate, in the present embodiment, on a target terminal, in order to make target terminal show finger-mark check state displayed page During, relevant operation corresponding with webservice control is called in energy successful execution script file, on a target terminal In the browser of installation, other than webservice control to be installed, it is also necessary in the webservice control of installation into The corresponding Access-Control-Allow-Origin setting of row.
That is, being respectively mounted webservice control, and corresponding in web server and target terminal Corresponding Access-Control-Allow-Origin setting is carried out in webservice control, to allow to access The web access address of webservice control.
After the setting for being allowed cross-domain access accordingly, so that it may be grabbed by webservice control and target The fingerprint logging data of the corresponding fingerprint acquisition device acquisition of terminal.It should be noted that in the present embodiment, fingerprint typing number According to can be what user was inputted by the fingerprint acquisition device being connected with target terminal, specifically, fingerprint acquisition device can be Installation fingerprint sensor on a target terminal, is also possible to 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's input fingerprint Afterwards, operating parameter corresponding with fingerprint typing operation, the i.e. corresponding finger print data of fingerprint of user's input are obtained.
It should be noted that in the present embodiment, above-mentioned finger print data can be fingerprint image, it can also be with 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 coding is at base64 character string, the fingerprint logging data that is grabbed using base64 character string as web server.
Specifically, the fingerprint typing operation of fingerprint acquisition device detection user's input, obtains and the fingerprint typing Operate corresponding fingerprint character code information;The fingerprint acquisition device is by the fingerprint character code information coding at base64 character String returns to the target terminal, and the target terminal is temporarily stored the fingerprint logging data;Institute's target terminal is logical The interface function of the fingerprint collecting of the webservice control is crossed after obtaining coding in the fingerprint acquisition device Base64 character string is as fingerprint logging data and uploads to web server, and web server is by the finger as fingerprint logging data Line condition code information coding at base64 character string save into the fingerprint template table of the web server database and simultaneously It is uploaded to fingerprint server.
In an alternative embodiment, target terminal grabs finger corresponding with target terminal by webservice control During the fingerprint logging data of line acquisition device acquisition, the Ajax calling by JavaScript can also be Corresponding interface function corresponding with fingerprint collecting in webservice control, also, by the return value of interface function, it determines Success whether is obtained with fingerprint logging data, i.e., whether successful acquisition is to finger for the fingerprint acquisition device that is connected with target terminal of judgement Line, if acquiring successfully, the return value of above-mentioned interface function corresponding with fingerprint collecting is fingerprint logging data, that is, is passed through The interface function of the fingerprint collecting of webservice control obtains the corresponding fingerprint logging data of collected fingerprint.
Further, in the present embodiment, target terminal is after grabbing fingerprint logging data, in the clear of target terminal It lookes on device interface in the finger-mark check state displayed page shown and shows the fingerprint logging data grabbed.
Optionally, in the present embodiment, the finger-mark check state shown on the browser interface of above-mentioned target terminal is shown The process that the fingerprint logging data grabbed is shown in the page can be the Canvas paintbrush by HTML5, generate and grab The corresponding fingerprint image of fingerprint logging data, in the present embodiment, fingerprint logging data be base64 character string process In, fingerprint image corresponding with the base64 character string can be generated by the Canvas paintbrush of HTML5, and Canvas is drawn The fingerprint image that pen generates is shown in finger-mark check state displayed page.
In a specific embodiment, area shown in the region as shown in the number P1 of Fig. 3 and the number P2 in Fig. 4 Shown in domain, in P1 and P2, illustrate generated according to Canvas paintbrush with fingerprint logging data (the base64 word that grabs Symbol string) corresponding fingerprint image, that is to say, that according to the condition code information coding of the collected fingerprint image of fingerprint acquisition device At base64 character string generate fingerprint image corresponding with base64 character string, it is straight that family can be used by Canvas paintbrush The case where checking fingerprint typing of sight.
Optionally, after grabbing fingerprint logging data, the fingerprint logging data grabbed is handled, also, In the present embodiment, different processing is 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 processing carried out.For example, being fingerprint in finger-mark check state displayed page When the sample typing page, the fingerprint logging data grabbed is stored in preset sample fingerprint as first sample finger print data In database, also, what is saved together with first sample finger print data further includes User ID, that is to say, that User 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 the same user can more than one It is a, for example, the corresponding first sample finger print data of 10 fingers of both hands can be stored in preset fingerprint sample by user In database, and finger is numbered and is saved in preset sample fingerprint database together with corresponding first sample finger print data In.
Further, in the present embodiment, before saving first sample finger print data, it is also necessary to for same finger Fingerprint carry out multi collect, for example, it is desired to successively carry out 3 fingerprint collectings process, fingerprint collecting three times complete and then According to collected fingerprint character code information three times, webservice interface is called by the Ajax of JavaScript, it will three times Collected fingerprint character code information synthesizes a new fingerprint character code information, that is to say, that the new fingerprint characteristic of synthesis Code information will be saved in preset sample fingerprint database as final first sample finger print data;Further, in web In the case that the fingerprint logging data of server crawl is base64 character string, with the new fingerprint character code information pair after synthesis The base64 character string answered will be saved in preset sample fingerprint database 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 that user is referring in advance In grain pattern this typing page typing and save it is corresponding with User ID and be saved in preset sample fingerprint database Fingerprint logging data or first sample finger print data.During carrying out fingerprint login, according to User ID, in preset fingerprint The second sample fingerprint data corresponding with the User ID are searched in sample database, and by the second sample fingerprint data and are grabbed To fingerprint logging data be compared.Further, comparison result is fingerprint authentication result, that is to say, that if fingerprint ratio To success, then fingerprint authentication success, i.e. the authentication success of user are determined.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 receiving fingerprint authentication result The page corresponding with fingerprint authentication result is shown on face.For example, web server will number corresponding with User ID if being proved to be successful According to target terminal is returned to, target terminal receives and shows related data corresponding with User ID accordingly.
In addition, being logged in solve to carry out cross-platform fingerprint collecting or fingerprint on browser terminal in above-mentioned traditional technology The technical issues of cannot achieve, in one embodiment, as shown in Figure 1, the fingerprint verifying device based on browser proposed Including including target terminal 20, web server 10 and the fingerprint acquisition device 30 being connected with the target terminal 20, in which:
The web server 10 is used to receive the web of the direction finger-mark check state displayed page of 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 access address End 20;
For the target terminal 20 for showing the finger-mark check state displayed page, the finger-mark check state shows page Include the script file of webservice control described in asynchronous access on face, also includes described in direction in the script file The web access address of webservice control;
The target terminal 20 is also used to the finger-mark check state displayed page on the target terminal 20 and passes through execution institute State the web access address that script file asynchronously accesses the webservice control;
The target terminal 20 is also used to grab fingerprint corresponding with the target terminal 20 by webservice control The fingerprint logging data and displaying that acquisition device 30 acquires are in the finger-mark check state displayed page.
Optionally, in one embodiment, the target terminal 20 is also used to install webservice control, and described Access-Control-Allow-Origin is set in webservice control;Connecing for the webservice control will be called Mouth function is encapsulated in the script file of webservice control described in the asynchronous access on finger-mark check state displayed page included In;The fingerprint typing number that fingerprint acquisition device 30 corresponding with the target terminal 20 acquires is grabbed by webservice control According to further include: the interface function of the fingerprint collecting of the webservice control is called by the Ajax of JavaScript, is judged Whether fingerprint acquisition device 30 corresponding with the target terminal 20 collects fingerprint, if so, passing through the fingerprint collecting Interface function obtains fingerprint logging data corresponding with the collected fingerprint.
Optionally, in one embodiment, fingerprint acquisition device 30 is also used to detect the fingerprint typing operation of user's input, Obtain fingerprint character code information corresponding with the fingerprint typing operation;By the fingerprint character code information coding at base64 word Symbol goes here and there and returns to the target terminal 20, and the target terminal 20 is temporarily stored the fingerprint logging data;
The target terminal 20 is also used to through the interface function of the fingerprint collecting of the webservice control from described Base64 character string after obtaining coding in fingerprint acquisition device 30 as fingerprint logging data and is uploaded to web server 10;
The web server 10 be also used to by the fingerprint character code information coding as fingerprint logging data at Base64 character string saves into the fingerprint template table of 10 database of web server and is uploaded to fingerprint server simultaneously.
Optionally, in one embodiment, web server 10 is also used to using the fingerprint logging data as first sample Finger print data is stored in preset sample fingerprint database.
Optionally, in one embodiment, web server 10 is also used to the fingerprint in the web server 10 Logging data is with the second sample fingerprint data pre-recorded by calling the fingerprint comparison interface function of the fingerprint server to carry out It compares, and fingerprint authentication result is generated according to comparison result;The fingerprint authentication result is returned into the target terminal 20, institute Target terminal 20 is stated to be shown according to the fingerprint authentication result received and on finger-mark check state displaying interface.
Optionally, in one embodiment, target terminal 20 is also used to generate and grab by the Canvas paintbrush of HTML5 The corresponding fingerprint image of the base64 character string arrived, and show in the finger-mark check state displayed page.
Implement the embodiment of the present invention, will have the following beneficial effects:
After the above-mentioned finger-mark check method and system based on browser, web server receives target terminal 20 The access request of the web access address of the direction 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;It include the script file of webservice control described in asynchronous access on the finger-mark check state displayed page, It also include the web access address for being directed toward the webservice control in the script file;On the target terminal 20 Finger-mark check state displayed page asynchronously accesses the web access of the webservice control by executing the script file Address;The target terminal 20 grabs fingerprint acquisition device corresponding with the target terminal 20 by webservice control and adopts The fingerprint logging data of collection is simultaneously shown in the finger-mark check state displayed page.That is, using above-mentioned based on clear It lookes at after the finger-mark check method and system of device, the interface of webservice control can be called by the Ajax of JavaScript The finger print information of function acquisition user's input is no longer influenced by the limitation of browser compared to OCX used in old scheme, real Show and acquired fingerprint and fingerprint login in different browsers, has improved what fingerprint collecting and fingerprint based on browser logged in Applicability;Meanwhile compared to ActiveX used in old scheme, the safety of system and data is improved.
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (12)

1. a kind of finger-mark check method based on browser characterized by comprising
The access that web server receives the web access address for the direction finger-mark check state displayed page that target terminal is sent is asked It asks, finger-mark check state displayed page corresponding with the access request is returned into the target terminal, the target terminal Show the finger-mark check state displayed page;
It include the script file of asynchronous access webservice control, the script on the finger-mark check state displayed page It also include the web access address for being directed toward the webservice control in file;
Finger-mark check state displayed page is by executing described in the script file asynchronously accesses on the target terminal The web access address of webservice control;
The target terminal grabs fingerprint acquisition device acquisition corresponding with the target terminal by webservice control Fingerprint logging data is simultaneously shown in the finger-mark check state displayed page.
2. the finger-mark check method according to claim 1 based on browser, which is characterized in that the target terminal passes through The fingerprint logging data that webservice control grabs fingerprint acquisition device acquisition corresponding with the target terminal is also wrapped before It includes:
The target terminal installs webservice control, and Access- is arranged in the webservice control Control-Allow-Origin;
The interface function for calling the webservice control is encapsulated in finger-mark check state displayed page by the target terminal On include asynchronous access described in webservice control script file in;
The target terminal grabs fingerprint acquisition device acquisition corresponding with the target terminal by webservice control Fingerprint logging data further include:
The target terminal calls the interface letter of the fingerprint collecting of the webservice control by the Ajax of JavaScript Number, judges whether fingerprint acquisition device corresponding with the target terminal collects fingerprint, if so, passing through the fingerprint collecting Interface function obtain fingerprint logging data corresponding with the collected fingerprint.
3. the finger-mark check method according to claim 2 based on browser, which is characterized in that described to pass through the fingerprint The interface function of acquisition obtains fingerprint logging data corresponding with the collected fingerprint further include:
The fingerprint typing operation of fingerprint acquisition device detection user's input, obtains finger corresponding with the fingerprint typing operation Line condition code information;
The fingerprint character code information coding at base64 character string and is returned to the target end by the fingerprint acquisition device End, the target terminal are temporarily stored the fingerprint logging data;
The target terminal is by the interface function of the fingerprint collecting of the webservice control from the fingerprint acquisition device The middle base64 character string obtained after encoding as fingerprint logging data and is uploaded to web server;
The web server by the fingerprint character code information coding as fingerprint logging data at base64 character string protect It deposits into the fingerprint template table of the web server database and is uploaded to fingerprint server simultaneously.
4. the finger-mark check method according to claim 3 based on browser, which is characterized in that the web server will The fingerprint character code information coding as fingerprint logging data at base64 character string be uploaded to after fingerprint server Further include:
The fingerprint logging data is stored in preset sample fingerprint number by the web server According in library.
5. the finger-mark check method according to claim 4 based on browser, which is characterized in that the web server will The fingerprint character code information coding as fingerprint logging data at base64 character string be uploaded to after fingerprint server Further include:
The fingerprint logging data is passed through into the calling finger with the second sample fingerprint data pre-recorded in the web server The fingerprint comparison interface function of line 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 be shown on the finger-mark check state displayed page.
6. according to any finger-mark check method based on browser of claim 3 to 5, which is characterized in that the method Further include:
The target terminal generates fingerprint corresponding with the base64 character string grabbed by the Canvas paintbrush of HTML5 Image, and show in the finger-mark check state displayed page.
7. a kind of finger-mark check system based on browser, which is characterized in that including target terminal, web server and with institute State the connected fingerprint acquisition device of target terminal, in which:
The web server is used to receive the web access address of the direction finger-mark check state displayed page of target terminal transmission Access request, finger-mark check state displayed page corresponding with the access request is returned into the target terminal;
The target terminal wraps on the finger-mark check state displayed page for showing the finger-mark check state displayed page Script file containing asynchronous access webservice control also includes to be directed toward the webservice in the script file The web access address of control;
It is literary by executing the script that the target terminal is also used to the finger-mark check state displayed page on the target terminal Part asynchronously accesses the web access address of the webservice control;
The target terminal is also used to grab fingerprint acquisition device corresponding with the target terminal by webservice control The fingerprint logging data of acquisition is simultaneously shown in the finger-mark check state displayed page.
8. the finger-mark check system according to claim 7 based on browser, which is characterized in that the target terminal is also used In installation webservice control, and Access-Control-Allow-Origin is set in the webservice control; The interface function for calling the webservice control is encapsulated in the asynchronous access on finger-mark check state displayed page included In the script file of the webservice control;Fingerprint corresponding with the target terminal is grabbed by webservice control The fingerprint logging data of acquisition device acquisition further include: the webservice control is 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, Fingerprint logging data corresponding with the collected fingerprint is obtained by the interface function of the fingerprint collecting.
9. the finger-mark check system according to claim 8 based on browser, which is characterized in that the fingerprint acquisition device It is also used to detect the fingerprint typing operation of user's input, obtains fingerprint character code information corresponding with the fingerprint typing operation; The fingerprint character code information coding at base64 character string and is returned into the target terminal, the target terminal will be described Fingerprint logging data is temporarily stored;
The target terminal is also used to adopt by the interface function of the fingerprint collecting of the webservice control from the fingerprint Base64 character string after obtaining coding in acquisition means as fingerprint logging data and is uploaded to web server;
The web server be also used to by the fingerprint character code information coding as fingerprint logging data at base64 word Symbol string saves into the fingerprint template table of the web server database and is uploaded to fingerprint server simultaneously.
10. the finger-mark check system according to claim 9 based on browser, which is characterized in that the web server is also For being stored in the fingerprint logging data as first sample finger print data in preset sample fingerprint database.
11. the finger-mark check system according to claim 10 based on browser, which is characterized in that the web server It is also used in the web server with the second sample fingerprint data pre-recorded pass through the fingerprint logging data described in calling The fingerprint comparison interface function of fingerprint server is compared, and generates fingerprint authentication result according to comparison result;By the finger Line verification result returns to the target terminal, and the target terminal is according to the fingerprint authentication result received and in the fingerprint It is shown on verification state displayed page.
12. according to any finger-mark check system based on browser of claim 9 to 11, which is characterized in that the mesh Mark terminal is also used to generate fingerprint image corresponding with the base64 character string grabbed by the Canvas paintbrush of HTML5 Picture, and show 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 CN106528640A (en) 2017-03-22
CN106528640B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Citations (5)

* 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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9009103B2 (en) * 2013-03-15 2015-04-14 Microsoft Technology Licensing, Llc Fingerprint-based, intelligent, content pre-fetching

Patent Citations (5)

* 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

Also Published As

Publication number Publication date
CN106528640A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
US8312538B2 (en) Site check method
US9792365B2 (en) Method and system for tracking and gathering multivariate testing data
CN108052334A (en) Method for page jump, device, computer equipment and storage medium
CN108683666A (en) A kind of web page identification method and device
CN106713241B (en) A kind of auth method, device and system
CN104967586B (en) A kind of user ID authentication method, apparatus and system
CN109039987A (en) A kind of user account login method, device, electronic equipment and storage medium
CN108696490A (en) The recognition methods of account permission and device
CN106528640B (en) A kind of finger-mark check method and system based on browser
JP2011141785A (en) Member registration system using portable terminal and authentication system
CN104427627A (en) Test data obtaining method, client and server
CN112956157B (en) System and method for tracking client device events
CN105607799B (en) Data processing method and device
CN105159475B (en) A kind of characters input method and device
US9852119B2 (en) Device for securing contents of a web page
CN109446801A (en) Detect method, apparatus, server and the storage medium of simulator access
US8539335B2 (en) Entering data into a webpage
CN106953845A (en) A kind of guard method and device that sensitive information is inputted to webpage
CN107766068B (en) Application system patch installation method and device, computer equipment and storage medium
CN106534210A (en) Logging-in method and device
CN105282150B (en) A kind of login assistant system of web oriented system
CN111181839A (en) Data processing method, device and equipment in application sharing
US11503058B2 (en) Security server for dynamic verification of web content, end users remote device, system comprising said end users remote device and server, and method implemented by said system
CN105630894B (en) A kind of processing method and system of network linking
JP3969153B2 (en) Terminal authentication system, terminal authentication device, and terminal authentication program

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.