A method for resetting a password of a network monitoring device, comprising: generating a first characteristic code according to encrypted content (S102); sending the first characteristic code to a server (S104); receiving a password resetting command from the server and a reset password from a client, wherein the password resetting command is obtained by encrypting the first characteristic code with adoption of a first key, and returned by the server after receiving the first characteristic code (S106); and decrypting the password resetting command by adopting a second key, and resetting the password of the network monitoring device by utilizing the reset password, wherein the first key and the second key are a pair of keys in an asymmetric encryption algorithm (S108); wherein the first key, stored in the server, is a private key and the second key, stored in the network monitoring device, is a public key; wherein data exchange is performed between the client and the network monitoring device by adopting local area network communication, and data exchange is performed between the client and the server by means of internet communication; wherein before sending the first characteristic code to the server, further comprising: setting a valid period of the first characteristic code; and after receiving the password resetting command from the server and the reset password from the client, further comprising: judging whether the password resetting command is received within the valid period, wherein when a judging result is that the password resetting command is received within the valid period, the password resetting command is decrypted by adopting the second key, and the password of the network monitoring device is reset by utilizing the reset password. generating a first characteristic code according to encrypted content (S102); sending the first characteristic code to a server (S104); receiving a password resetting command from the server and a reset password from a client, wherein the password resetting command is obtained by encrypting the first characteristic code with adoption of a first key, and returned by the server after receiving the first characteristic code (S106); and decrypting the password resetting command by adopting a second key, and resetting the password of the network monitoring device by utilizing the reset password, wherein the first key and the second key are a pair of keys in an asymmetric encryption algorithm (S108); wherein the first key, stored in the server, is a private key and the second key, stored in the network monitoring device, is a public key; wherein data exchange is performed between the client and the network monitoring device by adopting local area network communication, and data exchange is performed between the client and the server by means of internet communication; wherein before sending the first characteristic code to the server, further comprising: setting a valid period of the first characteristic code; and after receiving the password resetting command from the server and the reset password from the client, further comprising: judging whether the password resetting command is received within the valid period, wherein when a judging result is that the password resetting command is received within the valid period, the password resetting command is decrypted by adopting the second key, and the password of the network monitoring device is reset by utilizing the reset password. <EOS>