Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Selection method and device for master and slave service unit

A service unit and selection device technology, applied in electrical components, digital transmission systems, data exchange networks, etc., can solve problems such as high implementation costs, consuming large hardware resources, and inability to support cluster environments, and achieve the effect of reducing HA costs

Active Publication Date: 2014-03-26
MAIPU COMM TECH CO LTD
View PDF7 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in a cluster environment composed of multiple devices, since there is more than one device, there may be more than two main control cards
In order to achieve the purpose of load sharing, different control services will be enabled in different main control cards, so the 2N redundancy mode can no longer support the entire cluster environment well.
In addition, each main control card that is providing control services must have a standby role. The use of one-to-one 2N redundancy mode requires a lot of hardware resources, and the implementation cost of HA is relatively high.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Selection method and device for master and slave service unit
  • Selection method and device for master and slave service unit
  • Selection method and device for master and slave service unit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] An embodiment of the present invention provides a method for selecting an active and standby service unit, such as figure 1 shown, including:

[0030] 101. Obtain the high availability HA status of each service unit in the service group, where the HA status includes a primary role, a standby role, and an unknown role.

[0031] In the present invention, according to the different functions provided by each module in the product, we divide the modules with similar business logic and can be independently managed together into service units (SUs), and each service unit provides a Type of control service. The whole product can be considered to be composed of many such service units. In order to improve service reliability, we design redundancy for these service units, and divide them into active and standby service units according to the HA state. As the smallest unit of HA management, the service unit can independently switch the HA state. Each group of such service unit...

Embodiment 2

[0041] An embodiment of the present invention provides a method for selecting an active and standby service unit, such as image 3 As shown, the method includes:

[0042] 201. Obtain the high availability HA status of each service unit in the service group, where the HA status includes a primary role, a standby role, and an unknown role.

[0043] In this embodiment, we define three HA-related states for each service unit: one is the HA state, one is the switchable state, and there is a priority.

[0044] Among them, the HA state indicates the current role of the service unit, and its values ​​include: unknown, active, standby, quiescing, and quiesced. The main states are active and standby, that is, the aforementioned primary role and standby role. The other three states are temporary process states.

[0045] 202. Obtain the switchable status of each service unit in the service group, where the switchable status includes handover preparation completed, handover preparation ...

Embodiment 3

[0071] The embodiment of the present invention provides a device 30 for selecting an active / standby service unit, such as Figure 4 shown, including:

[0072] An acquisition unit 31, configured to acquire the high availability HA status of each service unit in the service group, wherein the HA status includes a master role, a standby role and an unknown role;

[0073] A sorting unit 32, configured to sort each service unit in the service group according to the HA status acquired by the acquiring unit 31, to obtain a temporary linked list;

[0074] The primary role selection unit 33 is configured to select, for the service instance, a service unit with a primary role in the HA state as the primary service unit according to the order in the temporary linked list obtained by the sorting unit 32;

[0075] The standby role selection unit 34 is configured to select a service unit whose HA status is the standby role for the service instance as the standby service unit according to t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a selection method and a device for master and slave service unit, which relate to the field of electrocommunication. A master and slave relationship can be reasonably distributed in an N+M redundancy mode, so that the N+M redundancy mode can be realized conveniently, and HA (high availability) cost is reduced. The method mainly comprises the following steps of acquiring an HA state of each service unit in a service group, wherein the HA state comprises a master character, a slave character and an unknown character; sorting the service units in the service group according to the HA states to obtain a temporary linked list; selecting the service unit with the HA state as the master character to be a master service unit for a service instance according to the sequence of the temporary linked list; and selecting the service unit with the HA state as the slave character to be a slave service unit for the service instance according to the sequence of the temporary linked list. The embodiment of the invention is mainly applied in a process for distributing the master service unit and the slave service unit for the service instance.

Description

technical field [0001] The present invention relates to the field of electronic communication, in particular to a method and device for selecting an active and standby service unit (Service Unit, SU). Background technique [0002] In the field of data communication, in order to improve the high availability (High Availability, HA) of the data communication infrastructure, the components or functions that provide main services are usually designed with redundancy in high-end equipment. In this redundant HA scheme, the component or function that is currently providing external services is defined as the primary role, and the redundant component or function that is ready to take over the primary role to provide services at any time is defined as the standby role. When the primary role can no longer provide external services for some reason, the standby role will take over the primary role and continue to provide external services, thereby improving the normal service time of th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L1/22H04L12/725
Inventor 孟春雷梁晖
Owner MAIPU COMM TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products