Customer grade evaluation method and device and electronic equipment

By analyzing the audio conversations between customers and sales staff, and using large language models and voiceprint feature recognition technology to assess customer levels, it solves the problems of low information utilization and insufficient dynamics in existing methods, and achieves more accurate and personalized Customer Service.

CN118690240APending Publication Date: 2024-09-24SHANGHAI HUANZE INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410723149.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Existing customer data analysis methods in the field of automobile sales rely on quantitative data, ignore semantic information, are not dynamic enough, are difficult to provide personalized services, and cannot meet unique customer needs and market changes.

Method used

By obtaining the audio data of the customer inquiry process, using a large language model for analysis, identifying the speaker's identity, extracting context word vectors, combining voiceprint features and keywords, classifying based on customer characteristics, and rating customer levels.

Benefits of technology

It has achieved more accurate and personalized customer classification, improved service quality, adapted to market changes, and enhanced the competitiveness of automobile sales companies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690240A
    Figure CN118690240A
Patent Text Reader

Abstract

The invention provides a customer grade evaluation method and device and electronic equipment, and relates to the technical field of computers, and the method comprises the steps: obtaining customer inquiry process audio data; analyzing the audio data in the customer inquiry process through a large language model, and evaluating the customer level: identifying the audio data in the customer inquiry process, and determining the identity of a speaker; converting the client inquiry process audio data into a client inquiry text marked with the identity of the speaker in combination with the identity of the speaker; analyzing the customer inquiry text to obtain customer features; and classifying the clients based on the client features to obtain client levels. According to the invention, more accurate and more personalized customer grade division and service provision are realized, and remarkable competitive advantages are brought to automobile sales enterprises.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a customer rating method, device and electronic equipment. Background Art

[0002] In the field of modern automobile sales, especially 4S stores, customer management and service quality improvement have become the key to corporate competitiveness. With the intensification of market competition and the diversification of customer needs, traditional customer data analysis methods have gradually exposed their limitations. The main problems are as follows:

[0003] 1. Low information utilization: Existing methods mainly rely on quantitative data, ignoring the semantic information in the interaction between customers and sales staff. The value of unstructured data has not been fully explored.

[0004] 2. Lack of dynamism: Static indicators are difficult to adapt to rapidly changing customer needs and market environment.

[0005] 3. Lack of personalized services: Simple analytical methods are difficult to meet customers' unique needs and preferences.

[0006] Therefore, a method, device and electronic equipment for evaluating customer rating are proposed. Summary of the invention

[0007] This specification provides a customer rating method, device and electronic equipment, which realizes more accurate and personalized customer rating and service provision, bringing significant competitive advantages to automobile sales companies.

[0008] This specification provides a method for evaluating a customer level, including:

[0009] Obtain audio data of the customer inquiry process;

[0010] The audio data of the customer inquiry process is analyzed by a large language model to assess the customer level, including:

[0011] Identify the audio data of the customer inquiry process to determine the identity of the speaker;

[0012] Converting the audio data of the customer inquiry process into a customer inquiry text marked with the speaker's identity in combination with the speaker's identity;

[0013] Analyze the customer inquiry text to obtain customer characteristics;

[0014] The customers are classified based on the customer characteristics to obtain customer grades.

[0015] Optionally, identifying the audio data of the customer inquiry process to determine the identity of the speaker includes:

[0016] The speaker identities include salesperson and customer;

[0017] Extracting voiceprint features from the audio data of the customer inquiry process, and matching the voiceprint features with the voiceprint features of the employee database to determine the voiceprint features corresponding to the salesperson;

[0018] The remaining voiceprint features are classified to obtain the voiceprint features corresponding to the customer.

[0019] Optionally, identifying the audio data of the customer inquiry process to determine the identity of the speaker includes:

[0020] Extract keywords from the audio data of the customer inquiry process and record their occurrence frequency;

[0021] The speaker identity is determined based on the keywords and their occurrence frequencies.

[0022] Optionally, analyzing the customer inquiry text to obtain customer characteristics includes:

[0023] Input the customer inquiry text into the embedding layer to obtain the inquiry word vector;

[0024] Transforming the query word vector into a query vector, a key vector, and a value vector through different weight matrices;

[0025] Obtaining an attention score based on the query vector and the key vector, and converting the attention score into a weighted weight through a softmax function;

