Data processing method and device, terminal equipment and storage medium

By obtaining the input data of the interaction between the user and the virtual customer service, determining the emotional characteristics and executing the comfort strategy, the problem of single interactive experience in the existing technology is solved. The virtual customer service can not only reply to texts, but also display actions, which significantly improves the communication between the user and the virtual customer service. interactive experience.

CN118550408APending Publication Date: 2024-08-27GOLO IOV DATA TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410660980.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

In the existing technology, the interaction between users and online customer service is limited to text content responses, which lacks diversity, resulting in a single interactive experience that cannot effectively appease users' emotional changes.

Method used

By obtaining input data during the interaction between the user and the virtual customer service, the user's emotional characteristics are determined, and the soothing strategy is executed based on the matching emotional characteristics, including controlling the virtual customer service to display preset actions and/or play preset music to improve the interactive experience.

Benefits of technology

It realizes the implementation of comfort strategies based on emotional characteristics when users interact with virtual customer service, which improves the interactive experience. Virtual customer service can not only reply to text content, but also display anthropomorphic actions, which significantly improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550408A
    Figure CN118550408A
Patent Text Reader

Abstract

The embodiment of the invention is suitable for the technical field of information, and provides a data processing method and device, terminal equipment and a storage medium, and the method comprises the steps: obtaining input data in an interaction process between a user and a preset virtual customer service; determining user emotion features based on the input data; if the user emotion feature is matched with a specified emotion feature, executing a pacifying strategy; the pacifying strategy comprises controlling the virtual customer service to display a preset action and / or play preset music; and outputting reply data aiming at the input data. According to the embodiment of the invention, when the user interacts with the virtual customer service, the pacifying strategy can be executed according to the emotion characteristics of the user to pacify the emotion of the user, and compared with the prior art that the online customer service can only reply text contents, the virtual customer service in the embodiment of the invention can also display anthropomorphic actions, so that the interaction experience of the user and the virtual customer service is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application belong to the field of information technology, and in particular, relate to a data processing method, apparatus, terminal device, and storage medium. Background Art

[0002] Human-computer interaction refers to the interaction between the system and the user. The system can refer to its or computerized system and software. The human-computer interaction interface usually refers to the part visible to the user. The user communicates with the system and operates it through the human-computer interaction interface.

[0003] One of the scenarios of human-computer interaction is that users communicate with online customer service through terminals. Currently, when users communicate with online customer service, online customer service always communicates with users in pure text. Summary of the invention

[0004] In view of this, embodiments of the present application provide a data processing method, device, vehicle, and storage medium to improve the interaction experience between users and customer service.

[0005] A first aspect of an embodiment of the present application provides a data processing method, including:

[0006] Obtain input data during the interaction between the user and the preset virtual customer service;

[0007] determining a user emotion characteristic based on the input data;

[0008] If the user's emotional characteristics match the specified emotional characteristics, a soothing strategy is executed; the soothing strategy includes controlling the virtual customer service to display preset actions and / or play preset music;

[0009] Output response data for the input data.

[0010] A second aspect of an embodiment of the present application provides a data processing device, including:

[0011] An input data acquisition module is used to acquire input data during the interaction between the user and the preset virtual customer service;

[0012] A first user emotion feature determination module, configured to determine the user emotion feature based on the input data;

[0013] A first soothing module, configured to execute a soothing strategy if the user's emotional characteristics match a specified emotional characteristic; the soothing strategy includes controlling the virtual customer service to display a preset action and / or play preset music;

[0014] The reply data output module is used to output reply data for the input data.

[0015] A third aspect of an embodiment of the present application provides a terminal device, comprising 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 data processing method as described in the first aspect above is implemented.

[0016] A fourth aspect of an embodiment of the present application 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 data processing method as described in the first aspect above is implemented.

[0017] A fifth aspect of the embodiments of the present application provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the data processing method described in the first aspect.

[0018] Compared with the prior art, the embodiments of the present application have the following beneficial effects:

[0019] In an embodiment of the present application, input data is obtained during the interaction between a user and a preset virtual customer service; user emotional characteristics are determined based on the input data; if the user emotional characteristics match a specified emotional characteristic, a soothing strategy is executed; the soothing strategy includes controlling the virtual customer service to display preset actions, and / or play preset music; and reply data for the input data is output, so that when the user interacts with the virtual customer service, a soothing strategy can be executed according to the user's emotional characteristics to soothe the user's emotions. Compared with the prior art in which online customer service can only reply to text content, in an embodiment of the present application, the virtual customer service can also display anthropomorphic actions to improve the user's interaction experience with the virtual customer service. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or prior art descriptions. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 It is a user interface diagram of an online customer service in the prior art;

