Data query method, computer equipment and storage medium

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

Active Publication Date: 2021-07-09
HANGZHOU FUZAMEI TECH CO LTD
View PDF9 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 invention provides a data query method, computer equipment and a storage medium. The method comprises the following steps: 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 the first index query request to a first jvm query server, so that the first jvm query server loads a first jvm contract in the jvm according to the first jvm contract name, generates a first index according to each first query parameter, and returns the first index; receiving a first index, and querying a first query result in the blockchain database according to the first index; sending the first query result to a first jvm query server, so that the first jvm query server performs deserialization processing on the first query result in a jvm loading the first jvm contract to generate a second query result, and returning the second query result; and receiving a second query result, and returning the second query result to the first user side. The transaction execution performance is not influenced by high-concurrency calling of the virtual machine, and the tps of the blockchain system is improved.

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 Applications(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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products