CN116823505A - Accounting billing method, device, equipment and storage medium - Google Patents

Accounting billing method, device, equipment and storage medium Download PDF

Info

Publication number
CN116823505A
CN116823505A CN202310620619.1A CN202310620619A CN116823505A CN 116823505 A CN116823505 A CN 116823505A CN 202310620619 A CN202310620619 A CN 202310620619A CN 116823505 A CN116823505 A CN 116823505A
Authority
CN
China
Prior art keywords
processed
accounting
subtasks
task
payment
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
CN202310620619.1A
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.)
Peoples Insurance Company of China
Original Assignee
Peoples Insurance Company of China
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 Peoples Insurance Company of China filed Critical Peoples Insurance Company of China
Priority to CN202310620619.1A priority Critical patent/CN116823505A/en
Publication of CN116823505A publication Critical patent/CN116823505A/en
Pending legal-status Critical Current

Links

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system

Abstract

The invention relates to the technical field of financial accounting, and provides an accounting method, an accounting device, equipment and a storage medium, wherein the accounting method comprises the following steps: responding to the input of a user, and generating a task to be processed; splitting the task to be processed according to the product detail corresponding to the task to be processed and the performance configuration of the relational database to obtain a plurality of batches of subtasks to be processed; the total view of the accounting documents generated according to the subtasks to be processed of each batch is consistent with the accounting documents generated at one time according to the tasks to be processed; aiming at each batch of subtasks to be processed, according to the product detail corresponding to the subtasks to be processed, the type of the subtasks to be processed and a preset accounting rule base, accounting rules corresponding to the subtasks to be processed are obtained; and recording payment information of the subtasks to be processed according to the accounting rules. The invention reduces the overall pressure of the system, improves the response speed of the system, and improves the intelligentization degree of the accounting and billing process in the payment and payment registering link.

Description

