A method for realizing a walkie-talkie function of a terminal over a WIFI wireless local area network, comprising the following steps: initiating, by a calling terminal, a request for obtaining a dynamic internet protocol, IP, address via a WIFI wireless local area network; after receiving the request via the WIFI wireless local area network, judging, by a called terminal, whether the calling terminal has successfully obtained the dynamic IP address or not; if the called terminal determines that the calling terminal has successfully obtained the dynamic IP address, judging, by the called terminal, whether the calling terminal has enabled the walkie-talkie function or not; if the called terminal determines that the calling terminal has enabled the walkie-talkie function, sending, by the called terminal, a message to the calling terminal for indicating that the called terminal is already online, performing the walkie-talkie function between the calling terminal and the called terminal via the WIFI wireless local area network; and wherein the step of judging whether the calling terminal has enabled the walkie-talkie function or not if the called terminal determines that the calling terminal has successfully obtained the dynamic IP address comprises: when the called terminal determines that the calling terminal has successfully obtained the dynamic IP address, judging whether the calling terminal has enabled the walkie-talkie function or not by a host name in the received request initiated by the calling terminal for obtaining the dynamic IP address; if the host name is a default host name in a DHCP server, determining that the calling terminal has not enabled the walkie-talkie function; if the host name is a modified host name in the DHCP server, determining that the calling terminal has already enabled the walkie-talkie function. initiating, by a calling terminal, a request for obtaining a dynamic internet protocol, IP, address via a WIFI wireless local area network; after receiving the request via the WIFI wireless local area network, judging, by a called terminal, whether the calling terminal has successfully obtained the dynamic IP address or not; if the called terminal determines that the calling terminal has successfully obtained the dynamic IP address, judging, by the called terminal, whether the calling terminal has enabled the walkie-talkie function or not; if the called terminal determines that the calling terminal has enabled the walkie-talkie function, sending, by the called terminal, a message to the calling terminal for indicating that the called terminal is already online, performing the walkie-talkie function between the calling terminal and the called terminal via the WIFI wireless local area network; and wherein the step of judging whether the calling terminal has enabled the walkie-talkie function or not if the called terminal determines that the calling terminal has successfully obtained the dynamic IP address comprises: when the called terminal determines that the calling terminal has successfully obtained the dynamic IP address, judging whether the calling terminal has enabled the walkie-talkie function or not by a host name in the received request initiated by the calling terminal for obtaining the dynamic IP address; if the host name is a default host name in a DHCP server, determining that the calling terminal has not enabled the walkie-talkie function; if the host name is a modified host name in the DHCP server, determining that the calling terminal has already enabled the walkie-talkie function. when the called terminal determines that the calling terminal has successfully obtained the dynamic IP address, judging whether the calling terminal has enabled the walkie-talkie function or not by a host name in the received request initiated by the calling terminal for obtaining the dynamic IP address; if the host name is a default host name in a DHCP server, determining that the calling terminal has not enabled the walkie-talkie function; if the host name is a modified host name in the DHCP server, determining that the calling terminal has already enabled the walkie-talkie function.