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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


