CN110503432A - Processing method, device and the computer readable storage medium of resource transfers request - Google Patents

Processing method, device and the computer readable storage medium of resource transfers request Download PDF

Info

Publication number
CN110503432A
CN110503432A CN201910768926.8A CN201910768926A CN110503432A CN 110503432 A CN110503432 A CN 110503432A CN 201910768926 A CN201910768926 A CN 201910768926A CN 110503432 A CN110503432 A CN 110503432A
Authority
CN
China
Prior art keywords
resource
resource transfers
request
sequence number
transfers
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.)
Granted
Application number
CN201910768926.8A
Other languages
Chinese (zh)
Other versions
CN110503432B (en
Inventor
李宗阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910768926.8A priority Critical patent/CN110503432B/en
Publication of CN110503432A publication Critical patent/CN110503432A/en
Application granted granted Critical
Publication of CN110503432B publication Critical patent/CN110503432B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/563Data redirection of data network streams

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Computer And Data Communications (AREA)

Abstract

This application involves processing method, device, computer readable storage medium and the computer equipments of a kind of request of resource transfers, which comprises receives the resource transfers request that terminal is sent;First resource metastasis sequence number and Secondary resource metastasis sequence number are carried in resource transfers request;First resource metastasis sequence number is that this resource transfers requests corresponding resource transfers sequence number;Secondary resource metastasis sequence number is that history resource transfers request corresponding resource transfers sequence number;If it is associated with Secondary resource metastasis sequence number to recognize first resource metastasis sequence number, resource transfers state corresponding with Secondary resource metastasis sequence number is obtained from presetting database, the resource transfers state as the request of history resource transfers;The resource transfers state of history resource transfers request is verified;If resource transfers state is status of fail, confirmation resource transfers request is that new resource transfers are requested.The safety of resource transfers can be improved in scheme provided by the present application.

Description

Processing method, device and the computer readable storage medium of resource transfers request
Technical field
This application involves technical field of data processing, more particularly to a kind of processing method of resource transfers request, device, Computer readable storage medium and computer equipment.
Background technique
With the fast development of Internet technology, the various terminals for resource transfers emerge one after another, more and more to provide It is shifted by internet in source.But during resource transfers, for some reason, such as system exception, network failure etc., meeting Triggering terminal re-initiates resource transfers request.
However, the processing mode of the resource transfers request re-initiated at present in face of terminal, it will generally by server It is handled as primary new resource transfers request;But if the new resource transfers request corresponding history resource to turn Moving request be that successfully or the state of other non-failures, and server requests to handle to the new resource transfers, can lead Resource repetitive displacement is caused, so that the safety of resource transfers declines.
Summary of the invention
Based on this, it is necessary to which the lower technical problem of safety for resource transfers provides a kind of resource transfers request Processing method, device, computer readable storage medium and computer equipment.
A kind of processing method of resource transfers request, comprising:
Receive the resource transfers request that terminal is sent;First resource metastasis sequence number is carried in the resource transfers request And Secondary resource metastasis sequence number;The first resource metastasis sequence number is that this resource transfers requests corresponding resource transfers Sequence number;The Secondary resource metastasis sequence number is that history resource transfers request corresponding resource transfers sequence number, the history Resource transfers request is corresponding with this resource transfers request;
If it is associated with the Secondary resource metastasis sequence number to recognize the first resource metastasis sequence number, from present count According to resource transfers state corresponding with the Secondary resource metastasis sequence number is obtained in library, requested as the history resource transfers Resource transfers state;
The resource transfers state of history resource transfers request is verified;
If the resource transfers state of the history resource transfers request is status of fail, the resource transfers request is confirmed It is requested for new resource transfers.
The processing unit of a kind of resource transfers request, which is characterized in that described device includes:
Request receiving module, for receiving the resource transfers request of terminal transmission;It is carried in the resource transfers request First resource metastasis sequence number and Secondary resource metastasis sequence number;The first resource metastasis sequence number is this resource transfers Request corresponding resource transfers sequence number;The Secondary resource metastasis sequence number is that history resource transfers request corresponding resource to turn Sequence number is moved, the history resource transfers request is corresponding with this resource transfers request;
State acquisition module, if for recognizing the first resource metastasis sequence number and the Secondary resource metastasis sequence It is number associated, resource transfers state corresponding with the Secondary resource metastasis sequence number is obtained from presetting database, as institute State the resource transfers state of history resource transfers request;
Status check module, the resource transfers state for requesting the history resource transfers verify;
Request confirmation module, if the resource transfers state for history resource transfers request is status of fail, really Recognizing the resource transfers request is that new resource transfers are requested.
A kind of computer readable storage medium is stored with computer program, when the computer program is executed by processor, So that the processor executes following steps:
Receive the resource transfers request that terminal is sent;First resource metastasis sequence number is carried in the resource transfers request And Secondary resource metastasis sequence number;The first resource metastasis sequence number is that this resource transfers requests corresponding resource transfers Sequence number;The Secondary resource metastasis sequence number is that history resource transfers request corresponding resource transfers sequence number, the history Resource transfers request is corresponding with this resource transfers request;
If it is associated with the Secondary resource metastasis sequence number to recognize the first resource metastasis sequence number, from present count According to resource transfers state corresponding with the Secondary resource metastasis sequence number is obtained in library, requested as the history resource transfers Resource transfers state;
The resource transfers state of history resource transfers request is verified;
If the resource transfers state of the history resource transfers request is status of fail, the resource transfers request is confirmed It is requested for new resource transfers.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the calculating When machine program is executed by the processor, so that the processor executes following steps:
Receive the resource transfers request that terminal is sent;First resource metastasis sequence number is carried in the resource transfers request And Secondary resource metastasis sequence number;The first resource metastasis sequence number is that this resource transfers requests corresponding resource transfers Sequence number;The Secondary resource metastasis sequence number is that history resource transfers request corresponding resource transfers sequence number, the history Resource transfers request is corresponding with this resource transfers request;
If it is associated with the Secondary resource metastasis sequence number to recognize the first resource metastasis sequence number, from present count According to resource transfers state corresponding with the Secondary resource metastasis sequence number is obtained in library, requested as the history resource transfers Resource transfers state;
The resource transfers state of history resource transfers request is verified;
If the resource transfers state of the history resource transfers request is status of fail, the resource transfers request is confirmed It is requested for new resource transfers.
Processing method, device, computer readable storage medium and the computer equipment of above-mentioned resource transfers request, by right This resource transfers carried in the resource transfers request that terminal is sent request corresponding first resource metastasis sequence number, Yi Jiyu The Secondary resource metastasis sequence number that this resource transfers requests corresponding history resource transfers request corresponding is identified, if knowing It is associated with Secondary resource metastasis sequence number to be clipped to first resource metastasis sequence number, then is obtained from presetting database and the second money The corresponding resource transfers state of source metastasis sequence number, as the resource transfers state of history resource transfers request, and then to the money Source transfering state is verified, and when the resource transfers state is status of fail, the resource transfers that terminal is sent are requested true Think new resource transfers request;Realize terminal send resource transfers request there are the requests of corresponding history resource transfers In the case where, the resource transfers are arrived to the purpose that the resource transfers state of history resource transfers request is verified, and in verification State is that new resource transfers are requested for the resource transfers request confirmation that after status of fail, terminal is sent, to improve money The safety of source transfer;Meanwhile avoid directly will be present the resource transfers request of corresponding history resource transfers request as New resource transfers request is handled, and resource repetitive displacement is caused, thus the defect for causing the safety of resource transfers to decline, Further improve the safety of resource transfers.
Detailed description of the invention
Fig. 1 is the applied environment figure of the processing method of resource transfers request in one embodiment;
Fig. 2 is the flow diagram of the processing method of resource transfers request in one embodiment;
Fig. 3 is stream the step of obtaining resource transfers state corresponding with Secondary resource metastasis sequence number in one embodiment Journey schematic diagram;
Fig. 4 is the step of obtaining resource transfers state corresponding with Secondary resource metastasis sequence number in another embodiment Flow diagram;
Fig. 5 is process the step of verification in one embodiment to the resource transfers state of history resource transfers request Schematic diagram;
Fig. 6 is flow diagram the step of verifying in one embodiment to resource transfers request;
Fig. 7 is the step of obtaining resource transfers state corresponding with Secondary resource metastasis sequence number in another embodiment Flow diagram;
Fig. 8 is flow diagram the step of generating prompting message in one embodiment;
Fig. 9 is the flow diagram of the processing method of resource transfers request in another embodiment;
Figure 10 is the structural block diagram of the processing unit of resource transfers request in one embodiment;
Figure 11 is the structural block diagram 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, and It is not used in restriction the application.
Fig. 1 is the applied environment figure of the processing method of resource transfers request in one embodiment.Referring to Fig.1, which turns The processing method for moving request is applied to resource transfers processing system.The resource transfers processing system includes terminal 110 and server 120, terminal 110 and server 120 pass through network connection.Terminal 110 specifically can be terminal console or mobile terminal, mobile whole End specifically can be at least one of mobile phone, tablet computer, laptop etc..Server 120 can use independent server The either server cluster of multiple servers composition is realized.
In one embodiment, referring to Fig.1, terminal 110 can generate resource transfers request with resource response transfer operation, And resource transfers request is sent to server 120;First resource metastasis sequence number and the are carried in resource transfers request Two resource transfers sequence numbers;First resource metastasis sequence number is that this resource transfers requests corresponding resource transfers sequence number;The Two resource transfers Serial No. history resource transfers request corresponding resource transfers sequence number, and history resource transfers are requested and this Resource transfers request corresponds to.Server 120 identifies first resource transfer request and Secondary resource transfer request;If knowing It is associated with Secondary resource metastasis sequence number to be clipped to first resource metastasis sequence number, acquisition and Secondary resource from presetting database The corresponding resource transfers state of metastasis sequence number, the resource transfers state as the request of history resource transfers;History resource is turned The resource transfers state for moving request is verified;If the resource transfers state of history resource transfers request is status of fail, really Recognizing resource transfers request is that new resource transfers are requested.In addition, server 120 can also be held according to the new resource transfers request The corresponding resource transfers operation of row.
As shown in Fig. 2, in one embodiment, providing a kind of processing method of resource transfers request.The present embodiment master To be applied to the server 120 in above-mentioned Fig. 1 in this way to illustrate.Referring to Fig. 2, the processing side of resource transfers request Method specifically comprises the following steps:
S202 receives the resource transfers request that terminal is sent;First resource metastasis sequence is carried in resource transfers request Number and Secondary resource metastasis sequence number;First resource metastasis sequence number is that this resource transfers requests corresponding resource transfers sequence Row number;Secondary resource metastasis sequence number is that history resource transfers request corresponding resource transfers sequence number, and history resource transfers are asked Ask corresponding with the request of this resource transfers.
Wherein, resource refers to the resource by internet transfer processing, for example payment amount, pays out the amount of money etc..Resource turns Move request refer to resource carry out transfer processing request, such as payment request, pay out request etc..Resource transfers sequence number refers to The unique identifying number of resource transfers request, such as payment serial number;Different resource transfers requests, corresponding resource transfers sequence It is number different, for example this resource transfers in the application request resource transfers sequence number corresponding with the request of history resource transfers It is different;First resource metastasis sequence number is for identifying this resource request, and Secondary resource metastasis sequence number is for identifying history Resource transfers request.In addition, Secondary resource metastasis sequence number is inputted by terminal user, corresponding clothes are sent to by terminal Business device.
Wherein, the request of history resource transfers is corresponding with the request of this resource transfers refers to the request of history resource transfers and this Resource transfers request all corresponds to the same business, and the request of this resource transfers is only gone through based on the request of history resource transfers The request of history resource transfers has failed, and can just re-initiate the request of this resource transfers.For example, terminal is based in actual scene Some business has initiated first resource transfer request to corresponding server, but due to the failure such as system exception, business factor , it can be based on the business by retry mechanism triggering terminal, first resource transfer request be re-initiated, then the money re-initiated Source transfer request is known as the request of this resource transfers in the application, and the resource transfers request of above-mentioned failure is known as history resource and turns Move request.
It should be noted that the resource transfers request of the application refers to asking there are the request of corresponding history resource transfers It asks;The request of history resource transfers can refer to first resource transfer request, may also mean that multiple resource transfers request, specifically originally Application is without limitation.
Specifically, the resource transfers operation of terminal response triggering generates resource transfers request, and resource transfers is requested to send out It send to corresponding server, the resource transfers request that server receiving terminal is sent parses resource transfers request, obtains The first resource metastasis sequence number and Secondary resource metastasis sequence number carried in resource transfers request.
In one embodiment, terminal provides the resource transfers page, user and the history resource for being unaware of some business Whether transfer request really fails, then the history resource transfers request corresponding the of the business is inputted based on the resource transfers page Two resource transfers sequence numbers, and trigger resource transfers operation;Terminal responds resource transfers operation, generates resource transfers request, And resource transfers request is sent to corresponding server;Resource transfers request in carry first resource metastasis sequence number and Secondary resource metastasis sequence number;First resource metastasis sequence number is that this resource transfers requests corresponding resource transfers sequence number.
For example, terminal is mounted with a point account system, it is mounted with to beat money system in server, divides account system and beat money system Pass through network connection;The resource transfers that making money system can send according to score account system are requested, and are generated resource and are paid out request, and will Resource pays out request and is sent to third-party server, pays out operation to execute corresponding resource by third-party server.Divide account System provides the resource transfers page, and user is based on some business by terminal and has initiated first resource transfer request, but due to System exception, network failure, business factor etc. have failed, and need user to be based on the business by terminal and re-initiate first resource Transfer request, but user and be unaware of whether the request of above-mentioned resource transfers is really executed by server at this time, then it is mentioned based on terminal It is right to input the above-mentioned resource transfers request (i.e. history resource transfers are requested) backed up in advance for the resource transfers page of the business supplied The Secondary resource metastasis sequence number answered, and resource transfers operation is triggered, terminal responds resource transfers operation, generates resource transfers Request, and money system is beaten by what resource transfers request was sent to server;First resource transfer is carried in resource transfers request Sequence number and Secondary resource metastasis sequence number;First resource metastasis sequence number is that this resource transfers requests corresponding resource to turn Move sequence number.
S204, if it is associated with Secondary resource metastasis sequence number to recognize first resource metastasis sequence number, from preset data Resource transfers state corresponding with Secondary resource metastasis sequence number is obtained in library, the resource transfers as the request of history resource transfers State.
Wherein, first resource metastasis sequence number is associated with Secondary resource metastasis sequence number refers to first resource metastasis sequence Number corresponding this resource transfers request, history resource transfers request corresponding with Secondary resource metastasis sequence number correspond to same A business, and the corresponding resource transfers request of first resource metastasis sequence number is with the corresponding history money of Secondary resource metastasis sequence number Based on the transfer request of source.
Wherein, presetting database is stored with the corresponding resource transfers state of multiple resource transfers sequence numbers, presetting database It can be Mysql database;The resource transfers state of history resource transfers request is used to indicate the money of history resource transfers request End-state corresponding to the transfer operation of source, can be success status, be also possible to status of fail.
It should be noted that obtaining resource transfers shape corresponding with Secondary resource metastasis sequence number from presetting database Before state, server can lock the corresponding history resource transfers request of Secondary resource metastasis sequence number, to guarantee concurrent operations Alternative;Such as the corresponding history resource transfers request of Secondary resource metastasis sequence number is locked by the transaction-capable of Mysql.
Specifically, the first resource metastasis sequence number and Secondary resource metastasis sequence number that server sends terminal carry out Identification, if recognizing first resource metastasis sequence number is that this resource transfers that terminal is sent request corresponding resource transfers sequence Number, Secondary resource metastasis sequence number is that this resource transfers requests corresponding history resource transfers to request corresponding resource transfers sequence Row number, then first resource metastasis sequence number is associated with Secondary resource metastasis sequence number, i.e., first resource metastasis sequence number with Secondary resource metastasis sequence number corresponds to the same business, then inquires presetting database according to Secondary resource metastasis sequence number, from Resource transfers state corresponding with Secondary resource metastasis sequence number is obtained in presetting database, as the request of history resource transfers Resource transfers state.
It, can be in this way, identified to first resource metastasis sequence number and Secondary resource metastasis sequence number by server The resource transfers request for confirming that terminal is sent is requested with the presence or absence of corresponding history resource transfers, is avoided terminal unconfirmed and is sent Resource transfers request with the presence or absence of corresponding history resource transfers request, and directly by terminal send resource transfers request, It is handled as new resource transfers request, leads to resource repetitive displacement, the defect for causing the safety of resource transfers to decline; Meanwhile the money by obtaining resource transfers state corresponding with Secondary resource metastasis sequence number, as the request of history resource transfers Source transfering state is conducive to the subsequent resource transfers state to the request of history resource transfers and identifies, to confirm that terminal is sent Resource transfers request whether be new resource transfers request, further improve the safety of resource transfers.
In one embodiment, if server recognizes first resource metastasis sequence number and Secondary resource metastasis sequence number not Association illustrates the no corresponding history resource transfers request of resource transfers request that terminal is sent, then confirms the money that terminal is sent Source transfer request is that new resource transfers are requested.
S206 verifies the resource transfers state of history resource transfers request.
Specifically, server obtains preset resource transfers status check file, according to preset resource transfers state school It tests file to verify the resource transfers state that history resource transfers are requested, the resource transfers of confirmation history resource transfers request Whether state matches with status of fail, so that whether the resource transfers state for confirming the request of history resource transfers is status of fail. Wherein, resource transfers status check file is that one kind can verify resource transfers state, to confirm resource transfers state Whether be status of fail file.
Further, server can also obtain preset status of fail identification information, and history resource transfers are requested Resource transfers state is matched with preset status of fail identification information, if matching, confirms the request of history resource transfers Resource transfers state is status of fail;Wherein, preset status of fail identification information refers to the unique identification of mark status of fail Symbol.In this way, verifying by the resource transfers state requested history resource transfers, it can be confirmed that history resource transfers are requested Whether fail, to confirm whether the resource transfers request that terminal is sent is new resource transfers request, further improves money The safety of source transfer.
S208 confirms that resource transfers request is if the resource transfers state of history resource transfers request is status of fail New resource transfers request.
Specifically, the resource transfers state that server recognizes the request of history resource transfers is matched with status of fail, then really The resource transfers state for recognizing the request of history resource transfers is status of fail, illustrates the request failure of history resource transfers, then by terminal The resource transfers request confirmation of transmission is that new resource transfers are requested.In this way, the resource transfers request presence pair sent in terminal In the case where the history resource transfers request answered, the resource transfers state of history resource transfers request is verified, Ke Yiti The safety of high resource transfers;Avoiding the corresponding history resource transfers request of resource transfers request that terminal unconfirmed is sent is No failure, and the resource transfers for directly sending terminal are requested, and are handled as new resource transfers request, and resource weight is caused Multiple transfer, the defect for causing the safety of resource transfers to decline.
Further, server can also request to generate first resource transfer request according to new resource transfers, and should First resource transfer request is sent to third-party server;Third-party server executes correspondence according to first resource transfer request Resource transfers operation, obtain corresponding resource transfers as a result, and resource transfers result is sent to server, pass through server Resource transfers result is sent to corresponding terminal, to remind the related resource transfer case of the corresponding user of terminal, for example is propped up Pay successfully, payment unsuccessfully etc..
The processing method of above-mentioned resource transfers request passes through this money carried in the resource transfers request that sends to terminal The corresponding first resource metastasis sequence number of source transfer request, and history resource transfers corresponding with the request of this resource transfers are asked Corresponding Secondary resource metastasis sequence number is asked to be identified, if recognizing first resource metastasis sequence number and Secondary resource transfer Sequence number is associated, then resource transfers state corresponding with Secondary resource metastasis sequence number is obtained from presetting database, as The resource transfers state of history resource transfers request, and then the resource transfers state is verified, and in the resource transfers shape When state is status of fail, the resource transfers request confirmation that terminal is sent is that new resource transfers are requested;It realizes and is sent out in terminal The resource transfers request sent turns the resource of history resource transfers request there are in the case where the request of corresponding history resource transfers The purpose that shifting state is verified, and after verification to the resource transfers state is status of fail, the resource that terminal is sent turns Moving request confirmation is that new resource transfers are requested, to improve the safety of resource transfers;Meanwhile it avoiding and directly will be present The resource transfers request of corresponding history resource transfers request is handled as new resource transfers request, and resource is caused to repeat Transfer, so that the defect for causing the safety of resource transfers to decline, further improves the safety of resource transfers.
As shown in figure 3, in one embodiment, resource transfers request further includes user identifier, then, in step S204 from Resource transfers state corresponding with Secondary resource metastasis sequence number is obtained in presetting database, is specifically comprised the following steps:
S302 obtains resource transfers corresponding with user identifier from presetting database and records information;Preset data inventory Contain the corresponding resource transfers record information of multiple user identifiers.
Wherein, user identifier refers to that server distributes to user or is linked into the unique identification of the system of server;Clothes Device be engaged in by user identifier, can distinguish the identity of resource transfers requestor.Resource transfers record information refers to that there are present counts According to the information relevant to resource transfers in library, it can specifically refer to that resource transfers record field, such as user identifier, resource turn Move numerical value, resource transfers time, resource transfers sequence number, resource transfers state etc..
For example, being illustrated using resource transfer request as payment request, then resource transfers record information refers to branch Record information is paid, resource transfers numerical value, resource transfers time, resource transfers sequence number, resource transfers state refer respectively to pay The amount of money, time of payment, payment serial number, pay status.
Specifically, server extracts multiple known users marks from presetting database, by user identifier and known use Family mark is matched, if user identifier is matched with known users mark, is obtained and the known users from presetting database Corresponding resource transfers record information is identified, records information as resource transfers corresponding with user identifier.
Further, it before obtaining resource transfers record information corresponding with user identifier in presetting database, takes Business device can also acquire multiple resource transfers record information, and obtain the user identifier of resource transfers record information, by acquisition Resource transfers record information, and referring to corresponding user identifier, classification storage facilitates subsequent server from pre- into presetting database If obtaining resource transfers corresponding with user identifier in database records information, to be obtained from resource transfers record information Resource transfers state corresponding with first resource metastasis sequence number.
S304 filters out resource transfers note corresponding with Secondary resource metastasis sequence number from resource transfers record information Record information.
Wherein, each resource transfers record information all has corresponding resource transfers sequence number, and same user identifier is corresponding Resource transfers record information resource transfers sequence number it is different.
Specifically, server obtains the resource transfers sequence number of resource transfers record information, shifts sequence as known resource Row number;Secondary resource metastasis sequence number is matched with known resource metastasis sequence number, if Secondary resource metastasis sequence number with The matching of known resource metastasis sequence number, then record information for the corresponding resource transfers of the known resource metastasis sequence number, as with The corresponding resource transfers of Secondary resource metastasis sequence number record information.In this way, it realizes to record from the resource transfers of magnanimity and believe In breath, the purpose of corresponding with Secondary resource metastasis sequence number resource transfers record information is filtered out, is facilitated subsequent from second In the corresponding resource transfers record information of resource transfers sequence number, resource transfers corresponding with Secondary resource metastasis sequence number are obtained State.
S306 is obtained and is turned with Secondary resource from resource transfers corresponding with Secondary resource metastasis sequence number record information Move the corresponding resource transfers state of sequence number.
Wherein, resource transfers state corresponding with Secondary resource metastasis sequence number, in particular to the request of history resource transfers Corresponding resource transfers state.
Specifically, server obtains resource transfers state, remembers in resource transfers corresponding with Secondary resource metastasis sequence number The location tags in information are recorded, according to the location tags, confirm resource transfers state corresponding with Secondary resource metastasis sequence number Resource transfers record information in corresponding position, resource transfers state is extracted from the position, as with Secondary resource turn Move the corresponding resource transfers state of sequence number.
In the present embodiment, information is recorded by obtaining resource transfers corresponding with user identifier from presetting database, Again from resource transfers record information, resource transfers record information corresponding with Secondary resource metastasis sequence number is filtered out, in turn Resource transfers state corresponding with Secondary resource metastasis sequence number is obtained, different user is avoided and identifies corresponding resource transfers note The resource transfers sequence number for recording information may be the same, leads to the resource transfers state directly obtained according to resource transfers sequence number The lower defect of accuracy further improves the standard of the resource transfers state corresponding with Secondary resource metastasis sequence number of acquisition True property.
As shown in figure 4, in one embodiment, turning in step S306 from resource corresponding with Secondary resource metastasis sequence number It moves in record information, obtains resource transfers state corresponding with Secondary resource metastasis sequence number, specifically comprise the following steps:
S402 obtains the identifier of resource transfers state.
Wherein, the identifier of resource transfers state refers to the resource transfers state in mark resource transfers record information only One identifier.
Specifically, server obtains the resource transfers state in multiple resource transfers record information, to multiple resource transfers Resource transfers state in record information is analyzed, and analysis result is obtained;Based on the analysis results, confirmation can be identified for that resource turns The unique identifier of shifting state, the identifier as resource transfers state.
Further, server is also based on big data technology, and the mark of resource transfers state is obtained from internet Symbol.
S404 is extracted and identifier pair from resource transfers corresponding with Secondary resource metastasis sequence number record information The resource transfers state answered, as resource transfers state corresponding with Secondary resource metastasis sequence number.
Specifically, server is from resource transfers corresponding with Secondary resource metastasis sequence number record information, confirmation and mark Know and accord with corresponding information, from resource transfers corresponding with Secondary resource metastasis sequence number record information, extracts the information, make For resource transfers state corresponding with Secondary resource metastasis sequence number.
Further, server can also carry out resource transfers record information corresponding with Secondary resource metastasis sequence number Parsing, obtains multiple resource transfers record fields;Resource transfers record field is matched with identifier, if resource transfers are remembered Field and identifier match are recorded, then the resource transfers record field is identified as resource transfers state, is turned as with Secondary resource Move the corresponding resource transfers state of sequence number.
In the present embodiment, it by being recorded in information from resource transfers corresponding with Secondary resource metastasis sequence number, obtains Resource transfers state corresponding with Secondary resource metastasis sequence number, be conducive to it is subsequent resource transfers state is verified, with true Recognize whether the request of history resource transfers fails, so that whether the resource transfers request for confirming that terminal is sent is that new resource transfers are asked It asks, further improves the safety of resource transfers.
As shown in figure 5, in one embodiment, in step S206 to the resource transfers state of history resource transfers request into Row verification, specifically comprises the following steps:
S502 obtains the identification information of the resource transfers state of history resource transfers request.
Wherein, identification information is used to identify the resource transfers state of history resource transfers request, such as identifier.
Specifically, server analyzes the resource transfers state that history resource transfers are requested, and obtains analysis result;Root According to analysis as a result, obtaining the identification information of the resource transfers state of history resource transfers request.
S504, the identification information for the resource transfers state that history resource transfers are requested and preset status of fail mark are believed Breath is matched.
Wherein, preset status of fail identification information refers to the unique identification information of mark status of fail, can be failure Status identifier.
Specifically, server obtains preset status of fail identification information, the resource transfers that history resource transfers are requested The identification information of state is matched with preset status of fail identification information.
S506, if the identification information of the resource transfers state of history resource transfers request and preset status of fail mark are believed Breath matching then confirms that the resource transfers state of history resource transfers request is status of fail.
Specifically, if the resource transfers state that server determines the request of history resource transfers is status of fail, illustrate The request failure of history resource transfers.
Further, if the identification information and preset status of fail mark of the resource transfers state of history resource transfers request Know information to mismatch, then confirms that the resource transfers state of history resource transfers request is success status or other non-status of fail (such as intermediate state) then refuses this resource transfers request of terminal transmission.
In the present embodiment, the case where there are the requests of corresponding history resource transfers for the resource transfers request that terminal is sent Under, the resource transfers state of history resource transfers request is verified, can be confirmed whether the request of history resource transfers fails, To improve the safety of resource transfers;Avoiding the resource transfers that terminal unconfirmed is sent requests corresponding history resource to turn The resource transfers moved whether request fails, and directly send terminal are requested, and are handled, are led as new resource transfers request Resource repetitive displacement is caused, the defect for causing the safety of resource transfers to decline further improves the safety of resource transfers.
In one embodiment, above-mentioned steps S202, after receiving the resource transfers request that terminal is sent, further includes: Resource transfers request is verified.
Specifically, server obtains preset resource transfers requests verification file, is tested according to the request of preset resource transfers File is demonstrate,proved, resource transfers request is verified, to judge whether resource transfers request is tampered with, if resource transfers request does not have It is tampered with, then confirms that resource transfers requests verification passes through;Wherein, resource transfers requests verification file is that one kind can be automatic Verifying resource transfers request the file whether being tampered with.
In the present embodiment, by verifying to resource transfers request, can be confirmed whether resource transfers request is usurped It corrects one's mistakes, to ensure that the safety of resource transfers request.
As shown in fig. 6, in one embodiment, resource transfers request further includes signing messages, then asking to resource transfers It asks and is verified, specifically comprised the following steps:
S602 obtains preset signature calculation file.
Wherein, preset signature calculation file is a kind of file for capableing of automatic calculate the signature, can be cryptographic Hash calculating File.
Specifically, server is based on big data technology, obtains the signature calculation file on network, counts as preset signature Calculate file.
S604 calculates resource transfers request according to preset signature calculation file, the A.L.S. after being calculated Breath.
Wherein, resource transfers request specifically include user identify (such as user identifier), business datum, random number, when Between stab and signing messages.Business datum refers to resource transfers numerical value, resource transfers object etc.;Random number refers to that resource transfers are requested The random number of generation, random number can participate in the calculating of signing messages, and the purpose is to guarantee the A.L.S. of each resource transfers request Breath does not repeat as far as possible;Timestamp refer to resource transfers request generate time point, can operation layer reduce Replay Attack can Energy property, and enhance the not repeated of signing messages together with random number;Signing messages refers to digital signature information, for verifying money Data integrity in the transfer request of source is obtained according to user's mark, business datum, random number, timestamp and cryptographic calculations It arrives;Wherein, password is that user identifies one-to-one correspondence.
Specifically, server parses the resource transfers request that terminal is sent, and obtains user's mark, business number According to, random number, timestamp and signing messages, the corresponding relationship of inquiry user mark and password is identified according to user, is obtained The password for distributing to user, according to preset signature calculation file to user's mark, business datum, random number, timestamp And obtained password is calculated, the signing messages after being calculated.
For example, signing messages can be obtained by following formula:
Signing messages=sign (user's mark+business datum+random number+timestamp+password),
Wherein, sign refers to signature algorithm, such as MD5 algorithm, SHA1 algorithm etc..
S606 confirms that resource turns if the signing messages after calculating is matched with the signing messages that resource transfers request includes Requests verification is moved to pass through.
Specifically, server matches the signing messages after calculating with the signing messages that resource transfers request includes, If the signing messages after calculating is matched with the signing messages that resource transfers request includes, illustrate that resource transfers request really has Effect, was not tampered with, then confirms that resource transfers requests verification passes through.
Further, if the signing messages that signing messages and resource transfers request after calculating include mismatches, illustrate to provide Source transfer request person has used the password of mistake or attacker to distort the data in resource transfers request, then confirms resource Transfer request verifying does not pass through, and refuses the request of this resource transfers.
In the present embodiment, by verifying to resource transfers request, can be confirmed whether resource transfers request is usurped It corrects one's mistakes, to ensure that the safety of resource transfers request.
As shown in fig. 7, in one embodiment, if recognizing first resource metastasis sequence number and the second money in step S204 Source metastasis sequence number is associated, and resource transfers state corresponding with Secondary resource metastasis sequence number is obtained from presetting database, Specifically comprise the following steps:
S702, if resource transfers requests verification passes through, to first resource metastasis sequence number and Secondary resource metastasis sequence It number is identified.
Specifically, if resource transfers requests verification passes through, sequence is shifted to the first resource that terminal is sent by server Row number and Secondary resource metastasis sequence number are identified, if recognizing this that first resource metastasis sequence number is terminal transmission Resource transfers request corresponding resource transfers sequence number, and Secondary resource metastasis sequence number, which is that the request of this resource transfers is corresponding, to be gone through History resource transfers request corresponding resource transfers sequence number, then confirm first resource metastasis sequence number and Secondary resource metastasis sequence It is number associated.
S704, if it is associated with Secondary resource metastasis sequence number to recognize first resource metastasis sequence number, from preset data Resource transfers state corresponding with Secondary resource metastasis sequence number is obtained in library.
Specifically, it if to recognize first resource metastasis sequence number associated with Secondary resource metastasis sequence number for server, says Bright first resource metastasis sequence number corresponds to the same business, i.e. this resource of terminal transmission with Secondary resource metastasis sequence number There are corresponding history resource transfers to request for transfer request, then multiple resource transfers sequence numbers are obtained from presetting database, makees For known resource metastasis sequence number;Secondary resource metastasis sequence number is matched with known resource metastasis sequence number, if second Resource transfers sequence number is matched with known resource metastasis sequence number, then obtains from presetting database and shift sequence with the known resource The corresponding resource transfers state of row number, as resource transfers state corresponding with Secondary resource metastasis sequence number.
In the present embodiment, after resource transfers requests verification passes through, to first resource metastasis sequence number and Secondary resource Metastasis sequence number is identified that the resource transfers request that can be confirmed that terminal is sent is asked with the presence or absence of corresponding history resource transfers It asks, avoids the resource transfers request that terminal unconfirmed is sent and requested with the presence or absence of corresponding history resource transfers, and directly will The resource transfers request that terminal is sent is handled as new resource transfers request, leads to resource repetitive displacement, cause resource The defect of the safety decline of transfer;Meanwhile by obtaining resource transfers state corresponding with Secondary resource metastasis sequence number, make For history resource transfers request resource transfers state, be conducive to it is subsequent to history resource transfers request resource transfers state into Row identification, with judge history resource transfers request whether really failure, thus confirm terminal send resource transfers request whether It is requested for new resource transfers, further improves the safety of resource transfers.
As shown in figure 8, in one embodiment, the processing method of the resource transfers request of the application further includes generating to remind The step of information, specifically comprises the following steps:
S802 generates prompting message according to new resource transfers request.
Prompting message is sent to terminal by S804.
Further, server can also be requested according to new resource transfers, obtain preset prompting message, will be preset Prompting message is sent to terminal, and to remind the corresponding user of terminal, resource transfers request accepts success, please don't repetitive operation, into One step ensure that the safety of resource transfers.
In one embodiment, it as shown in figure 9, providing the processing method of another resource transfers request, specifically includes Following steps:
S902 receives the resource transfers request that terminal is sent;First resource metastasis sequence is carried in resource transfers request Number and Secondary resource metastasis sequence number;First resource metastasis sequence number is that this resource transfers requests corresponding resource transfers sequence Row number;Secondary resource metastasis sequence number is that history resource transfers request corresponding resource transfers sequence number, and history resource transfers are asked Ask corresponding with the request of this resource transfers.
S904 verifies resource transfers request.
Specifically, server obtains preset signature calculation file;According to preset signature calculation file to resource transfers Request is calculated, the signing messages after being calculated;If the signing messages and resource transfers after calculating request the signature for including Information matches then confirm that resource transfers requests verification passes through.
S906 judges first resource metastasis sequence number and Secondary resource metastasis sequence if resource transfers requests verification passes through Number whether it is associated with, if so, executing S908;If it is not, then executing S912.
S908 obtains corresponding with Secondary resource metastasis sequence number resource transfers state from presetting database, as going through The resource transfers state of history resource transfers request.
S910 judges whether the resource transfers state of history resource transfers request is status of fail, if so, executing S912;If it is not, then executing S914.
Specifically, server verifies the resource transfers state that history resource transfers are requested, to judge history resource Whether the resource transfers state of transfer request is status of fail.
S912, confirmation resource transfers request are that new resource transfers are requested.
Specifically, server can also request to generate prompting message according to new resource transfers;Prompting message is sent to Terminal.
S914, refusal resource transfers request.
Specifically, server can also generate refusal prompting message, and refusal prompting message is sent to terminal, to remind Terminal user, this resource transfers request be rejected, please don't repetitive operation, further improve the safety of resource transfers.
The processing method of above-mentioned resource transfers request realizes the resource transfers sent in terminal and requests to go through there are corresponding In the case that history resource transfers are requested, to the purpose that the resource transfers state of history resource transfers request is verified, and in school The resource transfers state is tested to be that new resource transfers are asked by the resource transfers request confirmation that terminal is sent after status of fail It asks, to improve the safety of resource transfers;Meanwhile avoiding the money that corresponding history resource transfers request directly will be present Source transfer request is handled as new resource transfers request, leads to resource repetitive displacement, to cause the peace of resource transfers The defect of full property decline, further improves the safety of resource transfers.
It should be understood that although each step in the flow chart of Fig. 2-9 is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-9 Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately It executes.
As shown in Figure 10, in one embodiment, a kind of processing unit 1000 of resource transfers request, the device are provided 1000 include: request receiving module 1002, state acquisition module 1004, status check module 1006 and request confirmation module 1008, in which:
Request receiving module 1002, for receiving the resource transfers request of terminal transmission;It is carried in resource transfers request First resource metastasis sequence number and Secondary resource metastasis sequence number;First resource metastasis sequence number is the request of this resource transfers Corresponding resource transfers sequence number;Secondary resource metastasis sequence number is that history resource transfers request corresponding resource transfers sequence Number, the request of history resource transfers is corresponding with the request of this resource transfers.
State acquisition module 1004, if for recognizing first resource metastasis sequence number and Secondary resource metastasis sequence phase Association obtains resource transfers state corresponding with Secondary resource metastasis sequence number from presetting database, turns as history resource Move the resource transfers state of request.
Status check module 1006, the resource transfers state for requesting history resource transfers verify.
Request confirmation module 1008, if the resource transfers state for the request of history resource transfers is status of fail, really Recognizing resource transfers request is that new resource transfers are requested.
In one embodiment, resource transfers request further includes user identifier, and state acquisition module 1004 is also used to from pre- If obtaining resource transfers corresponding with user identifier in database records information;Presetting database is stored with multiple user identifiers pair The resource transfers record information answered;From resource transfers record information, money corresponding with Secondary resource metastasis sequence number is filtered out Source transfer record information;From resource transfers corresponding with Secondary resource metastasis sequence number record information, acquisition and Secondary resource The corresponding resource transfers state of metastasis sequence number.
In one embodiment, state acquisition module 1004 is also used to obtain the identifier of resource transfers state;From with In the corresponding resource transfers record information of two resource transfers sequence numbers, resource transfers state corresponding with identifier is extracted, is made For resource transfers state corresponding with Secondary resource metastasis sequence number.
In one embodiment, status check module 1006 is also used to obtain the resource transfers shape of history resource transfers request The identification information of state;The identification information for the resource transfers state that history resource transfers are requested and preset status of fail mark are believed Breath is matched;If the identification information and preset status of fail identification information of the resource transfers state of history resource transfers request Matching then confirms that the resource transfers state of history resource transfers request is status of fail.
In one embodiment, the processing unit 1000 of resource transfers request is specific further include: requests verification module.
Requests verification module, for requesting to carry out to resource transfers after receiving the resource transfers request that terminal is sent Verifying.
In one embodiment, it if state acquisition module 1004 is also used to resource transfers requests verification and passes through, is provided to first Source metastasis sequence number and Secondary resource metastasis sequence number are identified;If recognizing first resource metastasis sequence number and the second money Source metastasis sequence number is associated, and resource transfers state corresponding with Secondary resource metastasis sequence number is obtained from presetting database.
In one embodiment, resource transfers request further includes signing messages, and requests verification module is also used to obtain default Signature calculation file;Resource transfers request is calculated according to preset signature calculation file, the signature after being calculated Information;If the signing messages after calculating is matched with the signing messages that resource transfers request includes, confirm that resource transfers request is tested Card passes through.
In one embodiment, the processing unit 1000 of resource transfers request is specific further include: information sending module.
Information sending module, for generating prompting message according to new resource transfers request;Prompting message is sent to end End.
In the present embodiment, it is corresponded to by this resource transfers request carried in the request of the resource transfers that are sent to terminal First resource metastasis sequence number, and request corresponding second of corresponding history resource transfers request with this resource transfers Resource transfers sequence number identified, if it is associated with Secondary resource metastasis sequence number to recognize first resource metastasis sequence number, Resource transfers state corresponding with Secondary resource metastasis sequence number is then obtained from presetting database, is asked as history resource transfers The resource transfers state asked, and then the resource transfers state is verified, and when the resource transfers state is status of fail, The resource transfers request confirmation that terminal is sent is that new resource transfers are requested;Realize the resource transfers request sent in terminal There are in the case where the request of corresponding history resource transfers, the resource transfers state of history resource transfers request is verified Purpose, and after verification to the resource transfers state is status of fail, the resource transfers request confirmation that terminal is sent is newly Resource transfers request, to improve the safety of resource transfers;Meanwhile it avoiding and corresponding history resource turn directly will be present The resource transfers request for moving request is handled as new resource transfers request, leads to resource repetitive displacement, to cause to provide The defect of the safety decline of source transfer, further improves the safety of resource transfers.
Figure 11 shows the internal structure chart of computer equipment in one embodiment.The computer equipment specifically can be figure Server 120 in 1.As shown in figure 11, it includes being connected by system bus which, which includes the computer equipment, Processor, memory, network interface, input unit and display screen.Wherein, memory includes non-volatile memory medium and memory Reservoir.The non-volatile memory medium of the computer equipment is stored with operating system, can also be stored with computer program, the calculating When machine program is executed by processor, processor may make to realize the processing method of resource transfers request.It can also in the built-in storage Computer program is stored, when which is executed by processor, may make the place of processor execution resources transfer request Reason method.The display screen of computer equipment can be liquid crystal display or electric ink display screen, the input of computer equipment Device can be the touch layer covered on display screen, be also possible to the key being arranged on computer equipment shell, trace ball or touching Plate is controlled, can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Figure 11, only part relevant to application scheme The block diagram of structure, does not constitute the restriction for the computer equipment being applied thereon to application scheme, and specific computer is set Standby may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, the processing unit of resource transfers request provided by the present application can be implemented as a kind of computer The form of program, computer program can be run in computer equipment as shown in figure 11.It can in the memory of computer equipment Storage forms each program module of the processing unit of resource transfers request, for example, request receiving module shown in Fig. 10 1002, state acquisition module 1004, status check module 1006 and request confirmation module 1008.The meter that each program module is constituted Calculation machine program makes processor execute the processing side that the resource transfers of each embodiment of the application described in this specification are requested Step in method.
For example, the processing unit that computer equipment shown in Figure 11 can be requested by resource transfers as shown in Figure 10 Request receiving module 1002 in 1000 receives the resource transfers request that terminal is sent;The first money is carried in resource transfers request Source metastasis sequence number and Secondary resource metastasis sequence number;First resource metastasis sequence number is that the request of this resource transfers is corresponding Resource transfers sequence number;Secondary resource metastasis sequence number is that history resource transfers request corresponding resource transfers sequence number, history Resource transfers request is corresponding with the request of this resource transfers.If computer equipment can recognize by state acquisition module 1004 One resource transfers sequence number is associated with Secondary resource metastasis sequence number, obtains from presetting database and shifts sequence with Secondary resource The corresponding resource transfers state of row number, the resource transfers state as the request of history resource transfers.Computer equipment can pass through shape The resource transfers state that state correction verification module 1006 requests history resource transfers verifies.Computer equipment can be true by requesting If the resource transfers state for recognizing the request of 1008 history resource transfers of module is status of fail, confirm that resource transfers request is new Resource transfers request.
In one embodiment, a kind of computer equipment, including memory and processor are provided, memory is stored with meter Calculation machine program, when computer program is executed by processor, so that processor executes the processing method of above-mentioned resource transfers request Step.The step of processing method of resource transfers request herein, can be the processing of the resource transfers request of above-mentioned each embodiment Step in method.
In one embodiment, a kind of computer readable storage medium is provided, computer program, computer journey are stored with When sequence is executed by processor, so that the step of processor executes the processing method of above-mentioned resource transfers request.Resource transfers herein The step of processing method of request, can be the step in the processing method of the resource transfers request of above-mentioned each embodiment.
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 program can be stored in a non-volatile computer and can be read In storage medium, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, provided herein Each embodiment used in any reference to memory, storage, database or other media, may each comprise non-volatile And/or volatile memory.Nonvolatile memory may include that read-only memory (ROM), programming ROM (PROM), electricity can be compiled Journey 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), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) directly RAM (RDRAM), straight Connect 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 The limitation to the application the scope of the patents therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the concept of this application, various modifications and improvements can be made, these belong to the guarantor of the application Protect range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of processing method of resource transfers request, comprising:
Receive the resource transfers request that terminal is sent;Carried in the resource transfers request first resource metastasis sequence number and Secondary resource metastasis sequence number;The first resource metastasis sequence number is that this resource transfers requests corresponding resource transfers sequence Number;The Secondary resource metastasis sequence number is that history resource transfers request corresponding resource transfers sequence number, the history resource Transfer request is corresponding with this resource transfers request;
If it is associated with the Secondary resource metastasis sequence number to recognize the first resource metastasis sequence number, from presetting database Middle to obtain resource transfers state corresponding with the Secondary resource metastasis sequence number, as history resource transfers request money Source transfering state;
The resource transfers state of history resource transfers request is verified;
If the resource transfers state of the history resource transfers request is status of fail, confirm that the resource transfers request is new Resource transfers request.
2. the method according to claim 1, wherein resource transfers request further includes user identifier;
It is described that resource transfers state corresponding with the Secondary resource metastasis sequence number is obtained from presetting database, comprising:
Resource transfers corresponding with the user identifier are obtained from presetting database records information;The presetting database storage There is the corresponding resource transfers record information of multiple user identifiers;
From resource transfers record information, resource transfers record corresponding with the Secondary resource metastasis sequence number is filtered out Information;
From resource transfers corresponding with the Secondary resource metastasis sequence number record information, obtains and shifted with the Secondary resource The corresponding resource transfers state of sequence number.
3. according to the method described in claim 2, it is characterized in that, described from corresponding with the Secondary resource metastasis sequence number Resource transfers record in information, obtain resource transfers state corresponding with the Secondary resource metastasis sequence number, comprising:
Obtain the identifier of resource transfers state;
From resource transfers corresponding with the Secondary resource metastasis sequence number record information, extract corresponding with the identifier Resource transfers state, as resource transfers state corresponding with the Secondary resource metastasis sequence number.
4. the method according to claim 1, wherein the resource transfers to history resource transfers request State is verified, comprising:
Obtain the identification information of the resource transfers state of the history resource transfers request;
By the history resource transfers request resource transfers state identification information and preset status of fail identification information into Row matching;
If the identification information of the resource transfers state of the history resource transfers request and the preset status of fail mark are believed Breath matching then confirms that the resource transfers state of the history resource transfers request is status of fail.
5. the method according to claim 1, wherein being gone back after receiving the resource transfers request that terminal is sent Include:
Resource transfers request is verified;
Described, if to recognize the first resource metastasis sequence number associated with the Secondary resource metastasis sequence number, from present count According to acquisition resource transfers state corresponding with the Secondary resource metastasis sequence number in library, comprising:
If the resource transfers requests verification passes through, sequence is shifted to the first resource metastasis sequence number and the Secondary resource Row number is identified;
If it is associated with the Secondary resource metastasis sequence number to recognize the first resource metastasis sequence number, from presetting database It is middle to obtain resource transfers state corresponding with the Secondary resource metastasis sequence number.
6. according to the method described in claim 5, it is characterized in that, resource transfers request further includes signing messages;
It is described that resource transfers request is verified, comprising:
Obtain preset signature calculation file;
Resource transfers request is calculated according to the preset signature calculation file, the A.L.S. after being calculated Breath;
If the signing messages after the calculating is matched with the signing messages that resource transfers request includes, described in confirmation Resource transfers requests verification passes through.
7. according to claim 1 to method described in 6 any one, which is characterized in that the method also includes:
Prompting message is generated according to the new resource transfers request;
The prompting message is sent to the terminal.
8. a kind of processing unit of resource transfers request, which is characterized in that described device includes:
Request receiving module, for receiving the resource transfers request of terminal transmission;First is carried in the resource transfers request Resource transfers sequence number and Secondary resource metastasis sequence number;The first resource metastasis sequence number is the request of this resource transfers Corresponding resource transfers sequence number;The Secondary resource metastasis sequence number is that history resource transfers request corresponding resource transfers sequence Row number, the history resource transfers request are corresponding with this resource transfers request;
State acquisition module, if for recognizing the first resource metastasis sequence number and the Secondary resource metastasis sequence phase Association obtains resource transfers state corresponding with the Secondary resource metastasis sequence number from presetting database, goes through as described The resource transfers state of history resource transfers request;
Status check module, the resource transfers state for requesting the history resource transfers verify;
Request confirmation module confirms institute if the resource transfers state for history resource transfers request is status of fail Stating resource transfers request is that new resource transfers are requested.
9. a kind of computer readable storage medium, be stored with computer program makes when the computer program is executed by processor The processor is obtained to execute such as the step of any one of claims 1 to 7 the method.
10. a kind of computer equipment, including memory and processor, the memory is stored with computer program, the calculating When machine program is executed by the processor, so that the processor executes the step such as any one of claims 1 to 7 the method Suddenly.
CN201910768926.8A 2019-08-20 2019-08-20 Method, device and computer readable storage medium for processing resource transfer request Active CN110503432B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910768926.8A CN110503432B (en) 2019-08-20 2019-08-20 Method, device and computer readable storage medium for processing resource transfer request

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910768926.8A CN110503432B (en) 2019-08-20 2019-08-20 Method, device and computer readable storage medium for processing resource transfer request

Publications (2)

Publication Number Publication Date
CN110503432A true CN110503432A (en) 2019-11-26
CN110503432B CN110503432B (en) 2024-03-26

Family

ID=68588818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910768926.8A Active CN110503432B (en) 2019-08-20 2019-08-20 Method, device and computer readable storage medium for processing resource transfer request

Country Status (1)

Country Link
CN (1) CN110503432B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113420855A (en) * 2021-06-23 2021-09-21 深圳市中壬银兴信息技术有限公司 High-security acquisition resource transfer method convenient for scanning based on block chain technology
CN114679495A (en) * 2022-02-08 2022-06-28 阿里云计算有限公司 Scheduling arrangement method and scheduling execution method for resource service operation request

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106204217A (en) * 2016-07-08 2016-12-07 腾讯科技(深圳)有限公司 The methods, devices and systems of resource numerical value transfer, the method and apparatus of resource numerical value transfer request
WO2018153209A1 (en) * 2017-02-23 2018-08-30 腾讯科技(深圳)有限公司 Method for transferring resource value, and server, system and storage medium
CN109102299A (en) * 2018-08-01 2018-12-28 腾讯科技(深圳)有限公司 Resource transfers data managing method, device and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106204217A (en) * 2016-07-08 2016-12-07 腾讯科技(深圳)有限公司 The methods, devices and systems of resource numerical value transfer, the method and apparatus of resource numerical value transfer request
WO2018153209A1 (en) * 2017-02-23 2018-08-30 腾讯科技(深圳)有限公司 Method for transferring resource value, and server, system and storage medium
CN109102299A (en) * 2018-08-01 2018-12-28 腾讯科技(深圳)有限公司 Resource transfers data managing method, device and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113420855A (en) * 2021-06-23 2021-09-21 深圳市中壬银兴信息技术有限公司 High-security acquisition resource transfer method convenient for scanning based on block chain technology
CN113420855B (en) * 2021-06-23 2022-02-18 深圳市中壬银兴信息技术有限公司 High-security acquisition resource transfer method convenient for scanning based on block chain technology
CN114679495A (en) * 2022-02-08 2022-06-28 阿里云计算有限公司 Scheduling arrangement method and scheduling execution method for resource service operation request
CN114679495B (en) * 2022-02-08 2024-01-05 阿里云计算有限公司 Scheduling method and scheduling execution method for resource service operation request

Also Published As

Publication number Publication date
CN110503432B (en) 2024-03-26

Similar Documents

Publication Publication Date Title
CN109598149B (en) Service processing method and device
CN113537984A (en) Content verification method and device based on block chain and electronic equipment
CN109784922B (en) Electronic contract signing method, electronic contract signing device, computer equipment and storage medium
CN108306876A (en) Client identity verification method, device, computer equipment and storage medium
CN110210732A (en) Resource transfers method, apparatus, computer equipment and storage medium
CN111163182A (en) Block chain-based device registration method and apparatus, electronic device, and storage medium
CN110163658B (en) Virtual resource data processing method and device, computer equipment and storage medium
CN109815138A (en) Business information test method, device, computer equipment and storage medium
CN113793151A (en) Block chain-based data evidence storing method and device and electronic equipment
CN110084600B (en) Processing and verifying method, device, equipment and medium for resolution transaction request
CN109656778A (en) Data capture method, device, computer equipment and storage medium
CN112070501B (en) Block chain transaction initiating and verifying method and system
CN112073289B (en) Instant messaging control method and device
CN110503432A (en) Processing method, device and the computer readable storage medium of resource transfers request
CN110474925A (en) Judicial document delivery information sharing method, device and computer readable storage medium
US20210142371A1 (en) Control method, fund management system, recording medium, and data structure
CN109447825A (en) Method, apparatus, computer equipment and the storage medium of online declaration form processing
CN110490005B (en) Method, device and computer readable storage medium for processing resource transfer request
CN108632348B (en) Service checking method and device
CN111311179A (en) Object processing method and device, electronic equipment and computer readable storage medium
CN105933499A (en) Verification method and system
US11509484B1 (en) Security settlement using group signatures
CN112182009A (en) Data updating method and device of block chain and readable storage medium
CN114266680A (en) Block chain-based electronic contract signing method, device and system
CN110738470B (en) Electronic bill processing method, electronic bill processing device, storage medium and electronic bill processing equipment

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
GR01 Patent grant
GR01 Patent grant