The content of the invention
It is a primary object of the present invention to provide a kind of note validating method and apparatus, in the prior art cannot be accurate with solution
Really verify the problem of papers.
To achieve these goals, a kind of one side according to embodiments of the present invention, there is provided note validating method.Root
Include according to note validating method of the invention:The plain code of bill to be measured is obtained, the plain code of above-mentioned bill to be measured is above-mentioned to be measured
The coding information recorded on bill;Plain code to above-mentioned bill to be measured is verified;If the plain code of above-mentioned bill to be measured does not lead to
Checking is crossed, then judges that above-mentioned bill to be measured is fake bill;If the plain code of above-mentioned bill to be measured detects above-mentioned by checking
Bill to be measured whether there is private mark, and above-mentioned private mark is the sightless coding information on bill;If detecting above-mentioned ticket to be measured
According to there is private mark, then the private mark of above-mentioned bill to be measured is obtained;Private mark to above-mentioned bill to be measured is verified;If above-mentioned to be measured
The private mark of bill then judges that above-mentioned bill to be measured is real bill by checking;And if the private mark of above-mentioned bill to be measured is not
By checking, then judge that above-mentioned bill to be measured is fake bill.
Further, above-mentioned private mark includes:First private mark and/or the second private mark, wherein, above-mentioned first private mark is by hidden
Property ink be hidden in bill optional position coding information, above-mentioned second private mark be with user account bind dynamic token give birth to
Into dynamic password.
Further, the private mark for obtaining above-mentioned bill to be measured includes:Obtain the first private mark of above-mentioned bill to be measured and above-mentioned
Second private mark of bill to be measured, carrying out checking to the private mark of above-mentioned bill to be measured includes:To the first private mark of above-mentioned bill to be measured
The second private mark with above-mentioned bill to be measured verified, wherein, if the first private mark of above-mentioned bill to be measured and above-mentioned ticket to be measured
According to the second private mark by checking, then judge that above-mentioned bill to be measured is real bill;If the first of above-mentioned bill to be measured is dark
There is any one not verified in second private mark of code and above-mentioned bill to be measured, then judge that above-mentioned bill to be measured is fake bill.
Further, carrying out checking to the plain code of above-mentioned bill to be measured includes:Plain code inquiry based on above-mentioned bill to be measured
With the presence or absence of the information of above-mentioned bill to be measured, wherein, if inquiring the information in the absence of above-mentioned bill to be measured, it is determined that above-mentioned
The plain code of bill to be measured is not verified;If inquiring the information that there is above-mentioned bill to be measured, it is determined that above-mentioned bill to be measured
Plain code by checking.
Further, after the information that there is above-mentioned bill to be measured is inquired, above-mentioned note validating method also includes:Judge
Whether the private mark of above-mentioned bill to be measured is detected in preset time period;If be not detected by above-mentioned preset time period above-mentioned
The private mark of bill to be measured, then by the current transactional lock of above-mentioned bill to be measured, and export information warning.
Further, the note validating method also includes:The locked transaction when the plain code of bill to be measured is obtained;If
The private mark of the bill to be measured is not detected by preset time period, then sends user of the warning message to login account.
Further, before the plain code to the bill to be measured is verified, the note validating method also includes:Sentence
Whether the plain code of the disconnected bill to be measured meets plain code coding rule;If the plain code of the bill to be measured meets plain code coding rule
Then, then the plain code to the bill to be measured is verified;If the plain code of the bill to be measured is unsatisfactory for plain code coding rule,
Determine that the bill to be measured is fake bill.
To achieve these goals, a kind of another aspect according to embodiments of the present invention, there is provided note validator.Root
Include according to note validator of the invention:First acquisition unit, the plain code for obtaining bill to be measured, above-mentioned bill to be measured
Plain code is the coding information recorded on above-mentioned bill to be measured;First authentication unit, enters for the plain code to above-mentioned bill to be measured
Row checking;First identifying unit, if not verified for the plain code of above-mentioned bill to be measured, judge above-mentioned bill to be measured as
Fake bill;First detection unit, if passing through checking for the plain code of above-mentioned bill to be measured, detects that above-mentioned bill to be measured is
No to there is private mark, above-mentioned private mark is the sightless coding information on bill;Second acquisition unit, if above-mentioned for detecting
There is private mark in bill to be measured, then obtain the private mark of above-mentioned bill to be measured;Second authentication unit, for the dark of above-mentioned bill to be measured
Code is verified;Second identifying unit, if passing through checking for the private mark of above-mentioned bill to be measured, judges above-mentioned bill to be measured
It is real bill;And the 3rd identifying unit, if not verified for the private mark of above-mentioned bill to be measured, judge above-mentioned treating
Survey bill is fake bill.
Further, above-mentioned private mark includes:First private mark and/or the second private mark, wherein, above-mentioned first private mark is by hidden
Property ink be hidden in bill optional position coding information, above-mentioned second private mark be with user account bind dynamic token give birth to
Into dynamic password.
Further, above-mentioned second acquisition unit includes:Acquisition module, the first private mark for obtaining above-mentioned bill to be measured
With the second private mark of above-mentioned bill to be measured, above-mentioned second authentication unit includes:Authentication module, for above-mentioned bill to be measured
Second private mark of one private mark and above-mentioned bill to be measured verified, wherein, above-mentioned authentication module includes:First decision sub-module,
If the second private mark of the first private mark and above-mentioned bill to be measured for above-mentioned bill to be measured by checking, judges above-mentioned treating
Survey bill is real bill;Second decision sub-module, if the first private mark and above-mentioned bill to be measured for above-mentioned bill to be measured
The second private mark in have any one not verified, then judge that above-mentioned bill to be measured is fake bill.
Further, above-mentioned first authentication unit includes:Enquiry module, for the plain code inquiry based on above-mentioned bill to be measured
With the presence or absence of the information of above-mentioned bill to be measured, wherein, above-mentioned enquiry module includes:First determination sub-module, if for inquiring about
Go out the information in the absence of above-mentioned bill to be measured, it is determined that the plain code of above-mentioned bill to be measured is not verified;Second determination sub-module,
If there is the information of above-mentioned bill to be measured for inquiring, it is determined that the plain code of above-mentioned bill to be measured is by checking.
Further, after the information that there is above-mentioned bill to be measured is inquired, above-mentioned note validator also includes:First
Judging unit, the private mark for judging whether to be detected in preset time period above-mentioned bill to be measured;Lock cell, if for
The private mark of above-mentioned bill to be measured is not detected by above-mentioned preset time period, then by the current transactional lock of above-mentioned bill to be measured,
And export information warning.
Further, the note validator also includes:Lock cell, for being locked when the plain code of bill to be measured is obtained
Fixed transaction;Transmitting element, if the private mark for being not detected by the bill to be measured in preset time period, sends alarm signal
Cease to the user of login account.
Further, the note validator also includes:Second judging unit, for the bright of the bill to be measured
Before code is verified, judge whether the plain code of the bill to be measured meets plain code coding rule;Wherein, the authentication unit is also
If the plain code for the bill to be measured meets plain code coding rule, the plain code to the bill to be measured is verified;Such as
The plain code of really described bill to be measured is unsatisfactory for plain code coding rule, it is determined that the bill to be measured is fake bill.
According to inventive embodiments, by obtaining the plain code of bill to be measured, the plain code of bill to be measured is to remember on bill to be measured
The coding information of record;Plain code to bill to be measured is verified;If the plain code of bill to be measured is not verified, judge to be measured
Bill is fake bill;If the plain code of bill to be measured is by checking, detect bill to be measured with the presence or absence of private mark, private mark be
Sightless coding information on bill;If detecting that bill to be measured has private mark, the private mark of bill to be measured is obtained;To be measured
The private mark of bill is verified;If the private mark of bill to be measured judges that bill to be measured is real bill by checking;And such as
The private mark of bill really to be measured is not verified, then judge that bill to be measured is fake bill, and solving in the prior art cannot be accurate
The problem of ground checking papers, has reached the effect for verifying papers exactly.
Specific embodiment
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase
Mutually combination.Describe the present invention in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only
The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, should all belong to the model of present invention protection
Enclose.
It should be noted that term " first ", " in description and claims of this specification and above-mentioned accompanying drawing
Two " it is etc. for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so using
Data can exchange in the appropriate case, so as to embodiments of the invention described herein.Additionally, term " including " and " tool
Have " and their any deformation, it is intended that covering is non-exclusive to be included, for example, containing series of steps or unit
Process, method, system, product or equipment are not necessarily limited to those steps clearly listed or unit, but may include without clear
It is listing to Chu or for these processes, method, product or other intrinsic steps of equipment or unit.
The embodiment of the invention provides a kind of note validating method.
Fig. 1 is the flow chart of note validating method according to embodiments of the present invention.As shown in figure 1, the note validating method
It is as follows including step:
Step S102, obtains the plain code of bill to be measured, and the plain code of bill to be measured is the coding letter recorded on bill to be measured
Breath.
In embodiments of the present invention, plain code is printed on bill to be measured, plain code is associated with bill business information, such as bill
Transaction Information can be trade date, serial number, identifying code, the amount of money, the information of the preset in advance such as operator.User can will be bright
In code input to client, client obtains the plain code, and whether user is verified by plain code can true with quick search billing information
Real storage exists.
Step S104, the plain code to bill to be measured is verified.
After plain code is obtained, detection plain code whether there is in database, if detecting plain code is present in database
In, then the plain code is by checking.
Step S106, if the plain code of bill to be measured is not verified, judges that bill to be measured is fake bill.
Step S108, if the plain code of bill to be measured is by checking, detects bill to be measured with the presence or absence of private mark, and private mark is
The sightless coding information on bill.
The coding information that private mark can randomly generate for ticket validation system can also be produced according to certain rule, and this is random
The coding information of generation can be the coding information being hidden in bill, can be specifically to be hidden in bill by recessive ink
Optional position, coding information can also be the volume of the other forms such as the dynamic password that the dynamic token bound with user account is generated
Code information.Wherein, at least a kind of sightless private mark on bill.
Specifically, the generation rule of private mark includes:The information of plain code part is collected, and is wholly converted into binary number
Word, these numerals are combined, and draw intermediate value C portion encryption parameter, by C portion encryption parameter and C portion encryption ginseng
The time of number generation, doing mathematicses computing does add operation if latter four are combined into even number, and the odd number that is combined into of four does subtraction fortune afterwards
Calculate, afterwards four be combined into even number and (20 is the artificial parameter for setting) then does division arithmetic more than 20, afterwards four be combined into it is strange
Count and then do multiplying more than 20 (20 is the artificial parameter for setting) and draw final private mark A, but dark A can not be shifted onto out
C and plain code part.
Step S110, if detecting that bill to be measured has private mark, obtains the private mark of bill to be measured.
After plain code is obtained, detection plain code whether there is in database, if detecting plain code is present in database
In, then the plain code is by checking.After plain code is by checking, detect that bill to be measured whether there is private mark, treated if detected
Survey bill and there is private mark, then obtain the private mark.
Step S112, the private mark to bill to be measured is verified.
If the private mark for detecting is the coding information of the optional position that bill is hidden in by recessive ink, can lead to
Cross the irradiation (such as ultraviolet light) of different-waveband visible ray, private mark manifested, the bill to be measured come obtain the coding letter
Breath, and verified;If the private mark for detecting is the dynamic password that the dynamic token bound with user account is generated, can be with
The checking of coding information is carried out by obtaining the dynamic password.
Step S114, if the private mark of bill to be measured judges that bill to be measured is real bill by checking.
Step S116, if the private mark of bill to be measured is not verified, judges that bill to be measured is fake bill.
In embodiments of the present invention, due to by plain code verify can with quick search billing information whether necessary being, lead to
The true and false whether plain code judges bill with private mark i.e. dicode by checking is crossed, has been reached and has been verified papers exactly
Effect.The true and false of bill can be inquired about by dicode additionally, due to embodiment of the present invention user, inter-bank data exchange is not related to, because
This polling cycle shortens;User voluntarily can also be inquired about by cell-phone customer terminal, be inquired about without by bank counter, therefore inquiry
Threshold is reduced and more convenient.
It should be noted that in the embodiment of the present invention, plain code and private mark on real bill can be by special seal
Equipment is stamped on bill.
Preferably, in embodiments of the present invention, foregoing private mark can include:First private mark and/or the second private mark, wherein,
First private mark is the coding information of the optional position that bill is hidden in by recessive ink, and the second private mark is to be bound with user account
Dynamic token generation dynamic password.
First private mark and the second private mark can be respectively the assembly coding of numeral and character.Specifically, can be in private mark
One kind, or the first private mark and the second private mark in first private mark and the second private mark are all present, in embodiments of the present invention,
It is preferred that the latter.If the private mark for detecting is the first private mark, can be by irradiation (such as ultraviolet light of different-waveband visible ray
Irradiation), private mark is manifested, obtain the coding information of the private mark;If the private mark for detecting is the second private mark, can pass through
The dynamic password is obtained to obtain the coding information of the private mark.Dynamic token is what user bound in New Account, and it has
There is uniqueness, wherein, dynamic token can be hardware token, short message password, handset token or software token etc., with handset token
As a example by, handset token produced random 6 dynamic password every 30 seconds, and the second private mark is carried out by obtaining the dynamic password
Checking.
Preferably, in embodiments of the present invention, the private mark for obtaining bill to be measured can include:Obtain the first of bill to be measured
Private mark and the second private mark of bill to be measured, carrying out checking to the private mark of bill to be measured includes:To the first private mark of bill to be measured and
Second private mark of bill to be measured verified, wherein, if the second private mark of the first private mark of bill to be measured and bill to be measured is equal
By checking, then judge that bill to be measured is real bill;If the first private mark of bill to be measured and the second private mark of bill to be measured
In have any one not verified, then judge that bill to be measured is fake bill.
In embodiments of the present invention, it is being randomly generated for ticket validation system due to the first private mark or delimited the organizational structure according to one
Code rule produces the coding information being hidden in bill, and the second private mark is the coding information that user voluntarily holds, and is carrying out private mark
During checking, the second private mark is the dynamic password of the dynamic token generation that user voluntarily takes care of, and the dynamic token has uniqueness,
When the dynamic password is obtained, only user knows the password, and verifies that the true and false of bill is to obtain the first private mark simultaneously
With the second private mark, so mean that the first private mark represents ticket validation system, the second private mark represents user, meanwhile, ticket
Second private mark of user is not known according to checking system, user does not know that ticket validation system randomly generates first is dark yet
Code, only both private marks by checking, just can determine that bill is true.In this way, bill can exactly be verified
The true and false, but also can effectively prevent bill from cloning.
Preferably, in embodiments of the present invention, carrying out checking to the plain code of bill to be measured can include:Based on bill to be measured
Plain code inquiry with the presence or absence of bill to be measured information.Wherein, if the plain code composition rule of input is not verified;It is then true
The plain code of fixed bill to be measured is not verified;If the plain code composition rule of input is by checking;Then determine bill to be measured
Plain code is by checking;If inquiring the information in the absence of bill to be measured, it is determined that the plain code of bill to be measured is not verified;Such as
Fruit inquires the information that there is bill to be measured, it is determined that the plain code of bill to be measured is by checking.Being verified by plain code can be quick
Inquiry billing information whether necessary being.
Preferably, in embodiments of the present invention, after the information that there is bill to be measured is inquired, note validating method may be used also
To include:Judge whether to be detected in preset time period the private mark of bill to be measured.If be not detected by preset time period
The private mark of bill to be measured, then by the current transactional lock of bill to be measured, and export information warning.
Specifically, when user inquires about billing information, if plain code is by checking, the stateful transaction of the bill is locked
And the Transaction Information of the bill is stopped inquiry, in this condition, other people cannot inquire about the billing information, only in user
Be input into the first private mark and/or the second private mark and by checking after, transactional lock state and the opening of the bill could be released
The Transaction Information inquiry of the bill.Wherein, cannot be transferred accounts if stateful transaction is locked, only be released the friendship of the bill
Easy lock-out state could continuous business.Output information warning can be sent the information by verifying in the form of information transmission
To the contact method of the binding in advance such as website and user mobile phone, mailbox.
Can be locked when plain code is input into by the current transactional lock of bill to be measured, lock is only released when private mark is input into
It is fixed, the private mark of bill to be measured is not detected by preset time period, then send user of the warning message to login account;Can also
It is the transactional lock when private mark is detected, is unlocked when private mark is proved to be successful, or, private mark checking is obstructed out-of-date, to
Warning message be sent to user or with business higher level department.
If after plain code is by checking, in preset time period, user is not input into the first private mark and/or second dark
Code, then bill business is locked, it is possible to which the cell-phone number bound in advance to the user of the bill sends information warning, and the pen
Transaction is queried in any place, can send information warning to the user.To ensure security, can also be by the bill
Transaction Information publicity is in website of bank or in user mobile phone client.In this manner it is possible to the safety of user account is effectively ensured.
Preferably, before the plain code to bill to be measured is verified, note validating method also includes:Judge bill to be measured
Plain code whether meet plain code coding rule;If the plain code of bill to be measured meets plain code coding rule, to bill to be measured
Plain code is verified;If the plain code of bill to be measured is unsatisfactory for plain code coding rule, it is determined that bill to be measured is fake bill.
Specifically, after plain code is got, it is judged first with plain code coding rule, due to the generation of plain code
It is to be generated according to certain rule, if the plain code for getting does not meet the rule, it is considered that the plain code is to forge,
Indicate that bill is to forge, conversely, then carrying out next step checking.
The embodiment of the present invention additionally provides a kind of note validator.The device can realize its work(by computer equipment
Energy.It should be noted that the note validator of the embodiment of the present invention can be used for performing the ticket that the embodiment of the present invention is provided
According to verification method, the note validating that the note validating method of the embodiment of the present invention can also be provided by the embodiment of the present invention is filled
Put to perform.
Fig. 2 is the schematic diagram of note validator according to embodiments of the present invention.As shown in Fig. 2 the note validator
Including:First acquisition unit 10, the first authentication unit 20, the first identifying unit 30, the first detection unit 40, second acquisition unit
50th, the second authentication unit 60, the second identifying unit 70 and the 3rd identifying unit 80.
First acquisition unit 10 is used to obtain the plain code of bill to be measured, and the plain code of bill to be measured is to be recorded on bill to be measured
Coding information.
In embodiments of the present invention, plain code is printed on bill to be measured, plain code is associated with bill business information, such as bill
Transaction Information can be trade date, serial number, identifying code, the amount of money, the information of the preset in advance such as operator.User can will be bright
In code input to client, client obtains the plain code, and whether user is verified by plain code can true with quick search billing information
Real storage exists.
Further, on the seal of the embodiment of the present invention can also include fingerprint graph, character, graphic dot matrix, Quick Response Code,
Any one or several combinations in bar code, using fingerprint graph, character or graphic dot matrix, Quick Response Code, bar code it is good
Place is the anti-counterfeiting technology point that can improve seal, so as to accomplish to be difficult to be imitated.It is another to be carried using Quick Response Code or bar code
The efficiency of height inquiry, reduces user and is manually entered inquiry content, it is only necessary to both can will need inquiry by scanning device
Content is retrieved.
Specifically, the manufacturing process of above-mentioned seal can include:
First, the coordinate position of variable content is added after user has made seal.
2nd, the variable content for generating prestored in database or computing is added to corresponding coordinate position.
3rd, the seal with variable part and immutable part is merged.
4th, the seal graphics after merging are covered on given content by special equipment.
Further preferably, fingerprint graph can be seal holder fingerprint collecting after figure, or data
Figure in the fingerprint base that storehouse prestores, real needs can by user voluntarily select set, it is necessary to explanation be fingerprint graph and
Dynamic coding (plain code or private mark) can be mutually related.And a dynamic coding (plain code or private mark) can only correspond to
One fingerprint graph.The form of fingerprint graph can be the five-pointed star that seal five-pointed star partially changes into fingerprint generation, it is also possible to
It is the frame generated by fingerprint, or word, or fingerprint and dynamic coding (plain code or private mark) are made into the picture with reference to generation.
It is further preferred that character or graphic dot matrix can be name, identification card number, job number, the numbering of seal holder
Deng the content that can arbitrarily identify and distinguish among generation, or numbering that database is prestored etc. can arbitrarily be recognized simultaneously
The content generation of differentiation.Real needs can voluntarily be selected to set by user.It should be noted that character or graphic dot matrix and dynamic
Coding (plain code or private mark) is to be mutually related.And a dynamic coding (plain code or private mark) can only correspond to a character
Or graphic dot matrix.The form of character or graphic dot matrix can be the five-pointed star that seal five-pointed star partially changes into fingerprint generation,
Can be the frame generated by character or graphic dot matrix, or word, or by character or graphic dot matrix and dynamic coding (plain code or
Private mark) do with reference to the picture for generating.
Quick Response Code or bar code can be name, identification card number, job number, numbering of seal holder etc., can arbitrarily know
Content generation that is other and distinguishing, or numbering that database is prestored etc., the content life that can arbitrarily identify and distinguish among
Into.Real needs can voluntarily be selected to set by user.It should be noted that Quick Response Code or bar code and dynamic coding (plain code or
Private mark) it is to be mutually related.And a dynamic coding (plain code or private mark) can only correspond to a Quick Response Code or bar code.Two
The form of dimension code or bar code can be the five-pointed star that seal five-pointed star partially changes into character or graphic dot matrix, it is also possible to serve as reasons
Character or the picture of graphic dot matrix generation.
When identification is inquired about, if user's not manually input inquiry, but by IMAQ know otherwise that
Polling routine can do a certain proportion of method to the content for gathering, so as to accomplish to the Quick Response Code or bar code of tiny segment with
And fingerprint, character or graphic dot matrix accomplish preferably identification.Specific method multiplying power can voluntarily be set by user.
In polling character or graphic dot matrix, can be by by character or graphic dot matrix to seal content center point or
The default position relationship of client is judged and is inquired about.It is 18 pixels, B words that for example centre of figure position is arrived in 30 ° of A characters upper left
Accord with as 50 ° of upper left to centre of figure position is 2 pixels, c characters are 3 ° of bottom right to the pixel of center 30, three's picture
The conjunction of vegetarian refreshments judges graphic dot matrix less than or equal to 50 by checking, where it is determined that the conjunction of graphic dot matrix is less than how many numerical value
Be user's sets itself, be successively decreased using the conjunction or multiple spot of multiple spot or mathematical operation in any manner can by user from
Row design.Another graphic dot matrix be determined with centre of figure position or with the upper left corner or be first word starting or
Terminate to determine also voluntarily to be selected by user.It is separately the distance for calculating all graphic dot matrixes to specified location, or only calculates certain
The position of several points also has user voluntarily to set.Another graphic dot matrix also can be by user voluntarily to the distance exam in user preset region
Setting, such as be air line distance or air line distance is fixed after the quadratic power of numerical value 5 or curve distance numerical value these are all
There is user to select.
First authentication unit 20 is used to verify the plain code of bill to be measured.
After plain code is obtained, detection plain code whether there is in database, if detecting plain code is present in database
In, then the plain code is by checking.
If the plain code that the first identifying unit 30 is used for bill to be measured is not verified, bill to be measured is judged as ticket is forged
According to.
If the first detection unit 40 is used for the plain code of bill to be measured by checking, detect bill to be measured with the presence or absence of dark
Code, private mark is the sightless coding information on bill.
Coding information that private mark can be randomly generated for ticket validation system, or produced according to certain rule,
The coding information that this is randomly generated can be the coding information being hidden in bill, be hidden in by recessive ink
The optional position of bill, coding information can also be other shapes such as the dynamic password that the dynamic token bound with user account is generated
The coding information of formula.Wherein, at least a kind of sightless private mark on bill.
Specifically, the generation rule of private mark includes:The information of plain code part is collected, and is wholly converted into binary number
Word, these numerals are combined, and draw intermediate value C portion encryption parameter, by C portion encryption parameter and C portion encryption ginseng
The time of number generation, doing mathematicses computing does add operation if latter four are combined into even number, and the odd number that is combined into of four does subtraction fortune afterwards
Calculate, afterwards four be combined into even number and (20 is the artificial parameter for setting) then does division arithmetic more than 20, afterwards four be combined into it is strange
Count and then do multiplying more than 20 (20 is the artificial parameter for setting) and draw final private mark A, but dark A can not be shifted onto out
C and plain code part.
If second acquisition unit 50 is used to detect that bill to be measured has private mark, the private mark of bill to be measured is obtained.
After plain code is obtained, detection plain code whether there is in database, if detecting plain code is present in database
In, then the plain code is by checking.After plain code is by checking, detect that bill to be measured whether there is private mark, treated if detected
Survey bill and there is private mark, then obtain the private mark.
Second authentication unit 60 is used to verify the private mark of bill to be measured.
If the private mark for detecting is the coding information of the optional position that bill is hidden in by recessive ink, can lead to
Cross the irradiation (such as ultraviolet light) of different-waveband visible ray, private mark manifested, the bill to be measured come obtain the coding letter
Breath, and verified;If the private mark for detecting is the dynamic password that the dynamic token bound with user account is generated, can be with
The checking of coding information is carried out by obtaining the dynamic password.
If the second identifying unit 70 is used for the private mark of bill to be measured by checking, judge that bill to be measured is true ticket
According to.
If the private mark that the 3rd identifying unit 80 is used for bill to be measured is not verified, bill to be measured is judged as ticket is forged
According to.
In embodiments of the present invention, due to by plain code verify can with quick search billing information whether necessary being, lead to
The true and false whether plain code judges bill with private mark i.e. dicode by checking is crossed, has been reached and has been verified papers exactly
Effect.The true and false of bill can be inquired about by dicode additionally, due to embodiment of the present invention user, inter-bank data exchange is not related to, because
This polling cycle shortens;User voluntarily can also be inquired about by cell-phone customer terminal, be inquired about without by bank counter, therefore inquiry
Threshold is reduced and more convenient.
It should be noted that in the embodiment of the present invention, plain code and private mark on real bill can be by special seal
Equipment is stamped on bill.
Preferably, in embodiments of the present invention, foregoing private mark can include:First private mark and/or the second private mark, wherein,
First private mark is the coding information of the optional position that bill is hidden in by recessive ink, and the second private mark is to be bound with user account
Dynamic token generation dynamic password.
First private mark and the second private mark can be respectively the assembly coding of numeral and character.Specifically, can be in private mark
One kind, or the first private mark and the second private mark in first private mark and the second private mark are all present, in embodiments of the present invention,
It is preferred that the latter.If the private mark for detecting is the first private mark, can be by irradiation (such as ultraviolet light of different-waveband visible ray
Irradiation), private mark is manifested, obtain the coding information of the private mark;If the private mark for detecting is the second private mark, can pass through
The dynamic password is obtained to obtain the coding information of the private mark.Dynamic token is what user bound in New Account, and it has
There is uniqueness, wherein, dynamic token can be hardware token, short message password, handset token or software token etc., with handset token
As a example by, handset token produced random 6 dynamic password every 30 seconds, and the second private mark is carried out by obtaining the dynamic password
Checking.
Preferably, in embodiments of the present invention, foregoing second acquisition unit can include:Acquisition module.Acquisition module is used
In the first private mark for obtaining bill to be measured and the second private mark of bill to be measured.Foregoing second authentication unit can include:Checking mould
Block.Authentication module be used for the first private mark of bill to be measured and the second private mark of bill to be measured are verified, wherein, authentication module
Including:First decision sub-module, if the second private mark of the first private mark and bill to be measured for bill to be measured is by checking,
Then judge that bill to be measured is real bill;Second decision sub-module, if the first private mark and bill to be measured for bill to be measured
The second private mark in have any one not verified, then judge that bill to be measured is fake bill.
In embodiments of the present invention, randomly generated for ticket validation system or according to certain coding due to the first private mark
The coding information being hidden in bill that rule is produced, the second private mark is the coding information that user voluntarily holds, and is carrying out private mark
During checking, the second private mark is the dynamic password of the dynamic token generation that user voluntarily takes care of, and the dynamic token has uniqueness,
When the dynamic password is obtained, only user knows the password, and verifies that the true and false of bill is to obtain the first private mark simultaneously
With the second private mark, so mean that the first private mark represents ticket validation system, the second private mark represents user, meanwhile, ticket
Second private mark of user is not known according to checking system, user does not know that ticket validation system randomly generates first is dark yet
Code, only both private marks by checking, just can determine that bill is true.In this way, bill can exactly be verified
The true and false, but also can effectively prevent bill from cloning.
Preferably, in embodiments of the present invention, foregoing first authentication unit can include:Enquiry module.Enquiry module is used
Whether there is the information of bill to be measured in the plain code inquiry based on bill to be measured, wherein, enquiry module includes:First determines submodule
Block, if for inquiring the information in the absence of bill to be measured, it is determined that the plain code of bill to be measured is not verified;Second determines
Submodule, if there is the information of bill to be measured for inquiring, it is determined that the plain code of bill to be measured is by checking.By plain code
Checking can with quick search billing information whether necessary being.
Preferably, in embodiments of the present invention, foregoing note validator can also include:First judging unit and locking
Unit.Whether first judging unit is used for after the information that there is bill to be measured is inquired, and judges detected in preset time period
To the private mark of bill to be measured.If lock cell is used to be not detected by preset time period the private mark of bill to be measured, will treat
The current transactional lock of bill is surveyed, and exports information warning.
When user inquires about billing information, if plain code is by checking, the stateful transaction of the bill is locked and is somebody's turn to do
The Transaction Information of bill is stopped inquiry, and in this condition, other people cannot inquire about the billing information, only in user input
One private mark and/or the second private mark and by checking after, could release the transactional lock state and the opening bill of the bill
Transaction Information inquiry.Wherein, cannot be transferred accounts if stateful transaction is locked, only be released the transactional lock of the bill
State could continuous business.Output information warning can will be sent to website by the information verified in the form of information transmission
With the contact method of the advance binding such as user mobile phone, mailbox.
Can be locked when plain code is input into by the current transactional lock of bill to be measured, lock is only released when private mark is input into
It is fixed, the private mark of bill to be measured is not detected by preset time period, then send user of the warning message to login account;Can also
It is the transactional lock when private mark is detected, is unlocked when private mark is proved to be successful, or, private mark checking is obstructed out-of-date, to
Warning message be sent to user or with business higher level department.
If after plain code is by checking, in preset time period, user is not input into the first private mark and/or second dark
Code, then bill business is locked, it is possible to which the cell-phone number bound in advance to the user of the bill sends information warning, and the pen
Transaction is queried in any place, can send information warning to the user.To ensure security, can also be by the bill
Transaction Information publicity is in website of bank or in user mobile phone client.In this manner it is possible to the safety of user account is effectively ensured.
Preferably, note validator also includes:Second judging unit, for being verified in the plain code to bill to be measured
Before, judge whether the plain code of bill to be measured meets plain code coding rule;Wherein, if authentication unit is additionally operable to bill to be measured
Plain code meets plain code coding rule, then the plain code to bill to be measured is verified;If the plain code of bill to be measured is unsatisfactory for plain code
Coding rule, it is determined that bill to be measured is fake bill.
Specifically, after plain code is got, it is judged first with plain code coding rule, due to the generation of plain code
It is to be generated according to certain rule, if the plain code for getting does not meet the rule, it is considered that the plain code is to forge,
Indicate that bill is to forge, conversely, then carrying out next step checking.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention not by described by sequence of movement limited because
According to the present invention, some steps can sequentially or simultaneously be carried out using other.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, involved action and module is not necessarily of the invention
It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment
Point, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way
Realize.For example, device embodiment described above is only schematical, such as the division of described unit is only one kind
Division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other
Coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication connection of device or unit by some interfaces,
Can be electrical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme
's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list
Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is to realize in the form of SFU software functional unit and as independent production marketing or use
When, can store in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part for being contributed to prior art in other words or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are used to so that a computer
Equipment (can be personal computer, mobile terminal, server or network equipment etc.) performs side described in each embodiment of the invention
The all or part of step of method.And foregoing storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory),
Random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be stored
The medium of program code.
The preferred embodiments of the present invention are the foregoing is only, is not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair
Change, equivalent, improvement etc., should be included within the scope of the present invention.