A terminal interaction method, comprising: a first instant messaging terminal receiving (101, 201) a user-entered file transfer command directed to a second IM terminal, wherein the first IM terminal and the second IM terminal logged into an IM platform via associated account numbers, wherein the terminal interaction method is characterized by: the first IM terminal determining (102, 202) whether the first IM terminal and the second IM terminal belong to a same LAN and, if yes, starting a local Web server on the first IM terminal and generating URL address information associated with the file, and the first IM terminal transmitting (103, 204), via the IM platform, to the second IM terminal, the address information associated with the local Web server and the URL address information associated with the file, to allow the second IM terminal to transmit, to the local Web server, in accordance with the address information associated with the local Web server, a file obtaining request including the URL address information associated with the file, and the local Web server to obtain and transmit the file to the second IM terminal in accordance with the URL address information associated with the file; wherein the first IM terminal determining whether the first IM terminal and the second IM terminal belong to the same LAN comprises: the first IM terminal transmitting to the second IM terminal an ARP protocol request package and detecting whether a MAC address returned from the second IM terminal is received within a set time, if the MAC address is received within the set time, determining that the first IM terminal and the second IM terminal belong to the same LAN, and if the MAC address is not received within the set time, determining that the first IM terminal and the second IM terminal do not belong to the same LAN. a first instant messaging terminal receiving (101, 201) a user-entered file transfer command directed to a second IM terminal, wherein the first IM terminal and the second IM terminal logged into an IM platform via associated account numbers, wherein the terminal interaction method is characterized by: the first IM terminal determining (102, 202) whether the first IM terminal and the second IM terminal belong to a same LAN and, if yes, starting a local Web server on the first IM terminal and generating URL address information associated with the file, and the first IM terminal transmitting (103, 204), via the IM platform, to the second IM terminal, the address information associated with the local Web server and the URL address information associated with the file, to allow the second IM terminal to transmit, to the local Web server, in accordance with the address information associated with the local Web server, a file obtaining request including the URL address information associated with the file, and the local Web server to obtain and transmit the file to the second IM terminal in accordance with the URL address information associated with the file; the first IM terminal determining (102, 202) whether the first IM terminal and the second IM terminal belong to a same LAN and, if yes, starting a local Web server on the first IM terminal and generating URL address information associated with the file, and the first IM terminal transmitting (103, 204), via the IM platform, to the second IM terminal, the address information associated with the local Web server and the URL address information associated with the file, to allow the second IM terminal to transmit, to the local Web server, in accordance with the address information associated with the local Web server, a file obtaining request including the URL address information associated with the file, and the local Web server to obtain and transmit the file to the second IM terminal in accordance with the URL address information associated with the file; wherein the first IM terminal determining whether the first IM terminal and the second IM terminal belong to the same LAN comprises: the first IM terminal transmitting to the second IM terminal an ARP protocol request package and detecting whether a MAC address returned from the second IM terminal is received within a set time, if the MAC address is received within the set time, determining that the first IM terminal and the second IM terminal belong to the same LAN, and if the MAC address is not received within the set time, determining that the first IM terminal and the second IM terminal do not belong to the same LAN. the first IM terminal transmitting to the second IM terminal an ARP protocol request package and detecting whether a MAC address returned from the second IM terminal is received within a set time, if the MAC address is received within the set time, determining that the first IM terminal and the second IM terminal belong to the same LAN, and if the MAC address is not received within the set time, determining that the first IM terminal and the second IM terminal do not belong to the same LAN.