Business data association analysis method, device, computer equipment and storage medium

The business data association analysis method is used to generate candidate data sets, calculate support and frequent item sets, and perform association rule calculations, which solves the problem of large and time-consuming calculations of data association analysis in sales decision-making in the existing technology, and achieves a more effective Sales decision support.

CN110162566BActive Publication Date: 2024-09-10ZHONGXIANG JIANRONG FINANCIAL LEASING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910301146.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-04-15
Publication Date
2024-09-10
Estimated Expiration
2039-04-15

AI Technical Summary

Technical Problem

In sales decision-making, since the decision-making process involves many variables, it is difficult for existing technology to effectively use algorithms to conduct data correlation analysis, resulting in problems such as large calculation amount, long time consumption, and high cost.

Method used

This paper proposes an association analysis method for business data. By generating candidate data sets, calculating support and frequent item sets, and calculating association rules, the results of frequent item association rules whose confidence meets the preset confidence level are obtained to support sales decisions.

Benefits of technology

It realizes efficient analysis of historical business data, provides more effective and scientific sales decision support, and reduces the amount of calculation and time-consuming.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110162566B
    Figure CN110162566B
Patent Text Reader

Abstract

The present invention discloses a method, device, computer equipment and storage medium for business data association analysis, generating a candidate data set according to a business database and / or a data table, generating a first candidate item set according to the candidate data set, generating a first frequent item set according to the first candidate item set, generating a second candidate item set including at least two frequent items according to the first frequent item set, generating a second frequent item set according to the second candidate item set, performing association rule calculation on the second frequent item set, obtaining confidences between multiple frequent items in the second frequent item set, and obtaining frequent item association rule results whose confidences meet a preset confidence threshold. The business data association analysis method, computer equipment and storage medium proposed by the present invention can achieve data association results with different support and different confidences according to historical business data, can provide decision support for new sales business, and the support for sales decision is more efficient and scientific.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data mining and analysis, and in particular to a method, device, computer equipment and storage medium for correlation analysis of business data. Background Art

[0002] At present, in areas such as sales decisions that mainly rely on people's subjective experience, there is a lack of an effective method to use algorithms to perform correlation analysis on specific data to support decision-making. Since the decision-making process involves many variables that need to be considered, the corresponding data mining algorithm corresponds to a large number of data items. At the same time, analyzing these data requires a large amount of calculation, is time-consuming, and costly. Summary of the invention

[0003] In view of this, the present invention proposes a business data association analysis method, computer equipment and storage medium, which can manage and analyze historical business data to provide decision support basis for new sales business, and the analysis and calculation amount is small and time-consuming.

[0004] First, to achieve the above purpose, the present invention proposes a method for correlation analysis of business data, the method comprising:

[0005] Generate a candidate data set including preset data items to be mined and analyzed according to the business database and / or data table;

[0006] Generate a first candidate item set according to the candidate data set, wherein the first candidate item set includes data items to be analyzed and support degrees corresponding to the data items to be analyzed;

[0007] Generate a first frequent item set that satisfies a first minimum support according to the first candidate item set;

[0008] generating a second candidate item set including at least two frequent items according to the first frequent item set;

[0009] Generate a second frequent item set that satisfies a second minimum support according to the second candidate item set;

[0010] performing association rule calculation on the second frequent item set to obtain confidences between multiple frequent items in the second frequent item set;

[0011] Obtain frequent item association rule results whose confidence meets the preset confidence threshold.

[0012] Furthermore, generating a candidate data set including preset data items to be mined and analyzed according to the business database and / or data table includes:

[0013] Acquire a business database and / or data table including a specific data item and the specific data item meets a preset condition;

[0014] Preset data items to be mined and analyzed are screened out from the database and / or data table and classified to generate candidate data sets.

[0015] Furthermore, the step of screening out preset data items to be mined and analyzed from the database and / or data table and classifying them to generate candidate data sets includes:

[0016] Outputting the types of data items contained in the business database and / or data table to a user interface;

[0017] Determining the type of data item to be mined and analyzed according to the user's first operation instruction;

[0018] Filtering data items of corresponding types from the business database and / or data table;

[0019] Classify the filtered data items to generate candidate data sets.

[0020] Furthermore, the method for calculating the support corresponding to the data item to be analyzed includes:

[0021] Calculating the total amount of data items to be analyzed in the candidate data set, wherein the total amount of data items to be analyzed is the maximum value of the number of occurrences of different data items or the number of actual data of a specific data item in the candidate data set;

[0022] Calculate the support, where the support is the number of occurrences of the current data item to be analyzed / the total number of data items to be analyzed.

[0023] Further, generating a second candidate item set including at least two frequent items according to the first frequent item set includes:

[0024] Arrange and combine the first frequent item sets in order to generate a second candidate set;

[0025] The support of the second candidate set is calculated, where the support is the number of times multiple frequent items contained in the current second candidate set appear simultaneously / the total number of data items to be analyzed.

[0026] Furthermore, before generating the first frequent itemset satisfying a first minimum support according to the first candidate itemset, the method further includes:

[0027] Generate a user interface for users to input data;

[0028] Receive the data input by the user and use it as the first minimum support.

[0029] Furthermore, before generating a second frequent item set satisfying a second minimum support according to the second candidate item set, the method further includes:

[0030] Generate a user interface for users to input data;

[0031] Receive the data input by the user and use it as the second minimum support.

[0032] To achieve the above object, the present invention also provides a business data association analysis device, which includes

