Method and device for processing voice interaction data, storage medium and electronic device

By parsing and matching voice interaction data, and obtaining and analyzing voice interaction records, the problem of low efficiency in voice interaction data processing in the scenario of users and home appliances is solved, and more efficient data processing and problem discovery are achieved.

CN114678012BActive Publication Date: 2024-10-22QINGDAO HAIER TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210153613.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-18
Publication Date
2024-10-22
Estimated Expiration
2042-02-18

AI Technical Summary

Technical Problem

In the voice interaction scenario between users and home appliances, the voice interaction data processing efficiency in the existing technology is low, resulting in untimely discovery of problems, low efficiency of manual data integration, and differences in different bad example data increase the difficulty of data processing and affect efficiency.

Method used

By analyzing the voice interaction data, keywords are obtained, and matched with the bad example database, the corresponding voice interaction records and evaluation data are obtained, the analysis results are analyzed and sent, and the keywords are stored and matched using preset rules to improve data processing efficiency.

Benefits of technology

It improves the efficiency of voice interaction data processing, shortens the cycle from user experience to problem discovery, enhances the accuracy and efficiency of data processing, and reduces the burden of manual integration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114678012B_ABST
    Figure CN114678012B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for processing voice interaction data, a storage medium and an electronic device, wherein the method comprises: parsing the voice interaction data of a first object to obtain keywords in the voice interaction data; when it is determined that the keywords successfully match the bad case data in a bad case database, obtaining a voice interaction record of the first object corresponding to the bad case data, wherein the bad case data stores evaluation data of the voice interaction record by the first object; analyzing the voice interaction data according to the voice interaction record, and sending the analysis result of the voice interaction data to a second object. The above technical solution is adopted to solve the problem of low efficiency in voice interaction data processing in the voice interaction scenario between users and home appliances.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and in particular to a method and device for processing voice interaction data, a storage medium, and an electronic device. Background Art

[0002] At present, in the voice interaction scenarios between users and home appliances, it is often impossible to obtain the user's experience results of the product in real time. In related technologies, the background logs and data are generally manually annotated, and the annotated data is uniformly processed. However, this solution takes too long to obtain the user's experience results and analyze the problems reported by the user, resulting in untimely problem discovery. In addition, the efficiency of manually integrating data is too low. In addition, the voice interaction scenarios of different bad case data are different, which will further increase the difficulty of data processing and affect the efficiency of data processing.

[0003] Therefore, in the related art, in the voice interaction scenario between users and home appliances, there is a problem of low efficiency in voice interaction data processing.

[0004] Regarding the related technologies, in the voice interaction scenarios between users and home appliances, there is a problem of low efficiency in voice interaction data processing, and no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present application provide a method and device for processing voice interaction data, a storage medium, and an electronic device, so as to at least solve the problem of low efficiency in voice interaction data processing in the voice interaction scenario between a user and a home appliance in the related art.

[0006] According to an embodiment of the embodiments of the present application, a method for processing voice interaction data is provided, including: parsing the voice interaction data of a first object to obtain keywords in the voice interaction data; when it is determined that the keywords successfully match the bad example data in a bad example database, obtaining the voice interaction record of the first object corresponding to the bad example data, wherein the bad example data stores evaluation data of the voice interaction record by the first object; analyzing the voice interaction data according to the voice interaction record, and sending the analysis result of the voice interaction data to a second object.

[0007] In an exemplary embodiment, after parsing the voice interaction data of the first object and obtaining the keywords in the voice interaction data, the method further includes: when it is determined that the keyword does not exist in the bad case database, obtaining the bad case data corresponding to the keyword in the voice interaction data; storing the keyword and the bad case data corresponding to the keyword in the voice interaction data in the bad case database according to a first preset rule, wherein the first preset rule is used to indicate the storage rule of the bad case database.

[0008] In an exemplary embodiment, voice interaction data of a first object is parsed to obtain keywords in the voice interaction data, including: parsing the voice interaction data in a voice interaction process according to a second preset rule to determine the keywords in the voice interaction data, wherein the second preset rule is a rule for parsing keywords set for the voice interaction data, and the second preset rule includes at least one of the following: keyword length, keyword type, and keyword language.

