Patent ID: 11892922
Assignee: HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 5:
6. A method for switching between a master application server and a backup application server, applied to a management server, comprising:
when it is detected that the master application server is in failure, if a backup application server state recorded by the management server is a backup ready state, querying for a connection state of a hot-backup connection between the master application server and the backup application server; wherein the backup ready state is used to indicate that the hot-backup connection between a backup application server and a master application server is abnormal when the backup application server is not in failure; and
when a backup application server state indicated by the connection state is inconsistent with the backup application server state recorded by the management server, controlling the master application server and the backup application server to perform switching between the master application server and the backup application server.