[0022] Figure 2 is a schematic diagram of a data processing method provided in an embodiment of the present application;

[0023] Figure 3 is a schematic diagram of another data processing method provided in an embodiment of the present application;

[0024] Figure 4 is a schematic diagram of another data processing method provided in an embodiment of the present application;

[0025] Figure 5 is a schematic diagram of a data processing device provided in an embodiment of the present application;

[0026] Figure 6 It is a schematic diagram of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0028] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0029] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0030] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0031] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0032] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0033] Reference Figure 1 , which shows a user interface diagram of an online customer service in the prior art, in which a user can Figure 1 The user interface 100 shown interacts with the online customer service. The user interface 100 includes a display area 110 and an input area 120. The user can input text content that needs to be interacted with the online customer service in the input area 120, and the text content confirmed by the user is displayed in the display area 110. The text content of the online customer service replying to the text content confirmed by the user is also displayed in the display area 110. In this user-online customer service interaction mode, the user can only get the text content reply from the online customer service, and the interactive experience is single.

[0034] The embodiments of the present application provide a new delivery method to improve the interaction experience between customers and customer service. The technical solution of the present application is explained below through specific embodiments.

[0035] Embodiment 1

[0036] Reference Figure 2 , shows a schematic diagram of a data processing method provided in an embodiment of the present application, which may specifically include the following steps:

[0037] Step 201, obtaining input data during the interaction between the user and the preset virtual customer service;

[0038] The user can enter a designated user interface through a terminal device (for example, opening a designated application through a mobile terminal or a vehicle-mounted terminal, or entering a designated website), in which a virtual customer service is displayed, and the user can touch the controls in the user interface to interact with the virtual customer service. The server can obtain input data collected by the user during the interaction with the virtual customer service, and the input data can be obtained by the user inputting the controls in the receiving user interface.

[0039] For example, when a user inputs text into an input control provided in a user interface, the server may determine that the text input is input data.

[0040] Step 202, determining a user emotion characteristic based on the input data;

[0041] A variety of emotional features can be preset, for example, happiness, anger, irritability, sadness, fear, etc. After obtaining the input data, the input data is identified to determine the emotional features that match the input data. Since the input data is input by the user, the emotional features that match the input data can be determined to be the user emotional features, and the user's emotions are identified by the user emotional features.

[0042] The interaction between the user and the virtual character may be a continuous process, during which the user may make multiple inputs. The matching user emotional features can be determined based on the input data obtained each time to monitor changes in user emotions.

[0043] In a specific implementation, other emotional characteristics may be preset according to actual needs.

[0044] Step 203: If the user's emotional characteristics match the specified emotional characteristics, a soothing strategy is executed; the soothing strategy includes controlling the virtual customer service to display preset actions and / or play preset music;

[0045] Exemplarily, the designated emotional feature may be irritability. If the emotional feature of the user is determined to be irritability based on the input data, it means that the user's emotion is currently identified as irritability through the input data, and the user's emotion is soothed by executing a soothing strategy.

[0046] Furthermore, the designated emotional features may be divided into a plurality of different emotional levels, and corresponding soothing strategies may be set for different emotional levels.

[0047] The soothing strategy may include controlling the virtual customer service to display preset actions to soothe the user's emotions. The virtual customer service has anthropomorphic characteristics. The preset actions may include facial movements and / or body movements. By controlling the facial movements of the virtual customer service, corresponding expressions may be displayed to the user to soothe the user's emotions, such as showing a smiling expression. Body movements may be driving movements and / or limb movements, such as showing a bowing movement. The terminal device providing the above user interface may be provided with a speaker. The soothing strategy may include playing preset music (e.g., light music) to soothe the user's emotions. It is understandable that preset music may be played while controlling the virtual customer service to display preset actions.

[0048] In an optional embodiment, the preset emotional features can be adjusted to include only specified emotional features. After the input data is acquired, it is determined whether the input data matches the specified emotional features. If so, the soothing strategy is executed.

[0049] Step 204: outputting response data for the input data.

[0050] During the process of executing the appeasement strategy, or after the execution of the appeasement strategy is completed, reply data for the input data is output to reply to the input data obtained from the user.

[0051] If the user's emotional characteristics do not match the specified emotional characteristics, step 204 is executed without executing the soothing strategy.

[0052] In an embodiment of the present application, input data is obtained during the interaction between a user and a preset virtual customer service; the user's emotional characteristics are determined based on the input data; if the user's emotional characteristics match the specified emotional characteristics, a soothing strategy is executed; the soothing strategy includes controlling the virtual customer service to display preset actions, and / or play preset music; and outputting reply data for the input data. This allows the soothing strategy to be executed according to the user's emotional characteristics to soothe the user's emotions when the user interacts with the virtual customer service. Compared with the prior art in which online customer service can only reply to text content, the virtual customer service in an embodiment of the present application can also display anthropomorphic actions to improve the user's interaction experience with the virtual customer service.

[0053] Embodiment 2

[0054] Reference Figure 3 , shows a schematic diagram of another data processing method provided in an embodiment of the present application, which may specifically include the following steps:

[0055] Step 301, obtaining input data during the interaction between the user and the preset virtual customer service;

[0056] In an optional embodiment, virtual customer service is obtained by the following method: constructing an initial model and virtual object data; training the initial model with automobile diagnostic data to obtain a target model; the initial model is a natural language processing model; establishing a correspondence between the virtual object data and the target model; performing graphic processing on the virtual object data after establishing the correspondence to obtain virtual customer service.

[0057] The initial model is a natural language processing (NPL) model, such as a sequence-to-sequence model, a Transformer model, a BERT (Bidirectional Encoder Representations from Transformers) model, and the like.

[0058] The virtual object data may include a variety of visual elements, such as facial elements, body elements, skeleton elements, etc. A virtual character may be obtained by rendering the virtual object data, and the virtual character may display expressions and / or actions.

[0059] The initial model can be trained using automobile diagnostic data, and the trained model can be determined as the target model. The target model can process data related to automobile diagnosis, for example: descriptions of different fault states of the automobile can be output to the target model, and the target model outputs possible causes of the fault; descriptions of the working conditions of automobile parts can be output to the target model, and the target model outputs possible causes of the working conditions.

[0060] The automobile diagnostic data may also include automobile driving related data, automobile component name data, automobile component usage related data, etc. In the specific implementation, the specific content of the automobile diagnostic data may be set according to the needs, and the specific content of the automobile diagnostic data does not affect the implementation of this application.

[0061] A correspondence is established between the virtual object data and the target model, so that when the virtual object data after the correspondence is rendered to obtain the virtual customer service, the virtual customer service can perform corresponding action display or expression display according to the processing result of the target model.

[0062] Step 302, determining a user emotion characteristic based on the input data;

[0063] In an optional embodiment, step 302 may include: recognizing the input data and generating a first recognition result; the first recognition result includes semantic information and tone information; determining the user's emotional characteristics based on the first recognition result; the input data includes at least one of voice data and character data;

[0064] The input data is identified to obtain semantic information and tone information, and the user's emotional characteristics are determined based on the semantic information and tone information.

[0065] The target model can be trained with sentiment analysis data, and semantic information, tone information and sentiment features can be marked in the sentiment analysis data, so that the trained target model can recognize the data it receives, identify the semantic information and tone information corresponding to the data, and further obtain the sentiment features.

[0066] The target model trained with sentiment analysis data can receive input data during the interaction between the user and the virtual customer service. The target model can determine a first recognition result containing semantic information and tone information that matches the input data, and output user sentiment characteristics based on the first recognition result.

[0067] Step 303: If the user's emotional characteristics match the specified emotional characteristics, a soothing strategy is executed; the soothing strategy includes controlling the virtual customer service to display preset actions, play preset music, display preset soothing text, and issue resource certificates to the user.

[0068] Displaying soothing text may refer to displaying pre-set text content to soothe the user's emotions, such as: "sorry", "excuse me", etc.

[0069] Resource vouchers may include but are not limited to coupon vouchers, redemption vouchers, etc., and resource vouchers may be issued to the account used by the user to log in to the above user interface, or to a designated account provided by the user.

[0070] Step 304, determining the event type of the input data;

[0071] Multiple event types can be pre-divided, for example: emergency events, fault events, non-emergency events, non-fault events, etc.

[0072] The event type is determined by identifying the input data. For example, the event type can be determined by the semantic information corresponding to the input data, or by the semantic information and tone information corresponding to the input data.

[0073] Exemplarily, the event types are marked in the above-mentioned automobile diagnostic data so that the trained target model can identify the event type corresponding to the input data it receives.

[0074] Step 305, if the event type is a specified type, execute the appeasement strategy;

[0075] When the event type of the input data is a specified type, it is determined that the user needs to be appeased, and the appeasance strategy is executed. The appeasance strategy can refer to the relevant description of the above steps 203 and 303, which will not be repeated here.

[0076] In an optional embodiment, the specified type includes: emergency events and fault events. The specified type can be preset as emergency events and fault events, and when the event type of the input data is determined to be one of the emergency events and fault events, the appeasement strategy is executed.

[0077] The event type of one input data is multiple, for example, for the same input data, the input data is determined to be a non-emergency event and a fault event. The appeasement strategy can be executed when any one of the event types of the input data is a specified type.

[0078] In a specific implementation, the event type and the specified type can be set according to actual needs, and the setting of the event type and the specified type does not affect the implementation of this application.

[0079] Step 306: output response data for the input data.

[0080] Reply data corresponding to the input data may be determined, and the reply data may be output to reply to the user.

[0081] Exemplarily, as can be seen from the foregoing, the target model is trained with automobile diagnosis data, so the target model can determine response data corresponding to input data related to automobile diagnosis.

[0082] The reply data may include but is not limited to text replies. For example, if the input data is "How to adjust the level of the calibration main frame", the reply data may be "Observe the T-shaped level on the back of the calibration main frame to determine whether the calibration main frame is level. If the bubble on the level is biased to one side (not in the middle range), it means that the direction of the bubble is too high. The lateral and longitudinal heights of the main frame can be adjusted by adjusting the 4 bolts on the base of the main frame to make the calibration main frame level". The above reply data may also be voice broadcast to realize replying to the input data by voice.

[0083] If the user's emotional characteristics do not match the specified emotional characteristics and the event type is not a specified type, step 306 is executed without executing the soothing strategy.

[0084] In this embodiment, input data during the interaction between the user and the preset virtual customer service is obtained; the user's emotional characteristics are determined based on the input data; if the user's emotional characteristics match the specified emotional characteristics, a soothing strategy is executed; the soothing strategy includes controlling the virtual customer service to display preset actions and / or play preset music; determining the event type of the input data; if the event type is a specified type, executing the soothing strategy; outputting reply data for the input data, thereby determining the user's emotional characteristics and event type according to the input data during the interaction between the user and the virtual customer service, and executing the soothing strategy when the user's emotional characteristics are the specified emotional characteristics and / or the event type is the specified type, so as to soothe the user when the user interacts with the virtual customer service, and replying to the user in text and / or voice during or after the soothing process, thereby improving the user's interaction experience with the virtual customer service.

[0085] Embodiment 3

[0086] Reference Figure 4 , shows a schematic diagram of another data processing method provided in an embodiment of the present application, which may specifically include the following steps:

[0087] Step 401, obtaining input data during the interaction between the user and the preset virtual customer service;

[0088] Step 402, determining a user emotion characteristic based on the input data;

[0089] Step 403, obtaining the image data of the user;

[0090] It can be determined whether the terminal device providing the user interface has a camera. If a camera exists, it is further determined whether there is permission to use the camera. If there is permission to use the camera, the camera can be called to shoot and obtain image data containing the user. The image data can be one or more frames of images, or a sequence of multiple frames of images.

[0091] Step 404, identifying the image data and generating a second recognition result; the second recognition result includes facial expressions and / or body movements;

[0092] By recognizing the image data, the user's facial expressions and / or body movements are identified.

[0093] Step 405, determining the user's emotional characteristics according to the second recognition result;

[0094] The user's emotional characteristics can be determined through the user's facial expressions and body movements.

[0095] Exemplarily, the initial model can be trained with a training set containing images, so that the trained target model can recognize images and output corresponding recognition results. During the interaction between the user and the virtual customer service, the target model trained with the training set containing images can determine the corresponding second recognition result when receiving image data, and output the user emotion characteristics corresponding to the second recognition result.

[0096] Step 406: If the user's emotional characteristics match the specified emotional characteristics, a soothing strategy is executed; the soothing strategy includes controlling the virtual customer service to display preset actions and / or play preset music;

[0097] When the user emotion characteristic determined in any of step 402 and steps 403 - 405 matches the specified emotion characteristic, the soothing strategy is executed.

[0098] Step 406: outputting response data for the input data.

[0099] When the user emotional features determined in any of step 402 and steps 403 - 405 do not match the specified emotional features, step 406 is executed, and there is no need to execute the soothing strategy.

[0100] In an optional embodiment, before step 406, the method further includes: determining the event type of the input data; and if the event type is a specified type, executing the appeasement strategy.

[0101] In this optional embodiment, when the user emotion feature determined in any of step 402 and steps 403-405 matches the specified emotion feature, or when the event type of the input data is determined to be a specified type, the soothing strategy is executed.

[0102] When the user emotion characteristics determined in any of step 402 and steps 403-405 do not match the specified emotion characteristics, and the event type of the input data is not the specified type, step 406 is executed, and there is no need to execute the soothing strategy.

[0103] In an optional embodiment, step 402 may include: identifying the input data to generate a first recognition result; the first recognition result includes semantic information and tone information; and determining the user's emotional characteristics based on the first recognition result.

[0104] In this embodiment, input data during the interaction between a user and a preset virtual customer service is obtained; the user's emotional characteristics are determined based on the input data; image data of the user is obtained; the image data is recognized to generate a second recognition result; the second recognition result includes facial expressions and / or body movements; based on the second recognition result, the user's emotional characteristics are determined; if the user's emotional characteristics match the specified emotional characteristics, a soothing strategy is executed; the soothing strategy includes controlling the virtual customer service to display preset actions and / or play preset music; reply data for the input data is output, so as to determine the user's emotional characteristics by combining the input data and image data during the interaction between the user and the virtual customer service, and when the user's emotional characteristics are the specified emotional characteristics, the soothing strategy is executed to soothe the user when the user interacts with the virtual customer service, and reply to the user in text and / or voice during or after the soothing process, thereby improving the user's interaction experience with the virtual customer service.

[0105] It should be noted that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0106] Reference Figure 5 , shows a schematic diagram of a data processing device provided in an embodiment of the present application, which may specifically include an input data acquisition module 501, a first user emotion feature determination module 502, a first soothing module 503, and a reply data output module 504, wherein:

[0107] An input data acquisition module 501 is used to acquire input data during the interaction between the user and the preset virtual customer service;

[0108] A first user emotion feature determination module 502, configured to determine a user emotion feature based on the input data;

[0109] A first soothing module 503 is configured to execute a soothing strategy if the user's emotional characteristics match a specified emotional characteristic; the soothing strategy includes controlling the virtual customer service to display a preset action and / or play preset music;

[0110] The reply data output module 504 is used to output reply data for the input data.

[0111] In an optional embodiment, the appeasement strategy further includes one or more of displaying a preset appeasement text and issuing a resource credential to the user.

[0112] In an optional embodiment, the input data includes at least one of voice data and character data; the user emotion feature first determination module 502 includes:

[0113] An input data recognition submodule, used to recognize the input data and generate a first recognition result; the first recognition result includes semantic information and tone information;

[0114] The user emotion feature determination submodule is used to determine the user emotion feature according to the first recognition result.

[0115] In an optional embodiment, the device further includes:

[0116] An image data acquisition module, used to acquire image data of the user;

[0117] An image data recognition module, used to recognize the image data and generate a second recognition result; the second recognition result includes facial expressions and / or body movements;

[0118] The user emotion feature second determination module is used to determine the user emotion feature according to the second recognition result.

[0119] In an optional embodiment, the device further includes:

[0120] An event type determination module, used to determine the event type of the input data;

[0121] The second appeasement module is used to execute the appeasement strategy if the event type is a specified type.

[0122] In an optional embodiment, the specified types include: emergency events and failure events.

[0123] In an optional embodiment, the virtual customer service is generated by a virtual customer service generation module; the virtual customer service generation module is used to construct an initial model and virtual object data; the initial model is trained using automobile diagnostic data to obtain a target model; the initial model is a natural language processing model; a correspondence between the virtual object data and the target model is established; and graphics processing is performed on the virtual object data after the corresponding relationship is established to obtain a virtual customer service.

[0124] An embodiment of the present application provides a data processing device, and by using the device, each step in the aforementioned method embodiments can be implemented.

[0125] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment part.

[0126] Reference Figure 6 , shows a schematic diagram of a terminal device provided by an embodiment of the present application. Figure 6 As shown, the terminal device 600 in the embodiment of the present application includes: a processor 610, a memory 620, and a computer program 621 stored in the memory 620 and executable on the processor 610. When the processor 610 executes the computer program 621, the steps in each embodiment of the above data processing method are implemented, for example Figure 2 Alternatively, when the processor 610 executes the computer program 621, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 5 Functions of modules 501 to 504 are shown.

[0127] Exemplarily, the computer program 621 may be divided into one or more modules / units, which are stored in the memory 620 and executed by the processor 610 to complete the present application. The one or more modules / units may be a series of computer program instruction segments that can perform specific functions, and the instruction segments may be used to describe the execution process of the computer program 621 in the terminal device 600. For example, the computer program 621 may be divided into an input data acquisition module, a first user emotion feature determination module, a first soothing module, and a reply data output module, and the specific functions of each module are as follows:

[0128] An input data acquisition module is used to acquire input data during the interaction between the user and the preset virtual customer service;

[0129] A first user emotion feature determination module, configured to determine the user emotion feature based on the input data;

[0130] A first soothing module, configured to execute a soothing strategy if the user's emotional characteristics match a specified emotional characteristic; the soothing strategy includes controlling the virtual customer service to display a preset action and / or play preset music;

[0131] The reply data output module is used to output reply data for the input data.

[0132] The terminal device 600 may be a computing device such as a mobile terminal, a vehicle-mounted terminal, a desktop computer, etc. The terminal device 600 may include, but is not limited to, a processor 610 and a memory 620. Those skilled in the art will appreciate that Figure 6 It is only an example of the terminal device 600 and does not constitute a limitation of the terminal device 600. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device 600 may also include input and output devices, network access devices, buses, etc.

[0133] The processor 610 may be a central processing unit (CPU), or 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. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0134] The memory 620 may be an internal storage unit of the terminal device 600, such as a hard disk or memory of the terminal device 600. The memory 620 may also be an external storage device of the terminal device 600, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 600. Further, the memory 620 may also include both an internal storage unit of the terminal device 600 and an external storage device. The memory 620 is used to store the computer program 621 and other programs and data required by the terminal device 600. The memory 620 may also be used to temporarily store data that has been output or is to be output.

[0135] The embodiments of the present application further disclose 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 data processing method described in the above embodiments is implemented.

[0136] The embodiments of the present application further disclose a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the data processing methods described in the above embodiments.

[0137] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application is described in detail with reference to the above-mentioned embodiments, a person skilled in the art should understand that the technical solutions described in the above-mentioned embodiments can still be modified, or some of the technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.

Claims

1. A data processing method, characterized in that: include: Obtain input data during the interaction between the user and the preset virtual customer service; determining a user emotion characteristic based on the input data; If the user's emotional characteristics match the specified emotional characteristics, a soothing strategy is executed; the soothing strategy includes controlling the virtual customer service to display preset actions and / or play preset music; Output response data for the input data.

2. The method according to claim 1, characterized in that The appeasement strategy also includes one or more of displaying a preset appeasement text and issuing a resource credential to the user.

3. The method according to claim 1, characterized in that The input data includes at least one of voice data and character data; and determining the user emotion feature based on the input data includes: Recognize the input data and generate a first recognition result; the first recognition result includes semantic information and tone information; The user's emotional characteristics are determined based on the first recognition result.

4. The method according to claim 1, characterized in that The method further comprises: Acquiring image data of the user; Recognize the image data and generate a second recognition result; the second recognition result includes facial expressions and / or body movements; The user's emotional characteristics are determined based on the second recognition result.

5. The method according to claim 1 or 2 or 3 or 4, characterized in that: The method further comprises: Determining an event type of the input data; If the event type is a specified type, the appeasement strategy is executed.

6. The method according to claim 5, characterized in that The specified types include: emergency events and failure events.

7. The method according to claim 1, characterized in that The virtual customer service is generated in the following way: Build the initial model and virtual object data; The initial model is trained using automobile diagnostic data to obtain a target model; the initial model is a natural language processing model; Establishing a corresponding relationship between the virtual object data and the target model; Graphic processing is performed on the virtual object data after the corresponding relationship is established to obtain a virtual customer service.

8. A data processing device, characterized in that: include: An input data acquisition module is used to acquire input data during the interaction between the user and the preset virtual customer service; A first user emotion feature determination module, configured to determine the user emotion feature based on the input data; A first soothing module, configured to execute a soothing strategy if the user's emotional characteristics match a specified emotional characteristic; the soothing strategy includes controlling the virtual customer service to display a preset action and / or play preset music; The reply data output module is used to output reply data for the input data.

9. A terminal 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 data processing method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the data processing method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Voice processing method and device, electronic equipment and storage medium

    CN121483223A