Two-dimensional code scanning interaction methods and apparatuses
AssigneeAlibaba Group Holding Limited
InventorYaran LU
Life of this patent
Estimating the term…
Abstract
The present application provides two-dimensional code (2D-code) scanning interaction methods and apparatuses. An exemplary 2D-code scanning interaction method may include scanning a 2D code to obtain a first 2D-code value corresponding to the 2D code. The method may also include obtaining a second 2D-code value corresponding to the first 2D-code value. The first 2D-code value is generated in accordance with the second 2D-code value, and is corresponding to the second 2D-code value. The method may further include calling an application corresponding to the second 2D-code value and opening the second 2D-code value for interaction through the application.
Claims15
A two-dimensional (2D) code scanning interaction method performed by an apparatus having one or more processors, the method comprising:
- scanning, by the apparatus, a 2D code to obtain a first 2D-code value corresponding to the 2D code;
- obtaining a second 2D-code value corresponding to the first 2D-code value;
- and
- calling an application corresponding to the second 2D-code value and opening the second 2D-code value for interaction through the application.
A 2D-code scanning interaction apparatus, the apparatus comprising:
- a scanning unit configured to scan a 2D code to obtain a first 2D-code value corresponding to the 2D code;
- an obtaining unit configured to obtain a second 2D-code value corresponding to the first 2D-code value, wherein the first 2D-code value is generated in accordance with the second 2D-code value, and is corresponding to the second 2D-code value;
- and
- a calling unit configured to call an application corresponding to the second 2D-code value and open the second 2D-code value for interaction through the application.
The apparatus according to claim 8, wherein:
- the first 2D-code value includes identification information;
- and
- the obtaining unit is configured to obtain the second 2D-code value corresponding to the identification information.
The apparatus according to claim 9, further comprising:
- a verification unit configured to verify security of opening the second 2D-code value on the called application corresponding to the second 2D-code value before the calling unit calls the application corresponding to the second 2D-code value and opens the second 2D-code value for interaction,
- wherein the calling unit is configured to call the application corresponding to the second 2D-code value and open the second 2D-code value for interaction after verifying the security successfully.
The apparatus according to claim 10, wherein the verification unit includes:
- an acquisition sub-unit configured to acquire a first key corresponding to the identification information;
- a sending sub-unit configured to send the first key to an application server corresponding to the application, wherein the first key is used by the application server to compare against a stored second key corresponding to the identification information;
- and
- a receiving sub-unit configured to receive a verification result from the application server, wherein the verification result is a successful security verification based on the first key matching the second key or is a failed security verification based on the first and second keys being different.
A non-transitory computer readable medium that stores a set of instructions that is executable by at least one processor of an apparatus to cause the apparatus to perform a 2D-code scanning interaction method, the method comprising:
- scanning a 2D code to obtain a first 2D-code value corresponding to the 2D code;
- obtaining a second 2D-code value corresponding to the first 2D-code value;
- and
- calling an application corresponding to the second 2D-code value and opening the second 2D-code value for interaction through the application.
The non-transitory computer-readable medium of claim 15, wherein:
- the first 2D-code value includes identification information;
- and
- obtaining the second 2D-code value corresponding to the first 2D-code value includes obtaining the second 2D-code value corresponding to the identification information.
The non-transitory computer-readable medium of claim 16, wherein:
- before calling the application corresponding to the second 2D-code value and opening the second 2D-code value for interaction, wherein the set of instructions that is executable by the at least one processor of the apparatus to cause the apparatus to further perform:
- verifying security of opening the second 2D-code value on the called application corresponding to the second 2D-code value;
- and
- calling the application corresponding to the second 2D-code value and opening the second 2D-code value for interaction includes:
- after verifying the security successfully, calling the application corresponding to the second 2D-code value and opening the second 2D-code value for interaction.
The non-transitory computer-readable medium of claim 17, wherein verifying security of opening the second 2D-code value on the called application corresponding to the second 2D-code value, wherein the set of instructions that is executable by the at least one processor of the apparatus to cause the apparatus to further perform:
- obtaining a first key corresponding to the identification information;
- sending the first key to an application server corresponding to the application, wherein the first key is used by the application server to compare against a stored second key corresponding to the identification information;
- and
- receiving a verification result from the application server, wherein the verification result is a successful security verification based on the first key matching the second key or is a failed security verification based on the first key and second keys being different.
The non-transitory computer-readable medium of claim 16, wherein before scanning the 2D code to obtain the first 2D-code value corresponding to the 2D code, wherein the set of instructions that is executable by the at least one processor of the apparatus to cause the apparatus to further perform:
- generating the 2D code in accordance with the second 2D-code value.
Dependencies are inferred from the claim text.