Accounting billing method, device, equipment and storage medium
Technical Field
The present invention relates to the technical field of financial accounting, and in particular, to a method, an apparatus, a device and a storage medium for accounting.
Background
Most of the existing enterprise information systems such as enterprise resource planning (Enterprise Resource Planning, ERP) systems have realized automation of accounting and accounting in the process of product sales details and product sales flow registration, but for the process of recording payment information, a function is generally provided for manual post-mortem supplementary recording, and in the post-mortem supplementary recording process, financial staff is required to carry out screening and marketing by turns through a system page or upload an audit relation table of the payment registration according to a specified format to the system for processing, namely, the establishment of the audit relation between the product sales details and the product sales flow is usually completed by financial staff through business and financial professional knowledge, and the operation is complicated.
Disclosure of Invention
The invention provides an accounting and billing method, device, equipment and storage medium, which are used for solving the defect of complicated operation of a payment and payment registering link in the prior art, improving the automation and intelligent degree of the accounting and billing process of the payment and payment registering link, realizing the splitting of large data volume transaction of the link and reducing the system pressure.
In a first aspect, the present invention provides an accounting method comprising:
Responding to the input of a user, and generating a task to be processed;
splitting the task to be processed according to the product detail corresponding to the task to be processed and the performance configuration of the relational database to obtain a plurality of batches of subtasks to be processed; and the total view of the accounting document generated according to the subtasks to be processed of each batch is consistent with the accounting document generated at one time according to the subtasks to be processed;
aiming at each batch of subtasks to be processed, according to the product detail corresponding to the subtasks to be processed, the type of the subtasks to be processed and a preset accounting rule base, accounting rules corresponding to the subtasks to be processed are obtained;
and recording payment information of the subtasks to be processed according to the accounting rules.
Optionally, the total view of the accounting document is obtained based on the accounting document corresponding to the subtask to be processed in each batch after being summarized, and the accounting document corresponding to the subtask to be processed in each batch is generated according to the record of payment information of the subtask to be processed; the accounting document generated at one time is obtained by verifying and selling pen by pen according to the product detail corresponding to the task to be processed.
Optionally, splitting the task to be processed according to the product detail corresponding to the task to be processed and the performance configuration of the relational database to obtain a plurality of batches of subtasks to be processed, including:
summarizing the product details corresponding to the task to be processed to obtain summarized data;
setting a threshold value for resources of the relational database consumed when the subtasks to be processed of a single batch are executed according to the performance configuration of the relational database; the threshold value comprises at least one of: a threshold of time resources and a threshold of space resources;
according to the summarized data and the threshold value, calculating the number of batches to be split of the task to be processed;
splitting the task to be processed according to the number of the batches to be split to obtain the subtasks to be processed of a plurality of batches.
Optionally, the preset accounting rules library includes at least one of the following: accounting rules of past account, accounting rules of fund payment, accounting rules of non-fund payment, accounting rules of offset payment mode, accounting rules of bank running water excess transfer temporary collection.
Optionally, after the recording of the payment information of the subtask to be processed according to the accounting rules, the method further includes:
comparing the aggregate view of the accounting document with the one-time generated accounting document for consistency;
when the total view certificate of the accounting document is inconsistent with the accounting document generated at one time, recalculating the batch number of the task to be processed to be split;
and re-splitting the task to be processed according to the re-calculated batch number to be split to obtain a plurality of batches of sub-tasks to be processed.
Optionally, the input of the user at least comprises identification information of the product data to be processed; the product data to be processed is based on at least one of: product sales details and product sales flows;
the generating a task to be processed in response to the input of the user comprises:
identifying the product data in the database according to the identification information of the product data to be processed;
and determining a data set formed by the product data identified in the database as the product detail corresponding to the task to be processed.
Optionally, before the accounting rules corresponding to the subtasks to be processed are obtained according to the product details corresponding to the subtasks to be processed, the types of the subtasks to be processed and the preset accounting rules library, the method further includes:
judging the type of the subtasks to be processed; the type includes at least one of: payment type tasks and payment type tasks.
Optionally, when the type is a payment task, before the accounting rules corresponding to the subtasks to be processed are obtained according to the product details corresponding to the subtasks to be processed, the type of the subtasks to be processed and the preset accounting rules library, the method further includes:
acquiring information of a payment object corresponding to the subtask to be processed according to the product detail corresponding to the subtask to be processed;
the obtaining the accounting rules corresponding to the subtasks to be processed according to the product details corresponding to the subtasks to be processed, the types of the subtasks to be processed and a preset accounting rule base comprises the following steps:
and screening accounting rules corresponding to the subtasks to be processed from the preset accounting rule base according to the information of the payment objects corresponding to the subtasks to be processed and the product details corresponding to the subtasks to be processed.
Optionally, when the type is a payment task, before obtaining the accounting rule corresponding to the subtask to be processed according to the product detail corresponding to the subtask to be processed, the type of the subtask to be processed and the preset accounting rule base, the method further includes:
determining payment information of a payment object corresponding to the subtask to be processed according to the product detail corresponding to the subtask to be processed;
the obtaining the accounting rules corresponding to the subtasks to be processed according to the product details corresponding to the subtasks to be processed, the types of the subtasks to be processed and the preset accounting rules library comprises the following steps:
and screening accounting rules corresponding to the subtasks to be processed from the preset accounting rule base according to payment information of the payment objects corresponding to the subtasks to be processed and product details corresponding to the subtasks to be processed.
In a second aspect, the present invention also provides an accounting billing device, comprising:
the task generating module is used for responding to the input of a user and generating a task to be processed;
the task splitting module is used for splitting the task to be processed according to the product detail corresponding to the task to be processed and the performance configuration of the relational database to obtain a plurality of batches of subtasks to be processed; and the total view of the accounting document generated according to the subtasks to be processed of each batch is consistent with the accounting document generated at one time according to the subtasks to be processed;
The task processing module is used for obtaining accounting rules corresponding to the subtasks to be processed according to the product details corresponding to the subtasks to be processed, the types of the subtasks to be processed and a preset accounting rule base aiming at the subtasks to be processed of each batch; and recording payment information of the subtasks to be processed according to the accounting rules.
In a third aspect, the invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing any of the accounting method described above when executing the program.
In a fourth aspect, the invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of accounting as described in any of the above.
In a fifth aspect, the invention also provides a computer program product comprising a computer program which when executed by a processor implements a method of accounting as described in any of the above.
According to the accounting billing method, the accounting billing device, the equipment and the storage medium, the task to be processed is generated by responding to the input of a user, then the task to be processed is split according to the product detail corresponding to the task to be processed and the performance configuration of the relational database, a plurality of batches of subtasks to be processed are obtained, and the total view of accounting documents generated according to the subtasks to be processed of each batch is consistent with the accounting documents generated according to the task to be processed at one time; and further, aiming at each batch of subtasks to be processed, according to the product detail corresponding to the subtasks to be processed, the type of the subtasks to be processed and a preset accounting rule base, obtaining accounting rules corresponding to the subtasks to be processed, and then, recording payment and payment information of the subtasks to be processed according to the accounting rules. Aiming at a task to be processed with large data transaction amount, the method firstly splits the task to be processed into a plurality of batches of subtasks to be processed according to product details corresponding to the task to be processed and performance configuration of a relational database, so that the consumption of the system resource by transactions formed in the single batch task processing process is small, the overall pressure of the system is reduced, and the response speed of the system is improved; in addition, according to the subtasks to be processed of each batch, matching is carried out in a preset accounting rule base according to the subtasks to be processed, and accounting rules corresponding to the subtasks to be processed can be obtained, so that the automation and intelligence degree of an accounting process in a payment and payment registering link are improved.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of one of the accounting methods provided by the present invention;
FIG. 2 is a second flow chart of the accounting method according to the present invention;
FIG. 3 is a schematic diagram of the structure of the accounting device provided by the present invention;
fig. 4 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
First, terms involved in the embodiments of the present invention will be explained:
registering of product sales flow: the information system of the enterprise can record the sales income details generated in the product sales process in a lasting way, and the action is automatically completed in the process that sales personnel use the information system to complete transactions. The details of the product sales flow generally include bank transfer flow without accounting, pre-receipt of accounts, pre-payment and balance temporary receipt, temporary payment, instant interactive internet, mobile payment flow, etc.
Registration of product sales details: the information system of the enterprise can carry out lasting record on the product delivery and return details generated in the product selling process, and the action is automatically completed in the process that sales personnel use the information system to complete the transaction.
Recording payment information: the information system of the enterprise performs a persistent record of the association between the product sales details and the product sales line, and the action is generally an operation of the financial staff performing supplementary registration on a large number of details involved in the transaction in the information system after the transaction is completed.
Secondly, a scene of the accounting method application provided by the embodiment of the invention is introduced.
The products involved in this solution are mainly services offered by the insurance contract commitments.
Most of the existing enterprise information systems, such as enterprise resource planning (Enterprise Resource Planning, ERP) systems, have realized automation of accounting and billing in the process of product sales details and product sales flow registration, but for the process of recording payment information, a function is generally provided for manual post-mortem recording, and in the post-mortem recording process, financial staff is required to carry out screening and sales by pen through a system page or upload a check-out relation table of the payment registration according to a specified format to the system for processing, namely, the establishment of the check-out relation between the product sales details and the product sales flow is usually completed by financial staff through business and financial professional knowledge.
The prior art has the following defects:
(1) The recording link of payment information is automatic, and intelligent degree is not enough, leads to the manpower expense big. The post-postmortem process of the payment information generates a great deal of product sales, returns details or uses a great deal of money in a transaction, and the labor cost is necessarily huge.
(2) The recording link of payment information causes the consumption of the application host memory and database resources of the system to be larger, and the response efficiency of the system is low. Because the background knowledge of accounting rules related to manual operation is not concerned in the prior art, the investigation relation table submitted by the manual operation cannot be split and processed without influencing the financial accounting result in the system processing process, and a relation set with larger data volume is encountered, so that the system resource consumption is larger, and the processing efficiency is low.
Aiming at the defects, the invention provides a solution for improving the intelligentization degree of a record link of payment information, greatly reducing the manpower cost required by manual disassembly, fully utilizing an application host central processing unit (Central Processing Unit, CPU), improving the processing efficiency of the system and greatly reducing the accounting and billing of the whole pressure of the system.
The accounting billing solution provided by the present invention is described below in connection with fig. 1-4.
FIG. 1 is a schematic flow chart of an accounting method provided by the invention, as shown in FIG. 1, the method includes:
step 101, responding to input of a user, and generating a task to be processed;
step 102, splitting the task to be processed according to the product detail corresponding to the task to be processed and the performance configuration of the relational database to obtain a plurality of batches of subtasks to be processed; and the total view of the accounting document generated according to the subtasks to be processed of each batch is consistent with the accounting document generated at one time according to the tasks to be processed;
step 103, aiming at each batch of subtasks to be processed, according to the product detail corresponding to the subtasks to be processed, the type of the subtasks to be processed and a preset accounting rule base, obtaining accounting rules corresponding to the subtasks to be processed;
And 104, recording payment information of the subtasks to be processed according to the accounting rules.
In particular, it will be appreciated that the user input may be understood as product data screening conditions that are generally related to the business characteristics operated by the user, such as for some fixed rule clearing business, where there may be a specific identification stored during the registration of product sales details and the registration of product sales flows. The user input may be a product sales detail or a screening condition of a product sales line, such as a number of product sales detail, or a number of product sales line detail. Further, in response to the input of the user, a task to be processed may be generated, specifically, the task to be processed may be screened in the database according to the input of the user, for example, the task to be processed may be searched in the database according to the serial number of the sales detail of the product, and the searched product data may be identified, and the identification process may also be regarded as a process of generating the task to be processed. Optionally, basic statistics and verification operations can be performed on the product data in the task to be processed on the basis, so that a user can check whether the data is submitted correctly or not, and confirm that the processing is started, and the like.
Further, after the task to be processed is generated, the task to be processed can be split based on the product details corresponding to the task to be processed, such as total amount and total amount of the product details corresponding to the task to be processed, and hardware resource conditions used in combination with system deployment, such as performance configuration of a relational database, so as to obtain a plurality of batches of subtasks to be processed, and a total view of accounting vouchers generated according to the subtasks to be processed in each batch is consistent with accounting vouchers generated at one time according to the task to be processed. The relational database is a database created on the basis of a relational model, data in the database are processed by means of mathematical concepts and methods such as set algebra, and the relational model at least comprises the association relation between product sales details and product sales flowing water.
Further, for each batch of subtasks to be processed, the product details corresponding to the subtasks to be processed may be obtained first, and then according to the obtained product details corresponding to the subtasks to be processed, the types of the subtasks to be processed, such as a payment task, and a preset accounting rule library, accounting rules corresponding to the subtasks to be processed are obtained. The accounting rules required for registering the payment information fixed for the settlement rules are preconfigured in the preset accounting rule library, and the preconfigured process can be finished by the self definition of professional financial staff or business staff and can be adjusted in real time according to the actual settlement scene.
Further, according to the accounting rules matched in the preset accounting rule base of the subtasks to be processed, the payment and payment information of the subtasks to be processed can be recorded, and accounting is completed. Specifically, the matched accounting rules are conventions of specific data formats of the currently required accounting types, the requirements of related library table structures, field assignment and the like, the payment information of the subtasks to be processed is recorded, the matched accounting rules and product detail data appointed by a user are used for calculation and recombination, and finally the generated data are recorded in a lasting mode.
In the method provided by the embodiment, a task to be processed is generated by responding to the input of a user, then the task to be processed is split according to the product detail corresponding to the task to be processed and the performance configuration of the relational database, a plurality of batches of subtasks to be processed are obtained, and the total view of accounting documents generated according to the subtasks to be processed of each batch is consistent with the accounting documents generated at one time according to the task to be processed; and further, aiming at each batch of subtasks to be processed, according to the product detail corresponding to the subtasks to be processed, the type of the subtasks to be processed and a preset accounting rule base, obtaining accounting rules corresponding to the subtasks to be processed, and then, recording payment and payment information of the subtasks to be processed according to the accounting rules. Aiming at a task to be processed with large data transaction amount, the method firstly splits the task to be processed into a plurality of batches of subtasks to be processed according to product details corresponding to the task to be processed and performance configuration of a relational database, so that the consumption of the system resource by transactions formed in the single batch task processing process is small, the overall pressure of the system is reduced, and the response speed of the system is improved; in addition, according to the subtasks to be processed of each batch, matching is carried out in a preset accounting rule base according to the subtasks to be processed, and accounting rules corresponding to the subtasks to be processed can be obtained, so that the automation and intelligence degree of an accounting process in a payment and payment registering link are improved.
Optionally, the total view of the accounting document is obtained based on the total of the accounting documents corresponding to the subtasks to be processed in each batch, and the accounting document corresponding to the subtasks to be processed in each batch is generated according to the record of payment information of the subtasks to be processed; the accounting document generated at one time is obtained by verifying and verifying the accounting document one by one according to the product detail corresponding to the task to be processed.
Specifically, in the method of the embodiment, after the split batches of subtasks to be processed are processed, records of payment and payment information of the subtasks to be processed are obtained, corresponding accounting documents can be generated according to the records of the payment and payment information of the subtasks to be processed, and then accounting documents corresponding to the subtasks to be processed of each batch can be summarized, so that a total view of the accounting documents can be obtained.
In the prior art, the task is not split into the product details, and the accounting document generated at one time can be obtained based on the product details of the task to be processed by verifying and selling pen by pen.
In the method provided by the embodiment of the invention, accounting certificates generated by splitting the tasks to be processed in each batch are consistent with accounting certificates generated in one step without pre-splitting under the total view, and the accounting is more accurate based on the method.
Optionally, splitting the task to be processed according to the product detail corresponding to the task to be processed and the performance configuration of the relational database to obtain a plurality of batches of subtasks to be processed, which may include:
summarizing the product details corresponding to the tasks to be processed to obtain summarized data;
setting a threshold value for resources of the relational database consumed when the subtasks to be processed of a single batch are executed according to the performance configuration of the relational database; the threshold value comprises at least one of: a threshold of time resources and a threshold of space resources;
according to the summarized data and the threshold value, calculating the number of batches to be split of the task to be processed;
splitting the task to be processed according to the number of batches to be split to obtain the subtasks to be processed of a plurality of batches.
Specifically, after the task to be processed is generated in step 101, whether the task to be processed needs to be split or not may be further determined according to the product details corresponding to the task to be processed, so as to obtain the number of batches of the task to be processed, where an implementation process is as follows:
first, according to the product details corresponding to the task to be processed, summary data, such as the total amount and the summary amount, of the product details corresponding to the task to be processed can be obtained in a summary mode.
Further, according to summary data, such as summary quantity and summary amount, of product details corresponding to the task to be processed, judgment is performed by combining the hardware resource condition used by system deployment, especially performance configuration of the relational database. The performance of the relational database is generally measured by indexes of two aspects, namely response time and throughput, the performance configuration of the relational database such as the maximum number of users that the database can support, the access speed of the database, the waiting time of input and output, the maximum BLOCK number read in one input and output operation and the like, and further, according to the performance configuration of the relational database, a threshold value, such as a threshold value of time resources and a threshold value of space resources, can be set for resources of the relational database consumed when a single batch of subtasks to be processed are executed. The judging process specifically comprises the following steps: based on the performance configuration of the relational database of the system, the judgment is carried out by combining the product details corresponding to the task to be processed, for example, the access speed of the database, the summarized data of the product details corresponding to the task to be processed, for example, the summarized amount of the product details corresponding to the task to be processed, the total amount of the product details corresponding to the task to be processed and the preset threshold related to the resources of the relational database, and the adjustment is carried out according to the database optimization experience and the actual test, wherein the adjustment target can be to adapt the main structural query language (Structured Query Language, SQL) generated in single batch processing to the optimal time and space consumption, namely, the total amount of the product details corresponding to the task to be processed does not exceed the preset threshold, and the batch number of the task to be split can be obtained.
Further, after the number of batches to be split of the task to be processed is obtained, splitting the task to be processed according to the number of the batches to be split of the task to be processed, and obtaining a plurality of batches of sub-tasks to be processed.
According to the method provided by the embodiment, the summarized data, such as the total amount and the summarized amount, are obtained by summarizing the product details corresponding to the tasks to be processed, and then the batch number of the tasks to be processed, which are required to be split, is calculated according to the total amount and the summarized amount and the performance configuration of the relational database, so that the tasks to be processed are split, and accounting rule knowledge is considered in the splitting process. According to the method, the data of the product detail corresponding to the task to be processed is split and batched, and the consumption of the system resource by the transaction formed in the single batch processing process is controlled to be smaller after adjustment, so that when the data is processed in the relational database and queried in a table, the resource consumption of the relational database is reduced from geometric level increase to nearly linear increase along with the increase of the processed data quantity, the overall pressure of the system is reduced, and the response speed of the system is improved.
Optionally, the preset accounting rules library includes at least one of the following: accounting rules of past account, accounting rules of fund payment, accounting rules of non-fund payment, accounting rules of offset payment mode, accounting rules of bank running water excess transfer temporary collection.
Specifically, a plurality of accounting rules are preconfigured in a preset accounting rule base used in the accounting method, and the accounting method is suitable for a payment scene when the accounting rules are fixed. The pre-configured accounting rules include, for example, transaction account accounting rules, fund payment accounting rules, non-fund payment accounting rules, offset payment mode accounting rules, bank line excess to temporary payment accounting rules.
The accounting rules of the offset and collection mode refer to counteracting the payment information corresponding to the subtask to be processed by using the payment information of the payment object, where the accounting rules of the offset and collection mode are applicable to the situation when the task type of the subtask to be processed is a payment task and the sum of the product details corresponding to the subtask to be processed is negative; the accounting rules of the transaction account are applicable to the situation when the task type of the subtask to be processed is a payment type task and the sum of the product details corresponding to the subtask to be processed is negative, and the accounting rules of the transaction account refer to counteracting the payment information corresponding to the subtask to be processed by using the payment information of the payment object.
Further, the pre-configured accounting rules may correspond to a background accounting financial system, the determined accounting rules are transferred to the back-end accounting financial system, and when the accounting financial system receives the determined accounting rules, the accounting financial system may automatically generate corresponding accounting vouchers according to the determined accounting rules, so as to complete accounting.
In the method provided by the embodiment, the preset accounting rules library contains a plurality of preset accounting rules, and the method completes the recording of the payment and payment information according to the determined accounting rules by matching the accounting rules of the task to be processed in the preset accounting rules library, namely automatically completes accounting, improves the intelligent degree of the payment and payment information recording link, and saves labor cost.
Optionally, after recording payment information of the subtasks to be processed according to the accounting rules, the method further comprises:
consistency comparison is carried out on the total view of the accounting document and the accounting document generated at one time;
when the total view certificate of the accounting document is inconsistent with the accounting document generated at one time, recalculating the batch number of the task to be processed to be split;
And re-splitting the tasks to be processed according to the re-calculated batch number to be split to obtain sub-tasks to be processed of a plurality of batches.
Specifically, after splitting the task to be processed in the method provided by the embodiment of the invention to obtain payment information of each batch of task to be processed, the total view of the accounting document can be compared with the accounting document generated at one time. If the two are inconsistent, the batch number of the task to be processed to be split can be calculated again, and the task to be processed is split again.
In the method provided by the embodiment of the invention, the total view of the final accounting document is consistent with the accounting document generated at one time, and the final result obtained by the accounting method is more accurate.
Optionally, the user input contains at least identification information of the product data to be processed; the product data to be processed is based on at least one of: product sales details and product sales flows;
generating a task to be processed in response to input from a user, comprising:
identifying the product data in the database according to the identification information of the product data to be processed;
and determining a data set formed by the product data identified in the database as the product detail corresponding to the task to be processed.
Specifically, in step 101, the user input may be understood as a screening condition of the product data in the database, and thus the user input includes at least identification information of the product data to be processed, where the representation information of the product data to be processed is obtained based on any one of a product sales detail and a product sales flowing line, and the product sales detail or the product sales flowing line includes identification information of the product data to be processed, such as a product number, a product model, and the like, for marking the product data to be processed. In the process, firstly, identification information of the product data to be processed can be obtained according to the input of the user.
Further, the identification information of the product data to be processed can be queried in the database according to the identification information of the product data to be processed, the identification information of the product data to be processed can be identified, a plurality of product data identified in the database can be obtained, and a set formed by the plurality of product data is determined to be the product detail corresponding to the task to be processed, namely, the generation operation of the task to be processed is completed.
In the method provided by the embodiment, the input of the user at least comprises identification information of the product data to be processed, the product data to be processed is obtained based on at least one of the product sales details and the product sales flowing water, further, the product data in the database is identified according to the identification information of the product data to be processed, a data set formed by the product data identified in the database is determined to be the product details corresponding to the task to be processed, and the task to be processed is generated. According to the method, the product sales details or the product sales flow input by the user are used as screening conditions of the product data, query matching is carried out in the database based on the screening conditions, so that a task to be processed is generated, the operation process is simple and easy to operate, special financial staff is not needed, and the method is more widely applicable to scenes.
Optionally, before obtaining the accounting rules corresponding to the subtasks to be processed according to the product details corresponding to the subtasks to be processed, the types of the subtasks to be processed and the preset accounting rules library, the method further comprises:
judging the type of subtasks to be processed; the type includes at least one of: payment type tasks and payment type tasks.
Specifically, before the subtasks to be processed are processed in step 102, the type of the subtasks to be processed in each batch may be judged first, that is, it is judged whether the type of the subtasks to be processed is a payment type task or a payment type task, the payment type task may be understood that the type of the subtasks to be processed is a payment type, and accordingly, the payment type task may be understood that the type of the subtasks to be processed is a revenue type, so that corresponding accounting rules may be matched according to the types of different subtasks to be processed.
In the method provided by the embodiment, the type of the subtask to be processed is judged first, and then the corresponding accounting rules are matched according to the type of the subtask to be processed. The system pressure in the processing process of the method is small, and the system response speed is high.
Optionally, when the type is a payment task, before obtaining the accounting rules corresponding to the subtasks to be processed according to the product details corresponding to the subtasks to be processed, the type of the subtasks to be processed and the preset accounting rules library, the method further includes:
acquiring information of a payment object corresponding to the subtask to be processed according to the product detail corresponding to the subtask to be processed;
according to the product detail corresponding to the subtask to be processed, the type of the subtask to be processed and a preset accounting rule base, obtaining accounting rules corresponding to the subtask to be processed, wherein the accounting rules comprise:
and screening accounting rules corresponding to the subtasks to be processed from a preset accounting rule base according to the information of the payment objects corresponding to the subtasks to be processed and the product details corresponding to the subtasks to be processed.
Specifically, after judging the type of the subtask to be processed, the corresponding task processing operation can be executed according to different task types. When the type is a payment task, that is, the task needs to pay money, and accordingly, information of a payment object needs to be acquired first, where the basis for acquiring the information of the payment object may be product details corresponding to the subtask to be processed, and the information of the payment object includes, for example, information including an account number of the payment object, a name of the payment object, a payment currency, a payment amount, a payment reason, and the like.
Optionally, after the information of the payment object is acquired, the combination processing may be performed according to the actual situation, for example, because the same payment object has multiple product transactions with the corporation, or multiple payments occur on the same product, and if the multiple payments occur in one settlement, the multiple payment processes may be combined together to perform the payment at one time.
Further, after the information of the payment object is obtained, according to the information of the payment object and the product details corresponding to the subtask to be processed, the accounting rules corresponding to the subtask to be processed can be screened from a preset accounting rules library. The process of screening to obtain the accounting rules corresponding to the subtasks to be processed is exemplified as follows:
step a, judging whether the product detail corresponding to the subtask to be processed is collected and paid (the collected amount is a negative amount, namely a count);
if the payment is made, the accounting rules of the account are called;
if not, the following step b is performed.
Step b, further judging whether to select a fund payment mode;
if the fund payment mode is adopted, the accounting rules of the fund payment are called;
if not, executing the following step c;
And c, invoking accounting and billing rules of non-fund payment.
The called accounting rules are understood to be the conventions of the specific data formats of the currently required accounting types, and are formally related to the requirements of the table structures and field assignment. Further, the payment registration is completed, namely calculation and recombination are carried out by using the called accounting rules and the product data to be processed, and finally the generated data is recorded in a lasting manner.
In the method provided by the embodiment, when the type is a payment task, information of a payment object corresponding to a subtask to be processed is acquired according to the product detail corresponding to the subtask to be processed; and screening accounting rules corresponding to the subtasks to be processed from a preset accounting rule base according to the information of the payment objects corresponding to the subtasks to be processed and the product details corresponding to the subtasks to be processed. Based on a preset accounting rule base, the corresponding accounting rules are matched with the product details corresponding to the subtasks to be processed, so that the subtasks to be processed can be recorded with payment information according to the corresponding accounting rules, accounting is completed, the multiplexing of the accounting rules is realized, a payment registration check relation table is not required to be compiled for each payment information record, and labor cost is greatly saved.
Optionally, when the type is a payment task, before obtaining the accounting rules corresponding to the subtasks to be processed according to the product details corresponding to the subtasks to be processed, the type of the subtasks to be processed and the preset accounting rules library, the method further includes:
determining payment information of a payment object corresponding to the subtask to be processed according to the product detail corresponding to the subtask to be processed;
according to the product detail corresponding to the subtask to be processed, the type of the subtask to be processed and a preset accounting rule base, obtaining accounting rules corresponding to the subtask to be processed, wherein the accounting rules comprise:
and screening accounting rules corresponding to the subtasks to be processed from a preset accounting rule base according to payment information of the payment objects corresponding to the subtasks to be processed and product details corresponding to the subtasks to be processed.
Specifically, after judging the type of the subtask to be processed, the corresponding task processing operation can be executed according to different task types. When the type is a payment type task, that is, the task needs to pay money, and accordingly, payment information of a payment object needs to be acquired first, wherein the basis for acquiring the payment information of the payment object can be product detail corresponding to a subtask to be processed, and the process of acquiring the payment information of the payment object, for example, selecting bank flowing water and selecting bank flowing water is described as follows: corresponding to each money transferred to the enterprise account by the client (payment object), the bank forms a bank running line; the specific method for selecting the bank running water in the step is that the least bank running water is selected from the bank running water submitted by the system user according to the sum of the product details corresponding to the subtasks to be processed, so that the running water amount is larger than or equal to the sum of the product details corresponding to the subtasks to be processed. Optionally, there may be two cases in which the bank flowing water matched after the bank flowing water is selected: equal or excess amount of the total amount after the product detail is collected corresponds to an equal payment mode and an excess payment mode, these two approaches have different requirements in the generation of accounting vouchers.
Further, after payment information of the payment object is obtained, for example, a selected bank running water, accounting rules corresponding to the subtasks to be processed can be screened from a preset accounting rule base according to the payment information of the payment object and product details corresponding to the subtasks to be processed. The process of screening the accounting rules corresponding to the subtasks to be processed is exemplified as follows:
step a, judging whether the product detail corresponding to the subtask to be processed is paid after being summarized (the summarized amount is negative amount, namely the collected negative amount);
if the payment is made, firstly calling the accounting rules of the offset payment mode, and further calling the accounting rules of the bank running water payment mode;
if not, the following step b is performed.
Step b, further judging whether the product detail corresponding to the subtask to be processed is subjected to excessive payment after being summarized;
if the bank running water is in the excess payment mode, firstly, the accounting rules of the bank running water over-charge temporary collection are called, and further the accounting rules of the bank running water payment mode are called;
if the payment mode is not the excess payment mode, executing the following step c;
and c, calling an accounting rule of a bank running water payment mode.
In the method provided by the embodiment, when the type is a payment task, firstly, according to the product detail corresponding to the subtask to be processed, determining payment information of a payment object corresponding to the subtask to be processed; and screening accounting rules corresponding to the subtasks to be processed from a preset accounting rule base according to payment information of the payment objects corresponding to the subtasks to be processed and product details corresponding to the subtasks to be processed. Based on a preset accounting rule base, the corresponding accounting rules are matched with the product details corresponding to the subtasks to be processed, so that the subtasks to be processed can be recorded with payment information according to the corresponding accounting rules, accounting is completed, the multiplexing of the accounting rules is realized, a payment registration check relation table is not required to be compiled for each payment information record, and labor cost is greatly saved.
FIG. 2 is a second flow chart of the accounting method provided by the invention, as shown in FIG. 2, the method comprises:
step 201, screening according to input of a user to obtain product details corresponding to a task to be processed, and generating the task to be processed according to the product details;
Step 202, calculating the batch number of the tasks to be split according to the product detail corresponding to the tasks to be processed and the performance configuration condition of the relational database, and obtaining a plurality of batches of subtasks to be processed;
step 203, extracting product details corresponding to the subtasks to be processed in a database for the subtasks to be processed of each batch;
step 204, judging the task type of the subtask to be processed;
step 205, obtaining information of a payment object according to product details corresponding to subtasks to be processed, and completing necessary merging processing;
step 206, screening accounting rules corresponding to the subtasks to be processed from a preset accounting rule base according to the information of the payment objects and the product details corresponding to the subtasks to be processed, and obtaining matched accounting rules;
step 207, determining payment information of a payment object corresponding to the subtask to be processed according to the product detail corresponding to the subtask to be processed;
step 208, screening accounting rules corresponding to the subtasks to be processed from a preset accounting rule base according to payment information of the payment objects corresponding to the subtasks to be processed and product details corresponding to the subtasks to be processed, and obtaining matched accounting rules;
And 209, recording payment information of the subtasks to be processed according to the matched accounting rules.
Specifically, screening according to the input of a user to obtain a product detail corresponding to the task to be processed, and generating the task to be processed according to the product detail; calculating the batch times of the tasks to be processed, which are required to be split, according to the product detail corresponding to the tasks to be processed and the performance configuration of the relational database, so as to obtain a plurality of batches of subtasks to be processed; extracting product details corresponding to subtasks to be processed in a database aiming at the subtasks to be processed of each batch;
then judging the task type of the subtask to be processed;
when the task type of the subtask to be processed is a payment type task, executing the following steps: obtaining information of a payment object according to product details corresponding to subtasks to be processed, and simultaneously completing necessary merging processing; screening accounting rules corresponding to the subtasks to be processed from a preset accounting rule base according to the information of the payment objects and the product details corresponding to the subtasks to be processed, and obtaining matched accounting rules; and recording payment information of the subtasks to be processed according to the matched accounting and billing rules, and completing accounting and billing of the payment information.
When the task type of the subtask to be processed is a payment type task, executing the following steps: determining payment information of a payment object corresponding to the subtask to be processed according to the product detail corresponding to the subtask to be processed; screening accounting rules corresponding to the subtasks to be processed from a preset accounting rule base according to payment information of the payment objects corresponding to the subtasks to be processed and product details corresponding to the subtasks to be processed, and obtaining matched accounting rules; and recording payment information of the subtasks to be processed according to the matched accounting rules.
In the method provided by the embodiment of the invention, the accounting rule base is pre-configured in the system, so that the system functions related to the information recording link of the product payment and payment have the equivalent capability of using accounting knowledge in manual operation. Meanwhile, a data splitting algorithm is designed, aiming at a task to be processed with large data transaction amount, the task to be processed is split into a plurality of batches of subtasks to be processed according to product details corresponding to the task to be processed and performance configuration of a relational database, so that the consumption of a system resource by a transaction formed in a single batch task processing process is small, an application host CPU is fully utilized, the database resource is occupied approximately linearly, the processing efficiency is improved, and meanwhile, the pressure on the whole system is balanced.
The accounting device provided by the invention is described below, and the accounting device described below and the accounting method described above can be referred to correspondingly.
Fig. 3 is a schematic structural diagram of an accounting device 300 provided by the present invention, and as shown in fig. 3, the accounting device 300 includes:
a task generating module 310, configured to generate a task to be processed in response to an input of a user;
the task splitting module 320 is configured to split the task to be processed according to the product details corresponding to the task to be processed and the performance configuration of the relational database, so as to obtain a plurality of batches of subtasks to be processed; and the total view of the accounting document generated according to the subtasks to be processed of each batch is consistent with the accounting document generated at one time according to the subtasks to be processed;
the task processing module 330 is configured to obtain, for each batch of the subtasks to be processed, an accounting rule corresponding to the subtask to be processed according to a product detail corresponding to the subtask to be processed, a type of the subtask to be processed, and a preset accounting rule base; and recording payment information of the subtasks to be processed according to the accounting rules.
In the device provided by the embodiment, the task generating module 310 generates a task to be processed by responding to the input of a user, then the task splitting module 320 splits the task to be processed according to the product detail corresponding to the task to be processed and the performance configuration of the relational database to obtain a plurality of batches of subtasks to be processed, and the total view of accounting documents generated according to the subtasks to be processed of each batch is consistent with the accounting documents generated at one time according to the task to be processed; further, the task processing module 330 obtains, for each batch of subtasks to be processed, accounting rules corresponding to the subtasks to be processed according to the product details corresponding to the subtasks to be processed, the type of the subtasks to be processed, and a preset accounting rule base, and then records payment information of the subtasks to be processed according to the accounting rules. Aiming at a task to be processed with large data transaction amount, the method firstly splits the task to be processed into a plurality of batches of subtasks to be processed according to product details corresponding to the task to be processed and performance configuration of a relational database, so that the consumption of the system resource by transactions formed in the single batch task processing process is small, the overall pressure of the system is reduced, and the response speed of the system is improved; in addition, according to the subtasks to be processed of each batch, matching is carried out in a preset accounting rule base according to the subtasks to be processed, and accounting rules corresponding to the subtasks to be processed can be obtained, so that the automation and intelligence degree of an accounting process in a payment and payment registering link are improved.
Optionally, the total view of the accounting document is obtained based on the accounting document corresponding to the subtask to be processed in each batch after being summarized, and the accounting document corresponding to the subtask to be processed in each batch is generated according to the record of payment information of the subtask to be processed; the accounting document generated at one time is obtained by verifying and selling pen by pen according to the product detail corresponding to the task to be processed.
Optionally, the task splitting module 320 is specifically configured to:
summarizing the product details corresponding to the task to be processed to obtain summarized data;
setting a threshold value for resources of the relational database consumed when the subtasks to be processed of a single batch are executed according to the performance configuration of the relational database; the threshold value comprises at least one of: a threshold of time resources and a threshold of space resources;
according to the summarized data and the threshold value, calculating the number of batches to be split of the task to be processed;
splitting the task to be processed according to the number of the batches to be split to obtain the subtasks to be processed of a plurality of batches.
Optionally, the preset accounting rules library includes at least one of the following: accounting rules of past account, accounting rules of fund payment, accounting rules of non-fund payment, accounting rules of offset payment mode, accounting rules of bank running water excess transfer temporary collection.
Optionally, the accounting billing device 300 further includes a consistency comparison module;
the consistency comparison module is specifically configured to:
after the payment information of the subtasks to be processed is recorded according to the accounting rules, the method further comprises the following steps:
comparing the aggregate view of the accounting document with the one-time generated accounting document for consistency;
when the total view certificate of the accounting document is inconsistent with the accounting document generated at one time, recalculating the batch number of the task to be processed to be split;
and re-splitting the task to be processed according to the re-calculated batch number to be split to obtain a plurality of batches of sub-tasks to be processed.
Optionally, the user input contains at least identification information of the product data to be processed; the product data to be processed is based on at least one of: product sales details and product sales flows;
the task generating module 310 is specifically configured to:
identifying the product data in the database according to the identification information of the product data to be processed;
and determining a data set formed by the product data identified in the database as the product detail corresponding to the task to be processed.
Optionally, the accounting device 300 further includes a task type judgment module;
the task type judging module is specifically configured to:
judging the type of subtasks to be processed; the type includes at least one of: payment type tasks and payment type tasks.
Optionally, in the case of the payment type task, the accounting device 300 further includes a payment object information acquisition module; the payment object information acquisition module is specifically configured to:
according to the product detail corresponding to the subtask to be processed, payment information of a payment object corresponding to the subtask to be processed is obtained;
the task processing module 330 is specifically configured to:
and screening accounting billing rules corresponding to the subtasks to be processed from a preset accounting billing rule base according to payment information of the payment objects corresponding to the subtasks to be processed and product details corresponding to the subtasks to be processed.
Optionally, in the case of the type being a payment task, the accounting device 300 further includes a payment information determining module; the payment information determining module is specifically configured to:
determining payment information of a payment object corresponding to the subtask to be processed according to the product detail corresponding to the subtask to be processed;
The task processing module 330 is specifically configured to:
and screening accounting rules corresponding to the subtasks to be processed from a preset accounting rule base according to payment information of the payment objects corresponding to the subtasks to be processed and product details corresponding to the subtasks to be processed.
Fig. 4 illustrates a physical schematic diagram of an electronic device, as shown in fig. 4, which may include: processor 410, communication interface (Communications Interface) 420, memory 430 and communication bus 440, wherein processor 410, communication interface 420 and memory 430 communicate with each other via communication bus 440. Processor 410 may invoke logic instructions in memory 430 to perform accounting methods including:
responding to the input of a user, and generating a task to be processed;
splitting the task to be processed according to the product detail corresponding to the task to be processed and the performance configuration of the relational database to obtain a plurality of batches of subtasks to be processed; and the total view of the accounting document generated according to the subtasks to be processed of each batch is consistent with the accounting document generated at one time according to the subtasks to be processed;
Aiming at the subtasks to be processed of each batch, according to the product detail corresponding to the subtasks to be processed, the type of the subtasks to be processed and a preset accounting rule base, accounting rules corresponding to the subtasks to be processed are obtained; and recording payment information of the subtasks to be processed according to the accounting rules.
Further, the logic instructions in the memory 430 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method of the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product comprising a computer program, the computer program being storable on a non-transitory computer readable storage medium, the computer program, when executed by a processor, being capable of performing the accounting method provided by the above methods, the method comprising:
responding to the input of a user, and generating a task to be processed;
splitting the task to be processed according to the product detail corresponding to the task to be processed and the performance configuration of the relational database to obtain a plurality of batches of subtasks to be processed; and the total view of the accounting document generated according to the subtasks to be processed of each batch is consistent with the accounting document generated at one time according to the subtasks to be processed;
aiming at the subtasks to be processed of each batch, according to the product detail corresponding to the subtasks to be processed, the type of the subtasks to be processed and a preset accounting rule base, accounting rules corresponding to the subtasks to be processed are obtained; and recording payment information of the subtasks to be processed according to the accounting rules. In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the accounting method provided by the above methods, the method comprising:
Responding to the input of a user, and generating a task to be processed;
splitting the task to be processed according to the product detail corresponding to the task to be processed and the performance configuration of the relational database to obtain a plurality of batches of subtasks to be processed; and the total view of the accounting document generated according to the subtasks to be processed of each batch is consistent with the accounting document generated at one time according to the subtasks to be processed;
aiming at the subtasks to be processed of each batch, according to the product detail corresponding to the subtasks to be processed, the type of the subtasks to be processed and a preset accounting rule base, accounting rules corresponding to the subtasks to be processed are obtained; and recording payment information of the subtasks to be processed according to the accounting rules.
The apparatus embodiments described above are merely illustrative, wherein elements illustrated as separate elements may or may not be physically separate, and elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on such understanding, the foregoing technical solutions may be embodied essentially or in part in the form of a software product, which may be stored in a computer-readable storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the various embodiments or methods of some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (12)

