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

Data query method, computer equipment and storage medium

A computer equipment and data query technology, applied in the Internet field, can solve the problems of lowering the performance of transactions and reducing the tps of the blockchain system, so as to achieve the effect of ensuring real-time performance and improving tps

Active Publication Date: 2022-05-24
HANGZHOU FUZAMEI TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The problem with the above technical solution is that the query function is a highly concurrent function, that is, when many users send many query requests at the same time, the process of running the blockchain needs to call multiple virtual machines concurrently and continue to execute transactions , leading to a decrease in the performance of executing transactions, thereby reducing the tps of the entire blockchain system

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 query method, computer equipment and storage medium
  • Data query method, computer equipment and storage medium
  • Data query method, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for ease of description, only parts related to the invention are shown in the drawings.

[0029] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0030] figure 1 It is a flowchart of a data query method provided by an embodiment of the present invention.

[0031] like figure 1 As shown, in the present embodiment, the present invention provides a data query method suitable for blockchain nodes. Several centralized jvm query servers are con...

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 present invention provides a data query method, computer equipment and storage medium. The method includes: receiving a first user query request; generating a first index query request according to the first jvm contract name and each first query parameter and sending it to the first jvm The query server is used for the first jvm query server to load the first jvm contract in the jvm according to the name of the first jvm contract, generate the first index according to each first query parameter, and return it; receive the first index, according to the first index in the block The first query result is queried in the chain database; the first query result is sent to the first jvm query server, so that the first jvm query server can deserialize the first query result in the jvm that loads the first jvm contract. The second query result is generated and returned; the second query result is received, and the second query result is returned to the first client. The invention ensures that the performance of executing transactions is not affected by the high concurrent invocation of the virtual machine, and improves the tps of the blockchain system.

Description

technical field [0001] The present application relates to the technical field of the Internet, in particular to a data query method, computer equipment and storage media. Background technique [0002] In the existing blockchain system, the smart contract of the blockchain needs to be executed in a virtual machine (eg, EVM, JVM, etc.). [0003] Taking the blockchain system that loads and executes smart contracts through the JVM as an example, when a blockchain node processes a query request, it needs to load the smart contract corresponding to the query request in the JVM. [0004] The problem with the above technical solution is that the query function is a highly concurrent function, that is, when many users send many query requests at the same time, the process of running the blockchain needs to call multiple virtual machines concurrently and continue to execute transactions , leading to a reduction in the performance of its transaction execution, thereby reducing the tps...

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): G06F16/2455G06F16/27G06F9/455
CPCG06F16/27G06F9/45504G06F16/2455
Inventor 何正军袁兴强王志文吴思进
Owner HANGZHOU FUZAMEI 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