A method and device for processing skill speech entanglement

By configuring the interaction devices and prioritizing the user's skills and dialogue, combined with a matching word list, the problem of dialogue entanglement was solved, improving the user experience and the platform's flexibility.

CN111596833BActive Publication Date: 2024-10-18BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN201910131136.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-02-21
Publication Date
2024-10-18
Estimated Expiration
2039-02-21

AI Technical Summary

Technical Problem

In existing technologies, the problem of tangled dialogue leads to a poor user experience. Traditional wake words are cumbersome and inflexible, and the platform's default classification and recognition are too rigid and cannot understand the user's intent.

Method used

By configuring the interaction device and the user's skill-based dialogue priorities, and combining this with a matching word list, the most accurate skill information response can be selected to solve the dialogue entanglement problem.

Benefits of technology

It improves user experience, allows for flexible responses to user needs, reduces custom development, and increases platform versatility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111596833B_ABST
    Figure CN111596833B_ABST
Patent Text Reader

Abstract

The present application provides a method and device for processing skill speech entanglement, the method comprising: when receiving data information sent by an interactive device, identifying skill information; when determining that the skill information identification result has speech entanglement, if it is determined that the identified skill information sets a skill speech priority for the user identifier in the data information, then selecting the skill information with the highest priority set for the user in the identified skill information to respond to the interactive device. The method can solve the problem of skill speech entanglement according to actual application scenarios and improve user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information processing technology, and in particular to a skill-speech entanglement processing method and device. Background Art

[0002] With the rapid development of the Internet and Internet of Things technologies, artificial intelligence applications are becoming more and more extensive, and technological innovation is becoming more mature. Currently, natural language processing is the most mature technology in various fields of artificial intelligence.

[0003] Traditional home appliances, automobiles, educational auxiliary products, and various emerging robots and other hardware devices urgently need to add voice interaction functions to enhance user experience.

[0004] At this time, various interactive open platforms also came into being. The interactive devices that interact with the interactive open platform mainly include the following two aspects:

[0005] On the one hand, it connects to various service devices, such as music, food delivery and other service processing. Here we call each service a skill information; on the other hand, it connects to hardware devices of different manufacturers. Manufacturers select relevant skills on the open platform according to their own product characteristics.

[0006] There are two ways to access skill information provided by the open platform:

[0007] The first method: Enter the skill through the wake-up word;

[0008] The second method: entering skills through some words.

[0009] For the second method, the platform needs to meet the needs of different manufacturers' products for the same words to enter different skills. For example, the words "I want to listen to Snow White" need to be recognized as a storytelling skill information on children's education devices, but need to be recognized as a music skill information on speaker devices.

[0010] This will lead to the problem of entangled speech. The existing solution to the problem of entangled speech is to set the skill wake-up word, or to attribute the entangled speech to a certain skill information by default.

[0011] The above solution has a poor user experience. The method of setting the skill wake-up word requires users to say the wake-up word every time they start interacting with a skill information. This means users have to say a lot of unnecessary words, and when the amount of skill information increases, users have to remember a large number of wake-up words. If the wake-up word is not set, the platform will default to classifying the information as a certain skill. The recognition is too rigid and cannot truly understand the user's intention. Summary of the invention

[0012] In view of this, the present application provides a method and device for processing skill speech entanglement, which can solve the problem of skill speech entanglement according to actual application scenarios and improve user experience.

[0013] To solve the above technical problems, the technical solution of this application is implemented as follows:

[0014] On the one hand, a method for processing skill speech entanglement is provided, the method comprising:

[0015] When receiving data information sent by the interactive device, identify the skill information;

[0016] When it is determined that there is speech entanglement in the skill information identification result, if it is determined that the identified skill information sets the skill speech priority for the user identifier in the data information, then the skill information with the highest priority set for the user is selected from the identified skill information to respond to the interactive device.

[0017] Wherein, the method further comprises:

[0018] If it is determined that the identified skill information does not set a skill speech priority for the user identifier in the data information, and it is determined that the identified skill information sets a skill speech priority for the interactive device, then the skill information with the highest priority set for the interactive device is selected from the identified skill information to respond to the interactive device.

[0019] Wherein, the method further comprises:

