Summary of the invention
The disclosure is designed to provide a kind of method for payment, the device for payment, computer-readable storageMedium and electronic equipment, and then account matching speed caused by the limitation due to the relevant technologies is overcome at least to a certain extentSlowly, the technical problems such as payment efficiency is low.
According to one aspect of the disclosure, a kind of method for payment is provided, is characterized in that, comprising:
Numerical Index information associated with the phone number of user is obtained, and the biology to be identified for obtaining the user is specialSign;
It is obtained from preset biological attribute data library and the biological characteristic to be identified based on the Numerical Index informationThe target biometric to match;
Determine payment account corresponding with the target biometric.
It is described special from preset biology based on the Numerical Index information in a kind of illustrative embodiments of the disclosureThe target biometric to match with the biological characteristic to be identified is obtained in sign database, comprising:
It is inquired from preset biological attribute data library based on the Numerical Index information and obtains one or more candidateBiological characteristic;
The biological characteristic to be identified and the candidate biological characteristic are subjected to matching comparison, with obtain with it is described to be identifiedThe target biometric that biological characteristic matches.
It is described by the biological characteristic to be identified and described candidate biological in a kind of illustrative embodiments of the disclosureFeature carries out matching comparison, comprising:
The biological characteristic to be identified is compared with each candidate biological characteristic respectively each described to obtainThe matching similarity of candidate biological characteristic;
The matching similarity of more each candidate biological characteristic is to obtain the peak of a matching similarity;
It, will candidate biology spy corresponding with the peak when the peak is more than or equal to a preset thresholdSign is used as target biometric;
When the peak is less than the preset threshold, the biological characteristic to be identified of the user is reacquired.
In a kind of illustrative embodiments of the disclosure, the Numerical Index information is based on from preset biological characteristic numberAccording to the target biometric obtained in library and the biological characteristic to be identified matches, comprising:
Biological characteristic in the biological characteristic to be identified and preset biological attribute data library is subjected to matching comparison, withObtain the biological characteristic to be verified to match with the biological characteristic to be identified;
Obtain verification information corresponding with the biological characteristic to be verified;
When the verification information is consistent with the Numerical Index information, using the biological characteristic to be verified as with it is describedThe target biometric that biological characteristic to be identified matches.
It is described to obtain digital rope associated with the phone number of user in a kind of illustrative embodiments of the disclosureFuse breath, comprising:
The fetching portion number from the phone number of user, and using the part number as the Numerical Index information.
According to one aspect of the disclosure, a kind of device for payment is provided, is characterized in that, comprising:
Feature obtains module, is configured as obtaining Numerical Index information associated with the phone number of user, and obtainThe biological characteristic to be identified of the user;
Characteristic matching module is configured as obtaining from preset biological attribute data library based on the Numerical Index informationThe target biometric to match with the biological characteristic to be identified;
Account determining module is configured to determine that payment account corresponding with the target biometric.
According to one aspect of the disclosure, a kind of method for payment is provided, is characterized in that, comprising:
Numerical Index information associated with the phone number of user is received, and the Numerical Index information is sent to clothesBusiness device;
The biological characteristic to be identified of the user is acquired, and the biological characteristic to be identified is sent to the server;
It receives to exist on the server and match with the Numerical Index information and the biological characteristic to be identifiedTarget biometric information when, paid using payment account corresponding with the target biometric.
In a kind of illustrative embodiments of the disclosure, the biological characteristic to be identified of the acquisition user, comprising:
Acquire the facial image of the user;
The face characteristic of the user is extracted from the facial image, and using the face characteristic as described to be identifiedBiological characteristic.
It is described to receive digital rope associated with the phone number of user in a kind of illustrative embodiments of the disclosureFuse breath, comprising:
The part number of the phone number of user is received, and using the part number as the Numerical Index information.
According to one aspect of the disclosure, a kind of device for payment is provided, is characterized in that, comprising:
Information receiving module, is configured as receiving associated with the phone number of user Numerical Index information, and by instituteIt states Numerical Index information and is sent to server;
Collection apparatus module, is configured as acquiring the biological characteristic to be identified of the user, and by the biology to be identifiedFeature is sent to the server;
Payment module is configured as receiving on the server and existing and the Numerical Index information and described wait knowWhen the information for the target biometric that other biological characteristic matches, payment account corresponding with the target biometric is utilizedIt is paid.
According to one aspect of the disclosure, a kind of computer readable storage medium is provided, computer program is stored thereon with,It is characterized in that, the method for payment of any description above is realized when the computer program is executed by processor.
According to one aspect of the disclosure, a kind of electronic equipment is provided, is characterized in that, including processor and storageDevice;Wherein, memory is used to store the executable instruction of the processor, the processor is configured to via can described in executionIt executes instruction to execute the method for payment of any description above.
In method provided by the embodiment of the present disclosure for payment, by will number associated with subscriber phone numberThe biological characteristic of word indexing information and user establish index relative, and the identification of user biological feature and payment account can be improvedAnd matching speed, so as to improve payment efficiency.Especially in the biggish situation of user volume, biological spy can effectively improveThe matching speed and matching accuracy of sign.In addition, this illustrative embodiment, which is used, maps to digital rope for subscriber phone numberThe risk that the mode of fuse breath can be exposed to avoid the complete phone number of user, also improves while protecting privacy of userPayment safety.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, notThe disclosure can be limited.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be real in a variety of formsIt applies, and is not understood as limited to example set forth herein;On the contrary, these embodiments are provided so that the disclosure will more comprehensively andCompletely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, structure or characteristicIt can be incorporated in any suitable manner in one or more embodiments.
In addition, attached drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical attached drawing mark in figureNote indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in the drawings are functionEnergy entity, not necessarily must be corresponding with physically or logically independent entity.These function can be realized using software formEnergy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or placeThese functional entitys are realized in reason device device and/or microcontroller device.
A kind of illustrative embodiments of the disclosure provide a kind of method for payment, and this method mainly can be applied toServer end can store the information such as identity characteristic, the payment account of user on server, and can safeguard to relevant informationAnd update.In addition, the processes such as the processing of payment request, the record of payment result and feedback also can all be run on the server.
As shown in Figure 1, the method for payment that this illustrative embodiment provides mainly may comprise steps of:
Step S110. obtains Numerical Index information associated with the phone number of user, and obtains the to be identified of userBiological characteristic.
When user need on a line or off-line transaction carry out reimbursement of expense when, the available user's of this stepNumerical Index information and biological characteristic to be identified.Wherein, Numerical Index information is associated with the phone number of the userInformation.For example, this step can from the phone number of user fetching portion number, and using this part number as digitalIndex information, such as seven bit digitals can be obtained with last four bit combinations by three, head of subscriber phone number, this seven bit digital isIt can be used as the Numerical Index information of user.In another example this step can use preset coding rule to subscriber phone number intoNumerical Index information of the encoded information obtained after row transcoding as user.Biological characteristic to be identified is primarily referred to as the outside of userPhysiology sign, such as the face characteristic, fingerprint characteristic, iris feature that can be user etc. are convenient for the biology of acquisition and identification specialSign.
Step S120. is based on Numerical Index information and obtains from preset biological attribute data library and biological characteristic to be identifiedThe target biometric to match.
In this illustrative embodiments, it is preset with a biological property data base, which can be by takingBusiness device itself is safeguarded, the third-party platform that can carry out data communication with server in one in addition also can be set, originally showExample property embodiment does not do particular determination to this.The biological attribute data library is for storing the use for opening biological characteristic payment functionThe biological information at family.In addition, the biological information of each user in biological attribute data library is and corresponding to userThere are incidence relations for the Numerical Index information of phone number.For example, can by each subscriber phone number seven bit digitals withThe biological characteristic of the user is stored in biological attribute data library as related information, in this way, which digital rope can be establishedIndex between fuse breath and user biological feature.Biological attribute data library is other than saving and safeguarding the biological characteristic of userThe index relative between the biological characteristic of maintenance user and the Numerical Index information of user will also be saved.Based in step S110The Numerical Index information got and biological characteristic to be identified, the index that this step can be provided by Numerical Index informationRelationship combines the recognition result of biological characteristic to be identified to obtain and biological characteristic phase to be identified from preset biological attribute data libraryMatched target biometric.In general, being one-to-one correspondence between the target biometric and the user for implementing payment behaviorRelationship.
Step S130. determines payment account corresponding with target biometric.
According to target biometric obtained in step S120, this step can use the use for saving and safeguarding on serverFamily information determines that payment account corresponding with target biometric, the payment account can be user and opening biological characteristic branchIn addition the bank account bound when paying function is also possible to Alipay account, wechat wallet or any other having and paysThe payment account of function, this illustrative embodiment do not do particular determination to this.When binding has multiple payment accounts under user nameWhen, this step can be ranked up multiple payment accounts according to preset priority relationship.In determining and target biometricIt is corresponding be able to carry out the payment account of payment after, can utilize the payment account carry out transaction payment.
In the method for payment that this illustrative embodiment provides, by will be associated with subscriber phone numberThe biological characteristic of Numerical Index information and user establish index relative, and the knowledge of user biological feature and payment account can be improvedOther and matching speed, so as to improve payment efficiency.Especially in the biggish situation of user volume, biology can effectively improveThe matching speed and matching accuracy of feature.In addition, this illustrative embodiment, which is used, maps to number for subscriber phone numberThe risk that the mode of index information can be exposed to avoid the complete phone number of user also improves while protecting privacy of userPayment safety.
As shown in Fig. 2, in the another exemplary embodiment of the disclosure, step S120. be based on Numerical Index information fromThe target biometric to match with biological characteristic to be identified is obtained in preset biological attribute data library, may further includeFollowing steps:
Step S210. is inquired from preset biological attribute data library based on Numerical Index information and is obtained one or moreCandidate biological characteristic.
Based on the Numerical Index information associated with the phone number of user got in step S110, this step is firstCan be inquired from preset biological attribute data library obtain it is there are one of index relative or more with the Numerical Index informationA candidate's biological characteristic.In general, being between the biological characteristic of the phone number of user, the payment account of user and userOne-to-one relationship.However, due to this illustrative embodiment be by the phone number of user and a Numerical Index information, becauseThis is just it is possible that the problem of different phone numbers of multiple and different users map to same Numerical Index information.For example, withSeven bit digitals of four compositions of three, the head of subscriber phone number and end are as Numerical Index information, then inevitably going outRepetition between existing Numerical Index information.In this case, this step can obtain multiple candidate biological characteristics.
Biological characteristic to be identified and candidate biological characteristic are carried out matching comparison by step S220., to obtain and life to be identifiedThe target biometric that object feature matches.
For one or more candidate biological characteristic obtained in step S210, this step will be obtaining in step S110To user biological characteristic to be identified and its carry out matching comparison one by one.Biological characteristic payment function has been opened in confirmation userCan, and in the case where accurately obtaining Numerical Index information and user's biological characteristic to be identified, this step will obtain with toThe target biometric that identification biological characteristic matches.Certainly, if user inputs information errors or the life to be identified of userObject feature causes to be difficult to be accurately identified and be matched there are unintelligible, then can be reacquired again with return step S110 correctlyNumerical Index information or reacquire user clear and readily identified biological characteristic to be identified, then execute step againIndex process in S210 and the matching process in this step.
In this illustrative embodiments, first right using the index relative between Numerical Index information and user biological featureBiological characteristic in biological attribute data library is screened and is filtered, and the model of biometric matches can be largely reducedIt encloses, significantly improves the identification of user biological feature and matched speed, and then improve payment efficiency.
As shown in figure 3, it is based on foregoing exemplary embodiment, it is in step S220 that biological characteristic to be identified and candidate is rawObject feature carries out matching comparison, may further include following steps:
Step S310. compares biological characteristic to be identified with each candidate biological characteristic to obtain each candidate respectivelyThe matching similarity of biological characteristic.
For one or more the candidate biological characteristic inquired in step S210, this step can by user toIdentification biological characteristic is compared one by one with it, and comparing result can be rendered as matching similarity.When a candidate biological characteristic withWhen the degree of agreement of biological characteristic to be identified is higher, the matching similarity of the two also will be higher.Biological characteristic to be identified and candidateThe specific comparison process of biological characteristic and the calculation of matching similarity can be known with reference to fingerprint involved in the prior artNot, the identification of the biological characteristics such as recognition of face and matching scheme, details are not described herein again.
The matching similarity of the more each candidate biological characteristic of step S320. is to obtain the peak of a matching similarity.
Matching similarity corresponding with each candidate's biological characteristic can be calculated by step S310, this step will be eachThe value of matching similarity is compared a rear available peak, and the corresponding candidate biological characteristic of the peak can be recognizedTo be in current several candidate biological characteristics highest one with biological characteristic degree of agreement to be identified.
Step S330., will candidate biology corresponding with peak when peak is more than or equal to a preset thresholdFeature is as target biometric.
If the peak of the matching similarity compared in step S320 is more than or equal to a preset threshold, thatCandidate biological characteristic corresponding to the peak can be elected to be target biometric by this step.Such as it can be by 90% conductPreset threshold illustrates that candidate biological characteristic corresponding to the peak meets matching if the peak of matching similarity is 93%Condition can be elected to be target biometric, subsequent to be paid using the corresponding payment account of the target biometric.
Step S340. reacquires the biological characteristic to be identified of user when peak is less than the preset threshold.
With step S330 correspondingly, if the peak of the matching similarity compared in step S320 is less than, this is pre-If threshold value, such as peak are only 85%, the preset threshold less than 90%, then it is considered that current all candidate biology is specialMatching condition is not satisfied in sign.In such a case, it is possible to be back to abovementioned steps, the biology to be identified for reacquiring user is specialSign, and be indexed and match again.It is defined using matching comparing result of the preset threshold to user biological feature, it can be withImprove payment safety.
As shown in figure 4, in the another exemplary embodiment of the disclosure, step S120. be based on Numerical Index information fromThe target biometric to match with biological characteristic to be identified is obtained in preset biological attribute data library, may further includeFollowing steps:
Biological characteristic to be identified and the biological characteristic in preset biological attribute data library match pair by step S410.Than to obtain the biological characteristic to be verified to match with biological characteristic to be identified.
Based on the biological characteristic to be identified of the user got in step S110, this step is special by the biology to be identified firstSign carries out matching comparison with the biological characteristic in preset biological attribute data library.According to comparing result it is available with it is to be identifiedThe biological characteristic to be verified that biological characteristic matches.According to the difference of matched Stringency, this step be likely to be obtained one toBiological characteristic is verified, multiple biological characteristics to be verified in addition may also be obtained.
Step S420. obtains verification information corresponding with biological characteristic to be verified.
For biological characteristic to be verified obtained in step S410, this step will acquire corresponding verification information,The verification information is the i.e. information associated with user biological feature of typing when user opens biological characteristic payment function.
Step S430. when verification information is consistent with Numerical Index information, using biological characteristic to be verified as with it is to be identifiedThe target biometric that biological characteristic matches.
Based on the verification information of the step S420 each biological characteristic to be verified got, this step will obtain step S110The Numerical Index information got compares therewith, if comparison is consistent, can using biological characteristic to be verified as withThe target biometric that biological characteristic to be identified matches, it is subsequent i.e. using the corresponding payment account of the target biometric intoRow payment.By first match verify afterwards in the way of whole payment safety equally can be improved.
Based on the method for payment that above every illustrative embodiments provide, the disclosure also provides one kind and is set up inThe device for payment of server end.As shown in figure 5, the device mainly may include: that feature obtains module 510, featureWith module 520 and account determining module 530.Wherein, feature obtains module 510 and is configured as obtaining the phone number phase with userAssociated Numerical Index information, and obtain the biological characteristic to be identified of user.Characteristic matching module 520 is configured as based on numberIndex information obtains the target biometric to match with biological characteristic to be identified from preset biological attribute data library.AccountDetermining module 530 is configured to determine that payment account corresponding with target biometric.
The detail of the above-mentioned device for payment for being set up in server end is in the corresponding side for paymentIt is described in detail in method, therefore details are not described herein again.
In the illustrative embodiments of the disclosure, another method for payment is also provided, this method mainly can be withApplied to client.Wherein, client can be the terminal device that businessman is used to receive the paid expense of user, such as can beThe cash registers such as mobile phone, computer with physical characteristics collecting function;It is used in addition, client is also possible to consumer to businessmanThe terminal device of payment expense, such as can be the payment devices such as mobile phone, the computer with raw collection apparatus function.This is exemplaryClient involved in embodiment can pass through network communication or any other communication mode and aforementioned exemplary embodiment partyServer involved in formula carries out data communication.
As shown in fig. 6, the mode for payment that this illustrative embodiment provides mainly may comprise steps of:
Step S610. receives Numerical Index information associated with the phone number of user, and Numerical Index information is sent outIt send to server.
When user needs on a line or when off-line transaction carries out reimbursement of expense, this step can receive straight by userThe Numerical Index information for connecing input or transmitting by other means.Wherein, Numerical Index information is the cell-phone number with the userThe associated information of code.For example, this step can from the phone number of user fetching portion number, and by this part numberWord is as Numerical Index information, such as can obtain seven bit digitals with last four bit combinations for three, head of subscriber phone number, thisSeven bit digitals can be used as the Numerical Index information of user.In another example this step can use preset coding rule to userNumerical Index information of the encoded information that phone number obtain after transcoding as user.Receiving Numerical Index informationAfterwards, which will be also sent to server by this step, so that server is indexed relational query or verifying.ClothesIt can store the information such as identity characteristic, the payment account of user on business device, and relevant information can be safeguarded and be updated.SeparatelyOutside, the processes such as the processing of payment request, the record of payment result and feedback also can all be run on the server.
Step S620. acquires the biological characteristic to be identified of user, and biological characteristic to be identified is sent to server.
Other than the Numerical Index information of acquisition user, this step will also acquire the biological characteristic to be identified of user, toIdentification biological characteristic is primarily referred to as the external physiologic sign of user, such as can be the face characteristic, fingerprint characteristic, iris of userFeature etc. is convenient for acquisition and the biological characteristic identified.After the biological characteristic to be identified for collecting user, this step will wait for this to knowOther biological characteristic is sent to server, so that server carries out living things feature recognition and matching.
Step S630. receives the mesh for existing on server and matching with Numerical Index information and biological characteristic to be identifiedWhen marking the information of biological characteristic, paid using payment account corresponding with target biometric.
Server after the Numerical Index information and biological characteristic to be identified for receiving user, can by execute more thanThe method for payment provided in illustrative embodiments applied to server end obtains the index of corresponding information, verifyingOr the results such as identification, matching.If successful match, server can return to a confirmation message to client, this is reallyInformation is recognized for confirming there is the target organism to match with Numerical Index information and biological characteristic to be identified spy on serverSign.Then, this step is that available payment account corresponding with target biometric carries out reimbursement of expense.It is being applied to businessmanWhen side, fee payable can be taken off from the payment account;And when being applied to consumer side, then it can be paid a bill by the branchFamily pays corresponding expense to businessman.
In the method for payment that this illustrative embodiment provides, by will be associated with subscriber phone numberThe biological characteristic of Numerical Index information and user establish index relative, and the knowledge of user biological feature and payment account can be improvedOther and matching speed, so as to improve payment efficiency.Especially in the biggish situation of user volume, biology can effectively improveThe matching speed and matching accuracy of feature.In addition, this illustrative embodiment, which is used, maps to number for subscriber phone numberThe risk that the mode of index information can be exposed to avoid the complete phone number of user also improves while protecting privacy of userPayment safety.
As shown in fig. 7, acquiring the to be identified of user in step S620 in the another exemplary embodiment of the disclosureBiological characteristic may further include following steps:
The facial image of step S710. acquisition user.
Step S720. extracts the face characteristic of user from facial image, and face characteristic is special as biology to be identifiedSign.
This illustrative embodiment, can be directly using with figure using the face characteristic of user as biological characteristic to be identifiedAs the facial image of the terminal device acquisition user of acquisition function, realizes the payment of brush face, while improving payment efficiency, guaranteePayment safety.
Based on the method for payment that above every illustrative embodiments provide, the disclosure also provides one kind and is set up inThe device for payment of client.As shown in figure 8, the device mainly may include: information receiving module 810, collection apparatusModule 820 and payment module 830.Wherein, information receiving module 810 is configured as receiving associated with the phone number of userNumerical Index information, and Numerical Index information is sent to server.Collection apparatus module 820 be configured as acquisition user toIt identifies biological characteristic, and biological characteristic to be identified is sent to server.Payment module 830 is configured as receiving on serverIn the presence of the target biometric to match with Numerical Index information and biological characteristic to be identified information when, using raw with targetThe corresponding payment account of object feature is paid.
The detail of the above-mentioned device for payment for being set up in client is in the corresponding method for paymentIn be described in detail, therefore details are not described herein again.
It should be noted that, although foregoing exemplary embodiment describes each of method in the disclosure with particular orderStep, still, this does not require that perhaps hint must execute these steps in this particular order or have to carry out wholeThe step of be just able to achieve desired result.Additionally or alternatively, it is convenient to omit multiple steps are merged into one by certain stepsA step executes, and/or a step is decomposed into execution of multiple steps etc..
In addition, although being referred to several modules or unit for acting the equipment executed in the above detailed description,But it is this divide it is not enforceable.In fact, according to embodiment of the present disclosure, two or more above-described modulesEither the feature and function of unit can embody in a module or unit.Conversely, an above-described module orThe feature and function of person's unit can be to be embodied by multiple modules or unit with further division.
Below with reference to a concrete application scene to provide in disclosure illustrative embodiments for payment method andDevice is described in detail.
The application scenarios are related to a kind of brush face payment scheme.Specifically, it when user opens the payment of brush face, saves and safeguardsThe index relative of user seven cell-phone numbers and user's face characteristic;In user's payment, with the corresponding rope of seven cell-phone numbers of userIt is introduced through filter and prevents the user not opened, and it is special also quickly to search out the relatively small number of candidate face of quantity with the indexAccount set is levied, the matching of face characteristic is then only carried out in the candidate collection of this negligible amounts.
Entire brush face payment link is divided into two big processes: opening process and payment flow.It needs to clap opening workflow userTake the photograph or upload one clearly facial picture to server end.In payment flow, user is in the equipment for supporting the payment of brush faceOn paid, payment devices automatic shooting user clearly facial characteristics upload to remote server carry out user identity judgementAnd identification.
1. opening process
1.1 users shoot upload its facial characteristics clearly face-image to server end, server end check plot firstWhether image quality amount meets the requirements, if is a qualified face clearly facial image, mentions if image is unsatisfactory for requiringShow that user re-shoots.
If the facial image that 1.2 users upload is met the requirements, checking whether the account of user is relevant can be quickThe bank card of payment, if prompting user tie up card operation without if.
1.3 are associated the face characteristic of user and its draw bank card chosen in server end.
1.4 cell-phone numbers bound from the similar service acquisition of customer center account, extract cell-phone number front three and rear fourPosition one seven bit digital of composition, that is to say seven cell-phone numbers, establish the index relative of this seven cell-phone numbers and user's face characteristic.
2. the step of payment flow
2.1 server ends for each opened brush face payment user account, maintenance one can real-time update useSeven, family cell-phone number (first three plus four, end), and index is established to seven cell-phone numbers.
The update of 2.2 indexes.The cell-phone number of user account binding may often change, therefore in addition to needing to infuse in userSeven cell-phone numbers of user's binding are saved when volume, it is also necessary to dynamically update the cell-phone number of user in real time.Specifically, updatingMovement occurs in three links: (1) user opens seven cell-phone numbers index that user is saved when the payment of brush face;(2) user paysWhen, if finally having identified user account, need to update seven cell-phone number indexes of user in real time according to user account;(3)With some additional threads, goes to check that each has opened brush face payment accounts compared with short time-delay every a fixation, check that its is rightWhether the complete cell-phone number for the binding answered has update, if the complete cell-phone number of binding has update, extracts user seven againCell-phone number updates index.Specifically, index upgrade part can follow the steps below: between being with preset time every other weekThe phone number of user is obtained to phase property, and using the phone number before interval as the first number, by the phone number behind intervalAs the second number;Judge whether the second number is identical as the first number;When the second number and the first number difference, is utilizedThe Numerical Index information of two numbers update user.
Prompt user first is in the equipment for supporting brush face four after input handset front three and tail number when 2.3 payment,Intermediate four are indicated with asterisk (*), are not needed user and are inputted, can guarantee that the complete cell-phone number of user is not leaked in this wayInto public space.
Seven cell-phone numbers (first three plus afterwards four) that user inputs are transmitted to server by 2.4 brush face device clientsEnd.Whether seven cell-phone numbers index that server end is established before has been registered come seven cell-phone numbers for judging that user inputsCrossing the payment of brush face means that user did not open brush if not finding seven cell-phone numbers of user's input according to indexFace payment.
2.5 if seven cell-phone numbers of user carry out In vivo detection and typing by brush face equipment by verifying automaticallyUser's face clearly upload onto the server by face head portrait.
After 2.6 server ends receive the facial image of user, the face characteristic of user is extracted first.Then defeated with userSeven cell-phone numbers (first three plus after four) entered are index, find the user that all seven cell-phone numbers are identical with this in databaseFeature forms candidate face characteristic set.It is found in candidate face characteristic set with the face characteristic of user again similarSpend the face characteristic of a highest account.If the face characteristic of the account and the matched similarity of the face characteristic of user are stillSo it is lower than some threshold value, then means that user may not opened the payment of brush face or be led due to light or equipmentCause photographic quality undesirable.At this moment brush face device clients can retry certain number, the face until identifying user automaticallyOr finally refuse this payment request of user beyond number of retries threshold value.
If the similarity of face characteristic is greater than credible threshold when 2.7 similarities for matching the account come are paid with userValue, then representing the account is to pay the account of user.Exempt from close payment transaction in server end initiation with this account, is finally completedThe order transaction of user.
Compared with the scheme completely without input handset number, it is matched which can substantially reduce needsFace characteristic quantity.For Large-Scale Interconnected net enterprise, registration number of users is larger, many to break through 100,000,000 users.In the case, completeThe scheme for not needing input handset number entirely needs in the case where 100,000,000 registration user by the face characteristic of user and 100,000,000 accountsFace characteristic be compared.In this case performance can be relatively low, and will appear biggish false recognition rate.
Compared with the scheme for inputting complete 11 cell-phone numbers, the brush face payment scheme is in the case where guaranteeing recognition correct rateUser can be allowed not have to input handset centre four, it is therefore prevented that the risk that the complete cell-phone number of user is exposed and leaks.WithWhen family amount is within 1,000,000, the program for Most users account, face characteristic to be matched all only less than 10, becauseBasic free of losses in terms of this performance and safety.Even if, to payment request each time, waiting for candidate matching under 1,000,000,000 usersFace characteristic library quantity also only have 1000 or so, under existing face recognition technology, recognition performance and safety are allThere is no significantly sacrificing.
In the illustrative embodiments of the disclosure, a kind of computer readable storage medium is also provided, is stored thereon with meterCalculation machine program can realize the above-mentioned method for payment of the disclosure when computer program is executed by processor.OneIn a little possible embodiments, various aspects of the disclosure is also implemented as a kind of form of program product comprising programCode;The program product can store a non-volatile memory medium (can be CD-ROM, USB flash disk or mobile hard disk etc.)In or network on;When described program product a calculating equipment (can be personal computer, server, terminal installation orNetwork equipment etc.) on when running, said program code is for making above-mentioned each exemplary reality in the calculatings equipment execution disclosureApply the method and step in example.
It is shown in Figure 9, it, can according to the program product 900 for realizing the above method of embodiment of the present disclosureWith using portable compact disc read-only memory (CD-ROM) and including program code, and can be to calculate equipment (such as aPeople's computer, server, terminal installation or network equipment etc.) on run.However, the program product of the disclosure is without being limited thereto.In the present example embodiment, computer readable storage medium can be any tangible medium for including or store program, the journeySequence can be commanded execution system, device or device use or in connection.
Described program product can use any combination of one or more readable medium.Readable medium can be readableSignal media or readable storage medium storing program for executing.
Readable storage medium storing program for executing for example can be but be not limited to the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, deviceOr device or any above combination.The more specific example (non exhaustive list) of readable storage medium storing program for executing includes: with oneThe electrical connection of a or multiple conducting wires, portable disc, hard disk, random access memory (RAM), read-only memory (ROM), erasable typeProgrammable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), optical memoryPart, magnetic memory device or above-mentioned any appropriate combination.
Readable signal medium may include in a base band or as the data-signal that carrier wave a part is propagated, wherein carryingReadable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, optical signalOr above-mentioned any appropriate combination.Readable signal medium can also be any readable medium other than readable storage medium storing program for executing, shouldReadable medium can send, propagate or transmit for by instruction execution system, device or device use or it is in connectionThe program used.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, haveLine, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with any combination of one or more programming languages come write for execute the disclosure operation programCode, described program design language include object oriented program language, Java, C++ etc., further include conventional mistakeFormula programming language, such as C language or similar programming language.Program code can be calculated fully in user and be setStandby upper execution is partly executed on the user computing device, is set as an independent software package execution, partially in user's calculatingStandby upper part executes on a remote computing or executes in remote computing device or server completely.It is being related to remotelyIn the situation for calculating equipment, remote computing device can pass through the network of any kind (including local area network (LAN) or wide area network(WAN) etc.) it is connected to user calculating equipment;Or, it may be connected to external computing device, such as provided using Internet serviceQuotient is connected by internet.
In the illustrative embodiments of the disclosure, also offer a kind of electronic equipment, the electronic equipment include at least oneA processor and at least one be used for store the processor executable instruction memory;Wherein, the processor quiltIt is configured to execute the method and step in the disclosure in above-mentioned each exemplary embodiment via the executable instruction is executed.
The electronic equipment 1000 in this illustrative embodiment is described below with reference to Figure 10.Electronic equipment 1000 is onlyAn only example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
Shown in Figure 10, electronic equipment 1000 is showed in the form of universal computing device.The component of electronic equipment 1000It can include but is not limited to: at least one processing unit 1010, at least one storage unit 1020, the different system components of connectionThe bus 1030 of (including processing unit 1010 and storage unit 1020), display unit 1040.
Wherein, storage unit 1020 is stored with program code, and said program code can be executed with unit 1010 processed, be madeObtain the method and step in the execution disclosure of processing unit 1010 in above-mentioned each exemplary embodiment.
Storage unit 1020 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit1021 (RAM) and/or cache memory unit 1022 can further include read-only memory unit 1023 (ROM).
Storage unit 1020 can also include program/utility with one group of (at least one) program module 10251024, such program module includes but is not limited to: operating system, one or more application program, other program modules withAnd program data, it may include the realization of network environment in each of these examples or certain combination.
Bus 1030 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storageCell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in various bus structuresLocal bus.
Electronic equipment 1000 can also be with one or more external equipments 1100 (such as keyboard, sensing equipment, bluetooth equipmentDeng) communication, the equipment communication that user can also be allowed to interact with the electronic equipment 1000 with one or more, and/orWith enable the electronic equipment 1000 and one or more other calculate any equipment that equipment are communicated (such as router,Modem etc.) communication.This communication can be carried out by input/output (I/O) interface 1050.Also, electronic equipment1000 can also by network adapter 1060 and one or more network (such as local area network (LAN), wide area network (WAN) and/Or public network, such as internet) communication.As shown in Figure 10, network adapter 1060 can be set by bus 1030 with electronicsStandby 1000 other modules communicate.It should be understood that although not shown in the drawings, other hardware can be used in conjunction with electronic equipment 1000And/or software module, including but not limited to: microcode, device driver, redundant processing unit, external disk drive array,RAID system, tape drive and data backup storage system etc..
It will be appreciated by those skilled in the art that various aspects of the disclosure can be implemented as system, method or program product.Therefore, various aspects of the disclosure can be with specific implementation is as follows, it may be assumed that complete hardware embodiment, complete softwareThe embodiment that embodiment (including firmware, microcode etc.) or hardware and software combine, may be collectively referred to as here " circuit "," module " or " system ".
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosureIts embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes orPerson's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosureOr conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by appendedClaim is pointed out.
Above-mentioned described feature, structure or characteristic can be incorporated in one or more embodiment party in any suitable mannerIn formula, if possible, it is characterized in discussed in each embodiment interchangeable.In the above description, it provides many specific thinSection fully understands embodiment of the present disclosure to provide.It will be appreciated, however, by one skilled in the art that this can be practicedDisclosed technical solution, or can be using other methods, component, material without one or more in specific detailDeng.In other cases, known features, material or operation are not shown in detail or describe to avoid each side of the fuzzy disclosureFace.