The invention provides a two-dimensional code scanning method, a terminal, an
authentication method, a
server and a
service system, and relates to the technical field of two-dimensional codes. The two-dimensional code scanning method disclosed by the invention comprises the following steps: obtaining two-dimensional code associated content according to a two-dimensional code image, wherein the two-dimensional code associated content comprises encrypted data and a mechanism identifier to which a two-dimensional code belongs; Authenticating the
organization identifier through an
authentication server; Acquiring key information from the
authentication server; And decrypting the encrypted data according to the key information. By such a method, the mechanism identifier can be firstly parsed from the two-dimensional code and is authenticated by the
authentication server; when the authentication is passed, the secret key can be obtained, and then the associated data of the two-dimensional code is decrypted, so that the user can confirm that the generation mechanism of the two-dimensional code is a legal mechanism conveniently, the
attack and damage to the two-dimensional code scanning user caused by maliciously or forgery the two-dimensional code are avoided, and the safety of two-dimensional code scanning is improved.