CN113904918A - Frame type switch equipment management method and device - Google Patents
Frame type switch equipment management method and device Download PDFInfo
- Publication number
- CN113904918A CN113904918A CN202111008253.XA CN202111008253A CN113904918A CN 113904918 A CN113904918 A CN 113904918A CN 202111008253 A CN202111008253 A CN 202111008253A CN 113904918 A CN113904918 A CN 113904918A
- Authority
- CN
- China
- Prior art keywords
- control card
- card
- main control
- information
- service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
- 238000007726 management method Methods 0.000 title claims abstract description 77
- 230000008859 change Effects 0.000 claims abstract description 35
- 238000000034 method Methods 0.000 claims abstract description 31
- 230000008569 process Effects 0.000 claims abstract description 10
- 230000002159 abnormal effect Effects 0.000 claims description 9
- 230000004044 response Effects 0.000 claims description 7
- 230000001360 synchronised effect Effects 0.000 claims description 5
- 238000012423 maintenance Methods 0.000 abstract description 6
- 230000007246 mechanism Effects 0.000 abstract description 6
- 238000012545 processing Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0663—Performing the actions predefined by failover planning, e.g. switching to standby network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
- H04L41/0826—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability for reduction of network costs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
- H04L41/0836—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability to enhance reliability, e.g. reduce downtime
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Hardware Redundancy (AREA)
Abstract
The invention discloses a frame switch equipment management method and a device, when a system is initialized, each business card registers to a main control card and a standby main control card respectively; the main master control card responds to the registration of the service cards, and each service card stores the information of the master control card; the standby main control card stores the registration data of each service card; in the system execution process, the main control card receives the state change information of each service card and synchronizes the managed equipment information and the service forwarding control information to the standby main control card in real time; when the standby main control card is switched to a new main control card, the new main control card sends switching information to each service card, each service card updates the stored main control card information, and sends state change information to the new main control card. The invention is provided with two main control cards and adopts a real-time synchronization mechanism of the device information between the main control cards, thereby ensuring that the forwarding service is not influenced when the main control card and the standby control card are switched, further reducing the maintenance cost and improving the stability of the system.
Description
Technical Field
The invention relates to the field of equipment management of a frame switch, in particular to a method and a device for managing the equipment of the frame switch.
Background
When a solution is provided for large-scale complex network deployment, a frame switch is often used, so that the requirement of the network on the number of ports can be met, and the management of network nodes can be simplified. A block switch is typically composed of a control module and a distributed forwarding module. In some cases, in order to control the cost, the frame switch usually has only one master control card, which is responsible for controlling the tasks of the module and managing each service card; therefore, the situation that the whole equipment cannot work when the main control card is abnormal occurs. In some cases, two main control cards are configured in the system, but the device management information between the main control cards adopts a timing synchronization mechanism, so that the situation that when the main control cards are switched over, the forwarding service is abnormal due to untimely information synchronization between the main control cards may occur.
Disclosure of Invention
In order to solve the above problems, the present invention provides a method and an apparatus for managing a frame switch device, which implement real-time synchronization of device information between main control cards of a frame switch, and ensure that forwarding services are not affected when switching between main control cards and standby control cards, thereby reducing maintenance cost and improving system stability.
In a first aspect, a technical solution of the present invention provides a method for managing a frame switch device, including the following steps:
when the system is initialized, each business card registers to the main control card and the standby main control card respectively; the main master control card responds to the registration of the service cards, and each service card stores the information of the master control card; the standby main control card stores the registration data of each service card;
in the system execution process, the main control card receives the state change information of each service card and synchronizes the managed equipment information and the service forwarding control information to the standby main control card in real time;
when the standby main control card is switched to a new main control card, the new main control card sends switching information to each service card, each service card updates the stored main control card information, and sends state change information to the new main control card.
Further, the method comprises the following steps:
when the system is initialized, the device management tasks of the main master control card, the standby master control card and all the service cards are started.
Further, each service card registers to the main control card and the standby control card respectively; the main master control card responds to the registration of the service cards, and each service card stores the information of the master control card; the standby main control card stores the registration information of each service card, and the method specifically comprises the following steps:
each business card respectively sends registration information to the main control card and the main control card based on the equipment management task;
when the main master control card receives service card registration information based on the equipment management task, the received information is judged to be service card information, and the message type is registration information, and then all the service cards are registered based on the received information; meanwhile, the main master control card informs each service card that the main master control card is the main master control card;
each business card processes the registration response and stores the information of the main control card;
and when the standby main control card receives the service card registration information based on the equipment management task, judging that the received information is the registration information of the service card, and storing the registration data of each service card.
Further, the method comprises the following steps:
and starting the information synchronization subtasks in the management tasks of the main control card and the standby main control card.
Further, the main control card synchronizes the device information and the service forwarding control information managed by the main control card to the standby main control card in real time, which specifically includes:
when the main master control card receives the state change information of any service card, the main master control card informs the equipment of information synchronization subtasks in the management task;
and synchronizing the managed equipment information and the service forwarding control information to the standby main control card in real time based on the information synchronization subtask.
Further, switching the standby main control card to a new main control card specifically includes:
the standby main control card monitors the state of the main control card in real time;
when the state of the main control card is abnormal, the standby main control card is switched to a new main control card, and the original main control card stops working.
Further, switching the standby main control card to a new main control card specifically includes:
when the main control card and the standby main control card receive the switching command, the standby main control card is switched to be a new main control card, and the original main control card is degraded to be a new standby main control card.
In a second aspect, an embodiment of the present invention provides a frame switch device management apparatus, including,
a main master control card: receiving the registration information and the state change information of the service card, and responding to the registration of the service card; synchronizing the managed equipment information and the service forwarding control information to the standby main control card in real time;
standby main control card: receiving and storing the registration information of the service card; receiving real-time synchronous management equipment information and service forwarding control information of a main master control card;
and (4) service card: registering with the main control card and the standby control card respectively; storing and updating the information of the main control card; and sending state change information to the main master control card.
Furthermore, the main master control card, the standby master control card and the service card start the equipment management task when the system is initialized;
the service card respectively sends registration information to the main control card and the main control card based on the device management task;
the main master control card receives service card registration information based on the equipment management task, and registers each service card based on the received information when the received information is judged to be the service card information and the message type is the registration information; meanwhile, the main master control card informs each service card that the main master control card is the main master control card;
the standby main control card receives the service card registration information based on the equipment management task, and stores the registration data of each service card when judging that the received information is the registration information of the service card.
Furthermore, the main control card and the standby main control card both start an information synchronization subtask in the device management task;
when the main master control card receives the state change information of any service card, the main master control card informs the equipment of information synchronization subtasks in the management task; and synchronizing the managed equipment information and the service forwarding control information to the standby main control card in real time based on the information synchronization subtask.
Compared with the prior art, the frame type switch equipment management method and the device provided by the invention have the following beneficial effects: when registering, the service card registers to both the main control card and the standby main control card, the main control card responds to the registration, the standby main control card only stores the registration data and does not respond, then the service card sends state change information to the main control card, and the main control card synchronizes the managed equipment information and the service forwarding control information to the standby main control card in real time; when the main and standby main control cards are switched, the service card updates the information of the main control card in time and sends state change information to the new main control card. The invention provides the system with two main control cards and adopts a real-time synchronization mechanism of the device information between the main control cards, thereby ensuring that the forwarding service is not influenced when the main control card and the standby control card are switched, further reducing the maintenance cost and improving the stability of the system.
Drawings
For a clearer explanation of the embodiments or technical solutions of the prior art of the present application, the drawings needed for the description of the embodiments or prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a frame switch device management method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a specific service card execution method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a specific method for executing a primary host card according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a specific execution method of a standby main control card according to an embodiment of the present invention;
fig. 5 is a schematic block diagram of a result of a device for managing a frame switch device according to a second embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal according to a third embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
When a solution is provided for large-scale complex network deployment, a frame switch is often used, so that the requirement of the network on the number of ports can be met, and the management of network nodes can be simplified. A block switch is typically composed of a control module and a distributed forwarding module. In some cases, in order to control the cost, the frame switch usually has only one master control card, which is responsible for controlling the tasks of the module and managing each service card; therefore, the situation that the whole equipment cannot work when the main control card is abnormal occurs. In some cases, two main control cards are configured in the system, but the device management information between the main control cards adopts a timing synchronization mechanism, so that the situation that when the main control cards are switched over, the forwarding service is abnormal due to untimely information synchronization between the main control cards may occur.
Therefore, the invention provides a frame switch equipment management scheme, which realizes real-time synchronization of equipment information between main control cards of the frame switch, ensures that forwarding services are not influenced during main-standby switching, further reduces maintenance cost and improves system stability.
Example one
Fig. 1 is a schematic flow chart of a frame switch device management method provided in this embodiment, and includes the following steps.
S101, when a system is initialized, each business card registers to a main control card and a standby main control card respectively; the main master control card responds to the registration of the service cards, and each service card stores the information of the master control card; the standby main control card stores the registration data of each service card.
It should be noted that the standby master card only stores the registration data of each service card, and does not respond to the registration. And the main master control card responds to the registration of each service card, namely the service cards are registered.
And S102, in the process of system execution, the main master control card receives the state change information of each service card and synchronizes the managed equipment information and the service forwarding control information to the standby master control card in real time.
The state change information of the service card mainly comprises port state change, forwarding table item change, board card self state change and the like.
The device information managed by the main master control card includes state change information of each service card.
It should be noted that, when state change information of any service card is sent to the main master card, the main master card synchronizes the device information and the service forwarding control information managed by the main master card to the standby master card in real time.
The main control card and the standby main control card are synchronized in real time, and the information of the standby main control card is consistent with that of the main control card, so that the forwarding service of the system is not influenced when the main control card and the standby main control card are switched.
And S103, when the standby main control card is switched to a new main control card, the new main control card sends switching information to each service card, each service card updates the stored main control card information, and sends state change information to the new main control card.
It should be noted that, the main control card information is stored in the service card, that is, the service card is informed of which main control card is the main control card, when the system is initialized, the main control card informs the service card that the main control card is the main control card, when the main control card and the standby control card are switched, the original standby control card also sends the information of the main control card to the service card, so as to inform that the main control card of the service card changes, the service card updates the stored main control card information in time, and then sends the state change information to the new main control card.
In the method for managing frame switch equipment provided by this embodiment, when a service card is registered, it registers to both a main control card and a standby main control card, the main control card responds to the registration, the standby main control card only stores registration data and does not respond, then the service card sends state change information to the main control card, and the main control card synchronizes the equipment information and service forwarding control information managed by the main control card to the standby main control card in real time; when the main and standby main control cards are switched, the service card updates the information of the main control card in time and sends state change information to the new main control card. The invention provides the system with two main control cards and adopts a real-time synchronization mechanism of the device information between the main control cards, thereby ensuring that the forwarding service is not influenced when the main control card and the standby control card are switched, further reducing the maintenance cost and improving the stability of the system.
In order to implement data transmission and processing between the main control card, the standby control card, and each service card, in this embodiment, at the beginning of the system, the device management tasks of the main control card, the standby control card, and all the service cards are started. Namely, before the step S101, the method further includes the steps of:
s100, when the system is initialized, equipment management tasks of the main master control card, the standby master control card and all the service cards are started.
And then, data transmission and processing are realized among the main control card, the standby main control card and each service card based on the equipment management task.
Specifically, in step S101, each service card registers with the primary main control card and the standby main control card, respectively; the main master control card responds to the registration of the service cards, and each service card stores the information of the master control card; the standby main control card stores the registration information of each service card and comprises the following steps.
S101_1, each service card respectively sends registration information to a main control card and a main control card based on a device management task;
s101_2, when the main master control card receives service card registration information based on the device management task, judging that the received information is the service card information and the message type is the registration information, and registering each service card based on the received information; meanwhile, the main master control card informs each service card that the main master control card is the main master control card;
s101_3, each business card processes the registration response and stores the information of the master control card;
s101_4, when the standby main control card receives the service card registration information based on the device management task, judging that the received information is the registration information of the service card, and storing the registration data of each service card.
Considering that the main control card and the standby main control card receive information about the boards such as the service cards and also receive information about the boards such as the main control cards to realize switching of the main control card and the standby main control card, when receiving the board information, the main control card and the standby main control card first judge whether the information is about the service cards or about the main control cards, and then perform different processing according to different board types. Meanwhile, when receiving the information about the service card, the main control card judges the information type, namely the registration information or the event notification information when receiving the information, the state change information of the service card is the event notification information, the service card is registered when receiving the registration information, the managed equipment information and the managed service forwarding control information are updated when receiving the event notification information, and the managed equipment information and the managed service forwarding control information are synchronized to the standby main control card in real time.
In this embodiment, to implement synchronization between the active main control card and the standby main control card, the information synchronization subtask in the device management task is specifically implemented. Specifically, the following process is also performed in step S100: and starting the information synchronization subtasks in the management tasks of the main control card and the standby main control card.
Correspondingly, in step S102, the main control card synchronizes the device information and the service forwarding control information managed by the main control card to the standby main control card in real time, which specifically includes the following steps:
step one, when a main master control card receives state change information of any service card, informing equipment of an information synchronization subtask in a management task;
and step two, synchronizing the managed equipment information and the service forwarding control information to the standby main control card in real time based on the information synchronization subtask.
The main and standby main control cards are switched, and two types of trigger conditions are provided, wherein one type is to switch the main and standby cards when the main control card is abnormal, and the other type is to actively initiate the switching by the main control card and send a switching command to the standby main control card for switching.
Specifically, the step S103 of switching the standby main control card to the new main control card specifically includes the following steps:
firstly, a standby main control card monitors the state of a main control card in real time;
and step two, when the state of the main control card is abnormal, the standby main control card is switched to a new main control card, and the original main control card stops working.
Correspondingly, the step S103 of switching the standby main control card to the new main control card specifically includes the following steps:
and step three, when the standby main control card receives the switching command sent by the main control card, the standby main control card is switched to a new main control card, and the original main control card is degraded to the new standby main control card.
In order to further explain the present invention, the following describes the execution processes of the service card, the main control card and the standby main control card respectively.
As shown in fig. 2, the service card specifically executes the following steps:
step one, a service card is started;
step two, starting the equipment management task of the business card;
step three, sending registration information to the main control card and the standby main control card;
step four, processing the registration response and storing the information of the master control card;
step five, keeping communication with the main master control card;
step six, detecting whether the state of the mobile phone changes;
and step seven, if the self state changes, the state change information is sent to the main master control card, otherwise, whether the self state changes is continuously detected.
As shown in fig. 3, the main control card specifically executes the following steps;
firstly, a main master control card is started;
step two, starting an equipment management task and an information synchronization subtask in the equipment management task;
step three, judging the information type of the board card when the board card information is received, if the information type of the board card is the service card information, executing the step four, and if the information type of the board card is the main control card information, executing the step eight;
step four, judging the information type of the service card, if the information type of the service card is registration information, executing step five, and if the information type of the service card is event notification, executing step six;
step five, storing the service card registration data and registering the service card;
step six, updating the state information of the service card;
step seven, the information synchronization subtask is notified to synchronize the managed equipment information and the service forwarding control information to the standby main control card in real time;
and step eight, processing the switching response of the main and standby main control cards and reducing the switching response into the standby main control card.
As shown in fig. 4, the standby master card specifically executes the following steps:
step one, starting a standby main control card;
step two, starting an equipment management task and an information synchronization subtask in the equipment management task;
step three, judging the information type of the board card when the board card information is received, if the information type of the board card is the service card information, executing step four, and if the information type of the board card is the main control card information, executing step five; meanwhile, monitoring whether the main master control card is abnormal, if so, executing the step six, otherwise, executing the step seven;
step four, storing the service card registration data;
step five, processing the switching response of the main and standby main control cards, and upgrading the main and standby main control cards into a main control card;
step six, executing the main/standby switching operation, and upgrading the main/standby switching operation into a main control card;
and step seven, receiving the equipment information and the service forwarding control information synchronously managed by the main master control card in real time.
Example two
The second embodiment provides a device for managing a frame switch device, which is used to implement the method for managing a frame switch device.
Fig. 5 is a schematic block diagram of a result of a frame switch device management apparatus provided in the second embodiment, including an active main control card, a standby main control card, and a plurality of service cards.
A main master control card: receiving the registration information and the state change information of the service card, and responding to the registration of the service card; synchronizing the managed equipment information and the service forwarding control information to the standby main control card in real time;
standby main control card: receiving and storing the registration information of the service card; receiving real-time synchronous management equipment information and service forwarding control information of a main master control card;
and (4) service card: registering with the main control card and the standby control card respectively; storing and updating the information of the main control card; and sending state change information to the main master control card.
In the frame switch device management apparatus provided in the second embodiment, when a service card is registered, the service card registers with both a main control card and a standby main control card, the main control card responds to the registration, the standby main control card only stores registration data and does not respond, then the service card sends state change information to the main control card, and the main control card synchronizes device information and service forwarding control information managed by the main control card to the standby main control card in real time; when the main and standby main control cards are switched, the service card updates the information of the main control card in time and sends state change information to the new main control card. The invention provides the system with two main control cards and adopts a real-time synchronization mechanism of the device information between the main control cards, thereby ensuring that the forwarding service is not influenced when the main control card and the standby control card are switched, further reducing the maintenance cost and improving the stability of the system.
In this embodiment, the master control card, the standby master control card, and the service card start device management tasks when the system is initialized.
Correspondingly, the service card respectively sends registration information to the main control card and the main control card based on the device management task.
The main master control card receives service card registration information based on the equipment management task, and registers each service card based on the received information when the received information is judged to be the service card information and the message type is the registration information; meanwhile, the main master control card informs each service card that the main master control card is the main master control card.
The standby main control card receives the service card registration information based on the equipment management task, and stores the registration data of each service card when judging that the received information is the registration information of the service card.
In this embodiment, both the active main control card and the standby main control card start an information synchronization subtask in the device management task.
Correspondingly, when the main master control card receives the state change information of any service card, the main master control card informs the equipment of information synchronization subtasks in the management task; and synchronizing the managed equipment information and the service forwarding control information to the standby main control card in real time based on the information synchronization subtask.
The frame switch device management apparatus of this embodiment is used to implement the foregoing frame switch device management method, so that a specific implementation in the apparatus may be found in the foregoing embodiment section of the frame switch device management method, and therefore, the specific implementation may refer to the description of the corresponding respective section embodiments, and is not described here again.
In addition, since the frame switch device management apparatus of this embodiment is used to implement the foregoing frame switch device management method, its role corresponds to that of the foregoing method, and is not described herein again.
EXAMPLE III
Fig. 6 is a schematic structural diagram of a terminal device 600 according to an embodiment of the present invention, where the terminal device 600 is configured with the apparatus for managing a frame switch device according to the embodiment of the present invention, and may be used to execute the method for managing a frame switch device according to the embodiment of the present invention.
The terminal device 600 may include: a processor 610, a memory 620, and a communication unit 630. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 620 may be used for storing instructions executed by the processor 610, and the memory 620 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The executable instructions in memory 620, when executed by processor 610, enable terminal 600 to perform some or all of the steps in the method embodiments described below.
The processor 610 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 620 and calling data stored in the memory. The processor may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 610 may include only a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 630, configured to establish a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
Example four
The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention.
The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The above disclosure is only for the preferred embodiments of the present invention, but the present invention is not limited thereto, and any non-inventive changes that can be made by those skilled in the art and several modifications and amendments made without departing from the principle of the present invention shall fall within the protection scope of the present invention.
Claims (10)
1. A frame switch device management method is characterized by comprising the following steps:
when the system is initialized, each business card registers to the main control card and the standby main control card respectively; the main master control card responds to the registration of the service cards, and each service card stores the information of the master control card; the standby main control card stores the registration data of each service card;
in the system execution process, the main control card receives the state change information of each service card and synchronizes the managed equipment information and the service forwarding control information to the standby main control card in real time;
when the standby main control card is switched to a new main control card, the new main control card sends switching information to each service card, each service card updates the stored main control card information, and sends state change information to the new main control card.
2. The frame switch device management method according to claim 1, further comprising the steps of:
when the system is initialized, the device management tasks of the main master control card, the standby master control card and all the service cards are started.
3. The frame switch device management method according to claim 2, wherein each service card registers with the active main control card and the standby main control card, respectively; the main master control card responds to the registration of the service cards, and each service card stores the information of the master control card; the standby main control card stores the registration information of each service card, and the method specifically comprises the following steps:
each business card respectively sends registration information to the main control card and the main control card based on the equipment management task;
when the main master control card receives service card registration information based on the equipment management task, the received information is judged to be service card information, and the message type is registration information, and then all the service cards are registered based on the received information; meanwhile, the main master control card informs each service card that the main master control card is the main master control card;
each business card processes the registration response and stores the information of the main control card;
and when the standby main control card receives the service card registration information based on the equipment management task, judging that the received information is the registration information of the service card, and storing the registration data of each service card.
4. The frame switch device management method according to claim 2 or 3, characterized by further comprising the steps of:
and starting the information synchronization subtasks in the management tasks of the main control card and the standby main control card.
5. The frame switch device management method according to claim 4, wherein the active main control card synchronizes device information and service forwarding control information managed by the active main control card to the standby main control card in real time, specifically comprising:
when the main master control card receives the state change information of any service card, the main master control card informs the equipment of information synchronization subtasks in the management task;
and synchronizing the managed equipment information and the service forwarding control information to the standby main control card in real time based on the information synchronization subtask.
6. The frame switch device management method according to claim 5, wherein switching the standby master control card to the new active master control card specifically includes:
the standby main control card monitors the state of the main control card in real time;
when the state of the main control card is abnormal, the standby main control card is switched to a new main control card, and the original main control card stops working.
7. The frame switch device management method according to claim 6, wherein switching the standby master control card to the new active master control card further comprises:
when the standby main control card receives the switching command sent by the main control card, the standby main control card is switched to a new main control card, and the original main control card is degraded to a new standby main control card.
8. A frame switch device management apparatus, comprising,
a main master control card: receiving the registration information and the state change information of the service card, and responding to the registration of the service card; synchronizing the managed equipment information and the service forwarding control information to the standby main control card in real time;
standby main control card: receiving and storing the registration information of the service card; receiving real-time synchronous management equipment information and service forwarding control information of a main master control card;
and (4) service card: registering with the main control card and the standby control card respectively; storing and updating the information of the main control card; and sending state change information to the main master control card.
9. The frame switch device management apparatus according to claim 8, wherein the active master control card, the standby master control card, and the service card start a device management task when the system is initialized;
the service card respectively sends registration information to the main control card and the main control card based on the device management task;
the main master control card receives service card registration information based on the equipment management task, and registers each service card based on the received information when the received information is judged to be the service card information and the message type is the registration information; meanwhile, the main master control card informs each service card that the main master control card is the main master control card;
the standby main control card receives the service card registration information based on the equipment management task, and stores the registration data of each service card when judging that the received information is the registration information of the service card.
10. The frame switch device management apparatus according to claim 9, wherein the active main control card and the standby main control card both start an information synchronization subtask in the device management task;
when the main master control card receives the state change information of any service card, the main master control card informs the equipment of information synchronization subtasks in the management task; and synchronizing the managed equipment information and the service forwarding control information to the standby main control card in real time based on the information synchronization subtask.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111008253.XA CN113904918A (en) | 2021-08-31 | 2021-08-31 | Frame type switch equipment management method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111008253.XA CN113904918A (en) | 2021-08-31 | 2021-08-31 | Frame type switch equipment management method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113904918A true CN113904918A (en) | 2022-01-07 |
Family
ID=79188362
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111008253.XA Withdrawn CN113904918A (en) | 2021-08-31 | 2021-08-31 | Frame type switch equipment management method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113904918A (en) |
-
2021
- 2021-08-31 CN CN202111008253.XA patent/CN113904918A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108628716B (en) | Information receiving and managing system, method and device | |
CN109976949B (en) | BMC fault mirror image rollback refreshing method, device, terminal and storage medium | |
CN105141453A (en) | Control method capable of not interrupting service in upgrading process of system and system thereof | |
CN112463239A (en) | BIOS and BMC interaction option default value modification method, system, terminal and storage medium | |
US12111733B2 (en) | Orchestrating a container-based application on a terminal device | |
CN111541762A (en) | Data processing method, management server, device and storage medium | |
CN110196749B (en) | Virtual machine recovery method and device, storage medium and electronic device | |
CN110109772B (en) | CPU restarting method, communication equipment and readable storage medium | |
CN111181765A (en) | Task processing method and device | |
CN111585835B (en) | Control method and device for out-of-band management system and storage medium | |
CN104394018A (en) | Communication device and active-standby system data online exchange method for hot master control panel backup | |
CN111506331A (en) | Server BMC refreshing method, system, terminal and storage medium | |
CN112087506B (en) | Cluster node management method and device and computer storage medium | |
JP2006285443A (en) | Object relief system and method | |
CN107547277B (en) | Method for realizing virtualization control board and network communication equipment | |
CN111427259B (en) | Main and standby switching method of machine frame slot type, intelligent equipment and storage medium | |
CN111984287A (en) | Equipment upgrading method and system | |
CN113904918A (en) | Frame type switch equipment management method and device | |
CN111221683A (en) | Double-flash hot backup method, system, terminal and storage medium for data center switch | |
CN110113192A (en) | Route selecting method, routing device, system, storage medium and the device of virtual desktop | |
CN114189471A (en) | Cross-device link aggregation group main/standby configuration method, system, terminal and storage medium | |
CN107635023B (en) | Communication address management method, device, storage medium and terminal | |
CN115499300A (en) | Embedded equipment clustering operation architecture, method and device | |
CN112787868B (en) | Information synchronization method and device | |
CN114356970A (en) | Storage system resource caching method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20220107 |
|
WW01 | Invention patent application withdrawn after publication |