A method for presenting a two-dimensional graphic code on a mobile phone comprising a screen, comprising: after detecting (S201) that the two-dimensional graphic code is invoked in response to the two-dimensional graphic code being presented, starting a front-facing image capture module of the mobile phone to perform image capturing; characterized in that the method further comprises: performing (S202) image recognition on a captured image, and in response to that the captured image includes a pre-configured feature of a code scanning module, calculating an offset distance between the code scanning module and a current presentation location of the two-dimensional graphic code on the screen of the mobile phone, wherein the performing image recognition on the captured image includes: after detecting that the mobile phone is in a still state and remains in the still state for a duration that exceeds a predetermined threshold, ending the image capturing, and performing image recognition on the captured image; and calculating (S201) a target presentation location on the screen of the mobile phone based on the offset distance, and presenting the two-dimensional graphic code at the target presentation location on the screen of the mobile phone. after detecting (S201) that the two-dimensional graphic code is invoked in response to the two-dimensional graphic code being presented, starting a front-facing image capture module of the mobile phone to perform image capturing; characterized in that the method further comprises: performing (S202) image recognition on a captured image, and in response to that the captured image includes a pre-configured feature of a code scanning module, calculating an offset distance between the code scanning module and a current presentation location of the two-dimensional graphic code on the screen of the mobile phone, wherein the performing image recognition on the captured image includes: after detecting that the mobile phone is in a still state and remains in the still state for a duration that exceeds a predetermined threshold, ending the image capturing, and performing image recognition on the captured image; and calculating (S201) a target presentation location on the screen of the mobile phone based on the offset distance, and presenting the two-dimensional graphic code at the target presentation location on the screen of the mobile phone. performing (S202) image recognition on a captured image, and in response to that the captured image includes a pre-configured feature of a code scanning module, calculating an offset distance between the code scanning module and a current presentation location of the two-dimensional graphic code on the screen of the mobile phone, wherein the performing image recognition on the captured image includes: after detecting that the mobile phone is in a still state and remains in the still state for a duration that exceeds a predetermined threshold, ending the image capturing, and performing image recognition on the captured image; and calculating (S201) a target presentation location on the screen of the mobile phone based on the offset distance, and presenting the two-dimensional graphic code at the target presentation location on the screen of the mobile phone. <EOS>