[0026] Weighting the value vector by the weighted weight to obtain a context word vector;

[0027] The context word vector is analyzed to obtain customer features.

[0028] Optionally, analyzing the context word vector to obtain customer features includes:

[0029] The context word vector is input into the fully connected layer through the input layer. After the fully connected layer performs linear permutation and bias on the context word vector, the processed context word vector is input into the activation function. The activation function adds nonlinear properties to the processed context vector to obtain customer features.

[0030] Optionally, classifying the customers based on the customer characteristics to obtain customer grades includes:

[0031] A target classification algorithm is determined based on the format of the customer characteristics, and the customer characteristics are classified by the target classification algorithm to determine the customer level.

[0032] Optionally, the target classification algorithm includes at least one of logistic regression, support vector machine, decision tree, random forest, artificial neural network, and gradient boosting machine.

[0033] This specification provides a customer rating device, including:

[0034] The acquisition module is used to obtain audio data of the customer inquiry process;

[0035] The analysis module is used to analyze the audio data of the customer inquiry process through a large language model to assess the customer level, including:

[0036] An identification unit, used to identify the audio data of the customer inquiry process and determine the identity of the speaker;

[0037] A conversion unit, configured to convert the audio data of the customer inquiry process into a customer inquiry text marked with the speaker identity in combination with the speaker identity;

[0038] An analysis unit, used for analyzing the customer inquiry text to obtain customer characteristics;

[0039] The classification unit is used to classify customers based on the customer characteristics to obtain customer grades.

[0040] Optionally, the identification unit includes:

[0041] The speaker identities include salesperson and customer;

[0042] Extracting voiceprint features from the audio data of the customer inquiry process, and matching the voiceprint features with the voiceprint features of the employee database to determine the voiceprint features corresponding to the salesperson;

[0043] The remaining voiceprint features are classified to obtain the voiceprint features corresponding to the customer.

[0044] Optionally, the identification unit includes:

[0045] Extract keywords from the audio data of the customer inquiry process and record their occurrence frequency;

[0046] The speaker identity is determined based on the keywords and their occurrence frequencies.

[0047] Optionally, the analysis unit includes:

[0048] Input the customer inquiry text into the embedding layer to obtain the inquiry word vector;

[0049] Transforming the query word vector into a query vector, a key vector, and a value vector through different weight matrices;

[0050] Obtaining an attention score based on the query vector and the key vector, and converting the attention score into a weighted weight through a softmax function;

[0051] Weighting the value vector by the weighted weight to obtain a context word vector;

[0052] The context word vector is analyzed to obtain customer features.

[0053] Optionally, analyzing the context word vector to obtain customer features includes:

[0054] The context word vector is input into the fully connected layer through the input layer. After the fully connected layer performs linear permutation and bias on the context word vector, the processed context word vector is input into the activation function. The activation function adds nonlinear properties to the processed context vector to obtain customer features.

[0055] Optionally, the classification unit includes:

[0056] A target classification algorithm is determined based on the format of the customer characteristics, and the customer characteristics are classified by the target classification algorithm to determine the customer level.

[0057] Optionally, the target classification algorithm includes at least one of logistic regression, support vector machine, decision tree, random forest, artificial neural network, and gradient boosting machine.

[0058] This specification also provides an electronic device, wherein the electronic device includes:

[0059] processor; and,

[0060] A memory storing computer executable instructions, which when executed cause the processor to perform any of the above methods.

[0061] The present specification also provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a processor, any of the above methods is implemented.

[0062] In the present invention, by deeply mining the semantic information in the conversation between customers and sales personnel, more accurate and personalized customer grading and service provision are achieved, which brings significant competitive advantages to automobile sales companies. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0064] Figure 1 A schematic diagram of the principle of a method for evaluating customer grades provided in an embodiment of this specification;

[0065] Figure 2 A schematic diagram of the principle of the method of step S120 provided in the embodiment of this specification;

[0066] Figure 3 A schematic diagram of the structure of a device for evaluating customer grades provided in an embodiment of this specification;

[0067] Figure 4 A schematic diagram of the structure of the analysis module 20 provided in the embodiment of this specification;

[0068] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of this specification;

[0069] Figure 6 A schematic diagram of a computer-readable medium provided for an embodiment of this specification. DETAILED DESCRIPTION

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

