Client data processing method and device, computer device and storage medium
By calculating the covariance cardinality and covariance of customer data, the problem of lack of interpretability in customer data processing is solved, thereby improving the accuracy and interpretability of customer analysis.
Patent Information
- Application Number
- CN202410028239.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-05
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2044-01-05
AI Technical Summary
Existing customer data processing technologies perform only a single analysis after acquiring customer data, lacking interpretability and resulting in low accuracy in customer analysis.
By acquiring customer data from target customers, inputting it into a customer evaluation model to calculate conversion scores, and using covariance cardinality and covariance to calculate the impact of feature categories on conversion scores within different evaluation periods, customer analysis results are generated.
It improves the accuracy, comprehensiveness, and interpretability of customer analysis, making the model no longer a black box model, and enabling it to dynamically consider the fluctuations in customer conversion scores at different time points.
Smart Images

Figure CN117709801B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the fields of artificial intelligence and financial technology, and in particular to a customer data processing method, apparatus, computer equipment, and storage medium. Background Technology
[0002] Businesses accumulate and store vast amounts of customer data through their production and daily operations. They frequently process this data for purposes such as customer analysis. For example, in the financial and insurance industry, insurance companies can obtain customer data from questionnaires or existing clients, inputting this data into models to predict customer conversion rates. However, current customer data processing technologies only perform single-step processing and analysis after acquiring a customer's data, and the output is limited to the overall data, making it a black-box model lacking interpretability. All of these factors reduce the accuracy of customer analysis based on customer data. Summary of the Invention
[0003] The purpose of this application is to provide a customer data processing method, apparatus, computer equipment, and storage medium to solve the problem of low accuracy when performing customer analysis based on customer data.
[0004] To address the aforementioned technical problems, this application provides a customer data processing method, employing the following technical solution:
[0005] Obtain the target customer's current customer data, which contains multiple feature categories, and each feature category contains at least one customer feature.
[0006] The customer data is input into the customer evaluation model to obtain the conversion score of the target customer in the current evaluation.
[0007] Obtain the feature contribution and feature category corresponding to each pre-determined customer feature;
[0008] Based on the feature contribution, feature category, and feature value of each customer feature, calculate the covariance cardinality of each customer feature in the current evaluation;
[0009] Obtain the conversion score of the target customer in the previous evaluation and the covariance cardinality of each customer characteristic;
[0010] Based on the obtained covariance cardinality, calculate the covariance of the previous evaluation and the current evaluation on each feature category;
[0011] Based on the conversion score in the current assessment, the conversion score in the previous assessment, and the covariance of the previous assessment and the current assessment across each feature category, the customer analysis results for the target customer are generated.
[0012] To address the aforementioned technical problems, this application also provides a customer data processing apparatus, which employs the following technical solution:
[0013] The data acquisition module is used to acquire the current customer data of the target customer. The customer data contains multiple feature categories, and each feature category contains at least one customer feature.
[0014] The current evaluation module is used to input the customer data into the customer evaluation model to obtain the conversion score of the target customer in the current evaluation.
[0015] The acquisition module is used to acquire the feature contribution and feature category corresponding to each pre-determined customer feature;
[0016] The current calculation module is used to calculate the covariance cardinality of each customer feature in the current evaluation based on the feature contribution, feature category, and feature value of each customer feature.
[0017] The previous acquisition module is used to acquire the conversion score of the target customer in the previous evaluation and the covariance cardinality of each customer characteristic;
[0018] The covariance calculation module is used to calculate the covariance of the previous evaluation and the current evaluation on each feature category based on the obtained covariance cardinality;
[0019] The results generation module is used to generate customer analysis results for the target customer based on the conversion score in the current assessment, the conversion score in the previous assessment, and the covariance of the previous assessment and the current assessment in each feature category.
[0020] To address the aforementioned technical problems, this application also provides a computer device that employs the following technical solution:
[0021] Obtain the target customer's current customer data, which contains multiple feature categories, and each feature category contains at least one customer feature.
[0022] The customer data is input into the customer evaluation model to obtain the conversion score of the target customer in the current evaluation.
[0023] Obtain the feature contribution and feature category corresponding to each pre-determined customer feature;
[0024] Based on the feature contribution, feature category, and feature value of each customer feature, calculate the covariance cardinality of each customer feature in the current evaluation;
[0025] Obtain the conversion score of the target customer in the previous evaluation and the covariance cardinality of each customer characteristic;
[0026] Based on the obtained covariance cardinality, calculate the covariance of the previous evaluation and the current evaluation on each feature category;
[0027] Based on the conversion score in the current assessment, the conversion score in the previous assessment, and the covariance of the previous assessment and the current assessment across each feature category, the customer analysis results for the target customer are generated.
[0028] To address the aforementioned technical problems, this application also provides a computer-readable storage medium, employing the technical solution described below:
[0029] Obtain the target customer's current customer data, which contains multiple feature categories, and each feature category contains at least one customer feature.
[0030] The customer data is input into the customer evaluation model to obtain the conversion score of the target customer in the current evaluation.
[0031] Obtain the feature contribution and feature category corresponding to each pre-determined customer feature;
[0032] Based on the feature contribution, feature category, and feature value of each customer feature, calculate the covariance cardinality of each customer feature in the current evaluation;
[0033] Obtain the conversion score of the target customer in the previous evaluation and the covariance cardinality of each customer characteristic;
[0034] Based on the obtained covariance cardinality, calculate the covariance of the previous evaluation and the current evaluation on each feature category;
[0035] Based on the conversion score in the current assessment, the conversion score in the previous assessment, and the covariance of the previous assessment and the current assessment across each feature category, the customer analysis results for the target customer are generated.
[0036] Compared with the prior art, the embodiments of this application have the following main advantages: Obtaining current customer data of the target customer, the customer data contains multiple feature categories, each feature category containing at least one customer feature; inputting the customer data into a customer evaluation model to obtain the conversion score of the target customer in the current evaluation, which represents the likelihood of the target customer achieving conversion; obtaining the feature contribution degree and the feature category to which each customer feature belongs, as determined in advance; calculating the covariance cardinality of each customer feature in the current evaluation based on the feature contribution degree, feature category, and feature value of each customer feature; obtaining the conversion score of the target customer in the previous evaluation and the covariance cardinality of each customer feature; calculating the covariance of each feature category in the previous evaluation of each customer feature. The cardinality is one variable, and the covariance cardinality of each customer feature in the current assessment is another variable. We can calculate the covariance of each feature category between the previous assessment and the current assessment. The covariance reflects the overall impact of each feature category on the conversion score within different assessment periods, making the model no longer a black box model, but interpretable. Furthermore, periodic assessments can dynamically consider the fluctuations in the conversion scores of target customers at different time points. Based on the conversion scores in the current assessment, the conversion scores in the previous assessment, and the covariance of each feature category between the previous and current assessments, customer analysis results for target customers can be generated, which can greatly improve the accuracy, comprehensiveness, and interpretability of customer analysis based on customer data. Attached Figure Description
[0037] To more clearly illustrate the solutions in this application, the accompanying drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0038] Figure 1 This is an exemplary system architecture diagram to which this application can be applied;
[0039] Figure 2 This is a flowchart of an embodiment of the customer data processing method according to this application;
[0040] Figure 3 This is a schematic diagram of the structure of one embodiment of the customer data processing apparatus according to this application;
[0041] Figure 4 This is a schematic diagram of the structure of one embodiment of the computer device according to this application. Detailed Implementation
[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein in the specification of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having," and any variations thereof, in the specification, claims, and foregoing drawings of this application, are intended to cover non-exclusive inclusion. The terms "first," "second," etc., in the specification, claims, or foregoing drawings of this application are used to distinguish different objects, not to describe a particular order.
[0043] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0044] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
[0045] like Figure 1 As shown, system architecture 100 may include terminal devices 101, 102, and 103, a network 104, and a server 105. Network 104 serves as the medium for providing communication links between terminal devices 101, 102, and 103 and server 105. Network 104 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc.
[0046] Users can use terminal devices 101, 102, and 103 to interact with server 105 via network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, and 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social media platform software, etc.
[0047] Terminal devices 101, 102, and 103 can be various electronic devices with displays and support web browsing, including but not limited to smartphones, tablets, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 players (Moving Picture Experts Group Audio Layer IV), laptops, and desktop computers, etc.
[0048] Server 105 can be a server that provides various services, such as a backend server that supports the pages displayed on terminal devices 101, 102, and 103.
[0049] It should be noted that the customer data processing method provided in this application embodiment is generally executed by a server, and correspondingly, the customer data processing device is generally located in the server.
[0050] It should be understood that Figure 1 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.
[0051] Continue to refer to Figure 2 A flowchart of an embodiment of a customer data processing method according to this application is shown. The customer data processing method includes the following steps:
[0052] Step S201: Obtain the current customer data of the target customer. The customer data contains multiple feature categories, and each feature category contains at least one customer feature.
[0053] In this embodiment, the customer data processing method operates on an electronic device (e.g., Figure 1 The server shown can communicate with the terminal device via wired or wireless connection. It should be noted that the aforementioned wireless connection methods may include, but are not limited to, 3G / 4G / 5G connections, WiFi connections, Bluetooth connections, WiMAX connections, Zigbee connections, UWB (ultra wideband) connections, and other currently known or future known wireless connection methods.
[0054] Specifically, this application can perform customer data processing on a regular basis, thus enabling the periodic acquisition of customer data for target customers. For example, with a weekly update frequency, a customer data processing instruction is triggered at a fixed time each week, and the latest customer data for each target customer is obtained according to the instruction.
[0055] Customer data comprises multiple feature categories, which are broad categories of features. Each feature category contains at least one customer feature. The feature categories and the customer features they contain are predetermined. For example, in the financial insurance sector, insurance companies acquire customer data for auto insurance policies based on customer characteristics prior to the underwriting period. The feature categories and the customer features contained in each feature category are as follows:
[0056] 1. Basic customer characteristics: age, city, gender, vehicle age, vehicle brand, vehicle value, etc.;
[0057] 2. Human contact history characteristics: contact duration, number of contacts, contact time period, customer intent, etc.;
[0058] 3. AI (Artificial Intelligence) Historical Contact Characteristics: Contact duration, number of contacts, contact time period, interaction rounds, customer intent, etc. (Insurance companies can use AI to contact customers)
[0059] 4. Specific app operation metrics: Specific app response count, number of quotes, interaction rounds, active days, etc.
[0060] 5. Online activity data: app activity data, webpage activity data, breakpoint data, etc.
[0061] Furthermore, prior to step S201 above, the method may include: acquiring sample data of each sample customer, the sample data containing conversion tags of the sample customers; training the initial customer evaluation model based on the sample data of each sample customer to obtain the customer evaluation model, and obtaining the feature contribution of each customer feature in the sample data after training, wherein the initial customer evaluation model is a tree model.
[0062] Specifically, this application requires a customer evaluation model to be trained in advance. The customer evaluation model is used to output a conversion score for customers based on customer data. The conversion score represents the likelihood of a customer converting in the form of a numerical value.
[0063] During training, sample data is acquired from each customer sample. The customer characteristics contained in the sample data are the same as those contained in the customer data mentioned above. The sample data includes conversion tags for the sample customers, which indicate whether the customer has converted at the product recommendation or sales point (a customer purchasing the product is considered a conversion). Continuing with the example above, at the historical auto insurance sales point, if the customer has underwritten an insurance policy, the customer is considered to have converted, and the conversion tag is 1; otherwise, it is 0.
[0064] The initial customer assessment model is trained based on sample data from each customer sample. The conversion label will serve as the expected output of the initial customer assessment model for each sample data. After training, the customer assessment model can be obtained.
[0065] In this application, the initial customer evaluation model / customer assessment model is a tree model, such as Random Forest or LightGBM. After training, the tree model automatically obtains the feature contribution score for each customer feature, which indicates the importance of the feature. During the construction process, the tree model considers the split points of each feature to determine which features are most helpful in predicting the target variable. The feature contribution score measures the degree to which each feature contributes to the model's performance, helping to identify which features play a key role in prediction and which features have a significant impact on the model's accuracy. The feature contribution score is usually calculated based on the frequency of feature splits in the model and the reduction in impurity after splitting. Random Forest and other ensemble tree models typically provide an importance score for each feature, which is calculated based on the model's training process and the splitting of tree nodes. Random Forest typically uses Gini importance to measure the contribution of each feature to the model; the importance score indicates the effectiveness of each feature in splitting data in each decision tree of the model, with a higher Gini importance score indicating that the feature is more discriminative in splitting the data. If multiple decision trees are used to build a random forest, the average importance of each feature can be calculated to comprehensively consider the contribution of each tree.
[0066] In this embodiment, sample data of each sample customer is obtained, and the sample data contains the conversion tags of the sample customers; the initial customer evaluation model is trained based on the sample data of each sample customer to obtain the customer evaluation model; since the initial customer evaluation model is a tree model, the feature contribution of each customer feature in the sample data can be obtained after training, thus preparing the model and data for subsequent customer analysis.
[0067] Step S202: Input customer data into the customer evaluation model to obtain the conversion score of the target customer in the current evaluation.
[0068] Specifically, customer data is input into the customer evaluation model to obtain the conversion score of the target customer in the current evaluation, where the conversion score ranges from [0, 100].
[0069] Furthermore, step S202 above may include: inputting customer data into a customer evaluation model to obtain the conversion probability of the target customer; and generating a conversion score for the target customer in the current evaluation based on the conversion probability.
[0070] Specifically, customer data is input into the customer assessment model, which outputs the conversion probability of the target customer. The conversion probability is a numerical value representing the likelihood of the target customer converting during the assessment, and its value ranges from [0,1]. Continuing with the previous example, the conversion probability is the underwriting probability of the target customer.
[0071] The conversion probability of target customers can be further integrated to score target customers. Target customers are evenly distributed into 100 groups according to their conversion probability from low to high, and a score between 0 and 100 is attached as the conversion score of the target customer.
[0072] In this embodiment, customer data is input into the customer evaluation model to obtain the conversion probability of the target customer. The conversion probability is then converted into the conversion score of the target customer in the current evaluation, so as to realize the possibility of customer conversion by using the score. This achieves data standardization and facilitates the display and understanding of the data.
[0073] Step S203: Obtain the feature contribution degree and the feature category corresponding to each pre-determined customer feature.
[0074] Specifically, before each assessment, the feature contribution of each customer feature and its corresponding feature category are determined and can be obtained directly by looking up a table. It is understandable that feature categories and the customer features contained within those categories can be adjusted; if the customer assessment model is retrained, the feature contribution of each customer feature also needs to be adjusted accordingly.
[0075] Step S204: Calculate the covariance base of each customer feature in the current evaluation based on the feature contribution, feature category, and feature value of each customer feature.
[0076] Specifically, this application incorporates the covariance of two adjacent assessments across feature categories into the analysis. It is understood that a feature category has at least one customer feature. Before calculating the covariance, it is necessary to first calculate the cardinality of the customer feature's covariance in the assessment, so as to calculate the covariance of the feature category to which the customer feature belongs based on the cardinality of the covariance.
[0077] Now that we have the feature contribution, feature category, and feature value in the current evaluation for each customer feature, we can calculate the covariance cardinality of that customer feature in the current evaluation.
[0078] Customer characteristics have eigenvalues; for example, the eigenvalue for gender includes "male" and "female." The eigenvalues for some customer characteristics may differ at different points in time; for example, the number of active days may change. Therefore, the covariance cardinality may also differ at different points in time and needs to be tied to a specific time point or evaluation.
[0079] Furthermore, step S204 above may include: for each feature category, calculating the average contribution of the feature category based on the feature contribution of each customer feature in the feature category; for each customer feature, calculating the covariance cardinality of the customer feature in the current evaluation based on the feature value of the customer feature and the average contribution of the feature category to which the customer feature belongs.
[0080] Specifically, for each feature category, all customer features included in that feature category are obtained, and their feature contribution is calculated; the average of these feature contributions is then calculated to obtain the average contribution of that feature category.
[0081] Then, for each customer feature within that feature category, multiplying the feature value of that customer feature by the average contribution of that feature category yields the cardinality of the covariance for that customer feature in the current evaluation. It can be understood that this multiplication weights the feature values, and the subsequent calculation actually yields a weighted covariance.
[0082] It is understandable that the feature values of customer characteristics need to be digitally represented when participating in calculations.
[0083] In this embodiment, for each feature category, the average contribution of the feature category is calculated based on the feature contribution of each customer feature in the feature category; for each customer feature, the covariance cardinality of the customer feature in the current evaluation is calculated based on the feature value of the customer feature and the average contribution of the feature category to which the customer feature belongs, thus preparing the data for covariance calculation.
[0084] Step S205: Obtain the conversion score of the target customer in the previous evaluation and the covariance of each customer characteristic.
[0085] Specifically, as mentioned earlier, customer analysis can be periodic or time-bound. Therefore, it's also necessary to obtain the previous assessment adjacent to the current one. Furthermore, it's required to obtain the target customer's conversion score in the previous assessment and the covariance of each customer characteristic.
[0086] Step S206: Based on the obtained covariance base, calculate the covariance of the previous evaluation and the current evaluation on each feature category.
[0087] Specifically, for each feature category, we have now obtained the cardinality of the covariance of each customer feature in the current evaluation, as well as the cardinality of the covariance of each customer feature in the previous evaluation. Based on these cardinality values, the covariance of the previous and current evaluations for that feature category can be calculated. It is important to understand that a covariance is related to two evaluations, and cannot be obtained based on a single evaluation.
[0088] Furthermore, step S206 may include: for each feature category, generating a first variable value sequence based on the covariance cardinality of the customer features contained in the feature category in the current assessment; generating a second variable value sequence based on the covariance cardinality of the customer features contained in the feature category in the previous assessment; and calculating the covariance of the previous assessment and the current assessment on the feature category based on the first variable value sequence and the second variable value sequence.
[0089] Specifically, suppose there is an existing feature category 1, which includes customer features A, B, C, and D. Their covariance cardinality in the current evaluation is A1, B1, C1, and D1, respectively. They can be regarded as the values of the first variable X, resulting in the first variable value sequence {A1, B1, C1, D1}.
[0090] Assuming that in feature category 1, the covariance cardinality of customer features A, B, C, and D in the previous evaluation is A0, B0, C0, and D0 respectively, they can be regarded as the values of the second variable Y, resulting in the second variable value sequence {A0, B0, C0, D0}.
[0091] Based on the first variable value sequence and the second variable value sequence, the covariance of the previous evaluation and the current evaluation on the feature category can be calculated. The formula for calculating the covariance is as follows:
[0092]
[0093] Where X represents the first variable, Y represents the second variable, and Cov(X,Y) represents the covariance of the first variable X and the second variable Y, that is, the covariance of the previous evaluation and the current evaluation on a certain feature category; X i and Y i Let X and Y represent the i-th data point (i.e., the value) in the first variable value sequence and the second variable value sequence, respectively. i is used to count the data points (values) in the variable value sequence; X and Y represent the mean of the first variable X and the second variable Y, respectively; and n represents the sample size when calculating the covariance.
[0094] In this embodiment, for each feature category, the covariance cardinality of the customer features contained in the feature category in the current evaluation is used as the first variable value sequence; the covariance cardinality of the customer features contained in the feature category in the previous evaluation is used as the second variable value sequence; based on the first variable value sequence and the second variable value sequence, the covariance of the previous evaluation and the current evaluation on the feature category is calculated, thus realizing the calculation of covariance.
[0095] Step S207: Generate customer analysis results for the target customer based on the conversion score in the current assessment, the conversion score in the previous assessment, and the covariance of the previous assessment and the current assessment in each feature category.
[0096] Specifically, based on the conversion score in the current assessment and the conversion score in the previous assessment, we can obtain the change in the target customer's score between the two assessments, that is, the change in the target customer's conversion probability between the two assessments. When conducting timed, periodic assessments, the fluctuations in the target customer's conversion score at different time points can be dynamically considered.
[0097] Covariance is a statistic that measures the relationship between two random variables. It indicates the tendency for the two variables to change together; that is, if one variable increases, does the other variable also increase or decrease? Covariance can be used to understand the linear relationship between variables and how they change together.
[0098] This application calculates the covariance of the previous evaluation and the current evaluation for each feature category. The covariance reflects the impact of each feature category on the conversion score in different evaluation periods, making the scoring model no longer a black box model, but interpretable.
[0099] Therefore, the customer analysis results generated by this application can include changes in conversion scores, the impact of each feature category on the current conversion score and changes in conversion scores, so that sales staff can not only understand the conversion score and its changes, but also understand which feature categories have played an important role, ensuring the accuracy of customer analysis based on customer data.
[0100] Furthermore, step S207 may include: obtaining the conversion status of the target customer in the current assessment and the previous assessment respectively; and generating customer analysis results for the target customer based on the obtained conversion status, conversion score and covariance.
[0101] Specifically, it is also possible to obtain the conversion status of target customers in the current evaluation and the previous evaluation. The conversion status indicates whether the target customer has converted at the time point of product recommendation or sales (or in other words, within the evaluation period).
[0102] Once the conversion status is obtained, the impact of each feature category on the conversion status can be further analyzed, enhancing the richness and accuracy of customer analysis results. For example, Table 1 shows the conversion score of the target customer in the current assessment, the conversion score in the previous assessment, and the covariance of the five feature categories calculated in one embodiment. Assume that the target customer's conversion status is "not converted" in both assessments, but the conversion score increases from 82 to 98, significantly increasing the conversion probability. According to the covariance, this improvement mainly comes from feature category 5, while feature category 2 contributes less. To further improve the conversion score, we can focus on feature category 2. If the conversion was not completed after the previous assessment but was completed after the current assessment, then feature category 5 can be considered to have a greater impact on the target customer's conversion status. In the future, when facing customers similar to this target customer, we can focus on improving feature category 5 to promote customer conversion.
[0103] Table 1
[0104] Customer ID Current rating Previous rating Class 1 covariance Class 2 covariance Class 3 covariance Class 4 covariance Class 5 covariance 0001 98 82 0.3 0.1 0.2 0.6 0.7
[0105] In this embodiment, the conversion status of the target customer in the current assessment and the previous assessment are obtained respectively. Based on the obtained conversion status, conversion score and covariance, the customer analysis results of the target customer are generated, which can further obtain the impact of each feature category on the conversion status, and improve the richness and accuracy of the customer analysis results.
[0106] Furthermore, the customer analysis results include customer service strategies. After the steps of generating customer analysis results for target customers described above, the process may also include: sending the customer analysis results to salespersons so that they can provide services to target customers based on the customer service strategies in the customer analysis results.
[0107] Specifically, customer analysis results are sent to sales representatives. These results include customer service strategies, such as those derived from feature category 5 as listed above. Sales representatives can then provide services to target customers or other customers similar to the target customers based on these strategies, thus improving customer conversion efficiency.
[0108] In this embodiment, the customer analysis results are sent to the salesperson, who then provides services to the target customer based on the customer service strategies in the analysis results, which can improve the efficiency of customer conversion.
[0109] In this embodiment, the current customer data of the target customer is obtained. The customer data contains multiple feature categories, and each feature category contains at least one customer feature. The customer data is input into a customer evaluation model to obtain the conversion score of the target customer in the current evaluation, which represents the probability of the target customer converting. The feature contribution and feature category corresponding to each pre-determined customer feature are obtained. Based on the feature contribution, feature category, and feature value of each customer feature, the covariance cardinality of each customer feature in the current evaluation is calculated. The conversion score of the target customer in the previous evaluation and the covariance cardinality of each customer feature are obtained. The covariance cardinality of each feature category and each customer feature in the previous evaluation is used as a variable. The value of the covariance cardinality of each customer feature in the current assessment is used as another variable. This allows us to calculate the covariance of the previous and current assessments across each feature category. The covariance reflects the overall impact of each feature category on the conversion score within different assessment periods, making the model more interpretable rather than a black box model. Furthermore, periodic assessments can dynamically consider the fluctuations in the conversion score of target customers at different time points. Based on the conversion score in the current assessment, the conversion score in the previous assessment, and the covariance of the previous and current assessments across each feature category, customer analysis results for the target customer are generated, which can greatly improve the accuracy, comprehensiveness, and interpretability of customer analysis based on customer data.
[0110] It should be emphasized that, to further ensure the privacy and security of the aforementioned customer data, the customer data can also be stored in a blockchain node.
[0111] The blockchain referred to in this application is a novel application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanisms, and encryption algorithms. Essentially, a blockchain is a decentralized database, a chain of data blocks linked together using cryptographic methods. Each data block contains information about a batch of network transactions, used to verify the validity of the information (anti-counterfeiting) and generate the next block. A blockchain can include an underlying blockchain platform, a platform product service layer, and an application service layer.
[0112] The embodiments of this application can acquire and process relevant data based on artificial intelligence technology. Artificial intelligence (AI) refers to the theories, methods, technologies, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to obtain optimal results.
[0113] Foundational technologies for artificial intelligence generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies mainly encompass computer vision, robotics, biometrics, speech processing, natural language processing, and machine learning / deep learning.
[0114] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing related hardware with computer-readable instructions. These computer-readable instructions can be stored in a computer-readable storage medium. When executed, the program can include the processes of the embodiments of the above methods. The aforementioned storage medium can be a non-volatile storage medium such as a magnetic disk, optical disk, or read-only memory (ROM), or random access memory (RAM).
[0115] It should be understood that although the steps in the flowcharts of the accompanying figures are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the accompanying figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.
[0116] Further reference Figure 3 As a response to the above Figure 2 To implement the method shown, this application provides an embodiment of a customer data processing device, which is similar to... Figure 2 Corresponding to the method embodiments shown, this device can be specifically applied to various electronic devices.
[0117] like Figure 3 As shown, the customer data processing device 300 described in this embodiment includes: a data acquisition module 301, a current evaluation module 302, an acquisition module 303, a current calculation module 304, a previous acquisition module 305, a covariance calculation module 306, and a result generation module 307, wherein:
[0118] The data acquisition module 301 is used to acquire the current customer data of the target customer. The customer data contains multiple feature categories, and each feature category contains at least one customer feature.
[0119] The current assessment module 302 is used to input customer data into the customer assessment model to obtain the conversion score of the target customer in the current assessment.
[0120] The acquisition module 303 is used to acquire the feature contribution degree and the feature category to which each customer feature is determined in advance.
[0121] The current calculation module 304 is used to calculate the covariance cardinality of each customer feature in the current evaluation based on the feature contribution, feature category and feature value of each customer feature.
[0122] The previous acquisition module 305 is used to acquire the conversion score of the target customer in the previous assessment and the covariance cardinality of each customer characteristic.
[0123] The covariance calculation module 306 is used to calculate the covariance of the previous evaluation and the current evaluation on each feature category based on the obtained covariance cardinality.
[0124] The results generation module 307 is used to generate customer analysis results for the target customer based on the conversion score in the current assessment, the conversion score in the previous assessment, and the covariance of the previous assessment and the current assessment in each feature category.
[0125] In this embodiment, the current customer data of the target customer is obtained. The customer data contains multiple feature categories, and each feature category contains at least one customer feature. The customer data is input into a customer evaluation model to obtain the conversion score of the target customer in the current evaluation, which represents the probability of the target customer converting. The feature contribution and feature category corresponding to each pre-determined customer feature are obtained. Based on the feature contribution, feature category, and feature value of each customer feature, the covariance cardinality of each customer feature in the current evaluation is calculated. The conversion score of the target customer in the previous evaluation and the covariance cardinality of each customer feature are obtained. The covariance cardinality of each feature category and each customer feature in the previous evaluation is used as a variable. The value of the covariance cardinality of each customer feature in the current assessment is used as another variable. This allows us to calculate the covariance of the previous and current assessments across each feature category. The covariance reflects the overall impact of each feature category on the conversion score within different assessment periods, making the model more interpretable rather than a black box model. Furthermore, periodic assessments can dynamically consider the fluctuations in the conversion score of target customers at different time points. Based on the conversion score in the current assessment, the conversion score in the previous assessment, and the covariance of the previous and current assessments across each feature category, customer analysis results for the target customer are generated, which can greatly improve the accuracy, comprehensiveness, and interpretability of customer analysis based on customer data.
[0126] In some optional implementations of this embodiment, the customer data processing device 300 may further include: a sample acquisition module and a model training module, wherein:
[0127] The sample acquisition module is used to acquire sample data from each sample customer, which includes the conversion tags of the sample customers.
[0128] The model training module is used to train the initial customer evaluation model based on the sample data of each sample customer to obtain the customer evaluation model. After training, the module obtains the feature contribution of each customer feature in the sample data. The initial customer evaluation model is a tree model.
[0129] In this embodiment, sample data of each sample customer is obtained, and the sample data contains the conversion tags of the sample customers; the initial customer evaluation model is trained based on the sample data of each sample customer to obtain the customer evaluation model; since the initial customer evaluation model is a tree model, the feature contribution of each customer feature in the sample data can be obtained after training, thus preparing the model and data for subsequent customer analysis.
[0130] In some optional implementations of this embodiment, the current evaluation module 302 may include: a data input submodule and a probability transformation submodule, wherein:
[0131] The data input submodule is used to input customer data into the customer evaluation model to obtain the conversion probability of the target customer.
[0132] The probability conversion submodule is used to generate a conversion score for the target customer in the current evaluation based on the conversion probability.
[0133] In this embodiment, customer data is input into the customer evaluation model to obtain the conversion probability of the target customer. The conversion probability is then converted into the conversion score of the target customer in the current evaluation, so as to realize the possibility of customer conversion by using the score. This achieves data standardization and facilitates the display and understanding of the data.
[0134] In some optional implementations of this embodiment, the current calculation module 304 may include: an average calculation submodule and a radix calculation submodule, wherein:
[0135] The average calculation submodule is used to calculate the average contribution of each feature category based on the feature contribution of each customer feature in the feature category.
[0136] The cardinality calculation submodule is used to calculate the covariance cardinality of each customer feature in the current evaluation, based on the feature value of the customer feature and the average contribution of the feature category to which the customer feature belongs.
[0137] In this embodiment, for each feature category, the average contribution of the feature category is calculated based on the feature contribution of each customer feature in the feature category; for each customer feature, the covariance cardinality of the customer feature in the current evaluation is calculated based on the feature value of the customer feature and the average contribution of the feature category to which the customer feature belongs, thus preparing the data for covariance calculation.
[0138] In some optional implementations of this embodiment, the covariance calculation module 306 may include: a first generation submodule, a second generation submodule, and a covariance calculation submodule, wherein:
[0139] The first generation submodule is used to generate a first variable value sequence for each feature category, based on the cardinality of the covariance of the customer features contained in the feature category in the current evaluation.
[0140] The second generation submodule is used to generate a second variable value sequence based on the covariance cardinality of the customer features contained in the feature category in the previous evaluation.
[0141] The covariance calculation submodule is used to calculate the covariance of the previous evaluation and the current evaluation on the feature category based on the first variable value sequence and the second variable value sequence.
[0142] In this embodiment, for each feature category, the covariance cardinality of the customer features contained in the feature category in the current evaluation is used as the first variable value sequence; the covariance cardinality of the customer features contained in the feature category in the previous evaluation is used as the second variable value sequence; based on the first variable value sequence and the second variable value sequence, the covariance of the previous evaluation and the current evaluation on the feature category is calculated, thus realizing the calculation of covariance.
[0143] In some optional implementations of this embodiment, the result generation module 307 may include: a status acquisition submodule and a result generation submodule, wherein:
[0144] The status acquisition submodule is used to acquire the conversion status of the target customer in the current assessment and the previous assessment, respectively.
[0145] The results generation submodule is used to generate customer analysis results for target customers based on the obtained conversion status, conversion score, and covariance.
[0146] In this embodiment, the conversion status of the target customer in the current assessment and the previous assessment are obtained respectively. Based on the obtained conversion status, conversion score and covariance, the customer analysis results of the target customer are generated, which can further obtain the impact of each feature category on the conversion status, and improve the richness and accuracy of the customer analysis results.
[0147] In some optional implementations of this embodiment, the customer data processing device 300 may further include: a result sending module, used to send customer analysis results to salespersons so that salespersons can provide services to target customers based on customer service strategies in the customer analysis results.
[0148] In this embodiment, the customer analysis results are sent to the salesperson, who then provides services to the target customer based on the customer service strategies in the analysis results, which can improve the efficiency of customer conversion.
[0149] To address the aforementioned technical problems, embodiments of this application also provide a computer device. Please refer to [link / reference needed]. Figure 4 , Figure 4 This is a basic structural block diagram of the computer device in this embodiment.
[0150] The computer device 4 includes a memory 41, a processor 42, and a network interface 43 that are interconnected via a system bus. It should be noted that only the computer device 4 with components 41-43 is shown in the figure; however, it should be understood that it is not required to implement all the shown components, and more or fewer components can be implemented alternatively. Those skilled in the art will understand that the computer device described here is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.
[0151] The computer device can be a desktop computer, laptop, handheld computer, or cloud server, etc. The computer device can interact with the user via a keyboard, mouse, remote control, touchpad, or voice control.
[0152] The memory 41 includes at least one type of readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 41 may be an internal storage unit of the computer device 4, such as the hard disk or memory of the computer device 4. In other embodiments, the memory 41 may also be an external storage device of the computer device 4, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the computer device 4. Of course, the memory 41 may also include both the internal storage unit and its external storage device of the computer device 4. In this embodiment, the memory 41 is typically used to store the operating system and various application software installed on the computer device 4, such as computer-readable instructions for client data processing methods. In addition, the memory 41 can also be used to temporarily store various types of data that have been output or will be output.
[0153] In some embodiments, the processor 42 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip. The processor 42 is typically used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is used to execute computer-readable instructions stored in the memory 41 or to process data, for example, to execute computer-readable instructions of the client data processing method.
[0154] The network interface 43 may include a wireless network interface or a wired network interface, which is typically used to establish communication connections between the computer device 4 and other electronic devices.
[0155] The computer device provided in this embodiment can execute the customer data processing method described above. Here, the customer data processing method can be any of the customer data processing methods described in the various embodiments above.
[0156] In this embodiment, the current customer data of the target customer is obtained. The customer data contains multiple feature categories, and each feature category contains at least one customer feature. The customer data is input into a customer evaluation model to obtain the conversion score of the target customer in the current evaluation, which represents the probability of the target customer converting. The feature contribution and feature category corresponding to each pre-determined customer feature are obtained. Based on the feature contribution, feature category, and feature value of each customer feature, the covariance cardinality of each customer feature in the current evaluation is calculated. The conversion score of the target customer in the previous evaluation and the covariance cardinality of each customer feature are obtained. The covariance cardinality of each feature category and each customer feature in the previous evaluation is used as a variable. The value of the covariance cardinality of each customer feature in the current assessment is used as another variable. This allows us to calculate the covariance of the previous and current assessments across each feature category. The covariance reflects the overall impact of each feature category on the conversion score within different assessment periods, making the model more interpretable rather than a black box model. Furthermore, periodic assessments can dynamically consider the fluctuations in the conversion score of target customers at different time points. Based on the conversion score in the current assessment, the conversion score in the previous assessment, and the covariance of the previous and current assessments across each feature category, customer analysis results for the target customer are generated, which can greatly improve the accuracy, comprehensiveness, and interpretability of customer analysis based on customer data.
[0157] This application also provides another embodiment, namely, providing a computer-readable storage medium storing computer-readable instructions that can be executed by at least one processor to cause the at least one processor to perform the steps of the customer data processing method described above.
[0158] In this embodiment, the current customer data of the target customer is obtained. The customer data contains multiple feature categories, and each feature category contains at least one customer feature. The customer data is input into a customer evaluation model to obtain the conversion score of the target customer in the current evaluation, which represents the probability of the target customer converting. The feature contribution and feature category corresponding to each pre-determined customer feature are obtained. Based on the feature contribution, feature category, and feature value of each customer feature, the covariance cardinality of each customer feature in the current evaluation is calculated. The conversion score of the target customer in the previous evaluation and the covariance cardinality of each customer feature are obtained. The covariance cardinality of each feature category and each customer feature in the previous evaluation is used as a variable. The value of the covariance cardinality of each customer feature in the current assessment is used as another variable. This allows us to calculate the covariance of the previous and current assessments across each feature category. The covariance reflects the overall impact of each feature category on the conversion score within different assessment periods, making the model more interpretable rather than a black box model. Furthermore, periodic assessments can dynamically consider the fluctuations in the conversion score of target customers at different time points. Based on the conversion score in the current assessment, the conversion score in the previous assessment, and the covariance of the previous and current assessments across each feature category, customer analysis results for the target customer are generated, which can greatly improve the accuracy, comprehensiveness, and interpretability of customer analysis based on customer data.
[0159] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0160] Obviously, the embodiments described above are only some embodiments of this application, not all embodiments. The accompanying drawings show preferred embodiments of this application, but do not limit the patent scope of this application. This application can be implemented in many different forms; rather, the purpose of providing these embodiments is to provide a more thorough and comprehensive understanding of the disclosure of this application. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or make equivalent substitutions for some of the technical features. Any equivalent structures made using the content of this application's specification and drawings, directly or indirectly applied to other related technical fields, are similarly within the scope of patent protection of this application.
Claims
1. A customer data processing method, characterized in that, Includes the following steps: Obtain sample data for each sample customer. The sample data includes the conversion tags of the sample customers. The conversion tags will serve as the expected output of the initial customer evaluation model for each sample data. The initial customer evaluation model is trained based on the sample data of each sample customer to obtain the customer evaluation model. After training, the feature contribution of each customer feature in the sample data is obtained. The initial customer evaluation model and the customer evaluation model are tree models. During the construction of the tree model, the split point of each feature is considered. The feature contribution is used to measure the degree of contribution of each feature to the model performance. The feature contribution is calculated based on the split frequency of the feature in the model and the degree of reduction in impurity after splitting. The system acquires current customer data for the target customer. This customer data includes multiple feature categories, each containing at least one customer feature. These feature categories include: basic customer features, human-to-human historical contact features, AI-to-AI historical contact features, designated app operation features, and online activity features. The basic customer features category includes at least one of the following: age, city, gender, vehicle age, vehicle brand, and vehicle value. The human-to-human historical contact features category includes at least one of the following: duration of human contact, number of human contact sessions, contact time period, and customer intent. The AI-to-AI historical contact features category includes at least one of the following: contact duration, number of contact sessions, contact time period, interaction rounds, and customer intent. The designated app operation features category includes at least one of the following: number of responses to designated app requests, number of quotes, interaction rounds, and number of active days. The online activity features category includes at least one of the following: app activity data, webpage activity data, and breakpoint data. The customer data is input into the customer evaluation model to obtain the conversion score of the target customer in the current evaluation. Obtain the feature contribution and feature category corresponding to each pre-determined customer feature; Based on the feature contribution, feature category, and feature value of each customer feature, calculate the covariance cardinality of each customer feature in the current evaluation; Obtain the conversion score of the target customer in the previous evaluation and the covariance cardinality of each customer characteristic; Based on the obtained covariance cardinality, calculate the covariance of the previous evaluation and the current evaluation on each feature category; Based on the conversion score in the current assessment, the conversion score in the previous assessment, and the covariance of the previous assessment and the current assessment across each feature category, the customer analysis results for the target customer are generated.
2. The customer data processing method according to claim 1, characterized in that, The step of inputting the customer data into the customer evaluation model to obtain the conversion score of the target customer in the current evaluation includes: The customer data is input into the customer evaluation model to obtain the conversion probability of the target customer; A conversion score for the target customer in the current assessment is generated based on the conversion probability.
3. The customer data processing method according to claim 1, characterized in that, The step of calculating the covariance cardinality of each customer characteristic in the current evaluation based on the characteristic contribution, characteristic category, and characteristic value of each customer characteristic includes: For each feature category, the average contribution of the feature category is calculated based on the feature contribution of each customer feature in the feature category; For each customer feature, the covariance cardinality of the customer feature in the current evaluation is calculated based on the feature value of the customer feature and the average contribution of the feature category to which the customer feature belongs.
4. The customer data processing method according to claim 1, characterized in that, The step of calculating the covariance of the previous evaluation and the current evaluation on each feature category based on the obtained covariance cardinality includes: For each feature category, a first variable value sequence is generated based on the cardinality of the covariance of the customer features contained in the feature category in the current evaluation; A second variable value sequence is generated based on the covariance cardinality of the customer characteristics included in the feature category in the previous assessment; Based on the first variable value sequence and the second variable value sequence, calculate the covariance of the previous evaluation and the current evaluation on the feature category.
5. The customer data processing method according to claim 1, characterized in that, The step of generating the customer analysis results for the target customer based on the conversion score in the current assessment, the conversion score in the previous assessment, and the covariance of the previous assessment and the current assessment across each feature category includes: Obtain the conversion status of the target customer in the current assessment and the previous assessment, respectively; Based on the obtained conversion status, conversion score, and covariance, customer analysis results for the target customer are generated.
6. The customer data processing method according to claim 5, characterized in that, The customer analysis results include customer service strategies, and after the step of generating the customer analysis results for the target customer, the following is also included: The customer analysis results are sent to the salesperson so that the salesperson can provide services to the target customer based on the customer service strategy in the customer analysis results.
7. A customer data processing device, characterized in that, include: The sample acquisition module is used to acquire sample data of each sample customer. The sample data includes the conversion tags of the sample customers. The conversion tags will serve as the expected output of the initial customer evaluation model for each sample data. The model training module is used to train the initial customer evaluation model based on the sample data of each sample customer to obtain the customer evaluation model. After training, the module obtains the feature contribution of each customer feature in the sample data. The initial customer evaluation model and the customer evaluation model are tree models. During the construction of the tree model, the split point of each feature is considered. The feature contribution is used to measure the degree of contribution of each feature to the model performance. The feature contribution is calculated based on the split frequency of the feature in the model and the degree of reduction in impurity after splitting. The data acquisition module is used to acquire the current customer data of the target customer. The customer data includes multiple feature categories, and each feature category contains at least one customer feature. These multiple feature categories include: basic customer features, human historical contact features, artificial intelligence historical contact features, designated app operation features, and online activity features. The basic customer features category includes at least one customer feature selected from age, city, gender, vehicle age, vehicle brand, and vehicle value. The human historical contact features category includes at least one customer feature selected from human contact duration, number of human contact sessions, contact time period, and customer intent. The artificial intelligence historical contact features category includes at least one customer feature selected from contact duration, number of contact sessions, contact time period, interaction rounds, and customer intent. The designated app operation features category includes at least one customer feature selected from designated app replies, number of quotes, interaction rounds, and number of active days. The online activity features category includes at least one customer feature selected from app activity data, webpage activity data, and breakpoint data. The current evaluation module is used to input the customer data into the customer evaluation model to obtain the conversion score of the target customer in the current evaluation. The acquisition module is used to acquire the feature contribution and feature category corresponding to each pre-determined customer feature; The current calculation module is used to calculate the covariance cardinality of each customer feature in the current evaluation based on the feature contribution, feature category, and feature value of each customer feature. The previous acquisition module is used to acquire the conversion score of the target customer in the previous evaluation and the covariance cardinality of each customer characteristic; The covariance calculation module is used to calculate the covariance of the previous evaluation and the current evaluation on each feature category based on the obtained covariance cardinality; The results generation module is used to generate customer analysis results for the target customer based on the conversion score in the current assessment, the conversion score in the previous assessment, and the covariance of the previous assessment and the current assessment in each feature category.
8. A computer device comprising a memory and a processor, the memory storing computer-readable instructions, wherein the processor, when executing the computer-readable instructions, implements the steps of the client data processing method as claimed in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-readable instructions that, when executed by a processor, implement the steps of the customer data processing method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Financial risk assessment method and device, storage medium and equipment
CN113298373A
Intelligent vehicle insurance assessment method and device, computer equipment and storage medium
CN115545958A
