The invention provides a
smart grid authentication and key negotiation method and
system considering a dynamic identity matching table, and belongs to the technical field of
smart grid communication security. The method comprises the following steps: a
service provider randomly generates a first random number and a second random number, stores the first random number and the second random number in a dynamic identity matching table, and encrypts a first identity identifier of an intelligent electric meter through a
hash function; randomly generating a third random number through the intelligent electric meter, and encrypting and solving the first
authentication information through the
hash function; matching the first random number and the corresponding second random number in the dynamic identity matching table, solving the first
verification information by combining the first encrypted identity identifier, comparing the first
verification information with the first
authentication information for
verification, and solving the first verification code, the second verification code and the second
authentication information; and decrypting the first verification code and the second verification code through the intelligent electric meter, solving the decrypted
authentication information, comparing the decrypted
authentication information with the second authentication information, and judging that the authentication process is completed when the two authentication information are equal. According to the invention, the communication security is improved, and the
system operation efficiency is improved.