IP Library › Granted Patent US 9,537,809
Granted Patent B2
US 9,537,809 · App. 14/991,746 · Granted Jan 3, 2017

Method and system for graphic code processing

Inventors: Zhigang Song (Shenzhen, CN); Maocai Li (Shenzhen, CN)
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
H04L51/18
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 9,537,809
App. No.
14/991,746
Granted
Jan 3, 2017
Kind
B2
Abstract

A method and system for processing graphical codes are disclosed. A device with one or more processors and memory obtains a respective graphic code (e.g., a QR code, barcode, SKU or the like) and identifies an operation corresponding to the respective graphic code. The device detects a trigger condition for diverting from a default processing procedure for executing the operation corresponding to the respective graphic code. In response to detecting the trigger condition, the device: delays execution of the operation corresponding to the respective graphic code; and stores at least one of the respective graphic code and data decoded from the respective graphic code in a graphic code library, where the graphic code library includes zero or more previously obtained graphic codes distinct from the respective graphic code or corresponding data decoded from the zero or more previously obtained graphic codes.

Claims (89)

1. A method of graphic code processing, comprising:

at a device with one or more processors and memory:

obtaining a respective graphic code;

identifying an operation corresponding to the respective graphic code;

detecting a first trigger condition and a second trigger condition for diverting from a default processing procedure for executing the operation corresponding to the respective graphic code, wherein the first trigger condition is based on a current network status of the device, and the second trigger condition is based on a current contextual state of the device that is distinct from the current network status of the device; and

in response to detecting the first trigger condition and the second trigger condition for diverting from the default processing procedure for executing the operation corresponding to the respective graphic code:

delaying execution of the operation corresponding to the respective graphic code; and

storing at least one of the respective graphic code and data decoded from the respective graphic code in a graphic code library, wherein the graphic code library includes zero or more previously obtained graphic codes distinct from the respective graphic code or corresponding data decoded from the zero or more previously obtained graphic codes.

2. The method of claim 1 , wherein detecting the first trigger condition for diverting from the default processing procedure for executing the operation corresponding to the respective graphic code further comprises:

after obtaining the respective graphic code, determining the current network status of the device; and

determining that the current network status of the device fails to satisfy one or more predetermined network criteria.

3. The method of claim 2 , further comprising:

after the delaying and the storing:

monitoring the current network status of the device; and

in accordance with at least a determination that the current network status of the device satisfies the one or more predetermined network criteria, executing the operation corresponding to the respective graphic code.

4. The method of claim 1 , wherein detecting the second trigger condition for diverting from the default processing procedure for executing the operation corresponding to the respective graphic code further comprises:

after obtaining the respective graphic code, determining context information corresponding to a current state of the device; and

determining that the context information fails to satisfy one or more predetermined context criteria.

5. The method of claim 1 , including:

after obtaining the respective graphic code, detecting a user input to start a batch processing function.

6. The method of claim 5 , further comprising:

in response to detecting the user input:

delaying execution of the operation corresponding to the respective graphic code; and

storing at least one of the respective graphic code and the data decoded from the respective graphic code in the graphic code library;

before executing the operation corresponding to the respective graphic code, obtaining one or more additional graphic codes distinct from the respective graphic code, wherein operations corresponding to the one or more additional graphic codes are of the same type as the operation corresponding to the respective graphic code;

detecting a trigger condition for proceeding with the operation; and

in response to detecting the trigger condition for proceeding with the operation, executing the operations corresponding to the respective graphic code and the one or more additional graphic codes in a batch processing mode.

7. The method of claim 1 , wherein storing at least one of the respective graphic code or the respective data decoded from the respective graphic code in the graphic code library further comprises:

deciphering at least a portion of information encoded in the respective graphic code;

determining context information corresponding to a current state of the device; and

storing the respective graphic code in the graphic code library in association with the portion of the information corresponding to the respective graphic code and the context information.

8. The method of claim 7 , further comprising:

after the delaying and the storing:

displaying the graphic code library, wherein:

the library at least includes an entry for the respective graphic code; and

the entry for the respective graphic code includes the obtained graphic code, the portion of the information corresponding to the respective graphic code, and the context information;

detecting a user input selecting the entry for the respective graphic code; and

in response to detecting the user input selecting the entry for the respective graphic code, executing the operation corresponding to the respective graphic code.

9. The method of claim 1 , wherein the operation corresponding to the respective graphic code is one of: adding a contact to a contact list, loading a web page according to a uniform resource locator (URL) to a website, following a person or entity in a social networking platform, and processing a payment for a transaction.

10. A device, comprising:

one or more processors; and

memory storing one or more programs to be executed by the one or more processors, the one or more programs comprising instructions for:

obtaining a respective graphic code;

identifying an operation corresponding to the respective graphic code;

detecting a first trigger condition and a second trigger condition for diverting from a default processing procedure for executing the operation corresponding to the respective graphic code, wherein the first trigger condition is based on a current network status of the device, and the second trigger condition is based on a current contextual state of the device that is distinct from the current network status of the device; and

