It prevents the method, apparatus for repeating to cash, cash system and readable storage medium storing program for executing

文档序号:1756500 发布日期:2019-11-29 浏览:24次 中文

阅读说明:本技术 防止重复兑付的方法、装置、兑付系统及可读存储介质 (It prevents the method, apparatus for repeating to cash, cash system and readable storage medium storing program for executing ) 是由 张勇 于 2019-07-11 设计创作,主要内容包括:本发明公开了一种防止重复兑付的方法、装置、兑付系统及可读存储介质,该方法包括步骤:当兑付系统侦测到兑付订单对应的兑付请求后,生成兑付请求对应的兑付记录;将兑付记录发送给银行系统,并检测是否接收到银行系统根据兑付记录执行对应兑付操作后返回的兑付结果;当接收到兑付结果,且根据兑付结果确定银行系统成功执行兑付操作后,将兑付记录中的兑付状态修改为已兑付状态,并在接收到已兑付状态的兑付订单对应的兑付请求后,输出提示信息提示兑付用户,兑付订单已兑付,以禁止对处于已兑付状态的兑付订单再次提起兑付请求。本发明通过运维,进行兑付的过程优化,避免了对已兑付过的兑付订单进行重复兑付,降低了兑付重复率。(Prevent the method, apparatus for repeating to cash the invention discloses a kind of, cash system and readable storage medium storing program for executing, the method comprising the steps of: when cashing systems scan to after cashing that order is corresponding to cash request, generation, which is cashed, requests corresponding to cash record;Record will be cashed and be sent to banking system, and detect whether to receive banking system according to cash record execute it is corresponding cash return after operation cash result;Result is cashed when receiving, and according to cashing after result determines that banking system successful execution cashes operation, it is to have cashed state by the status modifier of cashing cashed in record, and after receiving the cashing that order is corresponding and cash request of the state of having cashed, user is cashed in output prompt information prompt, it cashes order to have cashed, to forbid lifting cash request again to the order of cashing in state of having cashed.The present invention is by O&M, the process optimization cashed, and avoids and carries out repeating to cash to the order of cashing cashed, reduces and cash repetitive rate.)

1. a kind of prevent from repeating the method cashed, which is characterized in that the method for preventing from repeating to cash the following steps are included:

When cashing systems scan, to being cashed after cashing that order is corresponding to cash request described in generation, request is corresponding to cash record;

The record of cashing is sent to banking system, and detects whether that receive the banking system cashes record according to Execute it is corresponding cash return after operation cash result;

When receive it is described cash as a result, and according to it is described cash result and determine cash behaviour described in the banking system successful execution It is to have cashed state, and described cashed converting for state receiving by the status modifier of cashing cashed in record after work Pay order is corresponding cash request after, output prompt information prompt cash user, the order of cashing has been cashed, to forbid to place Lift cash request again in the order of cashing for having cashed state.

2. preventing from repeating the method cashed as described in claim 1, which is characterized in that described when cashing systems scan to cashing Order is corresponding cash request after, before cashing request corresponding the step of cashing record described in generation, further includes:

Whether detection current time is in described and cashes that order is corresponding default to be cashed in the period;

If the current time is in described preset and cashes in the period, prompt information is exported, according to the prompt information Prompt cashes user and cashes request described in period internal trigger in default cash.

3. preventing from repeating the method cashed as described in claim 1, which is characterized in that described when cashing systems scan to cashing Order is corresponding cash request after, cashing request corresponding the step of cashing record described in generation includes:

When cashing systems scan to after cashing that order is corresponding to cash request, whether detection current time is in described and cashes request Correspondence is cashed the default of order and is cashed in the period;

If the current time be in it is described it is default cash in the period, generate described in cash that request is corresponding to cash record.

4. preventing from repeating the method cashed as described in claim 1, which is characterized in that described receive described cashes result After step, further includes:

If determining that the banking system cashes operation described in executing not successfully according to the result of cashing, record is cashed by described In cash state from cash middle status modifier be state to be cashed, and it is secondary again after preset duration cash record, will again Record, which is cashed, described in generating is sent to the banking system.

5. the method for preventing from repeating to cash as described in claim 1, which is characterized in that cash system when there are at least two When, it is described to cash the step of record is sent to banking system by described and include:

