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

Smart contract deployment and calling method and device

A technology of smart contracts and call requests, applied in data processing applications, instruments, digital data protection, etc., can solve problems such as opaque business logic and inflexible database calls, and achieve the effect of solving opaque business logic

Active Publication Date: 2019-06-04
BEIJING ZHONGXIANG BIT TECH
View PDF7 Cites 40 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the existing system only supports basic operations such as creation, authorization, addition, deletion, modification, and query of database tables on the chain. If users want to use this system to complete complex business logic, they need to develop an additional set of centralized system to call the basic operations of these tables
There are two problems in the above-mentioned blockchain system that supports database operations: one is that the business logic of database operations is opaque and is outside the blockchain; the other is that the call to the database is not flexible enough

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
  • Smart contract deployment and calling method and device
  • Smart contract deployment and calling method and device
  • Smart contract deployment and calling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] 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.

[0041] 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.

[0042] Blockchain database system, including blockchain network and database. The blockchain network includes at least one blockchain node, and each blockchain node can be configured with a corresponding database. The type of database is not limited to DB2 database, Firebird (Firebird) database, ...

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 discloses an intelligent contract deployment and calling method and device. The intelligent contract deployment method is executed by block chain nodes and comprises the steps of receiving a first transaction containing byte codes of an intelligent contract, wherein the intelligent contract is compiled and compiled in advance according to business logic, and the business logic comprises at least one basic operation on a table of a database; Sending the first transaction to a block chain network consensus to obtain a calling address corresponding to the smart contract; And sendingthe calling address to a client which submits the first transaction. According to the technical scheme provided by the embodiment of the invention, the intelligent contract is deployed to the blockchain network, so that the service logic is linked through the intelligent contract, and the problem that the service logic is opaque is well solved.

Description

technical field [0001] This application generally relates to the technical field of data storage, and in particular relates to smart contract deployment and calling methods and devices. Background technique [0002] In the existing technology, the system that combines the blockchain and the database, the user can send the corresponding transaction to the blockchain like an ordinary database, the transaction will be recorded in the blockchain network, and will be reflected in the underlying database come out. The system realizes the separation of database operation records and implementation, which greatly improves the security and flexibility of traditional databases. [0003] However, the existing system only supports basic operations such as creation, authorization, addition, deletion, modification, and query of database tables on the chain. If users want to use this system to complete complex business logic, they need to develop an additional set of centralized The syst...

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): G06F21/62G06Q40/04
Inventor 路京磊卢小明陈姝
Owner BEIJING ZHONGXIANG BIT TECH
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