in response to detecting the first trigger condition and the second trigger condition for diverting from the default processing procedure for executing the operation corresponding to the respective graphic code:

delaying execution of the operation corresponding to the respective graphic code; and

storing at least one of the respective graphic code and data decoded from the respective graphic code in a graphic code library, wherein the graphic code library includes zero or more previously obtained graphic codes distinct from the respective graphic code or corresponding data decoded from the zero or more previously obtained graphic codes.

11. The device of claim 10 , wherein detecting the first trigger condition for diverting from the default processing procedure for executing the operation corresponding to the respective graphic code further comprises:

after obtaining the respective graphic code, determining the current network status of the device; and

determining that the current network status of the device fails to satisfy one or more predetermined network criteria.

12. The device of claim 11 , wherein the one or more programs further comprise instructions for:

after the delaying and the storing:

monitoring the current network status of the device; and

in accordance with at least a determination that the current network status of the device satisfies the one or more predetermined network criteria, executing the operation corresponding to the respective graphic code.

13. The device of claim 10 , wherein detecting the second trigger condition for diverting from the default processing procedure for executing the operation corresponding to the respective graphic code further comprises:

after obtaining the respective graphic code, determining context information corresponding to a current state of the device; and

determining that the context information fails to satisfy one or more predetermined context criteria.

14. The device of claim 10 , including:

after obtaining the respective graphic code, detecting a user input to start a batch processing function.

15. The device of claim 14 , wherein the one or more programs further comprise instructions for:

in response to detecting the user input:

delaying execution of the operation corresponding to the respective graphic code: and

storing at least one of the respective graphic code and the data decoded from the respective graphic code in the graphic code library;

before executing the operation corresponding to the respective graphic code, obtaining one or more additional graphic codes distinct from the respective graphic code, wherein operations corresponding to the one or more additional graphic codes are of the same type as the operation corresponding to the respective graphic code;

detecting a trigger condition for proceeding with the operation; and

in response to detecting the trigger condition for proceeding with the operation, executing the operations corresponding to the respective graphic code and the one or more additional graphic codes in a batch processing mode.

16. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which, when executed by a device with one or more processors, cause the device to perform operations comprising:

obtaining a respective graphic code;

identifying an operation corresponding to the respective graphic code;

detecting a first trigger condition and a second trigger condition for diverting from a default processing procedure for executing the operation corresponding to the respective graphic code, wherein the first trigger condition is based on a current network status of the device, and the second trigger condition is based on a current contextual state of the device that is distinct from the current network status of the device; and

in response to detecting the first trigger condition and the second trigger condition for diverting from the default processing procedure for executing the operation corresponding to the respective graphic code:

delaying execution of the operation corresponding to the respective graphic code; and

storing at least one of the respective graphic code and data decoded from the respective graphic code in a graphic code library, wherein the graphic code library includes zero or more previously obtained graphic codes distinct from the respective graphic code or corresponding data decoded from the zero or more previously obtained graphic codes.

17. The non-transitory computer readable storage medium of claim 16 , wherein detecting the first trigger condition for diverting from the default processing procedure for executing the operation corresponding to the respective graphic code further comprises:

after obtaining the respective graphic code, determining the current network status of the device; and

determining that the current network status of the device fails to satisfy one or more predetermined network criteria.

18. The non-transitory computer readable storage medium of claim 16 , wherein detecting the second trigger condition for diverting from the default processing procedure for executing the operation corresponding to the respective graphic code further comprises:

after obtaining the respective graphic code, determining context information corresponding to a current state of the device; and

determining that the context information fails to satisfy one or more predetermined context criteria.

19. The non-transitory computer readable storage medium of claim 16 , wherein the operations further comprise:

after obtaining the respective graphic code, detecting a user input to start a batch processing function.

20. The non-transitory computer readable storage medium of claim 19 , wherein the instructions cause the device to perform operations further comprising:

in response to detecting the user input:

delaying execution of the operation corresponding to the respective graphic code: and

storing at least one of the respective graphic code and the data decoded from the respective graphic code in the graphic code library;

before executing the operation corresponding to the respective graphic code, obtaining one or more additional graphic codes distinct from the respective graphic code, wherein operations corresponding to the one or more additional graphic codes are of the same type as the operation corresponding to the respective graphic code;

detecting a trigger condition for proceeding with the operation; and

in response to detecting the trigger condition for proceeding with the operation, executing the operations corresponding to the respective graphic code and the one or more additional graphic codes in a batch processing mode.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 4, 2016
From: SONG, ZHIGANG; LI, MAOCAI
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 037663/0947 →
Priority Claims (1)
CN 2013 1 0695578 · Dec 17, 2013 · national
Continuity (2)
Continuation PCTCN2014091836 · Dec 21, 2014
Related Publication 20160127293A1 · May 5, 2016