[0033] A first generating module, adapted to generate a candidate data set including preset data items to be mined and analyzed according to a business database and / or a data table;

[0034] A second generating module, adapted to generate a first candidate item set according to the candidate data set, wherein the first candidate item set includes the data items to be analyzed and the support corresponding to the data items to be analyzed;

[0035] A third generating module, adapted to generate a first frequent item set satisfying a first minimum support according to the first candidate item set;

[0036] a fourth generating module, adapted to generate a second candidate item set including at least two frequent items according to the first frequent item set;

[0037] A fifth generating module, adapted to generate a second frequent item set satisfying a second minimum support according to the second candidate item set;

[0038] an association calculation module, adapted to perform association rule calculation on the second frequent item set to obtain confidences between multiple frequent items in the second frequent item set;

[0039] The result generation module is suitable for obtaining frequent item association rule results whose confidence meets a preset confidence threshold.

[0040] To achieve the above objectives, the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above business data association analysis method when executing the computer program.

[0041] To achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned business data association analysis method is implemented.

[0042] Compared with the prior art, the business data association analysis method, device, computer equipment and storage medium proposed in the present invention can obtain data association results with different support levels and different confidence levels based on historical business data, provide decision support for new sales business, and provide more efficient and scientific support for sales decisions. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1is a flow chart of a method for analyzing association of business data according to a first embodiment of the present invention;

[0044] Figure 2 It is a flowchart of a user defining a first minimum credibility in a method for analyzing association of business data according to a first embodiment of the present invention;

[0045] Figure 3 It is a flow chart of calculating association rules and confidence for the second frequent item in the business data association analysis method of the first embodiment of the present invention;

[0046] Figure 4 is a schematic diagram of a program module of a business data correlation analysis device according to a second embodiment of the present invention;

[0047] Figure 5 is a schematic diagram of program modules of another device for analyzing association of business data according to the second embodiment of the present invention;

[0048] Figure 6 It is a schematic diagram of the hardware structure of the computer device of the third embodiment of the present invention.

[0049] Reference numerals:

[0050]

[0051]

[0052] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0054] It should be noted that the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0055] First embodiment

[0056] See also Figure 1 FIG. 1 shows a method for analyzing business data association according to a first embodiment of the present invention, comprising the following steps S101-S107:

[0057] Step S101, generating a candidate data set including preset data items to be mined and analyzed according to a business database and / or a data table;

[0058] Specifically, this step includes the following steps S101a-S101b:

[0059] Step S101a, obtaining a business database and / or data table including a specific data item and the specific data item meets a preset condition;

[0060] The purpose of this step is to prepare and obtain data. The data source can be historical business data in one or more business databases, or one or more data tables including sales records. Different business databases or data tables may have different data record items. For example, in the original database, user registration, login, online automatic purchase behavior, etc. will generate more system data record items, while in non-original databases, such as manually input databases, secondary processing and optimized databases may contain fewer but more accurate data record items.

[0061] Therefore, the database or data table needs to include specific data record items. For example, the database and data table need to include the data record item of "loan time". If it has this specific data item, it is judged that the database or data table is a business database or business data table, or an associated CNC library or database table of a business database or business data table. Only databases or data tables containing specific data items have data mining and analysis value.

[0062] In addition to including specific data record items, the data item must also meet preset conditions. For example, when the specific data record item is "loan time", the data record item cannot be empty, that is, the data record item records a successful loan transaction, or the value of the data item meets the preset range or preset value. For example, the data record item needs to include 2018, or be greater than 2010, that is, the transaction time recorded by the data item is 2018, or after 2010. The preset conditions that the specific data item needs to meet can be customized by the user. The different conditions for the specific data item entered by the user represent different scopes and accuracy of data mining, because the association rules of data at different times may change, and the purchasing behavior of customers several years ago may be different from now. The purchasing rules of customers several years ago cannot constitute support for current sales decisions.

[0063] When the data source is one or more databases, you can directly connect to the database through the network to obtain data. When the data source is one or more data tables including sales records, you can store the data tables in a specified path location by uploading and importing them by users.

[0064] In this embodiment, the loan sales record data table for the third quarter from July to September 2018 is selected, which includes 9 groups of sales records, as shown in Table 1 below. In other embodiments, the sales record data table for the first half of 2018, the whole year of 2017, or within three years can also be selected, and the selected time range can be determined by user-defined input.

[0065] Step S101b, screening out preset data items to be mined and analyzed from the database and / or data table and classifying them to generate candidate data sets;

[0066] Since the business database or data table may include multiple types of record data, we may think that some data is meaningless for us to obtain association rules and thus support sales decisions. Analyzing and mining these data will increase the amount of calculation and time consumption, so we can exclude this part of the data first, and filter out those data to be mined and analyzed for which we need to know whether they are associated and the strength of the association. For example, the business database and business data table include the payment method and payment bank code of the customer transaction, or whether the transaction time is a holiday. By analyzing the types of data items in the entire database and data table, they are displayed on a user interface. Users can check whether they need to perform association analysis on some types of data items. For example, when the user believes that whether the customer payment method is associated with other data items is of little significance to the sales decision, and even if there is a correlation, it will not have a substantial impact on the sales decision, then this option can be removed, otherwise this option can be retained.

[0067] For example, in this embodiment, five types of data items to be mined and analyzed are selected from the loan sales record data table for the third quarter from July to September 2018, namely, customer industry, customer age, loan term, guarantee form, and loan purpose, as shown in Table 1.

[0068] Table 1

