Patent ID: 9438566
Filing Date: 2016-09-06
CPC Classification: H04L

Claim Text:
1. A method for negotiation based on internet key exchange (IKE) messages, the method comprising: sending, by an active device, a first message for negotiating IPSec information to a peer device, wherein the first message carries a first identity; updating, by a standby device, a value of a stored third identity according to an update notification of the active device, wherein the update notification of the active device is sent by the active device after the active device updates a value of a stored second identity during negotiating Internet Protocol Security (IPSec) information with the peer device; sending, by a new active device according to the updated third identity, a second message for negotiating IPSec information to the peer device when the standby device switches to a new active device; and sending a third message for negotiating IPSec information to the peer device, wherein a value of a first identity carried in the second message is different than a value of the first identity carried in the third message; wherein the third identity is an identity that is stored in the standby device and used to acquire state information of the active device; and wherein the state comprises an intermediate state and a stable state; wherein the first identity of the first message is message_id; wherein the second identity is next_sendmsg_id; wherein the third identity is next_sendmsg_id; wherein an initial value of the first identity of the first message, an initial value of the second identity, and an initial value of the third identity are the same and are all N; wherein the updating of the value of the stored second identity comprises updating, by the active device, the value of the stored second identity to N+1; and wherein the updating of the value of the stored third identity comprises updating, by the standby device, the value of the stored third identity to N+1.