[0071] The following is combined with Figure 1-6 The exemplary embodiments of the present invention are described more fully. However, the exemplary embodiments can be implemented in various forms, and it should not be understood that the present invention is limited to the embodiments set forth herein. On the contrary, providing these exemplary embodiments can make the present invention more comprehensive and complete, and it is more convenient to fully convey the inventive concept to those skilled in the art. The same reference numerals in the figures represent the same or similar elements, components or parts, and thus their repeated description will be omitted.

[0072] Under the premise of being consistent with the technical concept of the present invention, the features, structures, characteristics or other details described in a specific embodiment do not exclude that they can be combined in one or more other embodiments in a suitable manner.

[0073] In the description of specific embodiments, the features, structures, characteristics or other details described in the present invention are intended to enable those skilled in the art to fully understand the embodiments. However, it does not exclude that those skilled in the art can practice the technical solutions of the present invention without one or more of the specific features, structures, characteristics or other details.

[0074] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0075] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0076] The term "and / or" or "and / or" includes all combinations of any one or more of the associated listed items.

[0077] Figure 1 A schematic diagram of the principle of a method for evaluating a customer level provided in an embodiment of this specification, the method may include:

[0078] S110: Acquiring audio data of the customer inquiry process;

[0079] In the specific implementation of this specification, in the modern sales environment, in order to improve service quality and efficiency, many companies have begun to equip sales staff with advanced badges with built-in microphones. These badges not only have traditional identity functions, but also integrate high-tech audio recording systems that can capture and record conversations between sales staff and customers in real time. These audio data will be automatically transmitted to the company's server for storage and analysis.

[0080] When collecting and processing audio data, the company attaches great importance to data security. All audio data will be encrypted and stored on a secure server. Only authorized personnel can access this data to ensure that customer privacy is not leaked.

[0081] Of course, before starting the badge recording, you need to obtain the customer's authorization.

[0082] S120: Analyze the audio data of the customer inquiry process through a large language model to assess the customer level.

[0083] Figure 2The schematic diagram of the principle of the method of step S120 provided in the embodiment of this specification may include:

[0084] S121: Identify the audio data of the customer inquiry process to determine the identity of the speaker;

[0085] Optionally, the S121 includes:

[0086] The speaker identities include salesperson and customer;

[0087] Extracting voiceprint features from the audio data of the customer inquiry process, and matching the voiceprint features with the voiceprint features of the employee database to determine the voiceprint features corresponding to the salesperson;

[0088] The remaining voiceprint features are classified to obtain the voiceprint features corresponding to the customer.

[0089] In the specific implementation of this specification, advanced voiceprint recognition technology is used to extract voiceprint features from the collected audio data. Voiceprint features usually include spectrum, fundamental frequency, formant and other features that can represent the speaker's unique voice.

[0090] The extracted voiceprint features are matched with the voiceprint features in the employee database. The employee database should contain the voiceprint feature data of the sales staff in advance, which may be collected at the time of joining the company or regularly.

[0091] If multiple customers are involved in the conversation, further analysis and classification may be required to determine the voiceprint characteristics of each customer. This may require more complex algorithms and technologies, such as multi-speaker separation and identification.

[0092] Optionally, the S121 includes:

[0093] Extract keywords from the audio data of the customer inquiry process and record their occurrence frequency;

[0094] The speaker identity is determined based on the keywords and their occurrence frequencies.

[0095] In a specific embodiment of the present specification, natural language processing (NLP) technology, such as text mining or speech recognition (if the audio data has been converted into text), is used to extract keywords from the audio data of the customer inquiry process. These keywords may include product names, service types, prices, discounts, questions, and other words that are directly related to the conversation between the customer and the salesperson.

[0096] Count the frequency of each keyword in the audio data. This can help understand which topics or issues are more prominent in the conversation.

[0097] Usually, salespeople use certain words in conversations, such as product introductions, price descriptions, discount information, purchase suggestions, etc. These words may appear more frequently. Customers are more likely to ask questions about product details, prices, comparisons, services, questions, etc. These words may also appear frequently in conversations.

[0098] As mentioned earlier, voiceprint recognition is a more direct and accurate way to determine the identity of the speaker, which can be combined with keyword extraction and frequency analysis to provide more accurate results. Of course, analyzing the turn-taking in the conversation, that is, who is speaking and who is listening, can also help determine the identity of the speaker.

