Customer return visit method, device and computer equipment based on emotion recognition

Through emotion recognition technology, combined with facial features and audio features, the accuracy problem of customer return visit satisfaction evaluation in the existing technology is solved, and efficient evaluation of customer satisfaction is achieved.

CN112329586BInactive Publication Date: 2024-08-23CHINA PING AN LIFE INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011188428.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-30
Publication Date
2024-08-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing customer return visit method is difficult to accurately obtain the customer's true degree of satisfaction with the business processing process, resulting in a low accuracy of satisfaction.

Method used

Through the customer return visit method based on emotion recognition, pre-stored business record information is used to generate business return visit information, receive and intercept the customer's image and audio information, determine whether the detection conditions are met, obtain facial features and audio features, and input the satisfaction classification model to obtain Customer satisfaction information.

Benefits of technology

It greatly improves the authenticity and accuracy of obtaining customer satisfaction and achieves accurate assessment of customer satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112329586B
    Figure CN112329586B
Patent Text Reader

Abstract

The present invention discloses a customer return visit method, device, computer equipment and storage medium based on emotion recognition. The method comprises: generating business return visit information according to business record information, sending it to the client and obtaining return visit video information, obtaining customer image information and customer audio information from the return visit video information, judging whether the customer image information meets the detection conditions, and if so, obtaining a feature point set from the customer image information and obtaining audio feature quantification information from the customer audio information, and obtaining satisfaction information matching the feature point set and audio feature quantification information according to a satisfaction classification model. The present invention is based on biometric recognition technology and belongs to the field of artificial intelligence technology. The customer satisfaction information is obtained by combining the customer's facial emotion features with the audio feature quantification information, which can greatly improve the authenticity of the obtained satisfaction information and can accurately obtain the customer satisfaction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and belongs to an application scenario of returning visits to customers in a smart city to obtain satisfaction information, and in particular to a customer return visit method, device and computer equipment based on emotion recognition. Background Art

[0002] After an enterprise has handled business for a customer, it can make a return visit to the customer to obtain the customer's satisfaction with the business handling process, and can use the customer's satisfaction during the return visit as the basis for subsequent push of relevant content to the customer. The traditional customer return visit process is conducted by telephone inquiry. The enterprise calls the customer through a manual or intelligent voice platform to obtain the key information fed back by the customer as the corresponding satisfaction level. However, the key information fed back by the customer may not be consistent with the customer's true thoughts, making it difficult for the enterprise to obtain the customer's true satisfaction with the business handling, resulting in a low accuracy rate of the obtained customer satisfaction level. Therefore, the existing return visit method has the problem of being unable to accurately obtain customer satisfaction. Summary of the invention

[0003] The embodiments of the present invention provide a customer return visit method, device, computer equipment and storage medium based on emotion recognition, aiming to solve the problem that the existing return visit method cannot accurately obtain the customer satisfaction degree.

[0004] In a first aspect, an embodiment of the present invention provides a customer return visit method based on emotion recognition, which includes:

[0005] Generate business return visit information based on the business record information of each customer in the pre-stored business handling information table and send it to the client corresponding to the customer;

[0006] Receiving the video information of the return visit fed back by the client according to the service return visit information, and intercepting the customer image information and the customer audio information from the video information of the return visit according to the preset interception rules;

[0007] Determining whether the customer image information meets a preset detection condition;

[0008] If the customer image information meets the detection condition, a corresponding feature point set is obtained from the customer image information according to a preset facial feature acquisition model;

[0009] Acquire corresponding audio feature quantization information from the customer audio information according to a preset audio feature quantization model;

[0010] The feature point set and the audio feature quantification information are input into the preset satisfaction classification model to obtain satisfaction degree information corresponding to the return video information.

[0011] In a second aspect, an embodiment of the present invention provides a customer return visit device based on emotion recognition, comprising:

[0012] A business return visit information sending unit, used to generate business return visit information according to the business record information of each customer in the pre-stored business handling information table and send it to the client corresponding to the customer;

[0013] A return visit video information interception unit, used for receiving the return visit video information fed back by the client according to the service return visit information, and intercepting the customer image information and the customer audio information from the return visit video information according to a preset interception rule;

[0014] A detection condition judgment unit, used to judge whether the customer image information meets the preset detection conditions;

[0015] A feature point set acquisition unit, configured to acquire a corresponding feature point set from the customer image information according to a preset facial feature acquisition model if the customer image information meets the detection condition;

[0016] An audio feature quantization information acquisition unit, used to acquire corresponding audio feature quantization information from the customer audio information according to a preset audio feature quantization model;

[0017] The satisfaction degree information acquisition unit is used to input the feature point set and the audio feature quantization information into the preset satisfaction degree classification model to obtain the satisfaction degree information corresponding to the return video information.

[0018] In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the customer follow-up method based on emotion recognition described in the first aspect is implemented.

[0019] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the customer follow-up method based on emotion recognition described in the first aspect above.

