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

Method and device for converting asynchronous call into synchronous call, equipment and storage medium

An asynchronous call and asynchronous technology, applied in the computer field, can solve problems such as conflicting operation data, dirty reads, data exceptions, etc., and achieve the effect of ensuring correctness, avoiding data dirty reads, and avoiding conflicting operations

Pending Publication Date: 2020-08-07
BEIJING TONGBANGZHUOYI TECH CO LTD
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Most of the APIs (Application Programming Interface, Application Programming Interface) provided in the applet are asynchronous operations, which are likely to cause data exceptions, conflicting operations, and data dirty reads. Synchronous operations can ensure the correctness of program operation and data integrity, so Need a way to convert asynchronous calls to applets into synchronous 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
  • Method and device for converting asynchronous call into synchronous call, equipment and storage medium
  • Method and device for converting asynchronous call into synchronous call, equipment and storage medium
  • Method and device for converting asynchronous call into synchronous call, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0028] Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities ...

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 provides a method and device for converting asynchronous calling to synchronous calling of an applet, equipment and a storage medium. The method comprises the steps of: sending an asynchronous calling request to an application program interface API of the applet; waiting to finish calling the API based on an asynchronous waiting mechanism; and after the calling of the API is completed, executing subsequent operation. According to the method, conflict operation and dirty data reading can be avoided, and the correctness of program running and the integrity of data are guaranteed.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular to a method, device, device and storage medium for converting an asynchronous call to a small program into a synchronous call. Background technique [0002] Most of the APIs (Application Programming Interface, Application Programming Interface) provided in the applet are asynchronous operations, which are likely to cause data exceptions, conflicting operations, and data dirty reads. Synchronous operations can ensure the correctness of program operation and data integrity, so A method for converting an asynchronous call to a small program into a synchronous call is needed. [0003] It should be noted that the information disclosed in the above background section is only for enhancing the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to those of ordinary skill in the art. C...

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
IPC IPC(8): G06F9/448G06F9/445G06F8/41G06F8/30
CPCG06F9/4482G06F9/44526G06F8/41G06F8/315
Inventor 孟美琪
Owner BEIJING TONGBANGZHUOYI TECH CO 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