Patent ID: 8794507

Claim:
A method for applying two-dimensional codes, the method comprising: reading, by a terminal, two-dimensional code data; resolving, by the terminal, the two-dimensional code data to obtain an operation procedure specified in the two-dimensional code data, wherein the operation procedure is specified through information of a specific format and is for booking a ticket; inquiring, by the terminal, whether a user of the terminal wants to purchase a ticket; obtaining, by the terminal, a list of sites with available tickets if the user wants to purchase a ticket; presenting to the user, by the terminal, an optional site list including time, place and number of remaining tickets; receiving, by the terminal, an entry selected by the user and a number of tickets to be purchased; determining, by the terminal, the number of tickets to be purchased is valid; prompting the user, by the terminal, to provide a confirmation; invoking, by the terminal, an electronic payment module enabling the user to pay; receiving, by the terminal, an electronic ticket; storing, by the terminal, the received electronic ticket by a radio frequency identification (RFID) application of the terminal; and indicating, by the terminal, to the user that the electronic ticket is purchased successfully; wherein after determining, by the terminal, the number of tickets to be purchased is valid, the method further comprises: prompting the user, by the terminal, to select or input terminal numbers correlated with the ticket, wherein the number of the terminal numbers is equal to the number of the tickets and the phone number of the terminal is a default item.