CN109949144A - Keep accounts processing method, device, equipment and computer readable storage medium - Google Patents

Keep accounts processing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN109949144A
CN109949144A CN201910225550.6A CN201910225550A CN109949144A CN 109949144 A CN109949144 A CN 109949144A CN 201910225550 A CN201910225550 A CN 201910225550A CN 109949144 A CN109949144 A CN 109949144A
Authority
CN
China
Prior art keywords
accounts
transaction
user account
accounting data
keeps
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910225550.6A
Other languages
Chinese (zh)
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.)
WeBank Co Ltd
Original Assignee
WeBank 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 WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN201910225550.6A priority Critical patent/CN109949144A/en
Publication of CN109949144A publication Critical patent/CN109949144A/en
Pending legal-status Critical Current

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

It keeps accounts processing method the invention discloses one kind, this method comprises: when receiving the financial transaction order triggered based on a certain user account, according to preset accounting processing rule, the accounting data of the user account saved in account system database is updated;It obtains corresponding with the financial transaction order wait the transaction that keeps accounts;According to described wait keep accounts transaction and the updated accounting data real-time deal that executes the user account keeps accounts operation.It keeps accounts processing unit, equipment and a kind of computer readable storage medium the invention also discloses one kind.It is to meet 7*24 hours service characteristics that the present invention, which solves existing billing and accounting system, it is necessary to do human cost and the higher technical problem of time cost caused by business packaging.

Description

Keep accounts processing method, device, equipment and computer readable storage medium
Technical field
The present invention relates to financial technology (Fintech) technical field, more particularly to the processing method that keeps accounts, device, equipment and Computer readable storage medium.
Background technique
In recent years, with the continuous development of financial technology, increasingly higher demands are proposed to banking system.Than Such as, for billing and accounting system of providing a loan, it is desirable that provide round-the-clock financial service in 7*24 hours, and the loan data inquired must be accurate Errorless, these data include amount, repayment schedule, borrow the page presentations data such as record of refunding, the amount of money calculated poor one Sharing money also can be by Banking Supervision Commission's accountability.
Traditional loan billing and accounting system is typically all that processing on daytime normally releases money and rushes positive (transferring accounts, remit money to mistake Business is corrected) on-line transaction, while transaction journal is recorded, until doing batch operation at night, batch operation includes two portions Point: Qie and race batch.It cuts day and refers to that the overall situation was changed exchange hour to this yesterday, rather than using machine time as really Exchange hour;Race batch is including bearing interest, aging updates, carries down, settles interests and keeps accounts and etc..
The defect of above-mentioned loan billing and accounting system is: it cannot be guaranteed that the real-time of data, is all the more new balance after criticizing, In the daytime race batch this period is arrived, needs to do business packet by non-financial system (one provides the interface system of accounting data inquiry) Dress to meet 7*24 hour service characteristics, however, non-financial system business pack be it is very complicated, need in original engineering Code accesses new business up, and human cost and time cost are all higher.
Summary of the invention
It is a primary object of the present invention to propose that one kind keeps accounts processing method, device, equipment and computer-readable storage medium Matter, it is intended to which solving existing billing and accounting system is to meet 7*24 hours service characteristics, it is necessary to do caused by business packaging manpower at Sheet and the higher technical problem of time cost.
To achieve the above object, the present invention provides one kind and keeps accounts processing method, and the processing method that keeps accounts includes following step It is rapid:
When receiving the financial transaction order triggered based on a certain user account, advised according to preset accounting processing Then, the accounting data of the user account saved in account system database is updated;
It obtains corresponding with the financial transaction order wait the transaction that keeps accounts;
Entered according to described wait the real-time deal that transaction and the updated accounting data execute the user account that keeps accounts Account operation.
Preferably, described to execute the user account wait keep accounts transaction and the updated accounting data according to Real-time deal keeps accounts after the step of operating, further includes:
When receiving the accounting data inquiry instruction triggered based on the user account, the user account is judged Whether accounting data carried out update within a predetermined period of time;
If the accounting data of the user account carried out update within a predetermined period of time, the updated account is inquired Business data;
If the accounting data of the user account did not carried out update within a predetermined period of time, according to the accounting processing Rule is updated the accounting data of the user account saved in account system database, and inquires updated institute State accounting data.
Preferably, the processing method that keeps accounts further include:
At the specified time point, it obtains and had not both received financial transaction order in the predetermined amount of time or do not received account The user account of data query instruction;
To both not received financial transaction order described in saving in account system database or do not received accounting data The accounting data of the user account of inquiry instruction is updated.
Preferably, described to execute the user account wait keep accounts transaction and the updated accounting data according to Real-time deal the step of the operating that keep accounts include:
During the real-time deal keeps accounts, judge whether that optimistic lock conflict occurs;
If optimistic lock conflict occurs, executes optimistic locking and retry operation;
When continuously perform optimistic locking retry operation be more than preset times when, export prompt information to prompt current service numerous It is busy, and be to keep accounts not successfully by the transactional marking to be kept accounts.
Preferably, the processing method that keeps accounts further include:
It is kept accounts failed transaction according to preset poll thread periodic polling;
The failed transaction that keeps accounts is committed to preset on-line transaction processing thread, so that at the on-line transaction Lineation journey carries out the failed transaction that keeps accounts to reenter account processing.
Preferably, described that the failed transaction that keeps accounts is committed to preset on-line transaction processing thread, so that institute It states on-line transaction processing thread the failed transaction that keeps accounts reenter after the step of account is handled, further includes:
It obtains poll phase to keep accounts again failed transaction, the transaction for keeping accounts again failed is shown in preceding end page Face, and issue the prompt information for the failure that keeps accounts.
In addition, to achieve the above object, keep accounts processing unit the present invention also provides one kind, the processing unit packet that keeps accounts It includes:
First update module, for when receiving the financial transaction order triggered based on a certain user account, according to Preset accounting processing rule, is updated the accounting data of the user account saved in account system database;
First obtains module, corresponding with the financial transaction order wait the transaction that keeps accounts for obtaining;
Keep accounts module, for executing the user account wait keep accounts transaction and the updated accounting data according to described Real-time deal keep accounts operation.
Preferably, the processing unit that keeps accounts further include:
Judgment module, for when receiving the accounting data inquiry instruction triggered based on the user account, judgement Whether the accounting data of the user account carried out update within a predetermined period of time;
First enquiry module, if the accounting data for the user account carried out update within a predetermined period of time, Inquire the updated accounting data;
Second enquiry module, if the accounting data for the user account did not carried out update within a predetermined period of time, Then according to the accounting processing rule, the accounting data of the user account saved in account system database is carried out more Newly, and the updated accounting data is inquired.
Preferably, the processing unit that keeps accounts further include:
Second obtains module, at the specified time point, obtaining in the predetermined amount of time and both not receiving financial transaction Instruction does not receive the user account of accounting data inquiry instruction yet;
Second update module, for both do not received described in being saved in account system database financial transaction order or The accounting data for not receiving the user account of accounting data inquiry instruction is updated.
Preferably, the module that keeps accounts is also used to:
During the real-time deal keeps accounts, judge whether that optimistic lock conflict occurs;
If optimistic lock conflict occurs, executes optimistic locking and retry operation;
When continuously perform optimistic locking retry operation be more than preset times when, export prompt information to prompt current service numerous It is busy, and be to keep accounts not successfully by the transactional marking to be kept accounts.
Preferably, the processing unit that keeps accounts further include:
Poller module, for being kept accounts failed transaction according to preset poll thread periodic polling;
Module is submitted, handles thread for the failed transaction that keeps accounts to be committed to preset on-line transaction, so that The on-line transaction processing thread carries out the failed transaction that keeps accounts to reenter account processing.
Preferably, the processing unit that keeps accounts further include:
Display module keeps accounts failed transaction for obtaining poll phase, again by the failed transaction that keeps accounts again It shows in front end page, and issues the prompt information for the failure that keeps accounts.
In addition, to achieve the above object, keep accounts processing equipment the present invention also provides one kind, the processing equipment packet that keeps accounts It includes: memory, processor and being stored in the processing routine that keeps accounts that can be run on the memory and on the processor, it is described The step of keeping accounts processing method as described above is realized when the processing routine that keeps accounts 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 It is stored with the processing routine that keeps accounts on storage medium, realizes when the processing routine that keeps accounts is executed by processor and keeps accounts as described above The step of processing method.
The processing method proposed by the present invention that keeps accounts, when receiving the financial transaction order triggered based on a certain user account When, according to preset accounting processing rule, the accounting data of the user account saved in account system database is carried out It updates;It obtains corresponding with the financial transaction order wait the transaction that keeps accounts;According to it is described wait keep accounts transaction and it is updated described The real-time deal that accounting data executes the user account keeps accounts operation.In this way, it ensure that billing and accounting system to reception To each financial transaction kept accounts in real time, rather than until evening do batch operation when keep accounts again, when the subsequent query use When the current accounting data of family account, it can directly read from billing and accounting system database, be not necessarily to so that the present invention realizes Business pack under the premise of, meet 7*24 hour service characteristics, avoid due to business pack caused by human cost and when Between cost.
Detailed description of the invention
Fig. 1 is the device structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the processing method first embodiment of the invention that keeps accounts.
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.
As shown in Figure 1, Fig. 1 is the device structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
The processing equipment that keeps accounts of the embodiment of the present invention can be PC machine or server apparatus.
As shown in Figure 1, this keeps accounts, processing equipment may include: processor 1001, such as CPU, network interface 1004, user Interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection between these components Communication.User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user Interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include having for standard Line interface, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable storage Device (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processing The storage device of device 1001.
It will be understood by those skilled in the art that device structure shown in Fig. 1 does not constitute the restriction to equipment, can wrap It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe module, Subscriber Interface Module SIM and the processing routine that keeps accounts.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, carries out with background server Data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And processor 1001 can be used for calling the processing routine that keeps accounts stored in memory 1005, and execute following each implementations of the processing method that keeps accounts Operation in example.
Based on above-mentioned hardware configuration, propose that the present invention keeps accounts processing method embodiment.
Referring to Fig. 2, Fig. 2 is the flow diagram of the processing method first embodiment of the invention that keeps accounts, which comprises
Step S10, when receiving the financial transaction order triggered based on a certain user account, according to preset account Processing rule, is updated the accounting data of the user account saved in account system database;
The present embodiment processing method that keeps accounts is applied to keep accounts processing equipment, equipped with account system in the processing equipment that keeps accounts System, the billing and accounting system are used to handle and record produced by the financial transaction (such as loan, fund, insurance, trust) of specified type Accounting data, and be capable of providing real-time deal and keep accounts function and real-time accounting data query function.
In the present embodiment, when billing and accounting system receives the financial transaction order triggered based on a certain user account, Trigger the first sum of, this is the first sum of to refer to according to preset accounting processing rule, to the use saved in account system database The accounting data of family account is updated, wherein accounting data is to generate the business that will be updated daily from financial transaction Related data.
By billing and accounting system be loan billing and accounting system for, for loan transaction, accounting data include but is not limited to interest, Aging, receipt amount owed and gone back the data such as the amount of money, repayment schedule, the update of corresponding accounting data may include walking as follows It is rapid:
(1) adjust account transaction to keep accounts: the artificial tune account transaction that processing the previous day operation maintenance personnel is uploaded in operational system is such as borrowed or lent money Revocation etc. of trading, refund and make loans is adjusted to adjust account transaction, and the processing that keeps accounts.
(2) overflow to pay in and produce: overflowing to pay in refers to that the money of user is more, needs to export to overflow to pay in record and do to operation personnel Reimbursement operation.
(3) it bears interest: referring to that corresponding interest meter mentions and write off accounting stream out daily according to capital accumulated interest and default interest Water.
(4) aging is updated and carried down: what aging reflected is the issue of overdue loan, if user's aging changes, is needed It generates aging and is transferred to and produces accounting flowing water, what aging variation reflected is the variation of assets form.
(5) it cuts backup day: referring to the status data of backup the previous day account, receipt and repayment schedule, big data is isolated only Need to extract the data of backup table.
(6) it carries down: needing the principal and interest for not going out bill to go out bill on the day of referring to bill day, becoming current should repay principal Gold and interest.
It should be noted that above-mentioned the first sum of operation is realized by the online function of billing and accounting system, pass through accounting data It updates, ensure that the accounting data of the user account saved in billing and accounting system database is the same day newest accounting data, rather than It is the accounting data of the previous day, to ensure that the data accuracy that subsequent transaction keeps accounts in real time.Furthermore it should be noted that In the present embodiment, billing and accounting system is when receiving the financial transaction order triggered based on a certain user account, i.e., to account system The accounting data of the user account saved in system database is updated, and is equivalent to and is shared existing night batch operation Onto every transaction on daytime, to reduce the whole time-consuming of night batch operation.
Step S20 is obtained corresponding with the financial transaction order wait the transaction that keeps accounts;
In the step, billing and accounting system obtains corresponding with the above-mentioned financial transaction order received wait the transaction that keeps accounts.Such as For loan transaction, transaction to be kept accounts may include make loans transaction and transaction of refunding, wherein transaction of making loans may include making loans The data such as object, time of making loans, the amount of money of making loans, interest, repayment schedule, refund transaction may include refund object, refund the time, The data such as repayment amount.
Step S30, according to the reality for executing the user account wait keep accounts transaction and the updated accounting data When transaction keep accounts operation.
Corresponding with financial transaction order after the transaction that keeps accounts getting, i.e., basis should be wait transaction and the above-mentioned update of keeping accounts The real-time deal that rear accounting data executes corresponding user account keeps accounts operation, that is, by transaction caused by this financial transaction Data are written in real time into billing and accounting system database.
In the present embodiment, when receiving the financial transaction order triggered based on a certain user account, according to default Accounting processing rule, the accounting data of the user account saved in account system database is updated;Obtain with The financial transaction order is corresponding wait the transaction that keeps accounts;According to described wait transaction and the updated accounting data execution of keeping accounts The real-time deal of the user account keeps accounts operation.In this way, it ensure that billing and accounting system to each gold received Melt transaction to be kept accounts in real time, rather than keeps accounts again until doing batch operation at night, it is current when the subsequent query user account It when accounting data, can directly be read from billing and accounting system database, so that the present embodiment is realized without business packaging Under the premise of, meet 7*24 hours service characteristics, human cost and time cost caused by avoiding due to business packaging.
Further, it is kept accounts processing method first embodiment based on the present invention, proposes that the present invention keeps accounts processing method second Embodiment.
It in the present embodiment, can also include: to work as to receive to be touched based on the user account after above-mentioned steps S30 When the accounting data inquiry instruction of hair, judge whether the accounting data of the user account carried out more within a predetermined period of time Newly;If the accounting data of the user account carried out update within a predetermined period of time, the updated account number is inquired According to;It is regular according to the accounting processing if the accounting data of the user account did not carried out update within a predetermined period of time, The accounting data of the user account saved in account system database is updated, and inquires the updated account Data.
In the present embodiment, when billing and accounting system any moment receives the accounting data triggered based on above-mentioned user account When inquiry instruction, first determine whether the accounting data of the user account carried out update within a predetermined period of time, wherein making a reservation for Period can be with flexible setting, for example is set as the same day zero when 23;If carrying out update, updated account is directly inquired Business data, otherwise, the account according to preset accounting processing rule, to the user account saved in account system database Data are updated, and inquire the updated accounting data.That is, within a predetermined period of time, as long as billing and accounting system receives To the financial transaction order or accounting data inquiry instruction triggered based on a certain user account, it can all trigger and update user's account The accounting data at family so both ensure that the account data inquired was in real time, to meet in practical application scene to account The query demand of the 7*24 hour of data, has also shared every transaction on daytime for existing night batch operation or account is looked into In inquiry, to reduce the whole time-consuming of night batch operation.
Further, it is kept accounts processing method second embodiment based on the present invention, proposes that the present invention keeps accounts processing method third Embodiment.
In the present embodiment, the processing method that keeps accounts further include: at the specified time point, obtain in the predetermined amount of time Both financial transaction order had not been received do not receive the user account of accounting data inquiry instruction yet;To in account system database The account number of the user account for both not received financial transaction order or not received accounting data inquiry instruction saved According to being updated.
In the present embodiment, for both not receiving financial transaction order within a predetermined period of time or not receiving account number According to the user account of inquiry instruction, need at the specified time point by the batch function of billing and accounting system do it is primary it is the first sum of reveal all the details, The first sum of processing of batch is consistent with online the first sum of processing logic, that is, according to preset accounting processing rule, to billing and accounting system The accounting data of the user account saved in database is updated.For example, for both not receiving financial friendship on daytime Easily instruction does not receive the user account of accounting data inquiry instruction yet, can at night specified time point do it is primary it is the first sum of come pocket Bottom.It should be noted that self-clinching processing other than execution is the first sum of, can also be performed in the batch function of billing and accounting system, short message is reminded, Receipt is synchronous, stale data cleaning, lock code is synchronous, amount renews, failed transactions are cleared up, self-clinching returns the functions such as disk processing.It is right In a certain user account, if online in predetermined amount of time do not do the first sum of processing, specified time point batch can be done once, no It does not do then, so can satisfy daily accounting data and upgrade demand.
Further, it is kept accounts the first, second, and third embodiment of processing method based on the present invention, proposes that the present invention keeps accounts place Reason method fourth embodiment.
In the present embodiment, above-mentioned steps S30 may include: and judge whether to send out during the real-time deal keeps accounts Raw optimism lock conflict;If optimistic lock conflict occurs, executes optimistic locking and retry operation;Surpass when continuously performing optimistic locking and retrying to operate When crossing preset times, export prompt information to prompt current service busy, and by the transactional marking to be kept accounts be keep accounts not at Function.
In the present embodiment, to meet high concurrent requirements for access, the real-time deal process of keeping accounts can be using optimistic lock mechanism. When optimistic locking assumes Current transaction manipulation data resource, other affairs are not had while accessing the data resource, can guarantee multiple Transaction concurrency data, but judge other threads when updating and whether modification was carried out to data resource before this, If it is, concurrency conflict can be generated, i.e., optimistic lock conflict.Specifically, during real-time deal keeps accounts, billing and accounting system can be with It detects whether that optimistic lock conflict occurs, if so, executing optimistic locking retries operation, that is, re-initiates the request that keeps accounts;It is held when continuously When row optimistic locking retries operation more than preset times (can be with flexible setting, such as 3 times), prompt information is exported to prompt currently to take It is engaged in busy, and is to keep accounts failed by currently transactional marking to be kept accounts, so can be avoided a certain task that keeps accounts and occupy always and be System resource.
Further, it is kept accounts processing method fourth embodiment based on the present invention, proposes that the present invention keeps accounts processing method the 5th Embodiment.
In the present embodiment, the processing method that keeps accounts further include: kept accounts not according to preset poll thread periodic polling Successfully transaction;The failed transaction that keeps accounts is committed to preset on-line transaction processing thread, so that the online friendship Easy to handle thread carries out the failed transaction that keeps accounts to reenter account processing.
Further, described that the failed transaction that keeps accounts is committed to preset on-line transaction processing thread, so that After the on-line transaction processing thread carries out the step of reentering account processing to the failed transaction that keeps accounts, it can also wrap It includes: obtaining poll phase and keep accounts again failed transaction, the transaction for keeping accounts again failed is shown in front end page, concurrently Keep accounts the prompt information of failure out.
Specifically, billing and accounting system execute keep accounts in real time when, a poll thread can be enabled carry out periodic polling and keep accounts not Successfully transaction, for example, the failed transaction that kept accounts within past 1 minute can be obtained every 5s;Later, what be will acquire enters The failed transaction of account is committed to preset on-line transaction processing thread, so that on-line transaction processing thread is failed to keeping accounts Transaction reenter account processing.
It should be noted that transaction keeps accounts, failed condition can carry out flexible setting in advance, be not limited to above-mentioned The case where optimistic locking conflict number is more than preset times.For example, can will be more than at system when system occasional trade amount is excessive The transaction to be kept accounts of reason ability is judged to keeping accounts not successfully;For another example, when wait keep accounts transaction for way trade when, this can also be waited for The transaction that keeps accounts is judged to keeping accounts not successfully.
In the present embodiment, it is kept accounts failed transaction by poll thread periodic polling, and reenters account processing, it is ensured that It keeps accounts and can continue to keep accounts without successfully transaction, improve the availability and robustness of system;For poll phase again Keep accounts the transaction of failure, and system is shown in front end page, and issues the prompt information for the failure that keeps accounts, in order to manpower intervention Processing.
It keeps accounts processing unit the present invention also provides one kind.The present invention processing unit that keeps accounts includes:
First update module, for when receiving the financial transaction order triggered based on a certain user account, according to Preset accounting processing rule, is updated the accounting data of the user account saved in account system database;
First obtains module, corresponding with the financial transaction order wait the transaction that keeps accounts for obtaining;
Keep accounts module, for executing the user account wait keep accounts transaction and the updated accounting data according to described Real-time deal keep accounts operation.
Further, the processing unit that keeps accounts further include:
Judgment module, for when receiving the accounting data inquiry instruction triggered based on the user account, judgement Whether the accounting data of the user account carried out update within a predetermined period of time;
First enquiry module, if the accounting data for the user account carried out update within a predetermined period of time, Inquire the updated accounting data;
Second enquiry module, if the accounting data for the user account did not carried out update within a predetermined period of time, Then according to the accounting processing rule, the accounting data of the user account saved in account system database is carried out more Newly, and the updated accounting data is inquired.
Further, the processing unit that keeps accounts further include:
Second obtains module, at the specified time point, obtaining in the predetermined amount of time and both not receiving financial transaction Instruction does not receive the user account of accounting data inquiry instruction yet;
Second update module, for both do not received described in being saved in account system database financial transaction order or The accounting data for not receiving the user account of accounting data inquiry instruction is updated.
Further, the module that keeps accounts is also used to:
During the real-time deal keeps accounts, judge whether that optimistic lock conflict occurs;
If optimistic lock conflict occurs, executes optimistic locking and retry operation;
When continuously perform optimistic locking retry operation be more than preset times when, export prompt information to prompt current service numerous It is busy, and be to keep accounts not successfully by the transactional marking to be kept accounts.
Further, the processing unit that keeps accounts further include:
Poller module, for being kept accounts failed transaction according to preset poll thread periodic polling;
Module is submitted, handles thread for the failed transaction that keeps accounts to be committed to preset on-line transaction, so that The on-line transaction processing thread carries out the failed transaction that keeps accounts to reenter account processing.
Further, the processing unit that keeps accounts further include:
Display module keeps accounts failed transaction for obtaining poll phase, again by the failed transaction that keeps accounts again It shows in front end page, and issues the prompt information for the failure that keeps accounts.
Operation performed by above-mentioned each program module can refer to the present invention and keep accounts processing method embodiment, no longer superfluous herein It states.
The present invention also provides a kind of computer readable storage mediums.
The processing routine that keeps accounts is stored on computer readable storage medium of the present invention, the processing routine that keeps accounts is by processor The step of keeping accounts processing method as described above is realized when execution.
Wherein, the processing routine that keeps accounts run on the processor, which is performed realized method, can refer to the present invention The each embodiment of the processing method that keeps accounts, details are not described herein again.
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 system 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 system 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 system.
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 one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone, Computer, server, air conditioner or 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.

Claims (14)

  1. The processing method 1. one kind keeps accounts, which is characterized in that the processing method that keeps accounts includes the following steps:
    It is right according to preset accounting processing rule when receiving the financial transaction order triggered based on a certain user account The accounting data of the user account saved in billing and accounting system database is updated;
    It obtains corresponding with the financial transaction order wait the transaction that keeps accounts;
    According to described wait keep accounts transaction and the updated accounting data real-time deal that executes the user account keeps accounts behaviour Make.
  2. 2. keeping accounts processing method as described in claim 1, which is characterized in that it is described according to wait the transaction and after updating of keeping accounts The accounting data execute the real-time deal of the user account and keep accounts after the step of operating, further includes:
    When receiving the accounting data inquiry instruction triggered based on the user account, the account of the user account is judged Whether data carried out update within a predetermined period of time;
    If the accounting data of the user account carried out update within a predetermined period of time, the updated account number is inquired According to;
    If the accounting data of the user account did not carried out update within a predetermined period of time, advised according to the accounting processing Then, the accounting data of the user account saved in account system database is updated, and inquired updated described Accounting data.
  3. 3. keep accounts processing method as claimed in claim 2, which is characterized in that the processing method that keeps accounts further include:
    At the specified time point, it obtains and had not both received financial transaction order in the predetermined amount of time or do not received accounting data The user account of inquiry instruction;
    To both not received financial transaction order described in saving in account system database or do not received accounting data inquiry The accounting data of the user account of instruction is updated.
  4. 4. keeping accounts processing method as claimed any one in claims 1 to 3, which is characterized in that it is described according to wait keep accounts Transaction and the updated accounting data real-time deal that executes the user account the step of the operating that keep accounts include:
    During the real-time deal keeps accounts, judge whether that optimistic lock conflict occurs;
    If optimistic lock conflict occurs, executes optimistic locking and retry operation;
    When continuously perform optimistic locking retry operation be more than preset times when, export prompt information to prompt current service busy, and It is to keep accounts not successfully by the transactional marking to be kept accounts.
  5. 5. keep accounts processing method as claimed in claim 4, which is characterized in that the processing method that keeps accounts further include:
    It is kept accounts failed transaction according to preset poll thread periodic polling;
    The failed transaction that keeps accounts is committed to preset on-line transaction processing thread, so that the on-line transaction handles line Journey carries out the failed transaction that keeps accounts to reenter account processing.
  6. 6. keep accounts processing method as claimed in claim 5, which is characterized in that described to submit the transaction for keeping accounts failed Thread is handled to preset on-line transaction, so that the on-line transaction handles thread and carries out again to the transaction for keeping accounts failed It keeps accounts after the step of handling, further includes:
    It obtains poll phase to keep accounts again failed transaction, the transaction for keeping accounts again failed is shown in front end page, and Issue the prompt information for the failure that keeps accounts.
  7. The processing unit 7. one kind keeps accounts, which is characterized in that the processing unit that keeps accounts includes:
    First update module, for when receiving the financial transaction order triggered based on a certain user account, according to default Accounting processing rule, the accounting data of the user account saved in account system database is updated;
    First obtains module, corresponding with the financial transaction order wait the transaction that keeps accounts for obtaining;
    Keep accounts module, for according to the reality for executing the user account wait keep accounts transaction and the updated accounting data When transaction keep accounts operation.
  8. 8. keep accounts processing unit as claimed in claim 7, which is characterized in that the processing unit that keeps accounts further include:
    Judgment module, for when receiving the accounting data inquiry instruction triggered based on the user account, described in judgement Whether the accounting data of user account carried out update within a predetermined period of time;
    First enquiry module is inquired if the accounting data for the user account carried out update within a predetermined period of time The updated accounting data;
    Second enquiry module, if the accounting data for the user account did not carried out update, root within a predetermined period of time According to the accounting processing rule, the accounting data of the user account saved in account system database is updated, and Inquire the updated accounting data.
  9. 9. keep accounts processing unit as claimed in claim 8, which is characterized in that the processing unit that keeps accounts further include:
    Second obtains module, at the specified time point, obtaining in the predetermined amount of time and both not receiving financial transaction order The user account of accounting data inquiry instruction is not received yet;
    Second update module, for both not received financial transaction order described in saving in account system database or do not connect The accounting data for receiving the user account of accounting data inquiry instruction is updated.
  10. 10. the processing unit that keeps accounts as described in any one of claim 7 to 9, which is characterized in that the module that keeps accounts also is used In:
    During the real-time deal keeps accounts, judge whether that optimistic lock conflict occurs;
    If optimistic lock conflict occurs, executes optimistic locking and retry operation;
    When continuously perform optimistic locking retry operation be more than preset times when, export prompt information to prompt current service busy, and It is to keep accounts not successfully by the transactional marking to be kept accounts.
  11. 11. keep accounts processing unit as claimed in claim 10, which is characterized in that the processing unit that keeps accounts further include:
    Poller module, for being kept accounts failed transaction according to preset poll thread periodic polling;
    Module is submitted, thread is handled for the failed transaction that keeps accounts to be committed to preset on-line transaction, so that described On-line transaction handles thread and carries out reentering account processing to the failed transaction that keeps accounts.
  12. 12. keep accounts processing unit as claimed in claim 11, which is characterized in that the processing unit that keeps accounts further include:
    Display module keeps accounts failed transaction again for obtaining poll phase, and the transaction for keeping accounts again failed is shown In front end page, and issue the prompt information for the failure that keeps accounts.
  13. The processing equipment 13. one kind keeps accounts, which is characterized in that the processing equipment that keeps accounts includes: memory, processor and is stored in On the memory and the processing routine that keeps accounts that can run on the processor, the processing routine that keeps accounts is by the processor When execution realize as it is described in any one of claims 1 to 6 keep accounts processing method the step of.
  14. 14. a kind of computer readable storage medium, which is characterized in that be stored with the place that keeps accounts on the computer readable storage medium Program is managed, such as the processing described in any one of claims 1 to 6 that keeps accounts is realized when the processing routine that keeps accounts is executed by processor The step of method.
CN201910225550.6A 2019-03-22 2019-03-22 Keep accounts processing method, device, equipment and computer readable storage medium Pending CN109949144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910225550.6A CN109949144A (en) 2019-03-22 2019-03-22 Keep accounts processing method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910225550.6A CN109949144A (en) 2019-03-22 2019-03-22 Keep accounts processing method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109949144A true CN109949144A (en) 2019-06-28

Family

ID=67011642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910225550.6A Pending CN109949144A (en) 2019-03-22 2019-03-22 Keep accounts processing method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109949144A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111192137A (en) * 2019-12-24 2020-05-22 天阳宏业科技股份有限公司 Multi-dimensional balance management method and system based on service scene
CN111400283A (en) * 2020-03-19 2020-07-10 中国建设银行股份有限公司 Data processing method, system, electronic equipment and storage medium
CN112446773A (en) * 2019-09-02 2021-03-05 顺丰科技有限公司 Business non-charge data management method, device, equipment and storage medium
CN113487417A (en) * 2021-07-27 2021-10-08 中国银行股份有限公司 Accounting data processing method and device

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040002807A (en) * 2003-07-12 2004-01-07 주식회사 조흥은행 System for managing account aggregation being used in transaction of bank and method therefor
CN101393668A (en) * 2007-09-20 2009-03-25 中国银联股份有限公司 Transaction data processing method and system for realizing transferring within a day
CN103646111A (en) * 2013-12-25 2014-03-19 普元信息技术股份有限公司 System and method for realizing real-time data association in big data environment
CN104081425A (en) * 2011-12-30 2014-10-01 我的合伙人和全球星投资(Mp&Gsi)有限公司 Electronic cheque-based payment system and methods for issuing, transferring, paying and verifying electronic cheques
CN104182898A (en) * 2014-08-13 2014-12-03 中国银行股份有限公司 Additional recording method of on-line transaction during night mode for bank system
CN104317953A (en) * 2014-11-13 2015-01-28 中国建设银行股份有限公司 Sectional data backup method and system
CN105849760A (en) * 2013-09-23 2016-08-10 飒乐有限公司 Systems for access control and system integration
CN106021597A (en) * 2016-06-07 2016-10-12 中国建设银行股份有限公司 Data sheet updating method and system for account transactions
CN106919441A (en) * 2017-02-08 2017-07-04 武汉奇米网络科技有限公司 A kind of processing method and system of e-commerce platform high concurrent event
CN106934025A (en) * 2017-03-13 2017-07-07 广州爱九游信息技术有限公司 A kind of account data management method, device and server
CN107273451A (en) * 2017-05-31 2017-10-20 深圳市长亮科技股份有限公司 Balance data update method and system
CN107273452A (en) * 2017-05-31 2017-10-20 深圳市长亮科技股份有限公司 Data-updating method and system
CN107545031A (en) * 2017-07-17 2018-01-05 招商银行股份有限公司 Account comprehensive inquiry service, system and computer-readable recording medium
CN108256994A (en) * 2018-01-04 2018-07-06 中国银行股份有限公司 The generation method and device of bank's account
CN108683718A (en) * 2018-04-27 2018-10-19 五八同城信息技术有限公司 Method, apparatus, electronic equipment and the storage medium that data increment synchronizes
CN108830705A (en) * 2018-04-09 2018-11-16 阿里巴巴集团控股有限公司 A kind of method of summary of transaction data, device and equipment
CN109377355A (en) * 2018-12-07 2019-02-22 中国银行股份有限公司 Transaction data processing method and device
CN109493210A (en) * 2018-09-27 2019-03-19 深圳壹账通智能科技有限公司 Refund account checking method, device, equipment and readable storage medium storing program for executing based on block chain

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040002807A (en) * 2003-07-12 2004-01-07 주식회사 조흥은행 System for managing account aggregation being used in transaction of bank and method therefor
CN101393668A (en) * 2007-09-20 2009-03-25 中国银联股份有限公司 Transaction data processing method and system for realizing transferring within a day
CN104081425A (en) * 2011-12-30 2014-10-01 我的合伙人和全球星投资(Mp&Gsi)有限公司 Electronic cheque-based payment system and methods for issuing, transferring, paying and verifying electronic cheques
CN105849760A (en) * 2013-09-23 2016-08-10 飒乐有限公司 Systems for access control and system integration
CN103646111A (en) * 2013-12-25 2014-03-19 普元信息技术股份有限公司 System and method for realizing real-time data association in big data environment
CN104182898A (en) * 2014-08-13 2014-12-03 中国银行股份有限公司 Additional recording method of on-line transaction during night mode for bank system
CN104317953A (en) * 2014-11-13 2015-01-28 中国建设银行股份有限公司 Sectional data backup method and system
CN106021597A (en) * 2016-06-07 2016-10-12 中国建设银行股份有限公司 Data sheet updating method and system for account transactions
CN106919441A (en) * 2017-02-08 2017-07-04 武汉奇米网络科技有限公司 A kind of processing method and system of e-commerce platform high concurrent event
CN106934025A (en) * 2017-03-13 2017-07-07 广州爱九游信息技术有限公司 A kind of account data management method, device and server
CN107273451A (en) * 2017-05-31 2017-10-20 深圳市长亮科技股份有限公司 Balance data update method and system
CN107273452A (en) * 2017-05-31 2017-10-20 深圳市长亮科技股份有限公司 Data-updating method and system
CN107545031A (en) * 2017-07-17 2018-01-05 招商银行股份有限公司 Account comprehensive inquiry service, system and computer-readable recording medium
CN108256994A (en) * 2018-01-04 2018-07-06 中国银行股份有限公司 The generation method and device of bank's account
CN108830705A (en) * 2018-04-09 2018-11-16 阿里巴巴集团控股有限公司 A kind of method of summary of transaction data, device and equipment
CN108683718A (en) * 2018-04-27 2018-10-19 五八同城信息技术有限公司 Method, apparatus, electronic equipment and the storage medium that data increment synchronizes
CN109493210A (en) * 2018-09-27 2019-03-19 深圳壹账通智能科技有限公司 Refund account checking method, device, equipment and readable storage medium storing program for executing based on block chain
CN109377355A (en) * 2018-12-07 2019-02-22 中国银行股份有限公司 Transaction data processing method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112446773A (en) * 2019-09-02 2021-03-05 顺丰科技有限公司 Business non-charge data management method, device, equipment and storage medium
CN111192137A (en) * 2019-12-24 2020-05-22 天阳宏业科技股份有限公司 Multi-dimensional balance management method and system based on service scene
CN111192137B (en) * 2019-12-24 2023-10-20 天阳宏业科技股份有限公司 Multi-dimensional balance management method and system based on business scene
CN111400283A (en) * 2020-03-19 2020-07-10 中国建设银行股份有限公司 Data processing method, system, electronic equipment and storage medium
CN111400283B (en) * 2020-03-19 2024-02-06 中国建设银行股份有限公司 Data processing method, system, electronic equipment and storage medium
CN113487417A (en) * 2021-07-27 2021-10-08 中国银行股份有限公司 Accounting data processing method and device

Similar Documents

Publication Publication Date Title
CN109949144A (en) Keep accounts processing method, device, equipment and computer readable storage medium
US11328233B2 (en) Methods and systems for controlling a display screen with graphical objects for scheduling
US8423435B1 (en) Payroll withholding for debt management
US7734536B2 (en) System, method and computer program product for workflow-based data processing
CN107358425B (en) Transaction fee calculation and payment method and device, transaction platform and storage medium
CN111125106B (en) Batch running task execution method, device, server and storage medium
CN109067841A (en) Service current-limiting method, system, server and storage medium based on ZooKeeper
Uña et al. How to design a financial management information system: a modular approach
CN111444213B (en) Ledger clearing system and method based on credit business
CN114925084A (en) Distributed transaction processing method, system, device and readable storage medium
CN111028074B (en) Method, system, server and storage medium for updating and inquiring overdue bill
CN109615508A (en) Data summarization checking method and subsystem for internet banking system
CN112435114A (en) Internet fund storage and management service management method, system, electronic equipment and readable storage medium
CN110634066A (en) Method, device and equipment for determining settlement interest
US20130041816A1 (en) Payment systems and methods for accelerating debt payoff and reducing interest expense
CN112634011A (en) Multi-account linkage deposit method and device, electronic equipment and storage medium
KR20160053068A (en) Trust account management method and server performing the same
CN111640006A (en) Bank payment and receipt method, device, terminal and storage medium
CN110969518B (en) Clearing account configuration method and device, server and storage medium
CN113076297A (en) Data processing method, device and storage medium
CN112991036A (en) Resource quantity determination method, device and equipment
CN111444212A (en) Unified accounting method and device based on accounting system and accounting system
US20170316069A1 (en) Method of binding data and processes with the use of universal computing elements
CN110322339A (en) Virtual resource management method, device, computer system and readable storage medium storing program for executing
WO2021137266A1 (en) Compensation payment system

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