[0020] If it is determined that the identified skill information does not set skill speech priority for the user identifier in the data information, and the identified skill information does not set skill speech priority for the interactive device, the slot value extracted from the data information is matched with the vocabulary corresponding to the identified skill information respectively, and the skill information corresponding to the vocabulary with the highest matching degree is selected to respond to the interactive device.

[0021] Wherein, the method further comprises:

[0022] Provides a user interface for inputting corresponding skill information for interactive devices and configuring the skill speech priority of interactive devices and user corresponding skill information.

[0023] On the other hand, a skill speech entanglement processing device is provided, which includes: a receiving unit, an identification unit, a determination unit and a processing unit;

[0024] The receiving unit is used to receive data information;

[0025] The identification unit is used to identify the skill information when the receiving unit receives the data information sent by the interactive device;

[0026] The determining unit is used to determine whether the skill information recognition result identified by the identifying unit has speech entanglement, and determine whether the identified skill information sets a skill speech priority for the user identifier in the data information;

[0027] The processing unit is used for selecting the skill information with the highest priority set for the user in the identified skill information to respond to the interactive device when the determination unit determines that there is speech entanglement in the skill information identification result, if it is determined that the identified skill information sets the skill speech priority for the user identifier in the data information.

[0028] in,

[0029] The determining unit is further configured to determine whether the identified skill information sets a skill speech priority for the interactive device;

[0030] The processing unit is further used to select the skill information with the highest priority set for the interactive device from the identified skill information to respond to the interactive device if the determination unit determines that the identified skill information does not set the skill speech priority for the user identifier in the data information, and determines that the identified skill information sets the skill speech priority for the interactive device.

[0031] in,

[0032] The processing unit is further used to use the slot value extracted from the data information to match the vocabulary corresponding to the identified skill information, respectively, if the determination unit determines that the identified skill information does not set the skill speech priority for the user identifier in the data information, and the identified skill information does not set the skill speech priority for the interactive device, and select the skill information corresponding to the vocabulary with the highest matching degree to respond to the interactive device.

[0033] in,

[0034] The determination unit is further used to provide a user interface for inputting corresponding skill information for the interactive device, and configuring the skill speech priority of the interactive device and the user corresponding to the skill information.

[0035] An electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the skill speech entanglement processing method when executing the program.

[0036] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the skill-speech entanglement processing method.

[0037] As can be seen from the above technical solution, in this application, by configuring skill speech priorities for different interactive devices and users, a matching word list is set for each skill information, and when speech entanglement occurs in the recognition result of the data information sent by the interactive device, the most accurate skill information is selected to respond to the interactive device. This solution can solve the problem of skill speech entanglement according to actual application scenarios and improve user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 This is a schematic diagram of the skill-speech entanglement processing flow in the embodiment of the present application;

[0039] Figure 2 A schematic diagram of a process flow for implementing skill-speech entanglement processing in an embodiment of the present application;

[0040] Figure 3 Schematic diagram of the device structure applied to the above technology in the embodiment of the present application. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the technical solution of the present invention is described in detail below with reference to the accompanying drawings and embodiments.

[0042] In the embodiment of the present application, a method for processing skill speech entanglement is provided. By configuring skill speech priorities for different interactive devices and users, when multiple skill information is identified for data information sent by the interactive device, skill information with a high priority is selected to respond to the interactive device. This solution can solve the problem of skill speech entanglement according to the needs of the interactive device and improve the user experience.

[0043] The skill-speech entanglement processing method provided in the embodiment of the present application is applied to an interactive open platform, which may include one device or multiple devices. The multiple devices interact to implement the functions to be implemented by the interactive open platform.

[0044] The interactive open platform pre-configures a corresponding vocabulary for each skill information; the vocabulary configured for each skill includes keywords corresponding to the skill information, and the keyword can be one or more.

[0045] When implemented in the embodiments of the present application, the interactive open platform can set the skill and speech priority for the interactive device in advance or during the interaction with the interactive device. For example, for a speaker, the music skill will be set with a higher priority than the storytelling skill. For example, on children's educational equipment, the storytelling skill will be set with a higher priority than the music skill.

[0046] In specific implementation, the priority interaction device ID can be saved for the ID of a skill information:

[0047] Such as skill information 1: interactive device 1, skill speech priority 5; interactive device 2, skill speech priority 3; wherein, in specific implementation, it can be set that the larger the priority value, the lower the priority, which can be configured according to the actual application, and is not limited in the embodiments of the present application.

