Abstract:
A method, an apparatus, and a terminal for recognizing a two-dimensional code are provided. The two-dimensional code includes an image region and an encoding region. The image region and the encoding region have no overlap. The method includes selecting, from pixels of the two-dimensional code, a pixel included in a code element in an encoding region. The method further includes determining a value of the code element in the encoding region according to the pixel included in the code element in the encoding region. The method further includes recognizing the two-dimensional code according to the value of the code element in the encoding region.
Abstract:
This application discloses a method implemented at a server to facilitate secure offline transactions. The server receives, from a client device, an authorization request that includes a user identifier, first financial account information and a secure code. The server authenticates the authorization request, and sends a first transaction approval to the client device. Then, in accordance with the information received in the authorization request, the server facilitates a secure transaction between the client device and a point-of-sale (POS) machine while the client device is offline. Specifically, the server receives, from the POS machine, a transaction request that includes at least the user identifier and the security code. The server retrieves the first financial account information from a memory according to the user identifier and the security code, performs a transaction operation associated with the first financial account information, and sends a second transaction approval to the POS machine.
Abstract:
The present disclosure discloses a method, system and apparatus for searching for a user in a social network. A client obtains geographical position information of a user of the client after detecting that the user of the client transmits a searching command, and transmits a searching request to a server, wherein the searching request at least includes the obtained geographical position information of the user and a user identifier of the user. The server receives the searching request, determines whether there is a piece of searching request information satisfying a requirement in various pieces of searching request information previously stored, and returns information related with a user corresponding to the piece of the searching request information satisfying the requirement to the client if there is the piece of the searching request information satisfying the requirement. Thus, validity of a searching result can be improved.
Abstract:
The present disclosure discloses a method, system and apparatus for searching for a user in a social network. A client obtains geographical position information of a user of the client after detecting that the user of the client transmits a searching command, and transmits a searching request to a server, wherein the searching request at least includes the obtained geographical position information of the user and a user identifier of the user. The server receives the searching request, determines whether there is a piece of searching request information satisfying a requirement in various pieces of searching request information previously stored, and returns information related with a user corresponding to the piece of the searching request information satisfying the requirement to the client if there is the piece of the searching request information satisfying the requirement. Thus, validity of a searching result can be improved.