Formal Verification for Certificate Storage Smart Contracts
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The current smart contract development community lacks standardized security measures for certificate storage, making certificate storage smart contracts prone to security vulnerabilities.
Innovation Solution
A formal verification method and system are introduced for certificate storage smart contracts, involving compilation, standardization, and model verification using theorem provers to ensure security and reliability by defining abnormality conditions, parameter verification, and authority control.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If formal verification standardization is added to certificate storage smart contracts, then security and reliability are improved, but device complexity and development difficulty increase
Solution Approach 1:
The patent applies preliminary action by pre-defining standardization templates for formal verification that include abnormality conditions, parameter verification rules, and authority control mechanisms. These templates are prepared in advance and can be directly applied to certificate storage smart contracts, eliminating the need to create verification standards from scratch and reducing the perceived complexity while maintaining high reliability
Solution Approach 2:
The patent transforms the abstract concept of formal verification into concrete, verifiable parameters including abnormality conditions (certificate storage qualification, data validity, forensic token existence), parameter verification (incoming/outgoing parameters), and state transfer verification. By changing the verification process from a theoretical framework to specific parameter checks, the system achieves high reliability without overwhelming complexity
2Reliability
If comprehensive formal verification standardization is implemented, then security coverage is improved, but development time and cost increase
Solution Approach 1:
The patent reduces development time by pre-establishing comprehensive verification templates that cover all security aspects including abnormality conditions, parameter verification, and authority control. These templates are ready-to-use and can be applied systematically to different certificate storage scenarios, achieving comprehensive security coverage without proportionally increasing development time
Solution Approach 2:
The patent segments the formal verification process into distinct, manageable components: abnormality condition verification (certificate storage qualification, data validity, forensic token existence), parameter verification (incoming/outgoing parameters), state transfer verification, and authority control verification. This segmentation allows each component to be verified independently and systematically, reducing overall development time while maintaining comprehensive security coverage
3Ease of operation
If formal verification templates are standardized, then ease of operation is improved, but device complexity increases
Solution Approach 1:
The patent creates standardized verification templates that can be copied and applied to different certificate storage smart contracts. These templates include pre-defined abnormality conditions, parameter verification rules, and authority control mechanisms. By copying these proven templates rather than creating custom verification logic for each contract, developers achieve ease of operation while the underlying complexity is managed through standardization
Data Source
AI summary
A formal verification method for a certificate storage smart contract is provided. The method includes: obtaining the certificate storage smart contract, and performing certificate storage, forensic, and certificate storage and forensic authority granting according to different production environments and authority; adding standardization statements of formal standardization into the certificate storage smart contract; and obtaining a verification result by performing model verification on the certificate storage smart contract into which the standardization statements of the formal verification are added. A computer device and a non-transitory computer-readable storage medium are further provided.