[0009] In an exemplary embodiment, obtaining a voice interaction record of a first object corresponding to bad case data includes: determining a first storage queue from storage queues in the bad case database, wherein the first storage queue is used to store the voice interaction record of the first object, the voice interaction record of the first object includes the bad case data of the first object, and the bad case database includes: multiple storage queues corresponding to different target objects, and the multiple storage queues are independent of each other; obtaining the voice interaction record between the first object and the home appliance from the first storage queue.

[0010] In an exemplary embodiment, the voice interaction data is analyzed according to the voice interaction record, including: determining the recording frequency of the bad case data, the recording time of the bad case data, and the recording scene of the bad case data from the voice interaction record; determining the interaction rule of the bad case data according to the recording frequency of the bad case data, the recording time of the bad case data, the recording scene of the bad case data and the first object corresponding to the bad case data, the interaction rule is used to indicate the rule of the first object evaluating the home appliance; parsing the interaction rule of the bad case data to obtain the evaluation result of the first object on the home appliance, wherein the evaluation result includes at least one of the following: the evaluation result corresponding to the bad case data with the highest recording frequency within the recording time, and the evaluation result corresponding to the bad case data with the highest recording frequency in the recording scene.

[0011] In an exemplary embodiment, obtaining a voice interaction record of a first object corresponding to bad case data includes: dividing the voice interaction record between the first object and a household appliance according to a first time period to obtain a plurality of sub-interaction records; counting the number of times the keyword appears in each sub-interaction record; sorting the plurality of sub-interaction records in order of the number of times to obtain the sub-interaction record with the largest number of times; and determining the sub-interaction record with the largest number of times as the voice interaction record of the first object corresponding to the bad case data.

[0012] In an exemplary embodiment, obtaining a voice interaction record of a first object corresponding to bad case data includes: dividing the voice interaction record between the first object and a household appliance according to a second time period to obtain a plurality of sub-interaction records; obtaining a recording time in the plurality of sub-interaction records; searching for a target sub-interaction record with the latest recording time from the plurality of sub-interaction records; and determining the target sub-interaction record as the voice interaction record of the first object corresponding to the bad case data.

[0013] According to another embodiment of the embodiments of the present application, a device for processing voice interaction data is also provided, including: a parsing module, used to parse the voice interaction data of a first object to obtain keywords in the voice interaction data; an acquisition module, used to obtain the voice interaction record of the first object corresponding to the bad example data when it is determined that the keyword successfully matches the bad example data in the bad example database, wherein the bad example data stores evaluation data of the first object on the voice interaction record; a sending module, used to analyze the voice interaction data according to the voice interaction record, and send the analysis result of the voice interaction data to the second object.

[0014] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned method for processing voice interaction data when running.

[0015] According to another aspect of an embodiment of the present application, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method for processing voice interaction data through the computer program.

[0016] In an embodiment of the present application, voice interaction data of a first object is parsed to obtain keywords in the voice interaction data; when it is determined that the keywords successfully match the bad example data in a bad example database, a voice interaction record of the first object corresponding to the bad example data is obtained, wherein the bad example data stores evaluation data of the voice interaction record by the first object; the voice interaction data is analyzed according to the voice interaction record, and the analysis result of the voice interaction data is sent to the second object; the above technical solution is adopted to solve the problem of low efficiency in voice interaction data processing in the voice interaction scenario between users and home appliances, thereby improving the efficiency of voice interaction data processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0018] Figure 1 It is a hardware structure block diagram of a computer terminal of a method for processing voice interaction data in an embodiment of the present application;

[0019] Figure 2 is a flowchart of a method for processing voice interaction data according to an embodiment of the present application;

[0020] Figure 3 is a schematic diagram of a method for processing voice interaction data according to an embodiment of the present application;

[0021] Figure 4 is a structural block diagram of a device for processing voice interaction data according to an embodiment of the present application (I);

