Unlock instant, AI-driven research and patent intelligence for your innovation.

A voice interaction method, apparatus, computer equipment and storage medium

A voice interaction and device-side technology, applied in the field of data processing, can solve problems such as increasing user waiting time, TCP connection disconnection, and reducing user experience, so as to improve user experience and reduce waiting time

Active Publication Date: 2022-07-01
AISPEECH CO LTD
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of implementing the present invention, the inventor found that the existing technology has the following defects: in a weak network environment, the TCP connection may be disconnected and needs to be reconnected, and the TCP connection needs to consume three RTTs, which is time-consuming
Moreover, retransmitting the voice message after reconnection increases the user's waiting time and reduces the user experience

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
  • A voice interaction method, apparatus, computer equipment and storage medium
  • A voice interaction method, apparatus, computer equipment and storage medium
  • A voice interaction method, apparatus, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] figure 1 This is a flowchart of a voice interaction method provided in Embodiment 1 of the present invention. This embodiment can be applied to the situation where a device end initiates a voice interaction request in a weak network environment. The method can be executed by a voice interaction device, which can be performed by software and / or hardware, and can generally be integrated in a server.

[0025] like figure 1 As shown, the technical solution of the embodiment of the present invention specifically includes the following steps:

[0026] S110. Obtain the QUIC connection request sent by the device.

[0027] Among them, the function of QUIC (Quick UDP Internet Connection, UDP-based fast Internet connection) connection request can be used to make a QUIC connection for the request. QUIC is a UDP-based low-latency Internet transport layer protocol. One of the main goals of QUIC is to reduce Connection delay. When the device connects to the server for the first tim...

Embodiment 2

[0039] figure 2 This is a flow chart of a voice interaction method provided in Embodiment 2 of the present invention. Based on the above embodiments, this embodiment of the present invention further specifies the process of receiving a voice interaction message and generating an interaction response message.

[0040] correspondingly, as figure 2 As shown, the technical solution of the embodiment of the present invention specifically includes the following steps:

[0041] S210. Obtain the QUIC connection request sent by the device.

[0042] S220, parse the QUIC connection request through the QUIC protocol adaptation service cluster to obtain a QUIC connection identifier.

[0043] Among them, the QUIC protocol adaptation service cluster can be set on the server side to establish the mapping between the QUIC connection and the websocket connection, and to convert the communication protocol of the message. The QUIC connection identifier can be set in the QUIC connection reque...

Embodiment 3

[0071] Figure 4 It is a schematic structural diagram of a voice interaction device provided in Embodiment 3 of the present invention. The device includes: a QUIC connection request acquisition module 310 , an interaction response message generation module 320 , and an interaction response message feedback module 330 .

[0072] The QUIC connection request obtaining module 310 is used to obtain the QUIC connection request sent by the device;

[0073] An interaction response message generation module 320, configured to receive a voice interaction message sent by the device through a QUIC connection that matches the QUIC connection request, and generate an interaction response message that matches the voice interaction message;

[0074] The interaction response message feedback module 330 is configured to feed back the interaction response message to the device.

[0075] In the technical solution of this embodiment, a QUIC connection is established between the device and the ser...

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 discloses a voice interaction method, device, computer equipment and storage medium. The method includes: acquiring a QUIC connection request sent by a device; receiving a voice interaction message sent by the device through a QUIC connection matching the QUIC connection request, and generating an interaction response matching the voice interaction message message; feedback the interaction response message to the device end. By using the technical solutions of the embodiments of the present invention, normal communication between the device end and the server end in a weak network environment can be realized.

Description

technical field [0001] Embodiments of the present invention relate to data processing technologies, and in particular, to a voice interaction method, apparatus, computer equipment, and storage medium. Background technique [0002] The intelligent voice service has been more and more widely used in people's life. The intelligent voice service system can receive the voice request sent by the user and return the voice processing result to the user. [0003] The communication between the device end and the server end of the existing intelligent voice service system mostly adopts the protocol based on the TCP (Transmission Control Protocol, Transmission Control Protocol) connection, which needs to establish a TCP connection between the device end and the server end in advance, and the TCP connection needs to be The three-way handshake process requires three RTTs (TransmissionControl Protocol, round-trip delay). [0004] In the process of implementing the present invention, the i...

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 Patents(China)
IPC IPC(8): H04L67/141H04L69/08H04L69/22G10L15/18G10L15/22G10L15/30G10L15/34
CPCH04L67/141H04L69/08H04L69/22G10L15/1822G10L15/22G10L15/30G10L15/34G10L2015/223
Inventor 吴旺张顺
Owner AISPEECH CO LTD