Two-dimensional (2D) barcode is a new information bearer developed on the basis of the one-dimensional barcode, but can record more data and is more complex than the one-dimensional barcode, such as for recording images, web links, etc. The 2D barcode has been widely used in commercial activities, especially in high-tech, storage and transportation, and 1D document management, etc. With the development of mobile phones, especially smart phones, the 2D barcode are being used by more and more people. However, currently, most of the 2D barcode applications only concern direct presentation of the information carried by the 2D barcode after scanning the 2D barcode.
Under current technologies, applications running on mobile phones are implemented by calling the Application Programming Interface (API) openly provided by the operating system on the mobile phones. While the mobile applications call the system APIs on the mobile phone, a mobile application itself provides its own APIs, calling which can utilize the corresponding functions provided by the mobile application. Alternatively, Near Field Communication (NFC) technology may be used to call APIs, allowing a device (typically a mobile phone) within a limited range to collect data from another device or an NFC tag.
However, under the current technologies, when calling the open APIs of the mobile phone operating system, the application corresponding to the API often requires the user to download and install the application, and to run the application calling the API. Thus, it may require interactions with backend servers to complete the user authentication and authorization, and the process to achieve the corresponding function on mobile phones is more complex. Further, when calling API through NFC, because the NFC communication standards are not unified, such technology has not yet been widely accepted, resulting less NFC equipment on the market and higher operating cost. Further, NFC uses radio frequency identification (RFID), which may be read by an unauthorized party, and the secret key may be easily broken, causing security concerns.
The disclosed method and system are directed to solve one or more problems set forth above and other problems.