IP Library Granted Patent US 11,482,218
Granted Patent B2
US 11,482,218 · App. 16/641,704 · Granted Oct 25, 2022

Voice control method, voice control device, and computer-executable non-volatile storage medium

Inventor: Yingjie Li (Beijing, CN)
Assignee: Beijing BOE Technology Development Co., Ltd.
G10L15/22G06F3/167G06F9/451G10L15/08G10L15/1822G10L2015/223
View Patent ↗
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 11,482,218
App. No.
16/641,704
Granted
Oct 25, 2022
Kind
B2
Abstract

A voice control method, includes: acquiring a voice input information; recognizing the voice input information to obtain a voice command; based on the voice command, determining a control corresponding to the voice command by a test framework calling unit, where the test framework calling unit is not in an application program in which the control is coded; and executing a function corresponding to the control. A voice control device and a computer-executable non-volatile storage medium are further provided.

Claims (82)

1. A voice control method, comprising:

acquiring a voice input information;

recognizing the voice input information to obtain a voice command;

determining a control corresponding to the voice command by a test framework calling unit based on the voice command, wherein the test framework calling unit is not in an application program in which the control is coded; and

executing a function corresponding to the control,

wherein determining the control corresponding to the voice command by the test framework calling unit based on the voice command comprises:

acquiring a control in an application program that is in a foreground running state on a current user interface by the test framework calling unit;

acquiring a character string of the control or a description character string of the control; and

matching the voice command with the character string of the control or the description character string of the control to determine the control corresponding to the voice command.

2. The method according to claim 1 , wherein the voice command further comprises a command parameter,

wherein determining the control corresponding to the voice command by the test framework calling unit based on the voice command further comprises:

acquiring a position of the control in the application program that is in the foreground running state on the current user interface by the test framework calling unit; and

determining whether an edit box is located on at least one position adjacent to the position of the control by the test framework calling unit, and in a case where one or more of edit boxes are determined, inputting the command parameter into any of the edit boxes; and

wherein executing the function corresponding to the control comprises:

based on the command parameter, executing the function corresponding to the control.

3. The method according to claim 2 , wherein determining whether the edit box is located on at least one position adjacent to the position of the control comprises:

searching all edit boxes on the current user interface;

recognizing a boundary of each of the edit boxes; and

based on the boundary, determining a position of an edit box located on at least one position adjacent to the position of the control.

4. The method according to claim 1 , wherein determining the control corresponding to the voice command by the test framework calling unit based on the voice command further comprises:

in a case where a matching process of the voice command with the character string of the control or the description character string of the control is unsuccessful, based on a test framework called by the test framework calling unit, acquiring an image of the application program that is in the foreground running state on the current user interface;

recognizing the image to determine a control icon in the image; and

matching the voice command with the control icon to determine the control corresponding to the voice command.

5. The method according to claim 1 , before acquiring the voice input information, the method further comprising:

acquiring an application program starting command; and

based on the application program starting command, starting the application program in which the control is coded.

6. The method according to claim 1 , wherein recognizing the voice input information to obtain the voice command comprises:

converting the voice input information into a character string;

matching the character string which is obtained by the converting with a preset voice command; and

based on a matching result, determining a voice command corresponding to the voice input information.

7. The method according to claim 6 , wherein matching the character string which is obtained by the converting with the preset voice command comprises:

establishing a corresponding relationship set of character strings and preset voice commands;

based on template matching or deep learning, determining a voice command matched with the character string which is obtained by the converting in the set; and

matching the character string with the voice command which is determined.

8. A voice control device, comprising:

a memory and a processor,

wherein instructions are stored in the memory, and in a case where the processor processes the instructions, the processor executes the method according to claim 1 .

9. A computer-executable non-transitory storage medium, in which computer program instructions are sorted, wherein in a case where a processor processes the instructions, the processor executes the method according to claim 1 .

10. A voice control method, comprising:

acquiring a voice input information;

recognizing the voice input information to obtain a voice command;

determining a control corresponding to the voice command by a test framework calling unit based on the voice command, wherein the test framework calling unit is not in an application program in which the control is coded; and

executing a function corresponding to the control,

wherein determining the control corresponding to the voice command by the test framework calling unit based on the voice command comprises:

based on a test framework called by the test framework calling unit, acquiring an image of an application program that is in a foreground running state on a current user interface;

recognizing the image to determine a control icon in the image; and

matching the voice command with the control icon to determine the control corresponding to the voice command.

11. The method according to claim 10 , wherein determining the control corresponding to the voice command by the test framework calling unit based on the voice command further comprises:

in a case where a matching process of the voice command with the control icon is unsuccessful, acquiring a control in the application program that is in the foreground running state on the current user interface by the test framework calling unit;

acquiring a character string of the control or a description character string of the control; and

matching the voice command with the character string of the control or the description character string of the control to determine the control corresponding to the voice command.

12. The method according to claim 10 , wherein recognizing the image to determine the control icon in the image comprises:

performing contour extraction on the image to obtain at least one control region; and

performing image recognizing on the at least one control region to determine the control icon in the control region.

13. The method according to claim 12 , wherein matching the voice command with the control icon to determine the control corresponding to the voice command comprises:

converting the control icon into a character string corresponding to a function of the control, and matching the character string which is corresponding to the function of the control with the voice command;

or,

converting the voice command into an icon corresponding to the voice command, and matching the icon which is corresponding to the voice command with the control icon.

14. The method according to claim 10 , before acquiring the voice input information, the method further comprising:

acquiring an application program starting command; and

based on the application program starting command, starting the application program in which the control is coded.

15. The method according to claim 10 , wherein recognizing the voice input information to obtain the voice command comprises:

converting the voice input information into a character string;

matching the character string which is obtained by the converting with a preset voice command; and

based on a matching result, determining a voice command corresponding to the voice input information.

16. The method according to claim 15 , wherein matching the character string which is obtained by the converting with the preset voice command comprises:

establishing a corresponding relationship set of character strings and preset voice commands;

based on template matching or deep learning, determining a voice command matched with the character string which is obtained by the converting in the set; and

matching the character string with the voice command which is determined.

17. A voice control device, comprising:

a memory and a processor,

wherein instructions are stored in the memory, and in a case where the processor processes the instructions, the processor executes the method according to claim 10 .

18. A computer-executable non-transitory storage medium, in which computer program instructions are sorted, wherein in a case where a processor processes the instructions, the processor executes the method according to claim 10 .

19. A voice control device, comprising:

a voice recognizing and semantic parsing unit, configured to acquire a voice input information, and to recognize the voice input information to obtain a voice command;

a test framework calling unit, configured to, based on the voice command, determine a control corresponding to the voice command, wherein the test framework calling unit is not in an application program in which the control is coded;

an execution unit, configured to execute a function corresponding to the control; and

an image recognizing unit, configured to recognize an image in an application program in which the control is coded on a current user interface to determine a control icon in the image,

wherein the test framework calling unit is further configured to match the voice command with the control icon to determine the control corresponding to the voice command.

20. The device according to claim 19 , wherein the voice recognizing and semantic parsing unit is in a first module,

the test framework calling unit and the image recognizing unit are in a second module, respectively, and

the first module and the second module communicate with each other through inter-process communication.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 15, 2022
From: BOE TECHNOLOGY GROUP CO., LTD.
To: BEIJING BOE TECHNOLOGY DEVELOPMENT CO., LTD.
Reel/Frame 060804/0573 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 25, 2020
From: LI, YINGJIE
To: BOE TECHNOLOGY GROUP CO., LTD.
Reel/Frame 052011/0094 →
Continuity (1)
Related Publication 20210151045A1 · May 20, 2021