An information processing method of a near field communication, NFC, terminal, comprising: monitoring a state of a Transmission Control Protocol, TCP, connection that is established by at least one secure clement, SE, in the NFC terminal to a server by using a TCP port of the NFC terminal; when monitoring that the state of the TCP connection is disconnected, determining a first SE from the at least one SE, wherein the first SE is an SE corresponding to a TCP port whose TCP connection is disconnected; and obtaining an application identifier, AID, of a contactless application in the first SE, comprising: sending a first command to the first SE, and receiving a response message, sent by the first SE, of the first command, wherein the first command is used to query a quantity of update times of all contactless applications in the first SE; parsing the response message of the first command, to obtain a first global update counter, GUC, value, wherein the first GUC value is the quantity of update times of all the contactless applications in the first SE; and when the first GUC value is different from a second GUC value, obtaining a first AID, wherein the second GUC value is a quantity, stored in a non-volatile memory of the NFC terminal, of update times of all the contactless applications in the first SE, and wherein the first AID is an AID in the response message of the first command. monitoring a state of a Transmission Control Protocol, TCP, connection that is established by at least one secure clement, SE, in the NFC terminal to a server by using a TCP port of the NFC terminal; when monitoring that the state of the TCP connection is disconnected, determining a first SE from the at least one SE, wherein the first SE is an SE corresponding to a TCP port whose TCP connection is disconnected; and obtaining an application identifier, AID, of a contactless application in the first SE, comprising: sending a first command to the first SE, and receiving a response message, sent by the first SE, of the first command, wherein the first command is used to query a quantity of update times of all contactless applications in the first SE; parsing the response message of the first command, to obtain a first global update counter, GUC, value, wherein the first GUC value is the quantity of update times of all the contactless applications in the first SE; and when the first GUC value is different from a second GUC value, obtaining a first AID, wherein the second GUC value is a quantity, stored in a non-volatile memory of the NFC terminal, of update times of all the contactless applications in the first SE, and wherein the first AID is an AID in the response message of the first command. sending a first command to the first SE, and receiving a response message, sent by the first SE, of the first command, wherein the first command is used to query a quantity of update times of all contactless applications in the first SE; parsing the response message of the first command, to obtain a first global update counter, GUC, value, wherein the first GUC value is the quantity of update times of all the contactless applications in the first SE; and when the first GUC value is different from a second GUC value, obtaining a first AID, wherein the second GUC value is a quantity, stored in a non-volatile memory of the NFC terminal, of update times of all the contactless applications in the first SE, and wherein the first AID is an AID in the response message of the first command.