[0069] Loan period Customer Industry Customer age Loan Term Guarantee Form Loan Purpose 2018.7.1 food 35 short term Note mortgage Management 2018.7.7 Foreign trade wholesale 33 short term Commodity mortgage Consumption 2018.7.25 cosmetic 40 Mid-term Note mortgage Consumption 2018.8.3 food 37 short term Commodity mortgage Consumption 2018.8.11 food 29 short term Note mortgage Management 2018.9.6 Medical Devices 55 long Note mortgage Management 2018.9.12 food 40 short term Note mortgage Management 2018.9.7 cosmetic 28 Mid-term Commodity mortgage Management 2018.9.22 student 19 short term Commodity mortgage Consumption

[0070] After filtering out the data items to be mined and analyzed, we can further classify these data items. For example, in the data item of customer age, we can classify the data items into different categories: customer age less than 20, 20-30, 30-50, and greater than 50. For the data record item of customer industry, we can classify it into multiple categories according to industry categories, such as food, foreign trade wholesale, beauty, medical equipment, etc. as shown in the table.

[0071] A candidate data set is generated based on the data in the filtered and classified data set. The candidate data set is a processed historical transaction record table, including specific data items and all data items to be analyzed corresponding to the specific data items. The total number of data items to be analyzed N can be obtained through the number of occurrences N1 corresponding to different data items. In this embodiment, N is the maximum value of N1, and in other embodiments, N can also be the actual number of data of the specific data item in the data set.

[0072] For example, in this embodiment, the data items with mining analysis after classification are shown in Table 2.

[0073] Table 2

[0074] Data item number Customer Industry Customer age Loan Term Guarantee Form Loan Purpose 1 food 30-50 short term Note mortgage Management 2 Foreign trade wholesale 30-50 short term Commodity mortgage Consumption 3 cosmetic 30-50 Mid-term Note mortgage Consumption 4 food 30-50 short term Commodity mortgage Consumption 5 food 20-30 short term Note mortgage Management 6 Medical Devices More than 50 long Note mortgage Management 7 food 30-50 short term Note mortgage Management 8 cosmetic 20-30 Mid-term Commodity mortgage Management 9 student Less than 20 short term Commodity mortgage Consumption

[0075] In this embodiment, the data item "the loan term is short-term" appears 6 times, which is the maximum number of occurrences of all data items, so N=6. In other embodiments, N can also be the actual number of occurrences of a specific data item in the data set. For example, there are 9 data on loan time, corresponding to 9 loan transactions, then N=9.

[0076] Step S102, generating a first candidate item set according to the candidate data set, wherein the first candidate item set includes data items to be analyzed and support degrees corresponding to the data items to be analyzed;

[0077] The first candidate item set generated here covers all the data items to be analyzed that appear in the candidate data set. The support A1 corresponding to the data item to be analyzed is the number of occurrences of the data item to be analyzed in the candidate data set / N, where N is the total number of the data items to be analyzed mentioned above.

[0078] In this embodiment, the generated candidate item sets include: {customer industry is food}, {customer industry is foreign trade wholesale}, {customer industry is beauty}, {customer industry is medical equipment}, {customer industry is student}, {customer age is less than 20}, {customer age is 20-30}, {customer age is 30-50}, {customer age is greater than 50}, {loan term is short-term}, {loan term is medium-term}, {loan term is long-term}, {guarantee form is bill mortgage}, {guarantee form is commodity mortgage}, {loan purpose is business}, {loan purpose is consumption} 16 candidate item sets, and their support levels are shown in Table 3 below.

[0079] Table 3

[0080] Data items to be analyzed Support Customer industry is food 4 / 6 The client industry is foreign trade wholesale 1 / 6 The client industry is beauty 2 / 6 The client industry is medical device 1 / 6 Client industry is student 1 / 6 The customer is less than 20 years old 1 / 6 Customer age is 20-30 2 / 6 Customer age is 30-50 5 / 6 Customer age is over 50 1 / 6 The loan term is short term 6 / 6 The loan term is medium term 2 / 6 The loan term is long term 1 / 6 The form of guarantee is bill mortgage 5 / 6 The form of guarantee is commodity mortgage 4 / 6 The loan is used for business 5 / 6 The loan is for consumption 4 / 6

[0081] Step S103, generating a first frequent itemset satisfying a first minimum support according to the first candidate itemset;

[0082] The first frequent item set of the single item set that meets the first minimum support threshold is found. For example, in this embodiment, the preset first minimum support is 2 / 6. Through calculation and judgment, the frequent item sets greater than 2 / 6 are: {customer industry is food}, {customer age is 30-50}, {loan term is short-term}, {guarantee form is bill mortgage}, {guarantee form is commodity mortgage}, {loan purpose is business}, {loan purpose is consumption}. These 7 frequent item sets belong to the frequent item sets that meet the conditions, as shown in Table 4 below.

[0083] Table 4

[0084] The first frequent itemset Customer industry is food Customer age is 30-50 The loan term is short term The form of guarantee is bill mortgage The form of guarantee is commodity mortgage The loan is used for business The loan is for consumption

[0085] Step S104, generating a second candidate item set including two frequent items according to the first frequent item set;

[0086] Specifically, the second candidate item set is generated by arranging and combining the first frequent item sets in order, and their support A2 is calculated. The support A2 is the number of times the multiple data items appear simultaneously in the candidate data set / N.

[0087] In this embodiment, the first frequent item sets are arranged and combined in pairs in order to generate the second candidate item set. The two frequent items included in the second candidate item set and the corresponding support A2 are shown in Table 5 below.

[0088] Table 5

