Method and system for obtaining stable deposit proportion based on wastage rate

By counting the actual loss of balances, using sliding window and churn rate calculation methods, the problems of untruth and unobjectivity of stable deposit calculations in the existing technology are solved, and a more objective and real stable deposit calculation is achieved.

CN119090609APending Publication Date: 2024-12-06CHINA CITIC BANK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411023533.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The existing stable deposit calculation method assumes that the residual has normal distribution characteristics, but the real residual may not have this characteristic, resulting in the calculation results being not objective and authentic.

Method used

By counting the actual churn of the balance, the sliding window and churn rate calculation method are used to obtain the stable churn rate value, and the final stable churn rate is obtained, thereby calculating the stable deposit ratio and avoiding the assumption of data distribution.

Benefits of technology

A more objective and more realistic stable deposit calculation is achieved. By characterizing the balance loss information in time, the balance data information is truly restored, and it has higher interpretability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119090609A_ABST
    Figure CN119090609A_ABST
Patent Text Reader

Abstract

The invention relates to a method and system for obtaining a stable deposit proportion based on a wastage rate, and the method comprises the steps: taking each point on a time sequence as an anchor point, enabling the length of the time sequence to be L, obtaining a sequence value Vi of a time point i, and calculating a sequence minimum value Mij based on the sequence value Vi; comparing the sequence value Vi with the sequence minimum value Mij to obtain a difference value between the sequence value Vi and the sequence minimum value Mij; calculating a wastage rate when the size of the window is j according to the difference value; and sliding a window, aggregating the wastage rates to obtain a wastage rate sequence, and obtaining a stable wastage rate value from the wastage rate sequence to obtain a final stable wastage rate. According to the method, the loss information of the balance in time is described, namely, the stable deposit is calculated by counting the actual loss condition of the balance, data distribution hypothesis is not involved, balance data information is truly restored, the problems of inauthenticity, non-objectivity and the like existing when the stable deposit is calculated through a trend fitting method are solved, and the calculation efficiency is improved. And the data is more objective, more real and more interpretable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of bank book interest rate risk, and in particular to a method and system for obtaining a stable deposit ratio based on a churn rate. Background Art

[0002] Currently, the mainstream calculation method for stable deposits has the following steps:

[0003] (1) Fitting the trend information of balance deposits, according to different fitting methods, is divided into minimum balance method, STL decomposition method, unit linear regression method (ARIMA), multiple linear regression method, machine learning model method (tree model) and their combination methods;

[0004] (2) Obtain the difference between the balance and the fitted trend information, i.e., the residual;

[0005] (3) The residuals are judged to be stable. If they meet the stability requirement, the residuals are assumed to conform to the normal distribution, and the mean and standard deviation of the residuals are calculated.

[0006] (4) The balance minus the residual value at 1 unit standard deviation or 3 unit standard deviations is used to obtain the maximum fluctuation value of the residual at a confidence level of 95% or 99%, respectively. Finally, the stable deposit is obtained by subtracting the maximum fluctuation value from the balance.

[0007] However, the above-mentioned stable deposit calculation method (trend fitting method) cannot describe the real stable deposit information of the balance, but only probabilistically describes the minimum balance fluctuation bottom line at the current point in time under a certain confidence level, which is not true; the above-mentioned method assumes that the residual has the characteristics of a normal distribution, but the real residual does not necessarily have the characteristics of a normal distribution. The stable deposit calculated based on its assumption is not objective. Summary of the invention

[0008] To address the deficiencies of the prior art, the present invention provides a method and system for obtaining a stable deposit ratio based on a churn rate, by calculating stable deposits by counting the actual churn of the balance without making assumptions about the data distribution, and using real data is more objective.

[0009] To achieve the above objectives, the technical solutions adopted by the present invention include:

[0010] A method for obtaining a stable deposit ratio based on a churn rate, characterized by comprising:

