CN112241889A - Account detail repairing method, device, equipment and storage medium - Google Patents

Account detail repairing method, device, equipment and storage medium Download PDF

Info

Publication number
CN112241889A
CN112241889A CN202011043276.XA CN202011043276A CN112241889A CN 112241889 A CN112241889 A CN 112241889A CN 202011043276 A CN202011043276 A CN 202011043276A CN 112241889 A CN112241889 A CN 112241889A
Authority
CN
China
Prior art keywords
transaction
account
repaired
balance
detail
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
CN202011043276.XA
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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202011043276.XA priority Critical patent/CN112241889A/en
Publication of CN112241889A publication Critical patent/CN112241889A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/407Cancellation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the invention discloses an account detail repairing method, device, equipment and storage medium, wherein the method comprises the following steps: if the wrong transaction is found, determining a real account to be repaired and a corresponding virtual account to be repaired; correcting the transaction detail of each real account to be repaired; restoring preset real account information of each real account to be restored; correcting the transaction detail of each virtual account to be repaired; and restoring the preset virtual account information of each virtual account to be repaired. The technical scheme of the embodiment of the invention is not limited by transaction time and transaction types, and meets the requirement of repairing most scenes of account details.

Description

Account detail repairing method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to a data processing technology, in particular to an account detail repairing method, device, equipment and storage medium.
Background
Currently, a large number of system service operators are required to perform relevant service operations when maintaining a fund service management system. Because the mobility of system service operators is high, the system service operators are not familiar with and standard, and the problems of wrong operation, wrong service information input and the like of the service operators often occur, so that the requirement of repairing account details is met.
Several existing ledger repair methods in a maintenance fund service management system have limitations of their own. For example, the red word can not completely clear the transaction trace, but only the transaction of the negative amount is carried out on the basis of keeping the transaction trace. For example, account wiping and flow intervention can only process transactions that are posted on the same day on the account date, and transactions on different days cannot be processed. And the transaction must be the last transaction entered into the account. The existing ledger repairing mode can only deal with a small part of data repairing requirements which are discovered and processed in time, and the repairing requirements for most of transactions cannot be met.
Disclosure of Invention
The embodiment of the invention provides an account detail repairing method, device, equipment and storage medium, which are used for realizing the condition that most of the account details need to be repaired.
In a first aspect, an embodiment of the present invention provides an account details repairing method, including:
if the wrong transaction is found, determining a real account to be repaired and a corresponding virtual account to be repaired;
correcting the transaction detail of each real account to be repaired;
restoring preset real account information of each real account to be restored;
correcting the transaction detail of each virtual account to be repaired;
and restoring the preset virtual account information of each virtual account to be repaired.
In a second aspect, an embodiment of the present invention further provides an account detail repairing apparatus, including:
the account to be repaired determining module is used for determining a real account to be repaired and a corresponding virtual account to be repaired if the error transaction is found;
the real account detail correcting module is used for correcting the transaction detail of each real account to be repaired;
the real account restoring module is used for restoring preset real account information of each real account to be restored;
the virtual account detail correcting module is used for correcting the transaction detail of each virtual account to be repaired;
and the virtual account restoring module is used for restoring the preset virtual account information of each virtual account to be restored.
In a third aspect, an embodiment of the present invention further provides a computer device, where the computer device includes:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of account details repair as provided by any of the embodiments of the invention.
In a fourth aspect, embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the account details repairing method provided in any of the embodiments of the present invention.
According to the embodiment of the invention, the real account is repaired and the corresponding virtual account is repaired through the continuity of the account details, so that the problem that the application scene of the existing account details repairing mode is limited is solved, and the effect of meeting most scenes needing to repair the account details is realized.
Drawings
FIG. 1 is a flowchart of a method for repairing account details according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a method for repairing account details according to a second embodiment of the present invention;
fig. 3 is a flowchart of an account detail repair method in the third embodiment of the present invention;
FIG. 4 is a flowchart of a method for repairing account details according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an account detail repair apparatus according to a fifth embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a computer device according to a sixth embodiment of the present invention;
fig. 7 is a schematic diagram of the transaction detail relationship between the real account and the virtual account in the embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It is to be further noted that, for the convenience of description, only a part of the structure relating to the present invention is shown in the drawings, not the whole structure.
Example one
Fig. 1 is a flowchart of an account details repairing method according to an embodiment of the present invention, where the present embodiment is applicable to a case where an error transaction needs to repair an account details, and the method may be executed by an account details repairing apparatus, where the apparatus may be implemented by hardware and/or software, and may be generally integrated in a computer device, and the method specifically includes the following steps:
step 110, if the wrong transaction is found, determining a real account to be repaired and a corresponding virtual account to be repaired;
wherein, for the same product, there are real account and virtual account. As shown in fig. 7, the account details of the virtual account at each level are obtained by summarizing the account details of the real account at the same level and the virtual account details at the lower level, and in fig. 7, the N level is used as the top level of the account. For example, A, B level real accounts of the level 1 real account have a surcharge transaction with x-and y-generation amount respectively, and the surcharge transaction with z-generation amount is totally recorded, so A, B level real accounts respectively record a surcharge transaction detail with x-and y-generation amount respectively, and level 2 to N virtual accounts record a summary detail of the surcharge transaction with z-generation amount. In the case of a false transaction in a real account, a corresponding false transaction may occur in a virtual account of the same level or a higher level. The error transaction may be a transaction that should not be performed for a certain account, or may be an error in the amount of money in the transaction.
Step 120, correcting the transaction detail of each real account to be repaired;
the account details are continuous, the superior account details are obtained by summarizing the inferior account details, which transaction details need to be repaired in the real account can be determined according to error transaction, and then the transaction details can be corrected one by one based on the continuity between the account details.
Step 130, restoring preset real account information of each real account to be repaired;
after the transaction details needing to be corrected are corrected one by one, the current preset real account information of the real account is restored, and the error difference left by error transaction is eliminated. The preset real account information may include a balance, a segment balance, a product number, and a segment product number.
Step 140, correcting the transaction detail of each virtual account to be repaired;
after the real account corrects the transaction detail of the real account, the transaction detail of the virtual account is summarized from the transaction details of the peer real account and the lower virtual account, so that the transaction detail of each level of virtual accounts can be corrected according to the transaction detail corrected by the real account.
And 150, restoring the preset virtual account information of each virtual account to be repaired.
After the transaction details needing to be corrected are corrected one by one, the current preset virtual account information of the virtual account is restored, and the error difference left by error transaction is eliminated. The preset virtual account information may include a balance and a segment balance.
According to the technical scheme, the real account is repaired and the corresponding virtual account is repaired through the continuity of the account details, the problem that the existing account detail repairing mode is limited in application scene is solved, and the effect of meeting most of scenes needing to repair the account details is achieved.
Example two
Fig. 2 is a flowchart of an account detail repairing method provided in the second embodiment of the present invention, which is further detailed based on the above technical solution, and the method specifically includes:
step 210, determining the real account in which the error transaction occurs as the real account to be repaired;
step 220, determining the virtual account with the same level as or higher than the real account to be repaired as the virtual account to be repaired.
The transaction details of the virtual account are summarized from the peer real account and the lower virtual account, so that the peer virtual account and the higher virtual account of the real account to be repaired become the virtual account to be repaired under the condition that the real account is determined to have wrong transactions.
Step 230, correcting the transaction detail of each real account to be repaired;
step 240, restoring preset real account information of each real account to be repaired;
step 250, correcting the transaction detail of each virtual account to be repaired;
and step 260, restoring the preset virtual account information of each virtual account to be repaired.
According to the technical scheme of the embodiment, based on the relevance of the real account transaction details and the virtual account transaction details and the summary that the upper-level account details are the lower-level account details, the account needing to be repaired is determined under the condition that the error transaction exists, and the repair of the error transaction is not limited by the transaction occurrence time.
EXAMPLE III
Fig. 3 is a flowchart of an account detail repairing method provided in the third embodiment of the present invention, which is further detailed based on the above technical solution, and the method specifically includes:
step 310, if the wrong transaction is found, determining a real account to be repaired and a corresponding virtual account to be repaired;
step 320, inquiring all transaction details in the correction interval of each real account to be repaired;
and if no transaction detail with the settlement exists, the interval end point is the last transaction detail of the real account to be repaired.
Step 330, sorting the inquired transaction details by accounting date and time stamp;
the transaction details of the account, whether the account is a real account or a virtual account, have a strict sequence (based on the transaction time), and the balance, the segment balance, the product number and the segment product number of the transaction detail with the number m of a specific account are closely related to the balance, the segment balance, the product number and the segment product number of the transaction detail with the number m-1 of the previous account, and the relationship is determined by the generation amount, the segment generation amount, the product generation amount, the segment product generation amount and the transaction direction of the transaction detail of m.
Step 340, circularly processing the transaction detail of each non-interval starting point sequenced in the correction interval;
each transaction detail needing to be processed is increased or decreased according to the self-transaction type, the generation amount and the segmentation generation amount on the basis of the balance of the previous transaction detail and the numerical value of the segmentation balance, the generation amount of the total amount and the segmentation generation amount are recalculated according to the difference between the accounting date of the self-transaction detail and the previous transaction detail and the self-generation amount and the segmentation generation amount of the total amount and the previous transaction detail, and the calculated numerical value is added with the total amount and the segmentation total amount of the previous transaction detail respectively to serve as the self-total amount and the segmentation total amount.
And 350, inquiring the last transaction detail of each real account to be repaired, and updating the account balance information of each real account to be repaired according to the balance, the segmented balance, the total and the segmented total of the last transaction detail.
The restoring the preset real account information of each real account to be restored further includes:
if the real account to be repaired has a transaction with interest after the error transaction, adding the generation amount and the segment generation amount of the error transaction on the basis of the existing account balance and the segment balance;
and clearing the error transaction details of the real account to be repaired.
Two conditions are required for transaction detail repair in this application. First, an account that has been processed by a seller is not repaired, and second, an account that has already been transacted by a balance (such as a full balance refund, a system balance, etc.) does not process the number of points in the details after the transaction.
Step 360, correcting the transaction detail of each virtual account to be repaired;
and 370, restoring the preset virtual account information of each virtual account to be repaired.
According to the technical scheme of the embodiment, the sorted transaction details are corrected one by one, so that the correction operation of all real accounts is completed, and then the account information of the real accounts is restored.
Example four
Fig. 4 is a flowchart of an account detail repairing method provided in the fourth embodiment of the present invention, which is further detailed based on the above technical solution, and the method specifically includes:
step 410, if the wrong transaction is found, determining a real account to be repaired and a corresponding virtual account to be repaired;
step 420, correcting the transaction detail of each real account to be repaired;
430, restoring preset real account information of each real account to be repaired;
step 440, inquiring all transaction details in the correction interval of each virtual account to be repaired;
the starting point of the correction interval is the previous transaction detail of the error transaction, the end point of the interval is the earliest transaction detail with the settlement after the error transaction, and if no transaction detail with the settlement exists, the end point of the interval is the last transaction detail of the virtual account to be repaired;
step 450, sorting the inquired transaction details by an accounting date and a time stamp;
step 460, circularly processing the transaction detail of each non-interval starting point sequenced in the correction interval;
each transaction detail needing to be processed is increased or decreased according to the transaction type, the generation amount and the segment generation amount of the transaction detail on the basis of the balance of the previous transaction detail and the value of the segment balance.
Step 470, inquiring the last transaction detail of each virtual account to be repaired, and updating the account balance information of each virtual account to be repaired according to the balance of the last transaction detail and the segment balance.
The restoring the preset virtual account information of each virtual account to be repaired further includes:
if the virtual account to be repaired has a transaction with interest after the error transaction, adding the generation amount and the segment generation amount of the error transaction on the basis of the existing account balance and the segment balance;
and clearing the error transaction detail of the virtual account to be repaired.
According to the technical scheme of the embodiment, the sorted transaction details are corrected one by one, so that the correction operation of all the virtual accounts is completed, and then the account information of the virtual accounts is restored.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an account detail repair apparatus provided in the fifth embodiment of the present invention, where the apparatus specifically includes:
a to-be-repaired account determining module 510, configured to determine, if an error transaction is found, a to-be-repaired real account and a corresponding to-be-repaired virtual account;
the real account detail correcting module 520 is configured to correct the transaction details of each real account to be repaired;
the real account restoring module 530 is configured to restore preset real account information of each real account to be restored;
the virtual account detail correcting module 540 is configured to correct the transaction detail of each virtual account to be repaired;
the virtual account restoring module 550 is configured to restore preset virtual account information of each to-be-restored virtual account.
According to the technical scheme, the real account is repaired and the corresponding virtual account is repaired through the continuity of the account details, the problem that the existing account detail repairing mode is limited in application scene is solved, and the effect of meeting most of scenes needing to repair the account details is achieved.
Optionally, the to-be-repaired account determining module is specifically configured to:
determining the real account in which the error transaction occurs as the real account to be repaired;
and determining the virtual account which is the same as or higher than the real account to be repaired as the virtual account to be repaired.
Optionally, the real account detail correcting module is specifically configured to:
inquiring all transaction details in the correction interval of each real account to be repaired; the starting point of the correction interval is the previous transaction detail of the error transaction, the end point of the interval is the transaction detail of the earliest settlement after the error transaction, and if no transaction detail of the settlement exists, the end point of the interval is the last transaction detail of the real account to be repaired;
sorting the queried transaction details by an accounting date and time stamp;
and circularly processing the transaction detail of each non-interval starting point sequenced in the correction interval, wherein each transaction detail to be processed increases or decreases the self balance and the segment balance according to the self transaction type, the generation amount and the segment generation amount on the basis of the balance of the previous transaction detail and the value of the segment balance, the generation amount of the total number and the generation amount of the segment number are recalculated according to the difference between the accounting date of the self transaction detail and the previous transaction detail, the self generation amount and the segment generation amount, and the calculated value, the total number of the previous transaction detail and the segment total number are respectively added to be used as the self total number and the segment total number.
Optionally, the real account restoring module is specifically configured to:
and inquiring the last transaction detail of each real account to be repaired, and updating the account balance information of each real account to be repaired according to the balance, the sectional balance, the total number and the sectional total number of the last transaction detail.
Optionally, the real account restoring module is further specifically configured to:
if the real account to be repaired has a transaction with interest after the error transaction, adding the generation amount and the segment generation amount of the error transaction on the basis of the existing account balance and the segment balance;
and clearing the error transaction details of the real account to be repaired.
Optionally, the virtual account detail correcting module is specifically configured to:
inquiring all transaction details in the correction interval of each virtual account to be repaired; the starting point of the correction interval is the previous transaction detail of the error transaction, the end point of the interval is the transaction detail of the earliest settlement after the error transaction, and if no transaction detail with the settlement exists, the end point of the interval is the last transaction detail of the virtual account to be repaired;
sorting the queried transaction details by an accounting date and time stamp;
and circularly processing the transaction detail of each non-interval starting point sequenced in the correction interval, wherein each transaction detail needing to be processed increases or decreases the self balance and the segment balance according to the self transaction type, the generation amount and the segment generation amount on the basis of the value of the balance and the segment balance of the previous transaction detail.
Optionally, the virtual account restoring module is specifically configured to:
and inquiring the last transaction detail of each virtual account to be repaired, and updating the account balance information of each virtual account to be repaired according to the balance of the last transaction detail and the segmented balance.
Optionally, the virtual account restoring module is further specifically configured to:
if the virtual account to be repaired has a transaction with interest after the error transaction, adding the generation amount and the segment generation amount of the error transaction on the basis of the existing account balance and the segment balance;
and clearing the error transaction detail of the virtual account to be repaired.
The account detail repair device provided by the embodiment of the invention can execute the account detail repair method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE six
Fig. 6 is a schematic structural diagram of a computer apparatus according to a sixth embodiment of the present invention, as shown in fig. 6, the computer apparatus includes a processor 610, a memory 620, an input device 630, and an output device 640; the number of processors 610 in the computer device may be one or more, and one processor 610 is taken as an example in fig. 6; the processor 610, memory 620, input device 630, and output device 640 in the computer apparatus may be connected by a bus or other means, as exemplified by the bus connection in fig. 6.
The memory 620 is used as a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the account detail restoration method in the embodiment of the present invention (for example, the account to be restored determining module 510, the real account detail correction module 520, the real account restoration module 530, the virtual account detail correction module 540, and the virtual account restoration module 550 in the account detail restoration apparatus). The processor 610 executes various functional applications and data processing of the computer device by executing software programs, instructions and modules stored in the memory 620, that is, the above-described account details repairing method is realized.
The memory 620 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 620 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 620 may further include memory located remotely from the processor 610, which may be connected to a computer device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 630 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the computer apparatus. The output device 640 may include a display device such as a display screen.
EXAMPLE seven
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for account details recovery, including:
if the wrong transaction is found, determining a real account to be repaired and a corresponding virtual account to be repaired;
correcting the transaction detail of each real account to be repaired;
restoring preset real account information of each real account to be restored;
correcting the transaction detail of each virtual account to be repaired;
and restoring the preset virtual account information of each virtual account to be repaired.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the account detail repair method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for a person skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the account details recovery apparatus, the included units and modules are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions without departing from the scope of the invention. Therefore, although the present invention has been described in more detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (18)

1. An account detail restoration method, comprising:
if the wrong transaction is found, determining a real account to be repaired and a corresponding virtual account to be repaired;
correcting the transaction detail of each real account to be repaired;
restoring preset real account information of each real account to be restored;
correcting the transaction detail of each virtual account to be repaired;
and restoring the preset virtual account information of each virtual account to be repaired.
2. The method of claim 1, wherein the determining the real account to be repaired and the corresponding virtual account to be repaired comprises:
determining the real account in which the error transaction occurs as the real account to be repaired;
and determining the virtual account which is the same as or higher than the real account to be repaired as the virtual account to be repaired.
3. The method according to claim 1, wherein the modifying the transaction details of each real account to be repaired comprises:
inquiring all transaction details in the correction interval of each real account to be repaired; the starting point of the correction interval is the previous transaction detail of the error transaction, the end point of the interval is the earliest transaction detail with the settlement after the error transaction, and if no transaction detail with the settlement exists, the end point of the interval is the last transaction detail of the real account to be repaired;
sorting the queried transaction details by an accounting date and time stamp;
and circularly processing the transaction detail of each non-interval starting point sequenced in the correction interval, wherein each transaction detail to be processed increases or decreases the self balance and the segment balance according to the self transaction type, the generation amount and the segment generation amount on the basis of the balance of the previous transaction detail and the value of the segment balance, the generation amount of the total number and the generation amount of the segment number are recalculated according to the difference between the accounting date of the self transaction detail and the previous transaction detail, the self generation amount and the segment generation amount, and the calculated value, the total number of the previous transaction detail and the segment total number are respectively added to be used as the self total number and the segment total number.
4. The method according to claim 3, wherein the restoring preset real account information of each real account to be repaired includes:
and inquiring the last transaction detail of each real account to be repaired, and updating the account balance information of each real account to be repaired according to the balance, the segmented balance, the total number and the segmented total number of the last transaction detail.
5. The method according to claim 4, wherein the restoring preset real account information of each real account to be repaired further comprises:
if the real account to be repaired has a transaction with interest after the error transaction, adding the generation amount and the segment generation amount of the error transaction on the basis of the existing account balance and the segment balance;
and clearing the error transaction details of the real account to be repaired.
6. The method of claim 1, wherein the modifying the transaction details of each virtual account to be repaired comprises:
inquiring all transaction details in the correction interval of each virtual account to be repaired; the starting point of the correction interval is the previous transaction detail of the error transaction, the end point of the interval is the earliest transaction detail with the settlement after the error transaction, and if no transaction detail with the settlement exists, the end point of the interval is the last transaction detail of the virtual account to be repaired;
sorting the queried transaction details by an accounting date and time stamp;
and circularly processing the transaction detail of each non-interval starting point sequenced in the correction interval, wherein each transaction detail needing to be processed increases or decreases the self balance and the segment balance according to the self transaction type, the generation amount and the segment generation amount on the basis of the value of the balance and the segment balance of the previous transaction detail.
7. The method according to claim 6, wherein the restoring preset virtual account information of each virtual account to be repaired includes:
and inquiring the last transaction detail of each virtual account to be repaired, and updating the account balance information of each virtual account to be repaired according to the balance of the last transaction detail and the segmented balance.
8. The method according to claim 7, wherein the restoring preset virtual account information of each virtual account to be repaired further comprises:
if the virtual account to be repaired has a transaction with interest after the error transaction, adding the generation amount and the segment generation amount of the error transaction on the basis of the existing account balance and the segment balance;
and clearing the error transaction detail of the virtual account to be repaired.
9. An account detail restoration apparatus, comprising:
the account to be repaired determining module is used for determining a real account to be repaired and a corresponding virtual account to be repaired if the error transaction is found;
the real account detail correcting module is used for correcting the transaction detail of each real account to be repaired;
the real account restoring module is used for restoring preset real account information of each real account to be restored;
the virtual account detail correcting module is used for correcting the transaction detail of each virtual account to be repaired;
and the virtual account restoring module is used for restoring the preset virtual account information of each virtual account to be restored.
10. The apparatus according to claim 9, wherein the to-be-repaired account determination module is specifically configured to:
determining the real account in which the error transaction occurs as the real account to be repaired;
and determining the virtual account which is the same as or higher than the real account to be repaired as the virtual account to be repaired.
11. The apparatus of claim 9, wherein the real account details modification module is specifically configured to:
inquiring all transaction details in the correction interval of each real account to be repaired; the starting point of the correction interval is the previous transaction detail of the error transaction, the end point of the interval is the earliest transaction detail with the settlement after the error transaction, and if no transaction detail with the settlement exists, the end point of the interval is the last transaction detail of the real account to be repaired;
sorting the queried transaction details by an accounting date and time stamp;
and circularly processing the transaction detail of each non-interval starting point sequenced in the correction interval, wherein each transaction detail to be processed increases or decreases the self balance and the segment balance according to the self transaction type, the generation amount and the segment generation amount on the basis of the balance of the previous transaction detail and the value of the segment balance, the generation amount of the total number and the generation amount of the segment number are recalculated according to the difference between the accounting date of the self transaction detail and the previous transaction detail, the self generation amount and the segment generation amount, and the calculated value, the total number of the previous transaction detail and the segment total number are respectively added to be used as the self total number and the segment total number.
12. The apparatus of claim 11, wherein the real account recovery module is specifically configured to:
and inquiring the last transaction detail of each real account to be repaired, and updating the account balance information of each real account to be repaired according to the balance, the segmented balance, the total number and the segmented total number of the last transaction detail.
13. The apparatus of claim 12, wherein the real account recovery module is further specifically configured to:
if the real account to be repaired has a transaction with interest after the error transaction, adding the generation amount and the segment generation amount of the error transaction on the basis of the existing account balance and the segment balance;
and clearing the error transaction details of the real account to be repaired.
14. The apparatus of claim 9, wherein the virtual account details modification module is specifically configured to:
inquiring all transaction details in the correction interval of each virtual account to be repaired; the starting point of the correction interval is the previous transaction detail of the error transaction, the end point of the interval is the earliest transaction detail with the settlement after the error transaction, and if no transaction detail with the settlement exists, the end point of the interval is the last transaction detail of the virtual account to be repaired;
sorting the queried transaction details by an accounting date and time stamp;
and circularly processing the transaction detail of each non-interval starting point sequenced in the correction interval, wherein each transaction detail needing to be processed increases or decreases the self balance and the segment balance according to the self transaction type, the generation amount and the segment generation amount on the basis of the value of the balance and the segment balance of the previous transaction detail.
15. The apparatus of claim 14, wherein the virtual account restoring module is specifically configured to:
and inquiring the last transaction detail of each virtual account to be repaired, and updating the account balance information of each virtual account to be repaired according to the balance of the last transaction detail and the segmented balance.
16. The apparatus of claim 15, wherein the virtual account restoring module is further specifically configured to:
if the virtual account to be repaired has a transaction with interest after the error transaction, adding the generation amount and the segment generation amount of the error transaction on the basis of the existing account balance and the segment balance;
and clearing the error transaction detail of the virtual account to be repaired.
17. A computer device, characterized in that the computer device comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the account details repair method of any of claims 1-8.
18. A storage medium containing computer-executable instructions for performing the account details repair method of any of claims 1-8 when executed by a computer processor.
CN202011043276.XA 2020-09-28 2020-09-28 Account detail repairing method, device, equipment and storage medium Pending CN112241889A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011043276.XA CN112241889A (en) 2020-09-28 2020-09-28 Account detail repairing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011043276.XA CN112241889A (en) 2020-09-28 2020-09-28 Account detail repairing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112241889A true CN112241889A (en) 2021-01-19

Family

ID=74171847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011043276.XA Pending CN112241889A (en) 2020-09-28 2020-09-28 Account detail repairing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112241889A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113628053A (en) * 2021-09-03 2021-11-09 中电金信软件有限公司 Transaction balance calculation method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030023830A (en) * 2001-09-14 2003-03-20 (주)지티엠에스 Interoperatable module system and its method of financial data for automated settlement process
CN101556682A (en) * 2009-05-21 2009-10-14 中国建设银行股份有限公司 System and method for processing financial data
US9507667B1 (en) * 2012-04-11 2016-11-29 Broadridge Securities Processing Solutions, Inc. Computer methods and computer systems for automatic data analysis, reconcilliation and repair
CN107563889A (en) * 2017-08-29 2018-01-09 中国银行股份有限公司 Account balance information processing method and processing device
CN109670957A (en) * 2018-12-24 2019-04-23 恒生电子股份有限公司 The processing method and processing device of fictitious assets data
CN111309745A (en) * 2020-02-10 2020-06-19 腾讯科技(深圳)有限公司 Virtual resource processing method and device, electronic equipment and storage medium
CN111353763A (en) * 2020-03-30 2020-06-30 中国建设银行股份有限公司 Method, device, server and storage medium for processing data
CN111626868A (en) * 2020-05-25 2020-09-04 泰康保险集团股份有限公司 Account checking method, account checking device, account checking equipment and computer readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030023830A (en) * 2001-09-14 2003-03-20 (주)지티엠에스 Interoperatable module system and its method of financial data for automated settlement process
CN101556682A (en) * 2009-05-21 2009-10-14 中国建设银行股份有限公司 System and method for processing financial data
US9507667B1 (en) * 2012-04-11 2016-11-29 Broadridge Securities Processing Solutions, Inc. Computer methods and computer systems for automatic data analysis, reconcilliation and repair
CN107563889A (en) * 2017-08-29 2018-01-09 中国银行股份有限公司 Account balance information processing method and processing device
CN109670957A (en) * 2018-12-24 2019-04-23 恒生电子股份有限公司 The processing method and processing device of fictitious assets data
CN111309745A (en) * 2020-02-10 2020-06-19 腾讯科技(深圳)有限公司 Virtual resource processing method and device, electronic equipment and storage medium
CN111353763A (en) * 2020-03-30 2020-06-30 中国建设银行股份有限公司 Method, device, server and storage medium for processing data
CN111626868A (en) * 2020-05-25 2020-09-04 泰康保险集团股份有限公司 Account checking method, account checking device, account checking equipment and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113628053A (en) * 2021-09-03 2021-11-09 中电金信软件有限公司 Transaction balance calculation method and device

Similar Documents

Publication Publication Date Title
CN108376364B (en) Payment system account checking method and device and terminal device
CN112597153B (en) Block chain-based data storage method, device and storage medium
CN112468523B (en) Abnormal flow detection method, device, equipment and storage medium
CN112633842B (en) Task pushing method, device and system
CN105279613A (en) Accounting affair processing method and system
US20230153781A1 (en) Transaction data processing method and apparatus
CN108073707B (en) Financial business data updating method and device and computer readable storage medium
CN114282011B (en) Knowledge graph construction method and device, and graph calculation method and device
CN112241889A (en) Account detail repairing method, device, equipment and storage medium
CN107193837B (en) Data summarizing method and device
CN113157479A (en) Data error correction method, system, device, equipment and storage medium
CN114511314A (en) Payment account management method and device, computer equipment and storage medium
CN113935295A (en) Valuation table summarizing method, valuation table summarizing device, valuation table summarizing equipment and valuation table summarizing medium
CN113449062A (en) Track processing method and device, electronic equipment and storage medium
CN111241082A (en) Data correction method and device
CN115543991B (en) Data restoration method and device based on feature sampling and related equipment
CN111311396A (en) Re-posting accounting method, device, equipment and storage medium
CN113824847B (en) Method and device for determining charging abnormality, computing equipment and computer storage medium
CN116703505A (en) Order information judging method and device
CN114189934A (en) Method, device, equipment and medium for determining repeated paging
CN114417844A (en) Short message processing method and device, computer equipment, storage medium and program product
CN117787676A (en) Decision flow simulation method, device, electronic equipment and computer readable medium
CN114625752A (en) Generation method, system, equipment and medium of order settlement data
CN114282835A (en) Method and device for generating financing model in supply chain and electronic equipment
CN112199413A (en) Service request execution method, device, electronic equipment and storage medium

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