[0022] Figure 5 This is a structural block diagram (II) of a device for processing voice interaction data according to an embodiment of the present application. DETAILED DESCRIPTION

[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0025] The method embodiments provided in the embodiments of the present application can be executed in a computer terminal or a similar computing device. Taking running on a computer terminal as an example, Figure 1 1 is a hardware structure block diagram of a computer terminal of a method for processing voice interaction data in an embodiment of the present application. Figure 1 As shown, the computer terminal may include one or more ( Figure 1 Only one is shown in the figure) processor 102 (processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. In an exemplary embodiment, the computer terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned computer terminal. Figure 1 More or fewer components as shown, or with Figure 1 Equivalent functions or comparisons shown Figure 1 A different configuration with more features is shown.

[0026] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for processing voice interaction data in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0027] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0028] In this embodiment, a method for processing voice interaction data is provided, which is applied to the above-mentioned computer terminal. Figure 2 : is a flowchart of a method for processing voice interaction data according to an embodiment of the present application, the process includes the following steps:

[0029] Step S202, parsing the voice interaction data of the first object to obtain keywords in the voice interaction data;

[0030] It should be noted that the above-mentioned first object can be understood as an interactive object that performs voice interaction with the home appliance device, which can be a person or a robot, and this application does not limit this.

[0031] It should be noted that the above keywords can be understood as the keywords corresponding to the pre-set bad example data, which can include the operating effect of the home appliance, the type of the home appliance, etc. The keywords can include one or more, wherein multiple keywords can also be combined into key sentences, and the key sentences can also be used to match the bad example data. For example, when the keyword is the operating effect of the home appliance, the keywords can be set as "slow speed", "no response", etc., and when the keyword is the type of the home appliance, the keywords can be set as "refrigerator", "sweeping robot", etc.

[0032] Step S204, when it is determined that the keyword successfully matches the bad example data in the bad example database, obtaining a voice interaction record of the first object corresponding to the bad example data, wherein the bad example data stores evaluation data of the first object on the voice interaction record;

[0033] It should be noted that the evaluation data stored in the bad case data can be understood as the evaluation data of the home appliance made by the first subject when the first subject has a bad experience with the home appliance. For example, the bad case data may include "the song played by this speaker is wrong", "the sweeping robot does not sweep cleanly", etc.

[0034] Step S206: Analyze the voice interaction data according to the voice interaction record, and send the analysis result of the voice interaction data to the second object.

[0035] Through the above steps, the voice interaction data of the first object is parsed to obtain keywords in the voice interaction data; when it is determined that the keywords successfully match the bad example data in the bad example database, the voice interaction record of the first object corresponding to the bad example data is obtained, wherein the bad example data stores the evaluation data of the first object on the voice interaction record; the voice interaction data is analyzed according to the voice interaction record, and the analysis result of the voice interaction data is sent to the second object, which solves the problem of low efficiency in voice interaction data processing in the voice interaction scenario between the user and the home appliance in the related technology, thereby improving the voice interaction data processing efficiency.

[0036] It should be noted that the above-mentioned voice interaction data can be obtained through a voice acquisition device, and the voice acquisition device may include home appliances, mobile terminals, etc., but is not limited thereto.

[0037] In an optional embodiment of the present application, in order to better understand how the above-mentioned step S204 obtains the voice interaction record of the first object corresponding to the bad example data when it is determined that the keyword matches the bad example data in the bad example database successfully, it can be determined in the following manner: when it is determined that the keyword exists in the bad example database, the bad example data corresponding to the keyword is searched in the bad example database according to a preset correspondence relationship, wherein the correspondence relationship is used to indicate the correspondence relationship between the keyword and the bad example data; when the bad example data corresponding to the keyword is found in the bad example database, it is determined that the keyword matches the bad example data in the bad example database successfully.

[0038] Through the above embodiments, it can be determined that the keyword matches the bad example data in the bad example database successfully, thereby improving the matching accuracy of the bad example data.

[0039] In an optional embodiment of the present application, after parsing the voice interaction data of the first object and obtaining the keywords in the voice interaction data, a technical solution is also provided, and the specific steps include: when it is determined that the keyword does not exist in the bad case database, obtaining the bad case data corresponding to the keyword in the voice interaction data; storing the keyword and the bad case data corresponding to the keyword in the voice interaction data in the bad case database according to a first preset rule, wherein the first preset rule is used to indicate the storage rule of the bad case database.

[0040] In an optional embodiment of the present application, in order to better understand how the above-mentioned step S202 parses the voice interaction data of the first object and obtains the keywords in the voice interaction data, a technical solution is provided, and the specific steps include: parsing the voice interaction data in the voice interaction process according to a second preset rule, and determining the keywords in the voice interaction data, wherein the second preset rule is a rule for parsing keywords set for the voice interaction data, and the second preset rule includes at least one of the following: keyword length, keyword type, and keyword language.

[0041] In an optional embodiment of the present application, in order to better understand how the above-mentioned step S204 obtains the voice interaction record of the first object corresponding to the bad case data, a first storage queue can be determined from the storage queues in the bad case database, wherein the first storage queue is used to store the voice interaction record of the first object, and the voice interaction record of the first object includes the bad case data of the first object, and the bad case database includes: multiple storage queues corresponding to different target objects, and the multiple storage queues are independent of each other; the voice interaction record between the first object and the home appliance is obtained from the first storage queue.

[0042] In an optional embodiment of the present application, the following scheme can be used to better understand how the above-mentioned step S206 analyzes the voice interaction data according to the voice interaction record, and the specific steps include: determining the recording frequency of the bad case data, the recording time of the bad case data, and the recording scene of the bad case data from the voice interaction record; determining the interaction rule of the bad case data according to the recording frequency of the bad case data, the recording time of the bad case data, the recording scene of the bad case data and the first object corresponding to the bad case data, and the interaction rule is used to indicate the rule of the first object evaluating the household appliance; parsing the interaction rule of the bad case data to obtain the evaluation result of the first object on the household appliance, wherein the evaluation result includes at least one of the following: the evaluation result corresponding to the bad case data with the highest recording frequency within the recording time, and the evaluation result corresponding to the bad case data with the highest recording frequency in the recording scene.

[0043] It should be noted that the recording scenes of the above-mentioned bad example data may include "kitchen scene", "living room scene", "bathroom scene" and the like, but are not limited thereto.

[0044] In one embodiment, when it is determined that the bad example data is "the refrigerator is not responding", the recording frequency of the bad example data is 5 times, the recording time of the bad example data is from 11:11 on Monday, January 1, 2022 to 11:11 on Monday, January 24, 2022, and the recording scene of the bad example data is "kitchen scene", the user's evaluation result can be obtained that the refrigerator in the kitchen has not responded 5 times from 11:11 on Monday, January 1, 2022 to 11:11 on Monday, January 24, 2022.

[0045] In an optional embodiment of the present application, the following scheme can be used to better understand how the above-mentioned step S204 obtains the voice interaction record of the first object corresponding to the bad case data. The specific steps include: dividing the voice interaction record between the first object and the home appliance according to a first time period to obtain multiple sub-interaction records; counting the number of times the keyword appears in each sub-interaction record; sorting the multiple sub-interaction records in order of the number of times to obtain the sub-interaction record with the largest number of times; and determining the sub-interaction record with the largest number of times as the voice interaction record of the first object corresponding to the bad case data.

[0046] It should be noted that the time unit of the above-mentioned first time period may include year, month, day, hour, etc.

[0047] In an optional embodiment of the present application, in order to better understand how to obtain the voice interaction record of the first object corresponding to the bad case data in the above step S204, the specific steps include: dividing the voice interaction record between the first object and the home appliance according to a second time period to obtain multiple sub-interaction records; obtaining the recording time in the multiple sub-interaction records; searching for the target sub-interaction record with the latest recording time from the multiple sub-interaction records; and determining the target sub-interaction record as the voice interaction record of the first object corresponding to the bad case data.

[0048] It should be noted that the time unit of the second time period may include year, month, day, hour, etc.

[0049] Through the above embodiments, the voice interaction record of the first object corresponding to the bad example data is obtained in different ways, which enriches the method of obtaining the voice interaction record, expands the matching range of the voice interaction record, and thus improves the matching accuracy of the voice interaction record.

[0050] In order to better understand the process of the above-mentioned voice interaction data processing method, the implementation method flow of the above-mentioned voice interaction data processing is described below in combination with an optional embodiment, but it is not used to limit the technical solution of the embodiment of the present application.

[0051] In this embodiment, a method for processing voice interaction data is provided. Figure 3 is a schematic diagram of a method for processing voice interaction data according to an embodiment of the present application, such as Figure 3 As shown, the specific steps are as follows:

[0052] Step S301: Acquire voice interaction data between a user (equivalent to the first object) and a home appliance;

[0053] Step S302: Perform voice recognition on the voice interaction data to obtain a recognition result, and then execute steps S303 and S307 respectively;

[0054] Step S303: obtaining badcase data (equivalent to the bad case data) from a badcase library (equivalent to the bad case database);

[0055] Step S304: Determine whether the recognition result matches the badcase data, if so, execute step S305, if not, execute step S306;

[0056] Step S305: Acquire the background application based on Kafka middleware;

[0057] It should be noted that Kafka is an open source stream processing platform developed by the Apache Software Foundation and written in Scala and Java. It is a low-latency, highly reliable, scalable, and easy-to-use message middleware.

[0058] Step S306: Update the badcase library according to the recognition result.

[0059] Step S307: Find the cache queue corresponding to the recognition result.

[0060] It should be noted that the user's voice interaction data can be cached in a high-speed cache database in a first-in-first-out manner according to the user ID. This cache method has a fast cache speed. In addition, an independent storage queue with adjustable storage space size is established for each user.

[0061] Among them, the cache database includes the Redis database. The Redis database is a high-performance key-value database that can support data persistence, multiple data structures, and data backup. It can reduce database pressure, improve overall performance, and bring a better user experience.

[0062] Step S308: Obtain the user's most recent voice interaction record from the cache queue through the background application;

[0063] Step S309: Determine whether the user's voice interaction data is abnormal based on the user's most recent voice interaction record. If so, execute step S310; if not, execute step S311;

[0064] Step S310: Feedback to development and operation personnel (equivalent to the second object) in real time via email or SMS, and update the badcase library at the same time;

[0065] Step S311: Analyze the reasons why the user's voice interaction data is abnormal.

[0066] Through the above steps, the following technical effects can be achieved: 1. The badcase library can be updated at any time. 2. The experience tracking process is independent of the normal process and is imperceptible to the user. 3. Based on the high-speed cache redis, the processing efficiency is greatly improved, and the user's abnormal experience can be fed back to the relevant personnel in near real time. It can also quickly track the user's abnormal voice recording without affecting the user's normal interaction, and feed it back to the development and product personnel in real time for processing. The deployment is simple and the user experience is improved.

[0067] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.

[0068] Figure 4 is a structural block diagram of a device for processing voice interaction data according to an embodiment of the present application; Figure 4 As shown, including:

[0069] The parsing module 42 is used to parse the voice interaction data of the first object to obtain keywords in the voice interaction data;

[0070] It should be noted that the above-mentioned first object can be understood as an interactive object that performs voice interaction with the home appliance device, which can be a person or a robot, and this application does not limit this.

[0071] It should be noted that the above keywords can be understood as the keywords corresponding to the pre-set bad example data, which can include the operating effect of the home appliance, the type of the home appliance, etc. The keywords can include one or more, wherein multiple keywords can also be combined into key sentences, and the key sentences can also be used to match the bad example data. For example, when the keyword is the operating effect of the home appliance, the keywords can be set as "slow speed", "no response", etc., and when the keyword is the type of the home appliance, the keywords can be set as "refrigerator", "sweeping robot", etc.

[0072] an acquisition module 44, configured to acquire, when it is determined that the keyword successfully matches the bad example data in the bad example database, a voice interaction record of a first object corresponding to the bad example data, wherein the bad example data stores evaluation data of the first object on the voice interaction record;

[0073] It should be noted that the evaluation data stored in the bad case data can be understood as the evaluation data of the home appliance made by the first subject when the first subject has a bad experience with the home appliance. For example, the bad case data may include "the song played by this speaker is wrong", "the sweeping robot does not sweep cleanly", etc.

[0074] The sending module 46 is used to analyze the voice interaction data according to the voice interaction record and send the analysis result of the voice interaction data to the second object.

[0075] Through the above-mentioned device, the voice interaction data of the first object is parsed to obtain the keywords in the voice interaction data; when it is determined that the keywords successfully match the bad example data in the bad example database, the voice interaction record of the first object corresponding to the bad example data is obtained, wherein the bad example data stores the evaluation data of the first object on the voice interaction record; the voice interaction data is analyzed according to the voice interaction record, and the analysis result of the voice interaction data is sent to the second object, which solves the problem of low efficiency in voice interaction data processing in the voice interaction scenario between the user and the home appliance in the related technology, thereby improving the efficiency of voice interaction data processing.

[0076] In an optional embodiment of the present application, the acquisition module 44 is further used to determine whether the keyword successfully matches the bad case data in the bad case database in the following manner: when it is determined that the keyword exists in the bad case database, searching the bad case data corresponding to the keyword in the bad case database according to a preset correspondence relationship, wherein the correspondence relationship is used to indicate the correspondence between the keyword and the bad case data; when the bad case data corresponding to the keyword is found in the bad case database, it is determined that the keyword successfully matches the bad case data in the bad case database.

[0077] Through the above embodiments, it can be determined that the keyword matches the bad example data in the bad example database successfully, thereby improving the matching accuracy of the bad example data.

[0078] In an optional embodiment of the present application, the parsing module 42 is also used to parse the voice interaction data in the voice interaction process according to a second preset rule to determine the keywords in the voice interaction data, wherein the second preset rule is a rule for parsing keywords set for the voice interaction data, and the second preset rule includes at least one of the following: keyword length, keyword type, and keyword language.

[0079] In an optional embodiment of the present application, the acquisition module 44 is also used to determine a first storage queue from the storage queues in the bad case database, wherein the first storage queue is used to store the voice interaction record of the first object, the voice interaction record of the first object includes the bad case data of the first object, and the bad case database includes: multiple storage queues corresponding to different target objects, and the multiple storage queues are independent of each other; obtain the voice interaction record between the first object and the home appliance from the first storage queue.

[0080] In an optional embodiment of the present application, the sending module 46 is also used to determine the recording frequency of the bad case data, the recording time of the bad case data and the recording scene of the bad case data from the voice interaction record; determine the interaction rule of the bad case data according to the recording frequency of the bad case data, the recording time of the bad case data, the recording scene of the bad case data and the first object corresponding to the bad case data, and the interaction rule is used to indicate the rule of the first object evaluating the household appliance; analyze the interaction rule of the bad case data to obtain the evaluation result of the first object on the household appliance, wherein the evaluation result includes at least one of the following: the evaluation result corresponding to the bad case data with the highest recording frequency within the recording time, and the evaluation result corresponding to the bad case data with the highest recording frequency in the recording scene.

[0081] It should be noted that the recording scenes of the above-mentioned bad example data may include "kitchen scene", "living room scene", "bathroom scene" and the like, but are not limited thereto.

[0082] In one embodiment, when it is determined that the bad example data is "the refrigerator is not responding", the recording frequency of the bad example data is 5 times, the recording time of the bad example data is from 11:11 on Monday, January 1, 2022 to 11:11 on Monday, January 24, 2022, and the recording scene of the bad example data is "kitchen scene", the user's evaluation result can be obtained that the refrigerator in the kitchen has not responded 5 times from 11:11 on Monday, January 1, 2022 to 11:11 on Monday, January 24, 2022.

[0083] In an optional embodiment of the present application, the acquisition module 44 is further used to divide the voice interaction record between the first object and the household appliance according to a first time period to obtain multiple sub-interaction records; count the number of times the keyword appears in each sub-interaction record; sort the multiple sub-interaction records in order of the number of times to obtain the sub-interaction record with the largest number of times; and determine the sub-interaction record with the largest number of times as the voice interaction record of the first object corresponding to the bad example data.

[0084] In an optional embodiment of the present application, the acquisition module 44 is also used to divide the voice interaction record between the first object and the household appliance according to a second time period to obtain multiple sub-interaction records; obtain the recording time in the multiple sub-interaction records; search for the target sub-interaction record with the latest recording time from the multiple sub-interaction records; and determine the target sub-interaction record as the voice interaction record of the first object corresponding to the bad case data.

[0085] Through the above embodiments, the voice interaction record of the first object corresponding to the bad example data is obtained in different ways, which enriches the method of obtaining the voice interaction record, expands the matching range of the voice interaction record, and thus improves the matching accuracy of the voice interaction record.

[0086] Figure 5 is a structural block diagram of a device for processing voice interaction data according to an embodiment of the present application; Figure 5 As shown, it includes: a parsing module 42, an acquisition module 44, a sending module 46, and a storage module 52.

[0087] Among them, the storage module 52 is used to parse the voice interaction data of the first object, and after obtaining the keywords in the voice interaction data, the method also includes: when it is determined that the keyword does not exist in the bad case database, obtaining the bad case data corresponding to the keyword in the voice interaction data; storing the keyword and the bad case data corresponding to the keyword in the voice interaction data in the bad case database according to a first preset rule, wherein the first preset rule is used to indicate the storage rule of the bad case database.

[0088] Through the above-mentioned device, the voice interaction data of the first object is parsed to obtain the keywords in the voice interaction data; when it is determined that the keywords successfully match the bad example data in the bad example database, the voice interaction record of the first object corresponding to the bad example data is obtained, wherein the bad example data stores the evaluation data of the first object on the voice interaction record; the voice interaction data is analyzed according to the voice interaction record, and the analysis result of the voice interaction data is sent to the second object, which solves the problem of low efficiency in voice interaction data processing in the voice interaction scenario between the user and the home appliance in the related technology, thereby improving the efficiency of voice interaction data processing.

[0089] An embodiment of the present application further provides a storage medium, which includes a stored program, wherein the program executes any of the above methods when it is run.

[0090] Optionally, in this embodiment, the storage medium may be configured to store program codes for executing the following steps:

[0091] S1, parsing the voice interaction data of the first object to obtain keywords in the voice interaction data;

[0092] S2, when it is determined that the keyword successfully matches the bad example data in the bad example database, obtaining a voice interaction record of a first object corresponding to the bad example data, wherein the bad example data stores evaluation data of the first object on the voice interaction record;

[0093] S3: Analyze the voice interaction data according to the voice interaction record, and send the analysis result of the voice interaction data to the second object.

[0094] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0095] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0096] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0097] S1, parsing the voice interaction data of the first object to obtain keywords in the voice interaction data;

[0098] S2, when it is determined that the keyword successfully matches the bad example data in the bad example database, obtaining a voice interaction record of a first object corresponding to the bad example data, wherein the bad example data stores evaluation data of the first object on the voice interaction record;

[0099] S3: Analyze the voice interaction data according to the voice interaction record, and send the analysis result of the voice interaction data to the second object.

[0100] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.

[0101] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0102] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0103] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for processing voice interaction data, characterized in that: include: Parsing the voice interaction data of the first object to obtain keywords in the voice interaction data; When it is determined that the keyword successfully matches the bad example data in the bad example database, obtaining a voice interaction record of a first object corresponding to the bad example data, wherein the bad example data stores evaluation data of the first object on the voice interaction record; Analyzing the voice interaction data according to the voice interaction record, and sending the analysis result of the voice interaction data to the second object; wherein analyzing the voice interaction data according to the voice interaction record includes: Determining, from the voice interaction record, the recording frequency of the bad case data, the recording time of the bad case data, and the recording scene of the bad case data; determining an interaction rule of the bad case data according to a recording frequency of the bad case data, a recording time of the bad case data, a recording scene of the bad case data, and a first object corresponding to the bad case data, wherein the interaction rule is used to indicate a rule for the first object to evaluate the household appliance; Analyze the interaction rules of the bad case data to obtain the evaluation result of the first object on the household appliance, wherein the evaluation result includes at least one of the following: the evaluation result corresponding to the bad case data with the highest recording frequency within the recording time, and the evaluation result corresponding to the bad case data with the highest recording frequency in the recording scenario.

2. The method for processing voice interaction data according to claim 1, characterized in that: After parsing the voice interaction data of the first object to obtain keywords in the voice interaction data, the method further includes: In the case where it is determined that the keyword does not exist in the bad example database, obtaining bad example data corresponding to the keyword in the voice interaction data; The keyword and the bad example data corresponding to the keyword in the voice interaction data are stored in the bad example database according to a first preset rule, wherein the first preset rule is used to indicate a storage rule of the bad example database.

3. The method for processing voice interaction data according to claim 1, characterized in that: Parsing the voice interaction data of the first object to obtain keywords in the voice interaction data includes: The voice interaction data in the voice interaction process is parsed according to a second preset rule to determine keywords in the voice interaction data, wherein the second preset rule is a rule for parsing keywords set for the voice interaction data, and the second preset rule includes at least one of the following: keyword length, keyword type, and keyword language.

4. The method for processing voice interaction data according to claim 1, characterized in that: Acquiring a voice interaction record of a first object corresponding to the bad example data includes: Determining a first storage queue from the storage queues in the bad case database, wherein the first storage queue is used to store the voice interaction record of the first object, the voice interaction record of the first object includes the bad case data of the first object, and the bad case database includes: multiple storage queues corresponding to different target objects, and the multiple storage queues are independent of each other; Acquire a voice interaction record between the first object and the home appliance from the first storage queue.

5. The method for processing voice interaction data according to claim 1, characterized in that: Acquiring a voice interaction record of a first object corresponding to the bad example data includes: Divide the voice interaction record between the first object and the home appliance according to a first time period to obtain a plurality of sub-interaction records; Counting the number of times the keyword appears in each sub-interaction record; Sorting the plurality of sub-interaction records according to the order of the number of times to obtain the sub-interaction record with the largest number of times; The sub-interaction record with the largest number of times is determined as the voice interaction record of the first object corresponding to the bad example data.

6. The method for processing voice interaction data according to claim 1, characterized in that: Acquiring a voice interaction record of a first object corresponding to the bad example data includes: Divide the voice interaction record between the first object and the home appliance according to a second time period to obtain multiple sub-interaction records; According to the recording time of each of the sub-interaction records, searching for the target sub-interaction record with the latest recording time from the multiple sub-interaction records; The target sub-interaction record is determined to be a voice interaction record of the first object corresponding to the bad example data.

7. A device for processing voice interaction data, characterized in that: include: A parsing module, configured to parse the voice interaction data of the first object to obtain keywords in the voice interaction data; an acquisition module, configured to acquire, when determining that the keyword successfully matches the bad example data in the bad example database, a voice interaction record of a first object corresponding to the bad example data, wherein the bad example data stores evaluation data of the first object on the voice interaction record; and a sending module, configured to analyze the voice interaction data according to the voice interaction record and send the analysis result of the voice interaction data to a second object; wherein, The sending module is further used to determine the recording frequency of the bad case data, the recording time of the bad case data and the recording scene of the bad case data from the voice interaction record; determining an interaction rule of the bad case data according to a recording frequency of the bad case data, a recording time of the bad case data, a recording scene of the bad case data, and a first object corresponding to the bad case data, wherein the interaction rule is used to indicate a rule for the first object to evaluate the household appliance; Analyze the interaction rules of the bad case data to obtain the evaluation result of the first object on the household appliance, wherein the evaluation result includes at least one of the following: the evaluation result corresponding to the bad case data with the highest recording frequency within the recording time, and the evaluation result corresponding to the bad case data with the highest recording frequency in the recording scenario.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method described in any one of claims 1 to 6 when executed.

9. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 6 through the computer program.