[0011] S1. Take each point in the time series as an anchor point, the time series length is L, and obtain the sequence value V at time point i i , based on the sequence value V i Calculate the minimum value M of the sequence ij ;

[0012] S2. Compare the sequence value V i With the sequence minimum value M ij , get the sequence value V i With the sequence minimum value M ij The difference between

[0013] S3. Calculate the churn rate when the window size is j according to the difference;

[0014] S4. Sliding window, aggregating the churn rate to obtain a churn rate sequence, obtaining a churn rate stable value from the churn rate sequence, and obtaining a final stable churn rate.

[0015] Furthermore, there are L anchor points in total, where L is greater than 0.

[0016] Furthermore, the sequence minimum value M ij is the sequence value V based on time point i i , select the minimum value of the sequence when the window size is j, according to the sequence value V i Calculate the minimum value M of the sequence ij :M ij =min(V i+1 ,V i+2 ,...,V i+j ).

[0017] Furthermore, the comparison of the sequence value V i With the sequence minimum value M ij , get the sequence value V i With the sequence minimum value M ij The difference includes:

[0018] Calculate the sequence value V i With the sequence minimum value M ij DIFF ij ;

[0019] If the difference is greater than 0, the difference is set to 0; otherwise, the difference is retained.

[0020] Furthermore, the churn rate when the window size is j is calculated based on the difference, and the churn rate can be divided into mean churn rate and quantile churn rate according to different statistical indicators, including:

[0021] Calculate the mean churn rate: Among them, rate j represents the mean churn rate when the window size is j;

[0022] Calculating the quantile churn rate, including:

[0023] Calculate the churn rate when the anchor point is at time point i and the window size is j:

[0024] Calculate the quantile churn rate when the window size is j j =Quantile([rate 1j ……rate ij ……rate Lj ],p), where p represents the percentile value, and its value range is [0,1].

[0025] Furthermore, the churn rate sequence includes churn rates under L different window sizes; obtaining a churn rate stability value from the churn rate sequence to obtain a final stable churn rate includes: obtaining a churn rate stability value, and when the churn rates in subsequent churn rate sequences are the same as the churn rate stability value, using the churn rate stability value as the final stable churn rate.

[0026] The present invention also relates to a system for obtaining a stable deposit ratio based on a churn rate, characterized in that it comprises:

[0027] The minimum value calculation module is used to take each point in the time series as an anchor point. The length of the time series is L, and obtain the sequence value V at time point i i , based on the sequence value V i Calculate the minimum value M of the sequence ij ;

[0028] A difference acquisition module is used to compare the sequence value V i With the sequence minimum value M ij , get the sequence value V i With the sequence minimum value M ij The difference between

[0029] A churn rate calculation module, used to calculate the churn rate when the window size is j according to the difference;

[0030] The final acquisition module is used for sliding the window, aggregating the churn rate to obtain a churn rate sequence, and obtaining a churn rate stable value from the churn rate sequence to obtain a final stable churn rate.

[0031] The present invention also relates to a computer-readable storage medium, characterized in that a computer program is stored on the storage medium, and the computer program implements the above method when executed by a processor.

[0032] The present invention also relates to an electronic device, characterized in that it comprises a processor and a memory;

[0033] The memory is used to store program instructions;

[0034] The processor is used to execute the above method by calling program instructions.

[0035] The present invention also relates to a computer program product, comprising a computer program and / or instructions, characterized in that the computer program and / or instructions implement the steps of the above method when executed by a processor.

[0036] The beneficial effects of the present invention are:

[0037] The method and system for obtaining the proportion of stable deposits based on the churn rate described in the present invention can solve the problems of unreality and objectivity in calculating stable deposits using the trend fitting method. The present invention calculates stable deposits by describing the churn information of the balance over time and by using the retention rate (i.e., 1-churn rate). The stable deposits are calculated by statistically analyzing the actual churn of the balance without involving data distribution assumptions, and the balance data information is truly restored, which is more objective, more real, and more explainable. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in describing the embodiments of the present application are briefly introduced below.

