CRM customer behavior analysis system and method based on data mining
By performing data preprocessing and correlation analysis in the CRM system, combined with the time series model, data errors and real-time analysis needs are solved, accurate correlation analysis of user behavior and future behavior prediction are achieved, helping enterprises optimize marketing strategies and customers. manage.
Patent Information
- Application Number
- CN202410869583.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-10-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In a CRM system, there may be errors, missing or inconsistencies in the data collection process, which affects the accuracy of the analysis results. The amount of data is huge and changes rapidly, requiring real-time or near-real-time analysis to capture the latest trends and patterns.
By obtaining customer behavior data from the CRM system, preprocessing, extracting key features, conducting correlation analysis and building a time series relationship model, the Apriori algorithm and moving average analysis model are used to reveal the association rules of user behavior and predict future behavior.
It achieves accurate correlation analysis and future behavior prediction of user behavior, helps enterprises better understand customer behavior patterns, formulate effective marketing strategies, and considers seasonal changes through the seasonal decomposition model to improve the accuracy of predictions.
Smart Images

Figure CN118839232A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of CRM customer behavior analysis, and in particular to a CRM customer behavior analysis system and method based on data mining. Background Art
[0002] In the modern business environment, customer relationship management (CRM) systems have become an important tool for enterprises to interact with customers. These systems not only help enterprises track and manage customer information, but also accumulate a large amount of customer data, including purchase records, browsing history, service interactions, etc. These data contain rich information, and can reveal patterns and trends in customer behavior through data mining technology. Data mining techniques such as association rule mining, cluster analysis, and classification analysis can help enterprises extract valuable insights from massive data. Through association rule mining, enterprises can discover the correlation between different products and develop more effective marketing strategies. Cluster analysis can divide customers into different groups so that enterprises can provide personalized services and products for different groups. Classification analysis can help enterprises predict customer behavior and needs, thereby achieving more accurate marketing.
[0003] However, there are also many problems when using data in CRM systems for data mining. First, there may be errors, omissions, or inconsistencies in the data collection process, which will affect the accuracy of the analysis results. For example, if a customer's purchase record is incomplete or contains errors, the analysis results based on this data may be misleading. Second, the amount of data in the CRM system may be very large, and processing and analyzing this data requires efficient algorithms and computing resources. Finally, customer behavior is constantly changing, and real-time or near-real-time analysis is required to capture the latest trends and patterns.
[0004] To this end, we propose an analysis method and system to solve the above problems. Summary of the invention
[0005] The present invention aims to provide a CRM customer behavior analysis method based on data mining, the method comprising the following steps:
[0006] Obtain customer behavior data from the CRM system, including but not limited to purchase records and browsing history data;
[0007] Divide the customer behavior data into multiple data sets; pre-process the data in the multiple data sets respectively to eliminate noise and outliers;
[0008] Extract key features from the pre-processed customer behavior data, including but not limited to behavior interval, behavior frequency and behavior time, for subsequent analysis;
[0009] Conduct correlation analysis to reveal the correlation rules between different user behaviors and build a time series relationship model;
[0010] Estimate the probability of future user behavior through association rules and time series relationship models;
[0011] The data preprocessing includes data cleaning and deduplication, and consistency verification of the data in the data set; the multiple data sets include a purchase record data set, a browsing history data set, and a feedback record data set.
[0012] Preferably, extracting key features from the pre-processed customer behavior data includes:
[0013] Extract customer purchase time features, purchased product type features, and purchase frequency features from the purchase record data set to form an original purchase feature data set;
[0014] Extract browsing page features, browsing time features, and dwell time features from the browsing history data set to form an original browsing feature data set;
[0015] Feedback time features, feedback type features and feedback time interval features are extracted from the feedback record data set to form an original feedback feature data set.
[0016] Preferably, the correlation analysis is performed to reveal the correlation rules between different user behaviors and to construct a time series model, including the following steps:
[0017] The data in the original purchase feature data set is used to create an original purchase data table with customer name as the primary key and purchase time as the secondary key;
[0018] The data in the original browsing feature data set is used to create an original browsing data table with customer name as the primary key and browsing time as the secondary key;
[0019] The data in the original feedback feature data set is used to create an original feedback data table with customer name as the primary key and feedback time as the secondary key;
[0020] Through the Apriori algorithm, frequent item sets are found in the original purchase data table, original browsing data table, and original feedback data table to form corresponding frequent item sets;
[0021] Generate association rules from frequent item sets.
[0022] Preferably, generating association rules from a frequent item set comprises the following steps:
[0023] For each frequent item set, generate all possible non-empty subsets as the left side (LHS) of the rule, and the right side (RHS) is the complement of the non-empty subset;
[0024] The confidence of the association rules is calculated to determine the reliability of the rules. By comparing the confidence and support of the rules, the improvement of the rules is calculated to measure the effectiveness of the rules.
[0025] Preferably, the step of calculating the confidence of the association rule to determine the reliability of the association rule comprises the following steps:
[0026] Determine the support counts for LHS and RHS;
[0027] Perform confidence calculations;
[0028] Determining a confidence threshold, wherein the confidence threshold is not less than the calculated minimum confidence value;
[0029] When the confidence of the association rule is greater than the confidence threshold, the association rule is valid.
[0030] Preferably, the step of calculating the improvement of the rule by comparing the confidence and support of the rule to measure the effectiveness of the rule includes the following steps:
[0031] Calculate the lift of the association rule; if the lift is 1±Δa, the LHS and RHS of the association rule are independent, where Δa is the adjustment variable; otherwise, the LHS and RHS of the association rule are associated.
[0032] Preferably, the construction of the time series relationship model comprises the following steps:
[0033] Construct a moving average analysis model to analyze the probability of future purchases in the purchase record dataset;
[0034] A time series forecasting model with seasonal decomposition is constructed to analyze the seasonal trend of purchases in the purchase record dataset and the positivity distribution trend of feedback in the feedback record dataset.
[0035] Preferably, the constructing of a moving average analysis model for analyzing the future purchase probability in the purchase record data set comprises the following steps:
[0036] Use 1 / 3 of the purchase record dataset as the test set and 2 / 3 as the training set;
[0037] Use the time in the purchase record dataset as an index to ensure that the data is arranged in chronological order;
[0038] Select the moving average window size (7 days, 30 days);
[0039] For each time point, calculate the average number of purchases in the past N time periods to obtain a moving average;
[0040] Analyze the long-term trend of purchase probability through the changes in moving averages;
[0041] If the moving average is rising, it indicates that the probability of future purchases may increase; if it is falling, it may decrease;
[0042] Use the most recent moving average as a prediction of the probability of a purchase in the future.
[0043] The present invention also provides a CRM customer behavior analysis system based on data mining, and the system is used to execute the CRM customer behavior analysis method based on data mining.
[0044] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the CRM customer behavior analysis method based on data mining.
[0045] The present invention has the following beneficial effects:
[0046] 1. The present invention uses the Apriori algorithm to find frequent item sets in the original purchase data table, original browsing data table, and original feedback data table that have been established to form corresponding frequent item sets; by finding frequent item sets, we can find association rules between different user behaviors. For example, in the original purchase data table, we may find that certain commodities are often purchased together; in the original browsing data table, we may find that certain web pages are often browsed together; in the original feedback data table, we may find that certain issues are often mentioned together; through the above steps, we can perform correlation analysis on different user behaviors, thereby revealing the association rules between them. These rules can help us better understand the user's behavior patterns and provide a reference for subsequent customer management and product sales.
[0047] 2. The present invention estimates the probability of future user behavior through association rules and time series relationship models; it can help us predict the behavior that users may perform in the future; when estimating the probability of future user behavior, we can adopt a variety of methods; one of which is to analyze the future purchase probability in the purchase record data set through a moving average or regression analysis model. This method can take into account past purchase records, thereby more accurately predicting future purchase behavior, and also facilitate enterprises to screen out potential customers and high-value customers.
[0048] 3. The present invention analyzes the seasonal trend of purchases in the purchase record dataset through a seasonal decomposition time series prediction model. This method can take into account the seasonal changes in purchasing behavior, thereby more accurately predicting future purchasing behavior. At the same time, we can also analyze the distribution trend of the positivity of feedback in the feedback record dataset, which can help us understand user satisfaction and feedback positivity in order to maintain and manage customers. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 It is a flow chart of the CRM customer behavior analysis method based on data mining of the present invention. DETAILED DESCRIPTION
[0050] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art can think of other obvious variations. The basic principles of the present invention defined in the following description can be applied to other embodiments, variations, improvements, equivalents, and other technical solutions that do not deviate from the spirit and scope of the present invention.
[0051] It is to be understood that the term "one" should be understood as "at least one" or "one or more", that is, in one embodiment, the number of an element may be one, while in another embodiment, the number of the element may be multiple, and the term "one" should not be understood as a limitation on the quantity.
[0052] A CRM customer behavior analysis method based on data mining, the method comprising the following steps:
[0053] Obtain customer behavior data from the CRM system, including but not limited to purchase records and browsing history data;
[0054] Divide the customer behavior data into multiple data sets; pre-process the data in the multiple data sets respectively to eliminate noise and outliers;
[0055] Extract key features from the pre-processed customer behavior data, including but not limited to behavior interval, behavior frequency and behavior time, for subsequent analysis;
[0056] Conduct correlation analysis to reveal the correlation rules between different user behaviors and build a time series relationship model;
[0057] Estimate the probability of future user behavior through association rules and time series relationship models;
[0058] The data preprocessing includes data cleaning, deduplication, and consistency verification of the data in the data set; specifically:
[0059] Data cleaning includes: Missing value processing: For missing values in the data set, fill, delete or use model prediction methods to process them according to their nature. Outlier detection: Use statistical methods (such as box plots, standard deviation methods) or model-based outlier detection methods to identify outliers, and decide whether to delete or correct these values based on actual conditions. Format standardization: Ensure that all data follows a unified format standard, such as the date format is unified as YYYY-MM-DD, and the numbers retain the same number of decimal places.
[0060] Data deduplication includes: deleting identical duplicate records in a data set, leaving only one. For records with duplicate fields, merging records or selecting one record as a representative based on business needs. Developing a clear deduplication strategy ensures that the impact of duplicate data is reduced without losing valuable information.
[0061] Consistency verification includes: Checking whether the numerical data is within a reasonable range, such as age cannot be negative and the purchase quantity cannot exceed the inventory quantity. Verifying whether the data format is correct, such as whether the email address is in a valid format and whether the phone number meets the regional standards. Checking whether the logical relationship between the data is consistent, such as a person's purchase record should be after the date he or she becomes a customer. Comparing with historical data to verify the consistency of the current data set and ensure the accuracy of time series analysis.
[0062] In some preferred embodiments, the plurality of data sets include a purchase record data set, a browsing history data set, and a feedback record data set.
[0063] The key features extracted from the pre-processed customer behavior data include:
[0064] Extract customer purchase time features, purchased product type features, and purchase frequency features from the purchase record data set to form an original purchase feature data set;
[0065] Extract browsing page features, browsing time features, and dwell time features from the browsing history data set to form an original browsing feature data set;
[0066] Feedback time features, feedback type features and feedback time interval features are extracted from the feedback record data set to form an original feedback feature data set.
[0067] The correlation analysis is performed to reveal the correlation rules between different user behaviors and to construct a time series model, including the following steps:
[0068] Establishing the original purchase data table: First, we need to process the original purchase feature data set. In this data set, each record contains the customer's purchase information, such as customer name, purchase time, etc. In order to facilitate subsequent analysis, we sort and organize these data with customer name as the primary key and purchase time as the secondary key, thus establishing an original purchase data table.
[0069] Establishing the original browsing data table: Similarly, we need to perform similar processing on the original browsing feature data set. In this data set, the customer's browsing behavior is recorded, such as customer name, browsing time, etc. We sort and organize these data by customer name as the primary key and browsing time as the secondary key, thus establishing an original browsing data table;
[0070] Establishing the original feedback data table: For the original feedback feature data set, it contains customer feedback information, such as customer name, feedback time, etc. We sort and organize these data with customer name as the primary key and feedback time as the secondary key to establish an original feedback data table.
[0071] Through the Apriori algorithm, we can find frequent item sets in the original purchase data table, original browsing data table, and original feedback data table to form corresponding frequent item sets; by finding frequent item sets, we can find association rules between different user behaviors. For example, in the original purchase data table, we may find that certain products are often purchased together; in the original browsing data table, we may find that certain web pages are often browsed together; in the original feedback data table, we may find that certain issues are often mentioned together. Through the above steps, we can perform correlation analysis on different user behaviors, thereby revealing the association rules between them. These rules can help us better understand user behavior patterns and provide strong support for subsequent marketing strategies;
[0072] The generating of association rules from the frequent item set comprises the following steps:
[0073] For each frequent item set, generate all possible non-empty subsets as the left side (LHS) of the rule, and the right side (RHS) is the complement of the non-empty subset;
[0074] The confidence of the association rules is calculated to determine the reliability of the rules. By comparing the confidence and support of the rules, the improvement of the rules is calculated to measure the effectiveness of the rules.
[0075] The step of calculating the confidence of the association rule to determine the reliability of the association rule comprises the following steps:
[0076] Determine the support counts for LHS and RHS;
[0077] Perform confidence calculations;
[0078] Determining a confidence threshold, wherein the confidence threshold is not less than the calculated minimum confidence value;
[0079] When the confidence of the association rule is greater than the confidence threshold, the association rule is valid.
[0080] The process of calculating the rule's lift by comparing the rule's confidence and support to measure the rule's effectiveness includes the following steps:
[0081] The lift of the association rule is calculated; if the lift is 1±Δa, the LHS and RHS of the association rule are independent, where Δa is an adjustment variable; in this embodiment, the adjustment variable Δa=0.001, otherwise the LHS and RHS of the association rule are associated.
[0082] Building a time series relationship model is a complex process that involves multiple steps:
[0083] First, we need to estimate the probability of future user behavior through association rules and time series relationship models; this step is crucial because it can help us predict the behavior that users may take in the future; when estimating the probability of future user behavior, we can use a variety of methods. One of them is to analyze the future purchase probability in the purchase record dataset through a moving average or regression analysis model. This method can take into account past purchase records and thus more accurately predict future purchase behavior;
[0084] Another approach is to analyze the seasonal trends of purchases in the purchase record dataset through a seasonal decomposition time series forecasting model. This approach can take into account seasonal changes in purchase behavior and more accurately predict future purchase behavior. At the same time, we can also analyze the distribution trend of the positivity of feedback in the feedback record dataset, which can help us understand user satisfaction and the positivity of feedback.
[0085] In general, through these methods, we can better understand and predict user behavior, thereby providing stronger support for our decision-making.
[0086] The construction of the moving average analysis model for analyzing the future purchase probability in the purchase record data set includes the following steps:
[0087] Use 1 / 3 of the purchase record dataset as the test set and 2 / 3 as the training set;
[0088] Use the time in the purchase record dataset as an index to ensure that the data is arranged in chronological order;
[0089] Select the moving average window size (7 days, 30 days);
[0090] For each time point, calculate the average number of purchases in the past N time periods to obtain a moving average, where N is greater than 2;
[0091] Analyze the long-term trend of purchase probability through the changes in moving averages;
[0092] If the moving average is rising, it indicates that the probability of future purchases may increase; if it is falling, it may decrease;
[0093] Use the most recent moving average as a prediction of the probability of a purchase in the future.
[0094] The present invention also provides a CRM customer behavior analysis system based on data mining, the system includes a processor, a memory and a communication module, and the system is used to execute the CRM customer behavior analysis method based on data mining.
[0095] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the CRM customer behavior analysis method based on data mining.
[0096] The embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. The embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part, and / or installed from a removable medium. When the computer program is executed by the central processing unit (CPU), the above-mentioned functions defined in the method of the present application are executed. It should be noted that the above-mentioned computer-readable medium of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, a system, device or device of an electrical, magnetic, optical, electromagnetic, infrared segment, or semiconductor, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more wire segments, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, electrical wire, optical cable, RF, etc., or any suitable combination of the foregoing.
[0097] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0098] Those skilled in the art should understand that the embodiments of the present invention described above and shown in the accompanying drawings are only examples and do not limit the present invention. The objectives of the present invention have been fully and effectively achieved. The functional and structural principles of the present invention have been demonstrated and explained in the embodiments. Without departing from the principles, the implementation methods of the present invention may be deformed or modified in any way.
Claims
1. CRM customer behavior analysis method based on data mining, characterized by: The method comprises the following steps: Obtain customer behavior data from the CRM system, including but not limited to purchase records and browsing history data; Divide the customer behavior data into multiple data sets; pre-process the data in the multiple data sets respectively to eliminate noise and outliers; Extract key features from the pre-processed customer behavior data, including but not limited to behavior interval, behavior frequency and behavior time, for subsequent analysis; Conduct correlation analysis to reveal the correlation rules between different user behaviors and build a time series relationship model; Estimate the probability of future user behavior through association rules and time series relationship models; The data preprocessing includes data cleaning and deduplication, and consistency verification of the data in the data set; the multiple data sets include a purchase record data set, a browsing history data set, and a feedback record data set.
2. The CRM customer behavior analysis method based on data mining according to claim 1 is characterized in that: The key features extracted from the pre-processed customer behavior data include: Extract customer purchase time features, purchased product type features, and purchase frequency features from the purchase record data set to form an original purchase feature data set; Extract browsing page features, browsing time features, and dwell time features from the browsing history data set to form an original browsing feature data set; Feedback time features, feedback type features and feedback time interval features are extracted from the feedback record data set to form an original feedback feature data set.
3. The CRM customer behavior analysis method based on data mining according to claim 2 is characterized in that: The correlation analysis is performed to reveal the correlation rules between different user behaviors and to construct a time series model, including the following steps: The data in the original purchase feature data set is used to create an original purchase data table with customer name as the primary key and purchase time as the secondary key; The data in the original browsing feature data set is used to create an original browsing data table with customer name as the primary key and browsing time as the secondary key; The data in the original feedback feature data set is used to create an original feedback data table with customer name as the primary key and feedback time as the secondary key; Through the Apriori algorithm, frequent item sets are found in the original purchase data table, original browsing data table, and original feedback data table to form corresponding frequent item sets; Generate association rules from frequent item sets.
4. The CRM customer behavior analysis method based on data mining according to claim 3 is characterized in that: The generating of association rules from the frequent item set comprises the following steps: For each frequent item set, generate all possible non-empty subsets as the left side (LHS) of the rule, and the right side (RHS) is the complement of the non-empty subset; The confidence of the association rules is calculated to determine the reliability of the rules. By comparing the confidence and support of the rules, the improvement of the rules is calculated to measure the effectiveness of the rules.
5. The CRM customer behavior analysis method based on data mining according to claim 4 is characterized in that: The step of calculating the confidence of the association rule to determine the reliability of the association rule comprises the following steps: Determine the support counts for LHS and RHS; Perform confidence calculations; Determining a confidence threshold, wherein the confidence threshold is not less than the calculated minimum confidence value; When the confidence of the association rule is greater than the confidence threshold, the association rule is valid.
6. The CRM customer behavior analysis method based on data mining according to claim 5 is characterized in that: The process of calculating the rule's lift by comparing the rule's confidence and support to measure the rule's effectiveness includes the following steps: Calculate the lift of the association rule; if the lift is 1±Δa, the LHS and RHS of the association rule are independent, where Δa is the adjustment variable; otherwise, the LHS and RHS of the association rule are associated.
7. The CRM customer behavior analysis method based on data mining according to claim 1 is characterized in that: The construction of the time series relationship model comprises the following steps: Construct a moving average analysis model to analyze the probability of future purchases in the purchase record dataset; A time series forecasting model with seasonal decomposition is constructed to analyze the seasonal trend of purchases in the purchase record dataset and the positivity distribution trend of feedback in the feedback record dataset.
8. The CRM customer behavior analysis method based on data mining according to claim 7 is characterized in that: The construction of the moving average analysis model for analyzing the future purchase probability in the purchase record data set includes the following steps: Use 1 / 3 of the purchase record dataset as the test set and 2 / 3 as the training set; Use the time in the purchase record dataset as an index to ensure that the data is arranged in chronological order; Select the moving average window size (7 days, 30 days); For each time point, calculate the average number of purchases in the past N time periods to obtain a moving average; Analyze the long-term trend of purchase probability through the changes in moving averages; If the moving average is rising, it indicates that the probability of future purchases may increase; if it is falling, it may decrease; Use the most recent moving average as a prediction of the probability of a purchase in the future.
9. CRM customer behavior analysis system based on data mining, characterized by: The system is used to execute the CRM customer behavior analysis method based on data mining as described in any one of claims 1-8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the CRM customer behavior analysis method based on data mining as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Equipment failure information mining method based on dynamic association rule
CN106874491A
User demand prediction and analysis system based on big data of e-commerce platform in wind power industry
CN117635209A
E-commerce order information intelligent processing system based on big data
CN117934124A
Online marketing strategy recommendation method and system
CN118172091A
Cited By
Bill data generation method and device, computer equipment and storage medium
CN120763396A
