Dynamic-Background QR Codes for Screenshot Authenticity

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing two-dimensional codes lack dynamic background images, making it difficult to distinguish between original and screenshot-generated codes, which poses security risks in scenarios like payment or authentication.

Innovation Solution

A method and apparatus that generate a two-dimensional code on a terminal device using a camera to capture real-time surroundings, incorporating a dynamic background image and setting a threshold to create gaps between color blocks, optionally with blurring processing to enhance security and scanning reliability.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a static two-dimensional code is displayed without background image or with same background image, then the code structure is simple and easy to generate, but it is difficult to distinguish whether the code is from screenshot or original, reducing security

Engineering Contradiction:
ImprovesecurityVSAvoidcode structure complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies dynamics by replacing static background images with real-time camera capture images that continuously change. The camera captures the surrounding environment in real-time and displays it as the background behind the two-dimensional code, making the code dynamic and time-dependent. This resolves the contradiction by enhancing security through dynamic content while maintaining relatively simple code generation logic.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the parameter of background image from static to dynamic by introducing real-time camera capture. The background image parameter is transformed from a fixed file to a continuously updating video stream, which enhances security without fundamentally changing the two-dimensional code structure itself.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If gaps are formed between adjacent color blocks by setting a preset threshold, then the camera real-time capturing picture becomes visible through the gap enhancing security, but the manufacturing precision of the two-dimensional code structure is reduced

Engineering Contradiction:
ImprovesecurityVSAvoidcode block precision
Core Design Contradiction:
ReliabilityVSManufacturing precision

Solution Approach 1:

The patent applies local quality by creating gaps only between adjacent color blocks while maintaining the integrity of individual color blocks themselves. The gaps are strategically placed in the interstices between blocks, allowing the background to show through without compromising the encoding information within each block. This resolves the contradiction by providing security through selective transparency while preserving code readability.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent segments the two-dimensional code structure by introducing gaps between color blocks, effectively dividing the continuous code pattern into separated elements. This segmentation allows the background to be visible through the gaps while maintaining the overall code structure, balancing security requirements with code integrity.

Inventive Principle:
Principle #1Segmentation

3Reliability

If blurring processing is performed on the camera real-time capturing picture, then the scanning reliability of the two-dimensional code is improved, but the visibility of the background image is reduced

Engineering Contradiction:
Improvescanning reliabilityVSAvoidbackground image visibility
Core Design Contradiction:
ReliabilityVSIllumination intensity

Solution Approach 1:

The patent changes the parameter of background image visibility by applying blurring processing. The blur effect reduces the sharpness and contrast of the background, making it less visually prominent while still allowing it to be discernible. This resolves the contradiction by improving scanning reliability through reduced visual interference while maintaining sufficient background visibility to show that real-time capture is occurring.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentEP3812967B1Qr code generation method and apparatus for terminal device
Publication Date: 2025.09.10 BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
  • EP3812967B1 patent drawingFigure 1
  • EP3812967B1 patent drawingFigure 2
  • EP3812967B1 patent drawingFigure 3

AI summary

Disclosed in embodiments of the present application are a QR code generation method and apparatus for a terminal device. The terminal device comprises a camera. A specific implementation mode of the method comprises: receiving a QR code generation instruction input by a user, wherein the QR code generation instruction comprises a QR code information; starting a camera, and generating a camera real-time photographing picture; and generating a real-time picture displaying the QR code based on the QR code information and the generated camera real-time photographing picture. The implementation mode enables the user to clearly distinguish whether the QR code is an originally generated QR code, thereby improving the security of the QR code.