IP Library Granted Patent US 9,117,130
Granted Patent B2
US 9,117,130 · App. 14/106,773 · Granted Aug 25, 2015

Information obtaining method and apparatus

Inventors: Zhengkai Xie (Shenzhen, CN); Ying Huang (Shenzhen, CN); Sha Mo (Shenzhen, CN); Xi Wang (Shenzhen, CN); Cheng Feng (Shenzhen, CN); Wei Li (Shenzhen, CN); Yulei Liu (Shenzhen, CN); Huijiao Yang (Shenzhen, CN); Bosen He (Shenzhen, CN); Kai Zhang (Shenzhen, CN); Ruiyi Zhou (Shenzhen, CN); Bo Hu (Shenzhen, CN); Tingyong Tang (Shenzhen, CN)
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
G06K7/1417G06K19/06037
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,117,130
App. No.
14/106,773
Granted
Aug 25, 2015
Kind
B2
Abstract

Various embodiments provide methods, apparatus, and electronic devices for information obtaining, information management and 2D barcode generation. In an exemplary method implemented by an electronic device, a first two-dimensional (2D) barcode can be obtained. An image transformation can be performed on the first 2D barcode to obtain a virtual 2D barcode. Further, according to validity of the virtual 2D barcode, relationship information of the first 2D barcode can be obtained based on a mapping relationship of the virtual 2D barcode in a database.

Claims (43)

1. An information obtaining method implemented by an electronic device, the method comprising:

obtaining a first two-dimensional (2D) barcode;

performing an image transformation on the first 2D barcode to obtain a virtual 2D barcode; and

according to validity of the virtual 2D barcode, obtaining relationship information of the first 2D barcode, wherein the relationship information is obtained based on a mapping relationship of the virtual 2D barcode in a database,

wherein the obtaining of the relationship information of the first 2D barcode according to the validity of the virtual 2D barcode comprises:

determining whether the virtual 2D barcode has a mapping relationship with a second 2D barcode;

when the virtual 2D barcode is determined to have the mapping relationship with the second 2D barcode, the virtual 2D barcode is valid and the first 2D barcode is determined to have the relationship information corresponding to the image transformation, and

when the virtual 2D barcode is not determined to have the mapping relationship with the second 2D barcode, the virtual 2D barcode is invalid and the first 2D barcode is not determined to have the relationship information corresponding to the image transformation.

2. The method according to claim 1 , wherein the performing of the image transformation on the first 2D barcode comprises one or more of:

performing a black-white inversion on colors of an image of the first 2D barcode;

rotating the image of the first 2D barcode in a clockwise direction by a preset angle; and

rotating the image of the first 2D barcode in a counter-clockwise direction by a preset angle.

3. The method according to claim 1 , wherein after determining whether the virtual 2D barcode has the mapping relationship with the second 2D barcode, the method further comprises:

obtaining the second 2D barcode when the virtual 2D barcode is valid.

4. The method according to claim 1 , wherein the relationship information comprises: a father-son relationship; a mother-son relationship; a husband-wife relationship; a brother relationship; a sister relationship; or a boyfriend-girlfriend relationship.

5. An information obtaining apparatus, comprising:

a first obtaining unit configured to obtain a first 2D barcode;

an image transformation unit configured to perform an image transformation on the first 2D barcode to obtain a virtual 2D barcode; and

an information determination unit configured to obtain relationship information of the first 2D barcode according to validity of the virtual 2D barcode, wherein the relationship information is obtained based on a mapping relationship of the virtual 2D barcode in a database,

wherein the information determination unit is further configured to determine whether the virtual 2D barcode has a mapping relationship with a second 2D barcode, wherein

when the virtual 2D barcode is determined to have the mapping relationship with the second 2D barcode, the virtual 2D barcode is valid and the first 2D barcode is determined to have the relationship information corresponding to the image transformation, and

when the virtual 2D barcode is not determined to have the mapping relationship with the second 2D barcode, the virtual 2D barcode is invalid and the first 2D barcode is not determined to have the relationship information corresponding to the image transformation.

6. The apparatus according to claim 5 , wherein the image transformation unit comprises one or more of:

a color conversion module configured to perform a black-white inversion on colors of an image of the first 2D barcode;

a first rotation module configured to rotate the image of the first 2D barcode in a clockwise direction by a preset angle; and

a second rotation module configured to rotate the image of the first 2D barcode in a counter-clockwise direction by a preset angle.

7. The apparatus according to claim 5 , further comprising:

a second obtaining unit configured to obtain the second 2D barcode, when the information determination unit determines that the virtual 2D barcode is valid.

8. The apparatus according to claim 5 , wherein the relationship information comprises a father-son relationship; a mother-son relationship; a husband-wife relationship; a brother relationship; a sister relationship; or a boyfriend-girlfriend relationship.

9. An electronic device comprising an information obtaining apparatus, the information obtaining apparatus comprising:

a first obtaining unit configured to obtain a first 2D barcode;

an image transformation unit configured to perform an image transformation on the first 2D barcode to obtain a virtual 2D barcode; and

an information determination unit configured to obtain relationship information of the first 2D barcode according to validity of the virtual 2D barcode, wherein the relationship information is obtained based on a mapping relationship of the virtual 2D barcode in a database,

wherein the information determination unit is further configured to determine whether the virtual 2D barcode has a mapping relationship with a second 2D barcode, wherein

when the virtual 2D barcode is determined to have the mapping relationship with the second 2D barcode, the virtual 2D barcode is valid and the first 2D barcode is determined to have the relationship information corresponding to the image transformation, and

when the virtual 2D barcode is not determined to have the mapping relationship with the second 2D barcode, the virtual 2D barcode is invalid and the first 2D barcode is not determined to have the relationship information corresponding to the image transformation.

10. The electronic device according to claim 9 , wherein the image transformation unit comprises one or more of:

a color conversion module configured to perform a black-white inversion on colors of an image of the first 2D barcode;

a first rotation module configured to rotate the image of the first 2D barcode in a clockwise direction by a preset angle; and

a second rotation module configured to rotate the image of the first 2D barcode in a counter-clockwise direction by a preset angle.

11. The electronic device according to claim 9 , further comprising:

a second obtaining unit configured to obtain the second 2D barcode, when the information determination unit determines that the virtual 2D barcode is valid.

12. The electronic device according to claim 9 , wherein the relationship information comprises a father-son relationship; a mother-son relationship; a husband-wife relationship; a brother relationship; a sister relationship; or a boyfriend-girlfriend relationship.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 15, 2013
From: XIE, ZHENGKAI; HUANG, YING; MO, SHA; WANG, XI; FENG, CHENG; LI, WEI; LIU, YULEI; YANG, HUIJIAO; HE, BOSEN; ZHANG, KAI; ZHOU, RUIYI; HU, BO; TANG, TINGYONG
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 031783/0838 →
Continuity (2)
Continuation PCTCN2013083677 · Sep 17, 2013
Related Publication 20140103111A1 · Apr 17, 2014