The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Nov. 26, 2019
Filed:
Jan. 19, 2017
Beijing Baidu Netcom Science and Technology Co., Ltd., Beijing, CN;
Haifeng Wang, Beijing, CN;
Wei He, Beijing, CN;
Yu Ma, Beijing, CN;
Weide Zhang, Beijing, CN;
Zhuo Chen, Beijing, CN;
Jingchao Feng, Beijing, CN;
Beijing Baidu Netcom Science And Technology Co., Ltd, Beijing, CN;
Abstract
The present application discloses a method and apparatus for switching between servers in a server cluster. The server cluster includes at least one server for implementing a given service. A specific implementation of the method includes: detecting a number of servers in a standby state in the server cluster; starting at least one server in the server cluster so that the number of servers in the standby state reaches a predetermined number, in response to detecting the number of servers in the standby state being less than the predetermined number; monitoring a master server for providing a service in the server cluster; and selecting a server from the servers in the standby state as a master server to continue to provide the service, in response to detecting the master server being abnormal. This implementation solves the data loss problem caused by an abnormal termination or restart of the master server.