[0039] Figure 1 A schematic diagram of a method for obtaining a stable deposit ratio based on a churn rate according to the present invention;

[0040] Figure 2 A schematic diagram of the structure of a system for obtaining a stable deposit ratio based on a churn rate according to the present invention;

[0041] Figure 3 The figure is a schematic diagram of the structure of an electronic device of the present invention. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be clearly and completely described below in conjunction with the specific embodiments of the present application and the corresponding drawings. It should be understood that the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments, and these embodiments are only used to illustrate the present application and are not used to limit the scope of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0043] like Figure 1 As shown, the embodiment of the present invention discloses a method for obtaining a stable deposit ratio based on a churn rate, and the steps of the method include:

[0044] Step S1. Take each point in the time series as an anchor point and obtain the sequence value V at time point i i , based on the sequence value Vi Calculate the minimum value M of the sequence ij , wherein the length of the time series is L, the number of anchor points is L in total, and L is greater than 0.

[0045] In the embodiment of the present invention, the minimum sequence value of each anchor point subsequent sequence under different windows is calculated, as shown in Table 1:

[0046] Table 1

[0047] Window → 1 2 3 4 5 … j … <![CDATA[V 1 ]]> <![CDATA[M 11 ]]> <![CDATA[M 12 ]]> <![CDATA[M 13 ]]> <![CDATA[M 14 ]]> <![CDATA[M 15 ]]> … <![CDATA[M 1j ]]> … <![CDATA[V 2 ]]> <![CDATA[M 21 ]]> <![CDATA[M 22 ]]> <![CDATA[M 23 ]]> <![CDATA[M 24 ]]> <![CDATA[M 25 ]]> … <![CDATA[M 2j ]]> … … … … … … … … … … <![CDATA[V i ]]> <![CDATA[M i1 ]]> <![CDATA[M i2 ]]> <![CDATA[M i3 ]]> <![CDATA[M i4 ]]> <![CDATA[M i5 ]]> … <![CDATA[M ij ]]> … … … … … … … … … …

[0048] Among them, the sequence minimum value M ij is the sequence value V based on time point i i , select the minimum value of the sequence when the window size is j. According to the sequence value V i Calculate the minimum value M of the sequence ij :M ij =min(V i+1 ,V i+2 ,...,V i+j ).

[0049] For example, at time point i = 1 and window size j = 2, the sequence minimum value M 12 =min(V 2 ,V 3 ); At time point i = 1 and window size j = 3, the sequence minimum value M 13 =min(V 2 ,V 3 ,V 4 ); At time point i = 2 and window size j = 3, the sequence minimum value M 23 =min(V 3 ,V 4 ,V 5 ).

[0050] Step S2. Compare the sequence value V i With the sequence minimum value M ij , get the sequence value V i With the sequence minimum value M ij The difference.

[0051] Specifically, the method includes:

[0052] Calculate the sequence value V i With the sequence minimum value M ij DIFF ij ;

[0053] If the difference is greater than 0, the difference is set to 0; otherwise, the difference is retained.

[0054] In the embodiment of the present invention, the difference DIFF ij The calculation formula is:

[0055]

[0056] For example, at time point i=1 and window size j=2, compare V 1 and M 12 , if V 1 No more than M 12 (i.e. min(V 2 ,V 3 )), then let the difference DIFF 12 =0; if V 1 Greater than M 12 (i.e. min(V 2 ,V 3 )), then keep the difference DIFF 12 =V 1 -M 12 .

[0057] Step S3: Calculate the churn rate when the window size is j according to the difference.

[0058] In the embodiment of the present invention, the churn rate is used to describe the loss or attrition in a process. In the present invention, the churn rate can be divided into a mean churn rate and a quantile churn rate according to different statistical indicators.

[0059] The mean churn rate refers to the average churn rate in a certain period of time, that is, the average value of the churn rate in a certain period of time is counted. In an embodiment of the present invention, the average speed of customer balance loss in a certain period of time can be calculated by the mean churn rate to help understand the average performance of the churn process.

