Method, device, equipment and medium for searching overdue loan data
By combining and sorting loan data, using reverse order to quickly locate overdue results, the problems of low efficiency and poor compatibility when calculating historical overdue information in traditional methods are solved, and efficient and flexible search of overdue data is achieved, suitable for business of different financial institutions. need.
Patent Information
- Application Number
- CN202311169104.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-12
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2043-09-12
AI Technical Summary
When traditional methods calculate historical overdue information after debt transfer, there are problems such as missing data, low calculation efficiency, poor real-time and poor compatibility. It is difficult to accurately measure the borrower's repayment ability and credit rating, and there are differences in calculation methods of different financial institutions.
By obtaining the returned data and the returned data, combining it to form an ordered sequence, and using reverse order to quickly locate overdue results, avoiding the traditional method one-by-one restoration and comparison process, and improving computing efficiency and compatibility.
This method reduces the computing capacity burden of data retrieval resources, improves computing efficiency, is suitable for the business needs of different financial institutions, has good compatibility and flexibility, and can be applied in different business scenarios to meet real-time computing needs.
Smart Images

Figure CN117331983B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of financial technology, and in particular to a method, device, equipment and medium for searching overdue loan data. Background Art
[0002] Overdue information (overdue data) is a relevant indicator used to judge and calculate the overdue of loans (i.e. credit assets). It can simply reflect the risk status of assets. Usually, it is calculated by maintaining the repayment plan based on the repayment plan and repayment details. However, after a debt transfer (i.e. a change in the creditor) business occurs, a repayment plan corresponding to the new creditor will be generated. The status corresponding to the due date of the original creditor is the latest, and the historical repayment plan (i.e. the repayment plan of the original creditor before the debt transfer) cannot be directly obtained. It is necessary to recursively calculate the historical repayment plan, and then evaluate the risk status of the asset based on the historical repayment plan and the repayment plan corresponding to the new creditor. For example: The 1st and 3rd periods of creditor A's repayment plan were overdue, but they were repaid after the due date, and there was no overdue in other periods. The current repayment cycle is in the 5th period, but the due date of the 5th period has not yet arrived. At this time, "debt transfer" occurs to creditor B. Then the repayment plan of creditor A obtained by the new creditor B will be the final state (latest state) at the time of "debt transfer", that is, the status of the 1st to 4th periods are respectively repaid. It is impossible to directly know from the status information that the 1st and 3rd periods in creditor A's repayment plan were overdue.
[0003] Traditional overdue algorithm: The method of calculating the historical repayment plan is to restore the repayment plan to the first repayment status based on the repayment period, repayment amount, and repayment time included in each repayment detail of the borrower. Specifically, starting from the first repayment status, combined with the actual repayment details, iterates in a loop to the current date to obtain the repayment plan, and then calculate the corresponding overdue information based on the repayment plan.
[0004] For example: sort the due date of the creditor A and the repayment time of the borrower by time, compare the due date and repayment time one by one by period, and compare the repayable amount corresponding to the due date with the actual repayment amount corresponding to the repayment time to determine the overdue result of the period, and update the period status of the final repayment plan "Period 1: repaid; Period 2: repaid; Period 3: repaid; Period 4: repaid; Period 5: normal..." through calculation to obtain the period status of the repayment plan of creditor A "Period 1: overdue; Period 2: repaid; Period 3: overdue; Period 4: repaid; Period 5: normal...", and determine the overdue result based on the calculated period status.
[0005] The above-mentioned method for calculating overdue information has the following deficiencies:
[0006] (1) Data missing problem: Before debt-to-equity swap, repayment plan information may change or be lost, resulting in historical overdue information being unable to accurately measure the borrower’s repayment ability and credit rating.
[0007] (2) Low calculation efficiency: In order to restore the historical overdue information before the debt swap, it is necessary to restore each repayment plan one by one and determine whether it is overdue by comparing the actual repayment situation. The entire calculation process is very cumbersome, time-consuming and inefficient.
[0008] (3) Poor real-time performance: In the case of large amounts of data, restoring all historical repayment information will cause the computer processing speed to slow down, often requiring a long wait, and it is difficult to meet the needs of real-time computing.
[0009] (4) Poor compatibility: Restoring historical repayment information is too cumbersome. Different financial institutions have different calculation methods and standards, which leads to differences in calculation results and makes them difficult to compare and apply. Summary of the invention
[0010] The present invention provides a method for searching overdue loan data to solve the problem that the traditional method needs to restore historical repayment information and cannot reasonably utilize data retrieval resources.
[0011] In a first aspect, the present invention provides a method for searching overdue loan data, the method comprising:
[0012] Acquire the data to be returned and the data to be returned, and merge the data to be returned and the data to be returned to obtain a number series, wherein the number series includes the amount to be returned of the data to be returned and the amount to be returned of the data to be returned;
[0013] Determine the reverse order pair of the number series according to the amount to be repaid and the amount already repaid;
[0014] An overdue result is determined based on the reverse order pair.
[0015] In a second aspect, the present invention provides a device for searching overdue loan data, comprising a unit for executing the method for searching overdue loan data as described in any one of the embodiments of the first aspect.
[0016] In a third aspect, an electronic device is provided, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0017] Memory, used to store computer programs;
[0018] The processor is used to implement the steps of the method for searching overdue loan data described in any one of the embodiments of the first aspect when executing the program stored in the memory.
[0019] In a fourth aspect, 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 steps of the method for searching overdue loan data as described in any embodiment of the first aspect are implemented.
[0020] The above technical solution provided by the embodiment of the present invention has the following advantages compared with the prior art:
[0021] Loan data is sorted by amount and time to form an order, and then combined with a sequence search algorithm, the reverse pair is quickly located in the ordered sequence, and the reverse pair is used to quickly determine whether there is overdue data. This method avoids the traditional method of restoring the historical repayment plan step by step to obtain overdue data, reduces the computing power burden of data retrieval resources, and improves computing efficiency. This search method is suitable for the business needs and computing standards of different financial institutions, has good compatibility, can be applied in different business scenarios, and improves the flexibility and scalability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0023] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0024] Figure 1 A flow chart of a method for searching overdue loan data provided by an embodiment of the present invention;
[0025] Figure 2 A schematic diagram of the structure of a device for searching overdue loan data provided by an embodiment of the present invention;
[0026] Figure 3 A schematic diagram of the structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0028] Example 1
[0029] Figure 1 The present invention provides a flowchart of a method for searching overdue loan data. The present invention provides a method for searching overdue loan data. Specifically, see Figure 1 The method for searching overdue loan data includes the following steps S101-S103.
[0030] S101, obtaining data to be returned and data already returned, and combining the data to be returned and the data already returned to obtain a number series, wherein the number series includes the amount to be returned of the data to be returned and the amount already returned of the data already returned.
[0031] In a specific implementation, the loan data is obtained through a preset storage unit. The loan data includes data due for repayment and data already repaid. The data due for repayment includes due date, period number, due date integer and due amount integer, which are used to record the expected repayment information of the loan. The data already repaid includes repayment date, period number, repayment date integer and repayment amount integer. Among them, the due date and repayment date are usually in the format of year-month-day, the due date integer is the number of days from the preset date to the due date, the repayment date integer is the number of days from the preset date to the repayment date, the due amount integer and the repayment amount integer are usually expressed as integers in cents, the due amount integer refers to the cumulative due amount, and the repayment amount integer refers to the cumulative repayment amount.
[0032] In this embodiment, the integer of the amount to be repaid of the data to be repaid is used as the amount to be repaid, and the integer of the repayment amount of the data to be repaid is used as the amount to be repaid.
[0033] In one embodiment, the above step S101 includes the step of arranging the data to be repaid and the data to be repaid from small to large according to the amount, and using the arranged data as the number series.
[0034] In a specific implementation, the integers of the repayable amount of the repayable data and the repayment amount of the repaid data are arranged from small to large. If the amounts are the same, they are sorted from small to large by date, and finally an ordered sequence is obtained.
[0035] S102: Determine a reverse order pair of the number series according to the amount to be repaid and the amount already repaid.
[0036] In a specific implementation, in the ordered sequence obtained by merging the data to be repaid and the data already repaid, if the amount to be repaid is equal to the amount already repaid, the data to be repaid corresponding to the amount to be repaid and the data already repaid corresponding to the amount already repaid are treated as a reverse pair. It can be understood that a reverse pair refers to the data to be repaid and the data already repaid with the same amount.
[0037] The reverse pair method uses data retrieval resources to compare data that is equal to the amount due and the amount already repaid. Compared with the traditional method of calculating the historical repayment plan, there is no need to compare the data due and the data already repaid for each period, thus avoiding multiple comparisons that increase the load on data retrieval resources, greatly rationally utilizing data retrieval resources, and thus improving data retrieval efficiency.
[0038] In one embodiment, the above step S102 includes steps S201-S202:
[0039] S201, determining whether there is repayable data and repaid data whose repayable amount is equal to the repaid amount.
[0040] In a specific implementation, it is determined whether there are data to be repaid and data already repaid with the same amount. If there are data to be repaid and data already repaid with the same amount, the data to be repaid and data already repaid with the same amount are taken as the reverse order pair.
[0041] In one embodiment, the above step S201 includes steps S301-S302:
[0042] S301: If there is no repayable data and repaid data whose repayable amount is equal to the repaid amount, determine whether the maximum amount of the repayable data is greater than the maximum amount of the repaid data.
[0043] In specific implementation, the maximum amount of data to be repaid refers to the amount corresponding to the maximum date of data to be repaid within the current date, and the maximum amount of data already repaid refers to the amount corresponding to the maximum date of data already repaid within the current date. If the maximum amount of data to be repaid is not greater than the maximum amount of data already repaid, it is determined that the borrower has repaid in advance, that is, there is no overdue data.
[0044] In one embodiment, the above step S301 includes steps S401-S402:
[0045] S401, determining whether the maximum date of the data to be returned is greater than a preset date;
[0046] S402: If the maximum date of the data to be returned is greater than a preset date, determine that the maximum amount of the data to be returned is greater than the maximum amount of the data already returned.
[0047] In a specific implementation, the maximum date of the data to be repaid refers to the maximum date of the data to be repaid within the current date. The preset date is usually set as the date corresponding to the execution of the method. It should be noted that the technology for automatically obtaining the corresponding date when the execution method is executed can be determined by referring to existing data. If the maximum date of the data to be repaid is greater than or equal to the preset date, it is determined that the current date has not reached the repayment deadline, that is, the borrower has no overdue data.
[0048] S302: If the maximum amount of the data to be returned is greater than the maximum amount of the data already returned, an overdue payment is considered as the overdue result.
[0049] In a specific implementation, if the maximum amount of the data to be repaid is greater than the maximum amount of the data already repaid, it is determined that the borrower has not repaid a sufficient amount within the due date, that is, the borrower has overdue data.
[0050] S202: If there are repayable data and repaid data whose repayable amount is equal to the repaid amount, the repayable data corresponding to the repayable amount and the repaid data corresponding to the repaid amount are taken as the reverse order pair.
[0051] In a specific implementation, the data to be repaid and the data to be repaid are equal to the amount to be repaid, that is, the reverse pair. Usually, the reverse pair is a part of the data in the sequence sorted from small to large by date. If the reverse pair is sorted as "data to be repaid - data to be repaid", it can be understood that the loan is repaid after the due date, that is, the period is overdue; if the reverse pair is sorted as "data to be repaid - data to be repaid", it can be understood that the loan has been repaid before the due date, that is, the period is not overdue. Quickly determine whether the borrower has overdue data, and the search instruction is simple, so that the computer executes the instruction with high efficiency and good compatibility.
[0052] S103, determining the overdue result according to the reverse order pair.
[0053] In specific implementation, it is possible to quickly determine whether a loan is overdue through the repayable data and repaid data of the reverse pair. In scenarios with large amounts of data, the computer can still efficiently search for the reverse pair, reducing the computing power requirements for computer data search and achieving better real-time effects.
[0054] In one embodiment, the above step S102 includes steps S501-S503:
[0055] S501, obtaining the date of the data to be returned and the date of the data already returned of the reverse order pair.
[0056] In a specific implementation, the date of the data to be returned in the reverse pair refers to the due date integer corresponding to the data to be returned in the reverse pair, and the date of the returned data in the reverse pair refers to the returned date integer corresponding to the returned data in the reverse pair.
[0057] S502, determining whether the date of the data to be returned is less than the date of the data already returned.
[0058] S503: If the date of the data to be returned is less than the date of the data already returned, an overdue date is taken as the overdue result.
[0059] In the specific implementation, it is determined whether the integer of the due date in the reverse pair is less than the integer of the repaid date. If the integer of the due date in the reverse pair is less than the integer of the repaid date, it is determined that the borrower has not completed the repayment within the due date, that is, the borrower has overdue data.
[0060] In one embodiment, the overdue result includes a current overdue indicator and a historical overdue indicator.
[0061] The current overdue indicators include the current overdue period, the current number of overdue periods, all current overdue periods, the current overdue principal, the current overdue start date, and the current overdue days, etc.
[0062] Historical overdue indicators include cumulative DPD days, historical maximum DPD days, cumulative overdue periods, historical longest single overdue period, cumulative overdue principal, historical maximum overdue principal, etc.
[0063] The current overdue index and the historical overdue index can be calculated by retrieving the data to be repaid and the data already repaid.
[0064] In one embodiment, the above-mentioned method for searching overdue loan data can be performed by one or more computer devices in a preset software program, application program, or server. The preset storage unit stores the data including the data to be repaid and the data to be repaid, and the data to be repaid and the data to be repaid can be obtained from the storage unit by the computer device. The following provides an example of a 6-term repayment plan for a borrower with a loan amount of RMB 6,000 on May 10, 2023:
[0065] The due data is shown in Table 1 below, where the due date is in the format of year-month-day, the due date integer is the number of days starting from January 1, 2000, and the amount integer is the integer after the amount is expanded by 100 times (in cents). :
[0066] Issue Due Date Due date integer The amount due is an integer 1 2023-06-10 8562 100000 2 2023-07-10 8592 100000 3 2023-08-10 8623 100000 4 2023-09-10 8654 100000 5 2023-10-10 8684 100000 6 2023-11-10 8715 100000
[0067] Table 1
[0068] Assuming that the first repayment of RMB 100.00 occurs on July 18, 2023, the first repayment of RMB 300.00 occurs on July 25, 2023, the first repayment of RMB 600.00 occurs on July 27, 2023, and the second repayment of RMB 500.00 occurs on July 28, 2023, the following is the actual repayment information for each period. The actual repayment information, i.e. the data already repaid, is shown in Table 2 below, where the format of the due date and the actual repayment date is year-month-day, the integer of the due date and the integer of the actual repayment date are both the number of days calculated from January 1, 2000, and the integer of the amount is expressed in cents.
[0069] Issue Actual repayment date Actual repayment date integer The actual repayment amount is an integer 1 2023-07-18 8600 10000 1 2023-07-25 8607 30000 1 2023-07-27 8609 60000 2 2023-07-28 8610 50000
[0070] Table 2
[0071] Step S101 is executed through the preset program to merge the data to be repaid and the data to be repaid. The data of the amount to be repaid (recorded as s1) are as follows: 100000 (the total amount to be repaid in the first period), 200000 (the total amount to be repaid in the first and second periods). The data of the actual amount to be repaid (recorded as s2) are as follows: 10000 (the total amount of the accumulated repayments on the first repayment date), 40000 (the total amount of the accumulated repayments as of the second repayment date), 100000 (the total amount of the accumulated repayments as of the third repayment date), 150000 (the total amount of the accumulated repayments as of the fourth repayment date). Then combine s1 and s2 into a sequence, sort them by amount in ascending order, and if the amount is the same, sort them by date in ascending order. Finally, we get an ordered sequence {(10000, 8600)}, {(40000, 8607)}, {(100000, 8562)}, {(100000, 8609)}, {(150000, 8610)}, {(200000, 8592)}, denoted as s. The detailed process can be referred to as shown in Tables 3 to 5 below:
[0072]
[0073] Table 3
[0074] Usually, the merged Table 3 is sorted, and the sorted data is shown in the following Table 4:
[0075]
[0076] Table 4
[0077] Usually, the dates in Table 4 of the sorted data are converted, and the converted data are shown in Table 5 below:
[0078]
[0079] Table 5
[0080] The obtained Table 5 is used as the sequence obtained in step S101. It can be understood that the data in the 3rd and 6th columns of Table 5 are the data to be returned, and the data in the 3rd row of the data to be returned is the amount to be returned of the data to be returned; the data in the 1st, 2nd, 4th and 5th rows of Table 5 are the data to be returned, and the data in the 3rd row of the data to be returned is the amount to be returned of the data to be returned. The data in Table 5 is used to execute step S102.
[0081] Step S102 is executed by a preset program to obtain the payable data and the paid data of which the payable amount is the same as the paid amount, and the obtained reverse order data is shown in Table 6 below:
[0082]
[0083] Table 6
[0084] By executing step S103 through the preset program, it can be understood that from the sorting of Table 6, the reverse order pair can be determined to be sorted as "repayable data - repaid data", that is, the loan is repaid after the due date, and it is determined that an overdue is generated. The overdue period is the first period corresponding to the repayable data of the reverse order pair. The overdue information of a certain period can be quickly determined through the reverse order pair. This method avoids the disadvantage of the traditional method that requires step-by-step comparison of each period to restore the historical repayment information, and improves the calculation efficiency and accuracy.
[0085] The embodiments of the present invention can achieve the following advantages:
[0086] Loan data is sorted by amount and time to form an order, and then combined with a sequence search algorithm, the reverse pair is quickly located in the ordered sequence, and the reverse pair is used to quickly determine whether there is overdue data. This method avoids the traditional method of restoring the historical repayment plan step by step to obtain overdue data, reduces the computing power burden of data retrieval resources, and improves computing efficiency. This search method is suitable for the business needs and computing standards of different financial institutions, has good compatibility, can be applied in different business scenarios, and improves the flexibility and scalability of the system.
[0087] See also Figure 2 The embodiment of the present invention further provides a device 600 for searching overdue loan data. The device 600 includes an acquisition unit 601 , a first determination unit 602 , and a second determination unit 603 .
[0088] The acquisition unit 601 is used to acquire the data to be returned and the data already returned, and merge the data to be returned and the data already returned to obtain a number series, wherein the number series includes the amount to be returned of the data to be returned and the amount already returned of the data already returned.
[0089] In one embodiment, the obtaining of the data to be returned and the data already returned, and combining the data to be returned and the data already returned to obtain a sequence, includes:
[0090] The data to be repaid and the data already repaid are arranged in ascending order according to the amount, and the arranged data are used as the number series.
[0091] The first determining unit 602 is used to determine the reverse order pair of the sequence according to the amount to be repaid and the amount already repaid.
[0092] In one embodiment, determining the reverse order pair of the number series according to the amount to be repaid and the amount already repaid includes:
[0093] Determine whether there is repayable data and repaid data with the repayable amount being equal to the repaid amount;
[0094] If there exists repayable data and repaid data whose repayable amount is equal to the repaid amount, the repayable data corresponding to the repayable amount and the repaid data corresponding to the repaid amount are taken as the reverse order pair.
[0095] In one embodiment, after determining whether there is repayable data and repaid data whose repayable amount is equal to the repaid amount, the method further includes:
[0096] If there is no data to be returned and data to be returned whose amount to be returned is equal to the amount to be returned, determining whether the maximum amount of the data to be returned is greater than the maximum amount of the data to be returned;
[0097] If the maximum amount of the data to be returned is greater than the maximum amount of the data already returned, an overdue payment will be considered as the overdue result.
[0098] In one embodiment, the determining whether the maximum amount of the data to be returned is greater than the maximum amount of the data already returned includes:
[0099] Determine whether the maximum date of the data to be returned is greater than a preset date;
[0100] If the maximum date of the data to be returned is greater than the preset date, it is determined that the maximum amount of the data to be returned is greater than the maximum amount of the data already returned.
[0101] The second determining unit 603 is used to determine the overdue result according to the reverse order pair.
[0102] In one embodiment, determining the overdue result according to the reverse order pair includes:
[0103] Obtaining the date of the data to be returned and the date of the data already returned of the reverse order pair;
[0104] Determine whether the date of the data to be returned is less than the date of the data already returned;
[0105] If the date of the data to be returned is less than the date of the data already returned, there will be an overdue date as the overdue result.
[0106] In one embodiment, the overdue result includes a current overdue indicator and a historical overdue indicator.
[0107] like Figure 3 As shown, Figure 35 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 500 may be a terminal or a server, wherein the terminal may be an electronic device with communication functions such as a smart phone, a tablet computer, a laptop computer, a desktop computer, a personal digital assistant, and a wearable device. The server may be an independent server or a server cluster composed of multiple servers.
[0108] The computer device 500 includes a processor 502 , a memory, and a network interface 505 connected via a system bus 501 , wherein the memory may include a non-volatile storage medium 503 and an internal memory 504 .
[0109] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, the processor 502 can execute a method for searching for overdue loan data.
[0110] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500 .
[0111] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a method for searching for overdue loan data.
[0112] The network interface 505 is used to communicate with other devices over the network. Those skilled in the art will appreciate that the above structure is only a block diagram of a portion of the structure related to the present application solution, and does not constitute a limitation on the computer device 500 to which the present application solution is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0113] It should be understood that in the embodiment of the present application, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0114] It is understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.
[0115] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program.
[0116] The storage medium is a physical, non-transient storage medium, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which can store program codes. The computer-readable storage medium can be non-volatile or volatile.
[0117] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0118] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0119] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0120] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention.
[0121] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0122] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
[0123] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for searching overdue loan data, characterized in that: The method comprises: Acquire the data to be returned and the data to be returned, and merge the data to be returned and the data to be returned to obtain a number series, wherein the number series includes the amount to be returned of the data to be returned and the amount to be returned of the data to be returned; Determine the reverse order pair of the number series according to the amount to be repaid and the amount already repaid; Determining the overdue result according to the reverse order pair; Wherein, determining the reverse order pair of the number series according to the amount to be repaid and the amount already repaid includes: Determine whether there is repayable data and repaid data whose repayable amount is equal to the repaid amount; if there is repayable data and repaid data whose repayable amount is equal to the repaid amount, take the repayable data corresponding to the repayable amount and the repaid data corresponding to the repaid amount as the reverse order pair; The determining of the overdue result according to the reverse order pair comprises: Obtain the date of the data to be returned and the date of the data already returned of the reverse pair; determine whether the date of the data to be returned is less than the date of the data already returned; if the date of the data to be returned is less than the date of the data already returned, an overdue date is considered as the overdue result.
2. The method according to claim 1, characterized in that The obtaining of the data to be returned and the data already returned, and combining the data to be returned and the data already returned to obtain a sequence, includes: The data to be repaid and the data already repaid are arranged in ascending order according to the amount, and the arranged data are used as the number series.
3. The method according to claim 1, characterized in that After determining whether there is repayable data and repaid data that have the repayable amount equal to the repaid amount, the method further includes: If there is no data to be returned and data to be returned whose amount to be returned is equal to the amount to be returned, determining whether the maximum amount of the data to be returned is greater than the maximum amount of the data to be returned; If the maximum amount of the data to be returned is greater than the maximum amount of the data already returned, an overdue payment will be considered as the overdue result.
4. The method according to claim 3, characterized in that The determining whether the maximum amount of the data to be returned is greater than the maximum amount of the data already returned includes: Determine whether the maximum date of the data to be returned is greater than a preset date; If the maximum date of the data to be returned is greater than the preset date, it is determined that the maximum amount of the data to be returned is greater than the maximum amount of the data already returned.
5. The method according to claim 1, characterized in that: The overdue results include current overdue indicators and historical overdue indicators.
6. A device for searching overdue loan data, characterized in that: The method comprises a unit for executing the method according to any one of claims 1 to 5.
7. A computer device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing the steps of the method described in any one of claims 1 to 5 when executing a program stored in a memory.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
