IP Library Granted Patent US 9,589,063
Granted Patent B2
US 9,589,063 · App. 14/805,634 · Granted Mar 7, 2017

Two-dimensional code processing method and terminal

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,589,063
App. No.
14/805,634
Granted
Mar 7, 2017
Kind
B2
Abstract

Embodiments disclosed herein relate to the field of computer technologies, and disclose a two-dimensional code processing method and a terminal, which can reduce time for a user to learn content indicated by a two-dimensional code, thereby improving a user experience effect. The method provided by the embodiments of the present invention includes: scanning a two-dimensional code using a camera to obtain two-dimensional code information; sending a first request message including the two-dimensional code information to a server, where the first request message is used to enable the server to determine description information corresponding to the two-dimensional code information; receiving the description information sent by the server; and outputting the description information, so that the user determines, according to the description information, whether to acquire detailed information corresponding to the two-dimensional code information.

Claims (37)

1. A two-dimensional code processing method, wherein the method is applied to a terminal having a camera, the method comprising:

scanning a two-dimensional code using the camera to obtain two-dimensional code information, wherein the two-dimensional code information comprises a first uniform resource identifier (URI) of description information corresponding to the two-dimensional code information, and a second URI of detailed information corresponding to the two-dimensional code information;

sending a first request message comprising the two-dimensional code information to a server, wherein the first request message comprises the first URI, and wherein the first request message enables the server to determine, according to the first URI, the description information corresponding to the two-dimensional code information;

receiving the description information sent by the server, and

outputting the description information, so that a user determines, according to the description information, whether to acquire the detailed information corresponding to the two-dimensional code information;

acquiring an input operation indicated by the user;

sending a second request message to the server according to the input operation, wherein the second request message comprises the second URI, and wherein the second request message enables the server to determine, according to the second URI, the detailed information corresponding to the two-dimensional code information;

receiving the detailed information sent by the server; and

outputting the detailed information.

2. The method according to claim 1 , wherein outputting the description information comprises:

determining a second display area according to a first display area used to display the two-dimensional code information, wherein the second display area is smaller than or equal to the first display area; and

displaying the description information in the second display area.

3. The method according to claim 1 , wherein the first request message further comprises file attribute information, and wherein the first request message enables the server to determine description information that corresponds to the two-dimensional code information and matches the file attribute information.

4. The method according to claim 3 , wherein, before the sending the first request message comprising the two-dimensional code information to the server, the method further comprises acquiring file attribute information indicated by the user.

5. The method according to claim 3 , wherein, before the sending the first request message comprising the two-dimensional code information to the server, the method further comprises acquiring, according to attribute information of the terminal and the two-dimensional code information, file attribute information that matches the terminal.

6. The method according to claim 1 , wherein the first request message further comprises attribute information of the terminal, and wherein the first request message enables the server to determine description information that corresponds to the two-dimensional code information and matches the attribute information of the terminal.

7. The method according to claim 1 , wherein the first request message enables the server to determine, according to the second URI, the first URI of the description information corresponding to the two-dimensional code information.

8. The method according to claim 1 , wherein the first URI is different than the second URI.

9. The method according to claim 1 , wherein the camera is used to scan the two-dimensional code to obtain the first URI and the second URI.

10. The method according to claim 1 , wherein the camera is used to scan the two-dimensional code to obtain the second URI, and wherein the first URI is determined from the second URI.

11. A terminal comprising:

a camera configured to scan a two-dimensional code to obtain two-dimensional code information, wherein the two-dimensional code information comprises a first uniform resource identifier (URI) of description information corresponding to the two-dimensional code information, and a second URI of detailed information corresponding to the two-dimensional code information;

a transmitter configured to send a first request message comprising the two-dimensional code information to a server, wherein the first request message enables the server to determine the description information corresponding to the two-dimensional code information;

a receiver configured to receive the description information sent by the server; and

a processor configured to output the description information, so that a user determines, according to the description information, whether to acquire the detailed information corresponding to the two-dimensional code information;

wherein the processor is further configured to acquire an input operation indicated by the user,

wherein the transmitter is further configured to send a second request message to the server according to the input operation, wherein the second request message comprises the second URI, and the second request message enables the server to determine, according to the second URI, the detailed information corresponding to the two-dimensional code information,

wherein the receiver is further configured to receive the detailed information sent by the server, and

wherein the processor is further configured to output the detailed information.

12. The terminal according to claim 11 , wherein the processor is further configured to:

determine a second display area according to a first display area used to display the two-dimensional code, wherein the second display area is smaller than or equal to the first display area; and

display the description information in the second display area.

13. The terminal according to claim 11 , wherein the first request message further comprises file attribute information, and wherein the first request message enables the server to determine description information that corresponds to the two-dimensional code information and matches the file attribute information.

14. The terminal according to claim 13 , wherein the processor is further configured to acquire file attribute information indicated by the user.

15. The terminal according to claim 13 , wherein the processer is further configured to acquire, according to attribute information of the terminal and the two-dimensional code information, file attribute information that matches the terminal.

16. The terminal according to claim 11 , wherein the first request message further comprises attribute information of the terminal, and wherein the first request message enables the server to determine description information that corresponds to the two-dimensional code information and matches the attribute information of the terminal.

17. The terminal according to claim 11 , wherein the first request message enables the server to determine, according to the second URI, the first URI of the description information corresponding to the two-dimensional code information, and determine the description information according to the first URI.

Assignments (3)
CHANGE OF NAME Recorded Mar 11, 2019
From: HUAWEI DEVICE (DONGGUAN) CO.,LTD.
To: HUAWEI DEVICE CO.,LTD.
Reel/Frame 048555/0951 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 5, 2017
From: HUAWEI DEVICE CO., LTD.
To: HUAWEI DEVICE (DONGGUAN) CO., LTD.
Reel/Frame 043750/0393 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 22, 2015
From: WANG, CHAN; WU, HUANGWEI; GAO, WENMEI; FU, DIAN
To: HUAWEI DEVICE CO., LTD.
Reel/Frame 036153/0452 →