Settlement forecasting method, device, computer equipment and storage medium
By conducting multi-model estimation and error analysis on the historical settlement data of multiple target institutions, and selecting appropriate preparatory models, the problem of difficulty in detecting settlement amount errors in Internet finance has been solved, and the accuracy and reliability of the settlement amount prediction have been improved.
Patent Information
- Application Number
- CN202311130331.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-04
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2043-09-04
AI Technical Summary
In the Internet finance industry, the settlement amounts provided by financial institutions are prone to errors, resulting in the inability of multiple parties involved in settlement to effectively discover and verify, and the lack of a reliable prediction mechanism for settlement amounts.
By obtaining the historical settlement data of multiple target institutions, using multiple preliminary models to estimate the basic amount, calculating the error between the estimated amount and the actual settlement amount, and selecting the most suitable preliminary model as the prediction model to improve the prediction of the settlement amount. reliability.
It achieves reliable prediction of the settlement amount, overcomes the problem of passive and lack of verification of the amount provided by financial institutions, and improves the accuracy and reliability of the prediction of the settlement amount.
Smart Images

Figure CN117273723B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a settlement prediction method, a settlement prediction device, a computer device, and a computer-readable storage medium. Background Art
[0002] With the rapid development of the Internet finance industry, there are frequent settlement transactions between loan assistance institutions, loan entities and financial institutions. In the current settlement process, financial institutions often take the initiative, and the settlement amount is usually provided by financial institutions. Once the settlement amount provided by the financial institution is wrong, there is a risk that the multiple parties involved in the settlement scenario will not be able to discover the error in the settlement amount. Summary of the invention
[0003] Based on this, it is necessary to provide a settlement prediction method, settlement prediction device, computer equipment and computer-readable storage medium that can predict the settlement mechanism of each target institution and select a suitable preparatory model for each target institution from a variety of preparatory models as a prediction model for predicting the settlement amount, which is beneficial to improving the reliability of the settlement amount prediction.
[0004] On the one hand, a settlement prediction method is provided, which includes: obtaining the basic amount, settlement amount, and time information of historical settlements of multiple target institutions in a settlement scenario; wherein the basic amount includes principal and interest; substituting the basic amount into multiple preliminary models for calculation respectively, and outputting an estimated amount each time; calculating the estimated error between the estimated amount and the settlement amount associated with the same basic amount, and selecting a preliminary model as a prediction model for each target institution based on the estimated error.
[0005] In one embodiment of the present application, the preliminary model includes a structured module and a floating module; the basic amount is substituted into multiple preliminary models for calculation respectively, and an estimated amount is output each time, including: the basic amount is substituted into each preliminary model for multiple calculations, and each preliminary model calculates multiple estimated amounts based on the basic amount; wherein, during each calculation process, the structured module calculates a fixed amount, and the floating module calculates a floating amount that has a strong correlation with the settlement scenario based on time information; the results output by the structured module and the floating module are integrated to obtain the estimated amount.
[0006] In one embodiment of the present application, the settlement scenario includes an overdue scenario; in the preliminary model applied to the overdue scenario, the structured model calculates the superposition of the principal and the interest as a fixed amount, and the floating module calculates the product of the overdue amount, the number of overdue days and the overdue interest rate to obtain the overdue penalty interest as the floating amount; wherein, in multiple preliminary models applied to the overdue scenario, at least one of the overdue amount, the number of overdue days and the overdue interest rate is calculated differently.
[0007] In one embodiment of the present application, the settlement scenario includes an early settlement scenario; in the preliminary model applied to the early settlement scenario, the structured module calculates the remaining principal to be repaid; the floating module is used to calculate the additional fees; in multiple preliminary models applied to the early settlement scenario, there are at least two methods for calculating the additional fees; the at least two methods for calculating the additional fees include: the product of the remaining principal to be repaid, the interest accrued time and the initial daily interest rate plus the handling fee; and the total interest to be repaid is added.
[0008] In one embodiment of the present application, the preliminary model includes a derivation formula for deriving the settlement amount, and the derivation formula includes rule factors to be derived; the preliminary model performs calculations separately, and each calculation outputs an estimated amount, including: substituting the basic amount and time information into the derivation formula multiple times, performing multiple calculations, and obtaining multiple estimated amounts belonging to the same derivation formula; wherein the rule factors are different in each calculation.
[0009] In one embodiment of the present application, the settlement prediction method includes: obtaining a standard value range of a rule factor; determining a possible maximum value and a possible minimum value of the rule factor based on the standard value range; selecting a number of possible values between the possible maximum value and the possible minimum value; respectively calculating an estimated amount corresponding to each possible value; comparing each estimated amount with the settlement amount, and updating the possible maximum value and the possible minimum value based on the comparison result; until the estimated amount of a possible value matches the settlement amount, and taking the possible value that matches the estimated amount and the settlement amount as the value of the rule factor.
[0010] In one embodiment of the present application, the settlement forecasting method includes: obtaining the target organization and the basic amount of the document to be forecasted; calling a forecasting model that matches the target organization to which the document to be forecasted belongs; inputting the basic amount of the document to be forecasted into the called forecasting model to obtain the forecasted amount of the document to be forecasted.
[0011] On the other hand, a settlement prediction device is provided, which includes: an acquisition module and a control module; the acquisition module is used to obtain the basic amount, settlement amount, and time information of the historical settlement of multiple target institutions in a settlement scenario; wherein the basic amount includes the principal and interest; the control module is connected to the acquisition module, and is used to substitute the basic amount into multiple preliminary models for calculation respectively, and output an estimated amount each time; calculate the estimated error between the estimated amount and the settlement amount associated with the same basic amount, and select a preliminary model as a prediction model for each target institution based on the estimated error.
[0012] On the other hand, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: obtaining the basic amount, settlement amount, and time information of historical settlements of multiple target institutions in a settlement scenario; wherein the basic amount includes principal and interest; substituting the basic amount into multiple preliminary models for calculation respectively, and outputting an estimated amount each time; calculating the estimated error between the estimated amount and the settlement amount associated with the same basic amount, and selecting a preliminary model as a prediction model for each target institution based on the estimated error.
[0013] On the other hand, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: obtaining the basic amount, settlement amount, and time information of historical settlements of multiple target institutions in a settlement scenario; wherein the basic amount includes principal and interest; substituting the basic amount into multiple preliminary models for calculation respectively, and outputting an estimated amount each time; calculating the estimated error between the estimated amount and the settlement amount associated with the same basic amount, and selecting a preliminary model as a prediction model for each target institution based on the estimated error.
[0014] The above-mentioned settlement prediction method, settlement prediction device, computer equipment and computer-readable storage medium obtain relevant information of historical settlement of each target institution in the settlement scenario, namely, the basic amount, settlement amount, time information, etc. The possible settlement amount is estimated using the basic amount and multiple pre-designed preliminary models to obtain the estimated amount. The preliminary model uses the preset possible settlement mechanism of the target institution to obtain the estimated amount. The estimated amount is compared with the settlement amount of the actual settlement to determine the preliminary model applicable to the target institution as the prediction model for predicting the settlement amount. In this way, the settlement mechanism of each target institution is predicted, and the preliminary model applicable to each target institution is selected from a plurality of preliminary models as the prediction model for predicting the settlement amount, which is conducive to improving the reliability of the settlement amount prediction. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 This is a flow chart of an embodiment of the settlement prediction method of the present application;
[0016] Figure 2 It is a flowchart of an embodiment of a method for obtaining a prediction model of the present application;
[0017] Figure 3 It is a flow chart of another embodiment of the settlement prediction method of the present application;
[0018] Figure 4 This is a window diagram of an embodiment of the visualization of an early settlement scenario of the present application;
[0019] Figure 5 This is a window diagram of an embodiment of visualization of an overdue scenario of the present application;
[0020] Figure 6 It is a structural schematic diagram of an embodiment of the settlement prediction device of the present application;
[0021] Figure 7 It is a structural diagram of an embodiment of a computer device of the present application. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0023] In order to solve the technical problem that the method of obtaining the settlement amount in the prior art is passive and lacks verification measures, the present application provides a settlement prediction method, a settlement prediction device, a computer device and a computer-readable storage medium. The settlement prediction method includes: obtaining the basic amount, settlement amount, and time information of the historical settlements of multiple target institutions in the settlement scenario; wherein the basic amount includes the principal and interest; substituting the basic amount into multiple preliminary models for calculation respectively, and outputting an estimated amount each time; calculating the estimated error between the estimated amount and the settlement amount associated with the same basic amount, and selecting a preliminary model as a prediction model for each target institution based on the estimated error. The following is an example of the detailed implementation method of the present application.
[0024] In one embodiment, if Figure 1 As shown, a settlement prediction method is provided. Figure 1 It is a flow chart of an embodiment of the settlement prediction method of the present application.
[0025] S101: Obtain the basic amount, settlement amount, and time information of historical settlements of multiple target institutions in a settlement scenario; wherein the basic amount includes the principal and interest.
[0026] In this embodiment, the target institution may be a financial institution whose settlement mechanism is to be predicted.
[0027] Historical settlement refers to settlement transactions that have occurred or been completed, with clear basic amount, settlement amount and time information.
[0028] The settlement amount is the actual settlement amount. The time information can be used to identify whether the historical settlement is settled on time, such as on-time settlement, overdue settlement, early settlement, etc., which is not limited here.
[0029] Obtaining the historical settlement data of each target institution in the settlement scenario and using the real historical settlement data to deduce the settlement mechanism of each target institution will help improve the authenticity and reliability of the derivation process.
[0030] S102: Substituting the basic amount into a plurality of preliminary models for calculation respectively, and outputting a calculated amount each time.
[0031] In this embodiment, multiple preliminary models are pre-established, wherein the multiple preliminary models respectively use different settlement mechanisms to estimate the estimated amount, that is, the estimation mechanisms of the preliminary models are different, and the estimation mechanisms correspond to the settlement mechanisms of the target institutions in the settlement scenarios.
[0032] In the process of selecting the appropriate preliminary model for each target institution, the basic amount of a historical settlement can be substituted into each preliminary model respectively, and each preliminary model is calculated based on the basic amount to obtain the estimated amount associated with the basic amount calculated by each preliminary model.
[0033] S103: Calculate the estimated error between the estimated amount and the settlement amount associated with the same base amount, and select a preliminary model as a forecasting model for each target institution based on the estimated error.
[0034] In this embodiment, when selecting a prediction model for each target institution, at least one historical settlement of the target institution is calculated using multiple preliminary models respectively, and the basic amount of each historical settlement obtains multiple estimated amounts associated with it. The difference between the estimated amount associated with each basic amount and the settlement amount of the actual settlement is calculated as the estimated error of each preliminary model for the historical settlement.
[0035] Comprehensively considering at least one estimated error of at least one historical settlement of a target institution by each of the preliminary models, it is considered that the preliminary model with the smallest overall error is suitable for the settlement mechanism of the current target institution, and the preliminary model with the smallest overall error is selected as the prediction model of the current target institution. The overall error can be a weighted fusion, average value, variance, etc. of at least one estimated error, which is not limited here.
[0036] In the same way, a preliminary model applicable to the settlement mechanism of each target institution is selected as the forecasting model for forecasting the settlement amount.
[0037] It can be seen that in this embodiment, multiple preparatory models of possible settlement mechanisms are prepared for each target institution, and the estimated amount is obtained by each preparatory model based on the basic amount of settlement, and the estimated amount is compared with the settlement amount of the actual settlement. The overall error of at least one historical settlement of each target institution is calculated by the preparatory model globally, so as to select the preparatory model applicable to the settlement mechanism of each target institution as its prediction model, thereby improving the reliability of the prediction model. In this way, it is possible to predict multiple target institutions so that the settlement amount can be predicted within the settlement cycle, and the problem of being unable to verify the settlement amount provided by the financial institution can be overcome. At the same time, the financial institution can also obtain the predicted amount through such a method, and use the predicted amount as a reference to consider the accuracy of the settlement amount in advance. It can be seen that in this embodiment, the settlement mechanism of each target institution can be predicted, and the preparatory model applicable to each target institution is selected from a variety of preparatory models as the prediction model for predicting the settlement amount, which is conducive to improving the reliability of the settlement amount prediction.
[0038] In one embodiment, if Figure 2 As shown, a settlement prediction method is provided. Figure 2 It is a flow chart of an embodiment of a method for obtaining a prediction model of the present application. It should be noted that this embodiment may be an extension of the previous embodiment, and this embodiment includes all the contents of the previous embodiment, and some of the same contents will not be repeated here.
[0039] S201: Obtain the basic amount, settlement amount, and time information of historical settlements of multiple target institutions in a settlement scenario.
[0040] In this embodiment, the base amount includes the principal and the interest.
[0041] Settlement scenarios usually include conventional settlement scenarios, and on this basis, they can also include overdue scenarios and / or early settlement scenarios. That is to say, the settlement scenarios in this application can be a single settlement scenario or multiple settlement scenarios. Predicting the settlement amounts of multiple settlement scenarios is conducive to improving the functionality of the settlement prediction method and enriching the settlement scenarios to which it is applicable. Examples of settlement scenarios including overdue scenarios and early settlement scenarios will be described later.
[0042] S202: Substitute the basic amount into a plurality of preliminary models respectively.
[0043] In this embodiment, the preliminary model can estimate the settlement transaction based on the basic amount to obtain the estimated amount.
[0044] Furthermore, the preparatory model includes a structured module and a floating module. The structured module can be used to estimate the relatively fixed amount, such as the principal and interest settled in the signed contract. The floating module is used to estimate the relatively personalized part of each target institution, such as different overdue interest and late payment fees.
[0045] Optionally, the preliminary model includes a derivation formula for deriving the settlement amount, and the derivation formula includes the rule factors to be derived. The rule factors to be derived are parameter factors set by each target institution within the standard value range and unknown to other institutions / individuals, such as overdue interest rates, handling fees, etc.
[0046] S203: Performing calculations on each of the prepared models, and outputting a calculated amount each time.
[0047] In this embodiment, the basic amount is substituted into each preliminary model and multiple calculations are performed, and each preliminary model calculates multiple estimated amounts based on the basic amount.
[0048] In each calculation process, the structured module calculates a fixed amount, and the floating module calculates a floating amount that is strongly correlated with the settlement scenario based on time information. The results of the outputs of the structured module and the floating module are integrated to obtain the calculated amount.
[0049] Optionally, the base amount and time information are substituted into the derivation formula multiple times, and multiple calculations are performed to obtain multiple estimated amounts belonging to the same derivation formula; wherein the rule factors are different in each calculation. In other words, when each preliminary model is calculated based on a base amount, multiple estimated amounts can be obtained by multiple calculations, and the rule factors to be predicted are continuously changed during each calculation process, so as to find the most suitable rule factors for each preliminary model for the target institution, and then use multiple preliminary models that use the most suitable specification factors to select the prediction model suitable for the target institution. In this way, it is conducive to further improving the reliability of the prediction model and the accuracy of the predicted amount.
[0050] Optionally, in the process of selecting the most applicable rule factor, the standard value range of the rule factor can be obtained. The possible maximum value and the possible minimum value of the rule factor are determined based on the standard value range. Several possible values are selected between the possible maximum value and the possible minimum value. The estimated amount corresponding to each possible value is calculated respectively. Each estimated amount is compared with the settlement amount, and the possible maximum value and the possible minimum value are updated based on the comparison result. Until the estimated amount of a possible value matches the settlement amount, the possible value that matches the estimated amount and the settlement amount is used as the value of the rule factor, thereby realizing the rapid positioning of the rule factor, improving the efficiency of selecting the rule factor, and then improving the efficiency of selecting the prediction model.
[0051] S204: Calculate the estimated error between the estimated amount and the settlement amount associated with the same base amount.
[0052] In this embodiment, the estimated error may be the difference between the estimated amount and the settlement amount, or may be a value obtained by performing data processing such as weighting on the difference between the two, which is not limited here.
[0053] S205: Selecting a preliminary model as a prediction model for each target mechanism based on the estimated error.
[0054] In this embodiment, the specific implementation of step S204 and step S205 is similar to the implementation of S103 in the above embodiment, and is not limited here.
[0055] The following are examples of various settlement scenarios:
[0056] The settlement scenario may include an overdue scenario. The settlement amount for an overdue scenario is equal to the sum of the principal, interest, and overdue penalty interest.
[0057] Specifically, in the preliminary model applied to the overdue scenario, the structured model calculates the superposition of the principal and the interest as a fixed amount, and the floating module calculates the product of the overdue amount, the number of overdue days and the overdue interest rate to obtain the overdue penalty interest as the floating amount; among them, in multiple preliminary models applied to the overdue scenario, the calculation method of at least one of the overdue amount, the number of overdue days and the overdue interest rate is different.
[0058] For example, the overdue penalty interest can be the product of the overdue amount, the number of overdue days and the overdue interest rate.
[0059] The overdue amount can be calculated as the amount of the overdue principal, or the combined amount of the overdue principal and the overdue interest.
[0060] The calculation method of overdue days can be the number of days beyond the overdue payment date, or the number of days beyond the overdue payment date plus the floating days. Among them, the number of days beyond the overdue payment date is the number of days between the overdue payment date and the due date.
[0061] The penalty interest rate can be calculated as the original funding cost or by adding a floating percentage to the original funding cost.
[0062] When applied to overdue scenarios to calculate overdue penalty interest, you can choose to combine the calculation methods of the overdue amount, overdue days and penalty interest from the above examples to form various preliminary models for overdue scenarios.
[0063] For example, in the derivation formula of the first preliminary model applied to the overdue scenario, the floating model is calculated as follows: Overdue penalty interest = Overdue principal * Number of days beyond the overdue repayment date * Original funding cost. In the derivation formula of the second preliminary model applied to the overdue scenario, the floating model is calculated as follows: Overdue penalty interest = Overdue principal * Number of days beyond the overdue repayment date * Add floating percentage to the original funding cost. By analogy, multiple preliminary models applied to overdue scenarios are formed, which will not be repeated here.
[0064] The settlement scenario may include an early settlement scenario. The settlement amount of the preset early settlement scenario may be the remaining principal with daily interest or the remaining repayment amount with full repayment.
[0065] In the preparatory model applied to the early settlement scenario, the structured module calculates the remaining principal to be repaid; the floating module is used to calculate the additional fees; in multiple preparatory models applied to the early settlement scenario, there are at least two ways to calculate the additional fees; at least two ways to calculate the additional fees include: the product of the remaining principal to be repaid, the interest-accrued period, and the initial daily interest rate plus the handling fee; plus all the interest to be repaid. Furthermore, the calculation method of the additional fees can also include the first installment interest, etc., which is not limited here.
[0066] For example, in the third preliminary model applied to the early settlement scenario, the estimated amount is the sum of the remaining principal and the original interest payable, where the original interest payable is the sum of all the interest to be paid.
[0067] In the fourth preliminary model applied to the early settlement scenario, the estimated amount is the product of the remaining principal to be repaid, the interest accrued period and the initial daily interest rate, the remaining principal to be repaid and the handling fee. Among them, the handling fee is the personalized part of each target institution, and an additional handling fee may be charged in the early settlement scenario, which is one of the rule factors.
[0068] Of course, it can also be assumed that the target institution does not charge any handling fees, that is, in the fourth preliminary model applied to the early settlement scenario, the estimated amount is the product of the remaining principal to be repaid, the interest accrued period and the initial daily interest rate and the remaining principal to be repaid.
[0069] Furthermore, settlement scenarios may include regular settlement scenarios, overdue scenarios, and early settlement scenarios. Regular settlement scenarios are equivalent to the settlement of due repayment orders, and the settlement amount is the sum of the principal and interest.
[0070] In one embodiment, if Figure 3 As shown, a settlement prediction method is provided. Figure 3 It is a flow chart of another embodiment of the settlement prediction method of the present application.
[0071] S301: Obtain the target organization and basic amount of the document to be forecasted.
[0072] In this embodiment, the document to be predicted is a document for which a settlement amount needs to be predicted, and may be a settlement transaction that is currently occurring, a settlement transaction that will occur in the future, or a historical settlement transaction, which is not limited here.
[0073] S302: Calling a forecasting model that matches the target organization to which the document to be forecast belongs.
[0074] In this embodiment, the prediction model is a preliminary model that is suitable for the settlement mechanism of the current target institution selected from multiple preliminary models in the embodiment described above as the prediction model.
[0075] Optionally, when the preliminary model is selected as the forecasting model, it is given the identification of the applicable target institution, so that the corresponding forecasting model can be called when the settlement amount is forecasted. Alternatively, after confirming the forecasting model of the target institution, a mapping relationship between the target institution and the forecasting model is formed, and when the settlement amount needs to be forecasted, the forecasting model matching the target institution is called, which is not limited here.
[0076] S303: Input the basic amount of the document to be predicted into the called prediction model to obtain the predicted amount of the document to be predicted.
[0077] In this embodiment, the basic amount of the document to be predicted is used as the input of the prediction model, the prediction model performs prediction calculation, and the output of the prediction model can be used as the predicted amount of the document to be predicted.
[0078] Optionally, the time information of the document to be predicted may also be input into the prediction model to obtain the predicted amount.
[0079] The settlement amount of the document to be predicted can be compared with the predicted amount to determine whether the difference between the two is within the tolerance range. If the difference between the two is within the tolerance range, the settlement amount is determined to be correct; if the difference between the two is within the tolerance range, the settlement amount is determined to be in doubt, so that when the settlement amount is in doubt, it can be discovered in time and can also be confirmed and checked with the financial institution.
[0080] In summary, in this application, a prediction model is selected for each target institution in each settlement scenario, and the settlement amount provided by the financial institution is calculated based on this model to determine whether it is within the tolerance range. The derivation formula reverses the settlement mechanism of the target institution based on the settlement amount of historical settlements in different scenarios. For example, the components of the settlement amount in the conventional settlement scenario include principal and interest; the components of the settlement amount in the overdue scenario include principal, interest and penalty interest; the components of the settlement amount in the early settlement scenario include the remaining principal and the first installment interest, etc. This application can take into account that the calculation methods of the penalty interest amount, first installment interest, etc. of each target institution are different; at the same time, the number of decimal places in the calculation of the settlement amount is also different. In other words, the decimal accuracy of the settlement amount can also be learned in this application, and the decimal accuracy can be superimposed in the process of obtaining the estimated amount and / or predicted amount, which is conducive to improving the accuracy of the estimated amount and / or predicted amount.
[0081] This application can infer the differentiated calculation logic of each financial institution based on the settlement amount of the historical settlement of the financial institution, and finally extract the calculation formula applicable to each financial institution, that is, the derivation formula. Furthermore, this application can also visualize and configure the parameters required for the derivation formula calculation, so that users can intuitively understand it in detail. This visualization window can be applied to the process of selecting a prediction model, and can also be applied to the process of predicting the settlement amount to obtain the predicted amount, which is not limited here.
[0082] like Figure 4 as well as Figure 5 As shown in the example, Figure 4 This is a window diagram of an embodiment of the visualization of the early settlement scenario of the present application. Figure 5 It is a window diagram of an embodiment of visualizing an overdue scenario of the present application.
[0083] In the early settlement scenario, the visualization window allows you to view the calculation method of the settlement amount, the number of interest-bearing days for early settlement, whether the interest-bearing days are adjusted for the first period, whether an early settlement fee is charged, and the early settlement fee ratio, etc.
[0084] In the overdue scenario, the visualization window can be used to view the calculation formula of the settlement amount, the overdue grace period (such as floating days), whether to charge penalty interest, the annual interest rate of penalty interest, the penalty interest collection technology, the number of days for penalty interest calculation, etc.
[0085] It is easy to understand that the content available for viewing in the visualization window can be adjusted according to actual needs, such as adding detailed derivation formulas, reducing some parameters in the figure, etc., which is not limited here. Furthermore, the user can be given custom permissions so that the user can customize the display content and layout of the visualization window according to their own needs, which is conducive to improving the functionality of the visualization window, and is also conducive to meeting the user's usage needs and improving the user's usage experience.
[0086] At the same time, you can also periodically collect pending orders, such as daily, weekly, and monthly, calculate the pending settlement amount of each order, and then add up the total amount, and then compare it with the total settlement amount provided by the financial institution for reference and comparison. In this way, there is no need to confirm the settlement logic with each financial institution one by one, which is conducive to reducing communication costs.
[0087] It should be understood that although Figure 1-Figure 3 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1-Figure 2 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0088] In one embodiment, if Figure 6 As shown, a settlement prediction device is provided. Figure 6 It is a structural diagram of an embodiment of a settlement prediction device of the present application.
[0089] The settlement prediction device includes an acquisition module 41 and a control module 42 .
[0090] The acquisition module 41 is used to obtain the basic amount, settlement amount, and time information of historical settlements of multiple target institutions in a settlement scenario; wherein the basic amount includes the principal and interest.
[0091] The control module 42 is connected to the acquisition module 41, and is used to substitute the basic amount into multiple preliminary models respectively, perform calculations in each of the preliminary models respectively, and output an estimated amount each time; calculate the estimated error between the estimated amount and the settlement amount associated with the same basic amount, and select one of the preliminary models as a prediction model for each target institution based on the estimated error.
[0092] For the specific definition of the settlement prediction device, please refer to the definition of the settlement prediction method above, which will not be repeated here. Each module in the above settlement prediction device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0093] In one embodiment, if Figure 7As shown, a computer device is provided, Figure 7 It is a structural diagram of an embodiment of a computer device of the present application.
[0094] In this embodiment, the computer device may be a server, or a mobile terminal device such as a mobile phone, a computer, or a tablet, which is not limited here.
[0095] Optionally, the computer device may be a server, and the computer device includes a processor, a memory, and a network interface connected via a system bus.
[0096] The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a settlement prediction method is implemented.
[0097] Optionally, the computer device may be a terminal, and the computer device may include a processor, a memory, a network interface, a display screen, and an input device connected via a system bus.
[0098] The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a settlement prediction method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0099] Those skilled in the art will appreciate that the structure described above by way of example is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0100] Furthermore, the computer device may include a processor 51, a memory 52, and a computer program stored in the memory 52 and executable on the processor 51. When the processor 51 executes the computer program, the following steps are implemented:
[0101] S101: Obtain the basic amount, settlement amount, and time information of historical settlements of multiple target institutions in a settlement scenario; wherein the basic amount includes the principal and interest.
[0102] S102: Substituting the basic amount into a plurality of preliminary models for calculation respectively, and outputting a calculated amount each time.
[0103] S103: Calculate the estimated error between the estimated amount and the settlement amount associated with the same base amount, and select a preliminary model as a forecasting model for each target institution based on the estimated error.
[0104] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0105] S201: Obtain the basic amount, settlement amount, and time information of historical settlements of multiple target institutions in a settlement scenario.
[0106] In this embodiment, the base amount includes the principal and the interest.
[0107] S202: Substitute the basic amount into a plurality of preliminary models respectively.
[0108] In this embodiment, the preparation model includes a structured module and a floating module.
[0109] Optionally, the preliminary model includes a derivation formula for deriving the settlement amount, and the derivation formula includes a rule factor to be derived.
[0110] S203: Performing calculations on each of the prepared models, and outputting a calculated amount each time.
[0111] In this embodiment, the basic amount is substituted into each preliminary model and multiple calculations are performed, and each preliminary model calculates multiple estimated amounts based on the basic amount.
[0112] Optionally, the basic amount and time information are substituted into the derivation formula multiple times, and multiple calculations are performed to obtain multiple calculated amounts belonging to the same derivation formula; wherein the rule factor is different in each calculation.
[0113] Optionally, obtain the standard value range of the rule factor; determine the possible maximum value and possible minimum value of the rule factor based on the standard value range; select several possible values between the possible maximum value and the possible minimum value; and calculate the estimated amount corresponding to each possible value. Compare the estimated amount corresponding to each possible value with the settlement amount. Take the estimated amount corresponding to each possible value, the possible maximum value, and the possible minimum value as the amount node, confirm the amount node closest to the settlement amount on both sides, that is, confirm the amount node that is greater than the settlement amount and closest to the settlement amount, and the amount node that is less than the settlement amount and closest to the settlement amount, and take the possible value / possible maximum value / possible minimum value corresponding to the amount node closest to both sides as the new possible maximum value and possible minimum value, so as to update the possible maximum value and possible minimum value based on the comparison result. Until the estimated amount of a possible value matches the settlement amount, the possible value that matches the estimated amount and the settlement amount is taken as the value of the rule factor.
[0114] Optionally, the number of possible values may be one, two, three, four, etc., which is not limited here.
[0115] In an alternative embodiment, when calculating the rule factor, all the possibility values of the rule factor can be substituted into the derivation formula for deduction, and the possibility value that is closest to the deduced amount and the rule factor is selected as the value of the rule factor.
[0116] Among them, the structured module calculates a fixed amount during each calculation process, and the floating module calculates a floating amount that is strongly correlated with the settlement scenario based on time information; the results of the outputs of the structured module and the floating module are integrated to obtain the estimated amount.
[0117] The settlement scenario includes the overdue scenario. In the preparatory model applied to the overdue scenario, the structured model calculates the superposition of the principal and interest as the fixed amount, and the floating module calculates the product of the overdue amount, the number of overdue days and the overdue interest rate to obtain the overdue penalty interest as the floating amount; among which, in multiple preparatory models applied to the overdue scenario, at least one of the overdue amount, the number of overdue days and the overdue interest rate is calculated differently.
[0118] The settlement scenario includes the early settlement scenario. In the preparatory model applied to the early settlement scenario, the structured module calculates the remaining principal to be repaid; the floating module is used to calculate the additional fees; in multiple preparatory models applied to the early settlement scenario, there are at least two ways to calculate the additional fees; the at least two ways to calculate the additional fees include: the product of the remaining principal to be repaid, the interest accrued period and the initial daily interest rate plus the handling fee; plus all the interest to be repaid.
[0119] S204: Calculate the estimated error between the estimated amount and the settlement amount associated with the same base amount.
[0120] S205: Selecting a preliminary model as a prediction model for each target mechanism based on the estimated error.
[0121] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0122] S301: Obtain the target organization and basic amount of the document to be forecasted.
[0123] S302: Calling a forecasting model that matches the target organization to which the document to be forecast belongs.
[0124] S303: Input the basic amount of the document to be predicted into the called prediction model to obtain the predicted amount of the document to be predicted.
[0125] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0126] S101: Obtain the basic amount, settlement amount, and time information of historical settlements of multiple target institutions in a settlement scenario; wherein the basic amount includes the principal and interest.
[0127] S102: Substituting the basic amount into a plurality of preliminary models for calculation respectively, and outputting a calculated amount each time.
[0128] S103: Calculate the estimated error between the estimated amount and the settlement amount associated with the same base amount, and select a preliminary model as a forecasting model for each target institution based on the estimated error.
[0129] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0130] S201: Obtain the basic amount, settlement amount, and time information of historical settlements of multiple target institutions in a settlement scenario.
[0131] In this embodiment, the base amount includes the principal and the interest.
[0132] S202: Substitute the basic amount into a plurality of preliminary models respectively.
[0133] In this embodiment, the preparation model includes a structured module and a floating module.
[0134] Optionally, the preliminary model includes a derivation formula for deriving the settlement amount, and the derivation formula includes a rule factor to be derived.
[0135] S203: Performing calculations on each of the prepared models, and outputting a calculated amount each time.
[0136] In this embodiment, the basic amount is substituted into each preliminary model for multiple calculations, and each preliminary model calculates multiple estimated amounts based on the basic amount;
[0137] Optionally, the basic amount and time information are substituted into the derivation formula multiple times, and multiple calculations are performed to obtain multiple calculated amounts belonging to the same derivation formula; wherein the rule factor is different in each calculation.
[0138] Optionally, obtain a standard value range for the rule factor; determine a possible maximum value and a possible minimum value for the rule factor based on the standard value range; select several possible values between the possible maximum value and the possible minimum value; calculate the estimated amount corresponding to each possible value respectively; compare each estimated amount with the settlement amount, and update the possible maximum value and the possible minimum value based on the comparison result; until the estimated amount of a possible value matches the settlement amount, use the possible value that matches the estimated amount and the settlement amount as the value of the rule factor.
[0139] Among them, the structured module calculates a fixed amount during each calculation process, and the floating module calculates a floating amount that is strongly correlated with the settlement scenario based on time information; the results of the outputs of the structured module and the floating module are integrated to obtain the estimated amount.
[0140] The settlement scenario includes the overdue scenario. In the preparatory model applied to the overdue scenario, the structured model calculates the superposition of the principal and interest as the fixed amount, and the floating module calculates the product of the overdue amount, the number of overdue days and the overdue interest rate to obtain the overdue penalty interest as the floating amount; among which, in multiple preparatory models applied to the overdue scenario, at least one of the overdue amount, the number of overdue days and the overdue interest rate is calculated differently.
[0141] The settlement scenario includes the early settlement scenario. In the preparatory model applied to the early settlement scenario, the structured module calculates the remaining principal to be repaid; the floating module is used to calculate the additional fees; in multiple preparatory models applied to the early settlement scenario, there are at least two ways to calculate the additional fees; the at least two ways to calculate the additional fees include: the product of the remaining principal to be repaid, the interest accrued period and the initial daily interest rate plus the handling fee; plus all the interest to be repaid.
[0142] S204: Calculate the estimated error between the estimated amount and the settlement amount associated with the same base amount.
[0143] S205: Selecting a preliminary model as a prediction model for each target mechanism based on the estimated error.
[0144] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0145] S301: Obtain the target organization and basic amount of the document to be forecasted.
[0146] S302: Calling a forecasting model that matches the target organization to which the document to be forecast belongs.
[0147] S303: Input the basic amount of the document to be predicted into the called prediction model to obtain the predicted amount of the document to be predicted.
[0148] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0149] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0150] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A settlement prediction method, It is characterized in that include: Obtain the basic amount, settlement amount, and time information of historical settlements of multiple target institutions in the settlement scenario; wherein the basic amount includes the principal and interest; Substituting the basic amount into a plurality of preliminary models for respective calculations, and outputting a calculated amount each time; Calculating the estimated error between the estimated amount and the settlement amount associated with the same base amount, and selecting one of the preliminary models as a forecasting model for each of the target institutions based on the estimated error; The estimated amount combines a fixed amount and a floating amount, wherein the floating amount is calculated based on time information and is associated with the settlement scenario; The preparatory model includes a structured module and a floating module; Substituting the basic amount into a plurality of preliminary models for calculation respectively, and outputting a calculated amount each time, comprises: Substituting the basic amount into each of the preliminary models for multiple estimations, each of the preliminary models estimating a plurality of estimated amounts based on the basic amount; In each calculation process, the structured module calculates a fixed amount, and the floating module calculates a floating amount that is strongly correlated with the settlement scenario based on the time information; the results output by the structured module and the floating module are integrated to obtain the calculated amount; The estimated amount is used to verify the settlement amount within the settlement period; The preliminary model includes a derivation formula for deriving the settlement amount, and the derivation formula includes a rule factor to be derived; The preliminary model performs calculations respectively, and each calculation outputs a calculated amount including: Substituting the basic amount and the time information into the derivation formula multiple times, performing multiple calculations, and obtaining multiple calculated amounts belonging to the same derivation formula; wherein the rule factor is different in each calculation.
2. The settlement prediction method according to claim 1, It is characterized in that The settlement scenarios include overdue scenarios; In the preliminary model applied to the overdue scenario, the structured model calculates the superposition of the principal and the interest as the fixed amount, and the floating module calculates the product of the overdue amount, the overdue days and the overdue interest rate to obtain the overdue penalty interest as the floating amount; Among them, in the multiple preliminary models applied to the overdue scenario, the calculation method of at least one of the overdue amount, the overdue days and the overdue interest rate is different.
3. The settlement prediction method according to claim 1, It is characterized in that The settlement scenario includes an early settlement scenario; In the preliminary model applied to the early settlement scenario, the structured module calculates the remaining principal to be repaid; the floating module calculates the additional fees; Among the plurality of the preparation models applied to the early settlement scenario, there are at least two calculation methods of the additional fee; The at least two methods for calculating the additional fees include: the product of the remaining principal to be repaid, the interest-accrued period, and the initial daily interest rate plus the handling fee; Add all outstanding interest.
4. The settlement prediction method according to claim 1, It is characterized in that The settlement prediction method comprises: Get the standard value range of the rule factor; Determine the possible maximum value and the possible minimum value of the rule factor based on the standard value range; Select several possible values between the possible maximum value and the possible minimum value; calculate the estimated amount corresponding to each possible value respectively; compare each estimated amount with the settlement amount, and update the possible maximum value and the possible minimum value based on the comparison result; until the estimated amount of a possible value matches the settlement amount, the possible value that matches the estimated amount and the settlement amount is used as the value of the rule factor.
5. The settlement prediction method according to claim 1, It is characterized in that The settlement prediction method comprises: Obtain the target organization and basic amount of the document to be forecasted; Calling a forecasting model that matches the target organization to which the document to be forecast belongs; The basic amount of the document to be predicted is input into the called prediction model to obtain the predicted amount of the document to be predicted.
6. A settlement prediction device, It is characterized in that The settlement prediction device comprises: An acquisition module is used to obtain the basic amount, settlement amount, and time information of historical settlements of multiple target institutions in a settlement scenario; wherein the basic amount includes the principal and interest; a control module connected to the acquisition module, for respectively substituting the basic amount into a plurality of preliminary models, respectively performing calculations in each of the preliminary models, and outputting a calculated amount each time; calculating a calculation error between the calculated amount and the settlement amount associated with the same basic amount, and selecting one of the preliminary models as a prediction model for each of the target institutions based on the calculation error; the calculated amount integrates a fixed amount and a floating amount, and the floating amount is calculated based on time information and is associated with the settlement scenario; The preparatory model includes a structured module and a floating module; Substituting the basic amount into a plurality of preliminary models for calculation respectively, and outputting a calculated amount each time, comprises: Substituting the basic amount into each of the preliminary models for multiple estimations, each of the preliminary models estimating a plurality of estimated amounts based on the basic amount; In each calculation process, the structured module calculates a fixed amount, and the floating module calculates a floating amount that is strongly correlated with the settlement scenario based on the time information; the results output by the structured module and the floating module are integrated to obtain the calculated amount; The estimated amount is used to verify the settlement amount within the settlement period; The preliminary model includes a derivation formula for deriving the settlement amount, and the derivation formula includes a rule factor to be derived; The preliminary model performs calculations respectively, and each calculation outputs a calculated amount including: Substituting the basic amount and the time information into the derivation formula multiple times, performing multiple calculations, and obtaining multiple calculated amounts belonging to the same derivation formula; wherein the rule factor is different in each calculation.
7. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the settlement prediction method according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the settlement prediction method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Intelligent prediction model selection method and device
CN111639798A
Data processing method and device, equipment, medium and program product
CN113723692A
