A business data processing method and device
By identifying and processing the types and formats of business data, combined with accounting rules, the problem of narrow application scope of existing accounting software is solved, and multi-service accounting is realized.
Patent Information
- Application Number
- CN202010296729.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-15
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2040-04-15
AI Technical Summary
Existing accounting software is usually designed for specific businesses, with a narrow application scope and is difficult to adapt to the accounting needs of multiple businesses.
By obtaining business data and data storage description information, identifying data types, determining the target accounting type, combining data format specifications and accounting rules, processing and accounting data is processed and calculated, and data to be calculated in accordance with the specifications is generated, and the accounting results are finally obtained.
It realizes accounting for multiple businesses, ensuring that the processed data meets accounting requirements and adapts to the accounting needs of different businesses.
Smart Images

Figure CN113535774B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and specifically to a method and device for processing business data. Background Art
[0002] In social life, to improve the quality of accounting work, accounting data can be calculated to check for errors. Accounting data typically refers to a specific business. In the prior art, accounting software used for calculations is typically designed and constructed based on a specific business. During the research and practice of the prior art, the inventors of this application discovered that accounting software targeted only at specific businesses has a narrow scope of application. Summary of the Invention
[0003] The embodiments of the present application provide a business data processing method and device, which can realize accounting of multiple businesses.
[0004] This embodiment of the present application provides a method for processing business data, including:
[0005] Obtaining business data of a business and data storage description information of the business data;
[0006] Performing type identification on the business data to obtain the data type of the business data;
[0007] determining a target accounting type of the business data based on the data type;
[0008] Determine the accounting data specification corresponding to the target accounting type;
[0009] Based on the data storage description information, obtaining feedback information for the business data;
[0010] Fusion of the accounting data specification corresponding to the target accounting type and the feedback information to obtain a data format specification corresponding to the business data;
[0011] Based on the data format specification file, the business data is processed to obtain the data to be calculated that complies with the data format specification;
[0012] The data to be accounted for is accounted for according to the target accounting rules corresponding to the target accounting type to obtain an accounting result for the business data.
[0013] Accordingly, an embodiment of the present application provides a service data processing device, including:
[0014] An acquisition module, configured to acquire business data of a business and data storage description information of the business data;
[0015] An identification module, configured to identify the type of the business data and obtain the data type of the business data;
[0016] A type determination module, configured to determine a target accounting type of the business data based on the data type;
[0017] A specification determination module is configured to determine an accounting data specification corresponding to the target accounting type; obtain feedback information for the business data based on the data storage description information; and obtain a data format specification corresponding to the business data by fusing the accounting data specification corresponding to the target accounting type and the feedback information;
[0018] A processing module, configured to process the business data based on the data format specification file to obtain data to be calculated that complies with the data format specification;
[0019] The accounting module is used to calculate the data to be calculated according to the target accounting rules corresponding to the target accounting type to obtain the accounting results of the business data.
[0020] In some embodiments of the present application, the identification module includes a determination submodule and an identification submodule, wherein:
[0021] A determination submodule, configured to determine the storage field where each sub-data in the business data is located, and extract identification information of the storage field;
[0022] The identification submodule is used to perform type identification on the sub-data corresponding to the storage field according to the identification information of the storage field, so as to determine the data type of each sub-data and obtain the data type of the business data.
[0023] In some embodiments of the present application, the type determination module includes a candidate submodule and a target submodule, wherein:
[0024] A candidate submodule, configured to determine a candidate accounting type of the business data according to the data type of each sub-data in the business data;
[0025] The target submodule is used to determine the target accounting type of the business data from the candidate accounting types.
[0026] In some embodiments of the present application, the determination submodule is specifically configured to:
[0027] Obtain the mapping relationship between accounting types and accounting data specifications;
[0028] Based on the mapping relationship, an accounting data specification corresponding to the target accounting type is determined.
[0029] In some embodiments of the present application, the acquisition submodule is specifically used to:
[0030] Displaying the data storage description information;
[0031] Acquire feedback information for the business data, where the feedback information is feedback on the selection and rejection of the business data made by the object with reference to the data storage description information.
[0032] In some embodiments of the present application, the data format specification includes a target data type and its corresponding data specification, and the processing module includes a screening submodule and a processing submodule, wherein:
[0033] A screening submodule, configured to screen out target sub-data corresponding to a target data type from the business data;
[0034] The processing submodule is used to process the target sub-data corresponding to each target data type based on the data specification of each target data type to obtain the data to be calculated that meets the data format specification. The data to be calculated includes all processed target sub-data to be calculated.
[0035] In some embodiments of the present application, the accounting module includes a determination submodule and an accounting submodule, wherein:
[0036] a determination submodule, configured to determine a target accounting rule corresponding to the target accounting type from a mapping relationship between accounting types and accounting rules;
[0037] The calculation submodule is used to calculate the data to be calculated based on the target calculation rules to obtain the calculation results of the business data.
[0038] In some embodiments of the present application, the calculation submodule is specifically used to:
[0039] Determining reference sub-data and comparison sub-data from the target sub-data to be calculated of the data to be calculated;
[0040] Based on the target accounting rule, the data records in the reference sub-data and the data records in the comparison sub-data are compared to obtain an accounting result of the business data.
[0041] Correspondingly, an embodiment of the present application further provides a storage medium, which stores a computer program. The computer program is suitable for loading by a processor to execute any business data processing method provided in the embodiment of the present application.
[0042] Correspondingly, an embodiment of the present application also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, any one of the business data processing methods provided in the embodiment of the present application is implemented.
[0043] The embodiment of the present application first obtains the business data of the business and the data storage description information of the business data, then performs type identification on the business data to obtain the data type of the business data, and then determines the target accounting type of the business data based on the data type, and then determines the data format specification corresponding to the business data according to the target accounting type and the data storage description information, and then processes the business data based on the file of the data format specification to obtain the data to be accounted for that meets the data format specification, and finally calculates the data to be accounted for according to the target accounting rules corresponding to the target accounting type to obtain the accounting result of the business data. This solution can process the business data through the data storage description information and target accounting type carried by the business, so that the processed business data (i.e., the data to be accounted for) can meet the requirements required for accounting, thereby realizing accounting for multiple businesses. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0045] Figure 1 This is a scenario diagram of a business data processing device provided in an embodiment of the present application;
[0046] Figure 2 This is a flowchart of a method for processing business data provided by an embodiment of the present application;
[0047] Figure 3 This is another flowchart of the business data processing method provided by an embodiment of the present application;
[0048] Figure 4 This is a page interaction diagram of the business data processing method provided in an embodiment of the present application;
[0049] Figure 5 This is another page interaction diagram of the business data processing method provided by an embodiment of the present application;
[0050] Figure 6 is a schematic diagram of an accounting system integrated with a business data processing method provided in an embodiment of the present application;
[0051] Figure 7 This is a schematic diagram of the architecture of an accounting system integrated with a business data processing method provided in an embodiment of the present application;
[0052] Figure 8This is a database diagram of an accounting system integrated with a business data processing method provided in an embodiment of the present application;
[0053] Figure 9 This is a schematic diagram of the structure of the service data processing device provided in an embodiment of the present application;
[0054] Figure 10 is another structural diagram of the business data processing device provided in an embodiment of the present application;
[0055] Figure 11 It is a structural diagram of the computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0056] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described in this application are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of this application.
[0057] The embodiment of the present application provides a business data processing method and device. Specifically, the embodiment of the present application can be integrated into a business data processing device, and the business data processing device can be integrated into a business data processing computer device, and the business data processing computer device can be an electronic device such as a terminal, and the terminal can be an electronic device such as a smart phone, a tablet computer, a laptop computer, and a personal computer, such as Figure 1 As shown, Figure 1 Schematic diagram of a scenario of a business data processing device provided in an embodiment of the present application. Figure 1 shown.
[0058] The terminal can send a request message to the server, such as a request message for requesting accounting; a request message for the user to delete business data with reference to data storage description information; a request message containing the target accounting type selected by the user for the business data, etc.
[0059] The business data processing computer equipment can also be electronic equipment such as servers. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, as well as big data and artificial intelligence platforms.
[0060] The server can Figure 1As shown, it is mainly used to obtain business data of a business and data storage description information of the business data, identify the type of the business data to obtain the data type of the business data, determine the target accounting type of the business data based on the data type, determine the data format specification corresponding to the business data based on the target accounting type and data storage description information, process the business data based on the data format specification file to obtain data to be accounted that meets the data format specification, and finally, calculate the data to be accounted according to the target accounting rules corresponding to the target accounting type to obtain the accounting results of the business data. The server can send the accounting results to the terminal.
[0061] It should be noted that Figure 1 The scenario diagram of the business data processing device shown is only an example. The business data processing device and scenario described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided by the embodiment of the present application. Ordinary technicians in this field can know that with the evolution of the business data processing device and the emergence of new business scenarios, the technical solution provided by the embodiment of the present application is also applicable to similar technical problems.
[0062] In this embodiment, the description will be made from the perspective of a service data processing device, which can be integrated into a terminal or a server.
[0063] like Figure 2 As shown, Figure 2 : is a flow chart of a business data processing method provided in an embodiment of the present application. The business data processing method may include:
[0064] 101. Obtain business data of the business and data storage description information of the business data.
[0065] In this application, business may include any content related to economic activities, business data may include accounting data that records economic activities, business data may be records of processes related to the flow of value within the business, and business data may also be voucher information, etc. For example, business data may be bank account change records, bank account balances, transaction orders (such as payment orders, refund orders, etc.), business balances, transaction vouchers, etc.
[0066] When recording business data, it can be based on certain recording rules. For example, business data can be appropriately marked and classified to facilitate quick understanding of its meaning when viewing the business data. The marking and classification process can be based on general rules, such as single-entry bookkeeping, etc.; it can also be combined with the actual situation of the business to set appropriate marking information as a recording rule. For example, set the label A to represent fruit sales. Usually, the self-set marking information and agreed rules can be combined, and the specific situation can be flexibly set in actual application.
[0067] The data storage description information may include the tag information used when recording data. Since different businesses can set the tag information themselves when recording business data, this application needs to obtain the data storage description information of the business data in order to better understand the business data, facilitate the operation of the business data, and ultimately complete the process of accounting for the business data.
[0068] For example, business data of business A is obtained. Business data includes data within the business between time point 00 and time point 01, as well as data on the bank side related to transactions within the business.
[0069] 102. Perform type identification on the business data to obtain the data type of the business data.
[0070] The data type refers to the type of business data. For example, data types can include balance data, transaction data, order data, bill data, and voucher data. The data type can be determined by the data storage description or the source of the business data. Business data can be a dataset containing multiple data types. Each data type in business data can contain multiple data items, and data types can also include subtypes, such as time data for recording time and amount data for recording amounts.
[0071] There are many ways to identify business data and obtain its data type. For example, the data type can be determined based on the characteristics of its subtypes, such as the number of subtypes, the recording method of subtypes, etc. It can also be identified based on the tags or special recording forms of the business data. For example, balance data can include currency symbols, time data can be recorded using specific data expressions, etc.
[0072] For example, by performing type identification on business data, the data types of the business data obtained include: business voucher data, business flow data and business balance data on the business side, and bank voucher data, bank flow data and bank balance data on the bank side related to the business.
[0073] In some embodiments, the step of “identifying the type of the business data to obtain the data type of the business data” may include:
[0074] Determine the storage field where each sub-data in the business data is located, and extract the identification information of the storage field; based on the identification information of the storage field, perform type identification on the sub-data corresponding to the storage field to determine the data type of each sub-data and obtain the data type of the business data.
[0075] The storage field can represent the storage location of the business data in the computer device. For example, a data can be stored at position a of database A. The storage field corresponds to the identification information. When the computer device stores the data, it can store the business data corresponding to the identification information in the storage field corresponding to the identification information. Therefore, the data type of the business data in the storage field can be determined by determining the identification information of the storage field. The storage field can store a type of several sub-data or a single sub-data. After all business data are identified, the business data of the same data type can be integrated according to the identification results to facilitate subsequent operations.
[0076] 103. Determine the target accounting type of business data based on the data type.
[0077] Accounting can be divided into several types based on the principles followed and the data used for accounting. Accounting types can include general accounting types as well as accounting types that are customized based on actual business conditions. For example, accounting can include account and document accounting. Account and document accounting can be the verification of the general ledger, detailed ledger, and balances with the accounting vouchers used for recording. For another example, accounting can include transaction accounting. Transaction accounting can be used to check whether there are any differences by comparing order data and billing data.
[0078] The target accounting type may include the specific accounting type selected when calculating the business data of a business. The target accounting type may be determined based on the data type of the business data, user settings, etc. For example, a user may configure the target accounting type for business data on a page of a device integrated with the business data processing method. For example, the target accounting type for the business data of business A may be configured as capital accounting or transaction accounting.
[0079] For example, based on the six data types of business (business voucher data, business flow data (including business balance data), bank voucher data, bank flow data (including bank balance data)), the target accounting types of business data can be determined to include account-to-account accounting and account-to-document accounting.
[0080] In some embodiments, the step of “determining the target accounting type of the business data based on the data type” may include:
[0081] According to the data type of each sub-data in the business data, candidate accounting types of the business data are determined; and from the candidate accounting types, a target accounting type of the business data is determined.
[0082] The accounting type can correspond to a specific data type. Therefore, the candidate accounting type that can be used to account for the business data can be determined based on the data type of the business data. Specifically, a mapping relationship table can be included between the data type and the accounting type. The computer device can randomly combine the obtained data types and search the mapping relationship table to see whether the combined data type group has a corresponding accounting type. When there is an accounting type for a type of data, it is also possible to directly search the mapping relationship table to see whether there is a corresponding accounting type for each data type of the business data. All existing accounting types are combined to form the candidate accounting types for the business data.
[0083] Candidate accounting types may include all accounting types that can be used to account for this business data. The process of determining the target accounting type of business data from the candidate accounting types may include multiple methods. For example, all candidate accounting types may be displayed on a page for users to select and configure. Alternatively, the resources required for each candidate accounting type to be calculated on a computer device may be estimated (this estimation may be combined with the number of business sub-data contained in this data type), and then combined with the overall data processing capabilities of the computer device (which may be measured by the maximum amount of resources that can be consumed during data processing), to determine the target accounting type that can better utilize the data processing capabilities of the computer device.
[0084] For example, based on the data type in the business data, the candidate accounting types of the business data include account-to-actual accounting, account-to-account accounting, and account-to-document accounting. Then, from these three candidate accounting types, the target accounting type of the business data can be determined: account-to-account accounting and account-to-document accounting.
[0085] 104. Determine the data format specification corresponding to the business data based on the target accounting type and data storage description information.
[0086] Data format specifications may include digital requirements for data form, quality, quantity, etc. After being generated, data format specifications need to be stored in a form that can be read and understood by computer devices. Determining data format specifications is a key step in implementing accounting operations.
[0087] In the process of determining data format specifications, the target accounting type and data storage description information are the most important sources. In addition, it can also be flexibly adapted based on the characteristics of the business itself, or adjusted through user operations.
[0088] For example, based on the target accounting type and data storage description information, determine the data format specification pp corresponding to the business data.
[0089] In some embodiments, the step of “determining a data format specification corresponding to the business data based on the target accounting type and the data storage description information” may include:
[0090] Determine the accounting data specifications corresponding to the target accounting type; obtain feedback information for the business data based on the data storage description information; integrate the accounting data specifications corresponding to the target accounting type and the feedback information to obtain the data format specifications corresponding to the business data.
[0091] The accounting data specification may include data specifications that enable business data to meet the requirements for performing accounting data operations, wherein the data specifications corresponding to different accounting types may be the same. In this case, the accounting data specification obtained is a general accounting data specification for all accounting types.
[0092] The data specifications corresponding to different accounting types may be different, so it is necessary to determine the accounting data specifications corresponding to the target accounting type. When there are multiple target accounting types, the accounting data specifications corresponding to each target accounting type can be integrated to determine a preliminary accounting data specification. Before actually performing different types of accounting, the data can be reprocessed according to the specific target accounting type, and then recalculated after processing.
[0093] Feedback information can also be a kind of data specification. Feedback information can include data specifications of relevant business data returned by other external objects (the objects can be users, smart devices, functional interfaces on computer devices, etc.) based on data storage description information. Specifically, since data storage description information can be the tag information used by the business when recording data, such tag information may vary greatly between different businesses, but data storage description information is essential as the basic information for understanding and using business data. Therefore, the meaning of business data can be determined through the data storage description information, and the format or quantity of business data can be flexibly adjusted according to the meaning, that is, feedback information can be obtained. For example, a trained neural network model can be used to implement semantic recognition of data storage description information and obtain adjustment information (i.e., feedback information) on business data.
[0094] For example, the accounting data specifications corresponding to the target accounting type are determined to be Specification 1 and Specification 2. Based on the data storage description information, feedback information (Information 3) for the business data is obtained, and Specification 1, Specification 2 and Information 3 are integrated to obtain the data format specification pp corresponding to the business data.
[0095] In some embodiments, the step of "determining the accounting data specification corresponding to the target accounting type" may include:
[0096] Obtain the mapping relationship between accounting types and accounting data specifications; based on the mapping relationship, determine the accounting data specifications corresponding to the target accounting type.
[0097] For example, a mapping relationship 1 between accounting types and accounting data specifications is obtained, and from the mapping relationship 1, the corresponding accounting data specification of the target accounting type aa is determined to be aa2.
[0098] In some embodiments, the step of “determining the accounting data specification corresponding to the target accounting type based on the mapping relationship” may include:
[0099] Display data storage description information; obtain feedback information on business data, which is the feedback made by the object on the selection and rejection of business data with reference to the data storage description information.
[0100] In this embodiment, the data storage description information can be displayed on a page of a computer device integrated with the business data processing method. Users can view and understand the data storage description information and then make feedback about the business data based on this information.
[0101] 105. Based on the data format specification file, process the business data to obtain the data to be accounted that complies with the data format specification.
[0102] The data to be accounted for can include accounting data that conforms to data format specifications and can be directly accounted for. The data format specifications can be stored in a computer-readable and understandable file. Based on this data format specification, the computer can determine the operational steps for processing the business data. By executing these operational steps on the business data, the data to be accounted for that conforms to the data format specification. Furthermore, the data format specification file can also directly store the operational steps for processing the business data, allowing operations to be directly executed on the business data to obtain the data to be accounted for.
[0103] For example, a file in a data specification format is called to process business data to obtain the data P to be calculated.
[0104] In some embodiments, the data format specification includes a target data type and its corresponding data specification. The step of "processing the business data based on the data format specification file to obtain data to be accounted for that complies with the data format specification" may include:
[0105] Filter out the target sub-data corresponding to the target data type from the business data; based on the data specifications of each target data type, process the target sub-data corresponding to each target data type to obtain the data to be calculated that meets the data format specifications. The data to be calculated includes all processed target sub-data to be calculated.
[0106] Business data may contain several sub-data, each sub-data corresponds to a data type. When performing accounting, sub-data of a specific data type in the business data may be required. Therefore, the data format specification may include the target data type. The process of processing business data may include filtering out the target sub-data corresponding to the target data type from the business data. After filtering out the target sub-data, each type of target sub-data may have its corresponding data specification. Therefore, each target sub-data may be processed according to the data specification corresponding to each target sub-data to obtain multiple processed target sub-data to be accounted for that conform to its own data specification. All processed target sub-data to be accounted for are integrated together to obtain the business data to be accounted for.
[0107] For example, according to the target data type, target sub-data is filtered out from the business data, including: business order data, business flow data and business balance data. Then, according to the data specification Y1 of the business order data, the data specification Y2 of the business flow data, and the data specification Y3 of the business balance data, the business order data, business flow data and business balance data are processed respectively to obtain the data to be calculated.
[0108] 106. According to the target accounting rules corresponding to the target accounting type, the accounting data is calculated to obtain the accounting results of the business data.
[0109] The calculation results can include partial data indicating any inconsistencies in the business data. Different calculation types use different calculation rules when performing data calculations. Therefore, a target calculation rule corresponding to the target calculation type can be determined. The target data to be calculated can then be calculated based on this target accounting rule to obtain the business data calculation results. When all data in the data to be calculated correspond to each other, the calculation is correct, and the calculation result can be considered correct. However, when mismatched or missing data is detected during the calculation, this data needs to be processed, and the accounting result can be considered mismatched or missing data.
[0110] After obtaining the accounting results, the accounting results can be displayed on a page of a computer device for the user who initiated the accounting to view; the accounting results can also be transmitted, for example, the accounting results can be transmitted to the business party for the business party's users to view; further content (such as financial statements, alarm information, etc.) can also be generated based on this accounting result. For example, financial statements of this business can be generated according to the accounting results for relevant users to review.
[0111] In some embodiments, the step of “calculating the data to be calculated according to the target calculation rules corresponding to the target calculation type to obtain the calculation results of the business data” may include:
[0112] From the mapping relationship between accounting types and accounting rules, determine the target accounting rules corresponding to the target accounting type; based on the target accounting rules, calculate the accounting data to obtain the accounting results of the business data.
[0113] For example, you can obtain the mapping relationship 2 between accounting types and accounting rules, and from the mapping relationship 2, determine the target accounting rule aa1 corresponding to the target accounting type aa. Then, you can calculate the accounting data based on this target accounting rule aa1 to obtain the accounting results of the business data.
[0114] In some embodiments, the step of “calculating the data to be calculated based on the target calculation rule to obtain the calculation result of the business data” may include:
[0115] From the target sub-data to be accounted for, reference sub-data and comparison sub-data are determined; based on the target accounting rules, the data records in the reference sub-data and the data records in the comparison sub-data are compared to obtain the accounting results of the business data.
[0116] For example, when performing account reconciliation, all account transactions at the current time and before the current time and the account balance at the current time can be reconciled. At this time, the account balance can be determined as the reference sub-data and the account transaction as the comparison sub-data. Each amount data in the account transaction can be reconciled to obtain a reconciliation balance, and then the reconciliation balance can be compared to see if they are the same. If they are the same, then the account balance and account transaction data at the current time have no errors and are basically accurate. The reconciliation result can be expressed in text or other forms, such as "no abnormality found" on the page; if they are not the same, it indicates that there is erroneous data in the account transaction or account balance.
[0117] The embodiment of the present application first obtains the business data of the business and the data storage description information of the business data, then performs type identification on the business data to obtain the data type of the business data, and then determines the target accounting type of the business data based on the data type, and then determines the data format specification corresponding to the business data according to the target accounting type and the data storage description information, and then processes the business data based on the file of the data format specification to obtain the data to be accounted for that meets the data format specification, and finally calculates the data to be accounted for according to the target accounting rules corresponding to the target accounting type to obtain the accounting result of the business data. This solution can process the business data through the data storage description information and target accounting type carried by the business, so that the processed business data (i.e., the data to be accounted for) can meet the requirements required for accounting, thereby realizing accounting for multiple businesses.
[0118] The method described in the above embodiment is further described in detail below with examples.
[0119] like Figure 3 As shown, Figure 3 A flow chart of a business data processing method provided in an embodiment of the present application is provided. This embodiment introduces the business data processing method by taking an application that integrates the business data processing method of the present application as an example, wherein the application can be located on a terminal, and the application on the terminal can provide users with pages that can be viewed and operated, and the terminal can complete the business data processing process through interaction with the server.
[0120] The scenario business data processing method may include:
[0121] 201. The terminal receives business information, which includes business identification information and a target accounting type of the business, and sends the business information to the server.
[0122] The service identification information may include information that uniquely identifies a service, and one piece of service identification information may correspond to one service.
[0123] For example, the application page on the terminal can be as follows Figure 4 The figure contains commonly used businesses, including business A, business B, business C, business D and business E. Users can select business A and calculate business A. After selecting the business to be calculated, the application can display the following Figure 5 This page allows the user to configure the target accounting type for business A. The terminal can send the business identification information of business A determined by the user and the target accounting type for business A (such as fund accounting) to the server.
[0124] in, Figure 5Account reconciliation in the business accounting system utilizes accounting principles to verify account balances, transaction consistency, and debit / credit balances within the business accounting system. At the end of the day, accounting sub-accounts and general ledger information can be generated. Reconciliation timeliness can include real-time and T+1 accounting reconciliation (reconciling business data from the previous day, or from the previous day and prior, on the next day). Real-time accounting reconciliation can perform sub-account reconciliation within seconds and general ledger reconciliation within minutes. T+1 accounting reconciliation can generate accounting account information and general ledger information.
[0125] Transaction accounting verifies the consistency of internal and external business information flows and addresses discrepancies. By obtaining order data from the internal payment system and billing data from the external bank system, transaction accounting identifies discrepancies and resolves them through result management, ensuring consistency of internal and external information flows. Timeliness of reconciliation can be achieved on an hourly or daily basis. Transaction accounting enables bilateral reconciliation, reconciliation result processing, detection and alarm generation, and reconciliation statistical analysis and reporting.
[0126] Funds accounting verifies the consistency of internal and external business information flows and addresses discrepancies. Funds accounting manages funds in external bank accounts. Daily, internal account balances are reconciled with external actual balances (external account balances), and various funds in transit and discrepancies are reconciled and processed to ensure consistency between internal and external accounts. By extracting, cleaning, and analyzing data from internal payment systems (including core account systems and order systems), it obtains business vouchers for the payment platform's operations. Business vouchers (external account statements and voucher sheets) from external systems are then processed and prepared for basic accounting. Batch journal entries are recorded and posted to generate corresponding journal entries, generating internal accounting reports. Finance manages funds in transit and discrepancies through this system.
[0127] Business accounting can include verifying the integrity of a complete transaction's data and the security of its internal accounts. A complete transaction typically involves multiple data records. This integrity is ensured by verifying the integrity of individual lines or areas, as well as verifying internal transaction data. Verification can be performed hourly or daily.
[0128] 202. The server obtains the business data of the business and the data storage description information of the business data according to the business identification information.
[0129] For example, after receiving the service identification information of service A, the server can retrieve the service data of service A and the data storage description information of the service data, and store the service data in the memory allocated by the server for service A.
[0130] 203. The server determines the target data specification corresponding to the target accounting type based on the mapping relationship between the accounting type and the data specification.
[0131] 204. The server determines a data format specification of the business data based on the target data specification and the data storage description information.
[0132] For example, the server can identify the meaning of data storage description information and generate business data selection and rejection rules based on the meaning. Then, the selection and rejection rules and target data specifications can be integrated. Specifically, all the rules contained in the two parties can be combined to obtain the data format specification. The data format specification can be stored in the server in the form of a file.
[0133] 205. The server processes the business data through the file with the data format specification to obtain the data to be calculated that meets the data format specification.
[0134] 206. The server determines the target accounting rule corresponding to the target accounting type, and calculates the accounting data according to the target accounting rule to obtain the accounting result of the business data.
[0135] 207. The server generates result information of the business based on the calculation result of the business data, and sends the result information to the terminal.
[0136] In this embodiment, the terminal receives business information, which includes business identification information and the target accounting type of the business, and sends the business information to the server. The server obtains the business data of the business and the data storage description information of the business data based on the business identification information. The server determines the target data specification corresponding to the target accounting type based on the mapping relationship between the accounting type and the data specification. The server determines the data format specification of the business data based on the target data specification and the data storage description information. The server processes the business data through the data format specification file to obtain the data to be accounted that meets the data format specification. The server determines the target accounting rule corresponding to the target accounting type and calculates the data to be accounted according to the target accounting rule to obtain the accounting result of the business data. Finally, the server generates the result information of the business based on the accounting result of the business data and sends this result information to the terminal. This application can process the business data according to the data storage description information of the business and the target data specification to obtain the data to be accounted that meets the accounting requirements, and can realize the accounting of different businesses.
[0137] The method described in the above embodiment is further described in detail below with examples.
[0138] In this embodiment, the business data processing method can be integrated into an accounting system. The accounting system can refer to Figure 6The accounting system can include a page layer, an accounting layer, and an underlying storage layer. The page layer can implement access to multiple businesses (Business A, Business B, Business C, and Business D in the figure are examples, but are not limited to these). The accounting layer can implement data management (managing business data), account accounting, transaction accounting, permission configuration (such as viewing and operating permissions for data, accounting operations, and accounting results), business accounting, and fund accounting. Among them, the business data that data management can store and process includes internal account transactions, internal vouchers, external vouchers, and physical fund transactions (i.e., bank transactions).
[0139] Error management in account reconciliation, transaction reconciliation, and fund reconciliation involves processing the results (primarily addressing discrepancies). Besides error management, the results can also be returned to the business side for further processing. A cash flow trial calculation in fund reconciliation involves checking bank transaction data and bank balance data to determine their consistency. Consistency in business reconciliation refers to determining the completeness of data records across all data types for a complete transaction. Transit accounts are internal accounts, and here, business reconciliation can verify the security of internal accounts.
[0140] Specifically, when performing accounting, the architecture of the accounting system can be as follows: Figure 7 As shown, the architecture of the accounting system may include an access layer, a data processing layer, an accounting layer and a result layer. Specifically, business access may be achieved through a unified access platform. The access layer may include business registration (determining that the business will be accounted for in this accounting system), data rules and verification rules (based on which data format specifications may be obtained), and result docking (which may refer to operations such as displaying the accounting results on the page after obtaining the accounting results or sending the accounting results to the business party). Based on the data rules, verification rules, and the storage data description information carried by the business data, the business rules (i.e., data format specifications) may be determined.
[0141] After completing data preparation (such as packaging data into data packets), the data processing layer can send the original data to be accounted for (i.e., business data) to the accounting system, and the data processing layer of the accounting system will process the data. The data processing layer can process the data according to business rules to obtain processed data (i.e., data to be accounted for). In addition, data processing can also include task management of tasks within the system (tasks can be functional operations performed by the system, such as financial accounting, data processing, etc.) (task management can include task scheduling), rule engine (the process of obtaining data format specifications can be completed through the rule engine), data screening (which can be the identification of the data type of business data and related operations), and data preprocessing (before the formal accounting results are obtained, the data of the previous period can be accounted for to obtain the accounting results of the previous period. When the formal accounting is performed, the pressure on data processing of the accounting system can be reduced).
[0142] The accounting layer can perform account accounting, fund accounting, payment accounting, and business accounting. After accounting is completed, unified accounting result management can manage all accounting results. For example, data reports and detection alarms can be generated based on the accounting results.
[0143] In addition, the accounting system can refer to Figure 8 The accounting system can be an accounting center, which can include a central platform public library, as well as business public libraries, account accounting libraries, payment accounting libraries, fund accounting libraries, and business accounting libraries for different business configurations. Each library can be an independent database or an independent library table within a database.
[0144] The accounting system of this embodiment can realize accounting for multiple businesses through its unique architecture and data storage method.
[0145] To facilitate better implementation of the business data processing method provided in the embodiment of the present application, the embodiment of the present application also provides a device based on the above business data processing method. The meanings of the terms are the same as those in the above business data processing method, and the specific implementation details can be referred to the description in the method embodiment.
[0146] like Figure 9 As shown, Figure 9 This is a schematic diagram of the structure of a business data processing device provided in an embodiment of the present application, wherein the business data processing device may include an acquisition module 301, an identification module 302, a type determination module 303, a specification determination module 304, a processing module 305, and an accounting module 306, wherein:
[0147] An acquisition module 301 is used to acquire business data of a business and data storage description information of the business data;
[0148] Identification module 302, used to identify the type of business data and obtain the data type of the business data;
[0149] A type determination module 303 is used to determine a target accounting type of the business data based on the data type;
[0150] A specification determination module 304 is used to determine the data format specification corresponding to the business data based on the target accounting type and data storage description information;
[0151] Processing module 305, for processing business data based on the data format specification file to obtain data to be calculated that complies with the data format specification;
[0152] The accounting module 306 is used to calculate the accounting data according to the target accounting rules corresponding to the target accounting type to obtain the accounting results of the business data.
[0153] In some embodiments of the present application, the identification module includes a determination submodule and an identification submodule, wherein:
[0154] A determination submodule is used to determine the storage field where each sub-data in the business data is located and extract identification information of the storage field;
[0155] The identification submodule is used to perform type identification on the sub-data corresponding to the storage field according to the identification information of the storage field, so as to determine the data type of each sub-data and obtain the data type of the business data.
[0156] In some embodiments of the present application, the type determination module includes a candidate submodule and a target submodule, wherein:
[0157] The candidate submodule is used to determine the candidate accounting type of the business data according to the data type of each sub-data in the business data;
[0158] The target submodule is used to determine the target accounting type of the business data from the candidate accounting types.
[0159] In some embodiments of the present application, Figure 10 As shown, the specification determination 304 module includes a determination submodule 3041, an acquisition submodule 3042 and a fusion submodule 3043, wherein:
[0160] Determine submodule 3041, used to determine the accounting data specification corresponding to the target accounting type;
[0161] An acquisition submodule 3042 is configured to acquire feedback information on the business data based on the data storage description information;
[0162] The fusion submodule 3043 is used to fuse the accounting data specification and feedback information corresponding to the target accounting type to obtain the data format specification corresponding to the business data.
[0163] In some embodiments of the present application, the determination submodule is specifically configured to:
[0164] Obtain the mapping relationship between accounting types and accounting data specifications;
[0165] Based on the mapping relationship, determine the accounting data specification corresponding to the target accounting type.
[0166] In some embodiments of the present application, the acquisition submodule is specifically used to:
[0167] Display data storage description information;
[0168] Get feedback information about business data. The feedback information is the feedback on the selection and rejection of business data made by the object with reference to the data storage description information.
[0169] In some embodiments of the present application, the data format specification includes a target data type and its corresponding data specification, and the processing module includes a screening submodule and a processing submodule, wherein:
[0170] The filtering submodule is used to filter out target sub-data corresponding to the target data type from the business data;
[0171] The processing submodule is used to process the target sub-data corresponding to each target data type based on the data specification of each target data type to obtain the data to be calculated that meets the data format specification. The data to be calculated includes all processed target sub-data to be calculated.
[0172] In some embodiments of the present application, the accounting module includes a determination submodule and an accounting submodule, wherein:
[0173] A determination submodule is used to determine the target accounting rule corresponding to the target accounting type from the mapping relationship between the accounting type and the accounting rule;
[0174] The accounting submodule is used to calculate the accounting data based on the target accounting rules and obtain the accounting results of the business data.
[0175] In some embodiments of the present application, the calculation submodule is specifically used to:
[0176] Determine reference sub-data and comparison sub-data from target sub-data to be calculated of the data to be calculated;
[0177] Based on the target accounting rules, the data records in the reference sub-data and the data records in the comparison sub-data are checked to obtain the accounting results of the business data.
[0178] In an embodiment of the present application, the acquisition module 301 first acquires the business data of the business and the data storage description information of the business data, and then the identification module 302 performs type identification on the business data to obtain the data type of the business data, and the type determination module 303 then determines the target accounting type of the business data based on the data type, and the specification determination module 304 determines the data format specification corresponding to the business data according to the target accounting type and the data storage description information, and the processing module 305 then processes the business data based on the data format specification file to obtain the data to be accounted for that conforms to the data format specification, and finally the accounting module 306 calculates the data to be accounted for according to the target accounting rules corresponding to the target accounting type to obtain the accounting result of the business data. This solution can process the business data through the data storage description information and the target accounting type carried by the business, so that the processed business data (i.e., the data to be accounted for) can meet the requirements required for accounting, thereby realizing accounting for multiple businesses.
[0179] In addition, the embodiment of the present application also provides a computer device, which can be a terminal or a server, such as Figure 11 , which shows a schematic diagram of the structure of the computer device involved in the embodiment of the present application, specifically:
[0180] The computer device may include one or more processing core processors 401, one or more computer readable storage media memories 402, a power supply 403, an input unit 404 and other components. Those skilled in the art will understand that Figure 11 The computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently.
[0181] Processor 401 is the control center of the computer device. It utilizes various interfaces and lines to connect the various components of the entire computer device. By running or executing software programs and / or modules stored in memory 402 and accessing data stored in memory 402, it performs various functions of the computer device and processes data, thereby performing overall testing of the computer device. Optionally, processor 401 may include one or more processing cores; preferably, processor 401 may integrate an application processor and a modem processor, wherein the application processor primarily processes the operating system, user interfaces, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 401.
[0182] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
[0183] The computer device also includes a power supply 403 for supplying power to various components. Preferably, the power supply 403 can be logically connected to the processor 401 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The power supply 403 can also include one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and other arbitrary components.
[0184] The computer device may further include an input unit 404, which may be configured to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0185] Although not shown, the computer device may further include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 401 in the computer device will load the executable files corresponding to one or more application processes into the memory 402 according to the following instructions, and the processor 401 will run the application stored in the memory 402 to implement various functions as follows:
[0186] Obtain the business data of the business and the data storage description information of the business data; identify the type of the business data to obtain the data type of the business data; determine the target accounting type of the business data based on the data type; determine the data format specification corresponding to the business data based on the target accounting type and the data storage description information; process the business data based on the data format specification file to obtain the data to be accounted that meets the data format specification; calculate the data to be accounted according to the target accounting rules corresponding to the target accounting type to obtain the accounting results of the business data.
[0187] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.
[0188] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be accomplished by a computer program, or by controlling related hardware through a computer program. The computer program may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0189] To this end, an embodiment of the present application further provides a storage medium storing a computer program that can be loaded by a processor to execute the steps of any of the business data processing methods provided in the embodiments of the present application. For example, the computer program can execute the following steps:
[0190] Obtain the business data of the business and the data storage description information of the business data; identify the type of the business data to obtain the data type of the business data; determine the target accounting type of the business data based on the data type; determine the data format specification corresponding to the business data based on the target accounting type and the data storage description information; process the business data based on the data format specification file to obtain the data to be accounted that meets the data format specification; calculate the data to be accounted according to the target accounting rules corresponding to the target accounting type to obtain the accounting results of the business data.
[0191] The storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0192] Since the computer program stored in the storage medium can execute the steps in any business data processing method provided in the embodiments of the present application, the beneficial effects that can be achieved by any business data processing method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0193] The above is a detailed introduction to a business data processing method and device provided in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, based on the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A business data processing method, characterized in that: include: Obtaining business data of a business and data storage description information of the business data; Performing type identification on the business data to obtain the data type of the business data; Determining a target calculation type for the business data based on resources consumed when calculating the data type on a computer device and the data processing capability of the computer device when calculating; Determine the accounting data specification corresponding to the target accounting type; Based on the data storage description information, obtaining feedback information for the business data, the feedback information including a data specification related to the business data adjustment returned by an external object based on the data storage description information, the external object including a user, a smart device, and a functional interface on a computer device; Fusion of the accounting data specification corresponding to the target accounting type and the feedback information to obtain a data format specification corresponding to the business data; Based on the data format specification file, the business data is processed to obtain the data to be calculated that complies with the data format specification; The data to be accounted for is accounted for according to the target accounting rules corresponding to the target accounting type to obtain an accounting result for the business data.
2. The method according to claim 1, characterized in that The performing type identification on the business data to obtain the data type of the business data includes: Determine the storage field where each sub-data in the business data is located, and extract identification information of the storage field; According to the identification information of the storage field, the type of the sub-data corresponding to the storage field is identified to determine the data type of each sub-data, and the data type of the business data is obtained.
3. The method according to claim 2, characterized in that The determining the target accounting type of the business data based on the data type includes: Determining a candidate accounting type for the business data according to the data type of each sub-data in the business data; A target accounting type of the business data is determined from the candidate accounting types.
4. The method according to claim 1, wherein The determining of the accounting data specification corresponding to the target accounting type includes: Obtain the mapping relationship between accounting types and accounting data specifications; Based on the mapping relationship, an accounting data specification corresponding to the target accounting type is determined.
5. The method according to claim 1, wherein The obtaining feedback information for the business data based on the data storage description information includes: Displaying the data storage description information; Acquire feedback information for the business data, where the feedback information is feedback on the selection and rejection of the business data made by the object with reference to the data storage description information.
6. The method according to claim 1, characterized in that The data format specification includes the target data type and its corresponding data specification, The processing of the business data based on the file of the data format specification to obtain the data to be calculated that complies with the data format specification includes: Filtering target sub-data corresponding to the target data type from the business data; Based on the data specification of each target data type, the target sub-data corresponding to each target data type is processed to obtain data to be calculated that meets the data format specification, and the data to be calculated includes all processed target sub-data to be calculated.
7. The method according to claim 6, characterized in that The step of calculating the data to be calculated according to the target calculation rule corresponding to the target calculation type to obtain the calculation result of the business data includes: Determining the target accounting rule corresponding to the target accounting type from the mapping relationship between the accounting type and the accounting rule; Based on the target accounting rules, the data to be accounted for is calculated to obtain an accounting result of the business data.
8. The method according to claim 7, characterized in that The step of calculating the data to be calculated based on the target calculation rule to obtain the calculation result of the business data includes: Determining reference sub-data and comparison sub-data from the target sub-data to be calculated of the data to be calculated; Based on the target accounting rule, the data records in the reference sub-data and the data records in the comparison sub-data are compared to obtain an accounting result of the business data.
9. A business data processing device, characterized in that: include: An acquisition module, configured to acquire business data of a business and data storage description information of the business data; An identification module, configured to identify the type of the business data and obtain the data type of the business data; a type determination module, configured to determine a target accounting type for the business data based on resources consumed when the data type is calculated on a computer device and the data processing capability of the computer device when performing the calculation; a specification determination module for determining an accounting data specification corresponding to the target accounting type; obtaining feedback information regarding the business data based on the data storage description information, the feedback information including data specifications regarding adjustments to the business data returned by external objects based on the data storage description information, the external objects including users, smart devices, and functional interfaces on computer devices; and fusing the accounting data specification corresponding to the target accounting type with the feedback information to obtain a data format specification corresponding to the business data; A processing module, configured to process the business data based on the data format specification file to obtain data to be calculated that complies with the data format specification; The accounting module is used to calculate the data to be calculated according to the target accounting rules corresponding to the target accounting type to obtain the accounting results of the business data.
10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps in the business data processing method described in any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Accounting method, device, system and electronic device
CN109146658A
Data conversion method and device
CN110347732A