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

Data transmission method based on interface asynchronous call, server and storage medium

A data transmission method and asynchronous calling technology, applied in the field of computer data transmission, can solve the problems of data transmission quality and server performance cannot be guaranteed, repeated calls, and call thread blocking, etc., to avoid repeated calls, ensure response speed, and ensure uniqueness. sexual effect

Active Publication Date:
View PDF10 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, each client transfers data by calling the server interface. Due to network delays, high concurrency and other reasons, problems such as repeated calls and reverse order calls may occur. For example, the interface call is successful, but the client does not receive the callback result due to network problems. Then call the interface again; as another example, the instantaneous high concurrency may cause the calling thread to block, resulting in reverse order calls, so that the quality of data transmission and server performance cannot be guaranteed

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 transmission method based on interface asynchronous call, server and storage medium
  • Data transmission method based on interface asynchronous call, server and storage medium
  • Data transmission method based on interface asynchronous call, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with several drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0042] The present invention provides a server. Reference figure 1 As shown, it is a schematic diagram of the application environment of the preferred embodiment of the server 1 of the present invention. In this embodiment, the server 1 is the executive body of the data transmission method based on the asynchronous call of the interface. The server 1 is connected to the first client 3 and the sec...

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 the big data transmission technology, and provides a data transmission method based on interface asynchronous call, a server and a computer readable storage medium. The methodcomprises the following steps: receiving an interface call request sent by a client, wherein the interface call request comprises primary key information, a data operation type and operation timestamp information; generating an asynchronous call task according to the interface call request, and storing the asynchronous call task in an asynchronous task table; and executing the asynchronous call task in the asynchronous task table, reading data returned by an interface, and transmitting the data to the client. By adoption of the data transmission method provided by the invention, the problem of call thread obstruction during high concurrency is solved by establishing the asynchronous task table, repeated call is avoided by using the primary key information, reverse call is prevented by using the operation timestamp information, the data transmission quality is improved, and the response speed of a server is improved.

Description

Technical field [0001] The present invention relates to the field of computer data transmission, in particular to a data transmission method, server and computer readable storage medium based on asynchronous calling of an interface. Background technique [0002] With the rapid development of Internet technology, network information resources have shown an explosive growth trend. In order to enable the communication of increasingly large amounts of information, computer data exchange technology has emerged. Among them, the data transmission between the client and the server is a research direction that is very worthy of attention. [0003] At present, each client transfers data by calling the server interface. Due to network delays, high concurrency and other reasons, problems such as repeated calls and reverse calls may occur. For example, the interface call is successful, but the client does not receive the callback result due to network problems. Therefore, the interface is call...

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/08G06F9/48
CPCG06F9/4806H04L67/51H04L67/60
Inventor 肖泉海
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