Account information processing method and device, storage medium and electronic equipment
By obtaining historical data and initial account type in the repayment record table, and changing the account type according to the repayment situation, the problem of high complexity and low efficiency of accounting by subject is solved, automated accounting is realized, and accuracy and efficiency are improved. .
Patent Information
- Application Number
- CN202410464429.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-17
- Publication Date
- 2024-10-01
AI Technical Summary
Accounting by account in the existing technology is highly complex and inefficient, resulting in financial institutions requiring a large amount of manpower to process loan accounts, and making it difficult to effectively classify and manage accounts with different repayment risks.
By obtaining the historical repayment data and initial account type of the target account in the repayment record table, determine whether the account type needs to be changed based on the repayment data, and record the loan accounts to the corresponding storage table area to achieve automatic recording based on the account type. The purpose of accounting is to improve the accuracy and efficiency of accounting.
The automated account classification and accounting process is realized, reducing manual intervention, improving the accuracy and efficiency of accounting, and reducing labor costs.
Smart Images

Figure CN118735666A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of financial technology, and specifically, to a method, device, storage medium and electronic device for processing account information. Background Art
[0002] After the user applies for a loan, the financial institution needs to complete the accounting operation based on the length of the business, so as to calculate the amount to be repaid for each loan, which includes the principal + interest. However, since some users have overdue repayments, there is a repayment risk for the user. At this time, when the financial institution is recording the accounts, it needs to record them by subject according to the risk level.
[0003] However, since accounts under different repayment risks are recorded under the same account, when performing separate account accounting, it is necessary to manually determine the repayment risk of each expected repayment amount and classify different repayment risks as different accounts to complete the separate account accounting operation. However, manual separate account accounting is highly complex and inefficient, resulting in a large amount of manpower being occupied in the accounting operation.
[0004] Currently, no effective solution has been proposed to address the high complexity and low efficiency of accounting by subject in related technologies. Summary of the invention
[0005] The present application provides a method, device, storage medium and electronic device for processing account information to solve the problems of high complexity and low efficiency in accounting by subject in related technologies.
[0006] According to one aspect of the present application, a method for processing account information is provided. The method includes: obtaining repayment data of a target account in a historical time period in a repayment record table, and obtaining an initial account type of the target account, wherein the initial account type is determined by the account type of the target account in the historical time period, and the repayment record table is located in a loan account table; judging whether the initial account type needs to be changed according to the repayment data; if the initial account type needs to be changed, changing the initial account type to obtain the target account type, and recording the loan account in the target time period in a first area of a storage table to which the target account type belongs, wherein the target time period is an adjacent time period after the historical time period, and the first area is located in the loan account table; if the initial account type does not need to be changed, keeping the initial account type unchanged, and recording the loan account in the target time period in a second area of the storage table to which the initial account type belongs, wherein the second area is located in the loan account table.
[0007] Optionally, judging whether the initial account type needs to be changed based on the repayment data includes: obtaining the number of dates with repayment data within the historical time period to obtain the number of repayment days; determining the preset interval to which the number of repayment days belongs in a preset table, and obtaining the account type corresponding to the preset interval to obtain a candidate account type, wherein the preset table includes multiple preset intervals; judging whether the initial account type is the same as the candidate account type; if the initial account type is the same as the candidate account type, determining that the initial account type does not need to be changed; if the initial account type is different from the candidate account type, determining that the initial account type needs to be changed, and determining the candidate account type as the target account type.
[0008] Optionally, after recording the loan accounts within the target time period in the first area of the storage table to which the target account type belongs, the method further includes: calculating the total loan amount within the historical time period to obtain a first loan amount; obtaining a first loan balance on the start date of the historical time period in a type change table, and determining a second loan balance on the start date of the target time period based on the first loan balance and the first loan amount, wherein the type change table records multiple loan balances and the account type to which each loan balance belongs; and recording the second loan balance in association with the target account type in the type change table.
[0009] Optionally, obtaining the first loan balance on the starting date of the historical time period in the type change table includes: obtaining the loan amount for each day in the historical time period to obtain multiple loan amounts; adding the multiple loan amounts to obtain a first loan amount; determining the second loan balance on the starting date of the target time period based on the first loan balance and the first loan amount includes: subtracting the first loan balance from the first loan amount to obtain a second loan balance.
[0010] Optionally, the method also includes: upon receiving repayment information, obtaining repayment data in the repayment information, and obtaining the total amount repaid in the repayment record table; determining the account type to which the loan amount corresponding to the repayment data belongs based on the total amount repaid, and obtaining a first account type; associating the first account type and the repayment data and storing them in the repayment record table, and updating the total amount repaid in the repayment record table.
[0011] Optionally, the method further includes: upon receiving the first prompt information, obtaining the total accounts in each area in the loan account table to obtain multiple total account amounts, wherein the first prompt information is used to indicate that the repayment operation has been completed; obtaining the total amount repaid in the repayment record table; adding the multiple total account amounts to obtain the total loan amount, and determining whether the total loan amount and the total amount repaid are equal; when the total loan amount and the total amount repaid are equal, sending a second prompt information to the financial institution, wherein the second prompt information is used to indicate that there is no abnormality in the repayment operation; when the total loan amount and the total amount repaid are not equal, sending a third prompt information to the financial institution, wherein the third prompt information is used to indicate that there is an abnormality in the repayment operation.
[0012] Optionally, the method further includes: upon receiving the first prompt information, obtaining the total accounts in each area in the loan account table to obtain M total account amounts, wherein the first prompt information is used to indicate that the repayment operation has been completed; obtaining the repayment amount under each account type in the repayment record table to obtain M repayment amounts; determining in turn whether the repayment amount and the total account amount under the same account type are equal; in the case where there are unequal repayment amounts and total account amounts, sending a fourth prompt information to the financial institution, wherein the fourth prompt information is used to indicate that an abnormality has occurred in the accounting operation; in the case where there are no unequal repayment amounts and total account amounts, sending a fifth prompt information to the financial institution, wherein the fifth prompt information is used to indicate that no abnormality has occurred in the accounting operation.
[0013] According to another aspect of the present application, a device for processing account information is provided. The device includes: a first acquisition unit, used to acquire the repayment data of the target account in the historical time period in the repayment record table, and acquire the initial account type of the target account, wherein the initial account type is determined by the account type of the target account in the historical time period, and the repayment record table is located in the loan account table; a judgment unit, used to judge whether the initial account type needs to be changed according to the repayment data; a first recording unit, used to change the initial account type when the initial account type needs to be changed, obtain the target account type, and record the loan account in the target time period in the first area of the storage table to which the target account type belongs, wherein the target time period is an adjacent time period after the historical time period, and the first area is located in the loan account table; a second recording unit, used to keep the initial account type unchanged when the initial account type does not need to be changed, and record the loan account in the target time period in the second area of the storage table to which the initial account type belongs, wherein the second area is located in the loan account table.
[0014] According to another aspect of the present invention, a computer storage medium is provided. The computer storage medium is used to store a program. When the program is executed, the device where the computer storage medium is located is controlled to execute a method for processing account information.
[0015] According to another aspect of the present invention, an electronic device is provided, comprising one or more processors and a memory; the memory stores computer-readable instructions, and the processor is used to execute the computer-readable instructions, wherein when the computer-readable instructions are executed, a method for processing account information is executed.
[0016] Through this application, the following steps are adopted: obtaining the repayment data of the target account in the historical time period in the repayment record table, and obtaining the initial account type of the target account, wherein the initial account type is determined by the account type of the target account in the historical time period, and the repayment record table is located in the loan account table; judging whether the initial account type needs to be changed according to the repayment data; if the initial account type needs to be changed, changing the initial account type to obtain the target account type, and recording the loan account in the target time period in the first area of the storage table to which the target account type belongs, wherein the target time period is the adjacent time period after the historical time period, and the first area is located in the loan account table; if the initial account type does not need to be changed, keeping the initial account type unchanged, and recording the loan account in the target time period in the second area of the storage table to which the initial account type belongs, wherein the second area is located in the loan account table. The problem of high complexity and low efficiency in accounting by subject in the related technology is solved. By obtaining the initial account type of the target account and changing the account type according to the repayment situation, the accounting position in the future time period is changed according to the change, so as to achieve the purpose of automatically recording according to the account type and subject, thereby achieving the effect of improving the accuracy and efficiency of accounting. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0018] Figure 1 is a flowchart of a method for processing account information provided in an embodiment of the present application;
[0019] Figure 2 is a schematic diagram of an optional loan account table provided according to an embodiment of the present application;
[0020] Figure 3 is a schematic diagram of an account information processing device provided according to an embodiment of the present application;
[0021] Figure 4It is a schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0022] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] It should be noted that the account information processing method, device, storage medium and electronic device determined in the present disclosure can be used in the field of financial technology, and can also be used in any field other than the field of financial technology. The application field of the account information processing method, device, storage medium and electronic device determined in the present disclosure is not limited.
[0026] It should be noted that the collected information, user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) used in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data are in compliance with the relevant laws, regulations and standards of the relevant regions, necessary confidentiality measures are taken, and public order and good customs are not violated. Corresponding operation portals are provided for users to choose to authorize or refuse to use. For example, an interface is set up between this system and relevant users or organizations. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.
[0027] According to an embodiment of the present application, a method for processing account information is provided.
[0028] Figure 1 1 is a flowchart of a method for processing account information according to an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:
[0029] Step S101, obtaining repayment data of a target account in a historical time period in a repayment record table, and obtaining an initial account type of the target account, wherein the initial account type is determined by the account type of the target account in the historical time period, and the repayment record table is located in a loan account table.
[0030] Specifically, the repayment record table includes every repayment record of the user after processing the loan business. When determining whether the user's account type needs to be changed, it is necessary to obtain the repayment data within the historical time period. When the repayment data within the historical time period indicates that the user has made normal repayments, the user's account type can be changed from medium risk to low risk. When the repayment data within the historical time period indicates that the user has not made normal repayments, the user's account type can be changed from medium risk to high risk, thereby determining whether the account type needs to be changed.
[0031] Furthermore, when making changes to a user account, it is first necessary to determine the initial account type of the account, so that when changing the account type based on the repayment data, the change can be made based on the initial account type, wherein the initial account type is the account type of the account at the current moment. For example, the account type at the current moment is medium risk, and the account completes multiple repayment operations or large repayment operations within the historical time period, then the account type is changed to low risk.
[0032] Step S102, judging whether the initial account type needs to be changed according to the repayment data; if the initial account type needs to be changed, the initial account type is changed to obtain the target account type, and the loan accounts within the target time period are recorded in the first area of the storage table to which the target account type belongs, wherein the target time period is an adjacent time period after the historical time period, and the first area is located in the loan account table.
[0033] Specifically, after obtaining the repayment data, it can be determined whether the initial account type needs to be changed based on the repayment data. If it is determined that a change is required, the change is made based on the initial account type to obtain the target account type, and within the target time period, that is, the future time period, the loan account is recorded in the first area corresponding to the target account type. Figure 2 is a schematic diagram of an optional loan account table provided according to an embodiment of the present application, such as Figure 2 As shown, the first area and the second area can both be areas in the loan account table. When the account type needs to be changed, the loan accounts within the target time period can be recorded in the first area of the storage table to which the target account type belongs, thereby avoiding intersection with the loan accounts in the second area.
[0034] For example, when determining whether the initial account type needs to be changed based on the repayment data, the number of repayments and the repayment amount can be determined. When the number of repayments is greater than the number threshold or the repayment amount is greater than the amount threshold, it can be determined that the account risk is reduced. When the number of repayments is less than the number threshold or the repayment amount is less than the amount threshold, it can be determined that the account risk is increased.
[0035] It should be noted that the first area and the second area can only store different information such as loan amount, and other information such as time information, account name, etc. can be recorded in the following columns without distinguishing the columns.
[0036] Step S103, when there is no need to change the initial account type, keep the initial account type unchanged, and record the loan accounts within the target time period in the second area of the storage table to which the initial account type belongs, wherein the second area is located in the loan account table.
[0037] Specifically, when there is no need to change the initial account type, the initial account type is kept unchanged, and when the area corresponding to the initial account type is the second area, the loan account can be directly recorded in the second area, thereby distinguishing the data before and after the account type change. After completing the recording of all accounts of the loan business, the loan amounts at different times can be automatically distinguished, thereby improving the efficiency of account generation, and there is no need to manually divide accounts of different types.
[0038] For example, when the number of repayments is equal to a preset value, or the repayment amount is within a certain range of values, it can be determined to keep the account type unchanged. At this time, the account information within the target time period can be recorded in the second area corresponding to the initial account type.
[0039] It should be noted that the technical content in this application is used to record accounts in corresponding locations, and automatically change the accounting location when the accounting location needs to be changed. There is no limitation on the accounting content. The loan business in this application is only an optional embodiment. The account information processing method provided in this application can also be used to record account information of other businesses that require changing the accounting location.
[0040] The method for processing account information provided by the embodiment of the present application is to obtain the repayment data of the target account in the historical time period in the repayment record table, and obtain the initial account type of the target account, wherein the initial account type is determined by the account type of the target account in the historical time period, and the repayment record table is located in the loan account table; determine whether the initial account type needs to be changed according to the repayment data; if the initial account type needs to be changed, change the initial account type to obtain the target account type, and record the loan account in the target time period in the first area of the storage table to which the target account type belongs, wherein the target time period is an adjacent time period after the historical time period, and the first area is located in the loan account table; if the initial account type does not need to be changed, keep the initial account type unchanged, and record the loan account in the target time period in the second area of the storage table to which the initial account type belongs, wherein the second area is located in the loan account table. The problem of high complexity and low efficiency of accounting by subject in the related technology is solved. By obtaining the initial account type of the target account and changing the account type according to the repayment situation, the accounting position in the future time period is changed according to the change, so as to achieve the purpose of automatically recording according to the account type and subject, thereby achieving the effect of improving the accuracy and efficiency of accounting.
[0041] In order to accurately record the loan amount in the corresponding accounting location, optionally, in the method for processing account information provided in the embodiment of the present application, judging whether the initial account type needs to be changed based on the repayment data includes: obtaining the number of dates with repayment data in the historical time period to obtain the number of repayment days; determining the preset interval to which the number of repayment days belongs in a preset table, and obtaining the account type corresponding to the preset interval to obtain a candidate account type, wherein the preset table includes multiple preset intervals; judging whether the initial account type is the same as the candidate account type; if the initial account type is the same as the candidate account type, determining that the initial account type does not need to be changed; if the initial account type is different from the candidate account type, determining that the initial account type needs to be changed, and determining the candidate account type as the target account type.
[0042] Specifically, when determining whether to change the account type, it can be determined based on the repayment data in the historical time period. First, the number of repayment dates in the historical time period can be obtained in the repayment record table. For example, the historical time period is January 1st to January 7th, where repayments were made on the 1st, 2nd, 4th, and 7th, and the number of dates is 4. After determining the number of dates, the preset interval to which the number of repayment days belongs can be determined in the preset table. For example, when the number of repayment days is 0-2, the candidate account type is determined to be high risk, when the number of repayment days is 3-5, the candidate account type is determined to be medium risk, and when the number of repayment days is 6-7, the candidate account type is determined to be high risk.
[0043] Furthermore, when the candidate account type is determined, the account type of the account in the historical time period, that is, the initial account type, is obtained, and a determination is made as to whether the initial account type is the same as the candidate account type. If they are the same, it indicates that the account types in the historical time period and the target time period are the same, and there is no need to change the account type. If they are not the same, it is determined that the initial account type needs to be changed, and the candidate account type is determined as the target account type. That is, if they are not the same, the account type needs to be changed from the initial account type to the target account type, thereby changing the accounting position of the loan account in the loan account table. There is no need to manually change the accounting position, and the effect of automatically changing the accounting position of the account is achieved.
[0044] Optionally, in the method for processing account information provided in the embodiment of the present application, after recording the loan accounts within the target time period in the first area of the storage table to which the target account type belongs, the method further includes: calculating the total loan amount within the historical time period to obtain a first loan amount; obtaining a first loan balance on the start date of the historical time period in a type change table, and determining a second loan balance on the start date of the target time period based on the first loan balance and the first loan amount, wherein the type change table records multiple loan balances and the account type to which each loan balance belongs; and recording the second loan balance in association with the target account type in the type change table.
[0045] It should be noted that due to the accounting requirements of financial institutions, it is necessary to record the remaining loan amount each time the account type is changed. At this time, the remaining loan amount each time the account type is changed can be recorded in the type change table, so as to ensure that each time the account type is changed, the loan balance at that time can be obtained in the type change table.
[0046] Specifically, when the loan account is recorded in the first area, it indicates that the account type has changed. At this time, it is necessary to calculate the total loan amount in the historical time period and obtain the first loan balance on the starting day of the historical time period, so as to calculate the remaining loan amount after the historical time period, that is, the second loan balance, and associate the second loan balance with the target account type and record it in the type change table, so that the change record table can clearly indicate when the type change operation occurred and the remaining loan amount after each change, so as to facilitate subsequent accounting operations.
[0047] For example, the historical time period is January 1st to January 7th, and the target time period is January 8th to January 14th. When the account type changes, it is necessary to obtain the remaining loan amount on January 1st, which is the last time the account type changed, from the type change table, and obtain the loan amount for each day from January 1st to January 7th, so as to calculate the remaining loan amount on January 8th, and associate the remaining loan amount with January 8th and store them in the type change table, so as to record the remaining loan amount after each change, and then directly obtain the data if needed in subsequent accounting operations.
[0048] Optionally, in the method for processing account information provided in the embodiment of the present application, obtaining the first loan balance on the starting day of the historical time period in the type change table includes: obtaining the loan amount for each day in the historical time period to obtain multiple loan amounts; adding the multiple loan amounts to obtain a first loan amount; determining the second loan balance on the starting day of the target time period based on the first loan balance and the first loan amount includes: subtracting the first loan balance from the first loan amount to obtain a second loan balance.
[0049] Specifically, when calculating the second loan balance, it is first necessary to calculate the total loan amount in the historical time period, and then obtain the second loan balance by subtracting the first loan balance from the loan amount.
[0050] For example, the historical time period is January 1st to January 7th, and the target time period is January 8th to January 14th. When the account type is changed, it is necessary to obtain the remaining loan amount on January 1st, such as 10,000 yuan, from the type change table, and obtain the loan amount for each day from January 1st to January 7th. For example, the daily loan amount to be repaid is 100 yuan, then the first loan amount is: 700 yuan, and the second loan balance is: 10,000-700=9,300, thereby completing the calculation of the second loan balance and recording the data in the type change table, thereby achieving the effect of accurately calculating the loan balance.
[0051] In order to ensure the consistency between the loan amount and the repayment amount, optionally, in the method for processing account information provided in the embodiment of the present application, the method also includes: when the repayment information is received, obtaining the repayment data in the repayment information, and obtaining the total amount repaid in the repayment record table; determining the account type to which the loan amount corresponding to the repayment data belongs based on the total amount repaid, and obtaining the first account type; associating the first account type and the repayment data and storing them in the repayment record table, and updating the total amount repaid in the repayment record table.
[0052] Specifically, when repayment information is received, the repayment information needs to be recorded in the same manner as the loan information. Therefore, when the repayment data is obtained, it is first necessary to determine which type of loan is being repaid. At this time, the total amount of repayments can be determined first, and the account type to which the loan amount corresponding to the repayment data belongs can be determined based on the total amount of repayments, and the first account type can be obtained, thereby determining the loan amount corresponding to the repayment data, and recording the repayment data in the location under the account type of the loan amount, thereby completing the accounting operation of the repayment information.
[0053] For example, the repaid amount is 1,000 yuan, and the currently generated loan amount is 2,000 yuan, which means that another 1,000 yuan should be repaid but has not been repaid. At this time, when the user repays 1,000 yuan, it is necessary to determine the loan type corresponding to the 1,000 yuan and store it in the storage location corresponding to the loan type in the repayment record table, that is, the first account type and the repayment data are associated and stored in the repayment record table, so that the business personnel can determine the type of each repayment according to the storage location and the associated account type, thereby ensuring that the repayment amount and loan amount under each type are equal.
[0054] It should be noted that after the repayment is completed, the total amount repaid in the repayment record table needs to be updated according to the repayment amount to ensure the accuracy of the total amount repaid in the repayment record table.
[0055] In order to ensure the accuracy of the repayment amount, optionally, in the method for processing account information provided in the embodiment of the present application, the method also includes: when receiving the first prompt information, obtaining the total accounts in each area in the loan account table to obtain multiple total account amounts, wherein the first prompt information is used to indicate that the repayment operation has been completed; obtaining the total amount repaid in the repayment record table; adding the multiple total account amounts to obtain the total loan amount, and determining whether the total loan amount and the total amount repaid are equal; when the total loan amount and the total amount repaid are equal, sending a second prompt information to the financial institution, wherein the second prompt information is used to indicate that there is no abnormality in the repayment operation; when the total loan amount and the total amount repaid are not equal, sending a third prompt information to the financial institution, wherein the third prompt information is used to indicate that there is an abnormality in the repayment operation.
[0056] Specifically, the first prompt information can be used to indicate that the repayment operation has been completed, that is, the user has completed all repayment operations for the loan business. At this time, it is necessary to reconcile the repayment account and the loan account to determine whether the repayment amount is accurate to avoid overpayment or underpayment.
[0057] Furthermore, after receiving the first prompt message, the total accounts in each area of the loan account table can be obtained to obtain multiple total account amounts, and the multiple total account amounts can be added together to obtain the total loan amount, and the total amount repaid can be read in the repayment record table, and the total loan amount can be compared with the total amount repaid. When the total loan amount is equal to the total amount repaid, it indicates that the repayment operation is correct and the accounts can be accurately matched. At this time, a second prompt message is sent to the financial institution to inform it that there is no abnormality in the account of the amount institution. When the total loan amount is not equal to the total amount repaid, it indicates that there is a problem. At this time, whether it is an overpayment or an underpayment, a prompt message needs to be sent to the financial institution to inform the financial institution to handle it.
[0058] For example, the total loan account under the first account type is 1,000 yuan, the total loan account under the second account type is 500 yuan, and the total loan account under the third account type is 200 yuan, then the total loan amount is 1,700. When the total amount repaid is 1,700, the second prompt information is sent to the financial institution. When the total amount repaid is not 1,700, the third prompt information is sent to the financial institution, thereby feeding back the repayment result to the financial institution to ensure that the financial institution can receive the repayment result in time and process the business according to the repayment result.
[0059] In order to ensure the accuracy of the repayment amount, optionally, in the method for processing account information provided in the embodiment of the present application, the method also includes: when receiving the first prompt information, obtaining the total accounts in each area in the loan account table, and obtaining M total account amounts, wherein the first prompt information is used to characterize that the repayment operation has been completed; obtaining the repayment amount under each account type in the repayment record table, and obtaining M repayment amounts; determining in turn whether the repayment amount and the total account amount under the same account type are equal; in the case where there are unequal repayment amounts and total account amounts, sending a fourth prompt information to the financial institution, wherein the fourth prompt information is used to indicate that an abnormality has occurred in the accounting operation; in the case where there are no unequal repayment amounts and total account amounts, sending a fifth prompt information to the financial institution, wherein the fifth prompt information is used to indicate that no abnormality has occurred in the accounting operation.
[0060] Specifically, when the first prompt message is received and reconciliation is performed, since the repayment amount is also recorded according to the loan type, the total account in each area of the loan account table can also be obtained to obtain M total account amounts, and the repayment amount under each type is obtained, and the repayment amount and the total account amount of the same type are compared. When the repayment amount and the total account amount of each type are equal, it indicates that the repayment operation is correct and the accounts can be accurately matched. At this time, the fifth prompt message is sent to the financial institution to inform it that there is no abnormality in the account of the amount institution. When the repayment amount and the total account amount under a certain type are not equal, it indicates that there is a problem with the repayment amount. At this time, whether it is an overpayment or an underpayment, a prompt message needs to be sent to the financial institution to inform the financial institution to handle it.
[0061] For example, the total loan account under the first account type is 1,000 yuan, and the repayment amount is 1,000 yuan, the total loan account under the second account type is 500 yuan, and the repayment amount is 500 yuan, and the total loan account under the third account type is 200 yuan, and the repayment amount is 200 yuan, which indicates that there is no abnormality in the repayment, and the fifth prompt information is sent to the financial institution; the total loan account under the first account type is 1,000 yuan, and the repayment amount is 900 yuan, the total loan account under the second account type is 500 yuan, and the repayment amount is 500 yuan, and the total loan account under the third account type is 200 yuan, and the repayment amount is 200 yuan, which indicates that there is an abnormality in the repayment, and the fourth prompt information is sent to the financial institution, thereby feeding back the repayment result to the financial institution to ensure that the financial institution can receive the repayment result in time and perform business processing according to the repayment result.
[0062] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0063] The embodiment of the present application also provides an account information processing device. It should be noted that the account information processing device of the embodiment of the present application can be used to execute the account information processing method provided in the embodiment of the present application. The following introduces the account information processing device provided in the embodiment of the present application.
[0064] Figure 3 Schematic diagram of an account information processing device provided according to an embodiment of the present application. Figure 3 As shown, the device includes: a first acquisition unit 31, a judgment unit 32, a first recording unit 33, and a second recording unit 34.
[0065] The first acquisition unit 31 is used to obtain the repayment data of the target account in the historical time period in the repayment record table, and obtain the initial account type of the target account, wherein the initial account type is determined by the account type of the target account in the historical time period, and the repayment record table is located in the loan account table.
[0066] The judgment unit 32 is used to judge whether the initial account type needs to be changed according to the repayment data.
[0067] The first recording unit 33 is used to change the initial account type when it is necessary to change the initial account type, obtain the target account type, and record the loan accounts within the target time period in the first area of the storage table to which the target account type belongs, wherein the target time period is an adjacent time period after the historical time period, and the first area is located in the loan account table.
[0068] The second recording unit 34 is used to keep the initial account type unchanged when there is no need to change the initial account type, and record the loan accounts within the target time period in the second area of the storage table to which the initial account type belongs, wherein the second area is located in the loan account table.
[0069] The account information processing device provided by the embodiment of the present application obtains the repayment data of the target account in the historical time period in the repayment record table through the first acquisition unit 31, and obtains the initial account type of the target account, wherein the initial account type is determined by the account type of the target account in the historical time period, and the repayment record table is located in the loan account table; the judgment unit 32 judges whether the initial account type needs to be changed according to the repayment data; the first recording unit 33 changes the initial account type when the initial account type needs to be changed, obtains the target account type, and records the loan account in the target time period in the first area of the storage table to which the target account type belongs, wherein the target time period is an adjacent time period after the historical time period, and the first area is located in the loan account table; the second recording unit 34 keeps the initial account type unchanged when the initial account type does not need to be changed, and records the loan account in the target time period in the second area of the storage table to which the initial account type belongs, wherein the second area is located in the loan account table. The problem of high complexity and low efficiency of accounting by subject in the related art is solved. By obtaining the initial account type of the target account and changing the account type according to the repayment situation, the accounting position in the future time period is changed according to the change, so as to achieve the purpose of automatically recording according to the account type and subject, thereby achieving the effect of improving the accuracy and efficiency of accounting.
[0070] Optionally, in the account information processing device provided in the embodiment of the present application, the judgment unit 32 includes: a first acquisition module, used to acquire the number of dates with repayment data within a historical time period to obtain the number of repayment days; a second acquisition module, used to determine the preset interval to which the number of repayment days belongs in a preset table, and acquire the account type corresponding to the preset interval to obtain a candidate account type, wherein the preset table includes multiple preset intervals; a judgment module, used to determine whether the initial account type is the same as the candidate account type; a first determination module, used to determine that the initial account type does not need to be changed when the initial account type is the same as the candidate account type; a second determination module, used to determine that the initial account type needs to be changed when the initial account type is different from the candidate account type, and determine the candidate account type as the target account type.
[0071] Optionally, in the account information processing device provided in the embodiment of the present application, after recording the loan accounts within the target time period in the first area of the storage table to which the target account type belongs, the device also includes: a first calculation unit, used to calculate the total loan amount within the historical time period to obtain a first loan amount; a first determination unit, used to obtain a first loan balance on the start date of the historical time period in the type change table, and determine a second loan balance on the start date of the target time period based on the first loan balance and the first loan amount, wherein the type change table records multiple loan balances and the account type to which each loan balance belongs; a third recording unit, used to associate the second loan balance with the target account type and record it in the type change table.
[0072] Optionally, in the account information processing device provided in the embodiment of the present application, the first determination unit includes: a third acquisition module, used to obtain the loan amount of each day in the historical time period to obtain multiple loan amounts; a first calculation module, used to add the multiple loan amounts to obtain a first loan amount; the first determination unit includes: a second calculation module, used to subtract the first loan balance from the first loan amount to obtain a second loan balance.
[0073] Optionally, in the account information processing device provided in the embodiment of the present application, the device also includes: a second acquisition unit, used to obtain the repayment data in the repayment information when the repayment information is received, and obtain the total amount repaid in the repayment record table; a second determination unit, used to determine the account type to which the loan amount corresponding to the repayment data belongs based on the total amount repaid, and obtain the first account type; a storage unit, used to associate the first account type and the repayment data and store them in the repayment record table, and update the total amount repaid in the repayment record table.
[0074] Optionally, in the account information processing device provided in the embodiment of the present application, the device also includes: a third acquisition unit, which is used to obtain the total accounts in each area in the loan account table when receiving the first prompt information, and obtain multiple total account amounts, wherein the first prompt information is used to indicate that the repayment operation has been completed; a fourth acquisition unit, which is used to obtain the total amount repaid in the repayment record table; a second calculation unit, which is used to add the multiple total account amounts to obtain the total loan amount, and determine whether the total loan amount and the total amount repaid are equal; a first sending unit, which is used to send a second prompt information to the financial institution when the total loan amount and the total amount repaid are equal, wherein the second prompt information is used to indicate that there is no abnormality in the repayment operation; a second sending unit, which is used to send a third prompt information to the financial institution when the total loan amount and the total amount repaid are not equal, wherein the third prompt information is used to indicate that there is an abnormality in the repayment operation.
[0075] Optionally, in the account information processing device provided in the embodiment of the present application, the device also includes: a fifth acquisition unit, which is used to obtain the total accounts in each area in the loan account table when the first prompt information is received, and obtain M total account amounts, wherein the first prompt information is used to indicate that the repayment operation has been completed; a sixth acquisition unit, which is used to obtain the repayment amount under each account type in the repayment record table, and obtain M repayment amounts; a third determination unit, which is used to determine in turn whether the repayment amount and the total account amount under the same account type are equal; a third sending unit, which is used to send a fourth prompt information to the financial institution when there are unequal repayment amounts and total account amounts, wherein the fourth prompt information is used to indicate that an abnormality has occurred in the accounting operation; a fourth sending unit, which is used to send a fifth prompt information to the financial institution when there are no unequal repayment amounts and total account amounts, wherein the fifth prompt information is used to indicate that no abnormality has occurred in the accounting operation.
[0076] The above-mentioned account information processing device includes a processor and a memory. The above-mentioned first acquisition unit 31, judgment unit 32, first recording unit 33, second recording unit 34, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.
[0077] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the problem of high complexity and low efficiency of accounting by subject in related technologies is solved by adjusting kernel parameters.
[0078] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0079] An embodiment of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the method for processing account information is implemented.
[0080] An embodiment of the present invention provides a processor, which is used to run a program, wherein the method for processing account information is executed when the program is running.
[0081] Figure 4 is a schematic diagram of an electronic device provided according to an embodiment of the present application, such as Figure 4 As shown, an embodiment of the present invention provides an electronic device, the electronic device 40 includes a processor, a memory, and a program stored in the memory and executable on the processor, and the processor implements the steps of the above-mentioned method for processing account information when executing the program. The device in this article can be a server, a PC, a PAD, a mobile phone, etc.
[0082] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes the steps of the above-mentioned method for processing account information.
[0083] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0084] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0085] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0086] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0087] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0088] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0089] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0090] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0091] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A method for processing account information, characterized in that: include: Obtaining repayment data of a target account in a historical time period in a repayment record table, and obtaining an initial account type of the target account, wherein the initial account type is determined by the account type of the target account in the historical time period, and the repayment record table is located in a loan account table; Determining whether the initial account type needs to be changed according to the repayment data; In the case where the initial account type needs to be changed, the initial account type is changed to obtain a target account type, and the loan accounts within the target time period are recorded in the first area of the storage table to which the target account type belongs, wherein the target time period is an adjacent time period after the historical time period, and the first area is located in the loan account table; When there is no need to change the initial account type, the initial account type is kept unchanged, and the loan accounts within the target time period are recorded in the second area of the storage table to which the initial account type belongs, wherein the second area is located in the loan account table.
2. The method according to claim 1, characterized in that Determining whether the initial account type needs to be changed according to the repayment data includes: Obtain the number of dates of the repayment data within the historical time period to obtain the number of repayment days; Determine the preset interval to which the number of repayment days belongs in a preset table, and obtain the account type corresponding to the preset interval to obtain a candidate account type, wherein the preset table includes multiple preset intervals; Determining whether the initial account type is the same as the candidate account type; When the initial account type is the same as the candidate account type, determining that there is no need to change the initial account type; In the case that the initial account type is different from the candidate account type, it is determined that the initial account type needs to be changed, and the candidate account type is determined as the target account type.
3. The method according to claim 1, characterized in that After recording the loan accounts within the target time period in the first area of the storage table to which the target account type belongs, the method further includes: Calculating the total loan amount in the historical time period to obtain a first loan amount; Obtaining a first loan balance on the start date of the historical time period in a type change table, and determining a second loan balance on the start date of the target time period according to the first loan balance and the first loan amount, wherein the type change table records multiple loan balances and the account type to which each loan balance belongs; The second loan balance and the target account type are associated and recorded in the type change table.
4. The method according to claim 3, characterized in that Obtaining the first loan balance amount on the starting date of the historical time period in the type change table includes: Obtaining the daily loan amount in the historical time period to obtain multiple loan amounts; Adding the multiple loan amounts to obtain the first loan amount; Determining a second loan balance on the start date of the target time period according to the first loan balance and the first loan amount includes: The first loan balance is subtracted from the first loan amount to obtain the second loan balance.
5. The method according to claim 1, characterized in that The method further comprises: When the repayment information is received, the repayment data in the repayment information is obtained, and the total amount of repayment in the repayment record table is obtained; Determine the account type to which the loan amount corresponding to the repayment data belongs according to the total amount of repayments, and obtain a first account type; The first account type and the repayment data are associated and stored in the repayment record table, and the total amount repaid in the repayment record table is updated.
6. The method according to claim 5, characterized in that The method further comprises: Upon receiving the first prompt information, obtaining the total accounts in each area of the loan account table to obtain a plurality of total account amounts, wherein the first prompt information is used to indicate that the repayment operation has been completed; Obtaining the total amount of repayments in the repayment record table; Adding the multiple total account amounts to obtain a total loan amount, and determining whether the total loan amount is equal to the total amount repaid; When the total loan amount and the total amount of repayments are equal, sending a second prompt message to the financial institution, wherein the second prompt message is used to indicate that there is no abnormality in the repayment operation; In the case that the total loan amount and the total repaid amount are not equal, a third prompt message is sent to the financial institution, wherein the third prompt message is used to indicate that there is an abnormality in the repayment operation.
7. The method according to claim 5, characterized in that The method further comprises: When receiving the first prompt information, obtaining the total accounts in each area of the loan account table to obtain M total account amounts, wherein the first prompt information is used to indicate that the repayment operation has been completed; Obtain the repayment amount under each account type in the repayment record table to obtain M repayment amounts; Determine in sequence whether the repayment amount and the total account amount under the same account type are equal; In the case where the repayment amount and the total account amount are not equal, sending a fourth prompt message to the financial institution, wherein the fourth prompt message is used to indicate that an abnormality has occurred in the accounting operation; In the case that there is no unequal repayment amount and total account amount, a fifth prompt message is sent to the financial institution, wherein the fifth prompt message is used to indicate that there is no abnormality in the accounting operation.
8. A device for processing account information, characterized in that: include: a first acquisition unit, configured to acquire repayment data of a target account in a historical time period from a repayment record table, and acquire an initial account type of the target account, wherein the initial account type is determined by an account type of the target account in the historical time period, and the repayment record table is located in a loan account table; A judgment unit, configured to judge whether the initial account type needs to be changed according to the repayment data; A first recording unit is used to change the initial account type to obtain a target account type when the initial account type needs to be changed, and record the loan accounts within a target time period in a first area of a storage table to which the target account type belongs, wherein the target time period is an adjacent time period after the historical time period, and the first area is located in the loan account table; The second recording unit is used to keep the initial account type unchanged when there is no need to change the initial account type, and record the loan accounts within the target time period in a second area of the storage table to which the initial account type belongs, wherein the second area is located in the loan account table.
9. A computer storage medium, characterized in that The computer storage medium is used to store a program, wherein when the program is executed, the device where the computer storage medium is located is controlled to execute the method for processing account information according to any one of claims 1 to 7.
10. An electronic device, characterized in that: The invention comprises one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method for processing account information as described in any one of claims 1 to 7.
