Patent ID: 8195942

Claim:
An authentication method for network security, comprising the following steps: configuring a Media Gateway (MG) with an authentication key and setting a security data package, which is a collection of a security authentication signal and an event, on a network protocol, by a Media Gateway Controller (MGC); during a security authentication, sending by the MGC a security authentication request containing a security authentication parameter to the MG using the security data package; performing an encryption calculation and obtaining a calculation result according to the security authentication parameter and the authentication key, by the MG; reporting the calculation result to the MGC, by the MG; and determining by the MGC whether the MG is legal by comparing the calculation result obtained according to the security authentication parameter and the authentication key with a result calculated by the MGC, wherein sending by the MGC a security authentication request comprises: sending, by the MGC, a Request Notification command or a Modify command to the MG, and, allocating a Request Identifier to request the MG to detect a security authentication completion event, and wherein reporting the calculation result to the MGC by the MG comprises: generating, by the MG, the security authentication completion event, and checking, by the MG, whether the MGC has requested to report the security authentication completion event, if the MGC has requested to report the event, sending, by the MG, to the MGC a Notify command with the detected event being the security authentication completion event and a parameter of the event being the encrypted result, a Request identifier of the Notify command being identical to the Request identifier allocated by the MGC.