# US 2021/0082394 A1 · Method, apparatus, device and computer storage medium for generating speech packet

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

- Number: US 2021/0082394 A1
- Document ID: US20210082394A1
- Status: Published application
- Kind: A1
- Application number: 16/988,354
- Filed: 2020-08-07
- Published: 2021-03-18
- Earliest claimed: 2019-09-16
- Assignees: Baidu Online Network Technology (Beijing) Co., Ltd.
- Applicants: Baidu Online Network Technology (Beijing) Co., Ltd
- Inventors: Jizhou HUANG; Ying LI; Yongzhi JI; Lei JIA
- Web page: https://patentgrep.com/patent/US20210082394A1

## CPC

- G10L 13/04: Details of speech synthesis systems, e.g. synthesiser structure or memory management
- G10L 13/047: Architecture of speech synthesisers
- G06F 3/167: {Audio in a user interface, e.g. using voice commands for navigating, audio feedback}
- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L 15/30: Distributed recognition, e.g. in client-server systems, for mobile phones or network applications
- G10L 25/60: for measuring the quality of voice signals
- G10L 15/26: Speech to text systems (G10L15/08 takes precedence)
- 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, device and computer storage medium for generating a speech packet which relates to the technical field of speech are disclosed. The method may include: providing a speech recording interface to a user; obtaining speech data entered by the user after obtaining an event of triggering speech recording on the speech recording interface; uploading the speech data to a server side in response to determining that the speech data meets requirements for training a speech synthesis model; receiving a downloading address of the speech packet generated by the server side after training the speech synthesis model with the speech data. An ordinary user may customize a personalized speech packet through the speech recording interface provided by the client, without using professional recording equipment, which may substantially reduce the production cost of the speech packet.

## Claims

### Claim 1

A method for generating a speech packet, implemented in a client, wherein the method comprises:
providing a speech recording interface to a user;
obtaining speech data entered by the user after obtaining an event of triggering speech recording on the speech recording interface;
uploading the speech data entered by the user to a server side in response to determining that the speech data entered by the user meets requirements for training a speech synthesis model; and
receiving a downloading address of the speech packet generated by the server side after training the speech synthesis model with the speech data.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the event of triggering speech recording comprises at least one of:
detecting a gesture of triggering speech recording on the speech recording interface; or
receiving a speech instruction of triggering speech recording from the user when the speech recording interface is displayed.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the obtaining speech data entered by the user comprises:
displaying on the speech recording interface a preset text sentence and/or playing a voicing sentence corresponding to the text sentence; and
obtaining the speech data entered by the user according to the text sentence and/or voicing sentence displayed.

### Claim 4 (depends on 3)

The method according to claim 3, further comprising:
obtaining a speech recognition result by recognizing the speech data entered by the user; and
comparing the speech recognition result with the text sentence to judge whether the speech data entered by the user meets a recording quality requirement.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the requirements for training the speech synthesis model comprises at least one of:
the speech data entered by the user meets a recording quality requirement; or
an amount of the speech data entered by the user meets a preset amount requirement.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the uploading the speech data entered by the user to a server side in response to determining that the speech data entered by the user meets requirements for training a speech synthesis model comprises:
judging whether a current piece of speech data entered by the user meets the recording quality requirement,
in response to determining that the current piece of speech data entered by the user meets the recording quality requirement, obtaining a next piece of speech data entered by the user until the amount of speech data entered by the user meeting the recording quality requirement meets a preset amount requirement; and
in response to determining that the current piece of speech data entered by the user does not meet the recording quality requirement, prompting the user to re-enter the current piece of speech data.

### Claim 7 (depends on 1)

The method according to claim 1, further comprising: before obtaining the speech data entered by the user,
displaying voice class options on the speech recording interface; and
obtaining voice class information selected by the user and updating the voice class information to the server side to train the speech synthesis model.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the uploading the speech data entered by the user to a server side in response to determining that the speech data entered by the user meets requirements for training a speech synthesis model comprises:
displaying on the speech recording interface a component for uploading the speech data, in response to determining that the speech data entered by the user meets the requirements for training the speech synthesis model; and
uploading the speech data entered by the user to the server side after obtaining an event of the user triggering the component for uploading the speech data.

### Claim 9 (depends on 1)

