Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data interaction method and server

A data interaction and server technology, applied in the field of data interaction, can solve the problems of server downtime, long connection establishment time, reducing the creation success rate, affecting client service calls, etc., to achieve the effect of improving performance

Pending Publication Date: 2020-08-25
UBTECH ROBOTICS CORP LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this case, if the client’s demand for concurrent establishment of connections is too large in a short period of time, the server will not have enough resources to create a large number of new connections in a short period of time, which will cause some connections on the client side to fail.
Furthermore, the server needs to allocate resources to perform speech synthesis services for the interactive data transmitted by the long-term connection in normal use. In this case, if some resources are divided to create a long-term connection, it will easily cause the server to go down, thereby further improving the long-term connection establishment. Time-consuming and reduce the success rate of creation, affecting client service calls

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
  • Data interaction method and server
  • Data interaction method and server
  • Data interaction method and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.

[0028] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude one or more other Presence or addition of features, wholes, steps, operations, elements, components and / or collections thereof.

[0029] It should...

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 is suitable for the field of data interaction, and provides a data interaction method and a server, and the method comprises the steps: pre-configuring attribute parameters of a connection pool, and building the connection pool based on the attribute parameters, wherein the attribute parameters comprise a minimum connection number and a maximum connection number; monitoring the totalnumber of websocket long connections in the connection pool in real time; if a creation instruction about the websocket long connection is detected and the total number of connections is smaller thanthe maximum number of connections, creating a new websocket long connection to respond to the creation instruction; and if a release instruction about the websocket long connection is detected and the total number of connections is greater than the minimum number of connections, releasing the websocket long connection corresponding to the release instruction to respond to the release instruction.According to the method provided by the invention, the websocket long connection is established by reusing the connection in the connection pool so as to perform data interaction, so that when the request of establishing the connection is responded, the requirement of establishing the connection to realize the data interaction can be met, and server resources can be saved.

Description

technical field [0001] The present application belongs to the field of data interaction, and in particular relates to a data interaction method and server. Background technique [0002] In the speech synthesis service, it is necessary to establish a connection between the speech access system (client) and the speech synthesis system (server server) to realize data interaction. When the speech synthesis system receives the voice data sent by the speech access system Need to perform speech synthesis operation, and then return the result of speech synthesis to the client. The current common practice is to establish a long-term connection based on the websocket protocol, build it as you use it, and discard it after use. In this case, if the client’s demand for concurrent establishment of connections is too large in a short period of time, the server will not have enough resources to create a large number of new connections in a short period of time, which will cause some connec...

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): H04L29/08G10L13/02G10L13/04
CPCH04L67/14H04L67/02G10L13/02G10L13/04
Inventor 许锋刚熊友军
Owner UBTECH ROBOTICS CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products