The content of the invention
This application describes a kind of implementation method of transactional operation, client and service end, the experience of user can be improved.
First aspect there is provided a kind of implementation method of transactional operation, including:
Sender's client obtains the pressing force angle value of the first control of sender user's touch-control described sender client;
According to the pressing force angle value, the first transaction password is determined;
The first transaction request for including the described first transaction password is sent to service end, first transaction request is used to refer to
Show that the service end sets up corresponding transaction event;
To recipient user send it is described first transaction password, so as to the recipient user by recipient's client to
The service end sends the second transaction request for including the second transaction password, wherein, the second transaction password is according to described
The pressing force angle value of second control of recipient's client described in recipient user's touch-control determines, second transaction request
For indicating that the service end, when judging that the first transaction password matches with the described second transaction password, performs described hand over
The corresponding transactional operation of easy event.
Second aspect there is provided a kind of implementation method of transactional operation, including:
Service end receives the first transaction request that sender's client is sent, and first transaction request includes the first transaction
Password, the first transaction password is the pressing of the first control according to described sender user's touch-control described sender client
Dynamics value is determined;
According to first transaction request, corresponding transaction event is set up;
The second transaction request that recipient's client is sent is received, second transaction request includes the second transaction password,
The second transaction password is the pressing dynamics of the second control of recipient's client according to recipient user's touch-control
Value is determined;
When the described first transaction password matches with the described second transaction password, the corresponding friendship of the transaction event is performed
It is easy to operate.
The third aspect there is provided a kind of client, including:
Acquiring unit, the pressing force angle value of the first control for obtaining client described in sender user's touch-control;
Determining unit, for the pressing force angle value obtained according to the acquiring unit, determines the first transaction password;
Transmitting element, for sending the first of the first transaction password determined comprising the determining unit to service end
Transaction request, first transaction request is used to indicate that the service end sets up corresponding transaction event;
The transmitting element, is additionally operable to send the first transaction password to recipient user, so that the recipient uses
Family sends the second transaction request for including the second transaction password to the service end by recipient's client, wherein, described the
Two transaction passwords are the pressing force angle value of the second control of recipient's client according to recipient user's touch-control come really
Fixed, second transaction request is used to indicate that the service end is judging the first transaction password and the described second transaction mouth
When order matches, the corresponding transactional operation of the transaction event is performed.
Fourth aspect there is provided a kind of service end, including:
Receiving unit, the first transaction request for receiving the transmission of sender's client, first transaction request includes
First transaction password, the first transaction password is according to the first of described sender user's touch-control described sender client the control
The pressing force angle value of part is determined;
Unit is set up, for first transaction request received according to the receiving unit, corresponding transaction thing is set up
Part;
The receiving unit, is additionally operable to receive the second transaction request that recipient's client is sent, second transaction please
Ask including the second transaction password, the second transaction password is recipient's client according to recipient user's touch-control
The pressing force angle value of second control is determined;
Execution unit, for when the described first transaction password matches with the described second transaction password, performing described hand over
The corresponding transactional operation of easy event.
Implementation method, client and the service end for the transactional operation that the application is provided, sender's client is according to sender
The pressing force angle value of the control of user's touch-control sender's client, determines the first transaction password.To service end send comprising this
First transaction request of one transaction password, service end sets up corresponding transaction event after the first transaction request is received.It
Sender's client sends first to recipient user and merchandised password afterwards, so as to recipient user by recipient's client to clothes
End of being engaged in sends the second transaction request for including the second transaction password, wherein, the second transaction password is recipient's client according to connecing
The pressing force angle value of the control of debit user's touch-control recipient's client is determined.Service end is receiving the second transaction request
Afterwards, when judging that the first transaction password and the second transaction password match, the corresponding transactional operation of transaction event is performed.Thus may be used
To find out, in the application, sender user and recipient with being to input transaction password by way of pressing control per family,
It is possible thereby to greatly promote the experience of user.
Embodiment
Below in conjunction with the accompanying drawings, embodiments of the invention are described.
The implementation method for the transactional operation that the embodiment of the present application is provided can apply in scene as shown in Figure 1, Fig. 1
In, including sender's client and multiple recipient's clients, it is whole that sender's client may be mounted at the first movement
On end, touch screen and pressure sensor can be provided with first mobile terminal, sender user can perform on touch screen
Touch control operation, sender's client can obtain pressing dynamics when sender user performs touch control operation by pressure sensor
Value.In addition, be also provided with first mobile terminal global positioning system (Global Positioning System,
GPS), so that sender's client can obtain the positional information of sender user, such as gps coordinate by the GPS.Recipient visitor
Family end may be mounted on the second mobile terminal, wherein, the function phase of the second mobile terminal and the first mobile terminal is same, herein not
Repeat again.
The implementation method flow chart for the transactional operation that Fig. 2 provides for a kind of embodiment of the application.The execution master of methods described
Body can be the equipment with disposal ability:Sender's client in server or system or device, such as Fig. 1, such as Fig. 2
Shown, methods described can specifically include:
Step 210, sender's client obtains the pressing force of the first control of sender user's touch-control sender's client
Angle value.
In one implementation, sender's client can be provided with the transaction password setup page, wherein, the transaction password
Set and the first control is included in the page, first control can be button etc..Specifically, when sender user sets in transaction password
When putting the page the first control of touch-control, sender's client can be got sender user's touch-control first by pressure sensor and be controlled
The pressing force angle value of part, pressure sensor herein has the function of perceiving pressing force angle value when user performs touch control operation.
For exemplified by the scene of " red packet " is sent in Alipay, sender's client can refer to Alipay client
End, its process for obtaining the pressing force angle value of the first control of sender user's touch-control sender's client can be as follows:
Sender user clicks on " whole " in the homepage page of " Alipay ", into the page for including all applications.It
Afterwards by triggering " red packet " word or corresponding " red packet " pattern, you can enter the red packet page, in the red packet page, can select red
Packet type:" personal red packet " and " group's red packet ".It is corresponding by triggering " group's red packet " for so that red packet type is " group's red packet " as an example
Word or pattern, you can enter the group red packet generation page.The page is generated in group's red packet, sender user can input " total gold
Volume " and " red packet number ", are clicked on after " giving bonus " button afterwards, you can enter payment cipher input page.Used in sender
Family is inputted after correct payment cipher, you can enter the prompting page as shown in Figure 3.In the prompting page shown in Fig. 3, when
Sender user clicks on " generation red packet password " button, you can enter the transaction password setup page as shown in Figure 4.The transaction mouthful
Order sets the page to include " pressing " button, when sender user is with different dynamics touch-control " pressing " buttons, sender
Client can just get different pressing force angle value.It is understood that sender user's touch-control once " presses " button
(namely performing a touch control operation), sender's client can just get a pressing force angle value.
A touch control operation in the application can detect current signal from mobile terminal where sender's client
Starting, terminating to can't detect current signal, and above-mentioned pressing force angle value can refer in above-mentioned beginning to during terminating
The peak value for the continuous signal that pressure sensor is perceived.
Step 220, according to pressing force angle value, the first transaction password is determined.
The first transaction password in the application can be made up of the letter of predetermined number, numeral, Chinese character or note.
In order to improve security, sender user can the multiple control of touch-control first (namely touch control operation is performed a plurality of times), from
And sender's client can get multiple pressing force angle value.Sender's client can be according to the plurality of pressing dynamics afterwards
Value determines the first transaction password.Wherein, sender's client determines the first transaction password according to multiple pressing force angle value
Process is specifically as follows:The plurality of pressing force angle value is first converted to corresponding password by sender's client, the password can with but
It is not limited to:Letter, numeral, Chinese character or note etc., determine the first transaction password according to multiple passwords afterwards.
So that a pressing force angle value is converted into corresponding password, and the password is for exemplified by numeral, its transfer process
Can be:According to the corresponding relation of default pressing force angle value and numeral, the corresponding numeral of pressing force angle value is obtained;By the numeral
It is defined as corresponding password.
In one example, default pressing force angle value can be as shown in table 1 with the corresponding relation of numeral.
Table 1
Pressing force angle value |
Numeral |
[a1, a2] |
1 |
[a2, a3] |
2 |
… |
… |
In table 1, when the pressing force angle value got is in scope:When [a1, a2] is interior, it may be determined that pressing force angle value correspondence
Numeral be 1, and when the pressing force angle value that get is in scope:When [a3, a4] is interior, it may be determined that the pressing force angle value is corresponding
Numeral is 2, the like.
Certainly, in actual applications, a pressing force angle value is converted into corresponding password, and the password is the mistake of numeral
Journey can also be:The pressure rating belonging to the pressing force angle value is first determined,.Such as, the pressing force angle value in the range of [a1, a2] is set
For " the pressing force angle value in the range of [a2, a3] is set to " grade 2 " etc. by grade 1 ".Afterwards according to default pressure rating and number
The corresponding relation of word, determines the corresponding numeral of pressing force angle value, the numeral is defined as into password.Previously determined pressing force angle value institute
During the pressure rating of category, the corresponding relation of default pressure rating and numeral can be as shown in table 2.
Table 2
Pressure rating |
Numeral |
Grade 1 |
1 |
Grade 2 |
2 |
… |
… |
As an example it is assumed that sender's client gets three pressing force angle value, and three pressing force angle value are turned
It is changed to after password respectively:" 6 ", " 2 " and " 3 ", then can determine that the first transaction password is:" 623 ", namely first transaction
Password is made up of three numerals.
Alternatively, in order to improve in the experience of user, the application, sender's client pressing force angle value is converted to it is close
After code, the password can also be shown to sender user.For by taking Fig. 4 as an example, the transaction password setup page can also include
Three password display boxes, wherein, each password display box is divided into 10 lattices again, specifically, and password display box passes through
The lattice of different numbers is filled, to represent corresponding password, in addition, the password display box also includes corresponding password at it
Top.As three passwords after conversion are respectively:When " 6 ", " 2 " and " 3 ", the transaction password setup page shown in Fig. 4 can be with
As shown in Figure 5.It is understood that before the release of sender user's touch-control " pressing " button, password display box shows
The password shown can be dynamic change, such as, when sender user starts touch-control " pressing " button, its pressing force angle value ratio
Smaller, now, password display box shows password corresponding with smaller pressing force angle value, afterwards, when its pressing force angle value by
When cumulative big, password display box shows password corresponding with the pressing force angle value increased.Until this touch control operation terminate or
The time of sender user's touch-control " pressing " button exceedes threshold time, then the password that password display box is shown no longer changes;It
Afterwards when sender user starts again at touch-control " pressing " button, in the corresponding password of Next Password display box Dynamic Announce,
The like.
Certainly, Fig. 4 and Fig. 5 are exemplary illustration, in actual applications, and sender's client can be got more
Pressing force angle value, the transaction password setup page can also include more password display boxes, such as, 4,5 or 6 etc.,
The application is not construed as limiting to this.In addition, the display mode of password display box is also not necessarily limited to frame structure, can also be to be shown as cake
Shape structure etc..
Step 230, the first transaction request for including the first transaction password is sent to service end.
First transaction request can serve to indicate that service end sets up corresponding transaction event.
For exemplified by the scene of " red packet " is sent in Alipay, above-mentioned first transaction password can refer to red packet mouthful
Order, the first transaction request can refer to that " red packet " gets notice, and " red packet ", which gets notice, can include red packet password, sender's use
" the red packet number " and " total amount " of family input etc..Service end is being received after " red packet " get notice, sets up corresponding
The process of transaction event can be:Service end can generate the virtual account corresponding to " red packet ", and the virtual account corresponds to hair
Fund in the account of the side of sending user, and amount of the fund is " total amount " that sender user inputs.
Alternatively, above-mentioned first transaction request can also include the first position information of sender user, wherein, this first
Positional information can be obtained by sender's client by GPS.Service end, can be with after the first transaction request is received
Preserve the first position information of sender user.
Step 240, to recipient user send first merchandise password, so as to recipient user by recipient's client to
Service end sends the second transaction request for including the second transaction password.
Wherein, the second transaction password is according to the second of recipient user's touch-control recipient's client by recipient's client
The pressing force angle value of control is come what is determined, and the second transaction request is used to indicate that service end is judging the first transaction password and the second friendship
When easy password matches, the corresponding transactional operation of transaction event is performed.
In step 240, sender's client can send the first transaction password to recipient user in several ways.Lift
Example for, sender's client can generate include first transaction password exhibiting pictures, afterwards by the exhibiting pictures send to
Recipient's client, or, the exhibiting pictures are shared to social network-i i-platform.
Recipient user is after the first transaction password is received, and the transaction password that can enter recipient's client is defeated
Enter in the page, the transaction password entry page can include the second control, specifically, when recipient user is in transaction password entry
During the page the second control of touch-control, recipient's client can get the control of recipient user's touch-control second by pressure sensor
Pressing force angle value, and according to the pressing force angle value of the control of recipient user's touch-control second got, to determine the second transaction
Password.Herein, recipient's client obtains the pressing force angle value of recipient user's the second control of touch-control and determines that second merchandises
The process of password obtains the pressing force angle value of sender user's the first control of touch-control with sender's client and determines that first hands over
The process of easy password is similar, does not repeat again herein.
It is understood that in the scene for sending " red packet ", recipient's client can refer to Alipay client, connect
Debit user can refer to neck " red packet " user, and neck " red packet " user inputs the second transaction password by the control of touch-control second
Mode, different from the mode that conventional user directly inputs numeral, this can both improve the interest of user's input transaction password, again
Multiple neck " red packet " users can be pulled open and rob the speed of " red packet ", so as to reach the effect for robbing red packet.
After recipient's client determines the second transaction password, it can be sent to service end comprising the second transaction password
Second transaction request, service end can compare the first transaction password and the second transaction mouth after the second transaction request is received
Whether order matches, if it does, then performing the corresponding transactional operation of transaction event.In the scene for sending " red packet ", service end
Performing the corresponding transactional operation of transaction event is:Determine allocation proportion;According to " red packet number " and object allocation proportion, calculate
Obtain actual quantity allotted;Fund corresponding to actual quantity allotted is distributed to recipient's client.
Alternatively, above-mentioned second transaction request can also include the second place information of recipient user, wherein, recipient
The second place information of user can be obtained by recipient's client by GPS.First is included in the first transaction request
In the case of including second place information in positional information, the second transaction request, service end is judging that first merchandises password and the
After two transaction passwords match, before the corresponding transactional operation of transaction event is performed, the first position pre-saved is obtained
Information, and according to first position information and second place information, calculate the first distance value.Afterwards, judging the first distance value is
It is no not less than predetermined threshold value, if not less than predetermined threshold value, performing the corresponding transactional operation of transaction event;If it exceeds default
Threshold value, then do not perform the corresponding transactional operation of transaction event.
It is above-mentioned when the first distance value is not less than predetermined threshold value in the scene for sending " red packet ", perform transaction event pair
The mode for the transactional operation answered can limit the position of neck " red packet " user, e.g., when predetermined threshold value is 200m, then only in hair
User within the side of sending user 200m can lead " red packet ".
The implementation method flow chart for the transactional operation that Fig. 6 provides for another embodiment of the application, the execution of methods described
Main body can be service end, as shown in fig. 6, methods described can specifically include:
Step 610, service end receives the first transaction request that sender's client is sent.
Wherein, the first transaction request can include the first transaction password, and the first transaction password is by sender's client
Determined according to the pressing force angle value of the first control of sender user's touch-control sender's client.
In one implementation, sender's client can be provided with the transaction password setup page, wherein, the transaction password
Set and the first control is included in the page, first control can be button etc..Specifically, when sender user sets in transaction password
When putting the page the first control of touch-control, sender's client can be got sender user's touch-control first by pressure sensor and be controlled
The pressing force angle value of part, pressure sensor herein has the function of perceiving pressing force angle value when user performs touch control operation.
In order to improve security, sender user can the multiple control of touch-control first (namely touch control operation is performed a plurality of times), from
And sender's client can get multiple pressing force angle value.Sender's client can be according to the plurality of pressing dynamics afterwards
Value determines the first transaction password.Wherein, sender's client determines the first transaction password according to multiple pressing force angle value
Process is specifically as follows:The plurality of pressing force angle value is first converted to corresponding password by sender's client, the password can with but
It is not limited to:Letter, numeral, Chinese character or note etc., determine the first transaction password according to multiple passwords afterwards.
The first transaction password in the application can be made up of the letter of predetermined number, numeral, Chinese character or note.
Step 620, according to the first transaction request, corresponding transaction event is set up.
Alternatively, first transaction request can also include the first position information of sender user, wherein, this first
Confidence breath can be obtained by sender's client by GPS.Service end is after the first transaction request is received, Ke Yibao
Deposit the first position information of sender user.
Step 630, the second transaction request that recipient's client is sent is received.
Second transaction request can include the second transaction password, and the second transaction password is connect according to recipient user's touch-control
The pressing force angle value of second control of debit's client is determined.
Sender's client can also send first after the first transaction request is sent to service end to recipient user
Transaction password, wherein, sender's client can send the first transaction password to recipient user in several ways.Citing comes
Say, sender's client can generate the exhibiting pictures for including the first transaction password, afterwards send the exhibiting pictures to reception
Square client, or, the exhibiting pictures are shared to social network-i i-platform.
Recipient user is after the first transaction password is received, and the transaction password that can enter recipient's client is defeated
Enter in the page, the transaction password entry page can include the second control, specifically, when recipient user is in transaction password entry
During the page the second control of touch-control, recipient's client can get the control of recipient user's touch-control second by pressure sensor
Pressing force angle value, and according to the pressing force angle value of the control of recipient user's touch-control second got, to determine the second transaction
Password.Herein, recipient's client obtains the pressing force angle value of recipient user's the second control of touch-control and determines that second merchandises
The process of password obtains the pressing force angle value of sender user's the first control of touch-control with sender's client and determines that first hands over
The process of easy password is similar, does not repeat again herein.
Step 640, when the first transaction password and the second transaction password match, the corresponding transaction behaviour of transaction event is performed
Make.
After recipient's client determines the second transaction password, it can be sent to service end comprising the second transaction password
Second transaction request, service end can compare the first transaction password and the second transaction mouth after the second transaction request is received
Whether order matches, if it does, then performing the corresponding transactional operation of transaction event.
Alternatively, above-mentioned second transaction request can also include the second place information of recipient user, wherein, recipient
The second place information of user can be obtained by recipient's client by GPS.First is included in the first transaction request
In the case of including second place information in positional information, the second transaction request, service end is judging that first merchandises password and the
After two transaction passwords match, before the corresponding transactional operation of transaction event is performed, the first position pre-saved is obtained
Information, and according to first position information and second place information, calculate the first distance value.Afterwards, judging the first distance value is
It is no not less than predetermined threshold value, if not less than predetermined threshold value, performing the corresponding transactional operation of transaction event;If it exceeds default
Threshold value, then do not perform the corresponding transactional operation of transaction event.
With the implementation method of above-mentioned transactional operation accordingly, a kind of client that the embodiment of the present application is also provided, such as Fig. 7 institutes
Show, the client includes:
Acquiring unit 701, the pressing force angle value of the first control for obtaining sender user's touch-control client.
Determining unit 702, for the pressing force angle value obtained according to acquiring unit 701, determines the first transaction password.
Wherein, the first transaction password is made up of the letter of predetermined number;Or, first transaction password by predetermined number number
Word is constituted;Or, the first transaction password is made up of the Chinese character of predetermined number.
Transmitting element 703, is handed over for sending the first of the first transaction password determined comprising determining unit 702 to service end
Easily request, first transaction request is used to indicate that service end sets up corresponding transaction event.
Transmitting element 703, is additionally operable to send the first transaction password to recipient user, is received so that recipient user passes through
Square client sends the second transaction request for including the second transaction password to service end, wherein, the second transaction password is that basis connects
The pressing force angle value of second control of debit user's touch-control recipient's client is come what is determined, and the second transaction request is used to indicate to take
Business end performs the corresponding transactional operation of transaction event when judging that the first transaction password and the second transaction password match.
Alternatively, when first transaction password be made up of the numeral of predetermined number when, determining unit 702 specifically for:
According to the corresponding relation of default pressing force angle value and numeral, the corresponding numeral of pressing force angle value is obtained;
According to the corresponding numeral of pressing force angle value, the first transaction password is determined.
The function of each functional module of the embodiment of the present application device, can be by each step of above method embodiment come real
Existing, therefore, the specific work process for the device that the application is provided is not repeated again herein.
The client that the application is provided, acquiring unit 701 obtains pressing for the first control of sender user's touch-control client
Pressure angle value.Determining unit 702 determines the first transaction password according to pressing force angle value.Transmitting element 703 sends to service end and wrapped
The first transaction request containing the first transaction password.Transmitting element 703 sends the first transaction password to recipient user, to receive
Square user sends the second transaction request for including the second transaction password to service end by recipient's client, wherein, second hands over
Easy password is determined according to the pressing force angle value of the second control of recipient user's touch-control recipient's client, the second transaction
Ask to be used to indicate that service end, when judging that the first transaction password and the second transaction password match, performs transaction event corresponding
Transactional operation.Thus, it is possible to greatly promote the experience of user.
With the implementation method of above-mentioned transactional operation accordingly, a kind of service end that the embodiment of the present application is also provided, such as Fig. 8 institutes
Show, the service end includes:
Receiving unit 801, the first transaction request for receiving the transmission of sender's client, first transaction request includes
First transaction password, the first transaction password is the pressing dynamics of the first control according to sender user's touch-control sender's client
Value is determined.
Unit 802 is set up, for the first transaction request received according to receiving unit 801, corresponding transaction event is set up.
Receiving unit 801, is additionally operable to receive the second transaction request that recipient's client is sent, the second transaction request includes
Second transaction password, the second transaction password is the pressing dynamics of the second control according to recipient user's touch-control recipient's client
Value is determined.
Execution unit 803, for when first transaction password with second transaction password match when, perform transaction event correspondingly
Transactional operation.
Alternatively, the first transaction request also includes the first position information of sender user;Second transaction request also includes
The second place information of recipient user.
Execution unit 803 specifically for:
According to first position information and second place information, the first distance value is calculated;
Judge whether the first distance value exceedes predetermined threshold value;
If the first distance value is not less than the predetermined threshold value, the corresponding transactional operation of transaction event is performed.
The function of each functional module of the embodiment of the present application device, can be by each step of above method embodiment come real
Existing, therefore, the specific work process for the device that the application is provided is not repeated again herein.
The service end that the application is provided, receiving unit 801 receives the first transaction request that sender client is sent, and this
One transaction request includes the first transaction password.Unit 802 is set up according to the first transaction request, corresponding transaction event is set up.Connect
Receive unit 801 and receive the second transaction request that recipient's client is sent, the second transaction request includes the second transaction password.When
When one transaction password and the second transaction password match, execution unit 803 performs the corresponding transactional operation of transaction event.Thus,
The experience of user can be greatly promoted.
Those skilled in the art are it will be appreciated that in said one or multiple examples, work(described in the invention
It is able to can be realized with hardware, software, firmware or their any combination.When implemented in software, can be by these functions
It is stored in computer-readable medium or is transmitted as one or more instructions on computer-readable medium or code.
Above-described embodiment, has been carried out further to the purpose of the present invention, technical scheme and beneficial effect
Describe in detail, should be understood that the embodiment that the foregoing is only the present invention, be not intended to limit the present invention
Protection domain, it is all technical scheme basis on, any modification, equivalent substitution and improvements done etc. all should
It is included within protection scope of the present invention.