The method according to claim 1, further comprising:
displaying a downloading link of the speech packet, wherein the downloading link includes the downloading address of the speech packet; and
downloading the speech packet from the server side after obtaining an event of the user triggering the downloading link, and integrating the speech packet to the client so that the client performs speech broadcast using the speech packet.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the client performing speech broadcast using the speech packet comprises one of:
sending a broadcast text and model parameters included in the speech packet to the server side, so that the server side performs speech synthesis with the text and the model parameters to obtain a broadcast speech; or
invoking the speech synthesis model so that the speech synthesis model performs speech synthesis with the broadcast text and model parameters included in the speech packet to obtain the broadcast speech.

### Claim 11

A method for generating a speech packet, implemented in a server side, wherein the method comprises:
obtaining speech data uploaded by a client, wherein the speech data is entered by a user through a speech recording interface provided by the client;
training a speech synthesis model with the speech data to generate a speech packet, wherein the speech packet includes model parameters obtained by training the speech synthesis model; and
sending a downloading address of the speech packet to the client.

### Claim 12 (depends on 11)

The method according to claim 11, further comprising:
sending the client a text sentence and/or a voicing sentence corresponding to the text sentence, so that the user enters speech data according to the text sentence and/or voicing sentence displayed on the client.

### Claim 13

An electronic device, implemented in a client side, wherein the electronic device comprises:
at least one processor; and
a storage communicatively connected with the at least one processor; wherein,
the storage stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform a method for generating a speech packet, wherein the method comprises:
providing a speech recording interface to a user;
obtaining speech data entered by the user after obtaining an event of triggering speech recording on the speech recording interface;
uploading the speech data entered by the user to a server side in response to determining that the speech data entered by the user meets requirements for training a speech synthesis model; and
receiving a downloading address of the speech packet generated by the server side after training the speech synthesis model with the speech data.

### Claim 14 (depends on 13)

The electronic device according to claim 13, wherein the obtaining speech data entered by the user comprises:
displaying on the speech recording interface a preset text sentence and/or playing a voicing sentence corresponding to the text sentence; and
obtaining the speech data entered by the user according to the text sentence and/or voicing sentence displayed.

### Claim 15 (depends on 13)

The electronic device according to claim 13, wherein the method further comprising:
displaying a downloading link of the speech packet, wherein the downloading link includes the downloading address of the speech packet; and
downloading the speech packet from the server side after obtaining an event of the user triggering the downloading link, and integrating the speech packet to the client so that the client performs speech broadcast using the speech packet.

### Claim 16 (depends on 15)

The electronic device according to claim 15, wherein the client performing speech broadcast using the speech packet comprises one of:
sending a broadcast text and model parameters included in the speech packet to the server side, so that the server side performs speech synthesis with the text and the model parameters to obtain a broadcast speech; or
invoking the speech synthesis model so that the speech synthesis model performs speech synthesis with the broadcast text and model parameters included in the speech packet to obtain the broadcast speech.

### Claim 17

An electronic device, implemented in a server side, wherein the electronic device comprises:
at least one processor; and
a storage communicatively connected with the at least one processor; wherein,
the storage stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform a method for generating a speech packet, wherein the method comprises:
obtaining speech data uploaded by a client, wherein the speech data is entered by a user through a speech recording interface provided by the client;
training a speech synthesis model with the speech data to generate a speech packet, wherein the speech packet includes model parameters obtained by training the speech synthesis model; and
sending a downloading address of the speech packet to the client.

### Claim 18 (depends on 17)

The electronic device according to claim 17, wherein the method further comprises:
sending the client a text sentence and/or a voicing sentence corresponding to the text sentence, so that the user enters speech data according to the text sentence and/or voicing sentence displayed on the client.

### Claim 19

A non-transitory computer-readable storage medium storing computer instructions therein, wherein the computer instructions are used to cause the computer to perform a method for generating a speech packet, wherein the method comprises:
providing a speech recording interface to a user;
obtaining speech data entered by the user after obtaining an event of triggering speech recording on the speech recording interface;
uploading the speech data entered by the user to a server side in response to determining that the speech data entered by the user meets requirements for training a speech synthesis model; and
receiving a downloading address of the speech packet generated by the server side after training the speech synthesis model with the speech data.

### Claim 20

A non-transitory computer-readable storage medium storing computer instructions therein, wherein the computer instructions are used to cause the computer to perform a method for generating a speech packet, implemented in a server side, wherein the method comprises:
obtaining speech data uploaded by a client, wherein the speech data is entered by a user through a speech recording interface provided by the client;
training a speech synthesis model with the speech data to generate a speech packet, wherein the speech packet includes model parameters obtained by training the speech synthesis model; and
sending a downloading address of the speech packet to the client.