[0089] Second candidate set Support The client’s industry is food; the client’s age is 30-50 4 / 6 The client industry is food; the loan term is short-term 4 / 6 The client's industry is food; the form of guarantee is bill mortgage 3 / 6 The client's industry is food; the form of guarantee is commodity mortgage 1 / 6 The client's industry is food; the loan purpose is business 3 / 6 The client industry is food; the loan purpose is consumption 1 / 6 The client is between 30 and 50 years old; the loan term is short-term 4 / 6 The customer is between 30 and 50 years old; the form of guarantee is bill mortgage 3 / 6 The customer is between 30 and 50 years old; the guarantee is a commodity mortgage 2 / 6 The customer is between 30 and 50 years old; the loan is for business purposes 2 / 6 The customer is between 30 and 50 years old; the loan is for consumption 3 / 6 The loan term is short-term; the guarantee form is bill mortgage 3 / 6 The loan term is short-term; the form of security is commodity mortgage 3 / 6 The loan term is short-term; the loan purpose is business 3 / 6 The loan term is short-term; the loan purpose is consumption 3 / 6 The form of guarantee is bill mortgage; the form of guarantee is commodity mortgage 0 / 6 The form of guarantee is bill mortgage; the purpose of the loan is business 4 / 6 The form of guarantee is bill mortgage; the purpose of the loan is consumption 1 / 6 The form of guarantee is commodity mortgage; the purpose of the loan is business 1 / 6 The form of guarantee is commodity mortgage; the purpose of the loan is consumption 3 / 6 The purpose of the loan is for business operation; the purpose of the loan is for consumption 0 / 6

[0090] Step S105: Generate a second frequent itemset satisfying a second minimum support degree according to the second candidate itemset.

[0091] The first frequent item set of the single item set that meets the second minimum support threshold is found. For example, in this embodiment, the second minimum support is preset to 3 / 6. By calculation, {customer industry is food; customer age is 30-50}, {customer industry is food; loan term is short-term} and {guarantee form is bill mortgage; loan purpose is business} belong to the second frequent item set that meets the conditions, see Table 6 below.

[0092] Table 6

[0093] The second frequent itemset The client’s industry is food; the client’s age is 30-50 The client industry is food; the loan term is short-term The form of guarantee is bill mortgage; the purpose of the loan is business

[0094] In this embodiment, the data items are filtered for support twice to generate a frequent item set containing two frequent items. In other embodiments, the data items may be filtered for support multiple times to generate a frequent item set containing more than two frequent items.

[0095] Step S106, performing association rule calculation on the second frequent item set to obtain confidences between multiple frequent items in the second frequent item set;

[0096] Confidence is the probability of another frequent item appearing at the same time when a frequent item appears. Specifically, in this embodiment, the association rules between {customer industry is food} and {customer age is 30-50}, {customer industry is food} and {loan term is short-term}, and {guarantee form is bill mortgage} and {loan purpose is business} are obtained by calculation, and their confidences are calculated.

[0097] Among them, {customer industry is food} and {customer age is 30-50} appear together 4 times, {customer industry is food} and {customer age is 30-50} appear separately 4 times and 5 times respectively. Therefore, the confidence level of {customer industry is food} and {customer age is 30-50} being associated with {customer industry is food} is 4 / 4, and the confidence level of {customer age is 30-50} and {customer industry is food} being associated with is 4 / 5.

[0098] The number of times {customer industry is food} and {loan term is short-term} appear at the same time is 4 times, the number of times {customer industry is food} and {loan term is short-term} appear respectively is 4 times and 6 times. Therefore, the confidence level that {customer industry is food} is associated with {loan term is short-term} is 4 / 4, and the confidence level that {loan term is short-term} is associated with {customer industry is food} is 4 / 6.

[0099] The number of times {the form of guarantee is bill mortgage} and {the purpose of the loan is business operation} appear at the same time is 4 times, and the number of times {the form of guarantee is bill mortgage} and {the purpose of the loan is business operation} appear respectively is 5 times. Therefore, the confidence level of {the form of guarantee is bill mortgage} associated with {the purpose of the loan is business operation} and the confidence level of {the purpose of the loan is business operation} associated with {the form of guarantee is bill mortgage} is 4 / 5.

[0100] Step S107, obtaining frequent item association rule results whose confidences meet a preset confidence threshold.

[0101] For example, in this embodiment, the preset confidence threshold is 85%, that is, the frequent item association rule result that meets the condition is:

[0102] {Customer industry is food} associated with {Customer age is 30-50};

[0103] {Client industry is food} associated with {loan term is short term}.

[0104] The first minimum support, the second minimum support and the preset confidence in this embodiment can be customized by the user.

[0105] Specifically, see Figure 2 As shown, before step S103, the following steps S201-S202 are also included:

[0106] Step S201, generating a user interface for the user to input data;

[0107] Step S202: receiving data input by the user and taking it as the first minimum support.

[0108] Before step S105, the following steps S301-S302 are also included:

[0109] Step S301, generating a user interface for the user to input data;

[0110] Step S302: receiving data input by the user and taking it as the second minimum support.

[0111] Before step S107, the following steps S401-S402 are also included:

[0112] Step S401, generating a user interface for the user to input data;

[0113] Step S402: receiving data input by the user and using it as a preset reliability.

[0114] In actual operation, the user can adjust the first minimum support, the second minimum support or the preset confidence multiple times according to the results generated after inputting the first minimum support, the second minimum support or the preset confidence, until the amount of data obtained (the first frequent item set, the second frequent item set or the association rule) is within a reasonable range, which is conducive to subsequent calculations and obtains the final first frequent item set, the second frequent item set or the association rule.

[0115] In this embodiment, in step S104, the first frequent item sets are sequentially arranged and combined to generate a second candidate item set including more than two frequent items. Based on this, in step S106, association rules are calculated for the second frequent item set to obtain confidences between more than two frequent items in the second frequent item set.

[0116] See also Figure 3 As shown, the calculation steps of the association rules and confidence of the second frequent item set with more than two frequent items are as follows: Steps S501-S502:

[0117] Step S501, dividing multiple frequent items in the second frequent item set into two groups according to different division methods using a permutation and combination method;

[0118] Step S502, respectively calculating the confidence corresponding to the association rules of the two groups of frequent items corresponding to each classification method;

[0119] For example, if the second frequent item of a set of three frequent items is {customer industry is food; customer age is 30-50; loan term is short-term}, the following three classification methods may appear:

[0120] (1) {customer industry is food} and {customer age is 30-50; loan term is short-term};

[0121] (2) {customer age is 30-50} and {customer industry is food; loan term is short-term};

[0122] (3) {The loan term is short-term} and {the customer industry is food; the customer age is 30-50}.

[0123] According to the above division method and the above confidence algorithm, it can be concluded that the confidence level of {customer industry is food} and {customer age is 30-50; loan term is short-term} is 3 / 4, the confidence level of {customer age is 30-50; loan term is short-term} and {customer industry is food} is 3 / 4; the confidence level of {customer age is 30-50} and {customer industry is food; loan term is short-term} is 3 / 5, the confidence level of {customer industry is food; loan term is short-term} and {customer age is 30-50} is 3 / 4; the confidence level of {loan term is short-term} and {customer industry is food; customer age is 30-50} is 3 / 6; the confidence level of {customer industry is food; customer age is 30-50} and {loan term is short-term} is 3 / 3.

[0124] By analogy, we can derive the association rules and corresponding confidences of the second frequent items that contain four frequent items or more frequent items.

[0125] Second embodiment

[0126] See also Figure 4 , showing a schematic diagram of a program module of a business data association analysis device 600 according to Embodiment 4 of the present invention, the business data association analysis device 600 may include or be divided into one or more program modules, one or more program modules are stored in a storage medium, and are executed by one or more processors to complete the present invention, and can implement the above-mentioned business data association analysis method. The program module referred to in the embodiment of the present invention refers to a series of computer program instruction segments that can perform specific functions, and is more suitable for describing the execution process of the business data association analysis method in a storage medium than the program itself. The following description will specifically introduce the functions of each program module of this embodiment:

[0127] A first generating module 601 generates a candidate data set including preset data items to be mined and analyzed according to a business database and / or a data table;

[0128] The operation process of the first generation module 601 specifically includes the following steps S101a-S101b:

[0129] Step S101a, obtaining a business database and / or data table including a specific data item and the specific data item meets a preset condition;

[0130] In this step, the main task of the first generation module 601 is to prepare and obtain data, and the data source can be historical business data in one or more business databases, or one or more data tables including sales records. Different business databases or data tables may have different data record items. For example, in the original database, user registration, login, online automatic purchase behavior, etc. will generate more system data record items, while in non-original databases, such as manually input databases, secondary processing and optimized databases may contain fewer but more accurate data record items.

[0131] Therefore, the database or data table needs to include specific data record items. For example, the database and data table need to include the data record item of "loan time". If it has this specific data item, it is judged that the database or data table is a business database or business data table, or an associated CNC library or database table of a business database or business data table. Only databases or data tables containing specific data items have data mining and analysis value.

[0132] In addition to including specific data record items, the data item must also meet preset conditions. For example, when the specific data record item is "loan time", the data record item cannot be empty, that is, the data record item records a successful loan transaction, or the value of the data item meets the preset range or preset value. For example, the data record item needs to include 2018, or be greater than 2010, that is, the transaction time recorded by the data item is 2018, or after 2010. The preset conditions that the specific data item needs to meet can be customized by the user. The different conditions for the specific data item entered by the user represent different scopes and accuracy of data mining, because the association rules of data at different times may change, and the purchasing behavior of customers several years ago may be different from now. The purchasing rules of customers several years ago cannot constitute support for current sales decisions.

[0133] When the data source is one or more databases, the first generation module 601 can directly connect to the database through the network to obtain data. When the data source is one or more data tables including sales records, the data tables can be stored in a specified path location through user upload and import, and the first generation module 601 reads the data table from the location.

[0134] In this embodiment, the first generation module 601 selects the loan sales record data table of the third quarter from July to September 2018, which includes 9 groups of sales records, as shown in Table 1 of the first embodiment above. In other embodiments, the first generation module 601 can also select the sales record data table of the first half of 2018, the whole year of 2017, or within three years. The time range selected by the first generation module 601 can be determined by user-defined input.

[0135] Step S101b, screening out preset data items to be mined and analyzed from the database and / or data table and classifying them to generate candidate data sets;

[0136] Since the business database or data table may include multiple types of record data, some data is meaningless for obtaining association rules to support sales decisions. Analyzing and mining these data will increase the amount of calculation and time consumption, so the first generation module 601 can first exclude this part of the data and filter out those data to be mined and analyzed for which we need to know whether they are associated and the strength of the association. For example, the business database and business data table include the payment method and payment bank code of the customer transaction, or whether the transaction time is a holiday. By analyzing the types of data items in the entire database and data table, they are displayed on a user interface. Users can check whether they need to perform association analysis on some types of data items. For example, when the user believes that whether the customer payment method is associated with other data items is of little significance to the sales decision, and even if there is a correlation, it will not have a substantial impact on the sales decision, then this option can be removed, otherwise this option is retained.

[0137] For example, in this embodiment, the first generation module 601 selects five types of data items to be mined and analyzed, namely, customer industry, customer age, loan term, guarantee form, and loan purpose, from the loan sales record data table for the third quarter from July to September 2018, as shown in Table 1 of the first embodiment.

[0138] After screening out the data items to be mined and analyzed, the first generation module 601 further performs secondary classification on these data items. For example, in the data item of customer age, the first generation module 601 can classify the data items into different categories, namely, customer age less than 20, 20-30, 30-50, and greater than 50. For the data record item of customer industry, the first generation module 601 classifies it into multiple categories according to the industry category, such as food, foreign trade wholesale, beauty, medical equipment, etc. as shown in the table.

[0139] The first generating module 601 generates a candidate data set based on the data in the filtered and classified data set. The candidate data set is a processed historical transaction record table, including specific data items and all data items to be analyzed corresponding to the specific data items. The total number N of data items to be analyzed can be obtained through the number of occurrences N1 corresponding to different data items. In this embodiment, N is the maximum value of N1, and in other embodiments, N can also be the actual number of data of the specific data item in the data set.

[0140] For example, in this embodiment, the data items with mining analysis after classification by the first generation module 601 are shown in Table 2 of the first embodiment.

[0141] Please come back again Figure 4 , a second generating module 602, generating a first candidate item set according to the candidate data set, wherein the first candidate item set includes the data items to be analyzed and the support corresponding to the data items to be analyzed;

[0142] Here, the first candidate item set generated by the second generation module 602 covers all the data items to be analyzed that appear in the candidate data set. The support A1 corresponding to the data item to be analyzed is the number of occurrences of the data item to be analyzed in the candidate data set / N, where N is the total number of the data items to be analyzed.

[0143] In this embodiment, the candidate item sets generated by the second generation module 602 include: {customer industry is food}, {customer industry is foreign trade wholesale}, {customer industry is beauty}, {customer industry is medical equipment}, {customer industry is student}, {customer age is less than 20}, {customer age is 20-30}, {customer age is 30-50}, {customer age is greater than 50}, {loan term is short-term}, {loan term is medium-term}, {loan term is long-term}, {guarantee form is bill mortgage}, {guarantee form is commodity mortgage}, {loan purpose is business}, {loan purpose is consumption} 16 candidate item sets and their support levels are shown in Table 3 of the first embodiment.

[0144] Please come back again Figure 4 , a third generating module 603, generating a first frequent item set satisfying a first minimum support according to the first candidate item set;

[0145] In this embodiment, the third generation module 603 selects the first frequent item set of the single item set that meets the first minimum support threshold. For example, in this embodiment, the preset first minimum support is 2 / 6. The third generation module 603 selects the frequent item sets greater than 2 / 6 through calculation and judgment: {customer industry is food}, {customer age is 30-50}, {loan term is short-term}, {guarantee form is bill mortgage}, {guarantee form is commodity mortgage}, {loan purpose is business}, {loan purpose is consumption}. These 7 frequent item sets belong to the frequent item sets that meet the conditions, see Table 4 of the first embodiment.

[0146] Please come back again Figure 4 , a fourth generating module 604, generating a second candidate item set including at least two frequent items according to the first frequent item set;

[0147] Specifically, the fourth generating module 604 arranges and combines the first frequent item sets in order to generate the second candidate item sets, and calculates their support A2, where the support A2 is the number of times the multiple data items appear simultaneously in the candidate data set / N.

[0148] In this embodiment, the fourth generating module 604 arranges and combines the first frequent item sets in order in pairs to generate the second candidate item set. The two frequent items included in the second candidate item set and the corresponding support A2 are shown in Table 5 of the first embodiment.

[0149] Please come back again Figure 4 , a fifth generating module 605, generating a second frequent item set satisfying a second minimum support according to the second candidate item set;

[0150] The first frequent item set of the single item set that meets the second minimum support threshold is found. For example, in this embodiment, the second minimum support is preset to 3 / 6. The fifth generation module 605 obtains through calculation that {customer industry is food; customer age is 30-50}, {customer industry is food; loan term is short-term} and {guarantee form is bill mortgage; loan purpose is business} belong to the second frequent item set that meets the conditions, see Table 6 of the first embodiment.

[0151] In this embodiment, the fifth generation module 605 only performs two support filtering judgments on the data items to generate a frequent item set containing two frequent items. In other embodiments, the fifth generation module 605 can also continue to perform multiple support judgment filtering on the data items to generate a frequent item set containing more than 2 frequent items.

[0152] Please come back again Figure 4 , an association calculation module 606, performing association rule calculation on the second frequent item set to obtain confidences between multiple frequent items in the second frequent item set;

[0153] Confidence is the probability of another frequent item appearing at the same time when a frequent item appears. Specifically, in this embodiment, the association calculation module 606 obtains the association rules between {customer industry is food} and {customer age is 30-50}, {customer industry is food} and {loan term is short-term}, and {guarantee form is bill mortgage} and {loan purpose is business} through calculation, and calculates their confidence.

[0154] Among them, {customer industry is food} and {customer age is 30-50} appear together 4 times, {customer industry is food} and {customer age is 30-50} appear separately 4 times and 5 times respectively. Therefore, the confidence level of {customer industry is food} and {customer age is 30-50} being associated with {customer industry is food} is 4 / 4, and the confidence level of {customer age is 30-50} and {customer industry is food} being associated with is 4 / 5.

[0155] The number of times {customer industry is food} and {loan term is short-term} appear at the same time is 4 times, the number of times {customer industry is food} and {loan term is short-term} appear respectively is 4 times and 6 times. Therefore, the confidence level that {customer industry is food} is associated with {loan term is short-term} is 4 / 4, and the confidence level that {loan term is short-term} is associated with {customer industry is food} is 4 / 6.

[0156] The number of times {the form of guarantee is bill mortgage} and {the purpose of the loan is business operation} appear at the same time is 4 times, and the number of times {the form of guarantee is bill mortgage} and {the purpose of the loan is business operation} appear respectively is 5 times. Therefore, the confidence level of {the form of guarantee is bill mortgage} associated with {the purpose of the loan is business operation} and the confidence level of {the purpose of the loan is business operation} associated with {the form of guarantee is bill mortgage} is 4 / 5.

[0157] Please come back again Figure 4 , the result generation module 607 obtains the frequent item association rule result whose confidence meets the preset confidence threshold.

[0158] For example, in this embodiment, the preset confidence threshold is 85%, and the result generation module 607 compares and selects the frequent item association rule that meets the conditions as follows:

[0159] {Customer industry is food} associated with {Customer age is 30-50};

[0160] {Client industry is food} associated with {loan term is short term}.

[0161] In another specific embodiment, the first minimum support, the second minimum support, and the preset confidence can be customized by the user. Figure 5 As shown, the association analysis device 600 for business data also includes a first preset module 608, a second preset module 609 and a third preset module 610. Before the third generation module 603 generates a first frequent item set that satisfies a first minimum support according to the first candidate item set, the first preset module 608 generates a user interface for the user to input data and receives the data input by the user and uses it as the first minimum support. Before the fifth generation module 605 generates a second frequent item set that satisfies a second minimum support according to the second candidate item set, the second preset module 609 generates a user interface for the user to input data and receives the data input by the user and uses it as the second minimum support. Before the result generation module 607 obtains a frequent item association rule result whose confidence meets a preset confidence threshold, the third preset module 610 generates a user interface for the user to input data and receives the data input by the user and uses it as the preset confidence.

[0162] In actual operation, the user can adjust the first minimum support, the second minimum support or the preset confidence multiple times according to the results generated after inputting the first minimum support, the second minimum support or the preset confidence, until the amount of data obtained (the first frequent item set, the second frequent item set or the association rule) is within a reasonable range, which is conducive to subsequent calculations and obtains the final first frequent item set, the second frequent item set or the association rule.

[0163] In this embodiment, the fourth generation module 604 can also generate a second candidate item set including more than two frequent items according to the first frequent item set in order. Based on this, the association calculation module 606 calculates the association rules for the second frequent item set to obtain the confidence between the more than two frequent items in the second frequent item set.

[0164] See also Figure 3 As shown, the calculation steps of the association rules and confidence of the second frequent item set with more than two frequent items are as follows: Steps S501-S502:

[0165] Step S501, dividing multiple frequent items in the second frequent item set into two groups according to different division methods using a permutation and combination method;

[0166] Step S502, respectively calculating the confidence corresponding to the association rules of the two groups of frequent items corresponding to each classification method;

[0167] For example, if the second frequent item of a set of three frequent items is {customer industry is food; customer age is 30-50; loan term is short-term}, the following three classification methods may appear:

[0168] (4) {customer industry is food} and {customer age is 30-50; loan term is short-term};

[0169] (5) {customer age is 30-50} and {customer industry is food; loan term is short-term};

[0170] (6) {The loan term is short-term} and {the customer industry is food; the customer age is 30-50}.

[0171] According to the above classification method, the association calculation module 606 uses the above confidence algorithm to derive the confidence that {customer industry is food} and {customer age is 30-50; loan term is short-term} are associated with a confidence level of 3 / 4, and a confidence level of 3 / 4 for {customer age is 30-50; loan term is short-term} and {customer industry is food} and {customer age is short-term} and {customer industry is food} and {customer term is short-term} respectively. The confidence level of 3 / 5 for {customer industry is food; loan term is short-term} and {customer age is 30-50} is associated with a confidence level of 3 / 4, and the confidence level of 3 / 6 for {loan term is short-term} and {customer industry is food; customer age is 30-50} and {customer term is short-term} respectively.

[0172] By analogy, we can derive the association rules and corresponding confidences of the second frequent items that contain four frequent items or more frequent items.

[0173] Third embodiment

[0174] See also Figure 6 , is a schematic diagram of the hardware architecture of a computer device 700 of the third embodiment of the present invention. In this embodiment, the computer device 700 is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions. As shown in the figure, the computer device 700 at least includes, but is not limited to, a memory 701, a processor 702, a network interface 703, and a business data association analysis device 704 that can communicate with each other through a system bus. Among them:

[0175] In this embodiment, the memory 701 includes at least one type of computer-readable storage medium, and the readable storage medium includes a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 701 may be an internal storage unit of the computer device 700, such as a hard disk or a memory of the computer device 700. In other embodiments, the memory 701 may also be an external storage device of the computer device 700, such as a plug-in hard disk equipped on the computer device 700, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 701 may also include both the internal storage unit of the computer device 700 and its external storage device. In this embodiment, the memory 701 is usually used to store the operating system and various application software installed in the computer device 700, such as the program code of the business data association analysis device 704. In addition, the memory 701 can also be used to temporarily store various data that have been output or will be output.

[0176] The processor 702 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 702 is generally used to control the overall operation of the computer device 700. In this embodiment, the processor 702 is used to run the program code stored in the memory 701 or process data, such as running the association analysis device 704 of business data to implement the association analysis method of business data in the first embodiment.

[0177] The network interface 703 may include a wireless network interface or a wired network interface, and the network interface 703 is generally used to establish a communication connection between the computer device 700 and other electronic devices. For example, the network interface 703 is used to connect the computer device 700 to an external terminal through a network, and to establish a data transmission channel and a communication connection between the computer device 700 and the external terminal. The network may be a wireless or wired network such as an Intranet, the Internet, the Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth, Wi-Fi, etc.

[0178] It should be pointed out that Figure 6 Computer device 700 is shown only with components 701 - 704 , but it should be understood that implementing all of the components shown is not a requirement, and more or fewer components may alternatively be implemented.

[0179] In this embodiment, the business data association analysis device 704 stored in the memory 701 can also be divided into one or more program modules, and the one or more program modules are stored in the memory 701 and executed by one or more processors (processor 702 in this embodiment) to complete the business data association analysis method of the present invention.

[0180] Fourth embodiment

[0181] This embodiment provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a disk, an optical disk, a server, an App application store, etc., on which a computer program is stored, and when the program is executed by a processor, the above-mentioned business data association analysis method is implemented.

[0182] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0183] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0184] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for correlation analysis of business data, characterized in that: The method comprises: Generate a candidate data set including preset data items to be mined and analyzed according to the business database and / or data table; generating a first candidate item set according to the candidate data set, wherein the first candidate item set includes data items to be analyzed and support degrees corresponding to the data items to be analyzed; Generate a first frequent item set that satisfies a first minimum support according to the first candidate item set; generating a second candidate item set including at least two frequent items according to the first frequent item set; Generate a second frequent item set that satisfies a second minimum support according to the second candidate item set; Performing association rule calculation on the second frequent item set to obtain confidences between multiple frequent items in the second frequent item set, wherein the confidence is a ratio of the number of times two frequent items with an associated relationship in the second frequent item set appear simultaneously to the number of times one of the frequent items with an associated relationship appears; Obtain frequent item association rule results whose confidence meets the preset confidence threshold.

2. The method for analyzing business data association according to claim 1, characterized in that: The generating of a candidate data set including preset data items to be mined and analyzed according to the business database and / or data table includes: Acquire a business database and / or data table including a specific data item and the specific data item meets a preset condition; Preset data items to be mined and analyzed are screened out from the database and / or data table and classified to generate candidate data sets.

3. The method for analyzing business data association according to claim 2, characterized in that: The step of screening out the preset data items to be mined and analyzed from the database and / or data table and classifying them to generate candidate data sets includes: Outputting the types of data items contained in the business database and / or data table to a user interface; Determining the type of data item to be mined and analyzed according to the user's first operation instruction; Filtering data items of corresponding types from the business database and / or data table; Classify the filtered data items to generate candidate data sets.

4. The method for analyzing business data association according to claim 1, characterized in that: The method for calculating the support corresponding to the data item to be analyzed includes: Calculating the total amount of data items to be analyzed in the candidate data set, wherein the total amount of data items to be analyzed is the maximum value of the number of occurrences of different data items or the number of actual data of a specific data item in the candidate data set; Calculate the support, where the support is the number of occurrences of the current data item to be analyzed / the total number of data items to be analyzed.

5. The method for analyzing business data association according to claim 4, characterized in that: Generating a second candidate item set including at least two frequent items according to the first frequent item set comprises: Arrange and combine the first frequent item sets in order to generate a second candidate item set; The support of the second candidate item set is calculated, where the support is the number of times multiple frequent items contained in the current second candidate item set appear simultaneously / the total number of data items to be analyzed.

6. The method for correlation analysis of business data according to claim 1, characterized in that: Before generating the first frequent itemset satisfying a first minimum support according to the first candidate itemset, the method further includes: Generate a user interface for users to input data; Receive the data input by the user and use it as the first minimum support.

7. The method for analyzing business data association according to claim 1, characterized in that: Before generating a second frequent item set satisfying a second minimum support according to the second candidate item set, the following step further includes: Generate a user interface for users to input data; Receive the data input by the user and use it as the second minimum support.

8. A device for analyzing association of business data, characterized in that: It includes A first generating module, adapted to generate a candidate data set including preset data items to be mined and analyzed according to a business database and / or a data table; A second generating module, adapted to generate a first candidate item set according to the candidate data set, wherein the first candidate item set includes data items to be analyzed and support corresponding to the data items to be analyzed; A third generating module, adapted to generate a first frequent item set satisfying a first minimum support according to the first candidate item set; a fourth generating module, adapted to generate a second candidate item set including at least two frequent items according to the first frequent item set; A fifth generating module, adapted to generate a second frequent item set satisfying a second minimum support according to the second candidate item set; an association calculation module, adapted to perform association rule calculation on the second frequent item set to obtain confidences between multiple frequent items in the second frequent item set, wherein the confidences are the ratio of the number of simultaneous occurrences of two frequent items with an association relationship in the second frequent item set to the number of occurrences of one of the frequent items with an association relationship; The result generation module is suitable for obtaining frequent item association rule results whose confidence meets a preset confidence threshold.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method for analyzing the association of business data according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for analyzing the association of business data according to any one of claims 1 to 7 is implemented.