A method and device for analyzing abnormal data

By performing classification strategy model identification and grouping processing on banking business data, combined with bank institution names or bank card number segments, the problem of incomplete and accurate abnormal data analysis in the existing technology is solved, and more accurate abnormal data identification and alarms are achieved.

CN111507397BActive Publication Date: 2024-09-27WEBANK (CHINA)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010297692.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-16
Publication Date
2024-09-27
Estimated Expiration
2040-04-16

AI Technical Summary

Technical Problem

Existing abnormal data detection methods for banking business fail to fully combine the names of banking institutions or bank card number segments during analysis, resulting in frequent false alarms and insufficiently comprehensive and accurate analysis.

Method used

By obtaining customer business data, input it into the preset classification strategy model to identify and mark groups, use the preset estimation algorithm to calculate the overall normal business data quantity of each group, determine abnormal situations, and conduct analysis based on the name of the banking institution or bank card number segment. , improve the comprehensiveness and accuracy of analysis.

Benefits of technology

It realizes real-time automatic identification of normal business data, specifically quantifies abnormal situations, reduces the frequency of false alarms, and improves the comprehensiveness and accuracy of abnormal data analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111507397B
    Figure CN111507397B
Patent Text Reader

Abstract

An embodiment of the present invention provides an abnormal data analysis method and device, the method comprising acquiring customer business data of a set business, inputting the customer business data into a preset classification strategy model for identification, determining part of normal business data in the customer business data, marking and grouping the customer business data and part of normal business data in the customer business data according to preset dimensions, respectively counting the number of customer business data and part of normal business data belonging to each group, calculating the number of overall normal business data of each group based on the number of customer business data and part of normal business data of each group through a preset estimation algorithm, processing the number of customer business data and the number of overall normal business data of each group, and determining the abnormal situation of each group, which can solve the problem of incomplete and low accuracy of abnormal data analysis of banking business data in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of financial technology (Finteh), and in particular, to a method and device for analyzing abnormal data. Background Art

[0002] With the development of computer technology, more and more technologies are being applied in the financial field. Traditional finance is gradually transforming into financial technology. However, due to the security and real-time requirements of the financial industry, higher requirements are also placed on technology.

[0003] The existing abnormal data detection method for banking business is to analyze the rules and calculate the regularity indicators based on historical samples, and then calculate the current indicators based on real-time samples, so as to calculate the difference between the current statistical indicators and the historical statistical indicators for classification, which is mainly used for real-time / offline monitoring and alarm. Specifically, this detection method is to analyze the following rules through recent historical data: within a certain time range of the same product business, the structural proportion distribution of the bank institution name or bank card number segment initiated by normal customers is generally stable. However, the existing abnormal data detection method for banking business only identifies normal business data based on the classification model trained with historical data, and does not combine the overall, bank institution name or bank card number segment and other groups for abnormal data analysis and alarm. In addition, the structural proportion distribution of the bank institution name or bank card number segment of recent historical customers and current customers may not always correspond, and may be affected by normal factors of historical or current business (for example: certain regions, bank promotion), which will lead to frequent false alarms, resulting in incomplete and low accuracy of abnormal data analysis of banking business data.

[0004] In summary, there is an urgent need for an abnormal data analysis method to solve the problem that the abnormal data analysis of banking business data in the prior art is incomplete and inaccurate. Summary of the invention

[0005] The embodiment of the present invention provides an abnormal data analysis method and device to solve the problems of unquantified alarms, poor alarm accuracy and insufficient alarm coverage in the prior art.

[0006] In a first aspect, an embodiment of the present invention provides a method for analyzing abnormal data, comprising:

[0007] Acquire customer service data of the set service; the customer service data is pre-processed data of the service data received from the customer;

[0008] Inputting the customer service data into a preset classification strategy model for identification, and determining part of the normal service data in the customer service data;

[0009] Marking and grouping the customer business data and part of the normal business data in the customer business data according to preset dimensions, and counting the number of the customer business data and part of the normal business data belonging to each group;

[0010] Calculate the amount of overall normal business data of each group according to the amount of the customer business data and the part of normal business data of each group by a preset estimation algorithm;

[0011] The quantity of the customer service data of each group and the quantity of the overall normal service data are processed to determine the abnormal situation of each group.

[0012] In the above technical solution, by inputting customer business data into a preset classification strategy model for identification, part of the normal business data in the customer business data is determined, so that part of the normal business data in the customer business data can be automatically identified in real time without relying on manual identification, and the customer business data and part of the normal business data in the customer business data are marked and grouped according to preset dimensions, which can provide data support for the subsequent calculation of the number of overall normal business data of each group according to a preset estimation algorithm, and then the number of overall normal business data of each group is calculated according to the customer business data and the number of part of the normal business data of each group through the preset estimation algorithm, and the number of customer business data and the number of overall normal business data of each group are processed to determine the abnormal situation of each group, so that the abnormal situation of each group can be specifically quantified, and the comprehensiveness and accuracy of the abnormal data analysis are improved under the premise of combining the overall, bank institution name or bank card number segment for abnormal data analysis, thereby solving the problem of incomplete and low accuracy of abnormal data analysis of bank business data in the prior art.

[0013] Optionally, the method further comprises:

[0014] The preset classification strategy model is determined after performing an offline classification strategy analysis on offline business data based on the structural ratio of bank institution names or bank card number segments; the structural ratio of bank institution names or bank card number segments is the proportion of each bank institution name or each bank card number segment in the business data.

[0015] Optionally, the performing of offline classification strategy analysis on offline business data based on the structure ratio of bank institution names or bank card number segments to determine the preset classification strategy model includes:

[0016] Get offline business data;

[0017] According to a preset verification method, determine the number and proportion of each bank institution name or each bank card number segment of the overall normal business data in the offline business data;

[0018] Processing the offline business data according to multiple offline classification rules to determine the number and proportion of each bank institution name or each bank card number segment of part of the normal business data corresponding to each offline classification rule;

[0019] Determine multiple groups of correlation coefficients according to the number and proportion of each bank institution name or each bank card number segment of the overall normal business data in the offline business data, and the number and proportion of each bank institution name or each bank card number segment of the partial normal business data corresponding to each offline classification rule;

[0020] A group of corresponding offline classification rules with the largest correlation coefficient is determined as the preset classification strategy model.

[0021] In the above technical scheme, by using a preset verification method, the offline business data of the same business in the same time period can exclude abnormal data as much as possible to obtain the number and proportion of each bank institution name or each bank card number segment in the overall normal business data in the offline business data, and by processing the offline business data according to multiple offline classification rules, the number and proportion of each bank institution name or each bank card number segment of the partial normal business data corresponding to each offline classification rule can be accurately determined, and a group of corresponding offline classification rules with the largest correlation coefficient can be determined as the preset classification strategy model, which can achieve timely updating of the preset classification strategy model under the premise of high positive linear correlation and high stability verification of the offline classification rules based on the structural proportion of the bank institution name or the bank card number segment.

[0022] Optionally, the determining of multiple groups of correlation coefficients based on the number and proportion of each bank institution name or each bank card number segment of the overall normal business data in the offline business data, and the number and proportion of each bank institution name or each bank card number segment of the partial normal business data corresponding to each offline classification rule, includes:

[0023] From the number and proportion of each bank institution name or each bank card number segment of the overall normal business data in the offline business data, and the number and proportion of each bank institution name or each bank card number segment of the partial normal business data corresponding to each offline classification rule, a group of bank institution names or each bank card number segment whose number is greater than a preset threshold is randomly selected, and the correlation coefficient of the two groups of bank institution names or each bank card number segment whose number is greater than the preset threshold is calculated;

[0024] Multiple sets of correlation coefficients were determined.

[0025] In the above technical scheme, by randomly selecting a group of bank institution names or bank card number segments whose number is greater than a preset threshold from the number and proportion of each bank institution name or each bank card number segment of the overall normal business data in the offline business data, and the number and proportion of each bank institution name or each bank card number segment of the partial normal business data corresponding to each offline classification rule, and calculating the correlation coefficient of the two groups, multiple groups of correlation coefficients are determined, so as to accurately screen out the offline classification rule corresponding to the maximum correlation coefficient as the preset classification strategy model, thereby providing support for real-time recognition of the preset classification strategy model.

[0026] Optionally, calculating the amount of overall normal business data of each group according to the amount of the customer business data and the part of normal business data of each group by using a preset estimation algorithm includes:

[0027] Determine, according to the quantity of the customer service data and the part of normal service data in each group, a ratio of the quantity of the customer service data and the part of normal service data in each group;

[0028] Determine a first ratio according to a ratio set of the quantity of the customer service data and the portion of normal service data in each group, wherein the first ratio is the smallest ratio among the ratios corresponding to the majority in the ratio set;

[0029] The amount of the overall normal service data of each group is determined according to the first ratio and the amount of the partial normal service data of each group.

[0030] In the above technical scheme, since the structural proportions of known normal samples and unknown normal samples in the same banking business in the same period of time in terms of bank institution names or bank card number segments are consistent, and the abnormal samples are only concentrated in a small number of banking institutions or bank card number segments, the calculated ratios are generally relatively stable. Therefore, by determining the first ratio based on the ratio set of the customer business data of each group and the number of some normal business data, and based on the first ratio and the number of some normal business data of each group, the number of overall normal business data of each group can be accurately determined.

[0031] Optionally, the processing the amount of the customer service data of each group and the amount of the overall normal service data to determine the abnormal situation of each group includes:

[0032] The difference between the quantity of the customer service data of each group and the quantity of the overall normal service data of each group is calculated to determine the abnormal quantity of the customer service data of each group and the abnormal proportion of the customer service data of each group.

[0033] In the above technical scheme, by performing a difference calculation between the quantity of the customer business data of each group and the quantity of the overall normal business data of each group, the abnormal amount of the customer business data of each group is determined, and the abnormal proportion of the customer business data of each group is determined. The abnormal amount and abnormal proportion of each group can be specifically quantified, thereby helping to improve the accuracy of abnormal data analysis and alarm.

[0034] Optionally, after determining the abnormal conditions of each group, the method further includes:

[0035] The quantity, abnormal quantity and abnormal proportion of the overall normal business data in the customer business data of each group are stored in an offline business database, and the cached customer business data of each group are cleared and deleted.

[0036] In the above technical solution, after determining the abnormal situation of each group, the number of overall normal business data, the amount of abnormalities and the abnormal proportion in the customer business data of each group are stored in the offline business database, which can help users to prioritize alarms according to the amount of abnormalities and the abnormal proportion of each group; and cleaning and deleting the cached customer business data of each group can help to release memory in time and reduce useless memory usage.

[0037] In a second aspect, an embodiment of the present invention further provides an abnormal data analysis device, including:

[0038] An acquisition unit, used for acquiring customer service data of a set service; the customer service data is data obtained by pre-processing service data received from a customer;

[0039] A processing unit is used to input the customer business data into a preset classification strategy model for identification, and determine some normal business data in the customer business data; mark and group the customer business data and some normal business data in the customer business data according to preset dimensions, and count the number of the customer business data and some normal business data belonging to each group; calculate the number of overall normal business data of each group based on the number of the customer business data and some normal business data in each group through a preset estimation algorithm; process the number of the customer business data and the number of overall normal business data in each group, and determine the abnormal situation of each group.

[0040] Optionally, the processing unit is further configured to:

[0041] The preset classification strategy model is determined after performing an offline classification strategy analysis on offline business data based on the structural ratio of bank institution names or bank card number segments; the structural ratio of bank institution names or bank card number segments is the proportion of each bank institution name or each bank card number segment in the business data.

[0042] Optionally, the processing unit is specifically configured to:

[0043] Get offline business data;

[0044] According to a preset verification method, determine the number and proportion of each bank institution name or each bank card number segment of the overall normal business data in the offline business data;

[0045] Processing the offline business data according to multiple offline classification rules to determine the number and proportion of each bank institution name or each bank card number segment of part of the normal business data corresponding to each offline classification rule;

[0046] Determine multiple groups of correlation coefficients according to the number and proportion of each bank institution name or each bank card number segment of the overall normal business data in the offline business data, and the number and proportion of each bank institution name or each bank card number segment of the partial normal business data corresponding to each offline classification rule;

[0047] A group of corresponding offline classification rules with the largest correlation coefficient is determined as the preset classification strategy model.

[0048] Optionally, the processing unit is specifically configured to:

[0049] From the number and proportion of each bank institution name or each bank card number segment of the overall normal business data in the offline business data, and the number and proportion of each bank institution name or each bank card number segment of the partial normal business data corresponding to each offline classification rule, a group of bank institution names or each bank card number segment whose number is greater than a preset threshold is randomly selected, and the correlation coefficient of the two groups of bank institution names or each bank card number segment whose number is greater than the preset threshold is calculated;

[0050] Multiple sets of correlation coefficients were determined.

[0051] Optionally, the processing unit is specifically configured to:

[0052] Determine, according to the quantity of the customer service data and the part of normal service data in each group, a ratio of the quantity of the customer service data and the part of normal service data in each group;

[0053] Determine a first ratio according to a ratio set of the quantity of the customer service data and the portion of normal service data in each group, wherein the first ratio is the smallest ratio among the ratios corresponding to the majority in the ratio set;

[0054] The amount of the overall normal service data of each group is determined according to the first ratio and the amount of the partial normal service data of each group.

[0055] Optionally, the processing unit is specifically configured to:

[0056] The difference between the quantity of the customer service data of each group and the quantity of the overall normal service data of each group is calculated to determine the abnormal quantity of the customer service data of each group and the abnormal proportion of the customer service data of each group.

[0057] Optionally, the processing unit is further configured to:

[0058] After determining the abnormal situation of each group, the quantity, abnormal amount and abnormal proportion of the overall normal business data in the customer business data of each group are stored in the offline business database, and the cached customer business data of each group is cleared and deleted.

[0059] In a third aspect, an embodiment of the present invention provides a computing device, including:

[0060] A memory for storing program instructions;

[0061] The processor is used to call the program instructions stored in the memory and execute the abnormal data analysis method according to the obtained program.

[0062] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute a method for analyzing abnormal data. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0064] Figure 1 A schematic diagram of a system architecture provided for an embodiment of the present invention;

[0065] Figure 2 A flowchart of a method for analyzing abnormal data provided by an embodiment of the present invention;

[0066] Figure 3 A schematic diagram of a process flow of real-time banking business data processing provided by an embodiment of the present invention;

[0067] Figure 4 A schematic diagram of the structure of an abnormal data analysis device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0068] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all 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.

[0069] Figure 1 A system architecture is provided for an embodiment of the present invention. Figure 1 As shown, the system architecture may be a server 100 , including a processor 110 , a communication interface 120 , and a memory 130 .

[0070] The communication interface 120 is used to communicate with the terminal device, send and receive information transmitted by the terminal device, and realize communication.

[0071] The processor 110 is the control center of the server 100, and uses various interfaces and lines to connect various parts of the entire server 100, and executes various functions of the server 100 and processes data by running or executing software programs and / or modules stored in the memory 130, and calling data stored in the memory 130. Optionally, the processor 110 may include one or more processing units.

[0072] The memory 130 can be used to store software programs and modules. The processor 110 executes various functional applications and data processing by running the software programs and modules stored in the memory 130. The memory 130 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, etc.; the data storage area can store data created according to business processing, etc. In addition, the memory 130 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0073] It should be noted that the above Figure 1 The structure shown is only an example and is not limited to this embodiment of the present invention.

[0074] Based on the above description, Figure 2 The process of an abnormal data analysis method provided by an embodiment of the present invention is exemplarily shown. The process can be executed by an abnormal data analysis device, which can be located at Figure 1 The server 100 shown may also be the server 100.

[0075] like Figure 2 As shown in the figure, the process specifically includes:

[0076] Step 201, obtaining customer business data of the set business.

[0077] In the embodiment of the present invention, the customer business data is the data that has been pre-processed after receiving the business data initiated by the customer. Among them, the customer business data must include the bank card institution name, bank card number, timestamp field, and personal attributes, behaviors and other related fields used in the classification strategy module. The validity of the input fields is checked, and the four elements of name, ID number, bank card number and mobile phone number are verified to verify the authenticity of the business data. Only after the verification is passed, the next step of data processing is carried out to avoid arbitrary input interfering with the analysis of abnormal data, and the bank card number is deduplicated.

[0078] Step 202: input the customer service data into a preset classification strategy model for identification, and determine part of the normal service data in the customer service data.

[0079] In an embodiment of the present invention, the preset classification strategy model may include a real-time classification strategy model, and the preset classification strategy model is determined based on an offline classification strategy analysis of offline business data based on a structural ratio of a bank institution name or a bank card number segment. Specifically, firstly, offline business data is acquired, and then, according to a preset verification method, the number and proportion of each bank institution name or each bank card number segment of the overall normal business data in the offline business data are determined, and the offline business data is processed according to multiple offline classification rules to determine the number and proportion of each bank institution name or each bank card number segment of the partial normal business data corresponding to each offline classification rule, and then from the number and proportion of each bank institution name or each bank card number segment of the overall normal business data in the offline business data and the number and proportion of each bank institution name or each bank card number segment of the partial normal business data corresponding to each offline classification rule, a group of bank institution names or bank card number segments whose number is greater than a preset threshold are randomly selected, and the correlation coefficient of the two groups of bank institution names or bank card number segments whose number is greater than the preset threshold is calculated, so as to determine multiple groups of correlation coefficients, and then the offline classification rule corresponding to the group with the largest correlation coefficient is determined as the preset classification strategy model. After the preset classification strategy model is determined, the customer business data is input into the preset classification strategy model for identification, so as to determine the partial normal business data in the customer business data. Among them, the structural proportion of the bank institution name or the bank card number segment is the proportion of each bank institution name or the proportion of each bank card number segment in the business data. The bank institution name refers to the name of the financial institution that issues the bank card, such as the Industrial and Commercial Bank of China; the bank card number segment is generally a 16-digit or 19-digit bank card number. There are a large number of bank card numbers with the same bank card BIN number, and the last few digits of the bank card BIN number need to be added to segment the card number range; the bank card BIN number is generally the first 6 digits of a 16- or 19-digit bank card number, and the bank card BIN number list is available.

[0080] Furthermore, the classification strategy module may include a preset classification strategy (such as a real-time classification strategy) and an offline classification strategy, which is used to identify normal samples, which is equivalent to randomly sampling normal samples from the overall normal samples, and the proportion of each structural quantity of the simple random sampling is the same as that of each structural quantity of the overall sample. Among them, the classification strategy requirements of the classification strategy module are: (1) The classification strategy has high accuracy in distinguishing normal samples without requiring coverage; (2) The bank institution name or bank card number segment structure proportion of the normal sample extracted by the classification strategy and all normal samples in the overall sample is almost completely positively linearly correlated; (3) The real-time classification strategy module is updated in time from the rules verified by the offline classification strategy with high positive linear correlation and high stability. In addition, the verification method of the offline classification strategy is: all samples of the same business and the same time period exclude abnormal samples as much as possible to obtain all normal samples A (verify the accuracy and coverage of normal samples through multiple manual sampling), and calculate the normal sample volume and normal sample proportion of the normal sample A in each bank institution name or bank card number segment. The offline classification rule can select some normal samples B from the offline business data, and count the normal sample volume and normal sample ratio of the normal sample B in each bank institution name or bank card number segment. In order to avoid the deviation in the normal sample volume, a group of bank institution names or bank card number segments whose number is greater than a preset threshold can be randomly selected from all normal samples A and some normal samples B, respectively, to obtain two groups of percentage arrays X and Y, and calculate the correlation coefficient of the two groups of bank institution names or bank card number segments whose number is greater than a preset threshold.

[0081] The correlation coefficient can be calculated according to the following formula:

[0082]

[0083] Among them, ρ XY is the correlation coefficient between random variables X and Y, E(X) and E(Y) are the expected values ​​of random variables X and Y respectively, and the standard deviation D(X)≠0, D(Y)≠0.

[0084] In addition, multiple groups of correlation coefficients can be calculated based on multiple offline classification rules, and then the group of offline classification rules corresponding to the group with the largest correlation coefficient is selected as the preset classification strategy model (such as the real-time classification strategy model).

[0085] Step 203: Mark and group the customer business data and part of the normal business data in the customer business data according to preset dimensions, and count the number of the customer business data and part of the normal business data belonging to each group.

[0086] In an embodiment of the present invention, customer business data and part of the normal business data in the customer business data are marked and grouped respectively according to preset dimensions, and the number of customer business data and part of the normal business data belonging to each group is counted respectively, wherein the preset dimensions may include time dimensions, such as minutes, hours or days. Specifically, part of the normal business data determined by the classification strategy module is marked as "known normal samples", and grouped after marking, and an array including business id, time period type, current counting time period, whether a normal sample is known, bank card institution name, and bank card number segment is output, and the array format of the marked grouping can be shown in Table 1. When marking and grouping, it is necessary to periodically obtain the full bank institution name or bank card number segment list from the bank card number segment configuration file to mark the bank card number segment that needs to be counted for this business, and it is also necessary to periodically obtain the time period type that needs to be counted (such as minute type, hour type, day type) from the time period configuration file.

[0087] Table 1

[0088]

[0089] Note: The business ID, current counting time period, and bank card number segment can have different value combinations.

[0090] In addition, according to the statistical dimension of the marked group, if the bank card number is not counted under the statistical dimension, the quantity of the dimension is increased by 1, thereby determining the quantity of customer business data of each group.

[0091] Step 204: Calculate the amount of overall normal business data of each group according to the amount of the customer business data and the part of normal business data of each group by using a preset estimation algorithm.

[0092] In the embodiment of the present invention, according to the number of customer business data and part of normal business data of each group, the ratio of the number of customer business data and part of normal business data of each group is determined, and according to the ratio set of the number of customer business data and part of normal business data of each group, the first ratio is determined, and then according to the first ratio and the number of part of normal business data of each group, the number of overall normal business data of each group is determined. Among them, the first ratio is the smallest ratio among the ratios corresponding to the mode in the ratio set; the mode refers to the group median of the group with the highest frequency of sample observations in the frequency distribution table. Specifically, the classification strategy module has determined the known normal sample M and the overall sample T (including the overall normal sample N and the overall abnormal sample E), and according to the rule characteristics of the classification strategy module, the structural ratio of the known normal sample and the unknown normal sample in the bank institution name or bank card number segment is consistent, that is, the structural ratio of the known normal sample M and the overall normal sample N in the bank institution name or bank card number segment is consistent. Suppose the number of dimension samples of the known normal sample M is X (X is a known number), the number of corresponding dimension samples of the overall normal sample N is Y (Y is an unknown number), and the number of corresponding dimension samples of the overall sample T is Z (Z is a known number). At this time, the corresponding dimension is the name of the bank institution or the corresponding number of the bank card number segment, such as 1, 2, 3, ..n, then the following equation holds:

[0093] X1+X2+X3+…X n =C M ………………………………………………………………(2)

[0094] Y1+Y2+Y3+…Y n =C N …… ...

[0095] Z1+Z2+Z3+…Z n =C T ………………………………………………………………(4)

[0096]

[0097] Among them, C M represents the number of known normal samples M, C N Represents the number of overall normal samples N, which is an unknown number, C T represents the number of overall samples T, K is an unknown number, X n , Y n and Z nThey respectively represent the number of known normal samples M, the number of overall normal samples N and the number of overall samples T of any bank institution name or bank card number segment in the customer business data, and n represents any bank institution name or any bank card number segment.

[0098] In addition, the ratio of the amount of overall business data of all groups to the amount of some normal business data can be calculated first, and then the mode of all ratios can be selected, and the smallest mode among the modes can be determined as the K value. n The formula is:

[0099]

[0100] In selecting K n After the smallest mode in the array is used as the K value, the overall normal sample Y is calculated according to the following formula n :

[0101]

[0102] It should be noted that, since the structural proportions of known normal samples and unknown normal samples in the same banking business in the same period of time are consistent in terms of bank institution names or bank card number segments, and abnormal samples are caused by malicious batches of black industries, they are only concentrated in a small number of banking institutions or bank card number segments, while other banking institution names and bank card number segments are normal samples, that is, they represent the overall sample volume under certain banking institution names and bank card number segment branches. Therefore, the calculated K value is generally relatively stable. When calculating the number of overall normal samples of each group based on the mode, in order to ensure the rigor and accuracy of the calculation method and to prevent the K value calculated based on the business data of black industry users from becoming the mode when black industry users suddenly appear in large quantities, the smallest mode among the modes of all ratios is determined as the K value, so as to calculate the number of overall normal samples of each group. This can avoid the situation where all normal samples are calculated without abnormal samples when further calculations are performed based on the K value calculated based on the business data of black industry users, resulting in no abnormalities being discovered and no alarms being issued.

[0103] Step 205: Process the quantity of the customer service data of each group and the quantity of the overall normal service data to determine the abnormality of each group.

[0104] In the embodiment of the present invention, the difference between the amount of customer service data of each group and the amount of overall normal service data of each group is calculated to determine the abnormal amount of customer service data of each group and the abnormal proportion of customer service data of each group, and an alarm is given according to the abnormal amount and abnormal proportion of customer service data of each group. In addition, after determining the abnormal amount and abnormal proportion of customer service data of each group, the time period dimension in the calculation process is regularly monitored. When the calculation time period has ended and the result value corresponding to each group is output, the amount, abnormal amount and abnormal proportion of overall normal service data in the customer service data of each group are stored in the offline service database, and the customer service data of each group cached in the calculation process is cleaned and deleted.

[0105] Specifically, according to formula (7), the abnormal amount and abnormal proportion of a single bank institution name or a single bank card number segment in the customer business data, as well as the overall abnormal amount and overall abnormal proportion of each bank institution name or each bank card number segment in the customer business data can be calculated. In addition, the calculation process of bank business data processing can be divided into the following steps.

[0106] Step 1: Get the number of customer business data for each group as input.

[0107] Step 2: Calculate all values ​​K n , get the smallest mode.

[0108] Step 3: According to formula (7), calculate the size of all normal samples Y n Value, abnormal sample size (Z n -Y n )value.

[0109] Step 4: Calculate the overall abnormality: The overall abnormality ratio is The abnormal amount under the subdivision dimension is (Z n -Y n ), the abnormal proportion under the subdivision dimension is (Z n -Y n )÷Z n .

[0110] Step 5: Output the result value corresponding to the statistical dimension. The display form of the result value is shown in Table 2.

[0111] Table 2

[0112]

[0113] In order to better explain the embodiment of the bank real-time business data processing process of the present invention, the following describes a process of bank real-time business data processing provided by the embodiment of the present invention through a specific implementation scenario.

[0114] like Figure 3 As shown, the process includes the following steps:

[0115] Step 301, receiving banking business data in real time.

[0116] Receive customer business data of a certain banking business in real time. The customer business data of the banking business includes the bank card institution name, bank card number, timestamp field, and personal attributes, behaviors and other related fields used in the classification strategy module. Verify the validity of the input fields and verify the four elements of name, ID number, bank card number and mobile phone number to verify the authenticity of the business data. After the verification is passed, proceed with subsequent data processing.

[0117] Step 302: De-duplicate bank card numbers.

[0118] Clear customer business data with duplicate bank card numbers.

[0119] Step 303: real-time classification strategy model.

[0120] After performing offline classification strategy analysis on offline business data based on the structural ratio of bank institution name or bank card number segment, a real-time classification strategy model is determined, and the real-time customer business data of a certain bank business is input into the real-time classification strategy model for identification to determine some normal business data in the customer business data of the bank business.

[0121] Step 304: Mark group processing.

[0122] The customer business data and part of the normal business data in the customer business data are marked and grouped respectively according to preset dimensions, and the number of customer business data and part of the normal business data belonging to each group is counted respectively.

[0123] Step 305: counting and statistical processing.

[0124] According to the statistical dimension of the marked grouping, if the bank card number is not counted under the statistical dimension, the quantity of the dimension is increased by 1, thereby determining the quantity of customer business data of each grouping.

[0125] Step 306: algorithm processing.

[0126] Calculate the ratio of the amount of overall business data to the amount of partially normal business data of all groups, then select the mode of all ratios, determine the smallest mode among the modes as the K value, and determine the amount of overall normal business data of each group according to the amount of partially normal business data of each group and the K value, and determine the amount of anomalies and the proportion of anomalies in the customer business data of each group, that is, output the result value corresponding to each group, where the result value may include the amount of overall normal business data of each group, the amount of anomalies and the proportion of anomalies.

[0127] Step 307: output the result value and issue a graded alarm.

[0128] According to the abnormal amount and abnormal proportion of the customer business data of each group in the output result value corresponding to each group, the abnormal phenomenon in the customer business data is alarmed in a priority manner, and the result value corresponding to each group is stored in the offline business database.

[0129] The above embodiments show that by inputting customer business data into a preset classification strategy model for identification and determining part of the normal business data in the customer business data, it is possible to automatically identify part of the normal business data in the customer business data in real time without relying on manual identification, and mark and group the customer business data and part of the normal business data in the customer business data according to preset dimensions, which can provide data support for the subsequent calculation of the number of overall normal business data of each group according to a preset estimation algorithm, and then calculate the number of overall normal business data of each group according to the customer business data and the number of part of the normal business data of each group through a preset estimation algorithm, and process the number of customer business data and the number of overall normal business data of each group to determine the abnormal situation of each group, so that the abnormal situation of each group can be specifically quantified, and the comprehensiveness and accuracy of the abnormal data analysis can be improved under the premise of combining the overall, bank institution name or bank card number segment for abnormal data analysis, thereby solving the problem of incomplete and low accuracy of abnormal data analysis of bank business data in the prior art.

[0130] Based on the same technical concept, Figure 4 An abnormal data analysis device provided by an embodiment of the present invention is exemplarily shown, and the device can execute the process of the abnormal data analysis method.

[0131] like Figure 4 As shown, the device comprises:

[0132] The acquisition unit 401 is used to acquire the customer service data of the set service; the customer service data is the data after pre-processing the service data initiated by the customer;

[0133] The processing unit 402 is used to input the customer business data into a preset classification strategy model for identification, and determine some normal business data in the customer business data; mark and group the customer business data and some normal business data in the customer business data according to preset dimensions, and count the number of the customer business data and some normal business data belonging to each group; calculate the number of overall normal business data of each group based on the number of the customer business data and some normal business data in each group through a preset estimation algorithm; process the number of the customer business data and the number of the overall normal business data in each group, and determine the abnormal situation of each group.

[0134] Optionally, the processing unit 402 is further configured to:

[0135] The preset classification strategy model is determined after performing an offline classification strategy analysis on offline business data based on the structural ratio of bank institution names or bank card number segments; the structural ratio of bank institution names or bank card number segments is the proportion of each bank institution name or each bank card number segment in the business data.

[0136] Optionally, the processing unit 402 is specifically configured to:

[0137] Get offline business data;

[0138] According to a preset verification method, determine the number and proportion of each bank institution name or each bank card number segment of the overall normal business data in the offline business data;

[0139] Processing the offline business data according to multiple offline classification rules to determine the number and proportion of each bank institution name or each bank card number segment of part of the normal business data corresponding to each offline classification rule;

[0140] Determine multiple groups of correlation coefficients according to the number and proportion of each bank institution name or each bank card number segment of the overall normal business data in the offline business data, and the number and proportion of each bank institution name or each bank card number segment of the partial normal business data corresponding to each offline classification rule;

[0141] A group of corresponding offline classification rules with the largest correlation coefficient is determined as the preset classification strategy model.

[0142] Optionally, the processing unit 402 is specifically configured to:

[0143] From the number and proportion of each bank institution name or each bank card number segment of the overall normal business data in the offline business data, and the number and proportion of each bank institution name or each bank card number segment of the partial normal business data corresponding to each offline classification rule, a group of bank institution names or each bank card number segment whose number is greater than a preset threshold is randomly selected, and the correlation coefficient of the two groups of bank institution names or each bank card number segment whose number is greater than the preset threshold is calculated;

[0144] Multiple sets of correlation coefficients were determined.

[0145] Optionally, the processing unit 402 is specifically configured to:

[0146] Determine, according to the quantity of the customer service data and the part of normal service data in each group, a ratio of the quantity of the customer service data and the part of normal service data in each group;

[0147] Determine a first ratio according to a ratio set of the quantity of the customer service data and the portion of normal service data in each group, wherein the first ratio is the smallest ratio among the ratios corresponding to the majority in the ratio set;

[0148] The amount of the overall normal service data of each group is determined according to the first ratio and the amount of the partial normal service data of each group.

[0149] Optionally, the processing unit 402 is specifically configured to:

[0150] The difference between the quantity of the customer service data of each group and the quantity of the overall normal service data of each group is calculated to determine the abnormal quantity of the customer service data of each group and the abnormal proportion of the customer service data of each group.

[0151] Optionally, the processing unit 402 is further configured to:

[0152] After determining the abnormal situation of each group, the quantity, abnormal amount and abnormal proportion of the overall normal business data in the customer business data of each group are stored in the offline business database, and the cached customer business data of each group is cleared and deleted.

[0153] Based on the same technical concept, an embodiment of the present invention provides a computing device, including:

[0154] A memory for storing program instructions;

[0155] The processor is used to call the program instructions stored in the memory and execute the abnormal data analysis method according to the obtained program.

[0156] Based on the same technical concept, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute a method for analyzing abnormal data.

[0157] 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.

[0158] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to 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 device that provides the functions specified in a block or multiple blocks.

[0159] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0160] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0161] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended 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.

[0162] 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 this application and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for analyzing abnormal data, characterized in that: include: Acquire customer service data of the set service; the customer service data is pre-processed data of the service data received from the customer; The customer business data is input into a preset classification strategy model for identification, and part of the normal business data in the customer business data is determined; wherein the preset classification strategy model is determined after performing an offline classification strategy analysis on the offline business data based on the structural ratio of the bank institution name or the bank card number segment; the structural ratio of the bank institution name or the bank card number segment is the proportion of each bank institution name or each bank card number segment in the business data; Marking and grouping the customer business data and part of the normal business data in the customer business data according to preset dimensions, and counting the number of the customer business data and part of the normal business data belonging to each group; Calculate the amount of overall normal business data of each group according to the amount of the customer business data and the part of normal business data of each group by a preset estimation algorithm; Processing the amount of the customer service data of each group and the amount of the overall normal service data to determine the abnormal situation of each group; Among them, the processing of the quantity of the customer business data of each group and the quantity of the overall normal business data to determine the abnormal situation of each group includes: performing difference calculation on the quantity of the customer business data of each group and the quantity of the overall normal business data of each group to determine the abnormal amount of the customer business data of each group, and determining the abnormal proportion of the customer business data of each group.

2. The method according to claim 1, characterized in that The preset classification strategy model is determined after performing offline classification strategy analysis on offline business data based on the structure ratio of bank institution name or bank card number segment, including: Get offline business data; According to a preset verification method, determine the number and proportion of each bank institution name or each bank card number segment of the overall normal business data in the offline business data; Processing the offline business data according to multiple offline classification rules to determine the number and proportion of each bank institution name or each bank card number segment of part of the normal business data corresponding to each offline classification rule; Determine multiple groups of correlation coefficients according to the number and proportion of each bank institution name or each bank card number segment of the overall normal business data in the offline business data, and the number and proportion of each bank institution name or each bank card number segment of the partial normal business data corresponding to each offline classification rule; A group of corresponding offline classification rules with the largest correlation coefficient is determined as the preset classification strategy model.