[0048] The interactive open platform can set the skill speech priority corresponding to the skill information for the user in advance or during the interaction with the interactive device.

[0049] The specific configuration can set the priority according to the user's preferences. The skill information with higher favorability and more frequent use will have a higher priority; otherwise, it will have a lower priority.

[0050] In specific implementation, the user ID with a set priority can be saved for the ID of a skill information:

[0051] Such as skill information 2: User 1, skill speech priority 1; User 2, skill speech priority 3; wherein, in specific implementation, it can be set that the larger the priority value, the lower the priority, which can be configured according to the actual application, and is not limited in the embodiments of the present application.

[0052] In a specific embodiment of the present application, the interactive open platform may configure skill information and corresponding priorities for different interactive devices or users;

[0053] It can also be a user interface for inputting corresponding skill information for an interactive device, configuring the interactive device, or the skill speech priority of the user corresponding to the skill information, and the user can configure the relevant information by himself. It can also provide multiple skill information for the user to select the corresponding skill information.

[0054] The following is a detailed description of the process of implementing skill speech entanglement processing in the embodiment of the present application in conjunction with the accompanying drawings.

[0055] See also Figure 1 , Figure 1 This is a schematic diagram of the skill-speech entanglement processing flow in the embodiment of this application. The specific steps are:

[0056] Step 101: When the interactive open platform receives data information sent by the interactive device, it identifies the skill information.

[0057] Wherein, the data information is voice information or text information;

[0058] When the data information is voice information, before performing the skill information recognition, the method further includes:

[0059] The voice information is converted into text information.

[0060] That is to say, if the interactive device receives voice information, the interactive device can convert the voice information into text information by itself and send it to the interactive open platform as data information of text information. Alternatively, the voice information can be directly sent to the interactive open platform as data information, and the interactive open platform will convert the voice information into text information and then perform skill information recognition.

[0061] In this step, skill information is identified, including:

[0062] The intention corresponding to the data information is determined by using speech template configuration or deep learning. When the intention corresponds to one skill information, it is determined that there is no speech entanglement in the skill information recognition result; when the intention corresponds to two or more skill information, it is determined that there is speech entanglement in the skill information recognition result.

[0063] Among them, intent means that we recognize the user's expression and what he wants to do specifically. Basically, intent is a classifier that divides user needs into a certain type.

[0064] Step 102, when the interactive open platform determines that there is speech entanglement in the skill information recognition result, if the identified skill information sets the skill speech priority according to the user identifier in the data information, the skill information with the highest priority is selected from the identified skill information to respond to the interactive device.

[0065] The following is a detailed description of the skill-speech entanglement processing process implemented in the embodiment of the present application in conjunction with the accompanying drawings.

[0066] See also Figure 2 , Figure 2 This is a schematic diagram of the process flow for implementing the skill-speech entanglement processing in the embodiment of this application. The specific steps are:

[0067] Step 201: upon receiving data information sent by an interactive device, skill information is identified.

[0068] Step 202, determine whether there is speech entanglement in the skill recognition result, if so, execute step 203; otherwise, execute step 208.

[0069] In this step, skill information is identified, including:

[0070] The intention corresponding to the data information is determined by using speech template configuration or deep learning. When the intention corresponds to one skill information, it is determined that there is no speech entanglement in the skill information recognition result; when the intention corresponds to two or more skill information, it is determined that there is speech entanglement in the skill information recognition result.

[0071] Step 203, determine whether the identified skill information sets a skill speech priority for the user in the data information, if so, execute step 204; otherwise, execute step 205.

[0072] Step 204: Select the skill information with the highest priority set for the user from the identified skill information to respond to the interactive device, and end this process.

[0073] The users here refer to the users of the data information currently being sent. If priorities are set for other users, but the user of the data information currently being sent does not set the skill speech priority for the corresponding skill information, it is also determined that the skill speech priority is not set for the user.

[0074] In the embodiment of the present application, priority is given to whether the skill speech priority is set for the user. If not, then consider whether the skill speech priority is set for the interactive device. If the skill speech priority is not set for the user or the interactive device, the vocabulary configured for each skill is used to determine which skill information to select for response.

[0075] Step 205 , determining whether the identified skill information sets a skill speech priority for the interactive device, if so, executing step 206 ; otherwise, executing step 207 .

[0076] Step 206: Select the skill information with the highest priority set for the interactive device from the identified skill information to respond to the interactive device, and end this process.

[0077] Step 207, use the slot value extracted from the data information to match the vocabulary corresponding to the identified skill information respectively, select the skill information corresponding to the vocabulary with the highest matching degree to respond to the interactive device, and end this process.

[0078] Slot: Slot is the definition of key information in user expression, such as departure place and destination in air ticket booking.

[0079] Among them, slot value: the value extracted from the slot in a sentence. For example, if I want to book a flight from Beijing to Shanghai, Beijing is the slot value corresponding to the departure slot.

[0080] Step 208: Use the skill information corresponding to the skill recognition result to respond to the interactive device.

[0081] In the embodiment of the present application, after parsing the data information and determining the skill information, skill-related data is retrieved according to the slot value, such as a shopping skill may be a product information, and a weather skill may be weather information; and a sentence is assembled according to the skill data information as the response content, which is responded to the interactive device, so that the corresponding user can know the response content.

[0082] What is different from the existing implementation in the embodiment of the present application is that when the entanglement of words occurs, if the skill information corresponding to the response information is determined, after the skill information is determined, the process of assembling the response information is not restricted in the embodiment of the present application.

[0083] In the embodiment of the present application, the problem of speech entanglement is solved by introducing skill speech priorities for users, skill speech priorities for interactive devices, and vocabulary lists set for different skill information.

[0084] Based on the same inventive concept, the present application also provides a skill-speech entanglement processing device. Figure 3 , Figure 3 This is a schematic diagram of the structure of a device applied to the above technology in an embodiment of the present application. The device includes: a receiving unit 301, an identification unit 302, a determination unit 303 and a processing unit 304;

[0085] The receiving unit 301 is used to receive data information;

[0086] The data information is voice information or text information;

[0087] When the data information is voice information, before performing the skill information recognition, the method further includes:

[0088] The voice information is converted into text information.

[0089] The identification unit 302 is used to identify the skill information when the receiving unit 301 receives the data information sent by the interactive device;

[0090] When identifying skill information, the intention corresponding to the data information is determined by using speech template configuration or deep learning. When the intention corresponds to one skill information, it is determined that there is no speech entanglement in the skill information identification result; when the intention corresponds to two or more skill information, it is determined that there is speech entanglement in the skill information identification result.

[0091] A determination unit 303 is used to determine whether the skill information recognition result identified by the recognition unit 302 has speech entanglement, and determine whether the identified skill information sets a skill speech priority for the user identifier in the data information;

[0092] The processing unit 304 is used to select the skill information with the highest priority set for the user from the identified skill information to respond to the interactive device when the determination unit 303 determines that there is speech entanglement in the skill information identification result, and if it is determined that the identified skill information sets the skill speech priority for the user identifier in the data information.

[0093] Preferably,

[0094] The determination unit 303 is further configured to determine whether the identified skill information sets a skill speech priority for the interactive device;

[0095] The processing unit 304 is further used to select the skill information with the highest priority set for the interactive device from the identified skill information to respond to the interactive device if the determination unit 303 determines that the identified skill information does not set the skill speech priority for the user identifier in the data information, and determines that the identified skill information sets the skill speech priority for the interactive device.

[0096] Preferably,

[0097] The processing unit 304 is further used to use the slot value extracted from the data information to match the vocabulary corresponding to the identified skill information, and select the skill information corresponding to the vocabulary with the highest matching degree to respond to the interactive device if the determination unit 303 determines that the identified skill information does not set the skill speech priority for the user identifier in the data information, and the identified skill information does not set the skill speech priority for the interactive device.

[0098] Preferably,

[0099] The determination unit 303 is further used to provide a user interface for inputting corresponding skill information for the interactive device, and configuring the skill speech priority of the interactive device and the user corresponding to the skill information.

[0100] The units in the above-mentioned embodiments may be integrated into one body or deployed separately; they may be combined into one unit or further divided into multiple sub-units.

[0101] In addition, an electronic device is also provided in an embodiment of the present application, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the skill speech entanglement processing method when executing the program.

[0102] In addition, a computer-readable storage medium is also provided in an embodiment of the present application, on which a computer program is stored, and when the program is executed by a processor, the steps of the skill speech entanglement processing method are implemented.

[0103] In summary, this application configures skill speech priorities for different interactive devices and users, sets a matching word list for each skill information, and selects the most accurate skill information to respond to the interactive device when speech entanglement occurs in the recognition result of the data information sent by the interactive device. This solution can solve the problem of skill speech entanglement according to actual application scenarios and improve user experience.

[0104] The embodiment of the present application also provides a user interface for users to set skill information, as well as the user's skill speech priority for interactive devices. This setting method is more flexible, more adaptable to user needs, reduces customized development, and increases the versatility of the platform.

[0105] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for processing skill entanglement, characterized in that: The method includes: When receiving data information sent by the interactive device, skill information is identified; wherein the skill information is configured by the open platform for different interactive devices or users; the interactive device is a speaker or a children's education device, and if the interactive device is a speaker, the skill priority of music is set higher than the skill priority of storytelling; if the interactive device is a children's education device, the skill priority of storytelling is set higher than the skill priority of music; When it is determined that there is speech entanglement in the skill information identification result, if it is determined that the identified skill information sets a skill speech priority for the user identifier in the data information, selecting the skill information with the highest priority set for the user from the identified skill information to respond to the interactive device; Wherein, the method further comprises: If it is determined that the identified skill information does not set a skill speech priority for the user identifier in the data information, and it is determined that the identified skill information sets a skill speech priority for the interactive device, then selecting the skill information with the highest priority set for the interactive device from the identified skill information to respond to the interactive device; If it is determined that the identified skill information does not set skill speech priority for the user identifier in the data information, and the identified skill information does not set skill speech priority for the interactive device, the slot value extracted from the data information is matched with the vocabulary corresponding to the identified skill information respectively, and the skill information corresponding to the vocabulary with the highest matching degree is selected to respond to the interactive device.

2. The method according to claim 1, characterized in that The method further comprises: Provides a user interface for inputting corresponding skill information for interactive devices and configuring the skill speech priority of interactive devices and user corresponding skill information.

3. The method according to claim 1, characterized in that: The identifying of skill information includes: The intention corresponding to the data information is determined by using speech template configuration or deep learning. When the intention corresponds to one skill information, it is determined that there is no speech entanglement in the skill information recognition result; when the intention corresponds to two or more skill information, it is determined that there is speech entanglement in the skill information recognition result.

4. The method according to any one of claims 1 to 3, characterized in that: The data information is voice information or text information; When the data information is voice information, before performing the skill information recognition, the method further includes: The voice information is converted into text information.

5. A skill speech entanglement processing device, characterized in that: The device comprises: a receiving unit, an identification unit, a determination unit and a processing unit; The receiving unit is used to receive data information; The identification unit is used to identify the skill information when the receiving unit receives the data information sent by the interactive device; wherein the skill information is configured by the open platform for different interactive devices or users; the interactive device is a speaker or a children's education device, and if the interactive device is a speaker, the skill priority of music is set higher than the skill priority of storytelling; if the interactive device is a children's education device, the skill priority of storytelling is set higher than the skill priority of music; The determining unit is used to determine whether the skill information recognition result identified by the identifying unit has speech entanglement, and determine whether the identified skill information sets a skill speech priority for the user identifier in the data information; The processing unit is configured to, when the determining unit determines that there is speech entanglement in the skill information identification result, select the skill information with the highest priority set for the user from the identified skill information to respond to the interactive device if it is determined that the identified skill information sets a skill speech priority for the user identifier in the data information; in, The determining unit is further configured to determine whether the identified skill information sets a skill speech priority for the interactive device; The processing unit is further used to select the skill information with the highest priority set for the interactive device from the identified skill information to respond to the interactive device if the determination unit determines that the identified skill information does not set the skill speech priority for the user identifier in the data information, and determines that the identified skill information sets the skill speech priority for the interactive device; if the determination unit determines that the identified skill information does not set the skill speech priority for the user identifier in the data information, and the identified skill information does not set the skill speech priority for the interactive device, then use the slot value extracted from the data information to match the vocabulary corresponding to the identified skill information, and select the skill information corresponding to the vocabulary with the highest matching degree to respond to the interactive device.

6. The device according to claim 5, characterized in that The determination unit is further used to provide a user interface for inputting corresponding skill information for the interactive device, and configuring the skill speech priority of the interactive device and the user corresponding to the skill information.

7. An electronic 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 program, the method according to any one of claims 1 to 4 is implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method described in any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Processing method, control method, identification method, device thereof and electronic device thereof

    CN109243431A