1. A method of accounting billing, comprising:
responding to the input of a user, and generating a task to be processed;
splitting the task to be processed according to the product detail corresponding to the task to be processed and the performance configuration of the relational database to obtain a plurality of batches of subtasks to be processed; and the total view of the accounting document generated according to the subtasks to be processed of each batch is consistent with the accounting document generated at one time according to the subtasks to be processed;
aiming at each batch of subtasks to be processed, according to the product detail corresponding to the subtasks to be processed, the type of the subtasks to be processed and a preset accounting rule base, accounting rules corresponding to the subtasks to be processed are obtained;
and recording payment information of the subtasks to be processed according to the accounting rules.
2. The accounting method according to claim 1, wherein the total view of the accounting documents is obtained based on the total of accounting documents corresponding to the subtasks to be processed in each batch, and the accounting documents corresponding to the subtasks to be processed in each batch are generated according to records of payment information of the subtasks to be processed; the accounting document generated at one time is obtained by verifying and selling pen by pen according to the product detail corresponding to the task to be processed.
3. The accounting method according to claim 1 or 2, wherein splitting the task to be processed according to the product details corresponding to the task to be processed and the performance configuration of the relational database to obtain a plurality of batches of sub-tasks to be processed comprises:
summarizing the product details corresponding to the task to be processed to obtain summarized data;
setting a threshold value for resources of the relational database consumed when the subtasks to be processed of a single batch are executed according to the performance configuration of the relational database; the threshold value comprises at least one of: a threshold of time resources and a threshold of space resources;
according to the summarized data and the threshold value, calculating the number of batches to be split of the task to be processed;
splitting the task to be processed according to the number of the batches to be split to obtain the subtasks to be processed of a plurality of batches.
4. The accounting billing method of any one of claims 1 or 2, comprising: the preset accounting rules library comprises at least one of the following: accounting rules of past account, accounting rules of fund payment, accounting rules of non-fund payment, accounting rules of offset payment mode, accounting rules of bank running water excess transfer temporary collection.
5. The accounting method of claim 3, wherein after recording payment information of the subtasks to be processed according to the accounting rules, further comprising:
comparing the aggregate view of the accounting document with the one-time generated accounting document for consistency;
when the total view certificate of the accounting document is inconsistent with the accounting document generated at one time, recalculating the batch number of the task to be processed to be split;
and re-splitting the task to be processed according to the re-calculated batch number to be split to obtain a plurality of batches of sub-tasks to be processed.
6. The accounting billing method of claim 3, comprising: the user input at least comprises identification information of the product data to be processed; the product data to be processed is based on at least one of: product sales details and product sales flows;
the generating a task to be processed in response to the input of the user comprises:
identifying the product data in the database according to the identification information of the product data to be processed;
and determining a data set formed by the product data identified in the database as the product detail corresponding to the task to be processed.
7. The accounting method of claim 3, wherein before the accounting rules corresponding to the subtasks to be processed are obtained according to the product details corresponding to the subtasks to be processed, the type of the subtasks to be processed, and the preset accounting rules library, the accounting rules corresponding to the subtasks to be processed are further included:
judging the type of the subtasks to be processed; the type includes at least one of: payment type tasks and payment type tasks.
8. The accounting method of claim 7, wherein when the type is a payment type task, the accounting rule library is further included before obtaining the accounting rule corresponding to the subtask to be processed according to the product detail corresponding to the subtask to be processed, the type of the subtask to be processed, and a preset accounting rule library:
acquiring payment information of a payment object corresponding to the subtask to be processed according to the product detail corresponding to the subtask to be processed;
the obtaining the accounting rules corresponding to the subtasks to be processed according to the product details corresponding to the subtasks to be processed, the type of the subtasks to be processed and a preset accounting rule base comprises the following steps:
And screening accounting rules corresponding to the subtasks to be processed from the preset accounting rule base according to payment information of the payment objects corresponding to the subtasks to be processed and product details corresponding to the subtasks to be processed.
9. The accounting method of claim 7, wherein when the type is a payment type task, the step of obtaining the accounting rules corresponding to the subtask to be processed according to the product details corresponding to the subtask to be processed, the type of the subtask to be processed, and a preset accounting rule base includes:
determining payment information of a payment object corresponding to the subtask to be processed according to the product detail corresponding to the subtask to be processed;
the obtaining the accounting rules corresponding to the subtasks to be processed according to the product details corresponding to the subtasks to be processed, the types of the subtasks to be processed and the preset accounting rules library comprises the following steps:
and screening accounting rules corresponding to the subtasks to be processed from the preset accounting rule base according to payment information of the payment objects corresponding to the subtasks to be processed and product details corresponding to the subtasks to be processed.
10. An accounting billing device, comprising:
the task generating module is used for responding to the input of a user and generating a task to be processed;
the task splitting module is used for splitting the task to be processed according to the product detail corresponding to the task to be processed and the performance configuration of the relational database to obtain a plurality of batches of subtasks to be processed; and the total view of the accounting document generated according to the subtasks to be processed of each batch is consistent with the accounting document generated at one time according to the subtasks to be processed;
the task processing module is used for obtaining accounting rules corresponding to the subtasks to be processed according to the product details corresponding to the subtasks to be processed, the types of the subtasks to be processed and a preset accounting rule base aiming at the subtasks to be processed of each batch; and recording payment information of the subtasks to be processed according to the accounting rules.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the accounting method of any one of claims 1-9 when the program is executed by the processor.
12. A non-transitory computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements the accounting method of any one of claims 1 to 9.
CN202310620619.1A 2023-05-29 2023-05-29 Accounting billing method, device, equipment and storage medium Pending CN116823505A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310620619.1A CN116823505A (en) 2023-05-29 2023-05-29 Accounting billing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310620619.1A CN116823505A (en) 2023-05-29 2023-05-29 Accounting billing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116823505A true CN116823505A (en) 2023-09-29

