A method for generating a 2D barcode, wherein the method comprises: acquiring , by a first terminal, a private information input by a user, and sending , by the first terminal, the private information through a network to a server that is configured to store the private information, and generate an information access address corresponding to the private information; wherein the information access address at least comprises an information identifier of the private information, a check identifier and a time identifier corresponding to the private information; receiving , by the first terminal, the information access address returned through the network by the server; and generating , by the first terminal, the 2D barcode comprising the information access address; receiving , by the server, the private information sent through the network by the first terminal, and storing the private information; generating , by the server, the information access address corresponding to the private information; and returning , by the server, the information access address through the network to the first terminal, such that when a second terminal scans the 2D barcode, the information access address comprised in the 2D barcode is obtained and sent to the server, the server searches a pre-stored private information corresponding to the private information according to the information identifier of the private information in response to determining that the check identifier included in the information access address is consistent with the pre-stored check identifier, and that the time identifier included in the information access address is effective, and the server returns the private information to the second terminal. acquiring , by a first terminal, a private information input by a user, and sending , by the first terminal, the private information through a network to a server that is configured to store the private information, and generate an information access address corresponding to the private information; wherein the information access address at least comprises an information identifier of the private information, a check identifier and a time identifier corresponding to the private information; receiving , by the first terminal, the information access address returned through the network by the server; and generating , by the first terminal, the 2D barcode comprising the information access address; receiving , by the server, the private information sent through the network by the first terminal, and storing the private information; generating , by the server, the information access address corresponding to the private information; and returning , by the server, the information access address through the network to the first terminal, such that when a second terminal scans the 2D barcode, the information access address comprised in the 2D barcode is obtained and sent to the server, the server searches a pre-stored private information corresponding to the private information according to the information identifier of the private information in response to determining that the check identifier included in the information access address is consistent with the pre-stored check identifier, and that the time identifier included in the information access address is effective, and the server returns the private information to the second terminal. <EOS>