# US 9,038,910 B2 · Method and apparatus for executing user action commands

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 9,038,910 B2
- Document ID: US9038910B2
- Status: Granted
- Kind: B2
- Application number: 14/153,053
- Filed: 2014-01-12
- Published: 2014-05-08
- Granted: 2015-05-26
- Earliest claimed: 2012-09-20
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Huijiao Yang; Bo Hu; Ruiyi Zhou; Kai Zhang; Zhengkai Xie; Ying Huang; Yulei Liu; Wei Li; Cheng Feng; Tingyong Tang; Xi Wang; Sha Mo; Bosen He
- Web page: https://patentgrep.com/patent/US9038910B2

## CPC

- G06K 7/1417: {2D bar codes}
- H04M 1/724: User interfaces specially adapted for cordless or mobile telephones
- H04M 1/2755: by optical scanning
- H04M 2250/52: including functional features of a camera
- G06K: GRAPHICAL DATA READING (image or video recognition or understanding G06V); PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)

## Abstract

A method is provided for performing action commands on a mobile terminal. The method includes reading a 2D barcode to obtain 2D barcode information. The 2D barcode information includes at least an action command identifier and a call instruction for calling an application program interface (API) corresponding to the action command. The method also includes calling the API corresponding to the action command and completing execution of the action command.

## Claims

### Claim 1

A method for performing action commands on a mobile terminal, comprising:
receiving user-defined action information from a user on the mobile terminal;
creating a user-defined action command based on the user-defined action information;
sending the user-defined action command to a two dimensional (2D) barcode generator to generate a 2D barcode containing 2D barcode information, wherein the 2D barcode information includes a user-defined action command identifier and a call instruction for calling an application program interface (API) corresponding to the user-defined action command;
reading the 2D barcode to obtain the 2D barcode information;
automatically calling the API corresponding to the user-defined action command; and
directly completing execution of the user-defined action command corresponding to the user-defined action command identifier, wherein the execution is completed on the mobile terminal unilaterally without downloading an application program, and without interaction with a server for mutual authentication.

### Claim 2 (depends on 1)

The method according to claim 1, wherein:
the user-defined action command identifier includes a single-action command identifier and a combined action command for performing a series of action commands in a batch.

### Claim 3 (depends on 2)

The method according to claim 2, wherein:
the 2D barcode information further includes action parameter information corresponding to the user-defined action command identifier; and
calling the API further includes:
calling the API with the action parameter information to carry out the user-defined action command.

### Claim 4 (depends on 3)

The method according to claim 3, wherein:
the user-defined action command is to open a series of browser windows when opening a browser, and the action parameter information includes universal resource locators (URLs) of the series of browser windows.

### Claim 5 (depends on 3)

The method according to claim 3, wherein:
the user-defined action command is an action command provided by a business on a receipt to a customer of the business;
the user-defined action command is an action to connect a wireless network of the business;
the action parameter information includes a name of the wireless network and a password for accessing the wireless network; and
the reading a 2D barcode and calling the API further includes:
scanning the 2D barcode on the receipt;
reading the scanned 2D barcode to obtain the action command and the action parameter information; and
calling the API to connect to the wireless network with the action parameter information automatically.

### Claim 6 (depends on 3)

The method according to claim 3, wherein the action parameter information further includes:
one or more of authentication information and authorization information.

### Claim 7

An action command execution system, comprising:
a receiving unit configured to receive user-defined action information from a business and to create a user-defined action command based on the user-defined action information;
a sending unit configured to send the user-defined action command to a two dimensional (2D) barcode generator to generate a 2D barcode containing 2D barcode information, wherein the 2D barcode information includes a user-defined action command identifier, action parameter information corresponding to the action command identifier, and a call instruction for calling an application program interface (API) corresponding to the user-defined action command;
a reading unit configured to read the 2D barcode to obtain the 2D barcode information;
a call unit configured to automatically call the API corresponding to the user-defined action command with the action parameter information; and
an execution unit configured to directly complete execution of the user-defined action command;
wherein:
the 2D barcode is provided by the business on a receipt to a customer of the business and the action command is an action command to connect a wireless network of the business;
the action parameter information includes a name of the wireless network and a password for accessing the wireless network;
the reading unit is configured to:
scan the 2D barcode on the receipt; and
read the scanned 2D barcode to obtain the action command and the action parameter information; and
the call unit is further configured to automatically call the API to connect directly to the wireless network with the action parameter information.

### Claim 8

A non-transitory computer-readable medium having computer program for, when being executed by a processor, implementing a method for performing action commands on a mobile terminal, the method comprising:
receiving user-defined action information from a user on the mobile terminal;
creating a user-defined action command based on the user-defined action information;
sending the user-defined action command to a two dimensional (2D) barcode generator to generate a 2D barcode containing 2D barcode information, wherein the 2D barcode information includes a user-defined action command identifier and a call instruction for calling an application program interface (API) corresponding to the user-defined action command;
reading the 2D barcode to obtain the 2D barcode information;
automatically calling the API corresponding to the user-defined action command; and
directly completing execution of the user-defined action command corresponding to the user-defined action command identifier, wherein the execution is completed on the mobile terminal unilaterally without downloading an application program, and without interaction with a server for mutual authentication.

### Claim 9 (depends on 8)

The computer-readable medium according to claim 8, wherein:
the user-defined action command identifier includes a single-action command identifier and a combined action command for performing a series of action commands in a batch.

### Claim 10 (depends on 9)

The computer-readable medium according to claim 9, wherein:
the 2D barcode information further includes action parameter information corresponding to the user-defined action command identifier; and
calling the API further includes:
calling the API with the action parameter information to carry out the user-defined action command.

### Claim 11 (depends on 10)

The computer-readable medium according to claim 10, wherein:
the user-defined action command is to open a series of browser windows when opening a browser, and the action parameter information includes universal resource locators (URLs) of the series of browser windows.

### Claim 12 (depends on 10)

The computer-readable medium according to claim 10, wherein:
the user-defined action command is an action command provided by a business on a receipt to a customer of the business;
the action command is an action to connect a wireless network of the business;
the action parameter information includes a name of the wireless network and a password for accessing the wireless network; and
the reading a 2D barcode and calling the API further includes:
scanning the 2D barcode on the receipt;
reading the scanned 2D barcode to obtain the action command and the action parameter information; and
calling the API to connect to the wireless network with the action parameter information automatically.