[0060] Specifically, the calculation formula for the mean churn rate is: Among them, rate j It represents the mean churn rate when the window size is j.

[0061] The quantile churn rate refers to the churn rate corresponding to each quantile after the data is divided according to a certain quantile within a certain time period. In the present invention, the data can be divided according to different quantiles (such as 25%, 50%, 75%, 95%, etc.), and these quantiles represent different positions in the data set. For each quantile, the corresponding churn rate can be calculated, that is, the proportion of data loss within the quantile.

[0062] Specifically, the quantile churn rate is calculated, including:

[0063] Calculate the churn rate when the anchor point is at time point i and the window size is j

[0064] The calculation formula for the quantile churn rate when the window size is j is: rate j =Quantile([rate 1j ……rate ij ……rate Lj ],p), where p represents the percentile value, and its value range is [0,1].

[0065] In the embodiment of the present invention, p can be taken as 95%.

[0066] Through the quantile churn rate, we can understand the loss of customer balances at different time points, helping banks to formulate targeted strategies and optimize their businesses.

[0067] Step S4. Sliding window, aggregating the churn rate to obtain a churn rate sequence, obtaining a churn rate stable value from the churn rate sequence, and obtaining a final stable churn rate.

[0068] In this embodiment, the above steps can be used to calculate the churn rate under different window sizes, and the churn rate sequence rate=[rate 1 ……rate j ……rate L ], get the stable value of the churn rate rate stable , when the churn rate stabilizes stable If the subsequent churn rate sequence is the same value, then this value is taken as the final stable churn rate.

[0069] In an embodiment of the present invention, a method for obtaining a stable deposit ratio based on a churn rate can be applied to the calculation of stable deposits in a demand deposit in a customer behavior model of interest rate risk in a bank account, and is specifically implemented as follows:

[0070] loop_1: traverse the balance sequence V in chronological order

[0071] Get information at each point in time

[0072] loop_2: traverse the window sequence [1,L] from small to large

[0073] The current window length is k

[0074] Calculate the minimum value of the subsequent sequence of length k at each time point Vi as M(i,k)

[0075] Calculate the difference DIFF(i,k) between Vi and M(i,k). If it is less than 0, set it to 0.

[0076] Calculate r(i,k) = DIFF(i,k) / Vi, which represents the churn rate of anchor point Vi in the kth month loop_2:end

[0077] loop_1:end

[0078] loop_3: traverse the window sequence [1,L] from small to large

[0079] The current window length is k, which indicates the kth month of churn, and r(k) indicates the churn rate under the k window.

[0080] Define SUM_DIFF to represent the cumulative sum of loss values, with an initial value of 0; define SUM_V to represent the sum of anchor points, with an initial value of 0

[0081] IF calculates the mean churn rate:

[0082] loop_4: traverse DIFF(i,k), i value range is [1,L]

[0083] SUM_DIFF+=(value greater than 0 in DIFF(i,k))

[0084] SUM_V+=(the anchor point Vi corresponding to the value greater than 0 in DIFF(i,k))

[0085] Mean churn rate calculation: r(k) = SUM_DIFF / SUM_V

[0086] ELSE IF quantile churn rate:

[0087] Quantile churn rate calculation: r(k) = quantile function ([r(1,k),…,r(i,k),…],p), where p represents the quantile, such as 95%

[0088] loop_3:end

[0089] Calculate the final churn rate: Get a stable point in the churn rate sequence [r(1),…,r(k),…]. After this point appears, the values ​​in the subsequent sequence do not change as the window becomes larger.

[0090] like Figure 2 As shown, the embodiment of the present invention discloses a system for obtaining a stable deposit ratio based on a churn rate, and the structure thereof includes:

[0091] The minimum value calculation module is used to take each point in the time series as an anchor point. The length of the time series is L, and obtain the sequence value V at time point i i , based on the sequence value V i Calculate the minimum value M of the sequence ij ;

[0092] A difference acquisition module is used to compare the sequence value V i With the sequence minimum value M ij, get the sequence value V i With the sequence minimum value M ij The difference between

[0093] A churn rate calculation module, used to calculate the churn rate when the window size is j according to the difference;

[0094] The final acquisition module is used for sliding the window, aggregating the churn rate to obtain a churn rate sequence, and obtaining a churn rate stable value from the churn rate sequence to obtain a final stable churn rate.

[0095] By using this system, the above-mentioned operation processing method can be executed and the corresponding technical effects can be achieved.

[0096] An embodiment of the present invention also provides a computer-readable storage medium capable of implementing all the steps in the method in the above embodiment, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, all the steps in the method in the above embodiment are implemented.

[0097] The embodiment of the present invention further provides an electronic device for executing the above method, as a device for implementing the method, and its structure is as follows: Figure 3 As shown, the electronic device 300 includes: a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, such as through a bus 302. Optionally, the electronic device 300 may also include a transceiver 304. It should be noted that in actual applications, the transceiver 304 is not limited to one. It is understandable that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the specific structure of the electronic device 300. In other embodiments of the present application, the electronic device 300 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware. Optionally, the electronic device may also include a display screen 305 for displaying images, or receiving user operation instructions when necessary.

[0098] The processor 301 is applied in the embodiment of the present application to implement the method shown in the above method embodiment. The transceiver 304 may include a receiver and a transmitter. The transceiver 304 is applied in the embodiment of the present application to implement the function of the electronic device of the embodiment of the present application communicating with other devices when executed.

[0099] Processor 301 may be a CPU (Central Processing Unit), a general purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 301 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0100] The processor 301 may also include one or more processing units, for example, the processor 301 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processor (NPU). Among them, different processing units may be independent devices or integrated into one or more processors. Among them, the controller may be the nerve center and command center of the electronic device 300. The controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions. A memory may also be set in the processor 301 for storing instructions and data. In some embodiments, the memory in the processor 301 is a high-speed cache memory. The memory may store instructions or data that the processor 301 has just used or circulated. If the processor 301 needs to use the instruction or data again, it may be directly called from the memory. Repeated access is avoided, the waiting time of the processor 301 is reduced, and the efficiency of the system is improved.

[0101] The processor 301 can run the method provided in the embodiment of the present application. The processor 301 can include different devices. For example, when a CPU and a GPU are integrated, the CPU and the GPU can cooperate to execute the method provided in the embodiment of the present application, for example, part of the algorithm in the method is executed by the CPU, and another part of the algorithm is executed by the GPU to obtain faster processing efficiency.

[0102] The bus 302 may include a path to transmit information between the above components. The bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 302 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0103] The memory 303 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory), or may include a high-speed random access memory, or may include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to this.

[0104] Optionally, the memory 303 is used to store application code for executing the solution of the present application, and the execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the method provided in any embodiment of the present application.

[0105] The memory 303 can be used to store computer executable program codes, which include instructions. The processor 301 executes various functional applications and data processing of the electronic device 300 by running the instructions stored in the memory 303. The memory 303 may include a program storage area and a data storage area. Among them, the program storage area may store the code of the operating system, application program, etc. The data storage area may store data created during the use of the electronic device 300 (such as images, videos, etc. collected by the camera application), etc.

[0106] The memory 303 may also store one or more computer programs corresponding to the method provided in the embodiment of the present application. The one or more computer programs are stored in the above-mentioned memory 303 and are configured to be executed by the one or more processors 301. The one or more computer programs include instructions, and the above-mentioned instructions can be used to execute each step in the above-mentioned corresponding embodiment.

[0107] Of course, the code of the method provided in the embodiment of the present application can also be stored in an external memory. In this case, the processor 301 can run the code of the method stored in the external memory through the external memory interface, and the processor 301 can control the running process.

[0108] The display screen 305 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 300 may include 1 or N display screens 305, where N is a positive integer greater than 1. The display screen 305 can be used to display information input by a user or information provided to a user and various graphical user interfaces (GUI). For example, the display screen 305 can display photos, videos, web pages, or files.

[0109] The electronic device provided in the embodiment of the present application is applicable to any embodiment of the above method. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, which will not be repeated here.

[0110] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0111] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A system that specifies the functions of a box or multiple boxes.

[0112] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction system, which is implemented in the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0113] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps of the functions specified in a box or multiple boxes. Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they know the basic creative concept. Therefore, the attached claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0114] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for obtaining a stable deposit ratio based on the churn rate, It is characterized in that include: S1. Take each point in the time series as an anchor point, the time series length is L, and obtain the sequence value V at time point i i , based on the sequence value V i Calculate the minimum value M of the sequence ij ; S2. Compare the sequence value V i With the sequence minimum value M ij , get the sequence value V i With the sequence minimum value M ij The difference between S3. Calculate the churn rate when the window size is j according to the difference; S4. Sliding window, aggregating the churn rate to obtain a churn rate sequence, obtaining a churn rate stable value from the churn rate sequence, and obtaining a final stable churn rate.

2. The method according to claim 1, It is characterized in that There are L anchor points in total, where L is greater than 0.

3. The method according to claim 1, It is characterized in that The sequence minimum value M ij is the sequence value V based on time point i i , select the minimum value of the sequence when the window size is j, according to the sequence value V i Calculate the minimum value M of the sequence ij :M ij =min(V i+1 ,V i+2 ,...,V i+j ).

4. The method according to claim 1, It is characterized in that The comparison of the sequence value V i With the sequence minimum value M ij , get the sequence value V i With the sequence minimum value M ij The difference includes: Calculate the sequence value V i With the sequence minimum value M ij DIFF ij ; If the difference is greater than 0, the difference is set to 0; otherwise, the difference is retained.

5. The method according to claim 1, It is characterized in that The churn rate when the window size is j is calculated according to the difference, and the churn rate can be divided into mean churn rate and quantile churn rate according to different statistical indicators, including: Calculate the mean churn rate: Among them, rate j represents the mean churn rate when the window size is j; Calculating the quantile churn rate, including: Calculate the churn rate when the anchor point is at time point i and the window size is j: Calculate the quantile churn rate when the window size is j j =Quantile([rate 1j ……rate ij ……rate Lj ],p), where p represents the percentile value, and its value range is [0,1].

6. The method according to claim 1, It is characterized in that The churn rate sequence includes churn rates under L different window sizes; obtaining a churn rate stability value from the churn rate sequence to obtain a final stable churn rate includes: obtaining a churn rate stability value, and when the churn rates in subsequent churn rate sequences are the same as the churn rate stability value, using the churn rate stability value as the final stable churn rate.

7. A system for obtaining a stable deposit ratio based on the churn rate, It is characterized in that include: The minimum value calculation module is used to take each point in the time series as an anchor point. The length of the time series is L, and obtain the sequence value V at time point i i , based on the sequence value V i Calculate the minimum value M of the sequence ij ; A difference acquisition module is used to compare the sequence value V i With the sequence minimum value M ij , get the sequence value V i With the sequence minimum value M ij The difference between A churn rate calculation module, used to calculate the churn rate when the window size is j according to the difference; The final acquisition module is used for sliding the window, aggregating the churn rate to obtain a churn rate sequence, and obtaining a churn rate stable value from the churn rate sequence to obtain a final stable churn rate.

8. A computer-readable storage medium, It is characterized in that The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

9. An electronic device, It is characterized in that including a processor and a memory; The memory is used to store program instructions; The processor is configured to execute the method according to any one of claims 1 to 6 by calling program instructions.

10. A computer program product comprising a computer program and / or instructions, It is characterized in that When the computer program and / or the instructions are executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.