IP Library Patent Application 16564596
Patent Application
App. No. 16/564,596

METHOD AND APPARATUS FOR VOICE INTERACTION

Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US None
App. No.
16/564,596
Abstract

Embodiments of the present disclosure provide a method and apparatus for voice interaction. A method may include: acquiring voice information input by a user; determining a response character matching the acquired voice information based on the acquired voice information; and responding to the acquired voice information using a voice recorded in advance for the response character or a voice synthesized based on a voice feature parameter of the response character.

Claims (49)

1 . A method for voice interaction, the method comprising:

acquiring voice information input by a user;

determining a response character matching the acquired voice information based on the acquired voice information; and

responding to the acquired voice information using a voice recorded in advance for the response character or a voice synthesized based on a voice feature parameter of the response character.

2 . The method according to claim 1 , wherein the determining a response character matching the acquired voice information based on the acquired voice information, comprises:

determining, in response to recognizing that the acquired voice information comprises a name defined in advance for a response character, the response character corresponding to the recognized name as the response character matching the acquired voice information.

3 . The method according to claim 2 , wherein the name defined in advance for the response character comprises a voice interaction wake-up word.

4 . The method according to claim 1 , wherein the determining a response character matching the acquired voice information based on the acquired voice information, comprises:

acquiring attribute information of the user; and

determining the response character matching the acquired voice information, based on the attribute information of the user and a preset corresponding relationship between attribute information and a response character.

5 . The method according to claim 4 , wherein the acquiring attribute information of the user, comprises:

performing voiceprint recognition on the acquired voice information, and determining the attribute information of the user based on a recognition result.

6 . The method according to claim 4 , wherein the acquiring attribute information of the user, comprises:

determining identification information of the user based on the acquired voice information; and

querying user attribute information corresponding to the identification information of the user in a pre-stored user information set.

7 . The method according to claim 1 , wherein the responding to the acquired voice information using a voice recorded in advance for the response character or a voice synthesized based on a voice feature parameter of the response character, comprises:

converting the acquired voice information into a text;

determining a response text based on the converted text and a voice response logic preset for the response character; and

responding to the acquired voice information, using a voice recorded in advance for the response character and containing the response text, or a voice synthesized based on the voice feature parameter of the response character and the response text.

8 . The method according to claim 1 , wherein the determining a response character matching the acquired voice information based on the acquired voice information, comprises:

determining identification information of the user based on the acquired voice information;

querying a response character corresponding to the determined identification information in a response character setting record representing a corresponding relationship between identification information and response characters; and

determining the queried response character as the response character matching the acquired voice information.

9 . An apparatus for voice interaction, the apparatus comprising:

at least one processor; and

a memory storing instructions, wherein the instructions when executed by the at least one processor, cause the at least one processor to perform operations, the operations comprising:

acquiring voice information input by a user;

determining a response character matching the acquired voice information based on the acquired voice information; and

responding to the acquired voice information using a voice recorded in advance for the response character or a voice synthesized based on a voice feature parameter of the response character.

10 . The apparatus according to claim 9 , wherein the determining a response character matching the acquired voice information based on the acquired voice information, comprises:

determining, in response to recognizing that the acquired voice information comprises a name defined in advance for a response character, the response character corresponding to the recognized name as the response character matching the acquired voice information.

11 . The apparatus according to claim 10 , wherein the name defined in advance for the response character comprises a voice interaction wake-up word.

12 . The apparatus according to claim 11 , wherein the determining a response character matching the acquired voice information based on the acquired voice information, comprises:

acquiring attribute information of the user; and

determining the response character matching the acquired voice information, based on the attribute information of the user and a preset corresponding relationship between attribute information and a response character.

13 . The apparatus according to claim 12 , wherein the acquiring attribute information of the user, comprises:

performing voiceprint recognition on the acquired voice information, and determining the attribute information of the user based on a recognition result.

14 . The apparatus according to claim 12 , wherein the acquiring attribute information of the user, comprises:

determining identification information of the user based on the acquired voice information; and

querying user attribute information corresponding to the identification information of the user in a pre-stored user information set.

15 . The apparatus according to claim 9 , wherein the responding to the acquired voice information using a voice recorded in advance for the response character or a voice synthesized based on a voice feature parameter of the response character, comprises:

converting the acquired voice information into a text;

determining a response text based on the converted text and a voice response logic preset for the response character; and

responding to the acquired voice information, using a voice recorded in advance for the response character and containing the response text, or a voice synthesized based on the voice feature parameter of the response character and the response text.

16 . The apparatus according to claim 9 , wherein the determining a response character matching the acquired voice information based on the acquired voice information, comprises:

determining identification information of the user based on the acquired voice information;

querying a response character corresponding to the determined identification information in a response character setting record representing a corresponding relationship between identification information and response characters; and

determining the queried response character as the response character matching the acquired voice information.

17 . A non-transitory computer readable medium, storing a computer program thereon, the program, when executed by a processor, implements the method according to claim 1 .

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 15, 2021
From: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
To: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
Reel/Frame 056939/0234 →
EMPLOYMENT CONTRACT Recorded Jul 15, 2021
From: WANG, WENYU
To: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
Reel/Frame 057000/0664 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 30, 2021
From: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
To: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.; SHANGHAI XIAODU TECHNOLOGY CO. LTD.
Reel/Frame 056811/0772 →