Summary of the invention
According to one object of the present invention, a kind of transaction system based on signing messages is disclosed, comprise, account memory device, the preset signing messages of this device storage, signature apparatus, for receiving on-the-spot signing messages, accounts information fetch equipment, this equipment is used for reading preset signing messages from account memory device, and reads on-the-spot signing messages from signature apparatus, wherein, accounts information fetch equipment is configured to, according to the preset signing messages and the on-the-spot signing messages that read, judge whether to conclude the business.
Preferably, accounts information fetch equipment comprises signature verification module, preset signing messages and on-the-spot signing messages are stored with the form of picture, this signature verification module is for the preset signing messages that reads described in calculating and the similarity of on-the-spot signing messages, accounts information fetch equipment is configured to, according to described similarity, judge whether to conclude the business.
Preferably, 3. transaction system as claimed in claim 2, the picture of preset signing messages and the picture of on-the-spot signing messages have identical size, pixel distribution and total number of pixels, this signature verification module is configured to: calculate the gray-scale value of each pixel of picture of preset signing messages and the correlative value that the average gray value of all pixels is compared and obtained, wherein, when the gray-scale value of a pixel is greater than or equal to described average gray value, the correlative value corresponding with this pixel arranged to the first value, otherwise the second value is set, calculate the gray-scale value of each pixel of picture of on-the-spot signing messages and the correlative value that the average gray value of described pixel is compared and obtained, wherein, when the gray-scale value of a pixel is greater than or equal to described average gray value, the correlative value corresponding with this pixel arranged to the first value, otherwise the second value is set, whether the correlative value of pixel of relevant position that judges the picture of preset signing messages and the picture of on-the-spot signing messages is identical, and calculate the number of identical correlative value, calculating described similarity is the ratio of number with total number of pixels of described identical correlative value.
Preferably, accounts information fetch equipment is configured to, and when described similarity is less than preset value, refusal is concluded the business.
Preferably, accounts information fetch equipment is configured to, when described similarity is greater than or equal to preset value, by the Image Display of the picture of preset signing messages and on-the-spot signing messages on display.
Preferably, preset signing messages and on-the-spot signing messages are stored with the form of character, whether this signature verification module is also consistent with on-the-spot signing messages for the preset signing messages reading described in judging, if inconsistent, accounts information fetch equipment is configured to refusal and concludes the business.
Preferably, accounts information fetch equipment is further configured to the preset signing messages reading and on-the-spot signing messages to be presented on display.
Preferably, described account memory device is bank card or the mobile communication equipment that loads financial function.
Preferably, described accounts information fetch equipment is POS terminal.
According to one object of the present invention, a kind of method of commerce based on signing messages is disclosed, comprise the following steps, first step: accounts information fetch equipment reads preset signing messages from account memory device, and read on-the-spot signing messages, second step from signature apparatus: accounts information fetch equipment judges whether to conclude the business according to the preset signing messages and the on-the-spot signing messages that read.
Preferably, preset signing messages and on-the-spot signing messages are stored with the form of picture, in described second step: be arranged on preset signing messages that signature verification module in accounts information fetch equipment reads described in calculating and the similarity of on-the-spot signing messages, accounts information fetch equipment judges whether to conclude the business according to described similarity.
Preferably, the picture of preset signing messages and the picture of on-the-spot signing messages have identical size, pixel distribution and total number of pixels, in described second step: this signature verification module is calculated the gray-scale value of each pixel of picture of preset signing messages and the correlative value that the average gray value of all pixels is compared and obtained, wherein, when the gray-scale value of a pixel is greater than or equal to described average gray value, the correlative value corresponding with this pixel arranged to the first value, otherwise the second value is set, this signature verification module is calculated the gray-scale value of each pixel of picture of on-the-spot signing messages and the correlative value that the average gray value of described pixel is compared and obtained, wherein, when the gray-scale value of a pixel is greater than or equal to described average gray value, the correlative value corresponding with this pixel arranged to the first value, otherwise the second value is set, and this signature verification module judges that whether the correlative value of pixel of relevant position of the picture of preset signing messages and the picture of on-the-spot signing messages is identical, and calculate the number of identical correlative value, this signature verification module is calculated the ratio that described similarity is number with total number of pixels of described identical correlative value.
Preferably, in described second step: accounts information fetch equipment judges when described similarity is less than preset value, refuses to conclude the business.
Preferably, in described second step: accounts information fetch equipment judges when described similarity is greater than or equal to preset value, by the Image Display of the picture of preset signing messages and on-the-spot signing messages on display.
Preferably, preset signing messages and on-the-spot signing messages are stored with the form of character, in described second step: whether this signature verification module is consistent with on-the-spot signing messages for the preset signing messages reading described in judging, if inconsistent, accounts information fetch equipment refusal is concluded the business.
Preferably, the method also comprises, third step, and in this step, accounts information fetch equipment is also presented at the preset signing messages reading and on-the-spot signing messages on display.
Embodiment
With reference to the accompanying drawings, the specific embodiment of the present invention is described in further detail.In the following description, for the object of explaining, state many details to the thorough understanding to one or more aspects of embodiment is provided.Yet, can it is evident that for those skilled in the art, less degree that can these details is put into practice one or more aspects of each embodiment.In addition, although can be only about one in some embodiments special characteristic or aspect that discloses embodiment, but can be for any given or specifically apply desiredly and favourable, this feature or aspect can be combined with a kind of or a plurality of other features or the aspect of other embodiments.Therefore the description below is not regarded as circumscribed, but limits protection domain by claims.
Fig. 1 is an example according to the transaction system based on signing messages of the embodiment of the present invention.As shown in the figure, store preset signing messages in bank card 1, this signing messages is user's correct signing messages.When using bank card 1 to pay by POS terminal 2, user is required signature in electronic signature plate 3.Then, POS terminal 2 reads preset signing messages and on-the-spot signing messages from bank card 1 and electronic signature plate 3 respectively, and comparison result information is outputed in report 4.In figure, report 4 shows the similarity of dealing money, exchange hour and signature comparison.In this example, preset signing messages is directly stored in bank card 1 rather than background system, and therefore, POS terminal 2 need not be obtained preset signature by long-range connection background system, and need not in background system, carry out the retrieval of preset signature, can improve like this timeliness and the accuracy of signature verification.In optional example, preset signature also can be stored in background system, in this example, POS terminal 2 reads preset signing messages and on-the-spot signing messages from background system (not shown) and electronic signature plate 3 respectively, and comparison result information is outputed in report 4.In this example, preset signing messages and on-the-spot signing messages are stored with picture form, and as shown in the figure, POS terminal 2 will be calculated the similarity (90%) of preset signing messages and on-the-spot signing messages, and by this comparison result shows in report.Be understandable that, the content in report 4 can be selected.In optional example, POS terminal 2 can be by comparison result shows on extra display.In another optional example, POS terminal 2 can directly allow to conclude the business or directly refusal transaction based on comparison result, for example, when similarity is during lower than preset value, POS terminal 2 can be configured to directly refusal transaction, in the situation that preset signing messages and on-the-spot signing messages are character, when preset signing messages and on-the-spot signing messages are when inconsistent, POS terminal 2 also can be configured to directly refusal transaction, now can output report list 4 also output report list 4 not.
According to thought of the present invention, above-mentioned example can have various modification.
In one example, can adopt the mobile communication terminal agent bank card that loads financial function, preset signing messages can be stored in advance in the correlation module of mobile communication terminal.
In one example, can adopt card reader special to replace POS terminal to read preset signing messages.
In one example, can adopt papery signature plate to replace the plate that signs electronically, the in the situation that of papery signature plate, accounts information fetch equipment can be taken a picture or scan to obtain on-the-spot signing messages the papery plate of signing, and the in the situation that of electronic signature plate, card reader special or POS terminal can be by obtaining on-the-spot signing messages with being electrically connected to of plate of electronic signature.Those skilled in the art will appreciate that and can adopt various means to identify and store on-the-spot signing messages.
In the present invention, preset signing messages and on-the-spot signing messages can be stored in the form of picture or character accounts information fetch equipment.As hereinafter described, accounts information fetch equipment (for example, card reader special or POS terminal) to the picture of the signing messages calculating similarity of comparing, or carries out comparison of coherence to the signing messages of character style by example as shown in Figure 1.
Fig. 2 is according to the structural representation of the transaction system based on signing messages of the embodiment of the present invention.Transaction system based on signing messages comprises account memory device 100, signature apparatus 200, accounts information fetch equipment 300.Wherein, the preset signing messages of account memory device 100 storage, is to be understood that account memory device also stores other for completing the information of transaction, but these information and theme of the present invention be not closely related, so will omit this description in this article.Signature apparatus 200 is for receiving on-the-spot signing messages.Accounts information fetch equipment 300 is for reading preset signing messages from account memory device 100, and read on-the-spot signing messages from signature apparatus 200, wherein, accounts information fetch equipment 300 is configured to, according to the preset signing messages and the on-the-spot signing messages that read, judge whether to conclude the business.Be to be understood that accounts information fetch equipment 300 also will read other for completing the information of transaction from account memory device 100.
In one embodiment, accounts information fetch equipment 300 comprises signature verification module (Fig. 2 is not shown), preset signing messages and on-the-spot signing messages are stored with the form of picture, this signature verification module is for the preset signing messages that reads described in calculating and the similarity of on-the-spot signing messages, accounts information fetch equipment 300 is configured to, according to described similarity, judge whether to conclude the business.
In a more detailed embodiment, the picture of preset signing messages and the picture of on-the-spot signing messages have identical size, pixel distribution and total number of pixels.This signature verification module is configured to:
Calculate the gray-scale value of each pixel of picture of preset signing messages and the correlative value that the average gray value of all pixels is compared and obtained, wherein, when the gray-scale value of a pixel is greater than or equal to described average gray value, the correlative value corresponding with this pixel arranged to the first value, otherwise the second value is set
Calculate the gray-scale value of each pixel of picture of on-the-spot signing messages and the correlative value that the average gray value of described pixel is compared and obtained, wherein, when the gray-scale value of a pixel is greater than or equal to described average gray value, the correlative value corresponding with this pixel arranged to the first value, otherwise the second value is set
Whether the correlative value of pixel of relevant position that judges the picture of preset signing messages and the picture of on-the-spot signing messages is identical, and calculates the number of identical correlative value,
Calculating described similarity is the ratio of number with total number of pixels of described identical correlative value.
The picture of preset signing messages and the picture of on-the-spot signing messages can just have identical size, pixel distribution and total number of pixels when generating.Or, can carry out pre-service to the picture of the picture of preset signing messages and on-the-spot signing messages, make it have identical size, pixel distribution and total number of pixels in one example, can standardization signature map chip size.For example, signature picture can be narrowed down to the size of 8x8,64 pixels altogether, remove other details of picture, only retain the essential informations such as structure, light and shade, abandon thus the picture difference that different size, ratio bring.Also for example, the picture after can just dwindling, transfers 64 grades of gray scales to.That is to say, all pixels only have 64 kinds of colors altogether.In this case, calculate the average gray of all 64 pixels, and by the gray scale of each pixel, compare with average gray, be more than or equal to mean value, be designated as 1; Be less than mean value, be designated as 0.Subsequently, by the comparative result of previous step, combine, can form the gray scale of pixel of 64 and the correlative value sequence (forming by 0 or 1) that average gray compares.The picture of the picture of preset signing messages and on-the-spot signing messages is carried out to identical calculating, thereby obtain two sequences.Finally, the number of different figure places on 64 bit sequences that obtain by technology two pictures, (1 – is isotopic number number/64 not) are similarity.
In one embodiment, accounts information fetch equipment 300 is configured to, and when described similarity is less than preset value, refusal is concluded the business.Alternatively, when described similarity is less than preset value, this similarity as a result of can be exported, refusal is concluded the business simultaneously.Again alternatively, when described similarity is less than preset value, can be by the Image Display of the picture of preset signing messages and on-the-spot signing messages on display, refusal is concluded the business simultaneously.
In one embodiment, accounts information fetch equipment is configured 300 one-tenth, when described similarity is greater than or equal to preset value, by the Image Display of the picture of preset signing messages and on-the-spot signing messages on display.Alternatively, this similarity can be presented on display together as comparison result.
In one embodiment, preset signing messages and on-the-spot signing messages are stored with the form of character, whether this signature verification module is also consistent with on-the-spot signing messages for the preset signing messages reading described in judging, if inconsistent, accounts information fetch equipment 300 is configured to refuse to conclude the business.For example, when the name that is identified as character and the name in preset signing messages of user input is inconsistent, accounts information fetch equipment 300 these users of judgement are not real user, thereby refusal is concluded the business.
In one embodiment, accounts information fetch equipment is further configured to the preset signing messages reading and on-the-spot signing messages to be presented on display.
Fig. 3 is according to the step schematic diagram of the method for commerce based on signing messages of the embodiment of the present invention.As shown in the figure, the method for commerce based on signing messages comprises the following steps,
First step: accounts information fetch equipment reads preset signing messages from account memory device, and read on-the-spot signing messages from signature apparatus,
Second step: accounts information fetch equipment judges whether to conclude the business according to the preset signing messages and the on-the-spot signing messages that read.
In one embodiment, preset signing messages and on-the-spot signing messages are stored with the form of picture, in described second step:
Be arranged on preset signing messages that signature verification module in accounts information fetch equipment reads described in calculating and the similarity of on-the-spot signing messages,
Accounts information fetch equipment judges whether to conclude the business according to described similarity.
In one embodiment, the picture of preset signing messages and the picture of on-the-spot signing messages have identical size, pixel distribution and total number of pixels, in described second step:
This signature verification module is calculated the gray-scale value of each pixel of picture of preset signing messages and the correlative value that the average gray value of all pixels is compared and obtained, wherein, when the gray-scale value of a pixel is greater than or equal to described average gray value, the correlative value corresponding with this pixel arranged to the first value, otherwise the second value is set
This signature verification module is calculated the gray-scale value of each pixel of picture of on-the-spot signing messages and the correlative value that the average gray value of described pixel is compared and obtained, wherein, when the gray-scale value of a pixel is greater than or equal to described average gray value, the correlative value corresponding with this pixel arranged to the first value, otherwise the second value is set, and
This signature verification module judges that whether the correlative value of pixel of relevant position of the picture of preset signing messages and the picture of on-the-spot signing messages is identical, and calculates the number of identical correlative value,
This signature verification module is calculated the ratio that described similarity is number with total number of pixels of described identical correlative value.
In one embodiment, in described second step:
Accounts information fetch equipment judges when described similarity is less than preset value, refuses to conclude the business.
In one embodiment, in described second step:
Accounts information fetch equipment judges when described similarity is greater than or equal to preset value, by the Image Display of the picture of preset signing messages and on-the-spot signing messages on display.
In one embodiment, preset signing messages and on-the-spot signing messages are stored with the form of character, in described second step:
Whether this signature verification module is consistent with on-the-spot signing messages for the preset signing messages reading described in judging,
If inconsistent, accounts information fetch equipment refusal is concluded the business.
In one embodiment, the present invention also comprises third step, and in this step, accounts information fetch equipment is also presented at the preset signing messages reading and on-the-spot signing messages on display.Owing to preset signing messages and on-the-spot signing messages can being simultaneously displayed on display, it shows that result can also be used for further judging by operator, and the security of transaction is further enhanced.
By the description of above embodiment, those skilled in the art can understand, and without departing from the spirit and scope of the present invention in the situation that, can also do various changes and replacement to the specific embodiment of the present invention.These changes and replacement all drop in the claims in the present invention book limited range.