摘要 |
The present disclosure discloses methods and terminals for generating and reading a 2D barcode and servers, and belongs to the field of information processing technologies. The method for generating a 2D barcode includes: acquiring private information input by a user, and sending the private information to a server through a network; receiving an information access address returned, through the network, by the server; and generating a 2D barcode including the information access address. The method for reading a 2D barcode includes: acquiring a 2D barcode including an information access address, and scanning the 2D barcode, to obtain the information access address included in the 2D barcode, the information access address being for accessing private information; sending the information access address to a server through a network; and receiving the private information returned, through the network, by the server, and using the private information as a reading result of the 2D barcode. In the present disclosure, private information is replaced with an information access address, so that security of private information is ensured, and enciphering and deciphering are not needed, so that costs of generating and reading a 2D barcode are reduced, and an application scope of a 2D barcode is broadened. |