CN109447733A - Transaction verification method, device and the storage medium of transaction system - Google Patents
Transaction verification method, device and the storage medium of transaction system Download PDFInfo
- Publication number
- CN109447733A CN109447733A CN201811116316.1A CN201811116316A CN109447733A CN 109447733 A CN109447733 A CN 109447733A CN 201811116316 A CN201811116316 A CN 201811116316A CN 109447733 A CN109447733 A CN 109447733A
- Authority
- CN
- China
- Prior art keywords
- user
- resource
- information
- transaction
- request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012795 verification Methods 0.000 title claims abstract description 141
- 238000000034 method Methods 0.000 title claims abstract description 76
- 238000012546 transfer Methods 0.000 claims abstract description 88
- 230000008569 process Effects 0.000 claims description 43
- 238000004590 computer program Methods 0.000 claims description 29
- 239000003550 marker Substances 0.000 claims description 11
- 230000005540 biological transmission Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 4
- 238000012360 testing method Methods 0.000 description 3
- 210000004556 brain Anatomy 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 239000011800 void material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0609—Buyer or seller confidence or verification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
- G06Q30/0635—Processing of requisition or of purchase orders
- G06Q30/0637—Approvals
Abstract
This application involves a kind of transaction verification methods of transaction system, device, computer equipment and storage medium, when needing to carry out transaction verification, transaction verification is carried out in transaction system using white list user, by before determining that trade order enters the closing phase, user information is detected, the trade order for intercepting white list user enters the closing phase, while completing transaction verification, and by the resource transfers of transfer when progress transaction verification into the account of the user, without make verify resource enter the closing phase, verifying resource can be reused in a short time, it improves work efficiency.
Description
Technical field
This application involves Internet technical fields, more particularly to a kind of transaction verification method of transaction system, device, meter
Calculate machine equipment and storage medium.
Background technique
Transaction system routine version has 1-2 times January, requires end-to-end initiation production verifying after sending out version every time.And it trades
Some Determined products in system, when being traded, the resource for transaction needed is excessive and for the money of Determined products
Source is redeemed, and has strict time control, needs to wait until that the redemption time for periodically redeeming resource just can periodically redeem resource and turn
It is changed to circulation resource, such as to carry out transaction verification, then needs to apply to verify resource, and after carrying out verifying transaction, verify resource meeting
It cannot be redeemed into the closing phase, can only wait until that the redemption time for periodically redeeming resource can just redeem resource, test next time
It is used when card, and transaction system if you need to carry out verifying transaction again, then needs to apply again to verify resource during closing, leads
Cause working efficiency low.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of friendship of transaction system that can be improved working efficiency
Easy verification method, device, computer equipment and storage medium.
A kind of transaction verification method of transaction system, which comprises
Obtain transaction verification instruction;
It is instructed according to the transaction verification and generates order information;
Resource transfers request is sent to Resource Server according to the order information, makes Resource Server according to resource transfers
Request carries out resource transfers, generates Transaction Information, and feed back the Transaction Information;
The user information in the order information is obtained, determines the user type of the user information;
When the user type is white list user, resource is sent to Resource Server according to the Transaction Information and is retracted
Request makes Resource Server retract request according to resource and shifts the resource, completes transaction verification.
The user information obtained in the order information in one of the embodiments, determines the user information
The step of user type includes:
Obtain the user information in the order information;
Detect whether the user information has mark information;
When the user information has mark information, determine that the user type of the user information is white list user;
Or,
The user information has been searched whether in white list database;
When there is the user information, determine that the user type of the user information is white list user.
It is described when the user type is white list user in one of the embodiments, according to the Transaction Information
Resource is sent to Resource Server and retracts request, so that Resource Server is retracted request according to resource and is shifted the resource, completes to hand over
Easily the step of verifying, includes:
When the user type of the user information is white list user, process of closing the trade generates transaction ending message
And it marks;
Resource is sent to Resource Server according to the Transaction Information and retracts request, retracts Resource Server according to resource
The resource is shifted in request, completes transaction verification.
It is described when the user type of the user information is white list user in one of the embodiments, terminate to hand over
Easy process generates transaction ending message and includes: the step of label
When the user type of the user information is white list user, process of closing the trade;
The Transaction Information and the order information are obtained, transaction ending message is generated;
Hand marker is verified into order according to the transaction ending message.
It is described when the user type is white list user in one of the embodiments, according to the Transaction Information
Resource is sent to Resource Server and retracts request, so that Resource Server is retracted request according to resource and is shifted the resource, completes to hand over
Easily the step of verifying, includes:
When the user type of the user information is white list user, to the Transaction Information and the order information into
Row transaction verification, obtains checked result information;
It closes the trade process, transaction ending message is generated according to the checked result information;
Hand marker is verified into order according to the transaction ending message;
Resource is sent to Resource Server according to the Transaction Information and retracts request, retracts Resource Server according to resource
The resource is shifted in request, completes transaction verification.
In one of the embodiments, before obtaining transaction verification instruction, further includes:
User type setting request is obtained, includes user information in the user type setting request;
White list user is set by the user type of the user information in user type setting request.
The user class by the user information in user type setting request in one of the embodiments,
Type is set as the step of white list user and includes:
The user information in user type setting request is marked, the user information after the label
User type is white list user;
Or, the user information in user type setting request is stored into white list database, it is described white
The user type of user information in list data library is white list user.
A kind of transaction verification device of transaction system, described device include:
Acquisition instruction module, for obtaining transaction verification instruction;
Order information generation module generates order information for instructing according to the transaction verification;
Resource transfers request sending module is asked for sending resource transfers to Resource Server according to the order information
It asks, makes Resource Server be requested to carry out resource transfers according to resource transfers, generate Transaction Information, and feed back the Transaction Information;
User type determining module determines the user information for obtaining the user information in the order information
User type;
Resource retracts request sending module, for being believed according to the transaction when the user type is white list user
It ceases to Resource Server transmission resource and retracts request, so that Resource Server is retracted request according to resource and shift the resource, complete
Transaction verification.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing
The step of device realizes the method when executing the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
The step of method is realized when row.
Transaction verification method, device, computer equipment and the storage medium of above-mentioned transaction system, by obtaining transaction verification
Instruction;It is instructed according to the transaction verification and generates order information;Resource is sent to Resource Server according to the order information to turn
Request is moved, makes Resource Server be requested to carry out resource transfers according to resource transfers, generates Transaction Information, and feeds back the transaction letter
Breath;The user information in the order information is obtained, determines the user type of the user information;When the user type is white
When name single user, resource is sent to Resource Server and retracts request, retract Resource Server according to resource and request described in transfer
Resource completes transaction verification.When needing to carry out transaction verification, transaction is carried out in transaction system using white list user and is tested
Card, by being detected before determining that trade order enters the closing phase to user information, the transaction for intercepting white list user is ordered
It is single to enter the closing phase, while completing transaction verification, and by the resource transfers of transfer when progress transaction verification to the user's
In account, without making verifying resource enter the closing phase, verifying resource can be reused in a short time, improves work
Efficiency.
Detailed description of the invention
Fig. 1 is the application scenario diagram of the transaction verification method of transaction system in one embodiment;
Fig. 2 is the flow diagram of the transaction verification method of transaction system in one embodiment;
Fig. 3 is the interaction flow schematic diagram of the transaction verification method of transaction system in another embodiment;
Fig. 4 is the structural block diagram of the transaction verification device of transaction system in one embodiment;
Fig. 5 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
The transaction verification method of transaction system provided by the present application can be applied in application environment as shown in Figure 1.Its
In, terminal 102 is communicated by network with server 104, and server 104 is led to Resource Server 106 by network
Letter.User by terminal to server 104 issue transaction verification instruction, server 104 receive transaction verification instruction it is laggard
Row transaction verification, in verification process, server 104 sends to Resource Server 106 and requests, and carries out Resource Server 106
Transaction verification is completed in resource transfers, cooperation.Wherein, terminal 102 can be, but not limited to be various personal computers, notebook electricity
Brain, smart phone, tablet computer and portable wearable device, server 104 and Resource Server 106 can use independent clothes
The server cluster of business device either multiple servers composition is realized.
In one embodiment, it as shown in Fig. 2, providing a kind of transaction verification method of transaction system, answers in this way
For being illustrated for the server 104 in Fig. 1, comprising the following steps:
Step S220 obtains transaction verification instruction.
Wherein, transaction system refers to the platform that product or service are bought using fund account, the product that transaction system provides
Or service is related to its transaction content.If transaction system can be finance product platform, can be bought by fund account user
Related finance product.For another example, transaction system can be shopping platform, can buy Related product by fund account user.?
When the new version publication of transaction system, tester verifies to whether transaction system can be normally carried out transaction.Test is eventually
End is equipped with the new edition application of transaction system to be released, sends transaction verification by test terminal to server and refers to
It enables, server obtains transaction verification instruction, and include at least in transaction verification instruction: the product information for the product for needing to verify is used
The information such as family information.The product for needing the to verify i.e. product of exchange acquisition, user information are to buy the user information of product.
Step S240 is instructed according to transaction verification and is generated order information.
Wherein, according to transaction verification instruct in the information such as needs product information, the user information of product verified, generate
Order information, the order information have uniqueness, there is the number that can be used to distinguish other orders, and the number of the order can be used to
All procedure informations for inquiring order, there are also the status information of order in order information, there are also transaction contents to believe in order information
Resource transfers information in breath etc. and process of exchange.
Step S260 sends resource transfers request to Resource Server according to order information, makes Resource Server according to money
Source transfer request carries out resource transfers, generates Transaction Information, and feed back the Transaction Information.
Wherein, it in carrying out process of exchange, needs to carry out resource transfers.Resource transfers refer to that the order based on transaction is believed
Breath, is transferred to transaction system operator account from purchaser's account for resource.Wherein resource can be currency, electronic money or void
Quasi- currency etc..Server obtains the resource transfers information in order information, the corresponding Resource Server into resource transfers information
Send resource transfers request.It include the amount and shift direction (shift direction for needing the resource shifted in resource transfers request
Refer to: resource be transferred to another account from an account) etc., the amount and shift direction of the resource shifted as needed
By resource transfers into corresponding account, Transaction Information refers to that transfer during carrying out resource transfers records information.
Step S280 obtains the user information in order information, determines the user type of user information.
Wherein, the user information in order information includes: the account information of user, the phone number information of user etc.,
There can also be the identity information etc. of real-name authentication;User type includes: for the white list user of transaction verification and actual purchase
The user (the hereinafter referred to as user of arm's length dealing) of commodity.
Step S300 sends resource to Resource Server according to Transaction Information and moves back when user type is white list user
It returns hospitality and asks, Resource Server is made to retract request transferring resource according to resource, complete transaction verification.
Wherein, it includes needing amount and shift direction of the resource shifted etc. that resource, which is retracted in request, is turned as needed
For the amount and shift direction of the resource of shifting by resource transfers into corresponding account, resource retracts what the needs in requesting shifted
The amount and shift direction of resource are determined according to the transfer record information in Transaction Information, such as: turning in Transaction Information
Moving record information is: for the resource transfers of A account into B account, transfer amount is X;Then, resource is retracted needs to shift in request
Resource amount and shift direction be: the resource transfers of B account to A account, transfer amount be X.
The transaction verification method of above-mentioned transaction system, by obtaining transaction verification instruction;It is instructed according to the transaction verification
Generate order information;Resource transfers request is sent to Resource Server according to the order information, makes Resource Server according to money
Source transfer request carries out resource transfers, generates Transaction Information, and feed back the Transaction Information;Obtain the use in the order information
Family information determines the user type of the user information;When the user type is white list user, sent out to Resource Server
It send resource to retract request, so that Resource Server is retracted request according to resource and shift the resource, complete transaction verification.Need into
When row transaction verification, transaction verification is carried out in transaction system using white list user, by determining that trade order enters envelope
It closes before the phase, user information is detected, the trade order for intercepting white list user enters the closing phase, completes transaction verification
While, without making verifying resource enter the closing phase, verifying resource can be reused in a short time, improves work
Efficiency.
In one embodiment, the step of obtaining the user information in order information, determining user information user type packet
It includes: obtaining the user information in order information;Whether detection user information has mark information;When user information has mark information
When, determine that the user type of user information is white list user.
Wherein, in order to which the user for distinguishing arm's length dealing and the user of transaction verification distinguish, transaction verification will be used for
User is marked, and the user for transaction verification can be determined whether according to mark information.
In one embodiment, the step of obtaining the user information in order information, determining user information user type packet
It includes: having searched whether user information in white list database;When there is user information, determine that the user type of user information is
White list user.
Wherein, in order to which the user for distinguishing arm's length dealing and the user of transaction verification distinguish, transaction verification will be used for
User information is stored into white list database, can be according to the user whether having in order information in lookup white list database
Information, it is determined whether be the user of transaction verification.
In one embodiment, it when user type is white list user, is sent according to Transaction Information to Resource Server
The step of resource retracts request, makes Resource Server retract request transferring resource according to resource, completes transaction verification include:
When the user type of user information is white list user, process of closing the trade generates transaction ending message and marks
Note;Resource is sent to Resource Server according to Transaction Information and retracts request, and Resource Server is made to retract request transfer according to resource
Resource completes transaction verification.
Wherein, when the user type of user information is white list user, it can determine that this trade order is for handing over
The order easily verified intercepts for the trade order of verifying and enters the closing phase, do not close to resource, and will be according to resource
The resource of transfer is gone back to original account by retracting request to Resource Server down distributing resource by the resource of transfer request transfer
Family, or be transferred in the account for carrying out transaction verification.Transaction ending message refers to according to transaction flow transaction generated
Process recording information, and including transaction terminate the reason of, and mark the trade order for verifying order, process of exchange can be verified
In transaction flow, resource transfers process and resource whether retract process normal.
In one embodiment, it when user type is white list user, is sent according to Transaction Information to Resource Server
The step of resource retracts request, makes Resource Server retract request transferring resource according to resource, completes transaction verification includes: to work as to use
When the user type of family information is white list user, transaction verification is carried out to Transaction Information and order information, obtains checked result
Information;It closes the trade process, transaction ending message is generated according to checked result information and marks;And according to Transaction Information to resource
Server sends resource and retracts request, and Resource Server is made to retract request transferring resource according to resource, completes transaction verification.
Wherein, when the user type of user information is white list user, it can determine that this trade order is for handing over
The order easily verified, (the resource number of main verification transfer is all right after carrying out transaction verification to Transaction Information and order information
Deng), the trade order that will be used to verify intercepts and enters the closing phase, does not close to resource, and will be requested according to resource transfers
The resource of transfer is gone back to original account, either by retracting request to Resource Server down distributing resource by the resource of transfer
It is transferred in the account for carrying out transaction verification, transaction ending message refers to according to transaction flow transaction flow record letter generated
The reason of ceasing, and terminating including transaction, and mark the trade order for verifying order, the transaction flow in process of exchange can be verified
Whether journey, resource transfers process, transaction verification process and resource retract process normal.
In one embodiment, before obtaining transaction verification instruction, further includes:
Step S320: user type setting request is obtained, includes user information in user type setting request, by user class
The user type of user information in type setting request is set as white list user.
Wherein, before being verified, it is used for the account of transaction verification with user orientation server application, and will carry out the account
White list user setting makes server be different from transaction verification order and arm's length dealing order in verifying.
In one embodiment, white list is set by the user type of the user information in user type setting request to use
The step of family includes: that the user information in user type setting request is marked, the user class of the user information after label
Type is white list user.
Wherein, it receives user and white list label request is sent by terminal, obtain user's letter in white list label request
User information is carried out white list label, is set as white list user by breath.
In one embodiment, white list is set by the user type of the user information in user type setting request to use
The step of family includes: to store the user information in user type setting request into white list database, white list database
In user information user type be white list user.
Wherein, a white list database is established (to obtain white list database and establish instruction, built according to white list database
White list database foundation is established in vertical instruction) it is stored in the position that server can be read, it can be in the memory block of server,
It can be in other memory blocks that server is relied on, when obtaining user type setting request, asked according to user type setting
The user information for getting and needing to be added white list database is sought, the user information that will acquire is sent to white list database progress
It saves.
The transaction verification method of above-mentioned transaction system is being traded when needing to carry out transaction verification using white list user
Transaction verification is carried out in system, by being detected before determining that trade order enters the closing phase to user information, is intercepted white
Name single user trade order enter the closing phase, while completing transaction verification, and by progress transaction verification when transfer money
Source is transferred in the account of the user, without making verifying resource enter the closing phase, can be reused and be tested in a short time
Resource is demonstrate,proved, the transaction flow in process of exchange, resource transfers process, transaction verification process and resource is demonstrated and retracts process and be
While no normal, improve work efficiency.
In one embodiment, referring to Fig. 3, a kind of transaction verification method of transaction system, is financing with transaction system
For product platform, wherein the products transactions for needing to verify are regular finance product, and buying required resource when product is X:
User is instructed by the transaction verification of terminal issued, after server gets transaction verification instruction, according to transaction
Transaction verification information in verifying instruction generates order information, and initiates resource transfers to Resource Server and request (resource transfers
Include: in request A account resource transfers into B account, transfer amount be X), request that Resource Server according to resource transfers
Carry out corresponding resource transfers, and feedback trading information.Server detects the user information in order information, and confirmation is used
Whether family information is labeled, and when detecting that the user information is labeled, which is being carried out transaction verification, is obtaining core
It is verifying order by the hand marker after result.After server gets to verify the information of order, sent out to Resource Server
Resource is sent to retract request, so that Resource Server is retracted request according to resource will return according to the resource transfers of resource transfers request transfer
In account originally, transaction verification is completed.
The transaction verification method of above-mentioned transaction system is being traded when needing to carry out transaction verification using white list user
Transaction verification is carried out in system, by being detected before determining that trade order enters the closing phase to user information, is intercepted white
Name single user trade order enter the closing phase, while completing transaction verification, and by progress transaction verification when transfer money
Source is transferred in the account of the user, without making verifying resource enter the closing phase, can be reused and be tested in a short time
Resource is demonstrate,proved, the transaction flow in process of exchange, resource transfers process, transaction verification process and resource is demonstrated and retracts process and be
While no normal, improve work efficiency.
It should be understood that although each step in the flow chart of Fig. 2 is successively shown according to the instruction of arrow, this
A little steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, these steps
It executes there is no the limitation of stringent sequence, these steps can execute in other order.Moreover, at least part in Fig. 2
Step may include that perhaps these sub-steps of multiple stages or stage are executed in synchronization to multiple sub-steps
It completes, but can execute at different times, the execution sequence in these sub-steps or stage, which is also not necessarily, successively to be carried out,
But it can be executed in turn or alternately at least part of the sub-step or stage of other steps or other steps.
In one embodiment, as shown in figure 4, providing a kind of transaction verification device of transaction system, comprising: acquisition refers to
Enable module 310, order information generation module 320, resource transfers request sending module 330, user type determining module 340 and money
Retract request sending module 350 in source, in which:
Acquisition instruction module 310, for obtaining transaction verification instruction;
Order information generation module 320 generates order information for instructing according to the transaction verification;
Resource transfers request sending module 330, for sending resource transfers to Resource Server according to the order information
Request makes Resource Server be requested to carry out resource transfers according to resource transfers, generates Transaction Information, and feeds back the transaction letter
Breath;
User type determining module 340 determines the user information for obtaining the user information in the order information
User type;
Resource retracts request sending module 350, is used for when the user type is white list user, according to the transaction
Information sends resource to Resource Server and retracts request, so that Resource Server is retracted request according to resource and shifts the resource, complete
At transaction verification.
In one embodiment, user type determining module is also used to: obtaining the user information in order information;Detection is used
Whether family information has mark information;When user information has mark information, determine the user type of user information for white list use
Family;Or, having searched whether user information in white list database;When there is user information, the user class of user information is determined
Type is white list user.
In one embodiment, resource is retracted request sending module and is also used to: when the user type of user information is white name
When single user, process of closing the trade generates transaction ending message and marks;Resource is sent to Resource Server according to Transaction Information
Request is retracted, Resource Server is made to retract request transferring resource according to resource, completes transaction verification.
In one embodiment, resource is retracted request sending module and is also used to: when the user type of user information is white name
When single user, process of closing the trade;Transaction Information and order information are obtained, transaction ending message is generated;Terminate letter according to transaction
Hand marker is verifying order by breath.
In one embodiment, resource is retracted request sending module and is also used to: when the user type of user information is white name
When single user, transaction verification is carried out to Transaction Information and order information, obtains checked result information;It closes the trade process, according to
Checked result information generates transaction ending message;Hand marker is verified into order according to transaction ending message;Believed according to transaction
It ceases to Resource Server transmission resource and retracts request, Resource Server is made to retract request transferring resource according to resource, complete transaction
Verifying.
In one embodiment, further includes: user type setup module 360, for obtaining user type setting request, institute
Stating in user type setting request includes user information, and the user type of the user information in user type setting request is arranged
For white list user.
In one embodiment, user type setup module 360 is also used to: being believed the user in user type setting request
Breath is marked, and the user type of the user information after label is white list user;Or, by the use in user type setting request
Family information is stored into white list database, and the user type of the user information in white list database is white list user.
The transaction verification device of above-mentioned transaction system obtains transaction verification instruction by acquisition instruction module 310;Order letter
It ceases generation module 320 and generation order information is instructed according to the transaction verification;Resource transfers request sending module 330 is according to described
Order information sends resource transfers request to Resource Server, and Resource Server is made to be requested to carry out resource turn according to resource transfers
It moves, generates Transaction Information, and feed back the Transaction Information;User type determining module 340 obtains the use in the order information
Family information determines the user type of the user information;Resource retracts request sending module 350 when the user type is white
When name single user, resource is sent to Resource Server and retracts request, retract Resource Server according to resource and request described in transfer
Resource completes transaction verification.When needing to carry out transaction verification, transaction is carried out in transaction system using white list user and is tested
Card, by being detected before determining that trade order enters the closing phase to user information, the transaction for intercepting white list user is ordered
It is single to enter the closing phase, while completing transaction verification, and by the resource transfers of transfer when progress transaction verification to the user's
In account, without making verifying resource enter the closing phase, verifying resource can be reused in a short time, demonstrates and is handing over
Easily during transaction flow, resource transfers process, transaction verification process and resource retract process it is whether normal while, improve
Working efficiency.
The specific of transaction verification device about transaction system limits the transaction that may refer to above for transaction system
The restriction of verification method, details are not described herein.Modules in the transaction verification device of above-mentioned transaction system can whole or portion
Divide and is realized by software, hardware and combinations thereof.Above-mentioned each module can be embedded in the form of hardware or independently of computer equipment
In processor in, can also be stored in a software form in the memory in computer equipment, in order to processor calling hold
The corresponding operation of the above modules of row.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction
Composition can be as shown in Figure 5.The computer equipment include by system bus connect processor, memory, network interface and
Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment
Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data
Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating
The database of machine equipment is used to store the relevant data of user information of name name single user.The network interface of the computer equipment is used
It is communicated in passing through network connection with external terminal.To realize a kind of transaction system when the computer program is executed by processor
Transaction verification method.
It will be understood by those skilled in the art that structure shown in Fig. 5, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, which is stored with
Computer program, the processor perform the steps of when executing computer program
Obtain transaction verification instruction;It is instructed according to transaction verification and generates order information;According to order information to resource service
Device sends resource transfers request, and Resource Server is made to be requested to carry out resource transfers according to resource transfers, generates Transaction Information, and anti-
Present Transaction Information;The user information in order information is obtained, determines the user type of user information;When user type is white list
When user, resource is sent to Resource Server according to Transaction Information and retracts request, Resource Server is made to retract request according to resource
Transferring resource completes transaction verification.
In one embodiment, it is also performed the steps of when processor executes computer program
Obtain the user information in order information;Whether detection user information has mark information;When user information has label
When information, determine that the user type of user information is white list user;Or, having searched whether user's letter in white list database
Breath;When there is user information, determine that the user type of user information is white list user.
In one embodiment, it is also performed the steps of when processor executes computer program
When the user type of user information is white list user, process of closing the trade generates transaction ending message and marks
Note;Resource is sent to Resource Server according to Transaction Information and retracts request, and Resource Server is made to retract request transfer according to resource
Resource completes transaction verification.
In one embodiment, the user when user information is also performed the steps of when processor executes computer program
When type is white list user, process of closing the trade;Transaction Information and order information are obtained, transaction ending message is generated;According to
Hand marker is verifying order by transaction ending message.
In one embodiment, the user when user information is also performed the steps of when processor executes computer program
When type is white list user, transaction verification is carried out to Transaction Information and order information, obtains checked result information;It closes the trade
Process generates transaction ending message according to checked result information;Hand marker is verified into order according to transaction ending message;Root
Resource is sent to Resource Server according to Transaction Information and retracts request, and Resource Server is made to retract request transferring resource according to resource,
Complete transaction verification.
In one embodiment, it is also performed the steps of when processor executes computer program and obtains user type setting
Request, it includes user information in request that the user type, which is arranged,;By the user of the user information in user type setting request
Type is set as white list user.
In one embodiment, it is also performed the steps of when processor executes computer program and user type setting is asked
User information in asking is marked, and the user type of the user information after label is white list user;Or, user type is set
The user information set in request is stored into white list database, and the user type of the user information in white list database is white
Name single user.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of when being executed by processor
Obtain transaction verification instruction;It is instructed according to transaction verification and generates order information;According to order information to resource service
Device sends resource transfers request, and Resource Server is made to be requested to carry out resource transfers according to resource transfers, generates Transaction Information, and anti-
Present Transaction Information;The user information in order information is obtained, determines the user type of user information;When user type is white list
When user, resource is sent to Resource Server according to Transaction Information and retracts request, Resource Server is made to retract request according to resource
Transferring resource completes transaction verification.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Obtain the user information in order information;Whether detection user information has mark information;When user information has label
When information, determine that the user type of user information is white list user;Or, having searched whether user's letter in white list database
Breath;When there is user information, determine that the user type of user information is white list user.
In one embodiment, it is also performed the steps of when computer program is executed by processor
When the user type of user information is white list user, process of closing the trade generates transaction ending message and marks
Note;Resource is sent to Resource Server according to Transaction Information and retracts request, and Resource Server is made to retract request transfer according to resource
Resource completes transaction verification.
In one embodiment, the use when user information is also performed the steps of when computer program is executed by processor
When family type is white list user, process of closing the trade;Transaction Information and order information are obtained, transaction ending message is generated;Root
Hand marker is verified into order according to transaction ending message.
In one embodiment, the use when user information is also performed the steps of when computer program is executed by processor
When family type is white list user, transaction verification is carried out to Transaction Information and order information, obtains checked result information;Terminate to hand over
Easy process generates transaction ending message according to checked result information;Hand marker is verified into order according to transaction ending message;
Resource is sent to Resource Server according to Transaction Information and retracts request, and Resource Server is made to retract request transfer money according to resource
Transaction verification is completed in source.
In one embodiment, acquisition user type is also performed the steps of when computer program is executed by processor to set
Request is set, includes user information in the user type setting request;By the use of the user information in user type setting request
Family type is set as white list user.
In one embodiment, it is also performed the steps of when computer program is executed by processor and user type is arranged
User information in request is marked, and the user type of the user information after label is white list user;Or, by user type
The user information being arranged in request is stored into white list database, and the user type of the user information in white list database is
White list user.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (10)
1. a kind of transaction verification method of transaction system, which comprises
Obtain transaction verification instruction;
It is instructed according to the transaction verification and generates order information;
Resource transfers request is sent to Resource Server according to the order information, requests that Resource Server according to resource transfers
Resource transfers are carried out, generate Transaction Information, and feed back the Transaction Information;
The user information in the order information is obtained, determines the user type of the user information;
When the user type is white list user, is retracted and asked to Resource Server transmission resource according to the Transaction Information
It asks, so that Resource Server is retracted request according to resource and shift the resource, complete transaction verification.
2. the transaction verification method of transaction system according to claim 1, which is characterized in that described to obtain the order letter
User information in breath, the step of determining the user information user type include:
Obtain the user information in the order information;
Detect whether the user information has mark information;
When the user information has mark information, determine that the user type of the user information is white list user;
Or,
The user information has been searched whether in white list database;
When there is the user information, determine that the user type of the user information is white list user.
3. the transaction verification method of transaction system according to claim 2, which is characterized in that described to work as the user type
When for white list user, resource is sent to Resource Server according to the Transaction Information and retracts request, make Resource Server according to
The step of resource retracts request and shifts the resource, completes transaction verification include:
When the user type of the user information is white list user, process of closing the trade generates transaction ending message and marks
Note;
Resource is sent to Resource Server according to the Transaction Information and retracts request, and Resource Server is made to retract request according to resource
The resource is shifted, transaction verification is completed.
4. the transaction verification method of transaction system according to claim 3, which is characterized in that described to work as the user information
User type when being white list user, process of closing the trade, generates transaction ending message and the step of marking includes:
When the user type of the user information is white list user, process of closing the trade;
The Transaction Information and the order information are obtained, transaction ending message is generated;
Hand marker is verified into order according to the transaction ending message.
5. the transaction verification method of transaction system according to claim 2, which is characterized in that described to work as the user type
When for white list user, resource is sent to Resource Server according to the Transaction Information and retracts request, make Resource Server according to
The step of resource retracts request and shifts the resource, completes transaction verification include:
When the user type of the user information is white list user, the Transaction Information and the order information are handed over
Easily verification obtains checked result information;
It closes the trade process, transaction ending message is generated according to the checked result information;
Hand marker is verified into order according to the transaction ending message;
Resource is sent to Resource Server according to the Transaction Information and retracts request, and Resource Server is made to retract request according to resource
The resource is shifted, transaction verification is completed.
6. the transaction verification method of transaction system according to claim 1, which is characterized in that obtaining transaction verification instruction
Before, further includes:
User type setting request is obtained, includes user information in the user type setting request;
White list user is set by the user type of the user information in user type setting request.
7. the transaction verification method of transaction system according to claim 6, which is characterized in that described by the user type
The step of user type of the user information being arranged in request is set as white list user include:
The user information in user type setting request is marked, the user of the user information after the label
Type is white list user;
Or, the user information in user type setting request is stored into white list database, the white list
The user type of user information in database is white list user.
8. a kind of transaction verification device of transaction system, which is characterized in that described device includes:
Acquisition instruction module, for obtaining transaction verification instruction;
Order information generation module generates order information for instructing according to the transaction verification;
Resource transfers request sending module makes for sending resource transfers request to Resource Server according to the order information
Resource Server requests to carry out resource transfers according to resource transfers, generates Transaction Information, and feed back the Transaction Information;
User type determining module determines the user of the user information for obtaining the user information in the order information
Type;
Resource retracts request sending module, for when the user type be white list user when, according to the Transaction Information to
Resource Server sends resource and retracts request, so that Resource Server is retracted request according to resource and shifts the resource, completes transaction
Verifying.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists
In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811116316.1A CN109447733A (en) | 2018-09-25 | 2018-09-25 | Transaction verification method, device and the storage medium of transaction system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811116316.1A CN109447733A (en) | 2018-09-25 | 2018-09-25 | Transaction verification method, device and the storage medium of transaction system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109447733A true CN109447733A (en) | 2019-03-08 |
Family
ID=65532989
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811116316.1A Pending CN109447733A (en) | 2018-09-25 | 2018-09-25 | Transaction verification method, device and the storage medium of transaction system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109447733A (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050117949A (en) * | 2004-06-11 | 2005-12-15 | 대신증권 주식회사 | Method for providing service of virtual deal and method for providing virtual deal and automatic real deal on once authentication |
CN101211437A (en) * | 2006-12-31 | 2008-07-02 | 阿里巴巴公司 | Electronic payment failure testing method, device and electronic payment system |
US20080243671A1 (en) * | 2007-04-02 | 2008-10-02 | Driscoll James R | Products and processes for differentiating trading orders |
CN101308556A (en) * | 2007-05-15 | 2008-11-19 | 阿里巴巴集团控股有限公司 | System and method for online charging test |
CN101561956A (en) * | 2009-05-26 | 2009-10-21 | 普天信息技术研究院有限公司 | Method and system for information interaction |
CN102870132A (en) * | 2009-12-15 | 2013-01-09 | 艾菲尼迪公司 | Systems, apparatus, and methods for identity verification and funds transfer via payment proxy system |
CN105786707A (en) * | 2016-02-29 | 2016-07-20 | 腾讯科技(深圳)有限公司 | Method and device for testing program |
CN106101179A (en) * | 2016-05-27 | 2016-11-09 | 腾讯科技(深圳)有限公司 | Method for processing resource, device and system |
CN106557421A (en) * | 2016-10-10 | 2017-04-05 | 深圳市证通电子股份有限公司 | POS applied program testing methods and device |
CN107102947A (en) * | 2017-05-12 | 2017-08-29 | 中国工商银行股份有限公司 | ATM transaction flows test device and method |
CN108305055A (en) * | 2017-10-20 | 2018-07-20 | 掌合天下(北京)信息技术有限公司 | Pay test method and device |
CN108563584A (en) * | 2018-05-09 | 2018-09-21 | 平安普惠企业管理有限公司 | Test data generating method, device, computer equipment and storage medium |
-
2018
- 2018-09-25 CN CN201811116316.1A patent/CN109447733A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050117949A (en) * | 2004-06-11 | 2005-12-15 | 대신증권 주식회사 | Method for providing service of virtual deal and method for providing virtual deal and automatic real deal on once authentication |
CN101211437A (en) * | 2006-12-31 | 2008-07-02 | 阿里巴巴公司 | Electronic payment failure testing method, device and electronic payment system |
US20080243671A1 (en) * | 2007-04-02 | 2008-10-02 | Driscoll James R | Products and processes for differentiating trading orders |
CN101308556A (en) * | 2007-05-15 | 2008-11-19 | 阿里巴巴集团控股有限公司 | System and method for online charging test |
CN101561956A (en) * | 2009-05-26 | 2009-10-21 | 普天信息技术研究院有限公司 | Method and system for information interaction |
CN102870132A (en) * | 2009-12-15 | 2013-01-09 | 艾菲尼迪公司 | Systems, apparatus, and methods for identity verification and funds transfer via payment proxy system |
CN105786707A (en) * | 2016-02-29 | 2016-07-20 | 腾讯科技(深圳)有限公司 | Method and device for testing program |
CN106101179A (en) * | 2016-05-27 | 2016-11-09 | 腾讯科技(深圳)有限公司 | Method for processing resource, device and system |
CN106557421A (en) * | 2016-10-10 | 2017-04-05 | 深圳市证通电子股份有限公司 | POS applied program testing methods and device |
CN107102947A (en) * | 2017-05-12 | 2017-08-29 | 中国工商银行股份有限公司 | ATM transaction flows test device and method |
CN108305055A (en) * | 2017-10-20 | 2018-07-20 | 掌合天下(北京)信息技术有限公司 | Pay test method and device |
CN108563584A (en) * | 2018-05-09 | 2018-09-21 | 平安普惠企业管理有限公司 | Test data generating method, device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107392766A (en) | Method for processing business, adapter and computer-readable recording medium | |
CN108804548B (en) | Test data query method, device, computer equipment and storage medium | |
CN109474578A (en) | Message method of calibration, device, computer equipment and storage medium | |
CN108769147B (en) | Workload proving method and device in shared computing based on super node | |
CN108389080A (en) | Transaction processing method and platform | |
CN108305074A (en) | Transaction processing method, device, computer equipment and storage medium | |
CN109814917A (en) | Micro services dissemination method, device, computer equipment and storage medium | |
KR102172514B1 (en) | Managing method for test data based on blockchain node apparatus of blockchain | |
CN110232601A (en) | Card certificate management method, device, equipment and storage medium | |
JP2020504397A (en) | System, method and apparatus for executing settlement service | |
CN109359485A (en) | Invoice data shared system and method based on block chain | |
CN111507717A (en) | Data processing method, device, block node and computer readable storage medium | |
CN110111208A (en) | Declaration form data processing method, device, computer equipment and storage medium | |
CN109858273A (en) | Obtaining product information method, apparatus, computer equipment and storage medium | |
CN109656584A (en) | A kind of method for burn-recording and device of program | |
CN109785024A (en) | Invoice data processing method, device, computer equipment and storage medium | |
CN109597979A (en) | Inventory table generation method, device, computer equipment and storage medium | |
CN110109656A (en) | Interface analogy method, device, computer equipment and storage medium | |
WO2020021550A1 (en) | System and method for performing cashless transactions between computing devices | |
CN110738471A (en) | bill management method based on block chain network and related equipment | |
CN111464356A (en) | Block consensus period switching method and device and computer equipment | |
CN110599267A (en) | Electronic invoice billing method and device, computer readable storage medium and computer equipment | |
CN108537065A (en) | Reference information processing method | |
WO2022042236A1 (en) | Data exchange method and apparatus, electronic device, and storage medium | |
CN109978542A (en) | Management method, system, storage medium and the electronic equipment of accounts payable data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |