# US 2022/0293085 A1 · Method for text to speech, electronic device and storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0293085 A1
- Document ID: US20220293085A1
- Status: Published application
- Kind: A1
- Application number: 17/805,283
- Filed: 2022-06-03
- Published: 2022-09-15
- Earliest claimed: 2021-06-08
- Assignees: Apollo Intelligent Connectivity (Beijing) Technology Co., Ltd.
- Applicants: Apollo Intelligent Connectivity (Beijing) Technology Co., Ltd.
- Inventors: Yi Zhou; Zhen Chen
- Web page: https://patentgrep.com/patent/US20220293085A1

## CPC

- G10L 13/02: Methods for producing synthetic speech; Speech synthesisers
- G06F 3/165: {Management of the audio stream, e.g. setting of volume, audio stream path}
- G10L 13/04: Details of speech synthesis systems, e.g. synthesiser structure or memory management
- G10L 13/033: Voice editing, e.g. manipulating the voice of the synthesiser
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for TTS includes: acquiring, TTS tasks to be processed and software identifiers corresponding to the TTS tasks, on a terminal device; determining a current scene of the terminal device and priorities corresponding to the software identifiers in the current scene; acquiring a sorting result by sorting the TTS tasks based on the priorities corresponding to the software identifiers; and executing the TTS tasks based on the sorting result.

## Claims

### Claim 1

A method for text to speech (TTS), comprising:
acquiring, TTS tasks to be processed and software identifiers corresponding to the TTS tasks, on a terminal device;
determining a current scene of the terminal device;
determining priorities corresponding to the software identifiers in the current scene;
acquiring a sorting result by sorting the TTS tasks based on the priorities corresponding to the software identifiers; and
executing the TTS tasks based on the sorting result.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
deleting a TTS task that has been executed from the sorting result.

### Claim 3 (depends on 1)

The method of claim 1, wherein, determining the priorities corresponding to the software identifiers in the current scene, comprising:
acquiring a priority list corresponding to the current scene; and
acquiring the priorities corresponding to the software identifiers from the priority list; wherein, the priority list comprises a software identifier of each software and a corresponding priority on the terminal device in the current scene.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
updating the sorting result based on updated TTS tasks in response to the TTS tasks changing and a changing type being adding newly a TTS task to be processed.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
determining a target TTS task from the sorting result, wherein, the target TTS task is a feedback TTS task for a voice instruction;
acquiring a software state of a software identifier corresponding to the target TTS task in a process of executing the target TTS task; and
stopping executing the target TTS task in response to the software state being abnormal.

### Claim 6 (depends on 1)

The method of claim 1, wherein, acquiring the TTS tasks to be processed and the software identifiers corresponding to the TTS tasks, on the terminal device, comprises:
receiving a TTS task and a software identifier corresponding to the TTS task from each software on the terminal device; and
for each TTS task, determining that the TTS task is a TTS task to be processed in response to the software identifier corresponding to the TTS task existing in a registered list; wherein, the registered list comprises a software identifier of each registered software.

### Claim 7 (depends on 1)

The method of claim 1, wherein, a manner of executing the TTS task comprises:
acquiring a text in the TTS task;
acquiring a voice having a pronunciation feature corresponding to a speaker's identifier by voice conversion on the text based on the pronunciation feature, wherein, the speaker's identifier is determined based on a speaker's selection instruction received; and
invoking a player to broadcast the voice.

### Claim 8

An electronic device, comprising:
at least one processor; and
a memory communicatively connected to the at least one processor; wherein,
the memory is configured to store instructions executable by the at least one processor, and the at least one processor is configured to execute the instructions to perform:
acquiring, text to speech (TTS) tasks to be processed and software identifiers corresponding to the TTS tasks, on a terminal device;
determining a current scene of the terminal device;
determining priorities corresponding to the software identifiers in the current scene;
acquiring a sorting result by sorting the TTS tasks based on the priorities corresponding to the software identifiers; and
executing the TTS tasks based on the sorting result.

### Claim 9 (depends on 8)

The device of claim 8, wherein the at least one processor is configured to execute the instructions to perform:
deleting a TTS task that has been executed from the sorting result.

### Claim 10 (depends on 8)

The device of claim 8, wherein the at least one processor is configured to execute the instructions to perform:
acquiring a priority list corresponding to the current scene; and
acquiring the priorities corresponding to the software identifiers from the priority list; wherein, the priority list comprises a software identifier of each software and a corresponding priority on the terminal device in the current scene.

### Claim 11 (depends on 8)

The device of claim 8, wherein the at least one processor is configured to execute the instructions to perform:
updating the sorting result based on updated TTS tasks in response to the TTS tasks changing and a changing type being adding newly a TTS task to be processed.

### Claim 12 (depends on 8)

The device of claim 8, wherein the at least one processor is configured to execute the instructions to perform:
determining a target TTS task from the sorting result, wherein, the target TTS task is a feedback TTS task for a voice instruction;
acquiring a software state of a software identifier corresponding to the target TTS task in a process of executing the target TTS task; and
stopping executing the target TTS task in response to the software state being abnormal.

### Claim 13 (depends on 8)

The device of claim 8, wherein the at least one processor is configured to execute the instructions to perform:
receiving a TTS task and a software identifier corresponding to the TTS task from each software on the terminal device; and
for each TTS task, determining that the TTS task is a TTS task to be processed in response to the software identifier corresponding to the TTS task existing in a registered list; wherein, the registered list comprises a software identifier of each registered software.

### Claim 14 (depends on 8)

The device of claim 8, wherein the at least one processor is configured to execute the instructions to perform:
acquiring a text in the TTS task;
acquiring a voice having a pronunciation feature corresponding to a speaker's identifier by voice conversion on the text based on the pronunciation feature, wherein, the speaker's identifier is determined based on a speaker's selection instruction received; and
invoking a player to broadcast the voice.

### Claim 15

A non-transitory computer-readable storage medium stored with computer instructions, wherein, the computer instructions are configured to perform a method for text to speech (TTS) when performed by the computer, the method comprising:
acquiring, TTS tasks to be processed and software identifiers corresponding to the TTS tasks, on a terminal device;
determining a current scene of the terminal device;
determining priorities corresponding to the software identifiers in the current scene;
acquiring a sorting result by sorting the TTS tasks based on the priorities corresponding to the software identifiers; and
executing the TTS tasks based on the sorting result.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein determining the priorities corresponding to the software identifiers in the current scene, comprising:
acquiring a priority list corresponding to the current scene; and
acquiring the priorities corresponding to the software identifiers from the priority list; wherein, the priority list comprises a software identifier of each software and a corresponding priority on the terminal device in the current scene.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the method comprises:
updating the sorting result based on updated TTS tasks in response to the TTS tasks changing and a changing type being adding newly a TTS task to be processed.

### Claim 18 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the method comprises:
determining a target TTS task from the sorting result, wherein, the target TTS task is a feedback TTS task for a voice instruction;
acquiring a software state of a software identifier corresponding to the target TTS task in a process of executing the target TTS task; and
stopping executing the target TTS task in response to the software state being abnormal.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein acquiring the TTS tasks to be processed and the software identifiers corresponding to the TTS tasks, on the terminal device, comprises:
receiving a TTS task and a software identifier corresponding to the TTS task from each software on the terminal device; and
for each TTS task, determining that the TTS task is a TTS task to be processed in response to the software identifier corresponding to the TTS task existing in a registered list; wherein, the registered list comprises a software identifier of each registered software.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the method further comprises:
acquiring a text in the TTS task;
acquiring a voice having a pronunciation feature corresponding to a speaker's identifier by voice conversion on the text based on the pronunciation feature, wherein, the speaker's identifier is determined based on a speaker's selection instruction received; and
invoking a player to broadcast the voice.