3. The method according to claim 2, characterized in that According to the number and proportion of each bank institution name or each bank card number segment of the overall normal business data in the offline business data, and the number and proportion of each bank institution name or each bank card number segment of the partial normal business data corresponding to each offline classification rule, multiple groups of correlation coefficients are determined, including: From the number and proportion of each bank institution name or each bank card number segment of the overall normal business data in the offline business data, and the number and proportion of each bank institution name or each bank card number segment of the partial normal business data corresponding to each offline classification rule, a group of bank institution names or each bank card number segment whose number is greater than a preset threshold is randomly selected, and the correlation coefficient of the two groups of bank institution names or each bank card number segment whose number is greater than the preset threshold is calculated; Multiple sets of correlation coefficients were determined.

4. The method according to claim 1, characterized in that The calculating the amount of the overall normal business data of each group according to the amount of the customer business data and the part of the normal business data of each group by using a preset estimation algorithm includes: Determine, according to the quantity of the customer service data and the part of normal service data in each group, a ratio of the quantity of the customer service data and the part of normal service data in each group; Determine a first ratio according to a ratio set of the quantity of the customer service data and the portion of normal service data in each group, wherein the first ratio is the smallest ratio among the ratios corresponding to the majority in the ratio set; The amount of the overall normal service data of each group is determined according to the first ratio and the amount of the partial normal service data of each group.

5. The method according to any one of claims 1 to 4, characterized in that: After determining the abnormal conditions of each group, the method further includes: The quantity, abnormal quantity and abnormal proportion of the overall normal business data in the customer business data of each group are stored in an offline business database, and the cached customer business data of each group are cleaned and deleted.

6. An abnormal data analysis device, characterized in that: include: An acquisition unit, used for acquiring customer service data of a set service; the customer service data is data obtained by pre-processing service data received from a customer; A processing unit, used for inputting the customer business data into a preset classification strategy model for identification, and determining part of the normal business data in the customer business data; wherein the preset classification strategy model is determined after performing an offline classification strategy analysis on the offline business data based on the structural ratio of the bank institution name or the bank card number segment; the structural ratio of the bank institution name or the bank card number segment is the proportion of each bank institution name or the proportion of each bank card number segment in the business data; marking and grouping the customer business data and part of the normal business data in the customer business data according to preset dimensions, and counting the number of the customer business data and part of the normal business data belonging to each group; calculating the number of the overall normal business data of each group according to the number of the customer business data and part of the normal business data in each group through a preset estimation algorithm; Processing the amount of the customer service data of each group and the amount of the overall normal service data to determine the abnormal situation of each group; The processing unit is specifically used to calculate the difference between the amount of the customer business data of each group and the amount of overall normal business data of each group, determine the abnormal amount of the customer business data of each group, and determine the abnormal proportion of the customer business data of each group.

7. The device according to claim 6, characterized in that The processing unit is specifically used for: Get offline business data; According to a preset verification method, determine the number and proportion of each bank institution name or each bank card number segment of the overall normal business data in the offline business data; Processing the offline business data according to multiple offline classification rules to determine the number and proportion of each bank institution name or each bank card number segment of part of the normal business data corresponding to each offline classification rule; Determine multiple groups of correlation coefficients according to the number and proportion of each bank institution name or each bank card number segment of the overall normal business data in the offline business data, and the number and proportion of each bank institution name or each bank card number segment of the partial normal business data corresponding to each offline classification rule; A group of corresponding offline classification rules with the largest correlation coefficient is determined as the preset classification strategy model.

8. The device according to claim 7, characterized in that The processing unit is specifically used for: From the number and proportion of each bank institution name or each bank card number segment of the overall normal business data in the offline business data, and the number and proportion of each bank institution name or each bank card number segment of the partial normal business data corresponding to each offline classification rule, a group of bank institution names or each bank card number segment whose number is greater than a preset threshold is randomly selected, and the correlation coefficient of the two groups of bank institution names or each bank card number segment whose number is greater than the preset threshold is calculated; Multiple sets of correlation coefficients were determined.

9. The device according to claim 6, characterized in that The processing unit is specifically used for: Determine, according to the quantity of the customer service data and the part of normal service data in each group, a ratio of the quantity of the customer service data and the part of normal service data in each group; Determine a first ratio according to a ratio set of the quantity of the customer service data and the portion of normal service data in each group, wherein the first ratio is the smallest ratio among the ratios corresponding to the majority in the ratio set; The amount of the overall normal service data of each group is determined according to the first ratio and the amount of the partial normal service data of each group.

10. The device according to any one of claims 6 to 9, characterized in that The processing unit is also used for: After determining the abnormal situation of each group, the quantity, abnormal amount and abnormal proportion of the overall normal business data in the customer business data of each group are stored in the offline business database, and the cached customer business data of each group is cleared and deleted.

11. A computing device, characterized in that: include: A memory for storing program instructions; A processor, configured to call the program instructions stored in the memory, and execute the method according to any one of claims 1 to 5 according to the obtained program.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the method according to any one of claims 1 to 5.