[0020] The embodiment of the present invention provides a customer return visit method, device, computer equipment and storage medium based on emotion recognition. Business return visit information is generated according to business record information and sent to the client and return visit video information is obtained. Customer image information and customer audio information are obtained from the return visit video information to determine whether the customer image information meets the detection conditions. If so, a feature point set is obtained from the customer image information and audio feature quantification information is obtained from the customer audio information. Satisfaction information matching the feature point set and audio feature quantification information is obtained according to the satisfaction classification model. Through the above method, a feature point set containing the customer's facial emotional features is obtained from the customer image information, audio feature quantification information is obtained through speech analysis, and customer satisfaction information is obtained by combining the customer's facial emotional features with the audio feature quantification information. This can greatly improve the authenticity of the obtained satisfaction information and accurately obtain customer satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0022] Figure 1 A schematic diagram of a flow chart of a customer return visit method based on emotion recognition provided by an embodiment of the present invention;

[0023] Figure 2 A schematic diagram of an application scenario of a customer return visit method based on emotion recognition provided by an embodiment of the present invention;

[0024] Figure 3 A schematic diagram of a sub-process of a customer return visit method based on emotion recognition provided by an embodiment of the present invention;

[0025] Figure 4 A schematic diagram of another sub-process of the customer return visit method based on emotion recognition provided by an embodiment of the present invention;

[0026] Figure 5 A schematic diagram of another sub-process of the customer return visit method based on emotion recognition provided by an embodiment of the present invention;

[0027] Figure 6 A schematic diagram of another sub-process of the customer return visit method based on emotion recognition provided by an embodiment of the present invention;

[0028] Figure 7 Another schematic diagram of a flow chart of a customer return visit method based on emotion recognition provided by an embodiment of the present invention;

[0029] Figure 8 Another schematic diagram of a flow chart of a customer return visit method based on emotion recognition provided by an embodiment of the present invention;

[0030] Fig. 9 A schematic block diagram of a customer return visit device based on emotion recognition provided by an embodiment of the present invention;

[0031] Fig.10 A schematic block diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0032] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0033] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0034] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0035] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0036] See also Figure 1 and Figure 2 , Figure 1 is a flow chart of a customer return visit method based on emotion recognition provided by an embodiment of the present invention, Figure 2Schematic diagram of application scenario of the customer revisit method based on emotion recognition provided in an embodiment of the present invention. The customer revisit method based on emotion recognition is applied to a management server 10. The method is executed by application software installed in the management server 10. The management server 10 is connected to at least one client 20 through a network to realize data information transmission. The management server 10 is a server end for executing the customer revisit method based on emotion recognition and revisiting customers to obtain satisfaction information. The management server can be an enterprise server. The client 20 is a terminal device that is connected to the management server 10 through a network to receive business revisit information and feed back revisit video information, such as a desktop computer, a laptop computer, a tablet computer or a mobile phone. Figure 2 The diagram only illustrates information transmission between the management server 10 and one client 20. In actual applications, the management server 10 can also establish communication connections with multiple clients 20 at the same time to achieve data information transmission. Figure 1 As shown, the method includes steps S110 to S160.

[0037] S110 , generating business return visit information according to the business record information of each customer in the pre-stored business handling information table and sending the information to the client corresponding to the customer.

[0038] The business processing information table is a data information table pre-stored in the management server for recording the process of the customer's business processing. Each time a customer processes a business, the process of the business is recorded to obtain the business record information. According to each customer's business record information in the business processing information table, a corresponding business return visit information can be generated. The business return visit information is the information of returning the customer for a certain business record information. The business return visit information can be presented in the form of text information, voice information or video information. Specifically, the business record information includes information such as customer name, contact information, business name, business type, business processing time, etc. The customer name, business name, business type, and business processing time in the business record information can be obtained and filled into the return visit template to generate business return visit information corresponding to the customer name, business name, business type, and business processing time, and the generated business return visit information is sent to the client corresponding to the contact information according to the contact information.

[0039] For example, if the customer name in the business record information is Liu XX, the business name is Business A, the business type is a financial product, and the business handling time is May 1, 2020, the corresponding business feedback information generated is "Hello Liu XX, you handled a financial product named Business A on May 1, 2020. Please give your opinions or suggestions on the handling process of the above business." The contact information can be a mobile phone number or an email address.

[0040] S120, receiving the return visit video information fed back by the client according to the service return visit information, and intercepting the customer image information and the customer audio information from the return visit video information according to a preset interception rule.

[0041] After the customer receives the service feedback information using the client, he can input the corresponding feedback video information and feed it back to the management server, and then the customer image information and customer audio information can be intercepted from the received feedback video information according to the preset interception rules. Among them, the interception rules are the rule information used to intercept the customer image information and customer audio information from the feedback video information. The customer image information intercepted from the customer video information fed back by the client contains at least one customer image, and the customer audio information of each customer contains the voice information corresponding to the video information. Specifically, the interception rules include multiple image interception time points.

[0042] In one embodiment, if Figure 3 As shown, step S120 includes sub-steps S121 and S122.

[0043] S121. Acquire voice information in the customer video information as customer audio information.

[0044] The customer video information contains a voice message and a corresponding image frame. The customer audio information can be obtained by obtaining the voice information contained in the customer video information.

[0045] S122: Acquire a corresponding customer image from the customer video information according to the image capture time point to obtain customer image information.

[0046] The image capture time point is the time point information when the image in the customer video information is captured. The capture rule includes multiple image capture time points. Each image capture time point can capture a corresponding customer image from the customer video information. All captured customer images are combined into the customer image information of the customer.

[0047] S130: Determine whether the customer image information meets a preset detection condition.

