CN112734543A - Accounting processing method and device, computer equipment and storage medium - Google Patents

Accounting processing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN112734543A
CN112734543A CN202011584744.4A CN202011584744A CN112734543A CN 112734543 A CN112734543 A CN 112734543A CN 202011584744 A CN202011584744 A CN 202011584744A CN 112734543 A CN112734543 A CN 112734543A
Authority
CN
China
Prior art keywords
accounting
transaction
information
subject
product
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
CN202011584744.4A
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.)
Zhongdian Jinxin Software Co Ltd
Original Assignee
Zhongdian Jinxin Software 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 Zhongdian Jinxin Software Co Ltd filed Critical Zhongdian Jinxin Software Co Ltd
Priority to CN202011584744.4A priority Critical patent/CN112734543A/en
Publication of CN112734543A publication Critical patent/CN112734543A/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/02Banking, e.g. interest calculation or account maintenance
    • 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/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • 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/128Check-book balancing, updating or printing arrangements

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 provides an accounting processing method, an accounting processing device, computer equipment and a storage medium. The method comprises the following steps: the method comprises the steps of obtaining transaction product information, scene identification and transaction amount information of a transaction to be accounted of a business system server, obtaining subject information corresponding to the transaction product information and an accounting rule corresponding to the scene identification, obtaining a target subject corresponding to an accounting type according to the accounting type contained in the rule, carrying out accounting processing on the transaction to be accounted based on the accounting rule, the target subject and the transaction amount information, and generating a corresponding accounting voucher. By adopting the method, the separation of transaction and accounting can be realized, and the efficiency of accounting processing is improved.

Description

Accounting processing method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of application systems, and in particular, to an accounting processing method, apparatus, computer device, and storage medium.
Background
With the higher informatization degree of banking business, a bank can perform business transaction and accounting through a configured core system, and complete accounting related processing according to an accounting flow, so that a user can obtain a business handling result, and the informatization processing of a business process and an accounting process is realized.
In the prior art, the accounting process involves many service process scenarios, and each service scenario needs to be associated with a corresponding service process in a complex manner. The business process and the accounting process are both arranged in the core system, and the configuration is complex, so that the system accounting processing efficiency is low.
Disclosure of Invention
In view of the above, it is necessary to provide an accounting processing method, an accounting processing apparatus, a computer device, and a storage medium for solving the technical problem of low accounting processing efficiency in the prior art.
An accounting processing method, applied to an accounting processing apparatus, the method comprising:
acquiring subject information corresponding to the transaction product information based on the first corresponding relation; the first corresponding relation is the corresponding relation between the transaction product information and the subject information;
acquiring an accounting rule corresponding to the scene identifier based on the second corresponding relation; the accounting rules are used for determining subject information and accounting types applicable to the corresponding transaction accounting scenes; the second corresponding relation is the corresponding relation between the scene identification and the accounting rule;
inquiring the corresponding relation between a pre-configured accounting type and subject information according to the accounting type contained in the accounting rule, and acquiring a target subject corresponding to the accounting type; the target subject is used for processing the transaction to be accounted;
and performing accounting processing on the transaction to be accounted based on the accounting rule, the target subject and the transaction amount information, and generating a corresponding accounting voucher.
In one embodiment, before the obtaining of the accounting rule corresponding to the scene identifier based on the second corresponding relationship, the method further includes:
acquiring at least one transaction accounting scene of the service system server; each transaction accounting scene in the at least one transaction accounting scene corresponds to a scene identifier respectively;
acquiring accounting content corresponding to each transaction accounting scene in the at least one transaction accounting scene;
and generating a second corresponding relation which comprises scene identification and accounting rules in one-to-one correspondence based on the accounting content corresponding to each transaction accounting scene.
In one embodiment, the transaction product information includes a product code and a product attribute; the acquiring of the subject information corresponding to the transaction product information based on the first corresponding relationship includes:
acquiring a preset subject list code corresponding to the product code and the product attribute according to the product code and the product attribute; the subject list code is used for associating subject information applicable to the corresponding transaction product;
and inquiring the subject information associated with the subject list code to obtain the subject information corresponding to the transaction product information.
In one embodiment, the transaction product information includes a subject list code, and the subject list code is used for associating subject information applicable to a corresponding transaction product; the acquiring of the subject information corresponding to the transaction product information based on the first corresponding relationship includes:
and inquiring the subject information associated with the subject list code to obtain the subject information corresponding to the transaction product information.
In one embodiment, before the inquiring of the subject information associated with the subject list code and obtaining the subject information corresponding to the transaction product information, the method further includes:
acquiring at least one transaction product of the service system server; each trading product in the at least one trading product corresponds to trading product information respectively, and the trading product information comprises a product code and a product attribute;
configuring subject information corresponding to each transaction product based on the product code and the product attribute corresponding to each transaction product;
and generating a subject list code respectively corresponding to the at least one transaction product based on the subject information corresponding to each transaction product.
In one embodiment, the method further comprises:
and configuring the corresponding relation between the subject information and the accounting type for the subject information corresponding to the transaction product aiming at each transaction product in the at least one transaction product.
In one embodiment, the accounting rule further includes an amount formula, where the amount formula is used to determine an accounting manner of the transaction amount information corresponding to the transaction product information, and the accounting processing of the transaction to be accounted and the generation of the corresponding accounting voucher based on the accounting rule, the target subject and the transaction amount information includes:
determining a accounting internal account corresponding to the transaction to be accounted according to the target subject and an accounting mechanism contained in the accounting rule;
and aiming at the internal accounting account, generating an accounting voucher corresponding to the internal accounting account according to the accounting rule, the target subject and the accounting amount.
An accounting processing apparatus, the apparatus comprising:
the business information acquisition module is used for acquiring the transaction product information, the scene identification and the transaction amount information of the transaction to be checked and calculated, which are sent by the business system server;
the subject information acquisition module is used for acquiring subject information corresponding to the information of the transaction product based on the first corresponding relation; the first corresponding relation is the corresponding relation between the transaction product information and the subject information;
the accounting rule obtaining module is used for obtaining an accounting rule corresponding to the scene identifier based on the second corresponding relation; the accounting rules are used for determining subject information and accounting types applicable to the corresponding transaction accounting scenes; the second corresponding relation is the corresponding relation between the scene identification and the accounting rule;
the target subject obtaining module is used for inquiring the corresponding relation between the pre-configured accounting type and the subject information according to the accounting type contained in the accounting rule, and obtaining the target subject corresponding to the accounting type; the target subject is used for processing the transaction to be accounted;
and the accounting voucher generating module is used for carrying out accounting processing on the transaction to be accounted based on the accounting rule, the target subject and the transaction amount information and generating a corresponding accounting voucher.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the accounting processing method in any of the above embodiments when executing the computer program.
A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the accounting processing method of any one of the above embodiments.
According to the accounting processing method, the accounting processing device, the computer equipment and the storage medium, the account information corresponding to the transaction product information and the accounting rule corresponding to the scene identification are obtained by obtaining the transaction product information, the scene identification and the transaction amount information of the transaction to be accounted of the service system server, the target account corresponding to the accounting type is obtained according to the accounting type contained in the rule, and then the accounting processing is carried out on the transaction to be accounted and the corresponding accounting voucher is generated based on the accounting rule, the target account and the transaction amount information. In the application, the transaction information required by the accounting is acquired from the business system server, the independent accounting is performed in the accounting processing device, the separation of the transaction and the accounting is realized, and the information required by the accounting can be acquired according to the corresponding relation between the scene identifier and the accounting rule and the corresponding relation between the transaction product information and the subject information, so that the accounting processing system does not need to acquire redundant transaction information and configure the accounting rule for each transaction information, and the efficiency of the accounting processing is further improved.
Drawings
FIG. 1 is a diagram of an application environment of a method of accounting processing in one embodiment;
FIG. 2 is a schematic flow chart diagram illustrating a method of accounting processing in one embodiment;
FIG. 3 is a schematic flow chart diagram illustrating a method of accounting processing in another embodiment;
FIG. 4 is a schematic flow chart diagram illustrating a method of accounting processing in another embodiment;
FIG. 5 is a block diagram showing the structure of an accounting processing means in one embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The accounting processing method provided by the application can be applied to the application environment shown in fig. 1. The business system server is communicated with the accounting processing device through a network. And the business system server sends the acquired information of the transaction to be accounted to the accounting processing device, and the accounting processing device determines a corresponding accounting rule and a target subject according to the information of the transaction to be accounted, accounts the transaction to be accounted and generates a bookkeeping voucher. The business system server and the accounting processing device can be implemented by an independent server or a server cluster consisting of a plurality of servers.
In one embodiment, as shown in fig. 2, an accounting processing method is provided, which is described by taking the method as an example applied to the accounting processing apparatus in fig. 1, and includes the following steps:
step S201, transaction product information, scene identification and transaction amount information of the transaction to be accounted, which are sent by the service system server, are obtained.
The business system server can process the front-end transaction part of the financial transaction and send the related information of the transaction to be accounted to the accounting processing device for accounting. The accounting processing means may be arranged to account the transaction to be accounted for in accordance with accounting criteria and financial institution related specifications. The transaction to be accounted can be a transaction which is processed by the service system server and then sent to the accounting processing device for accounting. The accounting processing device may pre-configure information required for accounting, or may acquire all transaction information from the service system server, and extract specific information required for accounting from the transaction information according to pre-configured data requirements. The information required for accounting may include transaction product information, scene identification, transaction amount information, currency, transaction serial number, etc. The transaction product information may be information that can be used to determine an association of the transaction product with the accounting system, such as a product code, product attributes, product number, and the like. The scene identifier may be information corresponding to a transaction accounting scene and capable of determining an accounting rule corresponding to a transaction to be accounted, and the accounting rules corresponding to the same product in different transaction accounting scenes may be different, for example, cash deposit transactions, and XJCR may be used as the scene identifier. The accounting processing device can be used for pre-configuring corresponding scene identifiers for different transaction accounting scenes. The transaction amount information may represent at least one transaction amount involved in the transaction to be accounted, such as principal, interest, etc., or may include accounting of at least one transaction amount, such as an addition or multiplication between transaction amounts.
In a specific implementation, the accounting processing device may obtain, from the service system server, related information of the transaction to be accounted, including information of the transaction product, the scene identifier, and the transaction amount information, in a targeted manner according to a pre-configured requirement of the accounting data.
Step S202, acquiring subject information corresponding to the information of the transaction product based on the first corresponding relation.
The first corresponding relationship may be a corresponding relationship between the transaction product information and the subject information. The subject information may be a category for performing classification and accounting on specific contents of the accounting element object, the accounting processing device may set a subject corresponding to the transaction product according to the accounting rule, and the subject may be a basis for compiling a bookkeeping voucher and may include, for example, a cash subject, a debt principal subject, an interest expenditure subject, an interest payable subject, and the like. The subject information can also comprise a subject number corresponding to the subject, and the accounting processing device can acquire the subject corresponding to the transaction product through the subject number and is used for compiling the accounting voucher.
The accounting processing device can configure the corresponding relation between the transaction product information and the subject information, all the subject information corresponding to the transaction product information can be inquired and obtained through the transaction product information from Huqiu, and the corresponding relation can be presented in a subject configuration table and the like.
Step S203, obtaining an accounting rule corresponding to the scene identifier based on the second corresponding relationship.
The accounting rules can be the accounting contents corresponding to the exchange to be accounted, such as loan signs, accounting modes, whether to account, the affiliated institution and the corresponding accounting types, and the configuration of the accounting rules can be determined according to the accounting criteria and the accounting method of the institution. The second correspondence may be a correspondence of the scene identification and the accounting rule. The accounting processing device can configure a plurality of transaction accounting scenes according to transaction requirements, configure scene identifiers for each transaction accounting scene, further configure corresponding relations between the scene identifiers and the accounting rules, obtain the accounting rules corresponding to the transaction accounting scenes through inquiring the scene identifiers, and present the corresponding relations through an accounting rule configuration table and the like. The transaction accounting scenario may correspond to a plurality of accounting rules, so that each transaction condition in the transaction accounting scenario is processed by a corresponding rule.
Step S204, inquiring the corresponding relation between the pre-configured accounting type and the subject information according to the accounting type contained in the accounting rule, and acquiring the target subject corresponding to the accounting type.
The target subject may be a subject required for processing the transaction to be accounted, and the target subject may be used for generating the accounting voucher. The accounting categories may be categories related to product attributes, such as interest due and interest expenditure of the deposit product, i.e. different accounting categories may be associated with each other. Different subject information can be correspondingly configured for each accounting type, and the corresponding subject information can be inquired according to the accounting type. When the accounting rules are configured, the accounting processing device may also configure a corresponding accounting type for each accounting rule. That is to say, when the accounting processing device configures the corresponding relationship between the transaction product information and the subject information and the corresponding relationship between the configuration scene identifier and the accounting rule, the accounting type may be configured in the two corresponding relationships, respectively, and the corresponding relationship between the accounting type and the subject information and the corresponding relationship between the accounting type and the accounting rule may be established. When the accounting type corresponding to the accounting rule is obtained, the accounting processing device may determine the target subject to be used for the transaction to be accounted from all subject information corresponding to the transaction product.
In the specific implementation, the accounting processing device can process the transaction accounting scene and the transaction product information separately, on one hand, an accounting rule is determined according to the scene identifier, on the other hand, all subject information corresponding to the transaction product is determined according to the product transaction information, further, the accounting type contained in the accounting rule is used as an intermediate variable to establish the association between the transaction accounting scene and the transaction product, and the target subject required by processing the transaction to be accounted is determined according to the accounting type, so that the transaction information required by accounting has pertinence, and the efficiency of transaction accounting is improved.
And S205, performing accounting processing on the transaction to be accounted based on the accounting rule, the target subject and the transaction amount information, and generating a corresponding accounting voucher.
The bookkeeping voucher can be a record for determining the name, the bookkeeping direction and the amount of money of an account according to the requirements of accounting rules, and is the basis for registering a detail ledger and a general ledger, and the bookkeeping voucher has certain filling procedures and auditing requirements. The accounting processing device can process the target subject and the transaction amount information according to the accounting content determined by the accounting rule, and generate the accounting voucher according to the generation program of the accounting voucher.
In the accounting processing method, the account information corresponding to the transaction product information and the accounting rule corresponding to the scene identification are obtained by obtaining the transaction product information, the scene identification and the transaction amount information of the transaction to be accounted of the service system server, the target account corresponding to the accounting type is obtained according to the accounting type contained in the rule, and then the accounting processing is carried out on the transaction to be accounted based on the accounting rule, the target account and the transaction amount information, and the corresponding accounting voucher is generated. In the application, the transaction information required by the accounting is acquired from the business system server, the independent accounting is performed in the accounting processing device, the separation of the transaction and the accounting is realized, and the information required by the accounting can be acquired according to the corresponding relation between the scene identifier and the accounting rule and the corresponding relation between the transaction product information and the subject information, so that the accounting processing system does not need to acquire redundant transaction information and configure the accounting rule for each transaction information, and the efficiency of the accounting processing is further improved.
In an embodiment, before the step of obtaining the accounting rule corresponding to the scene identifier based on the second corresponding relationship determined in step S203, the method further includes:
acquiring at least one transaction accounting scene of a service system server; acquiring accounting content corresponding to each transaction accounting scene in at least one transaction accounting scene; and generating a second corresponding relation which comprises scene identification and accounting rules in one-to-one correspondence based on the accounting content corresponding to each transaction accounting scene.
In this embodiment, each transaction accounting scenario in the at least one transaction accounting scenario may correspond to one scenario identifier. In the transaction process, a plurality of transaction accounting scenarios may be involved, and the accounting processing device may configure a corresponding relationship between each scenario identifier and an accounting rule, and configure a corresponding accounting rule for each transaction accounting scenario. The accounting rules may include accounting contents corresponding to the transaction accounting scenarios, and the accounting rules may be used to determine subject information and accounting modes applicable to the corresponding transaction accounting scenarios.
In some embodiments, the accounting rules may include corresponding scenario identification, debit indicia, amount formulas, whether to bill, accounting categories, and accounting mechanisms.
In some embodiments, the subject information may be different for different transaction products. The accounting processing device can inquire the subject information applicable to the transaction accounting scene from all the subject information through the accounting types contained in the accounting rules.
According to the scheme of the embodiment, the accounting processing device can configure the corresponding accounting rule for each transaction accounting scene, and the accounting rules are associated through the scene identifiers, so that the accounting rules can be determined through the scene identifiers of the transactions to be accounted, redundant transaction information does not need to be acquired, and the efficiency of determining the accounting rules is improved.
In one embodiment, the transaction product information may include a product code and a product attribute, and the step of acquiring the subject information corresponding to the transaction product information based on the first corresponding relationship in step S202 includes:
acquiring a preset subject list code corresponding to the product code and the product attribute according to the product code and the product attribute; and inquiring the subject information associated with the subject list code to obtain the subject information corresponding to the information of the transaction product.
In this embodiment, the first corresponding relationship may be a corresponding relationship between a product code, a product attribute, and subject information in the transaction product information. The list of subjects may be all subject information applicable to the transaction product and the subject list code may be a code identifying the list of subjects of the transaction product. The transaction product may include a product code for uniquely identifying a transaction product, and the same transaction product may include a plurality of different product attributes. The accounting processing device can configure corresponding subject list codes for each transaction product, and establish the corresponding relation between the subject list codes and the product attributes. The subject information may be a pre-configured subject number, and the corresponding subject may be called through the subject number, or may be a specific name of the subject.
In some embodiments, the accounting processing device may configure a unique product code for each transaction product, configure corresponding subject information according to a product attribute of each transaction product, generate a subject list code corresponding to each transaction product, and establish a corresponding relationship between the product code, the product attribute, and the subject information.
In some embodiments, the same transaction product may include multiple product attributes. The business system server may send the product attributes to the accounting processing device as agreed with the accounting processing device. The accounting processing device may also configure the subject list according to a group of subject information corresponding to each product attribute of each transaction product, and set the corresponding subject list code, thereby establishing a corresponding relationship among the product code, the product attribute, and the subject information, that is, different attributes of the same transaction product may correspond to different subject list codes.
In some embodiments, the correspondence between the subject listing code and the product code, as well as the product attribute, may be presented in the form of a configuration table.
In some embodiments, the accounting processing device may configure a corresponding accounting category for the subject information corresponding to each transaction product, and establish a corresponding relationship between the accounting category and the subject information. The accounting category can be presented by means of codes and is presented in the account list configuration table and the accounting list configuration table at the same time.
Taking a deposit transaction product in a live period as an example, the product code is PD0002, the product attributes may include a deposit period of one month and three months, and the corresponding subject list codes are HQCK0002 and HQCK0003, respectively. The subject information in the subject list corresponding to the HQCK0002 may include: the account types of the subjects are 11001, 21001, 6a001 and 26001, and the subject list code can be defined as HQCK 0001. In addition, table internal and external flags may also be configured in the subject list. Similarly, the accounting processing device may also configure a corresponding item list and an accounting type corresponding to each item for the HQCK 0003. Therefore, after the accounting processing device acquires the product code PD0002 and the product attribute with the deposit term of 1 month, the corresponding subject list code HQCK0002 can be determined, and all corresponding subject information can be inquired according to the subject list code.
In some embodiments, the product code of the transaction product in the business system server and the accounting processing device may have different coding modes, for example, the product code in the business system server may be an external product code, the product code in the accounting processing device may be an internal product code, and the accounting processing device may establish a docking relationship between the external product code and the internal product code. The internal product code may be used to determine a corresponding item list code.
According to the scheme of the embodiment, the subject list code is determined through the product code and the product attribute, and further the subject information corresponding to the transaction product information is determined, so that the accounting processing device can determine the pre-configured subject information according to the required field, and the efficiency of acquiring the subject information required by accounting is improved.
In one embodiment, the transaction product information may include a subject list code, the subject list code may be used to associate subject information applicable to the corresponding transaction product, and the step of acquiring the subject information corresponding to the transaction product information based on the first corresponding relationship in step S202 includes:
and inquiring the subject information associated with the subject list code to obtain the subject information corresponding to the information of the transaction product.
In this embodiment, the first corresponding relationship may be a corresponding relationship between the subject list code and the subject information. The accounting processing device can configure the subject information corresponding to each transaction product, obtain the subject list code corresponding to the transaction product and send the subject list code to the service system server. When the business system server generates the information of the transaction product, the business system server may carry the subject list code corresponding to the transaction product. The accounting processing device can receive the subject list code and inquire the corresponding subject information according to the corresponding relation between the transaction product information and the subject information.
According to the scheme of the embodiment, the accounting processing device can obtain the corresponding subject information through the subject list code sent by the service system server, and the efficiency of obtaining the subject information is improved.
In one embodiment, the accounting rule may further include an amount formula, and the amount formula may be used to determine an accounting manner of the transaction amount information corresponding to the transaction product information, and the method further includes:
and importing the transaction amount into an amount formula to obtain the accounting amount.
In this embodiment, when the transaction product information includes a plurality of transaction amounts, the accounting processing device may determine an accounting manner between the transaction amounts according to an accounting rule. The accounting mode can comprise operations related to addition, subtraction, multiplication, division and the like, and the obtained accounting amount can be used for generating the accounting voucher. For example, the transaction amount information may include a plurality of transaction amount fields, fields numbered 01-10, and if the amount formula in the accounting rule is 01, only the amount of the field numbered 01 is taken and the accounting processing is performed, and if the amount formula is 01+02, the amounts of the fields numbered 01 and 02 are added.
According to the scheme of the embodiment, the accounting amount of the transaction to be accounted is determined through the amount formula in the accounting rule, an accounting mode does not need to be set according to each transaction, and the efficiency of accounting processing is improved.
In one embodiment, the step of performing accounting processing on the transaction to be accounted and generating a corresponding accounting voucher based on the accounting rule, the target subject and the transaction amount information, which is determined in step S205, includes:
determining a accounting internal account corresponding to the transaction to be accounted according to the target subject and an accounting mechanism contained in the accounting rule; and aiming at the internal account of the bookkeeping, generating a bookkeeping voucher corresponding to the internal account of the bookkeeping according to the accounting rule, the target subject processing and the bookkeeping amount.
In this embodiment, the accounting mechanism may be an account opening attribution mechanism of the user who is to be accounted for the transaction. Different fund types of the institution can have different internal accounts for accounting, such as interest expenditure internal users, interest payable internal users and liability principal internal users, which respectively store the balance of interest expenditure, the balance of interest payable and the balance of liability principal; the internal account of the accounting mechanism corresponding to the accounting mechanism is found for accounting, and a corresponding accounting voucher is generated according to the accounting rule, the target subject and the accounting amount, so that the accuracy of accounting is improved.
In one embodiment, as shown in fig. 3, there is provided an accounting processing method including:
step S301, acquiring at least one transaction accounting scene of a service system server; each transaction accounting scene of the at least one transaction accounting scene corresponds to a scene identifier respectively; acquiring accounting content corresponding to each transaction accounting scene in at least one transaction accounting scene, and generating a corresponding relation comprising a scene identifier and an accounting rule based on the accounting content corresponding to each transaction accounting scene; the accounting rules are used for determining subject information and accounting types applicable to the corresponding transaction accounting scenes;
step S302, at least one transaction product of a service system server is obtained; at least one trading product is provided with a corresponding product code and a corresponding product attribute, and corresponding subject information of each trading product is configured according to the product code and the product attribute corresponding to each trading product; generating an item list code corresponding to each transaction product based on the item information corresponding to each transaction product; generating a corresponding relation comprising the transaction product information and the subject information based on the product code, the product attribute and the subject list code;
step S303, aiming at each transaction product in at least one transaction product, configuring the corresponding relation between the subject information and the accounting type for the subject information corresponding to the transaction product;
step S304, transaction product information, scene identification and transaction amount information of the transaction to be accounted, which are sent by the service system server, are obtained;
step S305, acquiring subject information corresponding to the transaction product information according to the transaction product information and the corresponding relation between the transaction product information and the subject information; acquiring an accounting rule corresponding to the scene identifier according to the scene identifier and the corresponding relation between the scene identifier and the accounting rule;
step S306, acquiring a target subject corresponding to the accounting type of the transaction to be accounted according to the accounting type contained in the accounting rule and the corresponding relation between the accounting type and the subject information, wherein the target subject is used for processing the transaction to be accounted;
step S307, importing the transaction amount into an amount formula contained in the accounting rule to obtain the accounting amount; determining a accounting internal account corresponding to the transaction to be accounted according to the target subject and an accounting mechanism contained in the accounting rule; and aiming at the internal account of the bookkeeping, generating a bookkeeping voucher corresponding to the internal account of the bookkeeping according to the accounting rule, the target subject processing and the bookkeeping amount.
In the above embodiment, the accounting processing device pre-configures a corresponding relationship between the transaction accounting scene and the accounting rule, a corresponding relationship between the transaction product and the subject list code, and a corresponding relationship between the accounting type and the subject information. And matching to obtain corresponding accounting rules and target subjects according to the transaction product information, the scene identification and the transaction amount information of the transaction to be accounted, which are sent by the service system server, through the corresponding relationship, and then performing accounting on an accounting internal account of the accounting mechanism to generate an accounting voucher. The accounting processing device obtains the transaction information required by accounting from the service system server, performs independent accounting in the accounting system, and realizes separation of transaction and accounting, and the information required by accounting can be obtained according to the corresponding relation between the scene identifier and the accounting rule and the corresponding relation between the transaction product information and the subject information, so that the accounting processing system does not need to obtain redundant transaction information and configure the accounting rule for each transaction information, and the efficiency of accounting processing is further improved.
It should be understood that although the various steps in the flow charts of fig. 2-3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-3 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In order to more clearly illustrate the solution provided by the present application, the following explains the method of accounting processing in the above embodiment of the present application, applied to the flow shown in fig. 4:
the accounting processing device obtains information sent by the service system server, and the information may include a product, an attribute, a scene code, a money amount field, and the like, and may also include a subject list code, a scene code, and a money amount field.
The accounting processing device inquires the pre-configured products and the subject list codes corresponding to the attributes according to the products and the attribute information in the accounting processing device, and inquires all the subject information of the products according to the subject list codes; or directly inquiring all the subject information of the product according to the subject list code sent by the service system server.
The accounting processing device can search a pre-configured and corresponding accounting rule according to the scene identifier, the accounting rule can comprise a loan symbol, an accounting mechanism, an accounting category code and the like, and the accounting amount is determined according to an amount formula in the accounting rule.
Further, the accounting processing device may determine the target subject of the current accounting from all the subject information of the product according to the accounting type code in the accounting rule.
The accounting processing means may determine whether to perform accounting according to a preset judgment rule. If the accounting is not needed, for example, manual accounting is performed, the accounting voucher is directly registered; if the price and tax are required to be separately booked, respectively acquiring a tax internal account and a principal internal account, and respectively registering corresponding bookkeeping vouchers in corresponding accounts; and if the account is required to be credited, acquiring a corresponding internal account and registering the accounting voucher.
The accounting processing means may further verify that the transaction is balanced after the accounting voucher registration is completed. If the loans are equal, the accounting is over. If the loan is not even, the accounting of the transaction is judged to be synchronous accounting or asynchronous accounting, if the transaction is synchronous accounting, the accounting processing device can control the program to stop executing downwards, and return information of uneven loan to the business system requiring synchronization, and if the transaction is asynchronous accounting, the accounting processing device can hang up the account of the transaction.
In one embodiment, as shown in fig. 5, there is provided an accounting processing apparatus 500, the apparatus comprising:
a service information obtaining module 501, configured to obtain transaction product information, a scene identifier, and transaction amount information of a transaction to be checked and calculated, which are sent by a service system server;
a subject information obtaining module 502, configured to obtain subject information corresponding to the information of the transaction product based on the first corresponding relationship; the first corresponding relation is the corresponding relation between the transaction product information and the subject information;
an accounting rule obtaining module 503, configured to obtain an accounting rule corresponding to the scene identifier based on the second correspondence; the accounting rules are used for determining subject information and accounting types applicable to the corresponding transaction accounting scenes; the second corresponding relation is the corresponding relation between the scene identifier and the accounting rule;
a target subject obtaining module 504, configured to query, according to the accounting types included in the accounting rule, a correspondence between the pre-configured accounting types and the subject information, and obtain a target subject corresponding to the accounting types; the target subject is used for processing the transaction to be accounted;
the accounting voucher generating module 505 is configured to perform accounting processing on the transaction to be accounted based on the accounting rule, the target subject and the transaction amount information, and generate a corresponding accounting voucher;
in one embodiment, the accounting rule obtaining module 503 further includes: a scene-accounting rule unit for acquiring at least one transaction accounting scene of the service system server; each transaction accounting scene in the at least one transaction accounting scene corresponds to a scene identifier respectively; acquiring accounting content corresponding to each transaction accounting scene in at least one transaction accounting scene; and generating a second corresponding relation which comprises scene identification and accounting rules in one-to-one correspondence based on the accounting content corresponding to each transaction accounting scene.
In one embodiment, the transaction product information includes a product code and a product attribute, and the subject information obtaining module 502 includes: the product-subject information unit is used for acquiring a pre-configured subject list code corresponding to the product code and the product attribute according to the product code and the product attribute; the subject list code is used for associating subject information applicable to the corresponding transaction product; and inquiring the subject information associated with the subject list code to obtain the subject information corresponding to the information of the transaction product.
In one embodiment, the transaction product information includes a subject list code, the subject list code is used to associate subject information applicable to a corresponding transaction product, and the subject information obtaining module 502 includes: and the subject list-subject information unit is used for inquiring the subject information associated with the subject list code to obtain the subject information corresponding to the information of the transaction product.
In one embodiment, the subject information obtaining module 502 further includes: a product-subject list unit for obtaining at least one transaction product of the business system server; each trading product in the at least one trading product corresponds to trading product information respectively, and the trading product information comprises a product code and product attributes; configuring subject information corresponding to each transaction product based on the product code and the product attribute corresponding to each transaction product; and generating a subject list code respectively corresponding to at least one transaction product based on the subject information corresponding to each transaction product.
In one embodiment, the apparatus 500 further comprises: and the accounting type-subject information unit is used for configuring the corresponding relation between the subject information and the accounting type for the subject information corresponding to the transaction product aiming at each transaction product in at least one transaction product.
In one embodiment, the accounting rules further include an amount formula, and the accounting-credential-generation module 505 further includes: and the accounting amount unit is used for importing the transaction amount into an amount formula to obtain the accounting amount.
In one embodiment, the billing voucher generation module 505, further comprises: the accounting internal account unit is used for determining an accounting internal account corresponding to the transaction to be accounted according to the target subject and an accounting mechanism contained in the accounting rule; and aiming at the internal account of the bookkeeping, generating a bookkeeping voucher corresponding to the internal account of the bookkeeping according to the accounting rule, the target subject and the bookkeeping amount.
For specific limitations of the accounting processing device, reference may be made to the above limitations of the accounting processing method, which is not described herein again. The modules in the accounting processing device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
The accounting processing method provided by the present application may be applied to a computer device, where the computer device may be an accounting service server, and an internal structure diagram of the computer device may be as shown in fig. 6. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing the corresponding relation of each data configured in advance. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an accounting processing method.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the above-described method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An accounting processing method applied to an accounting processing apparatus, the method comprising:
acquiring transaction product information, scene identification and transaction amount information of a transaction to be accounted, which are sent by a service system server;
acquiring subject information corresponding to the transaction product information based on the first corresponding relation; the first corresponding relation is the corresponding relation between the transaction product information and the subject information;
acquiring an accounting rule corresponding to the scene identifier based on the second corresponding relation; the accounting rules are used for determining subject information and accounting types applicable to the corresponding transaction accounting scenes; the second corresponding relation is the corresponding relation between the scene identification and the accounting rule;
inquiring the corresponding relation between a pre-configured accounting type and subject information according to the accounting type contained in the accounting rule, and acquiring a target subject corresponding to the accounting type; the target subject is used for processing the transaction to be accounted;
and performing accounting processing on the transaction to be accounted based on the accounting rule, the target subject and the transaction amount information, and generating a corresponding accounting voucher.
2. The method according to claim 1, wherein before the obtaining of the accounting rule corresponding to the scene identifier based on the second corresponding relationship, the method further comprises:
acquiring at least one transaction accounting scene of the service system server; each transaction accounting scene in the at least one transaction accounting scene corresponds to a scene identifier respectively;
acquiring accounting content corresponding to each transaction accounting scene in the at least one transaction accounting scene;
and generating a second corresponding relation which comprises scene identification and accounting rules in one-to-one correspondence based on the accounting content corresponding to each transaction accounting scene.
3. The method of claim 1, wherein the transaction product information includes a product code and a product attribute; the acquiring of the subject information corresponding to the transaction product information based on the first corresponding relationship includes:
acquiring a preset subject list code corresponding to the product code and the product attribute according to the product code and the product attribute; the subject list code is used for associating subject information applicable to the corresponding transaction product;
and inquiring the subject information associated with the subject list code to obtain the subject information corresponding to the transaction product information.
4. The method of claim 1, wherein the transaction product information includes a subject listing code for associating subject information applicable to the corresponding transaction product; the acquiring of the subject information corresponding to the transaction product information based on the first corresponding relationship includes:
and inquiring the subject information associated with the subject list code to obtain the subject information corresponding to the transaction product information.
5. The method of any one of claims 3 or 4, wherein before querying the subject information associated with the subject listing code for subject information corresponding to the transaction product information, the method further comprises:
acquiring at least one transaction product of the service system server; each trading product in the at least one trading product corresponds to trading product information respectively, and the trading product information comprises a product code and a product attribute;
configuring subject information corresponding to each transaction product based on the product code and the product attribute corresponding to each transaction product;
and generating a subject list code respectively corresponding to the at least one transaction product based on the subject information corresponding to each transaction product.
6. The method of claim 5, further comprising:
and configuring the corresponding relation between the subject information and the accounting type for the subject information corresponding to the transaction product aiming at each transaction product in the at least one transaction product.
7. The method of claim 1, wherein the accounting rule further includes an amount formula, the amount formula is used for determining an accounting mode of transaction amount information corresponding to the transaction product information, and the accounting processing of the transaction to be accounted and the generation of the corresponding accounting voucher are performed based on the accounting rule, the target subject and the transaction amount information, and the method includes:
determining a accounting internal account corresponding to the transaction to be accounted according to the target subject and an accounting mechanism contained in the accounting rule;
and aiming at the internal accounting account, generating an accounting voucher corresponding to the internal accounting account according to the accounting rule, the target subject and the accounting amount.
8. An accounting processing apparatus, characterized in that the apparatus comprises:
the business information acquisition module is used for acquiring the transaction product information, the scene identification and the transaction amount information of the transaction to be checked and calculated, which are sent by the business system server;
the subject information acquisition module is used for acquiring subject information corresponding to the information of the transaction product based on the first corresponding relation; the first corresponding relation is the corresponding relation between the transaction product information and the subject information;
the accounting rule obtaining module is used for obtaining an accounting rule corresponding to the scene identifier based on the second corresponding relation; the accounting rules are used for determining subject information and accounting types applicable to the corresponding transaction accounting scenes; the second corresponding relation is the corresponding relation between the scene identification and the accounting rule;
the target subject obtaining module is used for inquiring the corresponding relation between the pre-configured accounting type and the subject information according to the accounting type contained in the accounting rule, and obtaining the target subject corresponding to the accounting type; the target subject is used for processing the transaction to be accounted;
and the accounting voucher generating module is used for carrying out accounting processing on the transaction to be accounted based on the accounting rule, the target subject and the transaction amount information and generating a corresponding accounting voucher.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202011584744.4A 2020-12-28 2020-12-28 Accounting processing method and device, computer equipment and storage medium Pending CN112734543A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011584744.4A CN112734543A (en) 2020-12-28 2020-12-28 Accounting processing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011584744.4A CN112734543A (en) 2020-12-28 2020-12-28 Accounting processing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112734543A true CN112734543A (en) 2021-04-30

Family

ID=75606795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011584744.4A Pending CN112734543A (en) 2020-12-28 2020-12-28 Accounting processing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112734543A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113628021A (en) * 2021-07-30 2021-11-09 北京乾元大通技术有限公司 Efficient accounting system
CN113743947A (en) * 2021-09-17 2021-12-03 中国银行股份有限公司 Processing method and device for accounting code, storage medium and equipment
CN114140231A (en) * 2021-12-08 2022-03-04 中国建设银行股份有限公司 Data processing method and related device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107392744A (en) * 2017-07-11 2017-11-24 北京欣欣苹果网络科技有限公司 Bookkeeping methods and device based on business scenario
CN111062813A (en) * 2019-12-13 2020-04-24 中国建设银行股份有限公司 Transaction data accounting method, device, equipment and storage medium
CN111699486A (en) * 2019-06-04 2020-09-22 深圳海付移通科技有限公司 Accounting method, accounting system, account system and payment system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107392744A (en) * 2017-07-11 2017-11-24 北京欣欣苹果网络科技有限公司 Bookkeeping methods and device based on business scenario
CN111699486A (en) * 2019-06-04 2020-09-22 深圳海付移通科技有限公司 Accounting method, accounting system, account system and payment system
CN111062813A (en) * 2019-12-13 2020-04-24 中国建设银行股份有限公司 Transaction data accounting method, device, equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113628021A (en) * 2021-07-30 2021-11-09 北京乾元大通技术有限公司 Efficient accounting system
CN113743947A (en) * 2021-09-17 2021-12-03 中国银行股份有限公司 Processing method and device for accounting code, storage medium and equipment
CN114140231A (en) * 2021-12-08 2022-03-04 中国建设银行股份有限公司 Data processing method and related device

Similar Documents

Publication Publication Date Title
US10489779B2 (en) Multi-network token bin routing with defined verification parameters
CN112734543A (en) Accounting processing method and device, computer equipment and storage medium
CN109285069B (en) Resource transfer method, device and server
CN110910230A (en) Accounting method, accounting system and storage medium
US10748169B2 (en) Methods and systems for rewarding customers in a tokenized payment transaction
CN112258306B (en) Account information checking method, device, electronic equipment and storage medium
CN111861717A (en) Contract account management method, device, equipment and storage medium
US11922383B2 (en) Methods and systems for deconflicting data from multiple sources in computer systems
CN113935821A (en) Method, device, electronic equipment and medium for settling commission charge in banking business
US20150073988A1 (en) Methods and Systems of Facilitating Payments on a Payment Card Network
CN113781226A (en) Batch transaction data processing method and device
CN111899111A (en) Capital matching method, device, server and storage medium
CN109214911A (en) The treating method and apparatus of bill reconciliation exception
CN110348983B (en) Transaction information management method and device, electronic equipment and non-transitory storage medium
CN113822660B (en) Data processing method, device, electronic equipment and medium
CN111583030B (en) Payment routing method and device
CN112231465B (en) Resource separation method and device for business data, computer equipment and storage medium
CN111028025B (en) Bill data processing method, device, equipment and medium based on big data
CN111951057A (en) Advertisement recommendation method and system based on Ether house intelligent contract platform
CN112256689A (en) Service data cleaning method and device and electronic equipment
CN115733657B (en) Data verification method, device, electronic equipment and storage medium
CN113220593B (en) Method, apparatus, device, storage medium and program product for generating test data
CN110717747B (en) Settlement method, settlement device, settlement terminal and computer storage medium
CN115619576A (en) Data processing method and device, electronic equipment and storage medium
CN116939046A (en) Service request route control method and related device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210430