Method, system, medium and device for realizing text-to-voice service based on GRPC

A voice service and text technology, applied in speech analysis, transmission system, speech synthesis, etc., can solve the problem of insufficient concurrency support, and achieve the effect of reducing transmission delay, reducing size, and improving transmission efficiency

Inactive Publication Date: 2021-09-28
四川云从天府人工智能科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The GRPC remote procedure call framework based on HTTP / 2.0, combined with multi-threading technology, solves the efficient transmission and service response of one-way streams, and at the same time greatly improves the utilization of server resources and solves the problem of insufficient support for concurrency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method, system, medium and device for realizing text-to-voice service based on GRPC
  • Method, system, medium and device for realizing text-to-voice service based on GRPC

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Some embodiments of the present invention are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present invention, and are not intended to limit the protection scope of the present invention.

[0035] In the description of the present invention, "module" and "processor" may include hardware, software or a combination of both. A module may include hardware circuits, various suitable sensors, communication ports, memory, and may also include software parts, such as program codes, or a combination of software and hardware. The processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor or any other suitable processor. The processor has data and / or signal processing functions. The processor can be implemented in software, hardware or a combination of both. The non-transitory computer readabl...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to natural language processing, particularly provides a method, a system, a medium and a device for realizing text-to-voice service based on GRPC, and aims to solve the problems of poor flexibility and poor expansibility of an existing text-to-voice method. In order to achieve the purpose, the method comprises the steps that an interface protocol for achieving the text-to-voice service is formulated in advance, a ProtoBuf compiler is used for compiling and generating a client side code and a server side code, ProtoBuf is used for serializing or de-serializing data, a conversion request sent by the client side is processed at the server side, and a processed result is returned to the client side. According to the method, the voice and audio data are serialized by using the ProtoBuf, the network transmission efficiency of a large audio file is greatly improved, a text-to-voice core algorithm is realized based on a GRPC remote procedure call lightweight framework, the deployment problem of real-time online text-to-voice and non-real-time text-to-voice is solved based on GRPC one-way streaming and non-streaming transmission, and the method has relatively high flexibility, expandability and concurrency capability.

Description

technical field [0001] The present invention relates to the field of natural language processing, in particular to a text-to-speech service method, system, storage medium and control device. Background technique [0002] Most of the current mainstream text-to-speech models are based on the Pytorch model. Although the Python environment and code are easier to deploy, there is a problem that it is difficult to encapsulate. The internal implementation of the code can be directly viewed on the client. In addition, the Python code also has the problem of low efficiency. When the service engine faces a high concurrency, the response time is slow and cannot meet the needs of users. It is usually necessary to use TorchScript to convert the Pytorch model, strip the Python environment features, convert it into a model that can be used by any other language, and then use other deep learning engines to deploy the model and provide services. [0003] However, according to different actu...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G10L13/08H04L29/06H04L29/08G06F40/289
CPCG10L13/08H04L67/02G06F40/289H04L67/133H04L67/01
Inventor 王金超晏超
Owner 四川云从天府人工智能科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products