Data processing method and device, equipment and storage medium
By comparing business data and financial data, obtaining change records and updating abnormal data, the problem of data inconsistency in the business and financial integration model is solved, and the accuracy and integration of data processing are improved.
Patent Information
- Application Number
- CN202311687954.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-08
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2043-12-08
AI Technical Summary
Under the integrated business and financial operation mode, the inconsistency between business data and financial data leads to the difficulty of data verification and integration, increasing the risk of decision-making errors.
By obtaining business data and financial data, compare the inventory balance of the same account in the business data and the account balance in the financial data. If it is inconsistent, obtain the change records of each material, determine the abnormal business vouchers, and update the business data and financial data.
The consistency verification between financial data and business data is realized. By changing records and positioning abnormal data, the abnormal data is updated to improve data accuracy, and the integration of business data and financial data is promoted.
Smart Images

Figure CN120125358A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of data processing, and particularly to a data processing method, apparatus, device and storage medium. Background Art
[0002] With the development of data processing technology, the operation mode of business-finance integration has gradually become the mainstream in the financial management industry. The operation mode of business-finance integration means that in the case of business occurrence, business data and financial data are automatically generated according to the business vouchers of the business occurrence, realizing the integration of business data and financial data. Summary of the Invention
[0003] The embodiments of the present application provide a data processing method, apparatus, device and storage medium, which can be used to improve the accuracy of data processing in the operation mode of business-finance integration. The technical solution is as follows:
[0004] On the one hand, a data processing method is provided. The method includes:
[0005] A processing device obtains business data and financial data. The business data includes the inventory balances corresponding to multiple materials respectively, and the financial data includes the account balances corresponding to multiple accounts respectively. One account corresponds to at least one material;
[0006] For any one of the multiple accounts, the processing device obtains the first account balance corresponding to the any one of the accounts according to the financial data, and obtains the first inventory balance corresponding to the any one of the accounts according to the business data. The first inventory balance is the sum of the inventory balances of the materials corresponding to the any one of the accounts;
[0007] In the case where the first account balance is inconsistent with the first inventory balance, the processing device obtains the change records of the materials corresponding to the any one of the accounts. The change records include at least one group of change information. Any group of change information includes a change amount, a change coefficient and a balance before change. One group of change information corresponds to one business voucher;
[0008] The processing device determines the business vouchers with anomalies based on the change records of the materials, and the business vouchers with anomalies are used to update at least one of the business data and the financial data.
[0009] On the other hand, a data processing apparatus is provided. The apparatus is applied to a processing device and includes:
[0010] A first obtaining module, configured to obtain business data and financial data. The business data includes the inventory balances corresponding to multiple materials respectively, and the financial data includes the account balances corresponding to multiple accounts respectively. One account corresponds to at least one material;
[0011] A second acquisition module, configured to, for any one of the multiple subjects, acquire a first account balance corresponding to the any one of the subjects according to the financial data, and acquire a first inventory balance corresponding to the any one of the subjects according to the business data, where the first inventory balance is the sum of the inventory balances of the various materials corresponding to the any one of the subjects;
[0012] A third acquisition module, configured to, when the first account balance is inconsistent with the first inventory balance, acquire change records of the various materials corresponding to the any one of the subjects, where the change records include at least one set of change information, and any one set of change information includes a change amount, a change coefficient, and a balance before change, and one set of change information corresponds to one business voucher;
[0013] A determination module, configured to determine a business voucher with an anomaly based on the change records of the various materials, where the business voucher with an anomaly is used to update at least one of the business data and the financial data.
[0014] On the other hand, a computer device is further provided, where the computer device includes a processor and a memory, and at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor, so that the computer device implements the data processing method described in any of the above aspects.
[0015] On the other hand, a computer-readable storage medium is further provided, where at least one computer program is stored in the computer-readable storage medium, and the at least one computer program is loaded and executed by a processor, so that a computer implements the data processing method described in any of the above aspects.
[0016] On the other hand, a computer program product or a computer program is further provided, where the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the data processing method described in any of the above aspects.
[0017] The technical solution provided by the embodiments of the present application at least brings the following beneficial effects:
[0018] The technical solution provided by the embodiments of this application realizes the consistency check between financial data and business data by comparing the inventory balance in business data and the account balance in financial data for the same subject. And by obtaining the change records, in the case where the financial data and the business data are inconsistent, the abnormal business vouchers can be determined through the change records, so as to correspondingly update at least one of the business data and the financial data based on the abnormal business vouchers, promoting the integration of business data and financial data and improving the accuracy of data processing. Brief Description of the Drawings
[0019] In order to more clearly illustrate the technical solutions in the embodiments of this application, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of this application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0020] Figure 1 It is a schematic diagram of the implementation environment of a data processing method provided by the embodiments of this application;
[0021] Figure 2 It is a flowchart of a data processing method provided by the embodiments of this application;
[0022] Figure 3 It is a schematic diagram of the structure of a data processing device provided by the embodiments of this application;
[0023] Figure 4 It is a schematic diagram of the structure of a server provided by the embodiments of this application;
[0024] Figure 5 It is a schematic diagram of the structure of a terminal provided by the embodiments of this application. Detailed Embodiments
[0025] To make the purpose, technical solutions and advantages of this application clearer, the embodiments of this application will be further described in detail below in conjunction with the drawings.
[0026] It should be noted that the terms "first", "second", etc. (if any) in the specification of this application are used to distinguish similar objects and do not necessarily describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of this application described here can be implemented in an order other than those illustrated or described here. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. On the contrary, they are only examples of devices and methods consistent with some aspects of this application.
[0027] With the complexity of enterprise management, the integration between business data and financial data has become a requirement for enterprise informatization construction. The disconnection between business data and financial data increases the difficulty of data verification and integration, leading to problems such as inconsistent business data and financial data and decision-making errors. Therefore, the operation mode of business-finance integration has gradually become the mainstream in the financial management industry. The operation mode of business-finance integration means that in the case of business occurrence, business data and financial data are automatically generated based on business vouchers of the business occurrence, so as to realize the integrated management of business data and financial data.
[0028] The embodiments of the present application provide a data processing method, which can improve the accuracy of data processing in the operation mode of business-finance integration. Please refer to Figure 1 , which shows a schematic diagram of the implementation environment of the data processing method provided by the embodiments of the present application. The implementation environment may include: a computer device 101.
[0029] Among them, the embodiments of the present application do not limit the product form of the computer device 101. No matter what product form it is, the computer device 101 can execute the data processing method provided by the embodiments of the present application. Optionally, the computer device 101 may be a terminal or a server. The terminal can be any electronic product that can perform human-computer interaction with the user in one or more ways such as a keyboard, a touchpad, a touch screen, a remote control, voice interaction, or a handwriting device. For example, a PC (Personal Computer), a mobile phone, a smart phone, a PDA (Personal Digital Assistant), a wearable device, a PPC (Pocket PC), a tablet computer, a smart car machine, a smart TV, a smart speaker, etc. The server can be a single server, a server cluster composed of multiple servers, or a cloud computing service center.
[0030] Those skilled in the art should understand that the above-mentioned computer device 101, as well as the terminal and the server, are only examples. Other existing or future possible computer devices 101, as well as the terminal or the server, if applicable to the present application, should also be included within the protection scope of the present application and are hereby incorporated by reference.
[0031] The embodiments of the present application provide a data processing method. Taking the processing device executing this method as an example, please refer to Figure 2 , Figure 2 is a flowchart of a data processing method provided by the embodiments of the present application. This method can be applied to Figure 1 the implementation environment shown, for example, the processing device can be Figure 1 the computer device 101 shown. As Figure 2As shown, the data processing method includes but is not limited to the following steps 201-step 204.
[0032] Step 201, the processing device obtains business data and financial data. The business data includes the inventory balances corresponding to multiple materials respectively, and the financial data includes the account balances corresponding to multiple accounts respectively. One account corresponds to at least one material.
[0033] In the embodiment of the present application, the way for the processing device to obtain business data and financial data can be that, in the case of a business occurrence, the entered business vouchers are received, and the business data and financial data corresponding to the business vouchers are generated through a business model. Optionally, the business model can be a pre-trained machine model or an imported template, etc. The embodiment of the present application does not limit the business model, as long as it can automatically generate the business data and financial data corresponding to the business vouchers. The business vouchers include the relevant information of the business occurrence. For example, the business vouchers include but are not limited to the business occurrence time, business type, business amount, etc. Or, the way for the processing device to obtain business data and financial data can also be that, in the case of a business occurrence, the entered business data and financial data are received.
[0034] Among them, the business data indicates the relevant data of the materials stored in the warehouse, and the business data includes the inventory balances corresponding to multiple materials respectively. One material can be a single item or a set of items. For example, one material can be a notebook; or, one material can be a combination of a notebook and a ballpoint pen. The materials can be flexibly defined according to the specific application process. The inventory balances corresponding to multiple materials respectively represent the values corresponding to multiple materials. In addition to using the balance to represent the value of the materials, other representation methods such as price can also be used. The embodiment of the present application takes the balance as an example for introduction. Optionally, the inventory balance can be a numerical value, or the product of quantity and unit price.
[0035] The financial data indicates the data related to the materials recorded in the financial ledger, and the financial data includes the account balances corresponding to multiple accounts respectively. An account is a category for classifying and accounting for the specific contents of different materials. In the embodiment of the present application, different materials are classified into different accounts, so any account corresponds to at least one material, and the account balance of any account is related to the inventory balance of the materials belonging to the any account. The corresponding relationship between the account and the material can be set according to experience, or flexibly adjusted according to the application scenario. The embodiment of the present application does not make a limit.
[0036] After the processing device obtains business data and financial data, the business data and financial data can be stored. The embodiments of the present application do not limit the storage form of the business data and financial data. For example, it can be stored in the form of a table. Taking the table for storing business data as the material inventory value balance table and the table for storing financial data as the financial account balance table as an example, the financial account balance table can be as shown in Table 1, and the material inventory value balance table can be as shown in Table 2.
[0037] When the processing device stores the material inventory value balance table and the financial account balance table, when the processing device obtains business data and financial data next time, it can directly obtain business data according to the material inventory value balance table and obtain financial data according to the financial account balance table. The embodiments of the present application illustrate the implementation process of obtaining financial data according to the financial account balance table and obtaining business data according to the material inventory value balance table.
[0038] Referring to Table 1, the financial account balance table includes account names and account balances. The account names indicate different accounts, and the account balances indicate the account balances of different accounts, that is, the account balances corresponding to multiple accounts respectively. In addition, the financial account balance table can also include information such as account codes and statistical times to improve the information integrity of the financial account balance table.
[0039] Table 1
[0040]
[0041] Exemplarily, the account name is the first account, the account code is 1401001, the account balance is 300, and the statistical time of the account balance of 300 is August 1, 2023. After the processing device obtains the financial account balance table, the financial data can be obtained by means of keyword query. Among them, the keyword can be an account name or an account code, etc. For example, through the keyword "the first account", the account balance in the same row as the account name "the first account" can be queried in the financial account balance table, that is, the account balance corresponding to the first account.
[0042] Referring to Table 2, the material inventory value balance table includes the material name and the inventory balance, that is, the inventory balances corresponding to multiple materials respectively. In addition, the material inventory value balance table also includes information such as the account name, the inventory quantity, the inventory location, and the statistical time of the inventory balance, so as to improve the information integrity of the material inventory value balance table. Through the material inventory value balance table, the inventory balances of at least one material corresponding to different accounts can be obtained. For the convenience of description, the embodiments of the present application take the business data of multiple materials corresponding to the first account as an example for illustration. Among them, there may be multiple material inventory value balance tables, and each material may be recorded on different material inventory balance tables. It can also be understood that the materials corresponding to the same account can be recorded in different material inventory value balance tables. The processing device can obtain the business information of multiple materials corresponding to the same account from different material inventory balance tables, so as to facilitate the verification and analysis of one account.
[0043] Table 2
[0044]
[0045] Exemplarily, the first account includes three materials: ballpoint pens, notebooks, and pens. The inventory location of the ballpoint pens is the first warehouse, the inventory quantity is 5, and the inventory balance is 10; the inventory location of the notebooks is the second warehouse, the inventory quantity is 10, and the inventory balance is 30; the inventory location of the pens is the first warehouse, the inventory quantity is 10, and the inventory balance is 260. After the processing device obtains the material inventory value balance table, the business data can be obtained through keyword query. Among them, the keyword can be the material name, etc.
[0046] In summary, the processing device can obtain business data and financial data. Furthermore, the processing device can verify the consistency of the business data and the financial data to improve the accuracy of the business data and the financial data. In the embodiments of the present application, the process of verifying the consistency of the business data and the financial data is described through steps 202-step 204.
[0047] Optionally, the trigger condition for the processing device to execute the verification process of steps 202-step 204 is not limited in the embodiments of the present application. Exemplarily, the processing device can perform consistency verification on the business data and the financial data at regular intervals. The embodiments of the present application do not limit the interval time. For example, the interval time can be one month, one day, or half a day, etc. Or, the processing device can receive an external operation instruction to trigger the consistency verification of the business data and the financial data. The embodiments of the present application do not limit the external operation instruction. For example, the operation instruction can be that the user clicks the physical inspection operation button, or the operation instruction can be that the user clicks the soft switch of the inspection operation.
[0048] Step 202. For any one of multiple subjects, the processing device obtains the first account balance corresponding to any one subject according to the financial data, and obtains the first inventory balance corresponding to any one subject according to the business data, where the first inventory balance is the sum of the inventory balances of each material corresponding to any one subject.
[0049] When the processing device obtains the business data and the financial data, the processing device can determine the first account balance corresponding to any one subject and the first inventory balance corresponding to any one subject by extracting the information in the business data and the financial data.
[0050] Exemplarily, taking any one subject as the first subject shown in Table 1 and Table 2 as an example, the processing device obtains the first account balance corresponding to the first subject according to the financial account balance table, that is, 300. The type represented by the first subject in this application embodiment is not limited. For example, the first subject can be office supplies, and the first account balance of the first subject represents the value recorded by the first subject in the financial field in the financial data, that is, the value corresponding to the first subject in Table 1 at the end of August 1, 2023. The setting of the statistical time can be flexibly adjusted according to specific circumstances. For example, if the statistical time is set to 12:00 noon of the date, the corresponding first account balance is the value at 12:00 noon of the date. The fineness of the statistical time in this application embodiment is not limited. For example, the statistical time can include year, month, day, and specific moment.
[0051] The processing device can obtain the first inventory balance corresponding to the first subject according to the material inventory value balance table. The processing device needs to query the inventory balance of the materials belonging to the first subject from the material inventory value balance table, and the inventory balance represents the current value of each material belonging to the first subject in the business field. Alternatively, the processing device traverses the entire material inventory value balance table, sequentially determines each material corresponding to the first subject, and thus establishes a material set corresponding to the first subject.
[0052] As shown in Table 2, the materials corresponding to the first subject include ballpoint pens, notebooks, and fountain pens. The inventory balance of the ballpoint pen is 10, the inventory balance of the notebook is 30, and the inventory balance of the fountain pen is 260. The sum of the inventory balances of each material corresponding to the first subject is 10 + 30 + 260 = 300, that is, the first inventory balance is 300.
[0053] By comparing the first account balance and the first inventory balance, the processing device can determine whether the inventory value balances in the business field and the financial field are consistent. If they are consistent, it indicates that there is no problem with the data. For example, the first account balance and the first inventory balance provided in this application embodiment are both 300, that is, they are consistent. If they are not consistent, it indicates that there may be problems such as data entry errors or data update errors, and further analysis and processing are required.
[0054] Step 203, when the first account balance is inconsistent with the first inventory balance, the processing device obtains the change record of each material corresponding to any account, and the change record includes at least one set of change information. Any set of change information includes the change amount, the change coefficient and the balance before the change. One set of change information corresponds to one business voucher.
[0055] When the first account balance and the first inventory balance obtained in step 202 are inconsistent, the processing device needs to obtain the change records of the corresponding materials to locate the abnormal data, and then update the abnormal data to eliminate errors and improve data accuracy.
[0056] Among them, for each data update of each material, there is a set of change information, which can indicate the change amount, change coefficient and balance before change corresponding to this change. The change amount refers to the value change data of the material corresponding to this change, the change coefficient can indicate the change relationship of the value change data of this change, and the balance before change can indicate the value of the material before this change occurs. For example, if the change amount is 30, it indicates that the value of the material that has changed this time is 30, the change coefficient is -1, it indicates that the value of the material that has changed this time is decreasing, and the balance before change is 100, it indicates that the value of the material before this change occurs is 100.
[0057] For example, the change coefficient can be determined by the borrowing and lending of materials. If a change of a material is recorded as a borrowing, the value of the corresponding material increases; if it is recorded as a loan, the value of the corresponding material decreases. A set of change information is generated by a business voucher. For example, a business voucher for the use of a ballpoint pen is uploaded to a processing device, and the processing device can automatically generate a set of change information based on the business voucher.
[0058] For example, in the change record of the ballpoint pen material on August 5, the change amount is 30, the change coefficient is -1, and the balance before the change is 70, which means that the value of the ballpoint pen before the change on August 5 was 70, and after the change on August 5, the value of the ballpoint pen was reduced from 70 to 40. The embodiment of the present application does not limit the reason for the change of the material value, for example, it may be that a department receives the ballpoint pen or the ballpoint pen is sold.
[0059] Step 204: The processing device determines an abnormal business voucher based on the change records of each material, where the abnormal business voucher is used to update at least one of the business data and the financial data.
[0060] Since the change records of each material record the situation before the change and the change situation, based on the change records of each material, information inconsistent before and after the change can be filtered out, and then one or more groups of change information with anomalies can be determined, and one or more business vouchers with anomalies corresponding to the one or more groups of change information with anomalies can be determined. The processing device can judge whether a group of change information is abnormal in various ways, such as checking whether the change amount is too large or too small, whether the change time is reasonable, or whether there is a contradiction with other change information, etc.
[0061] In the embodiment of the present application, the method for judging whether a group of change information is abnormal is to calculate the product value of the change amount and the change coefficient of a group of change information, and then calculate the sum of the product value and the balance before the change as the balance after the change, and compare the balance after the change with the target balance. If they are inconsistent, then this group of change information is a group of change information with anomalies. The target balance refers to the balance before the change in the next group of change information after a group of change information or the inventory balance of any material. For example, if the balance after the change calculated through this group of change information is 20, then the balance before the change in the next group of change information of this group of change information should be 20. If the balance before the change in the next change record of this group of change information is not 20, it indicates that this group of change information is abnormal.
[0062] The embodiment of the present application does not limit the reasons for the anomalies, such as data input errors, processing device update problems, or other abnormal situations. By locating and processing abnormal change records, the accuracy of the inventory value of materials can be improved, and the consistency between finance and business in terms of inventory value can be ensured.
[0063] Exemplarily, at least one group of change information included in the change record is arranged in the order of change sequence. The process of determining abnormal business vouchers based on the change records of each material includes, for any group of change information in the change record of any material among each material, obtaining the balance after the change corresponding to any group of change information according to the change amount, change coefficient, and balance before the change in any group of change information. If the balance after the change is inconsistent with the target balance, then determine the business voucher corresponding to any group of change information as an abnormal business voucher, and the target balance is the balance before the change in the next group of change information after any group of change information or the inventory balance of any material.
[0064] Among them, the process of arranging at least one group of change information included in the change record in the order of change sequence may include that the processing device obtains the change time in any group of change information or the serial number of the business voucher corresponding to any group of change information, and sorts the change information according to the change time or the serial number. The change time refers to the time when the change corresponding to each group of change information occurs. The serial number may be the serial number generated in sequence by the business voucher, that is, one business voucher corresponds to one group of change information. The embodiments of the present application do not limit the type of the business voucher. For example, the business voucher may be an invoice or a receipt, etc.
[0065] After arranging at least one group of change information included in the change record in the order of change sequence, each group of change information can be viewed one by one, and the balance after change corresponding to any group of change information can be obtained according to the change amount, change coefficient and balance before change in any group of change information. During the traversal process, if the balance after change corresponding to any group of change information is inconsistent with the target balance, it is determined that any group of change information is a group of change information with anomalies, and the voucher corresponding to the group of change information with anomalies is a business voucher with anomalies.
[0066] Exemplarily, the calculation formula for the balance after change may be: change amount * change coefficient + balance before change = balance after change. For example, if the change amount is 30, the change coefficient is -1, and the balance before change is 70, then the balance after change can be obtained as 40.
[0067] In addition, the group of change information with anomalies can be further analyzed to determine the specific cause of the anomaly and take corresponding measures to handle the cause of the anomaly. For example, the business voucher corresponding to the group of change information with anomalies is determined through the voucher serial number, the content recorded in the business voucher is queried, the change amount, change coefficient and balance before change corresponding to the business voucher are re-determined, and the group of change information with anomalies is updated according to the re-determined change amount, change coefficient and balance before change corresponding to the business voucher.
[0068] In a possible implementation manner, the change coefficient corresponds to the debit and credit situation, the change amount corresponds to the amount, and the balance before change corresponds to the inventory amount before posting. Then any group of change information may include the material name, debit and credit situation, update rule, factory information, amount, inventory amount before posting and voucher serial number in total. Among them, the material name is a field indicating the name of the material corresponding to any group of change information. Whenever the value of a material changes, the name of the material is recorded. When traversing the change record, it can be determined which material has changed.
[0069] The debit and credit situation indicates the increase or decrease of the materials corresponding to any group of change information. "Debit" means borrowing, that is, the balance of the material inventory increases, and "credit" means lending, that is, the balance of the material inventory decreases. Through the debit and credit situation, it can be determined whether the value of the material is increasing or decreasing, so as to better master the dynamics of the inventory. The update rule indicates the income and expenditure type of the materials corresponding to any group of change records. The income and expenditure type refers to the business operation due to which the change occurs, such as purchase receipt, sales delivery, production consumption, etc. The factory information indicates the field of the information of the purchasing factory of the materials corresponding to any change record. The factory information may include information such as the name, location, and contact information of the factory. The factory information can be used to track the source and procurement channels of the materials.
[0070] Exemplarily, both business data and financial data are generated by uploading business vouchers to the processing device. The process of generating corresponding financial data and inventory data from business vouchers can be that financial accounting vouchers are generated from the original business vouchers, and the corresponding financial account balance sheet and material inventory value balance sheet are generated from the financial accounting vouchers. Among them, the original business voucher is the initial record of the business occurrence, such as purchase orders, sales invoices, etc., which records the basic information of the business transaction and is the basis for subsequent accounting processing. The financial accounting voucher is the corresponding voucher made by the accountant based on the original business voucher, which records the changes in the financial accounts and amounts related to the business transaction.
[0071] In order to analyze the change situation of each inventory balance, that is, to obtain the change records of each material, the embodiments of this application introduce a material inventory value change statement and a material value consumption update rule table. A material inventory value change statement corresponds to a group of change information in the change record. The material inventory value change statement is a table that records each change in the material inventory value. Whenever the value of the material changes, a corresponding material inventory value change statement is generated. The material inventory value change statement includes information such as the change time and the change amount. The material value consumption update rule table defines the update rules for the consumption of the material value, including how the consumption of the material value is represented in different business scenarios. For example, the sales delivery of materials and the use of materials correspond to expenditures, and the purchase of materials corresponds to income.
[0072] Exemplarily, the material inventory value change statement can be seen in Table 3.
[0073] Table 3
[0074]
[0075] Among them, the material recorded in the material inventory value change statement is a ballpoint pen, the corresponding material code is 100001, the financial posting date, i.e., the change date, is July 1, 2022, the factory code is A001, the serial number of the business voucher corresponding to this change is 123456, the amount involved in this change is 30, the debit / credit situation is debit, the inventory amount before posting, i.e., the balance before change, is 10, and the consumption flag is no, that is, this change is not a consumption, and the update rule corresponds to income.
[0076] Thus, the processing device can obtain the change records of each material through the material inventory value change statement, and then determine the business vouchers with anomalies based on the change records of each material to achieve the consistency verification of business data and financial data. In the embodiment of the present application, on the basis of obtaining the change records of different materials, in addition to the data processing for consistency verification, different data processing can also be performed according to the change records. Optionally, other data processing scenarios according to the change records include but are not limited to the following several.
[0077] Scenario 1: Determine the income amount or expenditure amount of any material within any period of time through the change record.
[0078] In this scenario, any set of change information also includes the change time and the update rule, and the update rule indicates income or expenditure. The method further includes obtaining the change records of any one of multiple materials; obtaining the income amount or expenditure amount of any material within any period of time according to the change records of any material, where the income amount is the sum of the change amounts in the change information indicating income in any period of time in the change records of any material, and the expenditure amount is the sum of the change amounts in the change information indicating expenditure in any period of time in the change records of any material.
[0079] For each set of change information obtained, in addition to the change amount, change coefficient, and balance before change, it also includes the change time and the update rule. The change time refers to the specific time point when the value of the material changes, which can be in the form of a date and a timestamp, etc., and the update rule indicates whether this change is of the income or expenditure type. Thus, the income and expenditure situations of any material within a period of time can be determined. After the processing device obtains at least one set of change information of any one of multiple materials within any period of time, further analysis can also be performed. Determine the change information of the income type and the change information of the expenditure type of any material within any period of time. The processing device sums up the change amounts of each set of the change information corresponding to the income type to obtain the total income amount of any material during this period. The processing device sums up the change amounts of each set of the change information corresponding to the expenditure type to obtain the total expenditure amount of any material during this period.
[0080] Scenario 2: Determine the occurrence amount of any material within any period of time through change records.
[0081] Under this Scenario 2, any set of change information also includes the change time. The method further includes obtaining the change records of any one of multiple materials; and counting the occurrence amount of any one of the materials within any period of time according to the change records of any one of the materials. The occurrence amount is the sum of the product values of the change amount and the change coefficient in the change information within any period of time in the change records of any one of the materials.
[0082] Among them, the occurrence amount refers to the total sum of all transactions that an object has occurred in the debit or credit side within a certain period. The processing device multiplies the change amount and the change coefficient of each set of all change information of any one of the materials within a period of time, and sums up the products of each set to obtain the occurrence amount of any one of the materials within this period of time.
[0083] Scenario 3: Determine the consumption trend of any material through change records.
[0084] Under this Scenario 3, any set of change information also includes the change time and a consumption flag, and the consumption flag indicates yes or no. The method further includes obtaining the change records of any one of multiple materials; obtaining multiple sets of consumption change information in the change records of any one of the materials where the consumption flag indicates yes; and determining the consumption trend of any one of the materials according to the change time and the change amount in the multiple sets of consumption change information.
[0085] The consumption flag is used to indicate whether the material corresponding to a certain change information is consumed. The consumption flag may be a field or a label, used to mark the consumption situation of the material. Each set of change information contains a consumption flag. Whenever the value of a material changes, in addition to recording information such as the change time and the change balance, it also records whether the material is consumed.
[0086] After sorting at least one change information of any one of the materials in the order of change, determine the consumption change information in the change information. The consumption change information refers to the change information where the consumption flag indicates yes. That is, the change of the material corresponding to the consumption change information is being used or consumed. Exemplarily, the change information with the consumption flag being no may be records such as income.
[0087] In the case of determining the consumption change information, since the consumption change information is sorted in the order of change time or serial number, the consumption trend of any one of the materials can be determined according to the consumption change information. The consumption trend refers to information such as the speed at which the material is consumed. For example, whether the consumption speed is stable, whether there is a sudden increase or decrease, etc. The consumption trend can provide reference information for inventory management, procurement planning, etc.
[0088] For example, if it is found that the consumption rate of a certain material has suddenly increased recently, then it may be necessary to increase the inventory of this material to avoid shortages. Or, if it is found that a certain material has not been consumed for a long time, then it may be necessary to check whether this material still needs to be stored.
[0089] In addition, any material can be classified, that is, to determine the grade of a material. The grade indicates the importance of a material, and different monitoring measures are adopted for materials of different importance. For example, the ABC analysis method is used. The ABC analysis method, also known as the Pareto analysis method, is a classification method designed according to the Pareto optimality principle. It is a technique for determining inventory grades and is used in material management, also known as selective inventory control. The ABC classification method can distinguish and classify products and can reflect the impact of the value of each type of product on the total value such as inventory, sales, and cost. According to importance, materials are defined as three grades (A, B, and C). For grade A materials, strict control and accurate records are required; for grade B materials, slightly looser control and good records are required; for grade C materials, simple control and minimal records are required.
[0090] In summary, the data processing method provided by the embodiments of the present application realizes the consistency verification between financial data and business data by comparing the inventory balance in business data and the account balance in financial data for the same subject. And by obtaining the change records, in the case where the financial data and the business data are inconsistent, it is possible to determine the abnormal business vouchers through the change records, and thus at least one of the business data and the financial data is correspondingly updated based on the abnormal business vouchers, which promotes the integration of business data and financial data and improves the accuracy of data processing.
[0091] In addition, any set of change information in any change record in this method includes an update rule. The update rule can indicate whether it is a change of income type or a change of expenditure type, so that the total income amount or total expenditure amount of any material within a period of time can be counted, and then the value change situation of any material within this period of time can be evaluated according to the total income amount or total expenditure amount. This method determines the occurrence amount of any material within a period of time by summing the product of the change amount and the change coefficient within a period of time, and thus determines the value change situation of any material within this period of time, providing a basis for adjusting the inventory of any material in the future.
[0092] Any set of change information in any change record in this method also includes a consumption identifier. The consumption identifier indicates whether the change of the corresponding material is consumption, so that the consumption trend of any material within a period of time can be determined, and then the prediction of the consumption of any material at a future time can be realized.
[0093] See Figure 3 , Figure 3The structural schematic diagram of a data processing device provided by an embodiment of this application is as follows Figure 3 As shown, this device is applied to a processing device, and this device includes:
[0094] A first acquisition module 301, configured to acquire business data and financial data. The business data includes the inventory balances corresponding to multiple materials respectively, and the financial data includes the account balances corresponding to multiple accounts respectively. One account corresponds to at least one material;
[0095] A second acquisition module 302, configured to, for any one of the multiple accounts, acquire the first account balance corresponding to any one of the accounts according to the financial data, and acquire the first inventory balance corresponding to any one of the accounts according to the business data. The first inventory balance is the sum of the inventory balances of the materials corresponding to any one of the accounts;
[0096] A third acquisition module 303, configured to, in the case where the first account balance is inconsistent with the first inventory balance, acquire the change records of the materials corresponding to any one of the accounts. The change records include at least one set of change information. Any one set of change information includes a change amount, a change coefficient, and a balance before change. One set of change information corresponds to one business voucher;
[0097] A determination module 304, configured to determine the business vouchers with anomalies based on the change records of the materials. The business vouchers with anomalies are used to update at least one of the business data and the financial data.
[0098] In a possible implementation manner, at least one set of change information included in the change records is arranged in the order of change sequence. The determination module 304 is configured to, for any one set of change information in the change records of any one of the materials, acquire the balance after change corresponding to any one set of change information according to the change amount, the change coefficient, and the balance before change in any one set of change information. If the balance after change is inconsistent with the target balance, it is determined that the business voucher corresponding to any one set of change information is a business voucher with anomalies. The target balance is the balance before change in the next set of change information after any one set of change information or the inventory balance of any one material.
[0099] In a possible implementation manner, the determination module 304 is configured to acquire the product value of the change amount and the change coefficient; and determine that the sum of the product value and the balance before change is the balance after change.
[0100] In a possible implementation, any set of change information further includes a change time and an update rule, and the update rule indicates income or expenditure; the third acquisition module 303 is further configured to acquire a change record of any one of a plurality of materials; and acquire the income amount or expenditure amount of any one of the materials within any time period according to the change record of any one of the materials. The income amount is the sum of the change amounts in the change information indicating income in any time period in the change record of any one of the materials, and the expenditure amount is the sum of the change amounts in the change information indicating expenditure in any time period in the change record of any one of the materials.
[0101] In a possible implementation, any set of change information further includes a change time; the third acquisition module 303 is further configured to acquire a change record of any one of a plurality of materials; and calculate the occurrence amount of any one of the materials within any time period according to the change record of any one of the materials. The occurrence amount is the sum of the product values of the change amount and the change coefficient in the change information within any time period in the change record of any one of the materials.
[0102] In a possible implementation, any set of change information further includes a change time and a consumption flag, and the consumption flag indicates yes or no; the third acquisition module 303 is further configured to acquire a change record of any one of a plurality of materials; acquire multiple sets of consumption change information in the change record of any one of the materials where the consumption flag indicates yes; and the determination module 304 is further configured to determine the consumption trend of any one of the materials according to the change time and the change amount in the multiple sets of consumption change information.
[0103] In summary, the data processing device provided by the embodiments of the present application realizes the consistency check between the financial data and the business data by comparing the inventory balance of the same subject in the business data with the account balance in the financial data. And by acquiring the change record, in the case where the financial data and the business data are inconsistent, it is possible to determine the abnormal business vouchers through the change record, and thus perform corresponding updates on at least one of the business data and the financial data based on the abnormal business vouchers, promoting the integration of the business data and the financial data and improving the accuracy of data processing.
[0104] In addition, any set of change information in any change record in the device includes an update rule, and the update rule can indicate whether the change is of an income type or an expenditure type, so that the total income amount or total expenditure amount of any one of the materials within a period of time can be calculated, and then the value change situation of any one of the materials within that period of time can be evaluated according to the total income amount or total expenditure amount. The device determines the occurrence amount of any one of the materials within a period of time by summing the product of the change amount and the change coefficient within a period of time, thereby determining the value change situation of any one of the materials within that period of time, providing a basis for subsequent adjustment of the inventory of any one of the materials.
[0105] Any set of change information in any change record in the device further includes a consumption identifier, which indicates whether the change of the corresponding material is consumption, so as to determine the consumption trend of any material within a period of time, and further realize the prediction of the consumption of any material at a certain future time.
[0106] It should be noted that when the data processing device provided in the above Figure 3 embodiment realizes its functions, only the division of the above-mentioned function modules is used for illustration. In actual functions, the above functions can be allocated to different function modules according to needs, that is, the internal structure of the device is divided into different function modules to complete all or part of the functions described above. In addition, the device provided in the above embodiment and the method embodiment belong to the same concept, and the specific implementation process can be found in detail in the method embodiment.
[0107] Figure 4 It is a schematic structural diagram of a server provided by an embodiment of the present application. The server may vary greatly due to configuration or performance, and may include one or more processors 401 and one or more memories 402. Among them, at least one computer program is stored in the one or more memories 402, and the at least one computer program is loaded and executed by the one or more processors 401, so that the server realizes the data processing methods provided by the above-mentioned various method embodiments. Of course, the server may also have components such as wired or wireless network interfaces, keyboards, and input / output interfaces for input / output. The server may also include other components for realizing the functions of the device, which will not be elaborated here.
[0108] Figure 5 It is a schematic structural diagram of a terminal provided by an embodiment of the present application. The terminal may be, for example: a smart phone, a tablet computer, a player, a notebook computer, or a desktop computer. The terminal may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
[0109] Generally, the terminal includes: a processor 501 and a memory 502.
[0110] The processor 501 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. The processor 501 may be implemented in at least one of the following hardware forms: DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 501 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the wake state, also known as the CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 501 may be integrated with a GPU (Graphics Processing Unit), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 501 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process computational operations related to machine learning.
[0111] The memory 502 may include one or more computer-readable storage media, and the computer-readable storage media may be non-transitory. The memory 502 may further include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, the non-transitory computer-readable storage media in the memory 502 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 501 so that the terminal implements the data processing method provided in the method embodiment of the present application.
[0112] In some embodiments, the terminal may further optionally include: a peripheral device interface 503 and at least one peripheral device. The processor 501, the memory 502, and the peripheral device interface 503 may be connected through a bus or signal lines. Each peripheral device may be connected to the peripheral device interface 503 through a bus, signal lines, or a circuit board. Specifically, the peripheral devices include at least one of the following: a radio frequency circuit 504, a display screen 505, a camera assembly 506, an audio circuit 507, and a power supply 508.
[0113] The peripheral device interface 503 can be used to connect at least one I / O (Input / Output) related peripheral device to the processor 501 and the memory 502. In some embodiments, the processor 501, the memory 502, and the peripheral device interface 503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 501, the memory 502, and the peripheral device interface 503 can be implemented on separate chips or circuit boards, and this embodiment does not limit this.
[0114] The radio frequency circuit 504 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 504 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 504 converts an electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so on. The radio frequency circuit 504 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: metropolitan area network, generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area network, and / or WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 504 may further include a circuit related to NFC (Near Field Communication), and this application does not limit this.
[0115] The display screen 505 is used to display the UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 505 is a touch display screen, the display screen 505 also has the ability to collect touch signals on or above the surface of the display screen 505. The touch signals can be input as control signals to the processor 501 for processing. At this time, the display screen 505 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, there may be one display screen 505, which is provided on the front panel of the terminal; in other embodiments, there may be at least two display screens 505, which are respectively provided on different surfaces of the terminal or are in a foldable design; in other embodiments, the display screen 505 may be a flexible display screen, which is provided on a curved surface or a folding surface of the terminal. Even, the display screen 505 can also be set to an irregular non-rectangular shape, that is, a special-shaped screen. The display screen 505 can be prepared using materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0116] The camera module 506 is used to capture images or videos. Optionally, the camera module 506 includes a front camera and a rear camera. Generally, the front camera is provided on the front panel of the terminal, and the rear camera is provided on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera, to implement functions such as background blurring by fusing the main camera and the depth-of-field camera, panoramic shooting by fusing the main camera and the wide-angle camera, and VR (Virtual Reality) shooting function or other fused shooting functions. In some embodiments, the camera module 506 may further include a flash. The flash can be a single-color temperature flash or a two-color temperature flash. A two-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation under different color temperatures.
[0117] The audio circuit 507 may include a microphone and a speaker. The microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals for input to the processor 501 for processing, or input to the radio frequency circuit 504 to enable voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signals from the processor 501 or the radio frequency circuit 504 into sound waves. The speaker may be a traditional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for uses such as ranging. In some embodiments, the audio circuit 507 may further include a headphone jack.
[0118] The power supply 508 is used to supply power to each component in the terminal. The power supply 508 may be alternating current, direct current, a disposable battery or a rechargeable battery. When the power supply 508 includes a rechargeable battery, the rechargeable battery may support wired charging or wireless charging. The rechargeable battery may also be used to support fast charging technology.
[0119] In some embodiments, the terminal further includes one or more sensors 509. The one or more sensors 509 include but are not limited to: an acceleration sensor 510, a gyroscope sensor 511, a pressure sensor 512, an optical sensor 513, and a proximity sensor 514.
[0120] The acceleration sensor 510 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established with the terminal. For example, the acceleration sensor 510 can be used to detect the components of the gravitational acceleration on the three coordinate axes. The processor 501 can control the display screen 505 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 510. The acceleration sensor 510 can also be used for collecting game or user movement data.
[0121] The gyroscope sensor 511 can detect the body direction and rotation angle of the terminal. The gyroscope sensor 511 can cooperate with the acceleration sensor 510 to collect the 3D actions of the user on the terminal. Based on the data collected by the gyroscope sensor 511, the processor 501 can implement the following functions: motion sensing (such as changing the UI according to the user's tilting operation), image stabilization during shooting, game control, and inertial navigation.
[0122] The pressure sensor 512 can be disposed on the side frame of the terminal and / or the lower layer of the display screen 505. When the pressure sensor 512 is disposed on the side frame of the terminal, it can detect the holding signal of the user on the terminal, and the processor 501 can perform left / right hand recognition or quick operation according to the holding signal collected by the pressure sensor 512. When the pressure sensor 512 is disposed on the lower layer of the display screen 505, the processor 501 can control the operable controls on the UI interface according to the pressure operation of the user on the display screen 505. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0123] The optical sensor 513 is used to collect the ambient light intensity. In one embodiment, the processor 501 can control the display brightness of the display screen 505 according to the ambient light intensity collected by the optical sensor 513. Specifically, when the ambient light intensity is high, the display brightness of the display screen 505 is increased; when the ambient light intensity is low, the display brightness of the display screen 505 is decreased. In another embodiment, the processor 501 can also dynamically adjust the shooting parameters of the camera module 506 according to the ambient light intensity collected by the optical sensor 513.
[0124] The proximity sensor 514, also known as the distance sensor, is usually disposed on the front panel of the terminal. The proximity sensor 514 is used to collect the distance between the user and the front of the terminal. In one embodiment, when the proximity sensor 514 detects that the distance between the user and the front of the terminal is gradually decreasing, the processor 501 controls the display screen 505 to switch from the lit state to the off state; when the proximity sensor 514 detects that the distance between the user and the front of the terminal is gradually increasing, the processor 501 controls the display screen 505 to switch from the off state to the lit state.
[0125] Those skilled in the art can understand that Figure 5 the structure shown in does not constitute a limitation on the terminal, and it may include more or fewer components than shown in the figure, or combine some components, or adopt different component arrangements.
[0126] In an exemplary embodiment, a computer device is further provided, which includes a processor and a memory, and at least one computer program is stored in the memory. The at least one computer program is loaded and executed by one or more processors, so that the computer device implements any one of the above data processing methods.
[0127] In an exemplary embodiment, a computer-readable storage medium is further provided, in which at least one computer program is stored, and the at least one computer program is loaded and executed by the processor of the computer device, so that the computer implements any one of the above data processing methods.
[0128] In a possible implementation, the above computer-readable storage medium may be a read-only memory (ROM), random access memory (RAM), compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, optical data storage device, etc.
[0129] In an exemplary embodiment, there is also provided a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes any one of the above data processing methods.
[0130] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with the relevant laws, regulations and standards of relevant countries and regions. For example, the business data and financial data involved in this application are obtained under full authorization.
[0131] It should be understood that "a plurality of" mentioned herein refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after.
[0132] The above are only exemplary embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the principle of the present application shall be included in the protection scope of the present application.
Claims
1. A data processing method, characterized in that, the method includes: A processing device obtains business data and financial data, where the business data includes inventory balances corresponding to multiple materials respectively, and the financial data includes account balances corresponding to multiple accounts respectively, and at least one material corresponds to one account; For any one of the multiple accounts, the processing device obtains a first account balance corresponding to the any one of the accounts according to the financial data, and obtains a first inventory balance corresponding to the any one of the accounts according to the business data, and the first inventory balance is the sum of the inventory balances of the materials corresponding to the any one of the accounts; In the case where the first account balance is inconsistent with the first inventory balance, the processing device obtains change records of the materials corresponding to the any one of the accounts, and the change records include at least one set of change information, and any one set of change information includes a change amount, a change coefficient, and a balance before change, and one set of change information corresponds to one business voucher; The processing device determines a business voucher with an anomaly based on the change records of the materials, and the business voucher with the anomaly is used to update at least one of the business data and the financial data.
2. The method according to claim 1, characterized in that, at least one set of change information included in the change records is arranged in the order of change sequence; the processing device determines a business voucher with an anomaly based on the change records of the materials, including: For any one set of change information in the change records of any one of the materials, the processing device obtains a balance after change corresponding to the any one set of change information according to the change amount, the change coefficient, and the balance before change in the any one set of change information; If the balance after change is inconsistent with the target balance, the processing device determines that the business voucher corresponding to the any one set of change information is the business voucher with the anomaly, and the target balance is the balance before change in the next set of change information after the any one set of change information or the inventory balance of the any one of the materials.
3. The method according to claim 2, characterized in that, the processing device obtains a balance after change corresponding to the any one set of change information according to the change amount, the change coefficient, and the balance before change in the any one set of change information, including: The processing device obtains a product value of the change amount and the change coefficient; The processing device determines that the sum of the product value and the balance before change is the balance after change.
4. The method according to any one of claims 1-3, characterized in that, any one set of change information further includes a change time and an update rule, and the update rule indicates income or expenditure; the method further includes: The processing device obtains the change records of any one of the multiple materials; The processing device obtains the income amount or expenditure amount of any one of the materials within any time period according to the change record of any one of the materials. The income amount is the sum of the change amounts in the change information indicating income in the update rule within any time period in the change record of any one of the materials, and the expenditure amount is the sum of the change amounts in the change information indicating expenditure in the update rule within any time period in the change record of any one of the materials.
5. According to the method described in any one of claims 1-3, wherein, any one group of change information further includes a change time; the method further includes: the processing device obtains the change record of any one of the multiple materials; the processing device calculates the occurrence amount of any one of the materials within any time period according to the change record of any one of the materials, and the occurrence amount is the sum of the product values of the change amounts and the change coefficients in the change information within any time period in the change record of any one of the materials.
6. According to the method described in any one of claims 1-3, wherein, any one group of change information further includes a change time and a consumption flag, and the consumption flag indicates yes or no; the method further includes: the processing device obtains the change record of any one of the multiple materials; the processing device obtains multiple groups of consumption change information in the change record of any one of the materials where the consumption flag indicates yes; the processing device determines the consumption trend of any one of the materials according to the change time and the change amount in the multiple groups of consumption change information.
7. A data processing device, wherein, the device is applied to a processing device, and the device includes: a first acquisition module, configured to acquire business data and financial data, where the business data includes the inventory balances corresponding to multiple materials respectively, and the financial data includes the account balances corresponding to multiple accounts respectively, and at least one material corresponds to one account; a second acquisition module, configured to, for any one of the multiple accounts, acquire the first account balance corresponding to any one of the accounts according to the financial data, and acquire the first inventory balance corresponding to any one of the accounts according to the business data, and the first inventory balance is the sum of the inventory balances of the respective materials corresponding to any one of the accounts; a third acquisition module, configured to, when the first account balance is inconsistent with the first inventory balance, acquire the change records of the respective materials corresponding to any one of the accounts, where the change record includes at least one group of change information, and any one group of change information includes a change amount, a change coefficient, and a balance before change, and one group of change information corresponds to one business voucher; a determination module, configured to determine an abnormal business voucher based on the change records of the respective materials, and the abnormal business voucher is used to update at least one of the business data and the financial data.
8. According to the device described in claim 7, wherein, At least one set of change information included in the change record is arranged in the order of change sequence; the determination module is configured to, for any set of change information in the change record of any material among the various materials, obtain the balance after change corresponding to the any set of change information according to the change amount, change coefficient, and balance before change in the any set of change information. If the balance after change is inconsistent with the target balance, determine that the business voucher corresponding to the any set of change information is the business voucher with abnormality, where the target balance is the balance before change in the next set of change information after the any set of change information or the inventory balance of the any material.
9. A computer device characterized in that the computer device includes a processor and a memory, and at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor so that the computer device implements the data processing method according to any one of claims 1-6.
10. A computer-readable storage medium characterized in that at least one computer program is stored in the computer-readable storage medium, and the at least one computer program is loaded and executed by a processor so that a computer implements the data processing method according to any one of claims 1-6.
Citation Information
Patent Citations
Data record generation method for financial system
CN102236826A
SaaS-based accounting data management system
CN108090823A
Warehouse management method and system
CN108269038A
Material management method and system
CN113469558A
Information updating method and information updating device
CN115700497A