The record of cashing is sent to data forwarding system, so that the data forwarding system described cashes record receiving Afterwards, the record of cashing is sent to the banking system.

6. such as the method described in any one of claim 1 to 5 for preventing from repeatedly cashing, which is characterized in that described to cash system It detects after cashing that order is corresponding and cashing request, cashing request corresponding the step of cashing record described in generation includes:

When cash systems scan to after cashing that order is corresponding to cash request, cashed described in acquisition request it is corresponding cash the amount of money, The bank of deposit of payer title, receipt side title, receipt side bank account and the bank account;

The major key mark that order is cashed described in acquisition, cashes that request is corresponding to cash code described in generation, and cashes order for described Cash state from status modifier to be cashed be cash middle state;

It is identified according to the major key, cashes state, cash code, cash the amount of money, payer title, receipt side title, receipt side silver Row account and bank of deposit, which generate, cashes record.

7. the method for preventing from repeating to cash as claimed in claim 6, which is characterized in that cash request described in the generation and correspond to Include: the step of cashing yard

Record detects the detecting time for cashing request;

According to the detecting time generate described in cash request and corresponding cash code.

8. a kind of prevent from repeating the device cashed, which is characterized in that described to prevent the device for repeating to cash from including:

Generation module, for when detect cash that order is corresponding to cash request after, cash that request is corresponding to cash described in generation Record;

Sending module, for the record of cashing to be sent to banking system;

Detection module, for detecting whether receive the banking system cashed according to record execute it is corresponding cash operation after What is returned cashes result;

Modified module receives described cash as a result, and determining the banking system success according to the result of cashing for working as It is to have cashed state by the status modifier of cashing cashed in record after cashing operation described in execution;

Disabled module, for receive it is described cashed the cashing that order is corresponding and cash request of state after, output prompt letter User is cashed in breath prompt, and the order of cashing has been cashed, to forbid mentioning again in the order of cashing for having cashed state It rises and cashes request.

9. one kind cashes system, which is characterized in that the system of cashing includes memory, processor and is stored in the memory The program for preventing from repeating to cash that is upper and can running on the processor, it is described to prevent the program for repeating to cash by the processing The step of method for preventing repetition from cashing as described in any one of claims 1 to 7 is realized when device executes.

10. a kind of computer readable storage medium, which is characterized in that being stored on the computer readable storage medium prevents weight The program cashed again, the program for preventing repetition from cashing are realized when being executed by processor such as any one of claims 1 to 7 institute The step of method for preventing repetition from cashing stated.

Technical field

The present invention relates to O&M technical field more particularly to it is a kind of prevent repeat cash method, apparatus, cash system and Readable storage medium storing program for executing.

Background technique

Cash be using bill as voucher cash payment current many male to male business the means of payment, cashing makes enterprise not A large amount of branch payment must be reserved, is bank by the organisation conversion of cash payment, branch taker is coupon-based to get one side of payment according to bank It is pre-stored in the cash of bank.It during cashing, needs business personnel to click in cashing system and cashes button, triggering, which is cashed, asks It asks, operation is cashed in execution, and an enterprise can have the order for much needing to cash, and business personnel forgets that some is cashed sometimes and orders It is single whether to have cashed, it is easy to appear the case where repetition is cashed at this time, causes to cash repetitive rate height.

Summary of the invention

It the method, apparatus for repeating to cash is prevented, cashes system the main purpose of the present invention is to provide a kind of and readable deposits Storage media, it is intended to solve it is existing be easy to appear the case where repetition is cashed, cause to cash the high technical problem of repetitive rate.

To achieve the above object, the present invention provides a kind of method for preventing from repeating to cash, the side for preventing from repeating to cash Method comprising steps of

When cashing systems scan, to being cashed after cashing that order is corresponding to cash request described in generation, request is corresponding to cash note Record;

The record of cashing is sent to banking system, and detects whether that receive the banking system cashes according to Record execute it is corresponding cash return after operation cash result;

When receive it is described cash as a result, and according to it is described cash result and determine converted described in the banking system successful execution It is to have cashed state, and described cashed state receiving by the status modifier of cashing cashed in record after paying operation Cash that order is corresponding and cash request after, user is cashed in output prompt information prompt, and the order of cashing has been cashed, to forbid Lift cash request again in the order of cashing for having cashed state.

Preferably, described when cashing systems scan to after cashing that order is corresponding to cash request, request is cashed described in generation Before corresponding the step of cashing record, further includes:

Whether detection current time is in described and cashes that order is corresponding default to be cashed in the period;

If the current time is in described preset and cashes in the period, prompt information is exported, according to the prompt Information alert cashes user and cashes request described in period internal trigger in default cash.

Preferably, described when cashing systems scan to after cashing that order is corresponding to cash request, request is cashed described in generation Corresponding the step of cashing record includes:

Is cashed when cashing systems scan to after cashing that order is corresponding to cash request, whether detection current time is in described Request correspondence is cashed the default of order and is cashed in the period;

If the current time be in it is described it is default cash in the period, generate described in cash that request is corresponding to cash note Record.

Preferably, it is described receive described the step of cashing result after, further includes:

If determining that the banking system cashes operation described in executing not successfully according to the result of cashing, cashed described State of cashing in record from middle status modifier is cashed is state to be cashed, and it is secondary again after preset duration cash record, general Record, which is cashed, described in generating again is sent to the banking system.

Preferably, described by the step cashed record and be sent to banking system when cashing system there are at least two Suddenly include:

The record of cashing is sent to data forwarding system, so that the data forwarding system is receiving described cash After record, the record of cashing is sent to the banking system.

Preferably, described when cashing systems scan to after cashing that order is corresponding to cash request, request is cashed described in generation Corresponding the step of cashing record includes:

When cashing systems scan, to being cashed after cashing that order is corresponding to cash request described in acquisition, request is corresponding to cash gold The bank of deposit of volume, payer title, receipt side title, receipt side bank account and the bank account;

The major key mark that order is cashed described in acquisition, cashes that request is corresponding to cash code described in generation, and cashes described Order cash state from status modifier to be cashed be cash middle state;

It is identified according to the major key, cashes state, cash code, cash the amount of money, payer title, receipt side title, income Square bank account and bank of deposit, which generate, cashes record.

Preferably, the step of request is corresponding to cash yard is cashed described in the generation includes:

Record detects the detecting time for cashing request;

According to the detecting time generate described in cash request and corresponding cash code.

In addition, to achieve the above object, it is described to prevent from repeating to convert the present invention also provides a kind of device for preventing from repeating to cash Pay device include:

Generation module, for when detect cash that order is corresponding to cash request after, it is corresponding to cash request described in generation Cash record;

Sending module, for the record of cashing to be sent to banking system;

Detection module cashes behaviour for detecting whether receiving the banking system and cashing record execution correspondence according to What is returned after work cashes result;

Modified module receives described cash as a result, and determining the banking system according to the result of cashing for working as It is to have cashed state by the status modifier of cashing cashed in record after cashing operation described in successful execution;

Disabled module, for receive it is described cashed the cashing that order is corresponding and cash request of state after, output mentions Show that information alert cashes user, the order of cashing has been cashed, with forbid in it is described cashed state cash order again It is secondary lift cash request.

In addition, to achieve the above object, cash system the present invention also provides one kind, it is described cash system include memory, Processor and the program for preventing from repeating to cash that is stored on the memory and can run on the processor, it is described to prevent The step of method for preventing repeating to cash as described above is realized when the program that repetition is cashed is executed by the processor.

In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium The program for preventing repeating to cash is stored on storage medium, the program for preventing repetition from cashing is realized such as when being executed by processor Above the step of method for preventing repetition from cashing.

The present invention generates this and cashes that request is corresponding to cash record, general by cashing system after detecting and cashing request This is cashed record and is sent to banking system, and determines that banking system successful execution is converted in the result of cashing returned according to banking system After paying that record is corresponding and cashing operation, modification cashes in record and cashes state, and forbids to ordering in having cashed cashing for state List lifts again cashes request, avoids and carries out repeating to cash to the order of cashing cashed, reduces and cash repetitive rate.

Detailed description of the invention

Fig. 1 is the flow diagram that the present invention prevents from repeating the method first embodiment cashed;

Fig. 2 is the flow diagram that the present invention prevents from repeating the method second embodiment cashed;

Fig. 3 is the functional schematic module map that the present invention prevents from repeating the device preferred embodiment cashed;

Fig. 4 is the structural schematic diagram for the hardware running environment that the embodiment of the present invention is related to.

The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.

Specific embodiment

It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.

The present invention provides a kind of method for preventing from repeating to cash, and referring to Fig.1, Fig. 1 is that the present invention prevents the side for repeating to cash The flow diagram of method preferred embodiment.

The embodiment of the invention provides the embodiments for preventing from repeating the method cashed, it should be noted that although in process Logical order is shown in figure, but in some cases, it can be to be different from shown or described by sequence execution herein Step.

The method for repeating to cash is prevented to be applied to cash in system, server or terminal, terminal may include such as hand Machine, tablet computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA) The fixed terminals such as equal mobile terminals, and number TV, desktop computer.In each implementation for preventing from repeating the method cashed In example, for ease of description, each embodiment is illustrated as executing subject to cash system.Prevent the method packet for repeating to cash It includes:

Step S10 is corresponded to when cashing systems scan to after cashing that order is corresponding to cash request, cashing request described in generation Cash record.

Cash that request is corresponding to cash note to after cashing that order is corresponding to cash request, generating this when cashing systems scan Record.It in cashing system, is provided with and cashes button, cash user and can click the button of cashing cashed in system and cashed with triggering Request.In cashing system, be provided with and cash record sheet, it is each cash request and correspond to one cash record, and correspond to One is cashed code, is cashed record and is stored in and cashes in record sheet, wherein the form for cashing record sheet includes but is not limited to Excel and HTML (Hyper Text Markup Language, HyperText Markup Language).

Further, cashing request corresponding the step of cashing record described in generation includes:

It is corresponding to cash request when cashing systems scan to after cashing that order is corresponding to cash request by step a described in acquisition Cash the bank of deposit of the amount of money, payer title, receipt side title, receipt side bank account and the bank account.

Specifically, the process of record cashed is generated are as follows: acquisition cashes that request is corresponding to cash the amount of money, payer title, receive The bank of deposit of the side's of entering title, receipt side bank account and bank account.Wherein, it cashes to carry in request and cashes the amount of money, payment The bank of deposit of square title, receipt side title, receipt side bank account and the bank account, the system of cashing can be obtained from cashing in request Take the bank of deposit for cashing the amount of money, payer title, receipt side title, receipt side bank account and bank account;Or cash use Family is triggered in cashing system when cashing request, is inputted in the display interface for cashing system by cashing user and is cashed the amount of money, branch Pay the bank of deposit of square title, receipt side title, receipt side bank account and the bank account;Or when cashing systems scan to converting Pay order is corresponding cash request after, the system of cashing obtain this cash request carry O/No., according to the O/No. from It obtains that the O/No. is corresponding to cash order in database, cashes to obtain in order from this and cash the amount of money, payer title, receive The bank of deposit of the side's of entering title, receipt side bank account and the bank account.

Step b cashes the major key mark of order described in acquisition, cashes that request is corresponding to cash code described in generation, and by institute State cash order cash state from status modifier to be cashed be cash middle state.

The system of cashing obtains this and cashes the corresponding major key mark for cashing order of request, and cashes state for what this cashed order It is to cash middle state from status modifier to be cashed.Wherein, cash the corresponding major key mark of order for one, a major key identify to It corresponds to one less and cashes code and one is cashed record.In embodiments of the present invention, the form of expression of primary key knowledge is not limited, it is such as main O/No. expression can be used in key mark, can also cash system pre-set major key mark create-rule and generates this and cash and order Single corresponding major key mark.It should be noted that the system of cashing can will cash order after the system of cashing receives and cashes order It stores into database, and generates this and cash the corresponding major key mark of order.The state of cashing for cashing order includes but is not limited to State to be cashed cashes middle state, cashed state and cashes status of fail, it is to be understood that state to be cashed shows to convert It pays order to cash not yet, cashes middle state and show that cashing order is cashing, the state of having cashed shows that cashing order has succeeded It cashes, cashes status of fail and show that cashing order had cashed, but cash failure.

Step c is identified according to the major key, cashes state, cashes code, is cashed the amount of money, payer title, receipt side name Claim, receipt side bank account and bank of deposit generate and cash record.

It identified when the system of cashing obtains major key, cash state, cash code, cash the amount of money, payer title, receipt side name Claim, after receipt side bank account and bank of deposit, system of cashing identifies according to major key, cashes state, cash code, cash the amount of money, branch It pays square title, receipt side title, receipt side bank account and bank of deposit's generation and cashes record.In cashing record, master is not limited Key mark cashes state, cashes code, cashes the amount of money, payer title, receipt side title, receipt side bank account and bank of deposit Put in order.It follows that can be appreciated that the specifying information for cashing order by cashing record.Further, it cashes in record It may also include payer bank account and bank of deposit.

Further, the step of request is corresponding to cash yard is cashed described in the generation includes:

Step d, record detect the detecting time for cashing request.

Specifically, the process for cashing code is generated are as follows: cash system record and detect the detecting time for cashing request, the detecting Time can be accurate to second or millisecond rank.

Step e, according to the detecting time generate described in cash request and corresponding cash code.

After the detecting time is recorded in the system of cashing, system of cashing is generated according to the detecting time to be cashed request and corresponding cashes Code.When such as when the detecting time is A B month C day D, E divides F seconds, the code of cashing of generation can be ABCDEF.It is understood that by It is uniquely that therefore, it is also unique for cashing code in the detecting time.In order to improve the safety for cashing code, it can also change and convert The sequence for paying code, i.e., do not cash code according to being sequentially generated for date Hour Minute Second, can be according to the month day year timesharing second, or according to the second Timesharing day month year etc., which is sequentially generated, cashes code.

Further, record is cashed in order to avoid cashing two as cashing code in record sheet, in the embodiment of the present invention In, when record sheet is cashed in creation, a unique index is established to cash a yard corresponding field in cashing record sheet.

The record of cashing is sent to banking system by step S20, and detect whether to receive the banking system according to It is described cash record execute it is corresponding cash return after operation cash result.

After the system of cashing obtains cashing record, the system of cashing will cash record and be sent to banking system, and detect whether Receive banking system according to cash record execute it is corresponding cash return after operation cash result.Specifically, the banking system It is system corresponding with the bank for cashing system relationship, cashes system and be specifically associated with that banking system, it can be by cashing user It is arranged as the case may be.It should be noted that cashing user is to cash the corresponding business personnel of system.When banking system connects Receive after cashing record, banking system according to this cash record execute it is corresponding cash operation, obtain corresponding cash as a result, simultaneously Result will be cashed and return to the system of cashing.It is understood that it is that will cash the amount of money from payment that operation is cashed in banking system execution Button is drawn in the corresponding payer bank account of square title into receipt side bank account, if will successfully cash the amount of money draws button to taking in In square bank account, show that cashing operation runs succeeded;If the amount of money will be cashed by, which failing, draws button into receipt side bank account, Show that cashing operation executes failure.

Further, code can also will be cashed and cash record and send jointly to banking system by cashing system, for department of banking System corresponding cashes operation according to cashing code and cash record to execute.

Step S30, when receiving described cash as a result, and determining that the banking system is successfully held according to the result of cashing After cashing operation described in row, by it is described cash in record cash status modifier be cashed state, and receive it is described After cashing the cashing that order is corresponding and cash request of state, user is cashed in output prompt information prompt, and the order of cashing has been converted It pays, to forbid lifting cash request again in the order of cashing for having cashed state.

After the system of cashing, which receives, cashes result, system is cashed according to cashing result and judges whether banking system is successfully held Capable this cashes operation.Specifically, cash success flag if cashing result and carrying, it is determined that banking system successful execution this cash Operation;It is unsuccessfully identified if cashing result and carrying to cash, it is determined that banking system, which fails, to be executed this and cash operation.Wherein, Cashing unsuccessfully mark may be configured as " false ", and cashing success flag may be configured as " true ";Or unsuccessfully mark setting will be cashed For " 00 ", cashes success flag and be set as " 11 ".

After system of cashing is according to cashing result and determining that banking system successful execution cashes operation, that is, cashes result carrying and convert Success flag is paid, it from middle status modifier is cashed is to have cashed state that system of cashing, which will cash the state of cashing in record, and is forbidden Order of cashing in state of having cashed is lifted cash request again, that is, forbids identifying to corresponding to major key in state of having cashed Order of cashing recur to and cash request.Specifically, when cashing systems scan to cashing user in having cashed state It cashes order to lift again when cashing request, cashes the exportable prompt information prompt of system and cash user, this is cashed order and has converted It pays, it is not reproducible to cash, to forbid lifting cash request again in the order of cashing for having cashed state.

Further, it after system of cashing is according to cashing result and determining that banking system successful execution cashes operation, cashes and is Unite it is exportable cash successful prompt information, cash user to cash the prompt of successful prompt information according to this, cashed order Successfully cash.Further, it cashes system this can be cashed to successful prompt information and be sent to receipt side counterpart terminal, work as income Square counterpart terminal receives cash successful prompt information after, export this and cash successful prompt information, to be cashed into according to this The prompt information of function prompts receipt side user, cashes order and successfully cashes.

The present embodiment generates this and cashes that request is corresponding to cash record by cashing system after detecting and cashing request, This is cashed into record and is sent to banking system, and determines banking system successful execution in the result of cashing returned according to banking system After cashing that record is corresponding and cashing operation, modification cashes in record and cashes state, and forbids to cashing in having cashed state Order lifts again cashes request, avoids and carries out repeating to cash to the order of cashing cashed, reduces and cash repetitive rate.

Further, propose that the present invention prevents the method second embodiment for repeating to cash.

It is described to prevent the method second embodiment for repeating to cash and the method first embodiment for preventing from repeating to cash Difference is, referring to Fig. 2, the method for preventing repetition from cashing further include:

Whether step S40, detection current time are in described and cash that order is corresponding default to be cashed in the period.

In cashing system, be provided with timed task, the timed task corresponding triggered time according to specific needs and Setting, the embodiment of the present invention are not particularly limited the timed task corresponding triggered time.When cashing the timed task in system When triggering, cashes system detection current time and whether be in and cash that order is corresponding default to be cashed in the period.Wherein, each to cash Order all exist it is corresponding it is default cash the period, cash order it is corresponding it is default cash the period and pre-set, no With cash order it is default cash the period may be identical, it is also possible to it is not identical.

Step S50 exports prompt information, if the current time is in described preset and cashes in the period with basis The prompt information prompt cashes user and cashes request described in period internal trigger in default cash.

It is cashed in the period if cashing system detection and being in default to current time, the system of cashing exports prompt information, It cashes period internal trigger default to cash user according to prompt information prompt and cashes request.Wherein, prompt information is defeated Mode includes but is not limited to text or speech form out.Specifically, the prompt can be exported in its display interface by cashing system Information, the system of cashing can also will be prompted to information and are sent to cash the held terminal of user, receive this when cashing the held terminal of user After prompt information, which exports the prompt information in its display interface, is existed with cashing user according to prompt information prompt It is default to cash period internal trigger and cash request.

Further, if cash system detection to current time be not at it is default cash in the period, cash system after Whether continuous detection current time, which is in, is cashed that order is corresponding default to be cashed in the period.

The present embodiment is by when cashing system detection and being in default to current time and cash in the period, output prompt letter Breath cashes user according to prompt information prompt and cashes period internal trigger default this cashes request, to prompt to cash user Request is cashed in triggering in time, is avoided cashing order and is preset to cash in the period at it and does not cash, and causing to cash order cannot convert Pay, improve cash order cash success rate.

Further, propose that the present invention prevents the method 3rd embodiment for repeating to cash.

It is described to prevent the method 3rd embodiment for repeating to cash and the method first or second for preventing from repeating to cash real The difference for applying example is, step S10 further include:

Step f, when cashing systems scan to after cashing that order is corresponding to cash request, whether detection current time is in institute It states and cashes that request is corresponding to cash the default of order and cash in the period.

When cashing systems scan to after cashing that order is corresponding to cash request, cash whether system detection current time is in Cash that request is corresponding to cash the default of order and cash in the period.It should be noted that default in the present embodiment cashes the time It is consistent that section with default in second embodiment cashes the period.

It is corresponding to cash request if the current time is in described preset and cashes in the period by step g described in generation Cash record.

It is cashed in the period if cashing system detection and being in default to current time, cashes system generation and cash request pair That answers cashes record;It is cashed in the period if cashing system detection and being not to preset to current time, cashes system output and mention Show that information alert cashes user and cashes timing error, please it is default cash to extract again in the period cash request.

For the present embodiment by cashing systems scan to after cashing request, whether detection current time, which is in, is cashed request pair The default of order should be cashed to cash in the period;If detecting, current time is in default and cashes in the period, cashes system Generation cashes that request is corresponding to cash record, avoid and cash execution outside the period default and cash request, improves and cashes Accuracy rate.

Further, propose that the present invention prevents the method fourth embodiment for repeating to cash.

It is described to prevent the method fourth embodiment for repeating to cash and the method the first, second or for preventing from repeating to cash The difference of three embodiments is, the method for preventing from repeating to cash further include:

Step h, if determining that the banking system cashes operation described in executing not successfully according to the result of cashing, by institute It states to cash in record and cashes state from middle status modifier is cashed as state to be cashed, and generate and cash again after preset duration Record, will generate again described in cash record and be sent to the banking system.

If cashing system determines that cashing result carrying cashes and unsuccessfully identify, that is, system is cashed according to determining that cashing result determines Operation is cashed in the banking system execution that fails, and is cashed system and will then be cashed in record and cashes state from cashing middle status modifier It for state to be cashed, and is generated again after preset duration and cashes record, the record of cashing generated again is sent to department of banking System, so that banking system cashes operation according to the record execution of cashing that this is generated again.Wherein, preset duration can be according to specific need It wants and is arranged, preset duration is not particularly limited in the embodiment of the present invention.The process for cashing record is generated in the first implementation It is described in detail in example, repeats no more in the present embodiment.

It is cashed in recording process it should be noted that cashing system and being generated again after preset duration, cashing system can be certainly Request is cashed in dynamic triggering, at this point, cashing twice, the request corresponding detecting time is different, and corresponding code of cashing is also different, i.e., The code of cashing cashed in record twice is different, it follows that it is inconsistent due to cashing code, what is generated twice converts It is also inconsistent to pay record.

The present embodiment is by cashing state for cashing in record after determining that banking system executes cash operation not successfully It is state to be cashed from middle status modifier is cashed, and is generated again after preset duration and cash record, is cashed what is generated again Record is sent to banking system, cashes operation so that banking system executes again, improves the success rate cashed.

Further, it when cashing system there are at least two, prevents from repeating the method cashed further include:

The record of cashing is sent to data forwarding system, so that the data forwarding system is receiving by step i It states after cashing record, the record of cashing is sent to the banking system.

When cashing system there are at least two, cash between system and banking system there are a data forwarding system, It cashes system and banking system is carried out data transmission by data forwarding system.Specifically, record is cashed when system of cashing generates Afterwards, it cashes system this is cashed into record and be sent to data forwarding system, this is cashed into record by data forwarding system and is sent to silver Row system.At this point, cashing the bank identifier for cashing mark and banking system for carrying the system of cashing in record, data forwarding system System can determine that this, which is cashed record, is sent to that banking system by the bank identifier, and banking system cashes mark according to this May know that this cashes record is that is cashed system and sends.Further, after banking system obtains cashing result, bank This is cashed result and is sent to data forwarding system by system, and data forwarding system is cashed in result according to this and cashes mark Know this is cashed result to be sent to that and cashes system.

The present embodiment carries out data forwarding, data forwarding cashing by data forwarding system between system and banking system System can decide whether that the record of cashing that will cash system transmission is sent to banking system, avoid banking system in the same time Receive it is multiple cash system transmission cash record, increase the load of banking system, allow banking system orderly hold Row cashes operation, ensure that and cashes the order that operation executes.

In addition, referring to Fig. 3, the present invention also provides a kind of device for preventing from repeating to cash, the dress for preventing from repeating to cash It sets and includes:

Generation module 10, for when detect cash that order is corresponding to cash request after, cash request described in generation and correspond to Cash record;

Sending module 20, for the record of cashing to be sent to banking system;

Detection module 30 executes corresponding cash for detecting whether receiving the banking system and cashing record according to What is returned after operation cashes result;

Modified module 40 receives described cash as a result, and determining the department of banking according to the result of cashing for working as It is to have cashed state by the status modifier of cashing cashed in record after cashing operation described in system successful execution;

Disabled module 50, for receive it is described cashed the cashing that order is corresponding and cash request of state after, output User is cashed in prompt information prompt, and the order of cashing has been cashed, with forbid in it is described cashed state cash order Lift again and cashes request.

Further, the detection module 30 is also used to detect current time and whether is in that described to cash order corresponding pre- If cashing in the period;

The device for preventing from repeating to cash further include:

Output module is cashed in the period if being in described preset for the current time, exports prompt information, with User is cashed according to prompt information prompt, and request is cashed described in period internal trigger in default cash.

Further, the generation module 10 includes:

Detection unit, for when cashing systems scan to after cashing that order is corresponding to cash request, detection current time to be It is no to cash that request is corresponding to cash the default of order and cash in the period in described;

First generation unit is cashed in the period if being in described preset for the current time, is converted described in generation It pays request and corresponding cashes record.

Further, if the modified module 40 is also used to determine that the banking system is failed according to the result of cashing Operation is cashed described in execution, then described cash in record is cashed into state from middle status modifier is cashed as state to be cashed;

The generation module 10 be also used to after preset duration again it is secondary cash record, will generate again described in cash note Record is sent to the banking system.

Further, when preventing the device for repeating to cash there are at least two, the sending module 20 is also used to institute State and cash record and be sent to data forwarding system, for the data forwarding system receive it is described cash record after, by institute It states and cashes record and be sent to the banking system.

Further, the generation module 10 further include:

Acquiring unit, for cashing and asking described in acquisition when cashing systems scan to after cashing that order is corresponding to cash request Ask the corresponding bank of deposit for cashing the amount of money, payer title, receipt side title, receipt side bank account and the bank account; The major key mark of order is cashed described in acquisition;

Second generation unit described cashes that request is corresponding to cash code for generating;

Modify unit, for by it is described cash order cash state from status modifier to be cashed be cash middle state;

Second generation unit is also used to be identified according to the major key, cashes state, cash code, cash the amount of money, payment Square title, receipt side title, receipt side bank account and bank of deposit generate and cash record.

Further, second generation unit includes:

Subelement is recorded, detects the detecting time for cashing request for recording;

Subelement is generated, request is corresponding to cash code for cashing according to detecting time generation.

It should be noted that preventing each embodiment for repeating the device cashed and the above-mentioned method for preventing from repeating to cash Each embodiment is essentially identical, and in this not go into detail.

In addition, the present invention also provides one kind to cash system.As shown in figure 4, to be that the embodiment of the present invention is related to hard by Fig. 4 The structural schematic diagram of part running environment.

It should be noted that Fig. 4 can be the structural schematic diagram of the hardware running environment for system of cashing.The embodiment of the present invention The system of cashing can be PC, the terminal devices such as portable computer.

As shown in figure 4, it may include: processor 1001, such as CPU, memory 1005, user interface that this, which cashes system, 1003, network interface 1004, communication bus 1002.Wherein, communication bus 1002 is logical for realizing the connection between these components Letter.User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), and optional user connects Mouth 1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include the wired of standard Interface, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.

Optionally, cash system can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, Voicefrequency circuit, WiFi module etc..

It will be understood by those skilled in the art that cashing system structure shown in Fig. 4 does not constitute limit to system of cashing It is fixed, it may include perhaps combining certain components or different component layouts than illustrating more or fewer components.

As shown in figure 4, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Letter module, Subscriber Interface Module SIM and the program for preventing repetition from cashing.Wherein, operating system is that manage and control the system of cashing hard The program of part and software resource supports the operation for preventing from repeating the program and other softwares or program cashed.

Shown in Fig. 4 to cash in system, user interface 1003, which can be used for detecting, cashes request and output prompt information etc.; Network interface 1004 is mainly used for connecting banking system, carries out data communication with banking system;Processor 1001 can be used for adjusting It prevents from repeating the program cashed with what is stored in memory 1005, and executes the step for preventing repeating the method cashed as described above Suddenly.

The present invention cashes system specific embodiment and the above-mentioned each embodiment of method for preventing from repeating to cash is essentially identical, In This is repeated no more.

In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium On be stored with and prevent from repeating the program cashed, it is described realize when the program for repeating to cash being prevented to be executed by processor it is as described above The step of preventing the method for repeating to cash.

Computer readable storage medium specific embodiment of the present invention and the above-mentioned each embodiment of method for preventing from repeating to cash Essentially identical, details are not described herein.

It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.

The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.

Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.

The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于智能合约的数字货币资产托管与转移方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!