[0048] Specifically, the detection conditions may be liveness detection and customer matching detection, and the detection conditions include portrait contour information and SIFT feature extraction rules. It can be determined whether each customer image in the customer image information contains a single live body, and whether each customer image matches a pre-stored customer photo.

[0049] In one embodiment, if Figure 4 As shown, step S130 includes sub-steps S131, S132, S133 and S134.

[0050] S131 , judging whether each customer image of the customer image information matches the portrait contour information, so as to obtain a judgment result of whether each customer image contains a single living body.

[0051] Then, it can be determined whether each customer image in the customer image information contains a single living body. Specifically, the portrait outline information can be set in the detection condition, and the portrait outline information can be the outline area corresponding to the external outline of the portrait. Each customer image in the customer image information can be obtained, and it can be determined whether the customer outline in the customer image matches the portrait outline information, that is, it is determined whether the overlap between the customer outline and the outline area in the portrait outline information is greater than a preset overlap threshold. If it is greater, it indicates that the customer outline in the customer image matches the portrait outline information, and the customer image contains a single living body; if it is not greater, it indicates that the customer outline in the customer image does not match the portrait outline information, and the customer image does not contain a single living body. By sequentially determining whether each customer image in the customer image information contains a single living body, a determination result of whether each customer image contains a single living body can be obtained.

[0052] S132. If each of the customer images contains a single living body, extract the customer image features of each of the customer images according to the SIFT feature extraction rule; S133. Obtain the photo features of the customer photos that match the customer in the pre-stored customer information according to the SIFT feature extraction rule; S34. Determine whether each of the customer image features matches the photo features, and if so, determine that the customer image information meets the detection conditions.

[0053] It can be determined whether each customer image matches the pre-stored customer photo. The management server also stores the customer information of all customers who have handled the business. If the customer information contains customer photos, the customer matching degree detection can be further performed on the basis of the liveness detection. Specifically, the detection conditions also include SIFT feature extraction rules, matching degree calculation formula and preset matching degree threshold. The corresponding face feature vector can be obtained from each customer image of the customer image information according to the SIFT feature extraction rules. The face feature vector is the SIFT feature corresponding to a customer image of the customer. The SIFT feature is the local feature of the image extracted based on the SIFT (Scale-invariant feature transform) algorithm. The corresponding photo feature vector is obtained from the pre-stored customer photo according to the SIFT feature extraction rules. The matching degree between the face feature vector and the photo feature vector is obtained according to the matching degree calculation formula, and it is determined whether the calculated matching degree is greater than the preset matching degree threshold. It can be determined whether each customer image matches the customer photo. If each customer image in the customer image information contains a single living body and each customer image matches the customer photo, the customer image information satisfies the preset detection condition; otherwise, the customer image information does not satisfy the detection condition.

[0054] S140: If the customer image information meets the detection condition, obtain a corresponding feature point set from the customer image information according to a preset facial feature acquisition model.

[0055] The customer image information includes multiple customer images of the customer. In order to accurately analyze the customer's satisfaction, the corresponding feature point set can be obtained from the customer image information according to the facial feature acquisition model. The feature point set can be used to reflect the overall characteristics of the customer image information. The feature point set is a set that records the relative positions of the corresponding feature points in the customer image information. The facial feature acquisition model includes pixel contrast acquisition rules, pixel dissolution ratio values, and feature point acquisition rules. The pixel contrast acquisition rule is a specific rule for acquiring the contrast of each pixel in the customer image. The contrast between each pixel in the customer image and several surrounding pixels can be acquired according to the pixel contrast acquisition rule. The pixel dissolution ratio value is the ratio value of the contour information obtained by dissolving the pixel according to the contrast of the pixel. The contour information such as the left eye contour, the right eye contour, the left eyebrow contour, the right eyebrow contour, the nose contour, and the lip contour of a customer image can be acquired by combining the pixel contrast with the pixel dissolution method. The relative position information of the corresponding facial feature points can be acquired from the above contour information according to the feature point acquisition rule to obtain a feature point set corresponding to the customer image information. The feature point set includes the coordinate position information of multiple feature points, wherein the feature point set includes at least eye feature points, lip feature points, eyebrow feature points, and nose feature points.

[0056] In one embodiment, if Figure 5 As shown, step S140 includes sub-steps S141, S142 and S143.

[0057] S141. Obtain pixel contrast information of each customer image in the customer image information according to the pixel contrast acquisition rule.

[0058] Specifically, a customer image is obtained and one of the pixels is determined to be a target pixel. Eight pixels in the first layer and sixteen pixels in the second layer around the target pixel can be obtained. The RGB value of the target pixel (the pixel values ​​corresponding to the target pixel in the red, green and blue channels respectively) and the RGB values ​​corresponding to the eight pixels in the first layer and the sixteen pixels in the second layer are obtained. A first difference between the RGB values ​​of the eight pixels in the first layer and the target pixel is calculated. A second difference between the RGB values ​​of the sixteen pixels in the second layer and the target pixel is calculated. The first difference and the second difference are weightedly added according to a contrast acquisition rule to obtain the contrast of the target pixel. According to the above acquisition rule, the contrast of each pixel in a customer image can be obtained in turn. The pixel contrast of each customer image in the customer image information is obtained to obtain pixel contrast information.

[0059] For example, according to the pixel contrast acquisition rule, the contrast of a target pixel can be calculated using the following formula: Among them, c1 is the weighted value of the first difference, c2 is the weighted value of the second difference, Ru is the RGB value of the u-th pixel in the first peripheral layer, R'v is the RGB value of the v-th pixel in the second peripheral layer, and R0 is the RGB value of the target pixel.

[0060] S142: Perform pixel dissolution on each of the customer images according to the pixel contrast information and the pixel dissolution ratio value to obtain image contour information.

[0061] Specifically, according to the contrast information in the pixel contrast information that matches a certain customer image, the contrast of each pixel in the customer image is sorted, and the top-ranked pixel that matches the pixel dissolution ratio value in the sorting result is obtained as the dissolution pixel of the customer image, and the customer image is pixel-dissolved according to the dissolution pixel to obtain the image contour information of the customer image. The image contour information of each customer image includes the left eye contour, the right eye contour, the left eyebrow contour, the right eyebrow contour, the nose contour, and the lip contour.

[0062] For example, when extracting the left eye contour, since the difference in pixels at the junction of the left eye and the face is the largest, that is, the larger the contrast value of the pixels at the left eye contour, the areas with smaller pixel contrast are dissolved in turn according to the pixel dissolution ratio, and finally the remaining part of pixels with the largest contrast is the left eye contour.

[0063] S143. Acquire facial feature points from each facial feature image according to the feature point acquisition rule to obtain a feature point set.

[0064] According to the feature point collection rule, facial feature points are obtained from each facial feature image, and the facial feature points are combined accordingly to obtain a feature point set. The feature point collection rule includes eye collection points corresponding to the eye contour, lip collection points corresponding to the lip contour, eyebrow collection points compared to the eyebrow contour, and nose collection points corresponding to the nose contour; through the feature point collection rule, multiple facial feature points corresponding to the image contour information can be collected respectively, and the average value of each facial feature point in multiple image contour information is calculated and combined into a feature point set.

[0065] For example, the lip acquisition points are the leftmost pixel, the rightmost pixel and the center pixel of the lip area image, then the coordinate position of the leftmost pixel in the lip area image, the coordinate position of the rearmost pixel and the coordinate position of the central pixel in the facial feature image are respectively obtained according to the lip acquisition points as the three facial feature points corresponding to the lip area image.

[0066] S150. Obtain corresponding audio feature quantization information from the customer audio information according to a preset audio feature quantization model.

[0067] Obtain a preset audio feature quantization model to obtain the corresponding audio feature quantization information from the customer audio information. The audio feature quantization model is a model for extracting the features of the customer audio information, and the obtained audio feature quantization information can quantify the features in the customer audio information in numerical form. Specifically, the audio feature quantization model includes an acoustic model, a feature dictionary, and a volume feature calculation formula. The obtained audio feature quantization information includes a speech rate feature value and a volume feature value. The speech rate feature value is used to quantify the speech rate feature in the customer audio information, and the volume feature value is used to quantify the volume size feature in the customer audio information.

[0068] In one embodiment, if Figure 6 As shown, step S150 may further include sub-steps S151, S152, S153 and S154.

[0069] S151. Segment the customer audio information according to the acoustic model to obtain a plurality of phonemes contained in the customer audio information.

[0070] The customer audio information is segmented according to the acoustic model to obtain multiple phonemes contained in the customer audio information. Specifically, the customer audio information is composed of phonemes of multiple character pronunciations, and the phoneme of a character includes the frequency and timbre of the pronunciation of the character. The acoustic model contains the phonemes of all character pronunciations. By matching the phonemes contained in the customer audio information with all the phonemes in the acoustic model, the phonemes of a single character in the voice information can be segmented, and the multiple phonemes contained in the voice information are finally obtained through segmentation.

[0071] S152: Match the phonemes according to the feature dictionary to convert the phonemes into pinyin information.

[0072] The phonemes are matched according to the feature dictionary to convert the phonemes into pinyin information. The feature dictionary contains the phoneme information corresponding to all the character pinyins. By matching the obtained phonemes with the phoneme information corresponding to the character pinyins, the phonemes of a single character can be converted into the character pinyins that match the phonemes in the feature dictionary, so as to realize the conversion of all the phonemes contained in the customer audio information into pinyin information, and the pinyin information corresponding to each phoneme contains pinyin letters and tones.

[0073] S153. Calculate a speech rate feature value according to the number of character pinyins contained in the pinyin information and the duration of the client audio information.

[0074] The speech speed characteristic value is calculated based on the number of character pinyins contained in the pinyin information and the duration of the customer audio information. Specifically, the speech speed characteristic value can be obtained by dividing the number of character pinyins by the duration of the customer audio information. The speech speed characteristic value can be represented by a numerical value. The larger the numerical value, the faster the lecturer customer speaks, and the smaller the numerical value, the slower the lecturer customer speaks.

[0075] For example, the pinyin information contains 15 pinyin characters, and the duration of the customer audio information is 10 seconds, then the corresponding speech speed feature value calculated is 15 / 10=1.5.

[0076] S154. Calculate a corresponding volume characteristic value according to the volume characteristic calculation formula and the average volume of the client audio information.

[0077] If the volume of the customer is too loud or too soft, it can indirectly reflect that the customer's satisfaction is low. Therefore, we can first obtain the average volume of the customer's audio information, and then calculate the customer's average volume through the volume characteristic calculation formula to obtain the volume characteristic value. The volume size uses dB as the unit.

[0078] For example, the volume feature calculation formula can be expressed as Wherein, x is the average volume of the customer audio information. For example, if the average volume of the customer audio information is 55 dB, the corresponding calculated volume characteristic value is 0.3775.

[0079] S160: Input the feature point set and the audio feature quantification information into the preset satisfaction classification model to obtain satisfaction level information corresponding to the return video information.

[0080] Input the acquired feature point set and audio feature quantification information into the satisfaction classification model, and you can get the satisfaction information corresponding to the return visit video information. Specifically, the satisfaction classification model is a neural network that classifies the customer's satisfaction process during the return visit. The satisfaction classification model includes multiple input nodes, one or more intermediate layers and multiple output nodes. The satisfaction level corresponding to the return visit video information can be divided into five categories: disgust, indifference, normal, recognition and excitement; each intermediate layer contains multiple feature units, each feature unit is connected to the input node or other feature units through an input formula, and each feature unit is also connected to the output node through an output formula, where the input formula or output formula can be expressed as: y = a× X +b; where a and b are parameter values ​​in the formula, y is the calculated value, and x is the input value; the calculation formula for the output value of any output node can be expressed as: Among them, a j is the weighted value of the jth feature unit in the last intermediate layer of the fully connected layer, h jis the calculated value of the jth feature unit of the last intermediate layer in the fully connected layer, and N is the number of feature units contained in the last intermediate layer in the fully connected layer. Each input node corresponds to a feature point coordinate value in the feature point set or a feature value in the audio feature quantization information. A feature point coordinate value in the feature point set or a feature value in the audio feature quantization information is input into the fully connected layer as the input value of the corresponding input node. The output value corresponding to each output node can be calculated through the input formula, output formula and output value calculation formula. The number of output nodes matches the number of satisfaction categories. The output value is the matching degree between the return video information and the corresponding satisfaction category. The behavior satisfaction category corresponding to the output node with the highest matching degree is obtained as the satisfaction information of the return video information.

[0081] In one embodiment, if Figure 7 As shown, step S160a may be included before step S160.

[0082] S160a. If the input training data set is received, the satisfaction classification model is iteratively trained according to a preset gradient descent training model and the training data set to obtain a trained satisfaction classification model.

[0083] If the input training data set is received, the satisfaction classification model is iteratively trained according to the preset gradient descent training model and the training data set to obtain a trained satisfaction classification model. The input training data set may be an administrator of the management server. In order to make the satisfaction classification model have a higher accuracy rate when classifying the satisfaction of the return video information, the satisfaction classification model may be iteratively trained before using it, that is, the parameter values ​​in the input formula and output formula of the satisfaction classification model are adjusted. The satisfaction classification model obtained after training can perform more accurate satisfaction classification on the customers corresponding to the return video information. The gradient descent training model is a model for training the satisfaction classification model. The gradient descent training model includes a loss value calculation formula and a gradient calculation formula. The training data set contains multiple training data, each training data corresponds to a sample customer, and each training data contains a feature point set of a sample customer, audio feature quantification information and the customer's satisfaction classification label; the feature point set and audio feature quantification information of a training data are input into the satisfaction classification model to obtain the matching probabilities corresponding to multiple output nodes, and the matching probabilities corresponding to the multiple output nodes are calculated according to the loss value calculation formula and the satisfaction classification label to obtain the corresponding loss value, and the update value corresponding to each parameter in the input formula and the output formula can be calculated according to the loss value and the gradient calculation formula. The parameter value corresponding to each parameter can be updated through the update value. This process of updating the parameter value is the specific process of training the satisfaction classification model.

[0084] For example, the loss value calculation formula can be expressed as Among them, f p is the matching probability of an output node corresponding to the satisfaction classification label in the satisfaction classification model, f n is the matching probability of the nth output node, f p and f n The value range of is [0, 1].

[0085] The updated value of each parameter in the satisfaction classification model is calculated based on the gradient calculation formula, the loss value and the calculated value of the satisfaction classification model. Specifically, the calculated value of a parameter in the satisfaction classification model is input into the gradient calculation formula for the feature point set and the audio feature quantization information, and combined with the above loss value, the updated value corresponding to the parameter can be calculated. This calculation process is also called gradient descent calculation.

[0086] Specifically, the gradient calculation formula can be expressed as:

[0087] in, is the calculated updated value of parameter e, ωe is the original parameter value of parameter e, η is the learning rate preset in the gradient calculation formula, is the partial derivative of the parameter e based on the loss value and the calculated value corresponding to the parameter e (the calculated value corresponding to the parameter needs to be used in this calculation process).

[0088] The parameter values ​​of the corresponding parameters in the satisfaction classification model are updated according to the updated values ​​of each parameter to train the satisfaction classification model. The parameter values ​​of each parameter in the satisfaction classification model are updated accordingly based on the calculated updated values, thus completing a training process of the satisfaction classification model. Based on the satisfaction classification model obtained after one training, another training data in the training data set is calculated again, and the above training process is repeated to achieve iterative training of the satisfaction classification model; when the calculated loss value is less than the preset loss threshold or all the training data in the training data set are used for training, the training process is terminated to obtain the trained satisfaction classification model.

[0089] In one embodiment, if Figure 8 As shown, step S170 may be further included after step S160.

[0090] S170: Upload the satisfaction information and the customer audio information as the customer's return visit preference information to the blockchain for storage.

[0091] The obtained satisfaction information and customer audio information are stored in the management server as the customer's return visit preference information corresponding to the sent return visit video information, and the corresponding summary information can be obtained based on the return visit preference information. Specifically, the summary information is obtained by hashing the text detection result, such as using the sha256s algorithm. In the process of business expansion, the enterprise can push related content based on the stored return visit preference information that matches any customer. Specifically, the customer audio information can be converted into text information through voice recognition, and the text information can be combined with the satisfaction information and stored as the customer's return visit preference information.

[0092] Uploading summary information to the blockchain can ensure its security and fairness and transparency to users. Administrators can download the summary information from the blockchain through the management server to verify whether the text detection results have been tampered with. The blockchain referred to in this example is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, and encryption algorithm. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. The blockchain can include the blockchain underlying platform, the platform product service layer, and the application service layer.

[0093] The technical method in this application can be applied to application scenarios such as smart government affairs / smart urban management / smart communities / smart security / smart logistics / smart medical care / smart education / smart environmental protection / smart transportation, which involve follow-up visits to customers to obtain satisfaction information, thereby promoting the construction of smart cities.

[0094] In the customer return visit method based on emotion recognition provided in the embodiment of the present invention, business return visit information is generated according to business record information and sent to the client and return visit video information is obtained, customer image information and customer audio information are obtained from the return visit video information, and it is determined whether the customer image information meets the detection conditions. If it meets the conditions, a feature point set is obtained from the customer image information and audio feature quantification information is obtained from the customer audio information, and satisfaction information matching the feature point set and audio feature quantification information is obtained according to the satisfaction classification model. Through the above method, a feature point set containing the customer's facial emotion features is obtained from the customer image information, audio feature quantification information is obtained through speech analysis, and the customer's satisfaction information is obtained by combining the customer's facial emotion features with the audio feature quantification information, which can greatly improve the authenticity of the obtained satisfaction information and accurately obtain the customer's satisfaction.

[0095] The embodiment of the present invention further provides a customer return visit device based on emotion recognition, and the customer return visit device based on emotion recognition is used to execute any embodiment of the customer return visit method based on emotion recognition. Fig. 9 , Fig. 9 1 is a schematic block diagram of a customer return visit device based on emotion recognition provided by an embodiment of the present invention. The customer return visit device based on emotion recognition can be configured in a management server.

[0096] like Fig. 9As shown, the customer follow-up device 100 based on emotion recognition includes a business follow-up information sending unit 110, a follow-up video information interception unit 120, a detection condition judgment unit 130, a feature point set acquisition unit 140, an audio feature quantization information acquisition unit 150 and a satisfaction degree information acquisition unit 160.

[0097] The business return visit information sending unit 110 is used to generate business return visit information according to the business record information of each customer in the pre-stored business handling information table and send it to the client corresponding to the customer.

[0098] The return visit video information interception unit 120 is used to receive the return visit video information fed back by the client according to the business return visit information, and intercept the customer image information and the customer audio information from the return visit video information according to a preset interception rule.

[0099] In one embodiment, the return visit video information interception unit 120 includes subunits: a customer audio information acquisition unit and a customer image information acquisition unit.

[0100] The customer audio information acquisition unit is used to acquire the voice information in the customer video information as the customer audio information; the customer image information acquisition unit is used to acquire the corresponding customer image from the customer video information according to the image capture time point to obtain the customer image information.

[0101] The detection condition determination unit 130 is used to determine whether the customer image information meets a preset detection condition.

[0102] In one embodiment, the detection condition determination unit 130 includes subunits: a living body determination unit, a customer image feature acquisition unit, a photo feature acquisition unit, and a matching determination unit.

[0103] A living body judgment unit is used to judge whether each customer image of the customer image information matches the portrait contour information, so as to obtain a judgment result of whether each of the customer images contains a single living body; a customer image feature acquisition unit is used to extract customer image features of each customer image according to the SIFT feature extraction rule if each of the customer images contains a single living body; a photo feature acquisition unit is used to obtain photo features of customer photos matching the customer in the pre-stored customer information according to the SIFT feature extraction rule; a matching judgment unit is used to judge whether each of the customer image features matches the photo features, and if they do, it is determined that the customer image information meets the detection condition.

[0104] The feature point set acquisition unit 140 is configured to acquire a corresponding feature point set from the customer image information according to a preset facial feature acquisition model if the customer image information meets the detection condition.

[0105] In one embodiment, the feature point set acquisition unit 140 includes subunits: a pixel contrast information acquisition unit, an image contour information acquisition unit, and a facial feature point acquisition unit.

[0106] A pixel contrast information acquisition unit is used to acquire the pixel contrast information of each customer image in the customer image information according to the pixel contrast acquisition rule; an image contour information acquisition unit is used to perform pixel dissolution on each of the customer images according to the pixel contrast information and the pixel dissolution ratio value to acquire image contour information; a facial feature point acquisition unit is used to acquire facial feature points from each facial feature image according to the feature point acquisition rule to combine and obtain a feature point set.

[0107] The audio feature quantization information acquisition unit 150 is used to acquire corresponding audio feature quantization information from the client audio information according to a preset audio feature quantization model.

[0108] In one embodiment, the audio feature quantitative information acquisition unit 150 includes subunits: a phoneme segmentation unit, a pinyin information acquisition unit, a speech rate feature value acquisition unit, and a volume feature value acquisition unit.

[0109] A phoneme segmentation unit is used to segment the customer audio information according to the acoustic model to obtain multiple phonemes contained in the customer audio information; a pinyin information acquisition unit is used to match the phonemes according to the feature dictionary to convert the phonemes into pinyin information; a speech rate feature value acquisition unit is used to calculate the speech rate feature value according to the number of character pinyins contained in the pinyin information and the duration of the customer audio information; a volume feature value acquisition unit is used to calculate the corresponding volume feature value according to the volume feature calculation formula and the average volume of the customer audio information.

[0110] The satisfaction degree information acquisition unit 160 is used to input the feature point set and the audio feature quantization information into the preset satisfaction degree classification model to obtain the satisfaction degree information corresponding to the return video information.

[0111] In one embodiment, the customer return visit device 100 based on emotion recognition further includes a subunit: a classification model training unit.

[0112] The classification model training unit is used to iteratively train the satisfaction classification model according to a preset gradient descent training model and the training data set to obtain a trained satisfaction classification model if an input training data set is received.

[0113] In one embodiment, the customer return visit device 100 based on emotion recognition further includes a subunit: a return visit preference information storage unit.

[0114] A return visit preference information storage unit is used to upload the satisfaction information and the customer audio information as the customer's return visit preference information to the blockchain for storage.

[0115] The customer return visit device based on emotion recognition provided in the embodiment of the present invention applies the above-mentioned customer return visit method based on emotion recognition, generates business return visit information according to business record information, sends it to the client and obtains return visit video information, obtains customer image information and customer audio information from the return visit video information, and determines whether the customer image information meets the detection conditions. If so, a feature point set is obtained from the customer image information and audio feature quantification information is obtained from the customer audio information, and satisfaction information matching the feature point set and audio feature quantification information is obtained according to the satisfaction classification model. Through the above-mentioned method, a feature point set containing the customer's facial emotion features is obtained from the customer image information, audio feature quantification information is obtained through speech analysis, and the customer's satisfaction information is obtained by combining the customer's facial emotion features with the audio feature quantification information, which can greatly improve the authenticity of the obtained satisfaction information and can accurately obtain the customer's satisfaction.

[0116] The above-mentioned customer return visit device based on emotion recognition can be implemented in the form of a computer program. The computer program can be used in Fig.10 Runs on the computer device shown.

[0117] See also Fig.10 , Fig.10 is a schematic block diagram of a computer device provided by an embodiment of the present invention. The computer device may be a management server for executing a customer return visit method based on emotion recognition to return visit to customers to obtain satisfaction information.

[0118] See also Fig.10 The computer device 500 includes a processor 502 , a memory and a network interface 505 connected via a system bus 501 , wherein the memory may include a non-volatile storage medium 503 and an internal memory 504 .

[0119] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, the processor 502 can execute a customer return visit method based on emotion recognition.

[0120] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500 .

[0121] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute the customer return visit method based on emotion recognition.

[0122] The network interface 505 is used for network communication, such as providing data information transmission, etc. Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device 500 to which the solution of the present invention is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0123] The processor 502 is used to run the computer program 5032 stored in the memory to implement the corresponding functions in the above-mentioned customer return visit method based on emotion recognition.

[0124] Those skilled in the art will understand that Fig.10 The embodiments of the computer device shown in the figure do not constitute a limitation on the specific composition of the computer device. In other embodiments, the computer device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, in some embodiments, the computer device may only include a memory and a processor. In such embodiments, the structure and function of the memory and the processor are the same as those of the embodiment of the present invention. Fig.10 The embodiments shown are consistent and will not be described again here.

[0125] It should be understood that in the embodiment of the present invention, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0126] In another embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium may be a non-volatile computer-readable storage medium. The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps included in the above-mentioned customer return visit method based on emotion recognition are implemented.

[0127] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the above-described equipment, devices and units can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. Those of ordinary skill in the art can appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0128] In the several embodiments provided by the present invention, it should be understood that the disclosed equipment, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. Units with the same function may also be combined into one unit. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices or units, or may be an electrical, mechanical or other form of connection.

[0129] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.

[0130] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0131] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a computer-readable storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned computer-readable storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a magnetic disk or an optical disk.

[0132] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A customer return visit method based on emotion recognition, applied to a management server, wherein the management server is connected to at least one client through a network, characterized in that: The method comprises: Generate business return visit information based on the business record information of each customer in the pre-stored business handling information table and send it to the client corresponding to the customer; Receiving the video information of the return visit fed back by the client according to the service return visit information, and intercepting the customer image information and the customer audio information from the video information of the return visit according to the preset interception rules; Determining whether the customer image information meets a preset detection condition; If the customer image information meets the detection condition, a corresponding feature point set is obtained from the customer image information according to a preset facial feature acquisition model; Acquire corresponding audio feature quantization information from the customer audio information according to a preset audio feature quantization model; Inputting the feature point set and the audio feature quantification information into the preset satisfaction classification model to obtain satisfaction degree information corresponding to the return video information; The facial feature acquisition model includes a pixel contrast acquisition rule, a pixel dissolution ratio value and a feature point acquisition rule. The corresponding feature point set is acquired from the customer image information according to the preset facial feature acquisition model, including: Acquire pixel contrast information of each customer image in the customer image information according to the pixel contrast acquisition rule; Perform pixel dissolution on each of the customer images according to the pixel contrast information and the pixel dissolution ratio value to obtain image contour information; Acquire facial feature points from each facial feature image according to a feature point acquisition rule to combine and obtain a feature point set; The audio feature quantization model includes an acoustic model, a feature dictionary and a volume feature calculation formula. The corresponding audio feature quantization information is obtained from the customer audio information according to the preset audio feature quantization model, including: Segmenting the customer audio information according to the acoustic model to obtain a plurality of phonemes contained in the customer audio information; Matching the phonemes according to the feature dictionary to convert the phonemes into pinyin information; The speech rate feature value is calculated based on the number of character pinyins contained in the pinyin information and the duration of the customer audio information; The corresponding volume characteristic value is calculated according to the volume characteristic calculation formula and the average volume of the customer audio information.

2. The customer return visit method based on emotion recognition according to claim 1 is characterized in that: The interception rule includes a plurality of image interception time points, and the customer image information and customer audio information are intercepted from the return visit video information according to the preset interception rule, including: Acquire the voice information in the return visit video information as the customer audio information; The corresponding customer image is acquired from the return visit video information according to the image capture time point to obtain customer image information.

3. The customer return visit method based on emotion recognition according to claim 1 is characterized in that: Before inputting the feature point set and the audio feature quantification information into the preset satisfaction classification model to obtain the satisfaction degree information corresponding to the return video information, the method further includes: If the input training data set is received, the satisfaction classification model is iteratively trained according to the preset gradient descent training model and the training data set to obtain a trained satisfaction classification model.

4. The customer return visit method based on emotion recognition according to claim 1 is characterized in that: The detection condition includes portrait contour information and SIFT feature extraction rules, and the determination of whether the customer image information meets the preset detection condition includes: Determine whether each customer image of the customer image information matches the portrait outline information, so as to obtain a determination result of whether each customer image contains a single living body; If each of the customer images contains a single living body, extracting customer image features of each of the customer images according to the SIFT feature extraction rule; Acquire the photo features of the customer photo matching the customer in the pre-stored customer data according to the SIFT feature extraction rule; It is determined whether each of the customer image features matches the photo features, and if they do, it is determined that the customer image information meets the detection condition.

5. The customer return visit method based on emotion recognition according to claim 1 is characterized in that: After inputting the feature point set and the audio feature quantification information into the preset satisfaction classification model to obtain satisfaction degree information corresponding to the return video information, the method further includes: The satisfaction information and the customer audio information are uploaded to the blockchain as the customer's return visit preference information for storage.

6. A customer return visit device based on emotion recognition, characterized in that: include: A business return visit information sending unit, used to generate business return visit information according to the business record information of each customer in the pre-stored business handling information table and send it to the client corresponding to the customer; A return visit video information interception unit, used for receiving the return visit video information fed back by the client according to the service return visit information, and intercepting the customer image information and the customer audio information from the return visit video information according to a preset interception rule; A detection condition judgment unit, used to judge whether the customer image information meets the preset detection conditions; A feature point set acquisition unit, configured to acquire a corresponding feature point set from the customer image information according to a preset facial feature acquisition model if the customer image information meets the detection condition; An audio feature quantization information acquisition unit, used to acquire corresponding audio feature quantization information from the customer audio information according to a preset audio feature quantization model; A satisfaction degree information acquisition unit, used for inputting the feature point set and the audio feature quantization information into the preset satisfaction degree classification model to acquire satisfaction degree information corresponding to the return video information; The facial feature acquisition model includes pixel contrast acquisition rules, pixel dissolution ratio values ​​and feature point acquisition rules; the feature point set acquisition unit includes subunits: a pixel contrast information acquisition unit, which is used to acquire pixel contrast information of each customer image in the customer image information according to the pixel contrast acquisition rules; An image contour information acquisition unit, used for performing pixel dissolution on each of the customer images according to the pixel contrast information and the pixel dissolution ratio value to obtain image contour information; a facial feature point acquisition unit, used for acquiring facial feature points from each facial feature image according to a feature point acquisition rule to combine and obtain a feature point set; The audio feature quantization model includes an acoustic model, a feature dictionary and a volume feature calculation formula. The audio feature quantization information acquisition unit includes subunits: a phoneme segmentation unit, which is used to segment the customer audio information according to the acoustic model to obtain multiple phonemes contained in the customer audio information; A pinyin information acquisition unit, used for matching the phonemes according to the feature dictionary to convert the phonemes into pinyin information; A speech rate characteristic value acquisition unit, used to calculate the speech rate characteristic value according to the number of character pinyins contained in the pinyin information and the duration of the customer audio information; The volume characteristic value acquisition unit is used to calculate the corresponding volume characteristic value according to the volume characteristic calculation formula and the average volume of the customer audio information.

7. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the customer return visit method based on emotion recognition according to any one of claims 1 to 5 is implemented.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, enables the processor to execute the customer return visit method based on emotion recognition according to any one of claims 1 to 5.