[0099] S122: converting the audio data of the customer inquiry process into a customer inquiry text marked with the speaker identity in combination with the speaker identity;

[0100] In a specific embodiment of the present specification, the audio data is converted into text data using automatic speech recognition (ASR) technology. This step generates a preliminary, unprocessed text transcription.

[0101] The text data is cleaned and standardized, including removing stop words, correcting typos, etc. The cleaned and standardized text is aligned with the speaker identity determined by voiceprint recognition, which usually involves associating each part of the text (such as a sentence, phrase or word) with the corresponding speaker identity (salesperson or customer).

[0102] After completing the text-voiceprint alignment, the text is annotated, that is, each part is clearly marked in the text by which speaker (salesperson or customer) is spoken. This can be achieved by adding specific labels or marks to the text, such as using different colors, fonts or brackets to distinguish between the salesperson and the customer.

[0103] Output the reviewed annotation text into the required format (such as TXT, CSV, JSON, etc.) and store it in an appropriate location for subsequent use.

[0104] S123: Analyze the customer inquiry text to obtain customer characteristics;

[0105] Optionally, the S123 includes:

[0106] Input the customer inquiry text into the embedding layer to obtain the inquiry word vector;

[0107] Transforming the query word vector into a query vector, a key vector, and a value vector through different weight matrices;

[0108] Obtaining an attention score based on the query vector and the key vector, and converting the attention score into a weighted weight through a softmax function;

[0109] Weighting the value vector by the weighted weight to obtain a context word vector;

[0110] The context word vector is analyzed to obtain customer features.

[0111] In a specific implementation of this specification, each word is encoded into a fixed-length numerical vector through an embedding layer to obtain a query word vector:

[0112] [\text{Word Vector}=\text{Embedding Layer}(\text{Input Word})]

[0113] Among them, Word Vector is the word vector, Embedding Layer is the embedding layer, and Input Word is the input word.

[0114] Word vector: It is the digital representation of a word in the vector space, usually with multiple dimensions, each dimension representing a certain characteristic or semantic feature of the word. Word vectors can capture complex relationships between words (such as semantic similarity, contrast, etc.) and are used in subsequent processing steps such as training machine learning models.

[0115] Embedding layer: This is a specific model layer used in neural networks to convert high-dimensional sparse word tokens (such as one-hot encoding) into low-dimensional dense vectors. This process is learned, that is, the model learns through training how to map words into vector space so that these vectors can well represent the semantic and grammatical relationships between words.

[0116] Input words: These are the original words that need to be converted into vectors. Usually these words are extracted directly from text data.

[0117] In the field of natural language processing, Transformer is a particularly effective model architecture, especially when dealing with tasks such as BERT. Transformer relies on the self-attention mechanism to understand the contextual relationship of words in a sentence. The self-attention mechanism is the core of the Transformer architecture and is used to strengthen the model's understanding of the importance of each element (such as words) in the context when processing sequence data. The specific steps are as follows:

[0118] Each input query word vector is used to generate three sets of vectors, namely query vector, key vector and value vector. These vectors are generated by three different weight matrices, including:

[0119] [Q=W_Q\cdot X,\quad K=W_K\cdot X,\quad V=W_V\cdot X]

[0120] Among them, Query is the query vector, Key is the key vector, Value is the value vector, X is the input query word vector, W_Q, W_K, W_V are the weight matrices learned by the model.

[0121] The dot product of the query vector and the key vector is used to compute an attention score that indicates the influence of each word on each other in generating the output:

[0122] [\text{Attention Score}=\frac{QK^T}{\sqrt{d_k}}]

[0123] Here, d_k is the dimension of the key vector, and this division operation is to avoid the calculated score being too large.

[0124] Applying a softmax function to the attention scores makes the sum of all scores equal to 1, which converts the attention scores into weights to generate a weighted value vector.

[0125] [\text{Weights}=\text{softmax}(\text{Attention Score})]

[0126] Use the obtained weights to weight the value vector, and the final output context word vector is the weighted sum of the words of interest:

[0127] [\text{Output}=\text{Weights}\cdot V]

[0128] In practical applications, Transformer uses a multi-head attention mechanism, that is, the self-attention process described above will operate in parallel on multiple "heads", and each head will learn different aspects of the input sequence. The vector output by each head will be concatenated and transformed through another linear transformation to generate the final output vector, providing more comprehensive context information.

[0129] Optionally, analyzing the context word vector to obtain customer features includes:

[0130] The context word vector is input into the fully connected layer through the input layer. After the fully connected layer performs linear permutation and bias on the context word vector, the processed context word vector is input into the activation function. The activation function adds nonlinear properties to the processed context vector to obtain customer features.

[0131] In a specific implementation of this specification, contextual word vectors are used, and the model will analyze these vectors to identify information such as customer needs and intentions. This is usually accomplished through one or more neural network layers, including fully connected layers and activation functions, etc., in order to convert complex features into specific classifications or outputs.

[0132] (1) Input layer: First, the context word vectors obtained through Transformer model processing are input into the neural network as input data. These vectors contain rich semantic information extracted from customer conversations, including contextual relationships, and are the basis for model analysis.

[0133] (2) Dense Layers: These word vectors are then fed into one or more fully connected layers. The function of a fully connected layer is to perform a linear transformation on the input features and add a bias, which can be expressed as:

[0134] [\text{output}=\text{activation function}(W\times\text{input}+b)]

[0135] Among them, W is the weight matrix of the layer and b is the bias term.

[0136] The purpose of this step is to map the high-dimensional feature space to a new space for further processing.

[0137] (3) Activation function: A fully connected layer is usually followed by an activation function to add nonlinear properties so that the network can learn and simulate nonlinear complex functions. Common activation functions include ReLU (rectified linear unit), Sigmoid, Tanh, etc. For example, the ReLU activation function is defined as:

[0138] [\text{ReLU}(x)=\max(0,x)]

[0139] This helps solve the vanishing gradient problem and speeds up the convergence of the network.

[0140] (4) Additional hidden layers: The network can contain multiple hidden layers as needed, each of which contains a fully connected layer and an activation function. Adding more hidden layers can help the network learn more complex feature representations, but it may also lead to overfitting. The number of hidden layers and the number of neurons in each layer should be determined based on the complexity of the specific task and dataset.

[0141] (5) Output layer: The last layer is usually the output layer, which is used to convert the calculation results of the neural network into the final classification results. In the case of customer grade analysis, the output layer can be designed as a multi-classification layer, using the softmax activation function to output the probability distribution of each customer grade:

[0142] [\text{softmax}(z_i)=\frac{e^{z_i}}{\sum_{j}e^{z_j}}]

[0143] Among them, z_i is the input of the i-th neuron in the output layer.

[0144] (6) Loss function and optimization: During the training process, an appropriate loss function (such as cross entropy loss) is used to quantify the error between the model output and the actual label, and the network parameters are adjusted through an optimization algorithm (such as Adam or SGD) to minimize the loss.

[0145] [\text{Customer Information}=\text{DenseLayer}(\text{Contextual WordVectors})]

[0146] Among them, Customer Information is the customer feature, Dense Layer is the fully connected layer, and Contextual Word Vectors is the contextual word vector.

[0147] Customer characteristics: refers to the data extracted from the model about customer needs, intentions, preferences, etc. This information is processed by the network and is used as the basic data for judging customer levels or making other related decisions. Usually this information exists in the form of a vector, in which each element represents the value of a certain feature.

[0148] Fully connected layer: This is a fully connected layer (also called a dense layer) in a neural network. It is one of the most common types of neural network layers. Its function is to perform a linear transformation on the input data (the context word vector in this formula) plus a nonlinear activation to extract and learn deeper features. The fully connected layer is usually expressed mathematically as:

[0149] [\text{Output}=f(W\cdot\text{Input}+b)]

[0150] Among them, W is the weight matrix, b is the bias vector, and f is the activation function. The activation function includes ReLU or Sigmoid, etc.

[0151] S124: Classify the customers based on the customer characteristics to obtain customer grades.

[0152] Optionally, the S124 includes:

[0153] A target classification algorithm is determined based on the format of the customer characteristics, and the customer characteristics are classified by the target classification algorithm to determine the customer level.

[0154] Optionally, the target classification algorithm includes at least one of logistic regression, support vector machine, decision tree, random forest, artificial neural network, and gradient boosting machine.

[0155] In the specific implementation of this specification, the level of the customer is determined based on the customer characteristics through a preset standard or a classification algorithm obtained through training. This step usually involves passing the output from the previous layers to a classifier that outputs a level or score:

[0156] (1) Logistic Regression: Logistic regression is a widely used linear classification method that is suitable for binary classification problems. In multi-class classification tasks, it can be adapted through techniques such as "One-vs-Rest" (OvR). The logistic regression model maps linear outputs to probability values ​​by applying a sigmoid function, calculates the probability of belonging to a certain class, and classifies based on the probability value.

[0157] (2) Support Vector Machines (SVM): Support vector machines are powerful classifiers that aim to find the largest margin between classes. They can be used for both binary and multi-classification problems. They are particularly effective in high-dimensional spaces and are often used in conjunction with kernel techniques to handle nonlinear classification problems.

[0158] (3) Decision Trees: Decision trees make classification decisions by gradually interrogating data features. Each node represents a decision point on an attribute until a leaf node is reached, which represents the class label. Decision trees are easy to understand and implement, but are prone to overfitting.

[0159] (4) Random Forest: Random Forest consists of multiple decision trees and uses a voting mechanism to improve classification accuracy and robustness. It is an effective method for handling classification and regression problems, can handle nonlinear data, and is insensitive to outliers.

[0160] (5) Artificial Neural Networks (ANN): Neural networks consist of multiple layers of processing units and are able to learn complex nonlinear relationships. In the customer rating task, the classification accuracy can be improved by designing a network with several hidden layers. The output layer usually uses a softmax function, which allows the output of each output node to be interpreted as a probability.

[0161] (6) Gradient Boosting Machines (GBM): Gradient boosting is a machine learning technique used for regression and classification problems that builds a strong prediction model by combining multiple weak prediction models. It is an ensemble technique of decision trees that corrects the errors of all previous models by iteratively adding new models.

[0162] First, you need to determine the format of customer features and select the corresponding classification algorithm. Then, input the customer features into the classification model, and the model will output the grade prediction for each customer.

[0163] [\text{Customer Level}=\text{ClassificationLayer}(\text{CustomerInformation})]

[0164] Among them, Customer Level is the customer level, ClassificationLayer is the classification layer, and CustomerInformation is the customer information.

[0165] Customer tier: is the final output of the classification model, representing the customer categorized into a specific tier based on the customer information obtained through analysis. Customer tiers may involve different classifications such as "high value", "medium value" and "low value", depending on the company's definition of the customer's importance.

[0166] Classification layer: Usually the last layer in the neural network architecture, this layer maps the customer information features (usually deep features after multi-layer processing) output by the previous layer (such as the hidden layer) to the final classification result. In multi-class classification problems, this layer often uses an activation function such as the softmax function to output the probability of each category.

[0167] Customer information: This is the data input to the classification layer, which contains information obtained from the original data (such as transaction records, customer conversations, etc.) after a series of preprocessing and feature extraction. This information has been encoded into a feature vector containing valuable signals, which can effectively reflect the customer's behavioral characteristics and potential needs.

[0168] In a neural network or any machine learning model, the role of the ClassificationLayer is to make decisions based on the input feature vector to determine which classification criteria it belongs to. This decision process relies on the weights and parameters learned by the model during the training phase, through which the model can distinguish the categories corresponding to different input features. In practical applications, this step usually involves a lot of tuning and verification to ensure that the output of the model is both accurate and meets business needs.

[0169] In the present invention, by deeply understanding the inner meaning of the conversation between the customer and the salesperson of the 4S store, and automatically judging the customer's potential needs and value level based on this, more refined and personalized customer service management is achieved.

[0170] Figure 3 A schematic diagram of a device for evaluating a customer rating provided in an embodiment of this specification, the device may include:

[0171] An acquisition module 10 is used to acquire audio data of a customer inquiry process;

[0172] The analysis module 20 is used to analyze the audio data of the customer inquiry process through a large language model to assess the customer level.

[0173] Figure 4 A schematic diagram of the structure of the analysis module 20 provided in the embodiment of this specification, the device may include:

[0174] The identification unit 201 is used to identify the audio data of the customer inquiry process and determine the identity of the speaker;

[0175] A conversion unit 202, configured to convert the audio data of the customer inquiry process into a customer inquiry text marked with the speaker identity in combination with the speaker identity;

[0176] An analysis unit 203 is used to analyze the customer inquiry text to obtain customer characteristics;

[0177] The classification unit 204 is used to classify customers based on the customer characteristics to obtain customer grades.

[0178] Optionally, the identification unit includes:

[0179] The speaker identities include salesperson and customer;

[0180] Extracting voiceprint features from the audio data of the customer inquiry process, and matching the voiceprint features with the voiceprint features of the employee database to determine the voiceprint features corresponding to the salesperson;

[0181] The remaining voiceprint features are classified to obtain the voiceprint features corresponding to the customer.

[0182] Optionally, the identification unit includes:

[0183] Extract keywords from the audio data of the customer inquiry process and record their occurrence frequency;

[0184] The speaker identity is determined based on the keywords and their occurrence frequencies.

[0185] Optionally, the analysis unit includes:

[0186] Input the customer inquiry text into the embedding layer to obtain the inquiry word vector;

[0187] Transforming the query word vector into a query vector, a key vector, and a value vector through different weight matrices;

[0188] Obtaining an attention score based on the query vector and the key vector, and converting the attention score into a weighted weight through a softmax function;

[0189] Weighting the value vector by the weighted weight to obtain a context word vector;

[0190] The context word vector is analyzed to obtain customer features.

[0191] Optionally, analyzing the context word vector to obtain customer features includes:

[0192] The context word vector is input into the fully connected layer through the input layer. After the fully connected layer performs linear permutation and bias on the context word vector, the processed context word vector is input into the activation function. The activation function adds nonlinear properties to the processed context vector to obtain customer features.

[0193] Optionally, the classification unit includes:

[0194] A target classification algorithm is determined based on the format of the customer characteristics, and the customer characteristics are classified by the target classification algorithm to determine the customer level.

[0195] Optionally, the target classification algorithm includes at least one of logistic regression, support vector machine, decision tree, random forest, artificial neural network, and gradient boosting machine.

[0196] The functions of the device in the embodiment of the present invention have been described in the above method embodiment, so for details not provided in the description of this embodiment, please refer to the relevant description in the above embodiment, and no further description will be given here.

[0197] Based on the same inventive concept, an embodiment of this specification also provides an electronic device.

[0198] The following describes an electronic device embodiment of the present invention, which can be regarded as a specific physical implementation of the method and device embodiments of the present invention. The details described in the electronic device embodiment of the present invention should be regarded as a supplement to the above method or device embodiments; details not disclosed in the electronic device embodiment of the present invention can be implemented with reference to the above method or device embodiments.

[0199] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this specification. Figure 5 The electronic device 300 according to the embodiment of the present invention is described. Figure 5 The electronic device 300 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0200] like Figure 5 As shown, the electronic device 300 is in the form of a general computing device. The components of the electronic device 300 may include, but are not limited to: at least one processing unit 310, at least one storage unit 320, a bus 330 connecting different system components (including the storage unit 320 and the processing unit 310), a display unit 340, etc.

[0201] The storage unit stores program codes, which can be executed by the processing unit 310, so that the processing unit 310 performs the steps according to various exemplary embodiments of the present invention described in the above processing method section of this specification. For example, the processing unit 310 can perform the following steps: Figure 1 Steps shown.

[0202] The storage unit 320 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 3201 and / or a cache memory unit 3202 , and may further include a read-only memory unit (ROM) 3203 .

[0203] The storage unit 320 may also include a program / utility 3204 having a set (at least one) of program modules 3205, such program modules 3205 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include the implementation of a network environment.

[0204] Bus 330 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0205] The electronic device 300 may also communicate with one or more external devices 400 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable viewers to interact with the electronic device 300, and / or any device that enables the electronic device 300 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 350. Furthermore, the electronic device 300 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 360. The network adapter 360 may communicate with other modules of the electronic device 300 through the bus 330. It should be understood that although Figure 5 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0206] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the exemplary embodiments described in the present invention can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation method of the present invention can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, USB flash drive, mobile hard disk, etc.) or on a network, including a number of instructions to enable a computing device (which can be a personal computer, server, or network device, etc.) to execute the above method according to the present invention. When the computer program is executed by a data processing device, the computer-readable medium can implement the above method of the present invention, that is: Figure 1 The method shown.

[0207] Figure 6 A schematic diagram of a computer-readable medium provided for an embodiment of this specification.

[0208] accomplish Figure 1The computer program of the method shown can be stored on one or more computer readable media. The computer readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable 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.

[0209] The computer readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by an instruction execution system, an apparatus, or a device or used in combination with it. The program code contained on the readable storage medium may be transmitted with any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.

[0210] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the viewer computing device, partially on the viewer device, as a stand-alone software package, partially on the viewer computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the viewer computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0211] In summary, the present invention can be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that general data processing devices such as microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some or all of the components in the embodiments of the present invention. The present invention can also be implemented as a device or apparatus program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program implementing the present invention can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0212] The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the present invention is not inherently related to any specific computer, virtual device or electronic device, and various general devices can also implement the present invention. The above description is only a specific embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

[0213] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0214] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for evaluating a customer level, characterized in that: include: Obtain audio data of the customer inquiry process; The audio data of the customer inquiry process is analyzed by a large language model to assess the customer level, including: Identify the audio data of the customer inquiry process to determine the identity of the speaker; Converting the audio data of the customer inquiry process into a customer inquiry text marked with the speaker's identity in combination with the speaker's identity; Analyze the customer inquiry text to obtain customer characteristics; The customers are classified based on the customer characteristics to obtain customer grades.

2. The method for evaluating customer grades according to claim 1, wherein: The step of identifying the audio data of the customer inquiry process and determining the identity of the speaker includes: The speaker identities include salesperson and customer; Extracting voiceprint features from the audio data of the customer inquiry process, and matching the voiceprint features with the voiceprint features of the employee database to determine the voiceprint features corresponding to the salesperson; The remaining voiceprint features are classified to obtain the voiceprint features corresponding to the customer.

3. The method for evaluating customer rating according to claim 1, wherein: The step of identifying the audio data of the customer inquiry process and determining the identity of the speaker includes: Extract keywords from the audio data of the customer inquiry process and record their occurrence frequency; The speaker identity is determined based on the keywords and their occurrence frequencies.

4. The method for evaluating customer grades according to claim 1, wherein: The analyzing the customer inquiry text to obtain customer characteristics includes: Input the customer inquiry text into the embedding layer to obtain the inquiry word vector; Transforming the query word vector into a query vector, a key vector, and a value vector through different weight matrices; Obtaining an attention score based on the query vector and the key vector, and converting the attention score into a weighted weight through a softmax function; Weighting the value vector by the weighted weight to obtain a context word vector; The context word vector is analyzed to obtain customer features.

5. The method for evaluating customer ratings according to claim 4, wherein: The analyzing the context word vector to obtain customer features includes: The context word vector is input into the fully connected layer through the input layer. After the fully connected layer performs linear permutation and bias on the context word vector, the processed context word vector is input into the activation function. The activation function adds nonlinear properties to the processed context vector to obtain customer features.

6. The method for evaluating customer ratings according to claim 5, wherein: The step of classifying the customers based on the customer characteristics to obtain customer grades includes: A target classification algorithm is determined based on the format of the customer characteristics, and the customer characteristics are classified by the target classification algorithm to determine the customer level.

7. The method for evaluating customer ratings according to claim 6, wherein: The target classification algorithm includes at least one of logistic regression, support vector machine, decision tree, random forest, artificial neural network, and gradient boosting machine.

8. A customer rating device, characterized in that: include: The acquisition module is used to obtain audio data of the customer inquiry process; The analysis module is used to analyze the audio data of the customer inquiry process through a large language model to assess the customer level, including: An identification unit, used to identify the audio data of the customer inquiry process and determine the identity of the speaker; A conversion unit, configured to convert the audio data of the customer inquiry process into a customer inquiry text marked with the speaker identity in combination with the speaker identity; An analysis unit, used for analyzing the customer inquiry text to obtain customer characteristics; The classification unit is used to classify customers based on the customer characteristics to obtain customer grades.

9. An electronic device, wherein: The electronic device includes: processor; and, A memory storing computer executable instructions which, when executed, cause the processor to perform a method according to any one of claims 1-7.

10. A computer-readable storage medium, wherein: The computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a processor, the method of any one of claims 1 to 7 is implemented.