Faulty link switching method and system, and related device
AssigneeHuawei Technologies Co., Ltd.
InventorJike Cheng
Life of this patent
Estimating the term…
Abstract
In an embodiment a switching system includes a host, a storage device and at least two links existing between the host and the storage device, wherein the storage device is configured to monitor the at least two links and to send faulty link information to the host when detecting a link fault, and wherein the host is configured to receive the faulty link information sent by the storage device and to switch, based on the faulty link information, a service on a faulty link corresponding to the faulty link information to a normal link in the at least two links.
Claims19
A switching system comprising:
- a host;
- a storage device;
- and
- at least two links existing between the host and the storage device,
- wherein the host is configured to:
- periodically send query requests for querying faulty link information to the storage device,
- wherein the storage device is configured to:
- monitor the at least two links,
- receive the query requests from the host,
- in response to detection of a link fault and reception of a first query request of the query requests, add the faulty link information to feedback information of the first query request, and
- send the feedback information to the host,
- wherein the host is further configured to:
- receive the faulty link information sent by the storage device, and
- switch, based on the faulty link information, a service on a faulty link corresponding to the faulty link information to a normal link of the at least two links, and
- wherein the storage device is further configured to send the faulty link information to the host by using the normal link of the at least two links.
A switching method comprising:
- periodically sending, by a host, query requests for querying faulty link information to a storage device;
- receiving, by the host, the faulty link information in feedback information of a first query request of the query requests, wherein the feedback information was sent by the storage device, wherein at least two links exist between the host and the storage device, and wherein the faulty link information was added to the feedback information by the storage device in response to detection of a link fault and reception of the first query request;
- and
- switching, by the host based on the faulty link information, a service on a faulty link corresponding to the faulty link information to a normal link of the at least two links, wherein the faulty link information is received, by the host, via the normal link of the at least two links.
A switching method comprising:
- periodically receiving, by a storage device, query requests for querying faulty link information from a host,
- wherein at least two links exist between the storage device and the host;
- in response to detection of a link fault and reception of a first query request of the query requests, adding, by the storage device, the faulty link information to feedback information of the first query request;
- and
- sending, by the storage device, the feedback information to the host so that the host is able to switch a service on a faulty link to a normal link of the at least two links based on the faulty link information, wherein the faulty link information is sent to the host by using the normal link of the at least two links;
- and
- receiving, by the storage device, the service delivered by the host via the normal link.
A computing device comprising:
- a memory;
- and
- at least one processor configured to execute a computer program stored in the memory, the computer program including instructions for:
- periodically receive query requests for querying faulty link information from a host;
- monitoring a link for interacting with the host, wherein at least two links exist between a storage device and the host;
- in response to detection of a link fault and reception of a first query request of the query requests, adding the faulty link information to feedback information of the first query request;
- sending the feedback information to the host to indicate the host switching a service on a faulty link to a normal link of the at least two links based on the faulty link information, wherein the faulty link information is sent to the host by using the normal link of the at least two links;
- and
- receiving the service delivered by the host by using the normal link.
Dependencies are inferred from the claim text.