Family

ID=88119503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310620619.1A Pending CN116823505A (en) 2023-05-29 2023-05-29 Accounting billing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116823505A (en)

Similar Documents

Publication Publication Date Title
CN108446975B (en) Quota management method and device
CN110503564B (en) Security case processing method, system, equipment and storage medium based on big data
CN110555758A (en) Enterprise finance and tax intelligent management system
CN111784510B (en) Account checking method and device
CN115170294A (en) Client classification method and device and server
CN113205402A (en) Account checking method and device, electronic equipment and computer readable medium
CN112668303A (en) Data processing method, device, equipment and storage medium
US20090187496A1 (en) Data workbench for accounting data management
CN114840527A (en) Data processing method, device and computer readable storage medium
CN113626527A (en) Financial data processing method and system
CN113657846A (en) Enterprise fund management method and system in financial sharing mode
CN113362025A (en) Data accounting system, method, computer readable storage medium, electronic device
CN117094764A (en) Bank integral processing method and device
CN112181628A (en) Resource transfer method, device and system and electronic equipment
CN109324963B (en) Method for automatically testing profit result and terminal equipment
CN116167860A (en) Account checking processing method and device, electronic equipment and storage medium
CN116823505A (en) Accounting billing method, device, equipment and storage medium
CN115147202A (en) Banking business account processing system, method and device
CN112348657A (en) Method and device for determining target credit user, computer equipment and storage medium
CN115456747B (en) Automatic intelligent account settling method and device for ERP system and storage medium
CN111932368B (en) Credit card issuing system and construction method and device thereof
KR102294112B1 (en) System and method for providing simple loan moving service
CN112308719B (en) Virtual resource acquisition method, device, server and storage medium
CN115248697A (en) System gray scale upgrading method and device, electronic equipment and storage medium
CN117350875A (en) Financial reconciliation method, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination