# US 2021/0083928 A1 · Arbitration Method and Related Apparatus

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0083928 A1
- Document ID: US20210083928A1
- Status: Published application
- Kind: A1
- Application number: 17/103,177
- Filed: 2020-11-24
- Published: 2021-03-18
- Earliest claimed: 2018-05-25
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Yunzhou Zheng; Shubing Zhang; Shibin Liu; Zexu Huang; Ridong Xu; Kaiyao Huang
- Web page: https://patentgrep.com/patent/US20210083928A1

## CPC

- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- G06F 11/2023: {Failover techniques}
- G06F 11/2041: {with more than one idle spare processing component}
- G06F 11/2046: {where the redundant components share persistent storage (G06F11/2043 takes precedence)}
- H04L 41/0659: by isolating or reconfiguring faulty entities
- H04L 41/0663: Performing the actions predefined by failover planning, e.g. switching to standby network elements
- H04L 41/0668: by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
- H04L 41/342: between virtual entities, e.g. orchestrators, SDN or NFV entities
- H04L 41/40: using virtualisation of network functions or resources, e.g. SDN or NFV entities
- H04L 43/0811: by checking connectivity
- H04L 43/0817: by checking functioning
- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- H04L 43/20: the monitoring system or the monitored elements being virtualised, abstracted or software-defined entities, e.g. SDN or NFV
- G06F 2201/81: Threshold
- H04L 43/0829: Packet loss
- H04L 43/0858: {One way delays}
- H04L 43/16: Threshold monitoring
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

This application discloses an arbitration method and a related apparatus. The method includes: detecting, by the first ABS apparatus, first status information of a service module in the first DC; when determining that a communication link between the first DC and the second DC is faulty, obtaining, by the first ABS apparatus, second status information, wherein the second status information is status information that is of a service module in the second DC and that is detected by the second ABS apparatus; and arbitrating, by the first ABS apparatus, a subsequent service providing capability of the first DC based on the first status information and the second status information.

## Claims

### Claim at position 1

-20. (canceled)

### Claim 21

A method, comprising:
detecting, by a first arbitration service (ABS) apparatus, first status information of a first service module of a first data center (DC), wherein the first ABS apparatus is located in the first DC, the first DC is connected to a second DC, and the second DC comprises a second ABS apparatus;
when determining that a communication link between the first DC and the second DC is faulty, obtaining, by the first ABS apparatus, second status information, wherein the second status information is status information of a second service module in the second DC that is detected by the second ABS apparatus; and
arbitrating, by the first ABS apparatus, a subsequent service providing capability of the first DC based on the first status information and the second status information.

### Claim 22 (depends on 21)

The method according to claim 21, wherein:
the first DC further comprises a first data synchronization module, the second DC further comprises a second data synchronization module, the first data synchronization module is connected to a third data synchronization module in a third DC, the second data synchronization module is connected to the third data synchronization module, and data synchronization is implemented among the first data synchronization module, the second data synchronization module, and the third data synchronization module; and
the method further comprises:
storing, by the first ABS apparatus, the first status information in the first data synchronization module; and
obtaining, by the first ABS apparatus, the second status information comprises:
the first ABS apparatus reading the second status information from the first data synchronization module, wherein the second status information is stored in the second data synchronization module by the second ABS apparatus, and the second status information is synchronized to the first data synchronization module using the third data synchronization module.

### Claim 23 (depends on 22)

The method according to claim 22, further comprising:
detecting, by the first ABS apparatus, a first network connection status of the communication link between the first DC and the second DC, and storing the first network connection status in the first data synchronization module;
reading, by the first ABS apparatus, a second network connection status from the first data synchronization module, wherein the second network connection status is a network connection status of the communication link that is between the first DC and the second DC and is detected by the second ABS apparatus, and the second network connection status is stored in the second data synchronization module by the second ABS apparatus, and the second network connection status is synchronized to the first data synchronization module by using the third data synchronization module; and
when both the first network connection status and the second network connection status are disconnected states, determining, by the first ABS apparatus, that the communication link between the first DC and the second DC is faulty.

### Claim 24 (depends on 23)

The method according to claim 23, wherein the first ABS apparatus is an active apparatus in a plurality of ABS apparatuses comprised in the first DC, and at least one other ABS apparatus in the plurality of ABS apparatuses is a standby apparatus; and
wherein detecting, by the first ABS apparatus, the first network connection status of the connection between the first DC and the second DC comprises:
when detecting a network disconnection of the communication link between the first DC and the second DC, determining, by the first ABS apparatus, a detection apparatus queue, wherein the detection apparatus queue comprises the active apparatus and at least one standby apparatus, and the detection apparatus queue is usable to detect network connectivity to the second DC; and
when the first ABS apparatus detects that detection results obtained after all apparatuses in the detection apparatus queue perform detection for a first preset quantity of times are all network disconnected, determining, by the first ABS apparatus, that the first network connection status of the communication link between the first DC and the second DC is a disconnected state; or
when the first ABS apparatus detects that a detection result of any apparatus in the detection apparatus queue is network connected when a quantity of detection times does not exceed a first preset quantity of times, determining, by the first ABS apparatus, the first network connection status of the communication link between the first DC and the second DC is a connected state.

### Claim 25 (depends on 24)

The method according to claim 24, further comprising:
increasing, by the first ABS apparatus, a heartbeat timeout duration of each service module in the first ABS apparatus when a quantity of times of determining the detection apparatus queue in a first preset time period reaches a second preset quantity of times, and active/standby switching of service modules is performed for a third preset quantity of times in a second preset time period.

### Claim 26 (depends on 25)

The method according to claim 25, wherein increasing, by the first ABS apparatus, the heartbeat timeout duration of each service module in the first ABS apparatus when the quantity of times of determining the detection apparatus queue in the first preset time period reaches a second preset quantity of times, and active/standby switching of the service modules is performed for a third preset quantity of times in the second preset time period comprises:
obtaining, by the first ABS apparatus, a network QoS parameter when the quantity of times of determining the detection apparatus queue in the first preset time period reaches the second preset quantity of times; and
increasing, by the first ABS apparatus, the heartbeat timeout duration of each service module when the network QoS parameter is greater than a preset threshold, and the active/standby switching of service modules is performed for the third preset quantity of times in the second preset time period.

### Claim 27 (depends on 21)

The method according to claim 21, wherein the first status information and the second status information respectively comprise at least one of a weight of a non-faulty service module, a quantity of non-faulty service modules, or a quantity of active service modules; and
wherein a weight of a service module indicates an importance degree of the service module.

### Claim 28 (depends on 21)

The method according to claim 21, wherein the first status information and the second status information respectively comprise at least one of a weight of a non-faulty service module, a quantity of non-faulty service modules, or a quantity of active service modules; and
wherein arbitrating, by the first ABS apparatus, the subsequent service providing capability of the first DC based on the first status information and the second status information comprises:
when a sum of weights comprised in the first status information is greater than a sum of weights comprised in the second status information, determining through arbitration that the subsequent service providing capability of the first DC is that the first DC is capable of providing a service; or
when a sum of weights comprised in the first status information is less than a sum of weights comprised in the second status information, determining through arbitration that the subsequent service providing capability of the first DC is that the first DC is not capable of providing a service.

### Claim 29 (depends on 21)

The method according to claim 21, wherein the first status information and the second status information respectively comprise a quantity of non-faulty service modules; and
wherein arbitrating, by the first ABS apparatus, a subsequent service providing capability of the first DC based on the first status information and the second status information comprises:
when the quantity of non-faulty service modules that is comprised in the first status information is greater than the quantity of non-faulty service modules that is comprised in the second status information, determining through arbitration that the subsequent service providing capability of the first DC is that the first DC is capable of providing a service; or
when the quantity of non-faulty service modules that is comprised in the first status information is less than the quantity of non-faulty service modules that is comprised in the second status information, determining through arbitration that the subsequent service providing capability of the first DC is that the first DC is not capable of providing a service.

### Claim 30 (depends on 21)

The method according to claim 21, wherein the first status information and the second status information respectively comprise a quantity of active service modules; and
wherein arbitrating, by the first ABS apparatus, a subsequent service providing capability of the first DC based on the first status information and the second status information comprises:
when the quantity of active service modules that is comprised in the first status information is greater than the quantity of active service modules that is comprised in the second status information, determining through arbitration that the subsequent service providing capability of the first DC is that the first DC is capable of providing a service; or
when the quantity of active service modules that is comprised in the first status information is less than the quantity of active service modules that is comprised in the second status information, determining through arbitration that the subsequent service providing capability of the first DC is that the first DC is not capable of providing a service.

### Claim 31

An arbitration service (ABS) apparatus, comprising:
a processor; and
a non-transitory computer-readable storage medium storing a program to be executed by the processor, the program including instructions for:
detecting first status information of a first service module in a first data center (DC), wherein the ABS apparatus is located in the first DC, the first DC is connected to a second DC, and the second DC comprises a second ABS apparatus;
when it is determined that a communication link between the first DC and the second DC is faulty, obtain second status information, wherein the second status information is status information that is of a second service module in the second DC and that is detected by the second ABS apparatus; and
arbitrate a subsequent service providing capability of the first DC based on the first status information and the second status information.

### Claim 32 (depends on 31)

The ABS apparatus according to claim 31, wherein the first DC further comprises a first data synchronization module, the second DC further comprises a second data synchronization module, the first data synchronization module is connected to a third data synchronization module in a third DC, the second data synchronization module is connected to the third data synchronization module, and data synchronization is implemented among the first data synchronization module, the second data synchronization module, and the third data synchronization module;
wherein the program further comprises instructions for storing the first status information in the first data synchronization module; and
wherein the instruction for obtaining the second status information comprise instructions for:
reading the second status information from the first data synchronization module, wherein the second status information is stored in the second data synchronization module by the second ABS apparatus, and is synchronized to the first data synchronization module by using the third data synchronization module.

### Claim 33 (depends on 32)

The ABS apparatus according to claim 32, wherein the program further includes instructions for:
detecting a first network connection status of the communication link between the first DC and the second DC;
storing the first network connection status in the first data synchronization module;
reading a second network connection status from the first data synchronization module, wherein the second network connection status is a network connection status of the communication link that is between the first DC and the second DC and that is detected by the second ABS apparatus, and the second network connection status is stored in the second data synchronization module by the second ABS apparatus, and the second network connection status is synchronized to the first data synchronization module by using the third data synchronization module; and
when both the first network connection status and the second network connection status are disconnected states, determining that the communication link between the first DC and the second DC is faulty.

### Claim 34 (depends on 33)

The ABS apparatus according to claim 33, wherein the ABS apparatus is an active apparatus in a plurality of ABS apparatuses comprised in the first DC, and at least one second ABS apparatus in the plurality of ABS apparatuses is a standby apparatus; and
wherein the instructions for detecting the first network connection status of the communication link between the first DC and the second DC is comprise instructions for:
when detecting a network disconnection between the first DC and the second DC, determining a detection apparatus queue, wherein the detection apparatus queue comprises an active apparatus and at least one standby apparatus, and the detection apparatus queue is usable to detect network connectivity to the second DC; and
when detecting that detection results obtained after all apparatuses in the detection apparatus queue perform detection for a first preset quantity of times are all network disconnected, determining that the first network connection status between the first DC and the second DC is a disconnected state; or
when detecting that a detection result of any apparatus in the detection apparatus queue is network connected when a quantity of detection times does not exceed a first preset quantity of times, determining that the first network connection status between the first DC and the second DC is a connected state.

### Claim 35 (depends on 34)

The ABS apparatus according to claim 34, wherein the program further comprises instructions for:
increasing a heartbeat timeout duration of each service module of the ABS apparatus when a quantity of times of determining the detection apparatus queue in a first preset time period reaches a second preset quantity of times, and active/standby switching of service modules is performed for a third preset quantity of times in a second preset time period.

### Claim 36 (depends on 35)

The ABS apparatus according to claim 35, wherein the program comprises instructions for:
obtaining a network QoS parameter when the quantity of times of determining the detection apparatus queue in the first preset time period reaches the second preset quantity of times; and
increasing the heartbeat timeout duration of each service module when the network QoS parameter is greater than a preset threshold, and the active/standby switching of service modules is performed for the third preset quantity of times in the second preset time period.

### Claim 37 (depends on 31)

The ABS apparatus according to claim 31, wherein the first status information and the second status information respectively comprise at least one of a weight of a non-faulty service module, a quantity of non-faulty service modules, or a quantity of active service modules; and
wherein a weight of a service module indicates an importance degree of the service module.

### Claim 38 (depends on 37)

The ABS apparatus according to claim 37, wherein the first status information and the second status information respectively comprise the weight of a non-faulty service module, and wherein the instructions for performing arbitration on the subsequent service providing capability of the first DC based on the first state information and the second state information comprise instructions for:
when a sum of weights comprised in the first status information is greater than a sum of weights comprised in the second status information, determining through arbitration that the subsequent service providing capability of the first DC is that the first DC is capable of providing a service; or
when a sum of weights comprised in the first status information is less than a sum of weights comprised in the second status information, determining through arbitration that the subsequent service providing capability of the first DC is that the first DC is not capable of providing a service.

### Claim 39 (depends on 37)

The ABS apparatus according to claim 37, wherein the first status information and the second status information respectively comprise the quantity of non-faulty service modules, and the instructions for arbitrating the subsequent service providing capability of the first DC based on the first status information and the second status information comprise instructions for:
when the quantity of non-faulty service modules that is comprised in the first status information is greater than the quantity of non-faulty service modules that is comprised in the second status information, determining through arbitration that the subsequent service providing capability of the first DC is that the first DC is capable of providing a service; or
when the quantity of non-faulty service modules that is comprised in the first status information is less than the quantity of non-faulty service modules that is comprised in the second status information, determining through arbitration that the subsequent service providing capability of the first DC is that the first DC is not capable of providing a service.

### Claim 40 (depends on 37)

The ABS apparatus according to claim 37, wherein the first status information and the second status information respectively comprise the quantity of active service modules, and the instructions for arbitrating the subsequent service providing capability of the first DC based on the first status information and the second status information comprise instructions for:
when the quantity of active service modules that is comprised in the first status information is greater than the quantity of active service modules that is comprised in the second status information, determining through arbitration that the subsequent service providing capability of the first DC is that the first DC is capable of providing a service; or
when the quantity of active service modules that is comprised in the first status information is less than the quantity of active service modules that is comprised in the second status information, determining through arbitration that the subsequent service providing capability of the first DC is that the first DC is not capable of providing a service.
