Zero-knowledge proof circuit optimization method and device, terminal equipment and storage medium

A zero-knowledge proof and optimization method technology, applied in the field of zero-knowledge proof circuit optimization, can solve problems such as low execution efficiency, poor circuit constraint correlation, and circuit constraint redundancy, so as to reduce the possibility of errors and improve operating efficiency. Effect

Active Publication Date: 2022-01-28
HANGZHOU QULIAN TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, it is inevitable that there will be problems with the circuit constraints under a given combination, that is, there may be risks of redundancy and errors in a given circuit constraint
At the same time, when the existing circuit constraints are optimized to a certain extent, it is easy to lead to poor correlation of the optimized circuit constraints and low execution efficiency.

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
  • Zero-knowledge proof circuit optimization method and device, terminal equipment and storage medium
  • Zero-knowledge proof circuit optimization method and device, terminal equipment and storage medium
  • Zero-knowledge proof circuit optimization method and device, terminal equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0067] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of this application.

[0068] In the description of the present application, it should be understood that the terms "first" and "second" are used for description purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Thus, a feature defined as "first" and "second" may explicitly or implicitly include one or more of these features. In the description of the present application, "plurality" means two or more, unless o...

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 zero-knowledge proof circuit optimization method and device, terminal equipment and a storage medium. The method comprises the following steps: constructing an abstract syntax tree of an initial zero-knowledge proof circuit; optimizing an initial circuit constraint of the initial zero-knowledge proof circuit according to the abstract syntax tree; and carrying out association classification on the optimized initial circuit constraints to obtain circuit constraints of different classifications of the zero-knowledge proof circuit, and running the circuit constraints of different classifications in parallel in the zero-knowledge proof circuit. According to the zero-knowledge proof circuit optimization method provided by the invention, original circuit constraints in the zero-knowledge proof circuit can be optimized, some unnecessary circuit constraints in the zero-knowledge proof circuit are eliminated, and the possibility of circuit constraint errors is reduced. Meanwhile, the optimized circuit constraints are correspondingly associated, so that the associated circuit constraints have context relevance, and the operation efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of cryptography, in particular to a zero-knowledge proof circuit optimization method, device, terminal equipment and storage medium. Background technique [0002] Zero-knowledge proof means that the prover can convince the verifier that a certain assertion is correct without providing any useful information to the verifier. Prior to this, the focus of research on proof in the field of cryptography was to improve the reliability of the system, that is, to prevent malicious provers from passing the verification. Zero-knowledge proof also adds a restriction on this basis, that is, to ensure that the private information of the prover will not be disclosed during the verification process. This requirement can be seen everywhere in actual scenarios. For example, people do not want to disclose transaction-related information to outsiders or even transfer objects during the transfer process, and they do n...

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): G06F8/41
CPCG06F8/425G06F8/427G06F8/4441
Inventor 张珂杰邱炜伟姜睿颖乔沛杨黄方蕾
Owner HANGZHOU QULIAN 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