A kind of payment system based on gait feature, method and device
Technical field
This application involves mobile payment technical fields, more particularly, to a kind of payment system based on gait feature, method
And device.
Background technique
In recent years, universal due to the rapid development of wireless Internet and smart phone, mobile payment technology is constantly reformed,
Mobile payment enters booming period.However, mobile payment is while booming, the limitation of the means of payment
Gradually display.
Currently, mobile payment mainly uses close contact formula to pay, such as fingerprint payment, face payment or password payment
Deng however, the payment of close contact formula is probably due to fingerprint is impaired or finger is moist, facial characteristics is unintelligible (such as wears masks, adornment
Hold change etc.) or the reasons such as password loss or forgetting cause payment fail, leverage user experience.
Summary of the invention
In view of this, the application's is designed to provide a kind of payment system based on gait feature, method and device, with
Reduce the limitation closely paid in mobile payment.
In a first aspect, the embodiment of the present application provides a kind of method of payment based on gait feature, executed by first terminal,
Include:
Receive the payment prompting message being used to indicate to second terminal payment expense that service server is sent, the payment
Prompting message includes the mailing address of the first Fee Amount and the second terminal to be paid;
Based on the mailing address of the second terminal, Xiang Suoshu second terminal sends default gait feature;And Xiang Suoshu
Service server pays the second Fee Amount.
With reference to first aspect, the embodiment of the present application provides the first possible embodiment of first aspect, wherein institute
State method further include:
After receiving the payment failed message that the service server is sent, the position letter of the first terminal is determined
Breath;
Acquire the face-image of at least one first user;
The face-image of the location information and first user is sent to pre- with first terminal binding
If terminal.
Second aspect, the embodiment of the present application provide a kind of method of payment based on gait feature, are executed by second terminal,
Include:
Based on the monitor video that second user is selected, the gait feature of the first user using the first terminal is obtained;
Payment request message is sent to service server, carries the first expense to be paid in the payment request message
The amount of money;
It, will the default gait feature and described the after receiving the default gait feature that the first terminal is sent
The gait feature of one user matches;
Based on obtained matching result, it is determined whether the gold of the second expense described in request in Xiang Suoshu service server
Volume.
In conjunction with second aspect, the embodiment of the present application provides the first possible embodiment of second aspect, wherein institute
It states based on obtained matching result, it is determined whether the second Fee Amount described in request in Xiang Suoshu service server, specifically
Include:
If the matching result is successful match, second Fee Amount is obtained to the service server;
If the matching result is that it fails to match, payment failure information is sent to the service server.
In conjunction with the first possible embodiment of second aspect, the embodiment of the present application provides second of second aspect
Possible embodiment, wherein after obtaining second Fee Amount to the service server, the method also includes:
When from second Fee Amount that the service server obtains and the payment prompting message include to
When first Fee Amount of payment is inconsistent, second Fee Amount obtained from the service server is retracted into described
Service server.
In conjunction with the first possible embodiment of second aspect, the embodiment of the present application provides the third of second aspect
Possible embodiment, wherein after obtaining second Fee Amount to the service server, the method also includes:
When from the service server obtain second Fee Amount be greater than it is described payment prompt information in include to
When the first Fee Amount of payment, Xiang Suoshu first terminal sends rollback info, and in the confirmation for receiving first terminal transmission
When rollback info, by from second Fee Amount that the service server obtains exceed the payment prompt information in wrap
The amount of money of the first Fee Amount to be paid included is retracted into the service server;
When from the service server obtain second Fee Amount be less than it is described payment prompt information in include to
When the first Fee Amount of payment, the prompt information of Xiang Suoshu first terminal and service server transmission insufficient in amount,
In, it include the amount of money lacked in the prompt information of the insufficient in amount.
The third aspect, the embodiment of the present application also provide a kind of payment system based on gait feature, comprising: first terminal,
Second terminal and service server;
The second terminal, the monitor video for being selected based on second user, obtains the using the first terminal
The gait feature of one user, and payment request message is sent to the service server, it is carried in the payment request message
First Fee Amount to be paid;After receiving the default gait feature that the first terminal is sent, by the default step
State feature is matched with the gait feature of first user;Based on obtained matching result, it is determined whether Xiang Suoshu business
The second Fee Amount of request in server;
The service server, for after receiving the payment request message, the transmission of Xiang Suoshu first terminal to be used for
Indicate that the payment prompting message that expense is paid to the second terminal, the payment prompting message include described to be paid first
The mailing address of Fee Amount and the second terminal;And
After receiving the payment failed message that the second terminal is sent, Xiang Suoshu first terminal sends payment and unsuccessfully disappears
Breath;
The first terminal, for after receiving the payment prompting message, communicatedly based on the second terminal
Location, Xiang Suoshu second terminal send default gait feature, and, Xiang Suoshu service server pays second Fee Amount.
The third aspect, the embodiment of the present application provide a kind of payment mechanism based on gait feature, comprising:
First receiving module, for receiving the payment of service server transmission being used to indicate to second terminal payment expense
Prompting message, the payment prompting message include the mailing address of the first Fee Amount and the second terminal to be paid;
First sending module, for the mailing address based on the second terminal, Xiang Suoshu second terminal sends default step
State feature;And Xiang Suoshu service server pays the second Fee Amount.
In conjunction with the third aspect, the embodiment of the present application provides the first possible embodiment of the third aspect, wherein institute
State device further include:
First determining module, described in determining after receiving the payment failed message that the service server is sent
The location information of first terminal;
Acquisition module, for acquiring the face-image of at least one first user;
First sending module is also used to for the face-image of the location information and first user being sent to
With the default terminal of first terminal binding.
Fourth aspect, the embodiment of the present application provide a kind of payment mechanism based on gait feature, comprising:
Module is obtained, the monitor video for being selected based on second user is obtained and used using the first of the first terminal
The gait feature at family;
Second sending module carries in the payment request message for sending payment request message to service server
There is the first Fee Amount to be paid;
Matching module, for after receiving the default gait feature that the first terminal is sent, by the default step
State feature is matched with the gait feature of first user;
Second determining module, for based on obtained matching result, it is determined whether request obtains in Xiang Suoshu service server
Take second Fee Amount.
In conjunction with fourth aspect, the embodiment of the present application provides the first possible embodiment of fourth aspect, wherein institute
The second determining module is stated, for based on obtained matching result, it is determined whether request institute in Xiang Suoshu service server
When stating the second Fee Amount, it is specifically used for:
If the matching result is successful match, second Fee Amount is obtained to the service server;
If the matching result is that it fails to match, payment failure information is sent to the service server.
In conjunction with the first possible embodiment of fourth aspect, the embodiment of the present application provides second of fourth aspect
Possible embodiment, wherein described device further include:
Module is checked, for being taken after obtaining second Fee Amount to the service server when from the business
Second Fee Amount that business device obtains and the first Fee Amount to be paid for including in the payment prompting message are different
When cause, second Fee Amount obtained from the service server is retracted into the service server.
In conjunction with the first possible embodiment of fourth aspect, the embodiment of the present application provides the third of fourth aspect
Possible embodiment, wherein described device further include:
Excess processing module, for being mentioned when from service server acquisition second Fee Amount greater than the payment
When showing the first Fee Amount to be paid for including in information, Xiang Suoshu first terminal sends rollback info, and is receiving the
It is described by exceeding from second Fee Amount that the service server obtains when the confirmation rollback info that one terminal is sent
The amount of money for the first Fee Amount to be paid for including in payment prompt information is retracted into the service server;
Vacancy processing module, for being mentioned when from service server acquisition second Fee Amount less than the payment
When showing the first Fee Amount to be paid for including in information, Xiang Suoshu first terminal and the service server send the amount of money not
The prompt information of foot, wherein include the amount of money lacked in the prompt information of the insufficient in amount.
5th aspect, the embodiment of the present application also provide a kind of electronic equipment, comprising: processor, memory and bus, it is described
Memory is stored with the executable machine readable instructions of the processor, when electronic equipment operation, the processor with it is described
By bus communication between memory, the machine readable instructions executed when being executed by the processor above-mentioned first aspect or
Step in any possible embodiment of first aspect, in second aspect or any possible embodiment of second aspect
Suddenly.
Fourth aspect, the embodiment of the present application also provide a kind of computer readable storage medium, the computer-readable storage medium
It is stored with computer program in matter, executes first aspect when which is run by processor or first aspect is any
Step in possible embodiment, in second aspect or any possible embodiment of second aspect.
Payment system provided by the embodiments of the present application based on gait feature, method and device, second terminal are based on second
The monitor video that user selectes obtains the gait feature of the first user using first terminal, and sends branch to service server
Pay request message;After service server receives payment request message, payment request message is sent to first terminal, for referring to
Show that first terminal pays expense;After first terminal receives payment request message, default gait feature is sent to second terminal,
The second Fee Amount is sent to service server simultaneously;Second terminal is in the default gait feature for receiving first terminal transmission
Afterwards, the gait feature extracted from monitor video is matched with received default gait feature, and after successful match, from
Service server obtains the second Fee Amount.It, can by the interaction between first terminal, second terminal and service server
To realize that the first user carries out mobile payment by gait feature, reduce what close contact formula in existing mobile payment was paid
Limitation improves user experience.
To enable the above objects, features, and advantages of the application to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows the configuration diagram of the payment system based on gait feature provided by the embodiment of the present application;
Fig. 2 shows a kind of flow diagrams of payment system based on gait feature provided by the embodiment of the present application;
Fig. 3 shows a kind of flow chart of the method for payment based on gait feature provided by the embodiment of the present application;
Fig. 4 shows the flow chart of method of payment of the another kind provided by the embodiment of the present application based on gait feature;
Fig. 5 shows a kind of framework signal of the payment mechanism 500 based on gait feature provided by the embodiment of the present application
Figure;
Fig. 6 shows a kind of framework signal of the payment mechanism 600 based on gait feature provided by the embodiment of the present application
Figure;
Fig. 7 shows the structural schematic diagram of a kind of electronic equipment 700 provided by the embodiment of the present application;
Fig. 8 shows the structural schematic diagram of a kind of electronic equipment 800 provided by the embodiment of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
Middle attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only
It is some embodiments of the present application, instead of all the embodiments.The application being usually described and illustrated herein in the accompanying drawings is real
The component for applying example can be arranged and be designed with a variety of different configurations.Therefore, below to the application's provided in the accompanying drawings
The detailed description of embodiment is not intended to limit claimed scope of the present application, but is merely representative of the selected reality of the application
Apply example.Based on embodiments herein, those skilled in the art institute obtained without making creative work
There are other embodiments, shall fall in the protection scope of this application.
In view of in existing mobile payment, the limitation of close contact formula payment is based on this, and the embodiment of the present application provides
A kind of payment system based on gait feature, method and device, are described below by embodiment.
Firstly, it is shown in Figure 1, it is the possible payment system based on gait feature of one kind provided by the embodiments of the present application
Configuration diagram, should payment system based on gait feature include: first terminal, second terminal and service server.Its
In, first terminal can be customer end, can be deployed on customer's mobile phone, and second terminal can be businessman end, service server
It can be the server for being capable of providing temporary business.For convenient for understanding the present embodiment, first to the embodiment of the present application institute
A kind of disclosed payment system based on gait feature describes in detail.
Embodiment one
It is shown in Figure 2, for a kind of process signal of the payment system based on gait feature provided by the embodiments of the present application
Figure, comprising the following steps:
The monitor video that S201, second terminal are selected based on second user, obtains the first user's for using first terminal
Gait feature.
Optionally, it as long as gait feature of the monitor video comprising the first user, can be regarded for the monitoring of designated place
Frequently, such as the monitor video of cashier, it is also possible to any monitor video, such as the monitor video inside supermarket.
In this step, the selected monitor video of second user can be the monitor video of seclected time period, such as selection the
Preceding 30 second monitor video of one user in payment is also possible to the monitoring view that second user is independently selected by monitor video
Frequently, such as can from monitor video optional one section include the first user monitor video.
In a kind of possible embodiment, above-mentioned monitor video can also be selected by the first user.Such as in self-service purchase
In object supermarket, the first user, can be by independently selecting the monitor video comprising the first user in payment.
In a kind of possible embodiment, can by but be not limited only to the Method of Gait Feature Extraction based on Hough transformation and calculate
Method, the Method of Gait Feature Extraction algorithm based on particle filter tracking and the Method of Gait Feature Extraction algorithm based on support vector machines,
This will not be described in great detail.
S202, second terminal send payment request message to service server.
Wherein, the first Fee Amount with payment is carried in the payment request message, the first Fee Amount can be by
Second user input, for example, the first Fee Amount paid needed for being manually entered by cashier.
In the embodiment of another possibility, the first Fee Amount can be inputted by first user's barcode scanning, such as certainly
Shopping supermarket is helped, the first Fee Amount can be obtained by the first user by self-help shopping system items scanning two dimensional code, second
Terminal sends the payment request comprising the first Fee Amount to service server and disappears after receiving the second Fee Amount information
Breath.
S203, service server send payment prompting message to first terminal.
Wherein, above-mentioned payment prompt information is used to indicate to second terminal and pays expense, and payment prompting message includes wait prop up
The mailing address of the first Fee Amount and second terminal paid, the first Fee Amount is for prompting the first user should be to the
The amount of money number of two terminals payment.
For second terminal after sending payment request message to service server, service server just obtains second eventually simultaneously
The mailing address at end.Service server sends the communication comprising the first Fee Amount and second terminal to be paid to first terminal
After the payment prompting message of address, it can independently be chosen whether to establish communication connection with second terminal by first terminal.
S204, first terminal send the second Fee Amount to service server.
Wherein, the second Fee Amount and the first Fee Amount to be paid in payment prompting message can it is identical can also be with
It is different.It can be the tip that the first user pays to second user beyond part if the second expense can be greater than the first expense.
S205, first terminal send default gait feature to second terminal.
In a kind of possible embodiment, default gait feature can be that the gait that is stored in first terminal database is special
Sign, default gait feature can be the gait feature of the lawful owner of first terminal.For example, if first terminal is mobile phone,
Default gait feature can be the gait feature of owner.
Wherein, the execution of S204 and S205 in no particular order sequence, execution can be synchronized.
S206, second terminal are based on received default gait feature and the gait feature extracted from monitor video determination
It is no to the second Fee Amount of service server request.
It, can be special with the gait extracted from monitor video by the received default gait feature of second terminal in specific implementation
Sign is matched, if successful match, the second Fee Amount is obtained to service server, if it fails to match, to business service
Device sends payment failure information.
In the embodiment of the application, second terminal can will obtain after obtaining the second Fee Amount to service server
The second Fee Amount taken and the first Fee Amount to be paid for including in payment prompting message are compared, if the second expense
The amount of money and the first Fee Amount are inconsistent, then move back the second Fee Amount to service server, service server is again by second
Fee Amount is retracted into first terminal, and prompts first terminal payment failure.
In another embodiment, if second terminal obtain the second Fee Amount and payment prompting message in
When first Fee Amount of payment is inconsistent, there are two types of possible situations: the second Fee Amount is greater than the feelings of the first Fee Amount
The case where condition and the second Fee Amount are less than the first Fee Amount.
One: the second Fee Amount of situation is greater than the first Fee Amount.
When the second Fee Amount is greater than the first Fee Amount, second terminal can send rollback info to first terminal,
And when receiving the confirmation rollback info of first terminal transmission in preset duration, the second expense for will being obtained from service server
The amount of money in the amount of money more than the first Fee Amount is retracted into service server, and business service area is retracted into the amount of money that will pulled back from
One terminal.
If message is retracted in the confirmation that second terminal is not received by first terminal in preset duration, then the second expense is golden
Volume can all return second terminal all.
Such as in supermarket's payment, the first Fee Amount that first terminal should be paid is 50 yuan, but first terminal exists
The second Fee Amount paid when actual delivery is 70 yuan, is disappeared then second terminal can send one and retract to first terminal
Breath retracts message if sending in distance if preset duration is 3 minutes, from second terminal is at the time of message is retracted in transmission
Moment within 3 minutes, receives confirmation and retracts message, then second terminal is retracted into service server, industry for extra 20 yuan
Will pulled back from 20 yuan of business server are retracted into first terminal;If being more than 3 minutes at the time of distance sends and retracts message, second eventually
End does not receive confirmation yet and retracts message, then 70 yuan of wholes of first terminal payment return second terminal all.
Two: the second Fee Amount of situation is less than the first Fee Amount.
A kind of possible embodiment, when second terminal obtains the second Fee Amount less than the first expense from service server
When the amount of money, second terminal sends the prompting message that Sorry, your ticket has not enough value to first terminal, if receiving first terminal in preset duration
Mend payment the amount of money, then to service server send payment success message, service server again to first terminal send payment at
Function message;If position receives the amount of money that first terminal mends payment in preset duration, the second Fee Amount received is moved back
It is back to service server, and sends payment failed message to service server.
For example, payable first Fee Amount of first terminal is 50 yuan, the second Fee Amount of first terminal payment is
30 yuan, then the Fee Amount that obtains from service server of second terminal is 30 yuan, then second terminal can to first terminal and
Service server sends the prompting message that Sorry, your ticket has not enough value, wherein the amount of money in the prompt information that Sorry, your ticket has not enough value comprising lacking.If pre-
If when it is 3 minutes a length of, then after first terminal receives the prompting message that Sorry, your ticket has not enough value, if being mentioned what distance received that Sorry, your ticket has not enough value
Show the message moment within 3 minutes, 20 yuan is paid to service server, if service server also receives the prompt that Sorry, your ticket has not enough value
When information, service server is sent to second terminal for 20 yuan of payment automatically;If receiving the prompt that Sorry, your ticket has not enough value in distance
The message moment is more than 3 minutes, then the second Fee Amount received can be retracted into service server by second terminal, and to industry
Business server sends payment failed message, and the second Fee Amount is retracted into first terminal again by service server, and eventually to first
End sends payment failed message.
In the implementation of another possibility, by the received default gait feature of second terminal with extract from monitor video
Gait feature is matched, if it fails to match, second terminal will not obtain the second expense to requested service server.
When it fails to match, first terminal can determine the location information of first terminal, and acquire at least one first use
The face-image at family, and the face-image for the location information and the first user that will acquire be sent to first terminal binding it is pre-
If terminal.
For example, after user mobile phone loss, being somebody's turn to do if other people will use if first terminal is deployed on user mobile phone
When the mobile phone of user is paid, because other people gait feature is different from the gait feature of user, it can not pay, into
One step has ensured account fund safety.
In the system provided by the embodiment of the present application, only when the received default gait feature of second terminal and from monitoring
The gait feature of the first user extracted in video matches, and asks from the second Fee Amount that service server obtains with payment
When asking the first Fee Amount for including in message consistent, Cai Huixiang service server sends payment success message, service server
Payment success message is sent to first terminal again;
When gait feature mismatches, second terminal can send payment failed message, service server to service server
Payment failed message can be sent to first terminal;
When the second Fee Amount is more than the first Fee Amount, second terminal sends rollback info to first terminal, at this time
Payment success message can't be sent to service server, the confirmation for only receiving first terminal transmission within a preset time is retracted
When message, the partial amount in the second Fee Amount more than the first Fee Amount is retracted into this service server, and take to business
Device of being engaged in sends payment success message, and the partial amount that service server again retracts second terminal is retracted into first terminal, and to
First terminal sends payment success message;Or be not received by confirmation in preset duration and retract message, then to business service
Device sends payment success message, and service server sends payment success message to first terminal again;
When the second Fee Amount is less than the first Fee Amount, second terminal sends gold to first terminal and service server
The insufficient prompting message of volume, wherein in prompting message comprising the amount of money that lacks, service server receives the in preset duration
The amount of money of one terminal payment lacked, send second terminal for the amount of money lacked automatically, and second terminal lacks receiving
When the amount of money, payment success message is sent to service server, service server is sent to first terminal for success message is paid;Or
Person, second terminal do not receive the amount of money lacked in preset duration, then second terminal will be obtained from service server
Two Fee Amounts are retracted into service server, and send payment failed message to service server, and service server is again by second
Fee Amount is retracted into first terminal, and sends payment failed message to first terminal.
Payment system provided by the embodiments of the present application based on gait feature, the prison that second terminal is selected based on second user
Video is controlled, obtains the gait feature of the first user using first terminal, and send payment request message to service server;Industry
After business server receives payment request message, payment request message is sent to first terminal, is used to indicate first terminal branch
Payment is used;After first terminal receives payment request message, default gait feature is sent to second terminal, while second being taken
Service server is sent to the amount of money;Second terminal, will be from monitoring after the default gait feature for receiving first terminal transmission
The gait feature extracted in video is matched with received default gait feature, and after successful match, from service server
Obtain the second Fee Amount.By the interaction between first terminal, second terminal and service server, first may be implemented
User carries out mobile payment by gait feature, reduces the limitation that close contact formula is paid in existing mobile payment, mentions
High user experience.
Embodiment two
It is shown in Figure 3, it is a kind of flow chart of the method for payment based on gait feature provided by the embodiments of the present application, by
First terminal executes, comprising the following steps:
S301, the payment prompting message being used to indicate to second terminal payment expense that service server is sent is received.
Wherein, payment prompting message includes the mailing address of the first Fee Amount and second terminal to be paid.
S302, the mailing address based on second terminal send default gait feature to second terminal.
After second terminal receives default gait feature, by default gait feature and the monitor video selected from second user
The gait feature of the first user using first terminal of middle extraction matches, if it fails to match, sends out to service server
Payment failed message is sent, payment failed message is sent to first terminal again by service server, and first terminal is receiving payment
After failed message, following operation can also carry out:
Determine the location information of first terminal;
Acquire the face-image of at least one the first user;
The face-image of location information and the first user is sent to the default terminal with first terminal binding.
S303, the second Fee Amount is paid to service server.
Wherein, the execution of S302 and S303 in no particular order sequence.
Embodiment three
It is shown in Figure 4, for a kind of process signal of the method for payment based on gait feature provided by the embodiments of the present application
Figure, comprising the following steps:
S401, the monitor video selected based on second user, obtain the gait feature of the first user using first terminal.
S402, payment request message is sent to service server.
S403, receive first terminal transmission default gait feature after, by default gait feature and the first user
Gait feature matched.
S404, based on obtained matching result, it is determined whether the second Fee Amount of request into service server.
Specifically, obtaining the second expense gold to the service server if the matching result is successful match
Volume;
If the matching result is that it fails to match, payment failure information is sent to the service server.
After obtaining second Fee Amount to the service server, described in being obtained from the service server
It, will be from the industry when the first Fee Amount to be paid for including in second Fee Amount and the payment prompting message is inconsistent
Second Fee Amount that business server obtains is retracted into the service server;Or,
When from the service server obtain second Fee Amount be greater than it is described payment prompt information in include to
When the first Fee Amount of payment, Xiang Suoshu first terminal sends rollback info, and in the confirmation for receiving first terminal transmission
When rollback info, by from second Fee Amount that the service server obtains exceed the payment prompt information in wrap
The amount of money of the first Fee Amount to be paid included is retracted into the service server;
When from the service server obtain second Fee Amount be less than it is described payment prompt information in include to
When the first Fee Amount of payment, the prompt information of Xiang Suoshu first terminal and business personnel's server transmission insufficient in amount.
Example IV
It is shown in Figure 5, it is that a kind of framework of the payment mechanism 500 based on gait feature provided by the embodiments of the present application shows
It is intended to, which includes the first receiving module 501 and the first sending module 502.
Specifically, the first receiving module 501, pays for receiving being used to indicate to second terminal for service server transmission
The payment prompting message of expense, the payment prompting message includes the first Fee Amount to be paid and the second terminal
Mailing address;
First sending module 502, for the mailing address based on the second terminal, Xiang Suoshu second terminal sends default
Gait feature;And Xiang Suoshu service server pays the second Fee Amount.
Optionally, described device 500 further include:
First determining module 503, for determining institute after receiving the payment failed message that the service server is sent
State the location information of first terminal;
Acquisition module 504, for acquiring the face-image of at least one first user;
First sending module 505 is also used to send out the location information and the face-image of first user
It send to the default terminal bound with the first terminal.
Embodiment five
It is shown in Figure 6, it is that a kind of framework of the payment mechanism 600 based on gait feature provided by the embodiments of the present application shows
It is intended to, which includes: to obtain module 601, the second sending module 602, matching module 603 and the second determining module
604。
Specifically, obtaining module 601, the monitor video for being selected based on second user is obtained using described first eventually
The gait feature of first user at end;
Second sending module 602 is taken in the payment request message for sending payment request message to service server
With the first Fee Amount to be paid;
Matching module 603, for that described will preset after receiving the default gait feature that the first terminal is sent
Gait feature is matched with the gait feature of first user;
Second determining module 604, for based on obtained matching result, it is determined whether requested in Xiang Suoshu service server
Obtain second Fee Amount.
Second determining module 604, for based on obtained matching result, it is determined whether Xiang Suoshu service server
When the second Fee Amount described in middle request, it is specifically used for:
If the matching result is successful match, second Fee Amount is obtained to the service server;
If the matching result is that it fails to match, payment failure information is sent to the service server.
Optionally, described device 600 further include:
Module 605 is checked, for after obtaining second Fee Amount to the service server, when from the business
The first Fee Amount to be paid for including in second Fee Amount and the payment prompting message that server obtains is not
When consistent, second Fee Amount obtained from the service server is retracted into the service server.
Optionally, described device 600 further include:
Excess processing module 606 obtains second Fee Amount greater than the branch for working as from the service server
When paying the first Fee Amount to be paid for including in prompt information, Xiang Suoshu first terminal sends rollback info, and is receiving
To first terminal send confirmation rollback info when, will exceed from second Fee Amount that the service server obtains
The amount of money for the first Fee Amount to be paid for including in the payment prompt information is retracted into the service server;
Vacancy processing module 607 obtains second Fee Amount less than the branch for working as from the service server
When paying the first Fee Amount to be paid for including in prompt information, Xiang Suoshu first terminal is sent and business service area gold
The insufficient prompt information of volume.
Embodiment six
As shown in fig. 7, being the structural schematic diagram of a kind of electronic equipment 700 provided by the embodiments of the present application, comprising: processor
701, memory 702 and bus 703;
The memory 702 is stored with the executable machine readable instructions of the processor 701 (for example, including in Fig. 5
First receiving module 501 and the first sending module 502 is corresponding executes instruction), when electronic equipment 700 is run, the place
It is communicated between reason device 701 and the memory 702 by bus 705, the machine readable instructions are executed by the processor 701
Shi Zhihang is handled as follows:
Receive the payment prompting message being used to indicate to second terminal payment expense that service server is sent, the payment
Prompting message includes the mailing address of the first Fee Amount and the second terminal to be paid;
Based on the mailing address of the second terminal, Xiang Suoshu second terminal sends default gait feature;And Xiang Suoshu
Service server pays the second Fee Amount.
Optionally, in the processing that processor 701 executes further include:
After receiving the payment failed message that the service server is sent, the position letter of the first terminal is determined
Breath;
Acquire the face-image of at least one first user;
The face-image of the location information and first user is sent to pre- with first terminal binding
If terminal.
Embodiment seven
As shown in figure 8, being the structural schematic diagram of a kind of electronic equipment 800 provided by the embodiments of the present application, comprising: processor
801, memory 802 and bus 803;
The memory 802 is stored with the executable machine readable instructions of the processor 801 (for example, including in Fig. 6
Obtain module 601, the second sending module 602, matching module 603 and the second determining module 604 be corresponding executes instruction), when
When electronic equipment 800 is run, communicated between the processor 801 and the memory 802 by bus 805, the machine can
Following processing is executed when reading instruction is executed by the processor 801:
Based on the monitor video that second user is selected, the gait feature of the first user using the first terminal is obtained;
Payment request message is sent to service server, carries the first expense to be paid in the payment request message
The amount of money;
It, will the default gait feature and described the after receiving the default gait feature that the first terminal is sent
The gait feature of one user matches;
Based on obtained matching result, it is determined whether the gold of the second expense described in request in Xiang Suoshu service server
Volume.
Optionally, described based on obtained matching result, it is determined whether Xiang Suoshu industry in the processing that processor 801 executes
Second Fee Amount described in request in business server, specifically includes:
If the matching result is successful match, second Fee Amount is obtained to the service server;
If the matching result is that it fails to match, payment failure information is sent to the service server.
Optionally, in the processing that processor 801 executes, second Fee Amount is being obtained to the service server
Afterwards, further includes:
When from second Fee Amount that the service server obtains and the payment prompting message include to
When first Fee Amount of payment is inconsistent, second Fee Amount obtained from the service server is retracted into described
Service server.
Optionally, in the processing that processor 801 executes, second Fee Amount is being obtained to the service server
Afterwards, further includes:
When from the service server obtain second Fee Amount be greater than it is described payment prompt information in include to
When the first Fee Amount of payment, Xiang Suoshu first terminal sends rollback info, and in the confirmation for receiving first terminal transmission
When rollback info, by from second Fee Amount that the service server obtains exceed the payment prompt information in wrap
The amount of money of the first Fee Amount to be paid included is retracted into the service server;
When from the service server obtain second Fee Amount be less than it is described payment prompt information in include to
When the first Fee Amount of payment, the prompt information of Xiang Suoshu first terminal and business personnel's server transmission insufficient in amount.
The above method may be implemented first by the interaction between first terminal, second terminal and service server
User carries out mobile payment by gait feature, reduces the limitation that close contact formula is paid in existing mobile payment, mentions
High user experience.
Embodiment seven
The computer program product of the method for payment based on gait feature is carried out provided by the embodiment of the present application, including is deposited
The computer readable storage medium of the executable non-volatile program code of processor, the instruction that said program code includes are stored up
It can be used for executing previous methods method as described in the examples, specific implementation can be found in embodiment of the method, and details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in the executable non-volatile computer-readable storage medium of a processor.Based on this understanding, the application
Technical solution substantially the part of the part that contributes to existing technology or the technical solution can be with software in other words
The form of product embodies, which is stored in a storage medium, including some instructions use so that
One computer equipment (can be personal computer, server or the network equipment etc.) executes each embodiment institute of the application
State all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-Only
Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various to deposit
Store up the medium of program code.
Finally, it should be noted that embodiment described above, the only specific embodiment of the application, to illustrate the application
Technical solution, rather than its limitations, the protection scope of the application is not limited thereto, although with reference to the foregoing embodiments to this Shen
It please be described in detail, those skilled in the art should understand that: anyone skilled in the art
Within the technical scope of the present application, it can still modify to technical solution documented by previous embodiment or can be light
It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make
The essence of corresponding technical solution is detached from the spirit and scope of the embodiment of the present application technical solution, should all cover the protection in the application
Within the scope of.Therefore, the protection scope of the application shall be subject to the protection scope of the claim.