Two-Dimensional Code Image Generation for Offline Verification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

There is a need to verify the authenticity of two-dimensional codes offline, as existing methods rely on network access and cannot detect tampering without it.

Innovation Solution

An image generation method and device that parses an original two-dimensional code into a two-dimensional array and generates an image based on a preset pattern, allowing offline verification by comparing the resulting image with the original pattern.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If network access is used for two-dimensional code verification, then verification reliability is improved, but device complexity and operational constraints increase

Engineering Contradiction:
Improveverification reliabilityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts the verification function from the network-dependent scanning process and implements it through local image generation and visual comparison. The core verification logic is extracted and embedded directly into the code generation process, eliminating the need for network access during verification.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The two-dimensional code system performs self-verification through the generated image pattern. The code structure itself contains the verification information, and the visual comparison process is performed locally by the user without requiring external network services or complex verification systems.

Inventive Principle:
Principle #25Self-service

2Adaptability or versatility

If visual cryptography schemes are used for offline verification, then network independence is improved, but manufacturing and implementation complexity increases

Engineering Contradiction:
Improveoffline verification capabilityVSAvoidimplementation ease
Core Design Contradiction:
Adaptability or versatilityVSEase of manufacture

Solution Approach 1:

The patent segments the verification process into simple visual comparison steps rather than complex cryptographic operations. The two-dimensional code is divided into recognizable patterns that can be visually compared, making the verification process simple to implement and understand without requiring complex manufacturing or cryptographic knowledge.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentEP3568799B1Image generation method and device
Publication Date: 2021.08.04 ADVANCED NEW TECHNOLOGIES CO LTD
  • EP3568799B1 patent drawingFigure 1~2B
  • EP3568799B1 patent drawingFigure 2C~3
  • EP3568799B1 patent drawingFigure 4A~4B

AI summary

The present application discloses an image generation method and device. The method includes: parsing an original two-dimensional code into a two-dimensional array; and generating an image by using the two-dimensional array according to a preset pattern. The method can generate an image by using an original two-dimensional code on the basis of a preset pattern thereby verifying the original two-dimensional code by using the image. In this way, it can be judged, when there is no network available, whether the two-dimensional code is tampered. The present application has abundant use scenarios, is not limited by networks or mobile terminals, and makes two- dimensional code verification more interesting.