IP Library Granted Patent US 11,068,682
Granted Patent B2
US 11,068,682 · App. 17/044,063 · Granted Jul 20, 2021

QR code generation method and apparatus for terminal device

Inventor: Yonghua Chen (Beijing, CN)
Assignees: BEIJING JINGDONG SHANGKE INFORMATION TECHNOLOGY CO., LTD.; BEIJING JINGDONG CENTURY TRADING CO., LTD.
G06K7/1417G06K7/1473G06K19/06037G06T5/002H04N5/23293G06Q20/3276
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,068,682
App. No.
17/044,063
Granted
Jul 20, 2021
Kind
B2
Abstract

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.

Claims (37)

1. A two-dimensional code generation method applied to a terminal device, the terminal device comprising a camera, the method comprising:

receiving a two-dimensional code generation instruction input by a user, wherein the two-dimensional code generation instruction comprises two-dimensional code information;

starting the camera to generate a camera real-time capturing picture; and

generating a real-time picture displaying the two-dimensional code based on the two-dimensional code information and the generated camera real-time capturing picture, wherein the generating a real-time picture displaying a two-dimensional code based on the two-dimensional code information and the generated camera real-time capturing picture comprises:

setting a target error tolerance rate of the two-dimensional code, wherein the target error tolerance rate is greater than a second preset threshold; and

converting the two-dimensional code information into the two-dimensional code based on the target error tolerance rate, and displaying the generated two-dimensional code on the generated camera real-time capturing picture.

2. The method according to claim 1 , wherein the generating a real-time picture displaying a two-dimensional code based on the two-dimensional code information and the generated camera real-time capturing picture further comprises:

performing blurring processing on the camera real-time capturing picture.

3. The method according to claim 1 , wherein after generating a real-time picture displaying the two-dimensional code based on the two-dimensional code information and the generated camera real-time capturing picture, the method further comprises:

setting a distance value between adjacent color blocks in the two-dimensional code as a first preset threshold.

4. The method according to claim 1 , wherein the method further comprises:

turning off the camera in response to receiving a two-dimensional code turn-off command input by the user.

5. A two-dimensional code generating apparatus applied to a terminal device, the terminal device comprising a camera, the apparatus comprising:

a processor and a memory storing computer readable instructions, wherein the instructions, when executed by the processor, cause the processor to perform operations, the operations comprising:

receiving a two-dimensional code generation instruction input by a user, wherein the two-dimensional code generation instruction comprises two-dimensional code information;

starting the camera to generate a camera real-time capturing picture;

generating a real-time picture displaying the two-dimensional code based on the two-dimensional code information and the generated camera real-time capturing picture, wherein the generating a real-time picture displaying a two-dimensional code based on the two-dimensional code information and the generated camera real-time capturing picture comprises:

setting a target error tolerance rate of the two-dimensional code, wherein the target error tolerance rate is greater than a second preset threshold; and

converting the two-dimensional code information into the two-dimensional code based on the target error tolerance rate, and displaying the generated two-dimensional code on the generated camera real-time capturing picture.

6. The apparatus according to claim 5 , wherein the generating a real-time picture displaying a two-dimensional code based on the two-dimensional code information and the generated camera real-time capturing picture further comprises:

performing blurring processing on the camera real-time capturing picture.

7. The apparatus according to claim 5 , wherein after generating a real-time picture displaying the two-dimensional code based on the two-dimensional code information and the generated camera real-time capturing picture, the operations further comprise:

setting a distance value between adjacent color blocks in the two-dimensional code as a first preset threshold.

8. The apparatus according to claim 5 , wherein the operations further comprise:

turning off the camera in response to receiving a two-dimensional code turn-off command input by a user.

9. A non-transitory computer readable medium storing a computer program, wherein the program, when executed by a processor, causes the processor to perform operations, the operations comprising:

receiving a two-dimensional code generation instruction input by a user, wherein the two-dimensional code generation instruction comprises two-dimensional code information;

starting the camera to generate a camera real-time capturing picture; and

generating a real-time picture displaying the two-dimensional code based on the two-dimensional code information and the generated camera real-time capturing picture, wherein the generating a real-time picture displaying a two-dimensional code based on the two-dimensional code information and the generated camera real-time capturing picture comprises:

setting a target error tolerance rate of the two-dimensional code, wherein the target error tolerance rate is greater than a second preset threshold; and

converting the two-dimensional code information into the two-dimensional code based on the target error tolerance rate, and displaying the generated two-dimensional code on the generated camera real-time capturing picture.

10. The computer readable medium according to claim 9 , wherein the generating a real-time picture displaying a two-dimensional code based on the two-dimensional code information and the generated camera real-time capturing picture further comprises:

performing blurring processing on the camera real-time capturing picture.

11. The computer readable medium according to claim 9 , wherein after generating a real-time picture displaying the two-dimensional code based on the two-dimensional code information and the generated camera real-time capturing picture, the operations further comprise:

setting a distance value between adjacent color blocks in the two-dimensional code as a first preset threshold.

12. The computer readable medium according to claim 9 , wherein the operations further comprise:

turning off the camera in response to receiving a two-dimensional code turn-off command input by a user.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 30, 2020
From: CHEN, YONGHUA
To: BEIJING JINGDONG SHANGKE INFORMATION TECHNOLOGY, CO., LTD; BEIJING JINGDONG CENTURY TRADING CO., LTD.
Reel/Frame 053946/0608 →
Priority Claims (1)
CN 201810653369.0 · Jun 22, 2018 · national
Continuity (1)
Related Publication 20210056275A1 · Feb 25, 2021
Cited By (1)
US 12,417,362