CN104021324A - Method and device for writing safety verification - Google Patents
Method and device for writing safety verification Download PDFInfo
- Publication number
- CN104021324A CN104021324A CN201410234419.3A CN201410234419A CN104021324A CN 104021324 A CN104021324 A CN 104021324A CN 201410234419 A CN201410234419 A CN 201410234419A CN 104021324 A CN104021324 A CN 104021324A
- Authority
- CN
- China
- Prior art keywords
- writing
- image
- difference
- standard
- safety 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
- G06F16/5846—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using extracted text
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Library & Information Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Alarm Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a method for writing safety verification. The method includes the steps that when a safety verification command of a user is received, writing data input by the user are obtained; similarity comparison is conducted on the writing data and pre-stored standard writing data according to a preset writing algorithm, so that similarity between the writing data and the pre-stored standard writing data is obtained; when the similarity is larger than a preset threshold value, it is judged that the user passes safety verification. The invention further discloses a device for writing safety verification. Simplicity of safety verification is guaranteed, the probability of hacker attacks is effectively reduced, and information safety is improved.
Description
Technical field
The present invention relates to mobile terminal safety technical field, relate in particular to method and the device of writing safety check.
Background technology
Mobile terminal software, along with the high speed development of mobile device, has also obtained development at full speed, and mobile terminal software is absorbed in the processing of mobile service, and the safety of mobile service needs certain security mechanism to ensure.The mobile application (as financial industry etc.) that difference has strong security context in other, mobile terminal software only exists and logs in machine-processed safety check, lacks reliable security protection means.If the mechanism of logging in is cracked, the safety of the key business (as the examination & verification of important document) of mobile application cannot ensure.
At present, in existing mobile software, the mode of carrying out the safety check of mobile service is: 1, password authentification: which technology maturation, operates simple and easy; 2, dynamic password verification: this scheme is more advanced, safe.
But the defect of above-mentioned password authentification is: safety coefficient is low, is easily broken through by hacker, cause the important information of mobile service system to leak.
The defect of above-mentioned dynamic password verification is: technical scheme complexity, need to drop into the corresponding software and hardware of dynamic password, and early investment is larger.And dynamic password card need be carried, use inconvenient.
Foregoing only, for auxiliary understanding technical scheme of the present invention, does not represent and admits that foregoing is prior art.
Summary of the invention
Fundamental purpose of the present invention, for method and the device of writing safety check are provided, in ensureing the simplification of safety check operation, effectively reduces the probability of assault, the security that has improved information.
For achieving the above object, the invention provides a kind of method of writing safety check, the method comprising the steps of:
In the time receiving user's safety check instruction, obtain the writing data of described user's typing;
Described writing data and the standard writing data that prestore are carried out to similarity according to default writing algorithm and are compared, obtain described writing data and described in the prestore similarity of standard writing data;
In the time that described similarity is greater than predetermined threshold value, judge that described user passes through safety check.
Preferably, described in obtain described writing data with described in prestore after the step of similarity of standard writing data, the method also comprises:
In the time that described similarity is less than or equal to predetermined threshold value, from writing image corresponding to described writing extracting data;
Determine in described writing image with described in the prestore difference region of standard writing image, obtain the image-region corresponding with definite difference region in described standard writing image;
Obtain definite difference region and the difference value of described image-region, in the time that described difference value meets default difference condition, judge that described user passes through safety check;
In the time that described difference value does not meet default difference condition, judge that described user does not pass through safety check.
Preferably, described determine in described writing image with described in the prestore difference region of standard writing image, the step of obtaining image-region corresponding with definite difference region in described standard writing image replaces with:
Determine in described writing image with described in the difference region of standard writing image that prestores, and image ratio pair is carried out to according to described default writing algorithm in definite difference region and the standard difference region that prestores;
Described definite difference region with described in while prestoring standard difference Region Matching, obtain image-region corresponding with described definite difference region in described standard writing image.
Preferably, described in the time that described difference value meets default difference condition, judge that described user is by after the step of safety check, the method also comprises step:
According to the mapping relations of difference value and similarity regulated value, determine the similarity regulated value that described difference value is corresponding, and upgrade described predetermined threshold value according to described similarity regulated value.
Preferably, the method also comprises:
Gather multiple identical writing data, from the writing data that gather, random definite writing data are as the standard writing data that prestore;
Determine the writing image that each writing data are corresponding, and obtain the difference region between writing image between two, from the difference region obtaining, a random definite difference region is as the standard difference region that prestores.
The present invention further provides a kind of device of writing safety check, this device comprises:
Acquisition module, in the time receiving user's safety check instruction, obtains the writing data of described user's typing;
Processing module, for described writing data and the standard writing data that prestore are carried out to similarity according to default writing algorithm and compared, obtain described writing data and described in the prestore similarity of standard writing data;
In the time that described similarity is greater than predetermined threshold value, judge that described user passes through safety check.
Preferably, described processing module, also in the time that described similarity is less than or equal to predetermined threshold value, from writing image corresponding to described writing extracting data;
Determine in described writing image with described in the prestore difference region of standard writing image;
Described acquisition module, also for obtaining the described standard writing image image-region corresponding with definite difference region;
Obtain definite difference region and the difference value of described image-region;
Described processing module, also, in the time that described difference value meets default difference condition, judges that described user passes through safety check;
In the time that described difference value does not meet default difference condition, judge that described user does not pass through safety check.
Preferably, described processing module, also for determine described writing image with described in the prestore difference region of standard writing image, and image ratio pair is carried out to according to described default writing algorithm in definite difference region and the standard difference region that prestores;
Described acquisition module, also for described definite difference region with described in while prestoring standard difference Region Matching, obtain image-region corresponding with described definite difference region in described standard writing image.
Preferably, described processing module, also, for according to the mapping relations of difference value and similarity regulated value, determines the similarity regulated value that described difference value is corresponding, and upgrades described predetermined threshold value according to described similarity regulated value.
Preferably, described processing module, also for gathering multiple identical writing data, from the writing data that gather, random definite writing data are as the standard writing data that prestore;
Determine the writing image that each writing data are corresponding, and obtain between two the difference region between definite writing image, from the difference region obtaining, a random definite difference region is as the standard difference region that prestores.
Prior art relatively, the present invention compares by carrying out similarity according to the writing data of user's typing with the standard writing data that prestore, and described writing data with described in prestore the similarity of standard writing data while being greater than predetermined threshold value, judge that described user passes through safety check, in ensureing the simplification of safety check operation, effectively reduce the probability of assault, the security that has improved information.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of method first embodiment of writing safety check of the present invention;
Fig. 2 is the schematic flow sheet of method second embodiment of writing safety check of the present invention;
Fig. 3 is the schematic flow sheet of method the 3rd embodiment of writing safety check of the present invention;
Fig. 4 is the schematic flow sheet of method the 4th embodiment of writing safety check of the present invention;
Fig. 5 is the high-level schematic functional block diagram of the device preferred embodiment of writing safety check of the present invention.
Realization, functional characteristics and the advantage of the object of the invention, in connection with embodiment, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, be the schematic flow sheet of method first embodiment of writing safety check of the present invention.
It is emphasized that: process flow diagram shown in Fig. 1 is only a preferred embodiment, those skilled in the art is when knowing, any embodiment building around inventive concept should not depart from the scope containing in following technical scheme:
In the time receiving user's safety check instruction, obtain the writing data of described user's typing; Described writing data and the standard writing data that prestore are carried out to similarity according to default writing algorithm and are compared, obtain described writing data and described in the prestore similarity of standard writing data; In the time that described similarity is greater than predetermined threshold value, judge that described user passes through safety check.
Below the concrete steps that the present embodiment is progressively realized safety check:
Step S10, in the time receiving user's safety check instruction, obtains the writing data of described user's typing;
In order to ensure the security of mobile service and user profile etc., user during by terminal access mobile service or user profile etc., for example, when user accesses certain mobile terminal, or certain in ERP system is cleared a paper while conducting interviews, need to carry out the operation of safety check.For example, when user's request access mobile terminal, or certain in ERP system is cleared a paper while conducting interviews, trigger safety check instruction, and typing writing data.The main body of carrying out in the present embodiment the method for writing safety check of the present invention is preferably mobile terminal, it in other embodiments of the invention, can be also certain application program in mobile terminal, the server of the webpage loading in mobile terminal, the form loading in mobile terminal etc.In the time receiving user's safety check instruction, the writing data of user's typing described in acquisition for mobile terminal.In other embodiments of the invention, in order to save the expense of mobile terminal, improve the performance of mobile terminal, in the time receiving user's safety check instruction, the MAC Address of user's network of living in described in described acquisition for mobile terminal, and judge that whether described MAC Address is consistent with the MAC Address that prestores, in the time that described MAC Address is consistent with the MAC Address that prestores, then receive the writing data of described user's typing; In the time that described MAC Address and the MAC Address that prestores are inconsistent, termination of security checking process, and point out user to fail and carry out safety check, and point out user to access the network of correct MAC Address.
Step S20, carries out described writing data and the standard writing data that prestore similarity according to default writing algorithm and compares, obtain described writing data and described in the prestore similarity of standard writing data;
Described mobile terminal prestores each user's standard writing data in advance, in the time getting the writing data of described user's typing, from standard writing database, obtain the prestore standard writing data corresponding with described user, described writing data are carried out to similarity with the standard writing data that prestore according to default writing algorithm and compare, described default writing algorithm is other applicable writing algorithms such as disclosed SURF algorithm.Obtain the similarity of described writing data and described standard writing data.For example, the similarity obtaining is 80%.In order to make safety check more rationally with accurate, in other embodiments of the invention, described mobile terminal gathers multiple identical writing data in advance, multiple identical data are the writing data that same user is identical, for example, party A-subscriber's signature " Zhang San ", party B-subscriber's signature " Li Si " etc., gather signature " Zhang San " or the signature " Li Si " that gathers multiple party B-subscribers etc. that multiple party A-subscribers input.From the writing data that gather, random definite writing data are as standard writing data.
Step S30, in the time that described similarity is greater than predetermined threshold value, judges that described user passes through safety check.
Described mobile terminal is according to threshold value of instruction preset in advance of user, and described predetermined threshold value is the value corresponding with similarity, for example, can be 90%, 50% etc.If the similarity obtaining is 80%, predetermined threshold value is 50%, determines that described similarity is greater than predetermined threshold value, judges that described user passes through safety check.In the time that described similarity is less than or equal to described predetermined threshold value, judge that described user is not by safety check, prompting user security verification failure, typing writing data again.The mode of described prompting can be word, picture, sound etc.In other embodiments of the invention, in order to improve the accuracy of safety check, in the time that described similarity is less than or equal to predetermined threshold value, also can further carry out verification according to other parameters, or described similarity is adjusted, or described writing data are revised etc. to mode and proceed verification.
The embodiment of the present invention is compared by carrying out similarity according to the writing data of user's typing with the standard writing data that prestore, and described writing data with described in prestore the similarity of standard writing data while being greater than predetermined threshold value, judge that described user passes through safety check, in ensureing the simplification of safety check operation, effectively reduce the probability of assault, improve the security of information, also improved user's privacy.
As shown in Figure 2, be the schematic flow sheet of method second embodiment of writing safety check of the present invention.Based on above-mentioned the first embodiment, after described step S20, the method also comprises step:
Step S40, in the time that described similarity is less than or equal to predetermined threshold value, from writing image corresponding to described writing extracting data;
Step S50, determine in described writing image with described in the prestore difference region of standard writing image, obtain the image-region corresponding with definite difference region in described standard writing image;
Step S60, obtains definite difference region and the difference value of described image-region;
Step S70, in the time that described difference value meets default difference condition, judges that described user passes through safety check;
Step S80, in the time that described difference value does not meet default difference condition, judges that described user does not pass through safety check.
In the present embodiment, if the similarity obtaining is 80%, predetermined threshold value is 90%, determines that described similarity is less than predetermined threshold value, and described mobile terminal is in the time that described similarity is less than or equal to predetermined threshold value, from writing image corresponding to described writing extracting data.Described mobile terminal prestores each user's standard writing image, determining after writing image corresponding to described writing extracting data, obtains the prestore standard writing image corresponding with described user from described standard writing image library.Described writing image and the described standard writing image that prestores is compared, determine in described writing image with described in the difference region of standard writing image that prestores, and obtain the image-region corresponding with definite difference region in described standard writing image.For example, described writing image is A, described in the standard writing image that prestores be B, A and B are compared, obtain the difference region C of A and B, obtain image-region D corresponding with C in B.The difference region that described acquisition for mobile terminal is definite and the difference value of described image-region, for example, the difference value of obtaining C and D is M.Described difference value can be difference percentage (4%, 9% etc.), can be also concrete value (4,9 etc.).Described mobile terminal judges whether described difference value meets default difference condition, described default difference condition can be a numerical value, for example 5%, 10% etc., also can be a scope, for example, 5%>S<10% or 10%>S<20% etc.In the time that described difference value meets default difference condition, for example, when M is less than 5%, judge that described user passes through safety check, in the time that described difference value does not meet default difference condition, for example, when described difference value is greater than 5%, judge that described user does not pass through safety check, can not access described mobile terminal, or application program in mobile terminal etc.Prompting user does not pass through safety check, and further points out the writing data that user's typing is correct.Further, in embodiments of the present invention, for the complexity and the algorithm that reduce algorithm calculate the system overhead bringing, described writing image and standard prestore writing image can be expressed as be respectively two groups with its corresponding continuous periodic signals respectively, according to " Fourier transform ", the periodic signal of continuous transformation is converted to sinusoidal curve to be represented, to image sample (described writing image and described standard pre-stored image are sampled respectively), by in each sampled point on described writing image, the difference table of sampled point and former and later two sampled points is shown curve " amplitude ", continuous amplitude between points, form a continuous signal.Again signal after treatment is done once to " Fourier transform ", be converted to sine function and represent.So just the computing of integration is converted into algebraic operation.Equally the standard writing image that prestores is obtained to corresponding sine function in the manner described above, both are compared, calculate difference.By the conversion from being integrated to algebraically, reach the object that reduces computing, save the expense of system, improve system performance.
In the present embodiment by the time that described similarity is less than or equal to predetermined threshold value, from writing image corresponding to described writing extracting data, determine in described writing image with described in the prestore difference region of standard writing image, obtain the image-region corresponding with definite difference region in described standard writing image; Obtain definite difference region and the difference value of described image-region, in the time that described difference value meets default difference condition, judge that described user passes through safety check.In the time that user's writing data are each time different, also can revise according to aforesaid way, further to improve the accuracy of safety check.
As shown in Figure 3, be the schematic flow sheet of method the 3rd embodiment of writing safety check of the present invention.Based on above-mentioned the second embodiment, described step S50 can replace with:
Step S90, determine in described writing image with described in the difference region of standard writing image that prestores, and image ratio pair is carried out to according to described default writing algorithm in definite difference region and the standard difference region that prestores;
Step S100, described definite difference region with described in while prestoring standard difference Region Matching, obtain image-region corresponding with described definite difference region in described standard writing image.
Described mobile terminal prestores standard difference region corresponding to each user, determine in described writing image with described in while prestoring the difference region of standard writing image, what described in described acquisition for mobile terminal, user was corresponding prestore standard difference region, and image ratio pair is carried out to according to described default writing algorithm in definite difference region and the standard difference region that prestores.Described definite difference region with described in while prestoring standard difference Region Matching, obtain view data corresponding with described definite difference region in described standard writing image, and according to the mode of upper above-described embodiment, described user carried out to safety check; Described definite difference region with described in prestore standard difference region while not mating, judge that described user is by safety check, and point out user typing writing data again.In order to make safety check more rationally with accurate, in other embodiments of the invention, described mobile terminal gathers multiple identical writing data in advance, multiple identical data are the writing data that same user is identical, for example, party A-subscriber's signature " Zhang San ", party B-subscriber's signature " Li Si " etc., gather signature " Zhang San " or the signature " Li Si " that gathers multiple party B-subscribers etc. that multiple party A-subscribers input.From the writing data that gather, random definite writing data are as standard writing data.Described mobile terminal is determined the writing image that each writing data are corresponding, and obtains between two the difference region between definite writing image, and from the difference region obtaining, a random definite difference region is as the standard difference region that prestores.
In the present embodiment by determine in described writing image with described in the prestore difference region of standard writing image, and image ratio pair is carried out to according to described default writing algorithm in definite difference region and the standard difference region that prestores, described definite difference region with described in while prestoring standard difference Region Matching, proceed described user's safety check; Described definite difference region with described in prestore standard difference region while not mating, judge that described user does not pass through safety check.Save the flow process of safety check, for the abnormal writing data of finding in time user's typing, point out user's typing correct writing data, effectively improved the efficiency of safety check.
As shown in Figure 4, be the schematic flow sheet of method the 4th embodiment of writing safety check of the present invention.Based on above-mentioned second and the 3rd embodiment, after described step S30, the method also comprises step:
Step S110, according to the mapping relations of difference value and similarity regulated value, determines the similarity regulated value that described difference value is corresponding, and upgrades described predetermined threshold value according to described similarity regulated value.
Described mobile terminal is not in the time that described difference value meets default difference condition, judge that described user is not by after safety check, according to the mapping relations of difference value and similarity regulated value, determine the similarity regulated value that described difference value is corresponding, and upgrade described predetermined threshold value according to described similarity regulated value, while carrying out safety check next time for described user, improve the accuracy and efficiency of safety check.When described mobile terminal is multiple in described difference value, according to the mapping relations of difference value and similarity regulated value, determine the similarity regulated value that each difference value is corresponding, and each similarity regulated value of determining is all updated in described predetermined threshold value.Be understandable that, also can be that each similarity regulated value is sorted according to order from small to large, therefrom selecting the similarity regulated value that meets threshold value is updated in described predetermined threshold value, described threshold value can be concrete value, for example, 1%, can be also a scope, for example, 1%<P<1.5% etc.
In the embodiment of the present invention by after will be by safety check, according to the mapping relations of difference value and similarity regulated value, determine similarity regulated value corresponding to difference value obtaining, and according to definite similarity regulated value, described predetermined threshold value is upgraded, during for user's request next time safety check, judge that by described predetermined threshold value whether described user can pass through safety check, further improves the accuracy and efficiency of safety check.
As shown in Figure 5, be the high-level schematic functional block diagram of the device preferred embodiment of writing safety check of the present invention.This device comprises: acquisition module 10 and processing module 20.
Described acquisition module 10, in the time receiving user's safety check instruction, obtains the writing data of described user's typing;
In order to ensure the security of mobile service and user profile etc., user during by terminal access mobile service or user profile etc., for example, when user accesses certain mobile terminal, or certain in ERP system is cleared a paper while conducting interviews, need to carry out the operation of safety check.For example, when user's request access mobile terminal, or certain in ERP system is cleared a paper while conducting interviews, trigger safety check instruction, and typing writing data.The main body of carrying out in the present embodiment the method for writing safety check of the present invention is preferably mobile terminal, it in other embodiments of the invention, can be also certain application program in mobile terminal, the server of the webpage loading in mobile terminal, the form loading in mobile terminal etc.In the time receiving user's safety check instruction, the writing data of user's typing described in acquisition for mobile terminal.In other embodiments of the invention, in order to save the expense of mobile terminal, improve the performance of mobile terminal, in the time receiving user's safety check instruction, the MAC Address of user's network of living in described in described acquisition for mobile terminal, and judge that whether described MAC Address is consistent with the MAC Address that prestores, in the time that described MAC Address is consistent with the MAC Address that prestores, then receive the writing data of described user's typing; In the time that described MAC Address and the MAC Address that prestores are inconsistent, termination of security checking process, and point out user to fail and carry out safety check, and point out user to access the network of correct MAC Address.
Described processing module 20, for described writing data and the standard writing data that prestore are carried out to similarity according to default writing algorithm and compared, obtain described writing data and described in the prestore similarity of standard writing data;
In the time that described similarity is greater than predetermined threshold value, judge that described user passes through safety check.
Described mobile terminal prestores each user's standard writing data in advance, in the time getting the writing data of described user's typing, from standard writing database, obtain the prestore standard writing data corresponding with described user, described writing data are carried out to similarity with the standard writing data that prestore according to default writing algorithm and compare, described default writing algorithm is other applicable writing algorithms such as disclosed SURF algorithm.Obtain the similarity of described writing data and described standard writing data.For example, the similarity obtaining is 80%.In order to make safety check more rationally with accurate, in other embodiments of the invention, described mobile terminal gathers multiple identical writing data in advance, multiple identical data are the writing data that same user is identical, for example, party A-subscriber's signature " Zhang San ", party B-subscriber's signature " Li Si " etc., gather signature " Zhang San " or the signature " Li Si " that gathers multiple party B-subscribers etc. that multiple party A-subscribers input.From the writing data that gather, random definite writing data are as standard writing data.
Described mobile terminal is according to threshold value of instruction preset in advance of user, and described predetermined threshold value is the value corresponding with similarity, for example, can be 90%, 50% etc.If the similarity obtaining is 80%, predetermined threshold value is 50%, determines that described similarity is greater than predetermined threshold value, judges that described user passes through safety check.In the time that described similarity is less than or equal to described predetermined threshold value, judge that described user is not by safety check, prompting user security verification failure, typing writing data again.The mode of described prompting can be word, picture, sound etc.In other embodiments of the invention, in order to improve the accuracy of safety check, in the time that described similarity is less than or equal to predetermined threshold value, also can further carry out verification according to other parameters, or described similarity is adjusted, or described writing data are revised etc. to mode and proceed verification.
The embodiment of the present invention is compared by carrying out similarity according to the writing data of user's typing with the standard writing data that prestore, and described writing data with described in prestore the similarity of standard writing data while being greater than predetermined threshold value, judge that described user passes through safety check, in ensureing the simplification of safety check operation, effectively reduce the probability of assault, improve the security of information, also improved user's privacy.
Further, described processing module 20, also in the time that described similarity is less than or equal to predetermined threshold value, from writing image corresponding to described writing extracting data;
Determine in described writing image with described in the prestore difference region of standard writing image;
Described acquisition module 10, also for obtaining the described standard writing image image-region corresponding with definite difference region;
Obtain definite difference region and the difference value of described image-region;
Described processing module 20, also, in the time that described difference value meets default difference condition, judges that described user passes through safety check;
In the time that described difference value does not meet default difference condition, judge that described user does not pass through safety check.
In the present embodiment, if the similarity obtaining is 80%, predetermined threshold value is 90%, determines that described similarity is less than predetermined threshold value, and described mobile terminal is in the time that described similarity is less than or equal to predetermined threshold value, from writing image corresponding to described writing extracting data.Described mobile terminal prestores each user's standard writing image, determining after writing image corresponding to described writing extracting data, obtains the prestore standard writing image corresponding with described user from described standard writing image library.Described writing image and the described standard writing image that prestores is compared, determine in described writing image with described in the difference region of standard writing image that prestores, and obtain the image-region corresponding with definite difference region in described standard writing image.For example, described writing image is A, described in the standard writing image that prestores be B, A and B are compared, obtain the difference region C of A and B, obtain image-region D corresponding with C in B.The difference region that described acquisition for mobile terminal is definite and the difference value of described image-region, for example, the difference value of obtaining C and D is M.Described difference value can be difference percentage (4%, 9% etc.), can be also concrete value (4,9 etc.).Described mobile terminal judges whether described difference value meets default difference condition, described default difference condition can be a numerical value, for example 5%, 10% etc., also can be a scope, for example, 5%>S<10% or 10%>S<20% etc.In the time that described difference value meets default difference condition, for example, when M is less than 5%, judge that described user passes through safety check, in the time that described difference value does not meet default difference condition, for example, when described difference value is greater than 5%, judge that described user does not pass through safety check, can not access described mobile terminal, or application program in mobile terminal etc.Prompting user does not pass through safety check, and further points out the writing data that user's typing is correct.Further, in embodiments of the present invention, for the complexity and the algorithm that reduce algorithm calculate the system overhead bringing, described writing image and standard prestore writing image can be expressed as be respectively two groups with its corresponding continuous periodic signals respectively, according to " Fourier transform ", the periodic signal of continuous transformation is converted to sinusoidal curve to be represented, to image sample (described writing image and described standard pre-stored image are sampled respectively), by in each sampled point on described writing image, the difference table of sampled point and former and later two sampled points is shown curve " amplitude ", continuous amplitude between points, form a continuous signal.Again signal after treatment is done once to " Fourier transform ", be converted to sine function and represent.So just the computing of integration is converted into algebraic operation.Equally the standard writing image that prestores is obtained to corresponding sine function in the manner described above, both are compared, calculate difference.By the conversion from being integrated to algebraically, reach the object that reduces computing, save the expense of system, improve system performance.
In the present embodiment by the time that described similarity is less than or equal to predetermined threshold value, from writing image corresponding to described writing extracting data, determine in described writing image with described in the prestore difference region of standard writing image, obtain the image-region corresponding with definite difference region in described standard writing image; Obtain definite difference region and the difference value of described image-region, in the time that described difference value meets default difference condition, judge that described user passes through safety check.In the time that user's writing data are each time different, also can revise according to aforesaid way, further to improve the accuracy of safety check.
Further, described processing module 20, also for determine described writing image with described in the prestore difference region of standard writing image, and image ratio pair is carried out to according to described default writing algorithm in definite difference region and the standard difference region that prestores;
Described definite difference region with described in while prestoring standard difference Region Matching, obtain image-region corresponding with described definite difference region in described standard writing image.
Described mobile terminal prestores standard difference region corresponding to each user, determine in described writing image with described in while prestoring the difference region of standard writing image, what described in described acquisition for mobile terminal, user was corresponding prestore standard difference region, and image ratio pair is carried out to according to described default writing algorithm in definite difference region and the standard difference region that prestores.Described definite difference region with described in while prestoring standard difference Region Matching, obtain view data corresponding with described definite difference region in described standard writing image, and according to the mode of upper above-described embodiment, described user carried out to safety check; Described definite difference region with described in prestore standard difference region while not mating, judge that described user is by safety check, and point out user typing writing data again.In order to make safety check more rationally with accurate, in other embodiments of the invention, described mobile terminal gathers multiple identical writing data in advance, multiple identical data are the writing data that same user is identical, for example, party A-subscriber's signature " Zhang San ", party B-subscriber's signature " Li Si " etc., gather signature " Zhang San " or the signature " Li Si " that gathers multiple party B-subscribers etc. that multiple party A-subscribers input.From the writing data that gather, random definite writing data are as standard writing data.Described mobile terminal is determined the writing image that each writing data are corresponding, and obtains between two the difference region between definite writing image, and from the difference region obtaining, a random definite difference region is as the standard difference region that prestores.
In the present embodiment by determine in described writing image with described in the prestore difference region of standard writing image, and image ratio pair is carried out to according to described default writing algorithm in definite difference region and the standard difference region that prestores, described definite difference region with described in while prestoring standard difference Region Matching, proceed described user's safety check; Described definite difference region with described in prestore standard difference region while not mating, judge that described user does not pass through safety check.Save the flow process of safety check, for the abnormal writing data of finding in time user's typing, point out user's typing correct writing data, effectively improved the efficiency of safety check.
Described processing module 20, also, for according to the mapping relations of difference value and similarity regulated value, determines the similarity regulated value that described difference value is corresponding, and upgrades described predetermined threshold value according to described similarity regulated value.
Described mobile terminal is not in the time that described difference value meets default difference condition, judge that described user is not by after safety check, according to the mapping relations of difference value and similarity regulated value, determine the similarity regulated value that described difference value is corresponding, and upgrade described predetermined threshold value according to described similarity regulated value, while carrying out safety check next time for described user, improve the accuracy and efficiency of safety check.When described mobile terminal is multiple in described difference value, according to the mapping relations of difference value and similarity regulated value, determine the similarity regulated value that each difference value is corresponding, and each similarity regulated value of determining is all updated in described predetermined threshold value.Be understandable that, also can be that each similarity regulated value is sorted according to order from small to large, therefrom selecting the similarity regulated value that meets threshold value is updated in described predetermined threshold value, described threshold value can be concrete value, for example, 1%, can be also a scope, for example, 1%<P<1.5% etc.
In the embodiment of the present invention by after will be by safety check, according to the mapping relations of difference value and similarity regulated value, determine similarity regulated value corresponding to difference value obtaining, and according to definite similarity regulated value, described predetermined threshold value is upgraded, during for user's request next time safety check, judge that by described predetermined threshold value whether described user can pass through safety check, further improves the accuracy and efficiency of safety check.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add essential general hardware platform by software and realize, can certainly pass through hardware, but in a lot of situation, the former is better embodiment.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprise that some instructions (can be mobile phones in order to make a station terminal equipment, computing machine, server, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
The foregoing is only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes instructions of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.
Claims (10)
1. a method for writing safety check, is characterized in that, the method comprising the steps of:
In the time receiving user's safety check instruction, obtain the writing data of described user's typing;
Described writing data and the standard writing data that prestore are carried out to similarity according to default writing algorithm and are compared, obtain described writing data and described in the prestore similarity of standard writing data;
In the time that described similarity is greater than predetermined threshold value, judge that described user passes through safety check.
2. the method for writing safety check as claimed in claim 1, is characterized in that, described in obtain described writing data with described in prestore after the step of similarity of standard writing data, the method also comprises:
In the time that described similarity is less than or equal to predetermined threshold value, from writing image corresponding to described writing extracting data;
Determine in described writing image with described in the prestore difference region of standard writing image, obtain the image-region corresponding with definite difference region in described standard writing image;
Obtain definite difference region and the difference value of described image-region, in the time that described difference value meets default difference condition, judge that described user passes through safety check;
In the time that described difference value does not meet default difference condition, judge that described user does not pass through safety check.
3. the method for writing safety check as claimed in claim 2, it is characterized in that, described determine in described writing image with described in the prestore difference region of standard writing image, the step of obtaining image-region corresponding with definite difference region in described standard writing image replaces with:
Determine in described writing image with described in the difference region of standard writing image that prestores, and image ratio pair is carried out to according to described default writing algorithm in definite difference region and the standard difference region that prestores;
Described definite difference region with described in while prestoring standard difference Region Matching, obtain image-region corresponding with described definite difference region in described standard writing image.
4. the method for writing safety check as claimed in claim 3, is characterized in that, described in the time that described difference value meets default difference condition, judges that described user is by after the step of safety check, and the method also comprises step:
According to the mapping relations of difference value and similarity regulated value, determine the similarity regulated value that described difference value is corresponding, and upgrade described predetermined threshold value according to described similarity regulated value.
5. the method for the writing safety check as described in claim 1 to 4 any one, is characterized in that, the method also comprises:
Gather multiple identical writing data, from the writing data that gather, random definite writing data are as the standard writing data that prestore;
Determine the writing image that each writing data are corresponding, and obtain the difference region between writing image between two, from the difference region obtaining, a random definite difference region is as the standard difference region that prestores.
6. a device for writing safety check, is characterized in that, this device comprises:
Acquisition module, in the time receiving user's safety check instruction, obtains the writing data of described user's typing;
Processing module, for described writing data and the standard writing data that prestore are carried out to similarity according to default writing algorithm and compared, obtain described writing data and described in the prestore similarity of standard writing data;
In the time that described similarity is greater than predetermined threshold value, judge that described user passes through safety check.
7. the device of writing safety check as claimed in claim 6, is characterized in that,
Described processing module, also in the time that described similarity is less than or equal to predetermined threshold value, from writing image corresponding to described writing extracting data;
Determine in described writing image with described in the prestore difference region of standard writing image;
Described acquisition module, also for obtaining the described standard writing image image-region corresponding with definite difference region;
Obtain definite difference region and the difference value of described image-region;
Described processing module, also, in the time that described difference value meets default difference condition, judges that described user passes through safety check;
In the time that described difference value does not meet default difference condition, judge that described user does not pass through safety check.
8. the device of writing safety check as claimed in claim 7, is characterized in that,
Described processing module, also for determine described writing image with described in the prestore difference region of standard writing image, and image ratio pair is carried out to according to described default writing algorithm in definite difference region and the standard difference region that prestores;
Described acquisition module, also for described definite difference region with described in while prestoring standard difference Region Matching, obtain image-region corresponding with described definite difference region in described standard writing image.
9. the device of writing safety check as claimed in claim 8, is characterized in that,
Described processing module, also, for according to the mapping relations of difference value and similarity regulated value, determines the similarity regulated value that described difference value is corresponding, and upgrades described predetermined threshold value according to described similarity regulated value.
10. the device of the writing safety check as described in claim 6 to 9 any one, is characterized in that,
Described processing module, also for gathering multiple identical writing data, from the writing data that gather, random definite writing data are as the standard writing data that prestore;
Determine the writing image that each writing data are corresponding, and obtain between two the difference region between definite writing image, from the difference region obtaining, a random definite difference region is as the standard difference region that prestores.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410234419.3A CN104021324B (en) | 2014-05-29 | 2014-05-29 | The method and device of writing safety check |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410234419.3A CN104021324B (en) | 2014-05-29 | 2014-05-29 | The method and device of writing safety check |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104021324A true CN104021324A (en) | 2014-09-03 |
CN104021324B CN104021324B (en) | 2019-01-01 |
Family
ID=51438073
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410234419.3A Active CN104021324B (en) | 2014-05-29 | 2014-05-29 | The method and device of writing safety check |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104021324B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106504141A (en) * | 2015-09-08 | 2017-03-15 | 迈吉克股份有限公司 | A kind of writing marking system and its methods of marking |
CN107833024A (en) * | 2017-11-24 | 2018-03-23 | 江苏中威科技软件系统有限公司 | Retroactive method is signed in the visualization of flow |
CN111209549A (en) * | 2020-01-02 | 2020-05-29 | 佛山市禾才科技服务有限公司 | Security verification method and device |
CN112102908A (en) * | 2020-09-22 | 2020-12-18 | 合肥易康达医疗卫生信息科技有限公司 | Credible cloud signature method for electronic medical record |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030233557A1 (en) * | 2002-06-13 | 2003-12-18 | Zimmerman Thomas Guthrie | Electronic signature verification method and apparatus |
CN102096809A (en) * | 2011-01-25 | 2011-06-15 | 重庆大学 | Handwriting identification method based on local outline structure coding |
CN103279770A (en) * | 2013-06-06 | 2013-09-04 | 哈尔滨工业大学 | Handwriting recognition method based on fragment and contour feature of stroke |
CN103679456A (en) * | 2012-09-18 | 2014-03-26 | 中国银联股份有限公司 | System and method for trading based on signature information |
-
2014
- 2014-05-29 CN CN201410234419.3A patent/CN104021324B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030233557A1 (en) * | 2002-06-13 | 2003-12-18 | Zimmerman Thomas Guthrie | Electronic signature verification method and apparatus |
CN102096809A (en) * | 2011-01-25 | 2011-06-15 | 重庆大学 | Handwriting identification method based on local outline structure coding |
CN103679456A (en) * | 2012-09-18 | 2014-03-26 | 中国银联股份有限公司 | System and method for trading based on signature information |
CN103279770A (en) * | 2013-06-06 | 2013-09-04 | 哈尔滨工业大学 | Handwriting recognition method based on fragment and contour feature of stroke |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106504141A (en) * | 2015-09-08 | 2017-03-15 | 迈吉克股份有限公司 | A kind of writing marking system and its methods of marking |
CN107833024A (en) * | 2017-11-24 | 2018-03-23 | 江苏中威科技软件系统有限公司 | Retroactive method is signed in the visualization of flow |
CN111209549A (en) * | 2020-01-02 | 2020-05-29 | 佛山市禾才科技服务有限公司 | Security verification method and device |
CN112102908A (en) * | 2020-09-22 | 2020-12-18 | 合肥易康达医疗卫生信息科技有限公司 | Credible cloud signature method for electronic medical record |
Also Published As
Publication number | Publication date |
---|---|
CN104021324B (en) | 2019-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104022879A (en) | Voice security verification method and apparatus | |
CN110290522B (en) | Risk identification method and device for mobile equipment and computer system | |
KR101724307B1 (en) | Method and system for detecting a malicious code | |
CN106911687B (en) | Page construction control method and device | |
CN106790129A (en) | A kind of identity authentication method and device | |
CN110888838A (en) | Object storage based request processing method, device, equipment and storage medium | |
KR102318714B1 (en) | Computet program for detecting software vulnerability based on binary code clone | |
US10282627B2 (en) | Method and apparatus for processing handwriting data | |
CN107689975B (en) | Cloud computing-based computer virus identification method and system | |
CN104021324A (en) | Method and device for writing safety verification | |
CN105095764A (en) | Virus checking and killing method and device | |
CN113191892A (en) | Account risk prevention and control method, device, system and medium based on equipment fingerprint | |
CN112671724A (en) | Terminal security detection analysis method, device, equipment and readable storage medium | |
CN109818972B (en) | Information security management method and device for industrial control system and electronic equipment | |
CN114297735A (en) | Data processing method and related device | |
CN106709281A (en) | Patch releasing and obtaining method and device | |
CN106507300A (en) | A kind of method for giving loss terminal for change, device and terminal | |
CN104426836A (en) | Invasion detection method and device | |
CN113051571B (en) | Method and device for detecting false alarm vulnerability and computer equipment | |
CN117725594A (en) | Multiple composite detection method, device, equipment and storage medium of intelligent contract | |
CN107995167B (en) | Equipment identification method and server | |
EP3174263A1 (en) | Apparatus and method for verifying detection rule | |
CN115809466A (en) | Security requirement generation method and device based on STRIDE model, electronic equipment and medium | |
CN113297583B (en) | Vulnerability risk analysis method, device, equipment and storage medium | |
CN112527802B (en) | Soft link method and device based on key value database |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |