CN112561672A - Accounting data processing system, method, device, equipment and computer readable medium - Google Patents

Accounting data processing system, method, device, equipment and computer readable medium Download PDF

Info

Publication number
CN112561672A
CN112561672A CN202011409276.7A CN202011409276A CN112561672A CN 112561672 A CN112561672 A CN 112561672A CN 202011409276 A CN202011409276 A CN 202011409276A CN 112561672 A CN112561672 A CN 112561672A
Authority
CN
China
Prior art keywords
accounting
transaction
change data
account
strategy
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
CN202011409276.7A
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.)
JD Digital Technology Holdings Co Ltd
Original Assignee
JD Digital Technology Holdings 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 JD Digital Technology Holdings Co Ltd filed Critical JD Digital Technology Holdings Co Ltd
Priority to CN202011409276.7A priority Critical patent/CN112561672A/en
Publication of CN112561672A publication Critical patent/CN112561672A/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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/125Finance or payroll

Landscapes

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

Abstract

The application relates to an accounting data processing system, method, device, equipment and computer readable medium. The method comprises the following steps: acquiring accounting change data, wherein the accounting change data is generated by a first transaction behavior of a target account in a business system; extracting an accounting strategy matched with the accounting change data, wherein the accounting strategy is configured according to the service demand information of the service system before the first transaction action is generated; and accounting the target account according to the accounting strategy and the accounting change data. According to the method and the system, a universal accounting data processing system is constructed, and corresponding accounting strategies are matched for different services, so that the requirements of flexible accounting of each service can be met, and the technical problem that corresponding accounting systems are separately developed according to different service requirements is solved.

Description

Accounting data processing system, method, device, equipment and computer readable medium
Technical Field
The application relates to the technical field of internet finance, in particular to an accounting data processing system, method, device, equipment and computer readable medium.
Background
With the development of the popular finance, the internet financing is gradually accepted by the public. Emerging services are endless, and each financial investment class service needs to establish a set of accounting system of the service, and the system is used for recording the asset condition of each dimension of a user in detail, namely: when the user changes the transaction assets, the asset change and detail of each dimension related to the change are recorded through the accounting function of the system, and the asset change and detail are used for subsequent functions such as showing and accounting for the user.
At present, although the financial investment accounting system in the related art can also realize functions of accounting, checking account and the like, each time a set of business system is built, a set of accounting system corresponding to the business needs to be built repeatedly, and development is also needed in the later stage of the accounting dimension if the accounting system is newly added. In the face of endless Internet financial investment business, the existing accounting system has high maintainability and development cost, and the disadvantage of the accounting mode is increasingly shown.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The application provides an accounting data processing system, an accounting data processing method, an accounting data processing device, accounting data processing equipment and a computer readable medium, and aims to solve the technical problem that corresponding accounting systems are separately developed aiming at different business needs.
According to an aspect of an embodiment of the present application, there is provided an accounting data processing method, including: acquiring accounting change data, wherein the accounting change data is generated by a first transaction behavior of a target account in a business system; extracting an accounting strategy matched with the accounting change data, wherein the accounting strategy is configured according to the service demand information of the service system before the first transaction action is generated; and accounting the target account according to the accounting strategy and the accounting change data.
Optionally, before acquiring the accounting change data, the method further includes configuring an accounting policy according to the business demand information of the business system as follows: receiving service demand information sent by a service system; determining a target service indicated by the service demand information; configuring a transaction type matched with the target service; generating an account billing identification of the transaction type to obtain a billing strategy, wherein the account billing identification is used for triggering billing operation; and pairing the accounting strategy with the service identification of the service system, and storing the accounting strategy in a database.
Optionally, extracting the accounting policy matching with the accounting change data comprises: under the condition that account accounting identification carried in the accounting change data is obtained, an accounting process is called; extracting a service identifier carried by the account change data in an accounting process; and in the case of inquiring the accounting strategy matched with the service identification, extracting the accounting strategy.
Optionally, the billing the target account according to the billing policy and the accounting change data includes: determining a transaction type of the first transaction activity; determining an account label of a target account matched with the transaction type, and extracting transaction information carried by the account change data; under the condition that the transaction state of the first transaction behavior is the posting state, adding transaction information into the account label; and when the transaction state of the first transaction behavior is the charge-out state, reducing the transaction information from the account label.
Optionally, after the target account is billed according to the billing policy and the accounting change data, in the case that the second transaction action associated with the first transaction action is not successful, the method further comprises: deleting the transaction information added to the account label under the condition that the transaction state of the first transaction behavior is the posting state; in the event that the transaction status of the first transaction activity is an out-of-account status, transaction information that has been decremented from the book-side tag is appended.
Optionally, after the target account is billed according to the billing policy and the accounting change data, the method further includes: under the condition of receiving an accounting query request, calling an accounting query process; extracting an account identifier carried by the accounting query request in an accounting query process; and returning the accounting information of the target account under the condition that the target account matched with the account identification is found.
According to another aspect of the embodiments of the present application, there is provided an accounting data processing apparatus, including: the data acquisition module is used for acquiring accounting change data, and the accounting change data is generated by a first transaction behavior of a target account in the business system; the strategy matching module is used for extracting an accounting strategy matched with the accounting change data, and the accounting strategy is configured according to the service demand information of the service system before the transaction action is generated; and the accounting module is used for accounting the target account according to the accounting strategy and the accounting change data.
According to another aspect of the embodiments of the present application, there is provided an accounting data processing system, including: the operation background subsystem is used for configuring an accounting strategy according to the service demand information sent by the service system; the gateway subsystem is used for receiving the accounting change data of the business system; and the accounting subsystem is used for accounting the accounting change data according to the accounting strategy.
According to another aspect of the embodiments of the present application, there is provided an electronic device, including a memory, a processor, a communication interface, and a communication bus, where the memory stores a computer program executable on the processor, and the memory and the processor communicate with each other through the communication bus and the communication interface, and the processor implements the steps of the method when executing the computer program.
According to another aspect of embodiments of the present application, there is also provided a computer readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform the above-mentioned method.
Compared with the related art, the technical scheme provided by the embodiment of the application has the following advantages:
the technical scheme includes that accounting change data are obtained, and the accounting change data are generated by a first transaction behavior of a target account in a business system; extracting an accounting strategy matched with the accounting change data, wherein the accounting strategy is configured according to the service demand information of the service system before the first transaction action is generated; and accounting the target account according to the accounting strategy and the accounting change data. According to the method and the system, a universal accounting data processing system is constructed, and corresponding accounting strategies are matched for different services, so that the requirements of flexible accounting of each service can be met, and the technical problem that corresponding accounting systems are separately developed according to different service requirements is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the technical solutions in the embodiments or related technologies of the present application, the drawings needed to be used in the description of the embodiments or related technologies will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without any creative effort.
Fig. 1 is a schematic diagram of an alternative accounting data processing system provided in accordance with an embodiment of the present application;
fig. 2 is a schematic diagram of an alternative financial data processing method hardware environment according to an embodiment of the present application;
fig. 3 is a flowchart of an alternative accounting data processing method according to an embodiment of the present application;
fig. 4 is a block diagram of an alternative accounting data processing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an alternative electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
Although the financial investment accounting system in the related art can also realize functions of accounting, checking account and the like, each time a set of business system is built, a set of accounting system corresponding to the business needs to be built repeatedly, and development is needed in the later stage of accounting dimension if new accounting systems are added. In the face of endless Internet financial investment business, the existing accounting system has high maintainability and development cost, and the disadvantage of the accounting mode is increasingly shown.
To address the problems noted in the background, according to an aspect of embodiments of the present application, an embodiment of an accounting data processing system is provided.
As shown in fig. 1, the accounting data processing system 1 includes: the operation background subsystem 101 is used for configuring an accounting policy according to the service demand information sent by the service system 2; the gateway subsystem 103 is used for receiving accounting change data of the business system; and the accounting subsystem 105 is used for accounting the accounting change data according to the accounting strategy.
In the embodiment of the application, the operation background subsystem is mainly used for providing the user with the configuration of the accounting dimension, the inquiry of the accounting information and the like. In the operation background subsystem, a user can configure a service line, a transaction type and an account level according to needs. The business line can be a business line such as gold, fund, stock, bond and the like, the transaction type can be a transaction scene triggering accounting, such as successful application of subscription, successful confirmation of subscription, successful application of transfer/redemption, successful transfer/redemption to account payment to card, successful release of income and the like, and the corresponding transaction behaviors comprise subscription, transfer/redemption and release of income. The account level is an accounting table of each dimension under the user account, such as asset channels (security dealer, fund, etc.) of the user, commodity codes of purchased, held and sold commodities, a bank card of the user, account numbers of financial institutions participating in investment of the user, and the like.
Taking the fund account as an example, the user can configure the transaction types that the user needs to account in the operation background, for example, the transaction types that the user needs to account can be configured as the transaction types that the application of subscription succeeds, the confirmation of subscription succeeds, the application of transfer-out/redemption succeeds, the transfer-out/redemption returns to account succeeds, the issuance income and the like, and the asset increase and decrease of various amounts and shares under the user ID level can be recorded.
In the embodiment of the application, the gateway subsystem is mainly responsible for directly providing an accounting change interface and an inquiry interface for the service system, and the downstream of the gateway subsystem is an accounting subsystem. The accounting subsystem is responsible for recording the increase and decrease of the core accounting assets and inquiring service.
According to yet another aspect of embodiments of the present application, an embodiment of an accounting data processing method is provided.
Alternatively, in the embodiment of the present application, the above accounting data processing method may be applied to a hardware environment formed by the terminal 201 and the server 203 as shown in fig. 2. The terminal can be a user terminal, the user performs asset management and transaction through the terminal so as to generate transaction information needing accounting, and the server is a server of the financial data processing system and can be an information flow distribution center for connecting each financial institution.
As shown in fig. 2, a server 203 is connected to a terminal 201 through a network, which may be used to provide services for the terminal or a client installed on the terminal, and a database 205 may be provided on the server or independent of the server, which may be used to provide data storage services for the server 203, and the database may employ a high-performance redis storage system, and the network includes but is not limited to: wide area network, metropolitan area network, or local area network, and the terminal 201 includes but is not limited to a PC, a cell phone, a tablet computer, and the like.
An accounting data processing method in the embodiment of the present application may be executed by the server 203, and as shown in fig. 3, the method may include the following steps:
step S302, obtain accounting change data, where the accounting change data is generated by a first transaction behavior of a target account in a business system.
In the embodiment of the application, after the business system executes the first transaction behavior of the user, the business system generates corresponding accounting change data, wherein the accounting change data includes a transaction amount, a transaction object, a transaction time, a transaction state, a transaction type and the like of the first transaction behavior.
Taking the fund as an example, the first transaction behavior may be various processes of buying and selling the fund, such as procurement, transfer, redemption, and issuing income, the transaction status may be success or failure, and the transaction type may be procurement application, procurement confirmation, transfer application, transfer confirmation, redemption application, redemption confirmation, and issuing income. The transaction types described above may be used as scenarios requiring accounting because asset changes are made, and accounting change data is generated after the transaction is completed to trigger accounting.
In the embodiment of the application, the accounting change data generated in the business system can be transmitted through the message queue, and the accounting data processing system asynchronously obtains the accounting change data by monitoring the message queue.
Step S304, an accounting strategy matched with the accounting change data is extracted, and the accounting strategy is configured according to the business requirement information of the business system before the first transaction action is generated.
In the embodiment of the application, in order to improve adaptability and avoid the trouble that one set of accounting system is required to be built when one set of business is developed in the existing old accounting mode, different accounting strategies can be adopted aiming at the accounting data generated by different businesses, namely, what is required to be used and provided instead of providing a fixed accounting strategy, so that the requirement of flexibly accounting of each business can be met.
Optionally, before acquiring the accounting change data, the method further includes configuring an accounting policy according to the business demand information of the business system as follows:
step 1, receiving service demand information sent by a service system;
step 2, determining a target service indicated by the service demand information;
step 3, configuring a transaction type matched with the target service;
step 4, generating an account accounting identifier of the transaction type to obtain an accounting strategy, wherein the account accounting identifier is used for triggering accounting operation;
and step 5, pairing the accounting strategy with the service identification of the service system, and storing the accounting strategy in a database.
In the embodiment of the application, the operation background subsystem determines the target service required by the user according to the configuration of the service line, further determines the transaction type specified by the user or provided by the template, and finally generates the account accounting identifier of the transaction type, wherein the account accounting identifier is used for triggering accounting operation, namely, calling an accounting process to start accounting. The generated accounting strategy is matched with the corresponding service system through the service identifier, so that the accounting subsystem can call the corresponding accounting strategy according to the service identifier to account when receiving the accounting change data carrying the account accounting identifier.
In the embodiment of the application, a user can configure the accounting strategy in the operation background subsystem according to the actual needs of the user, the user can define the service line, the account level and the transaction type by the user, and the setting can be carried out according to the service template provided by the operation background subsystem. The service requirement information can be a service line, an account level, a transaction type and the like defined by a user, and can also be a service line, an account level, a transaction type and the like selected according to a service template.
The business line can be a business line such as gold, fund, stock, bond and the like, the transaction type can be a transaction scene triggering accounting, such as successful application of subscription, successful confirmation of subscription, successful application of transfer/redemption, successful transfer/redemption to account payment to card, successful income issuing and the like, the corresponding transaction behaviors comprise subscription, transfer/redemption, income issuing, and account level is an accounting table of each dimension under the user account, such as asset channels (security dealer, fund and the like), commodity codes of purchased, held and sold commodities, bank cards of the user, account numbers of financial institutions participating in investment of the user and the like. Taking the fund account as an example, the user can configure the transaction types that the user needs to account in the operation background, for example, the transaction types that the user needs to account can be configured as the transaction types that the application of subscription succeeds, the confirmation of subscription succeeds, the application of transfer-out/redemption succeeds, the transfer-out/redemption returns to account succeeds, the issuance income and the like, and the asset increase and decrease of various amounts and shares under the user ID level can be recorded.
Optionally, the extracting of the billing policy matched with the accounting change data in step S304 may specifically include:
step 1, calling an accounting process under the condition of acquiring account accounting identification carried in accounting change data;
step 2, extracting a service identifier carried by the account change data in an accounting process;
and 3, under the condition that the accounting strategy matched with the service identification is inquired, extracting the accounting strategy.
In the embodiment of the application, the accounting process can be called through a jsf (java server faces) service framework. Firstly, determining the existence of data needing to be booked through an account bookkeeping identifier, and calling a bookkeeping process, wherein the bookkeeping process is a subprocess of an accounting data processing system. In the accounting process, the service identifier in the accounting change data is further extracted, so that the service needing accounting is determined through the service identifier, and then the accounting policy with the same service identifier can be found to obtain the accounting policy matched with the accounting change data.
And step S306, accounting the target account according to the accounting strategy and the accounting change data.
In the embodiment of the application, after the accounting change data is matched with the corresponding accounting strategy, the accounting work can be carried out. Accounting changes (addition and subtraction) are carried out at each account level according to the changes of the assets under the target account.
Optionally, the billing the target account according to the billing policy and the accounting change data includes:
step 1, determining a transaction type of a first transaction behavior;
step 2, determining an account label of the target account matched with the transaction type, and extracting transaction information carried by the account change data;
step 3, under the condition that the transaction state of the first transaction behavior is the posting state, adding transaction information into the account label; and when the transaction state of the first transaction behavior is the charge-out state, reducing the transaction information from the account label.
In the embodiment of the present application, the transaction type of the first transaction behavior generating the accounting change data, such as successful application of subscription, successful confirmation of subscription, successful application of transfer-out/redemption, successful transfer-out/redemption-into-account payment to card, successful release of revenue, etc., may be determined in the target account. And determining the account label related to the account change according to different types in a plurality of account labels to be selected. The account label is a display of all assets owned by the target account in the account including assets in various states, such as total asset amount, frozen asset amount, redeemable amount, purchase-applying amount in transit, redeemed amount in transit, current taken amount, accumulated earnings amount, and the like. And then, according to the transaction state of the first transaction behavior, including the posting or the posting, the corresponding account label is changed. As shown in Table one, for example, the asset transition successfully generated by the application for proposal relates to the total asset amount and the proposal in-transit amount. The application of the subscription is successful, the total asset amount is increased, and the subscription in-transit amount is increased. Successful subscription confirmation, increased redeemable amount, decreased subscription in-transit amount, and increased current position sum. The transfer application is successful, the total asset amount is reduced, the redeemable amount is reduced, and the redeemable amount in transit is increased. It should be noted that, a specific account label may be set according to actual situations of different services, which is provided by the present application only as a feasible manner.
Watch 1
Figure BDA0002816883340000101
The technical scheme includes that accounting change data are obtained, and the accounting change data are generated by a first transaction behavior of a target account in a business system; extracting an accounting strategy matched with the accounting change data, wherein the accounting strategy is configured according to the service demand information of the service system before the first transaction action is generated; and accounting the target account according to the accounting strategy and the accounting change data. According to the method and the system, a universal accounting data processing system is constructed, and corresponding accounting strategies are matched for different services, so that the requirements of flexible accounting of each service can be met, and the technical problem that corresponding accounting systems are separately developed according to different service requirements is solved.
In the embodiment of the application, if the subsequent associated transaction behavior of the first transaction behavior fails, which results in an account error, correction is required.
Optionally, after the target account is billed according to the billing policy and the accounting change data, in the case that the second transaction action associated with the first transaction action is not successful, the method further comprises: deleting the transaction information added to the account label under the condition that the transaction state of the first transaction behavior is the posting state; in the event that the transaction status of the first transaction activity is an out-of-account status, transaction information that has been decremented from the book-side tag is appended.
In the embodiment of the present application, to achieve a transaction, a plurality of transaction behavior combinations are required, for example, to purchase a fund, a share is required to be purchased, after the application of the subscription is successful, the share is drawn into the account of the user, but after the purchase of the share is successfully applied, the purchase of the share is confirmed after a certain time, and the share of the fund purchased by the user really belongs to the user after the purchase of the share is confirmed. In this regard, if the first transaction action is an application for a proposal, the transaction is successful, then the total asset amount under the account of the user is increased at this time because the share has been posted to the user's account, and the proposed share is presented in the form of a proposed in-transit amount because no confirmation of the proposal has been made. And if the second transaction behavior is the confirmation of the subscription, but the transaction fails, returning the share of the subscription, and re-accounting due to the failure of the second transaction behavior, namely, rolling back the account of the first transaction behavior, deleting the transaction amount added to the total asset amount, and reducing the corresponding amount in the in-transit amount of the subscription.
Similarly, if the fund is sold, the application needs to be transferred, after the application is successfully transferred, the share is drawn from the account of the user, but the transferred share is confirmed to be transferred after a certain time, and the share of the fund sold by the user actually flows to the market after the transfer confirmation. In this regard, if the first transaction action is a roll-out application, the transaction is successful, then the total amount of assets under the user's account is reduced at this time because the share has already been posted out of the user's account, and the roll-out share is presented in the form of a roll-out in-transit amount because there has not yet been a roll-out confirmation. If the second transaction action is a roll-out confirmation but the transaction fails, the roll-out share needs to be returned to the user account, and due to the failure of the second transaction action, a renewed charge needs to be made, i.e., the charge of the first transaction action needs to be rolled back, the transaction amount that has been reduced from the total asset amount is replenished, and the corresponding transaction amount is reduced in the roll-out in-transit amount.
Optionally, after the target account is billed according to the billing policy and the accounting change data, the method further includes: under the condition of receiving an accounting query request, calling an accounting query process; extracting an account identifier carried by the accounting query request in an accounting query process; and returning the accounting information of the target account under the condition that the target account matched with the account identification is found.
In the embodiment of the application, the accounting data processing system further provides an interface for asset query and account query to the user through the gateway subsystem. Asset query and account query can be called in a JSF mode, namely, a user clicks a query control on an operation interface to generate an account query request, and the gateway subsystem calls an account query process under the condition of receiving the account query request. The accounting query process is a sub-process of the accounting data processing system. And extracting the account identification carried by the accounting inquiry request in the accounting inquiry process so as to determine which account needs to be returned to the asset information and the accounting information.
According to still another aspect of the embodiments of the present application, as shown in fig. 4, there is provided an accounting data processing apparatus including: the data acquisition module 401 is configured to acquire accounting change data, where the accounting change data is generated by a first transaction behavior of a target account in a business system; the policy matching module 403 is configured to extract an accounting policy matched with the accounting change data, where the accounting policy is configured according to the service requirement information of the service system before the transaction action is generated; and the accounting module 405 is configured to account the target account according to the accounting policy and the accounting change data.
It should be noted that the data obtaining module 401 in this embodiment may be configured to execute step S302 in this embodiment, the policy matching module 403 in this embodiment may be configured to execute step S304 in this embodiment, and the billing module 405 in this embodiment may be configured to execute step S306 in this embodiment.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. It should be noted that the modules described above as a part of the apparatus may operate in a hardware environment as shown in fig. 2, and may be implemented by software or hardware.
Optionally, the accounting data processing apparatus further includes an accounting policy configuration module, configured to: receiving service demand information sent by a service system; determining a target service indicated by the service demand information; configuring a transaction type matched with the target service; generating an account billing identification of the transaction type to obtain a billing strategy, wherein the account billing identification is used for triggering billing operation; and pairing the accounting strategy with the service identification of the service system, and storing the accounting strategy in a database.
Optionally, the policy matching module is specifically configured to: under the condition that account accounting identification carried in the accounting change data is obtained, an accounting process is called; extracting a service identifier carried by the account change data in an accounting process; and in the case of inquiring the accounting strategy matched with the service identification, extracting the accounting strategy.
Optionally, the accounting module is specifically configured to: determining a transaction type of the first transaction activity; determining an account label of a target account matched with the transaction type, and extracting transaction information carried by the account change data; under the condition that the transaction state of the first transaction behavior is the posting state, adding transaction information into the account label; and when the transaction state of the first transaction behavior is the charge-out state, reducing the transaction information from the account label.
Optionally, the accounting data processing apparatus further includes a correcting module, configured to, in a case where the second transaction behavior associated with the first transaction behavior is received and indicated to be unsuccessful, delete the transaction information that has been added to the ledger label in a case where a transaction status of the first transaction behavior is an entry status; in the event that the transaction status of the first transaction activity is an out-of-account status, transaction information that has been decremented from the book-side tag is appended.
Optionally, the accounting data processing apparatus further includes an accounting query module, configured to: under the condition of receiving an accounting query request, calling an accounting query process; extracting an account identifier carried by the accounting query request in an accounting query process; and returning the accounting information of the target account under the condition that the target account matched with the account identification is found.
According to another aspect of the embodiments of the present application, there is provided an electronic device, as shown in fig. 5, including a memory 501, a processor 502, a communication interface 503 and a communication bus 504, where a computer program operable on the processor 502 is stored in the memory 501, the memory 501 and the processor 502 communicate with the communication bus 504 through the communication interface 503, and the processor 502 implements the steps of the method when executing the computer program.
The memory and the processor in the electronic equipment are communicated with the communication interface through a communication bus. The communication bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
There is also provided, in accordance with yet another aspect of an embodiment of the present application, a computer-readable medium having non-volatile program code executable by a processor.
Optionally, in an embodiment of the present application, a computer readable medium is configured to store program code for the processor to perform the following steps:
acquiring accounting change data, wherein the accounting change data is generated by a first transaction behavior of a target account in a business system;
extracting an accounting strategy matched with the accounting change data, wherein the accounting strategy is configured according to the service demand information of the service system before the first transaction action is generated;
and accounting the target account according to the accounting strategy and the accounting change data.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
When the embodiments of the present application are specifically implemented, reference may be made to the above embodiments, and corresponding technical effects are achieved.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented by means of units performing the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or make a contribution to the prior art, or may be implemented in the form of a software product stored in a storage medium and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk. It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An accounting data processing method, comprising:
acquiring accounting change data, wherein the accounting change data is generated by a first transaction behavior of a target account in a business system;
extracting an accounting policy matched with the accounting change data, wherein the accounting policy is configured according to business requirement information of the business system before the first transaction action is generated;
and accounting the target account according to the accounting strategy and the accounting change data.
2. The method of claim 1, wherein prior to obtaining accounting change data, the method further comprises configuring the accounting policy based on the business need information of the business system as follows:
receiving the service demand information sent by the service system;
determining a target service indicated by the service demand information;
configuring a transaction type matched with the target service;
generating an account billing identification of the transaction type to obtain the billing strategy, wherein the account billing identification is used for triggering a billing operation;
and pairing the accounting strategy with the service identification of the service system, and storing the accounting strategy in a database.
3. The method of claim 2, wherein extracting the billing policy that matches the accounting change data comprises:
calling an accounting process under the condition of acquiring the account accounting identification carried in the accounting change data;
extracting the service identification carried by the accounting change data in the accounting process;
and extracting the accounting strategy under the condition that the accounting strategy matched with the service identification is inquired.
4. The method of claim 3, wherein billing the target account in accordance with the billing policy and the accounting change data comprises:
determining the transaction type of the first transaction activity;
determining an account label of the target account matched with the transaction type, and extracting transaction information carried by the accounting change data;
adding the transaction information to the account label if the transaction state of the first transaction action is a posting state;
and when the transaction state of the first transaction behavior is a charge-off state, reducing the transaction information from the book label.
5. The method of claim 4, wherein after the target account is billed according to the billing policy and the accounting change data, upon receiving an indication that a second transaction associated with the first transaction was unsuccessful, the method further comprises:
deleting the transaction information that has been added to the book tag in the event that the transaction status of the first transaction activity is a posting status;
augmenting the transaction information that has been decremented from the book tag if the transaction status of the first transaction activity is an out-of-bill status.
6. The method of any of claims 1 to 5, wherein after the target account is billed according to the billing policy and the accounting change data, the method further comprises:
under the condition of receiving an accounting query request, calling an accounting query process;
extracting an account identifier carried by the accounting query request in the accounting query process;
and returning the accounting information of the target account under the condition that the target account matched with the account identifier is found.
7. An accounting data processing apparatus, comprising:
the data acquisition module is used for acquiring accounting change data, wherein the accounting change data is generated by a first transaction behavior of a target account in a business system;
the strategy matching module is used for extracting an accounting strategy matched with the accounting change data, wherein the accounting strategy is configured according to business requirement information of the business system before the transaction behavior is generated;
and the accounting module is used for accounting the target account according to the accounting strategy and the accounting change data.
8. An accounting data processing system, comprising:
the operation background subsystem is used for configuring an accounting strategy according to the service demand information sent by the service system;
the gateway subsystem is used for receiving the accounting change data of the business system;
and the accounting subsystem is used for accounting the accounting change data according to the accounting strategy.
9. An electronic device comprising a memory, a processor, a communication interface and a communication bus, wherein the memory stores a computer program operable on the processor, and the memory and the processor communicate via the communication bus and the communication interface, wherein the processor implements the steps of the method according to any of the claims 1 to 7 when executing the computer program.
10. A computer-readable medium having non-volatile program code executable by a processor, wherein the program code causes the processor to perform the method of any of claims 1 to 7.
CN202011409276.7A 2020-12-04 2020-12-04 Accounting data processing system, method, device, equipment and computer readable medium Pending CN112561672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011409276.7A CN112561672A (en) 2020-12-04 2020-12-04 Accounting data processing system, method, device, equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011409276.7A CN112561672A (en) 2020-12-04 2020-12-04 Accounting data processing system, method, device, equipment and computer readable medium

Publications (1)

Publication Number Publication Date
CN112561672A true CN112561672A (en) 2021-03-26

Family

ID=75048534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011409276.7A Pending CN112561672A (en) 2020-12-04 2020-12-04 Accounting data processing system, method, device, equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN112561672A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113724082A (en) * 2021-08-30 2021-11-30 上海浦东发展银行股份有限公司 Accounting processing method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109146654A (en) * 2018-07-09 2019-01-04 阿里巴巴集团控股有限公司 A kind of bookkeeping methods, system and electronic equipment
CN110060139A (en) * 2019-02-25 2019-07-26 阿里巴巴集团控股有限公司 Accounting processing method and device
CN110910230A (en) * 2019-11-04 2020-03-24 泰康保险集团股份有限公司 Accounting method, accounting system and storage medium
WO2020088175A1 (en) * 2018-10-30 2020-05-07 ***股份有限公司 Transaction method and device for business account

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109146654A (en) * 2018-07-09 2019-01-04 阿里巴巴集团控股有限公司 A kind of bookkeeping methods, system and electronic equipment
WO2020088175A1 (en) * 2018-10-30 2020-05-07 ***股份有限公司 Transaction method and device for business account
CN110060139A (en) * 2019-02-25 2019-07-26 阿里巴巴集团控股有限公司 Accounting processing method and device
CN110910230A (en) * 2019-11-04 2020-03-24 泰康保险集团股份有限公司 Accounting method, accounting system and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113724082A (en) * 2021-08-30 2021-11-30 上海浦东发展银行股份有限公司 Accounting processing method, device, equipment and storage medium
CN113724082B (en) * 2021-08-30 2024-04-30 上海浦东发展银行股份有限公司 Accounting processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US11238437B2 (en) Prepaid chip card exception processing
US8442913B2 (en) Evolving payment device
US7644035B1 (en) Method and apparatus for reducing fraudulent credit transactions by requiring merchant return of multi-digit authorization codes
US8701991B2 (en) System and method for preventing fraud by generating new prepaid gift accounts
CN104798092B (en) Method and system for processing coupons in near field transactions
US20040068437A1 (en) Discount-instrument methods and systems
US20150127534A1 (en) Electronic refund redemption
WO2007134378A1 (en) A receipt storage system
KR20140120259A (en) System and method for providing reward for purchasing
CN110298644B (en) Account additional money method, account additional money device, server and readable storage medium
US20220005023A1 (en) Programmable Transactions
CN112561672A (en) Accounting data processing system, method, device, equipment and computer readable medium
WO2023201360A2 (en) Method, controller, and computer-readable medium for replacement of a cancelled repeating transfer data structure on a distributed transfer network
CN110874795A (en) Real estate commodity related financial system and management method thereof
CN113052673B (en) Account checking and clearing method and device, computer equipment and storage medium
CN115082234A (en) In-system reconciliation method and system based on cash in and out mark
CN113344680A (en) Order processing method, related device, equipment and storage medium
TWI843605B (en) Buy Now Pay Later Credit Card System
US20230267543A1 (en) Trackable product interest system and method
CN117331661A (en) Bank account clearing method, device, equipment, storage medium and program product
CN117273641A (en) Method, device, equipment and medium for processing business of the same industry
CN117114786A (en) Core enterprise management method, system, computer equipment and storage medium
CN115760418A (en) Non-good fund redeeming fund early-payment processing method and system
CN114066648A (en) Cross-service multi-service type data processing method and related equipment
CN113554427A (en) User registration method, device and equipment of multi-digital asset exchange platform

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant after: Jingdong Technology Holding Co.,Ltd.

Address before: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant before: Jingdong Digital Technology Holding Co., Ltd