[go: up one dir, main page]

WO2025011029A1 - Single board, network device, and management method - Google Patents

Single board, network device, and management method Download PDF

Info

Publication number
WO2025011029A1
WO2025011029A1 PCT/CN2024/077760 CN2024077760W WO2025011029A1 WO 2025011029 A1 WO2025011029 A1 WO 2025011029A1 CN 2024077760 W CN2024077760 W CN 2024077760W WO 2025011029 A1 WO2025011029 A1 WO 2025011029A1
Authority
WO
WIPO (PCT)
Prior art keywords
board
module
management module
sub
management
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.)
Pending
Application number
PCT/CN2024/077760
Other languages
French (fr)
Chinese (zh)
Inventor
赖永鑫
林连魁
饶辉荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of WO2025011029A1 publication Critical patent/WO2025011029A1/en
Anticipated expiration legal-status Critical
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction

Definitions

  • the present disclosure relates to the field of communication technology, and in particular to a single board, a network device, and a management method.
  • the network device has a single board, for example, a main control switch board, which has a service processing module and a management module.
  • the service processing module is used for service processing
  • the management module is used for managing the service processing module.
  • the present disclosure provides a single board, a network device, and a management method.
  • the single board includes a base board and a daughter board.
  • the base board has a service processing module
  • the daughter board has a management module.
  • the daughter board and the base board are pluggable. When the daughter board is unplugged, the service processing module of the base board can still perform service processing, so that the service processing capacity of the network device remains unchanged.
  • the present disclosure provides a single board.
  • the single board includes a baseboard and a subboard, the subboard is pluggable and connected to the baseboard, and the panel of the baseboard has an opening for plugging and unplugging the subboard.
  • the baseboard has a service processing module
  • the subboard has a management module, and the management module is used to manage the service processing module.
  • the single board can be a main control switch board.
  • the baseboard occupies a slot of the network device.
  • the daughterboard can be plugged in and out of the baseboard, and the daughterboard does not occupy a slot of the network device alone.
  • the management module of the daughterboard is electrically connected to the service processing module of the baseboard.
  • the management module of the daughterboard is used to implement the operations required by the control plane.
  • the technical solution provided by the present disclosure is to set the service processing module on the base plate, set the management module on the sub-board, and set the sub-board and the base plate to be pluggable, so that when the management module fails or needs to be upgraded, the user can only unplug the sub-board, and the base plate remains in the network device.
  • the service processing module of the base plate can still perform service processing, ensuring that the service processing capacity of the network device remains unchanged.
  • the sub-board does not occupy a slot alone, the slot of the network device that the single board provided by the present disclosure needs to occupy remains unchanged, and the number of service boards of the network device will not be reduced.
  • the service processing module includes one or more of a switching module, a message identification and analysis module, and a clock module.
  • the clock module may be a high-precision clock module, for example, a 1588 clock module.
  • the board can also be called a main control switching board, and the network device where the board is located can be called a switching device.
  • the switching module is used to implement the operations required by the forwarding plane.
  • the baseboard has a first connector and a backplane connector
  • the daughterboard has a second connector.
  • the second connector is used to dock with the first connector
  • the backplane connector is used to dock with the backboard.
  • the first connector and the second connector can be gold finger connectors or board-to-board connectors.
  • the first connector is electrically connected to the service processing module
  • the second connector is electrically connected to the management module.
  • the first connector is electrically connected to the second connector.
  • the management module and the service processing module are electrically connected, so that the management module can manage the service processing module.
  • the baseboard further includes a detection module, which is configured to: detect that the sub-board is pulled out from the baseboard, Another single board sends a first indication message, wherein the first indication message is used to instruct another single board to take over the service processing module.
  • the management module of the daughter board is electrically connected to the detection module of the base board.
  • the technical solution provided by the present disclosure sets a detection module on the baseboard so that when a daughter board is unplugged from the baseboard, the detection module can promptly detect the unplugging of the daughter board and promptly notify another single board to take over the business processing module, thereby avoiding the business processing module being in an unmanaged state for a long time and ensuring the reliability of the operation of the network equipment.
  • the management module is also used to manage the detection module, and the first indication message is also used to instruct another board to take over the detection module.
  • the first connector is also electrically connected to the detection module, so that the detection module is electrically connected to the management module of the daughter board.
  • the detection module is a field-programmable gate array (FPGA), wherein the detection module can be electrically connected to a detection module of another single board through a wire.
  • FPGA field-programmable gate array
  • the technical solution provided by the present disclosure by setting the detection module as FPGA, enables the detection module to detect the removal of the daughter board more quickly and notify another single board in time.
  • the management module before the daughter board is pulled out from the baseboard, the management module is configured to: obtain a prompt message, where the prompt message is used to prompt that the daughter board is about to be pulled out from the baseboard, and set the management module to standby.
  • the technical solution provided by the present disclosure is that before the daughter board is pulled out from the base board, the user triggers a prompt message.
  • the management module on the pulled out daughter board can be set as standby, and correspondingly, the management module on another single board is set as primary.
  • the operation of active-standby switching does not need to be performed after the daughter board is pulled out, so that after the daughter board is pulled out, the operations required to be performed by the network device are reduced, and the other single board can take over the business processing module more quickly.
  • the communication of the network device is normal, so the active-standby switching can be performed more reliably.
  • the database is generally stored in the primary management module, performing active-standby switching in advance can ensure that the database is completely copied to the standby management module (the standby management module is subsequently switched to the primary), thereby avoiding data loss in the database.
  • the management module before the daughter board is pulled out from the baseboard, the management module is configured to: obtain a prompt message, the prompt message is used to prompt that the daughter board will be pulled out from the baseboard, stop managing the service processing module, and send a second indication message to another single board, the second indication message is used to instruct the other single board to take over the service processing module.
  • the technical solution provided by the present disclosure is that before the daughter board is pulled out from the base board, the user triggers a prompt message, and after the management module obtains the prompt message, the management switch is performed, without having to wait until the daughter board is pulled out before performing the management switch. That is, after the management module obtains the prompt message, the management module stops managing the service processing module and notifies another single board to take over the service processing module. In this way, when the daughter board is subsequently pulled out from the base board, the instantaneous service processing module will not be in an unmanaged state, thereby ensuring the reliability of the network device.
  • the sub-board further has an operating element, which is used for a user to operate before the sub-board is pulled out from the base board.
  • the management module is triggered to obtain a prompt message.
  • the operating element may be located on a sub-board panel of the sub-board, and the operating element may be a button.
  • the management module is configured to: send a third indication message to another single board, the third indication message is used to instruct the other single board to stop managing the service processing module. Take over the service processing module.
  • the technical solution provided by the present disclosure is that after the daughter board is inserted into the base board, the management module can notify another single board to stop managing the business processing module, and at the same time, take over the business processing module again to reduce the burden of the other single board.
  • the management module is configured to: obtain a fourth indication message, the fourth indication message being used to instruct the management module to take over another single board. Take over another single board.
  • the fourth indication message may be triggered by a sub-board of another single board being pulled out from a baseboard, or may be triggered by an operating member of a sub-board of another single board being operated.
  • the technical solution provided by the present disclosure is that when a daughter board in another single board is pulled out, the management module takes over the other single board to avoid the business processing module of the other single board being in an unmanaged state for a long time, thereby ensuring the reliability of the operation of the network equipment.
  • the management module is configured to: receive the fourth indication message through the first detection module.
  • the management module is further configured to: receive a fifth indication message sent by another single board, the fifth indication message being used to instruct the management module to stop managing the other single board. Stop managing the other single board.
  • the technical solution provided by the present disclosure is that when a daughter board in another single board is inserted, the other single board notifies the management module to stop managing the other single board, and the management module of the other single board takes over its own business processing module.
  • the base plate has a slide rail, and the sub-board is slidably connected to the slide rail, so that the plugging and unplugging of the sub-board is smoother.
  • the daughter board panel of the daughter board has a handle, and the handle is used for a user to hold.
  • the present disclosure provides a network device, the network device having a first single board and a second single board.
  • the first single board is a single board as described in any one of the first aspects, and the base board, the sub-board, the service processing module and the management module in the first single board are respectively the first base board, the first sub-board, the first service processing module and the first management module.
  • the second single board has a second management module, and the second management module can manage the first service processing module.
  • the network device may be a switching device, for example, an optical line terminal (OLT) device.
  • the first board and the second board may be a first main control switching board and a second main control switching board, respectively.
  • the technical solution provided by the present disclosure adopts the single board of the first aspect, so that when the first sub-board is pulled out, the first service processing module can still remain in the network device and can perform service processing, thereby ensuring that the service processing capacity of the network device remains unchanged.
  • the second management module can manage the first service processing module, thereby ensuring the reliability of the operation of the network device.
  • the second single board is the single board described in any one of the first aspects, and the base board, sub-board, business processing module and management module in the second single board are respectively the second base board, second sub-board, second business processing module and second management module.
  • the first baseboard has a first detection module, the first detection module is used to detect whether the first sub-board is pulled out.
  • the second baseboard has a second detection module, the second detection module is used to detect whether the second sub-board is pulled out.
  • the first detection module is electrically connected to the second detection module.
  • both the first detection module and the second detection module are FPGAs.
  • the first detection module is electrically connected to the first management module and the second management module respectively
  • the second detection module is electrically connected to the first management module and the second management module respectively.
  • the first management module and the second management module are also used to manage the first detection module and the second detection module.
  • a connection is provided between the first management module and the second management module.
  • the network device further has a plurality of service boards, the first service processing module is electrically connected to the plurality of service boards respectively, and the second service processing module is also electrically connected to the plurality of service boards respectively.
  • the network device also has a backplane, and the electrical connection between the first board and the second board, the electrical connection between the first board and the service board, and the electrical connection between the second board and the service board are all implemented through the backplane.
  • the first management module manages the first service processing module
  • the second management module manages the second service processing module.
  • This management mode may be referred to as a load sharing mode.
  • the main management module manages the first business processing module and the second business processing module at the same time.
  • the main management module is one of the first management module and the second management module.
  • the standby management module does not manage the first business processing module and the second business processing module.
  • the second management module is configured to: obtain a first indication message, the first indication message is used to instruct the second management module to take over the first service processing module, the first indication message is triggered by the first sub-board being pulled out from the first baseboard, and take over the first service processing module.
  • the technical solution provided by the present invention by setting a first indication message to be triggered when the first sub-board is unplugged from the first base board, and setting a second management module to take over the first business processing module after obtaining the first indication message, avoids the situation where the first business processing module is in an unmanaged state for a long time after the first sub-board is unplugged from the first base board, thereby ensuring the reliability of the operation of the network equipment.
  • the first detection module is configured to: detect that the first sub-board is pulled out from the first baseboard, and send a first indication message to the second detection module, where the first indication message is used to instruct the second management module to take over the first business processing module.
  • the second detection module is configured to: send the first indication message to the second management module.
  • the second management module is configured to: receive the first indication message and take over the first business processing module.
  • the first detection module is configured to: detect that the first sub-board is pulled out from the first baseboard, and send a first indication message to the second management module through the connection between the first detection module and the second management module.
  • the second management module is configured to: receive the first indication message and take over the first service processing module.
  • the second management module is configured to: detect that the first sub-board is unplugged and take over the first business processing module. That is, the first indication message is detected by the second management module. There is a connection between the first management module and the second management module. When the first sub-board is unplugged, the connection is interrupted, and the second management module can detect it.
  • the first management module before the first daughter board is pulled out from the first baseboard, the first management module is further configured to: obtain a prompt message, the prompt message is used to prompt that the first daughter board will be pulled out from the first baseboard, and set the first management module to standby.
  • the technical solution provided by the present disclosure is that before the first sub-board is pulled out from the first baseboard, the user triggers a prompt message, and the first management module obtains After the prompt message, it can set itself as a standby and notify the second management module to set it as the primary.
  • the primary-standby switching operation does not need to be performed after the first sub-board is pulled out, so that after the first sub-board is pulled out, the operations required by the second management module are reduced, and the second management module can take over the first business processing module more quickly.
  • the primary-standby switching can be performed more reliably.
  • the first management module before the first sub-board is pulled out from the first baseboard, the first management module is further configured to: obtain a prompt message, the prompt message is used to prompt that the first sub-board will be pulled out from the first baseboard. Stop managing the first business processing module. Send a second indication message to the second management module, the second indication message is used to instruct the second management module to take over the first business processing module.
  • the second management module is configured to: receive the second indication message and take over the first business processing module. After the second management module takes over the first business processing module, it manages the first business processing module and the second business processing module at the same time.
  • the technical solution provided by the present disclosure is that before the first daughter board is pulled out from the first base board, the user triggers a prompt message, and after the first management module obtains the prompt message, the management switch is performed, without having to wait until the first daughter board is pulled out before performing the management switch. In this way, when the first daughter board is subsequently pulled out from the first base board, the first service processing module will not be in an unmanaged state instantaneously, thereby ensuring the reliability of the network device.
  • the first management module is configured to: send a third indication message to the second management module, the third indication message is used to instruct the second management module to stop managing the first service processing module.
  • the second management module is configured to: receive the third indication message and stop managing the first service processing module.
  • the first management module is also configured to: take over the first service processing module.
  • the technical solution provided by the present disclosure is that after the first sub-board is inserted into the first baseboard, the first management module notifies the second management module to stop managing the first business processing module, and the first management module takes over the first business processing module again, then the first management module and the second management module respectively manage the first business processing module and the second business processing module, reducing the burden on the second management module.
  • the present disclosure provides a management method, which is applied to the network device of the second aspect, and includes: a second management module obtains a first indication message, the first indication message is used to indicate that the second management module takes over the first service processing module, and the first indication message is triggered by the first sub-board being pulled out from the first baseboard.
  • the second management module takes over the first service processing module.
  • the technical solution provided by the present invention by setting a first indication message to be triggered when the first sub-board is unplugged from the first base board, and setting a second management module to take over the first business processing module after obtaining the first indication message, avoids the situation where the first business processing module is in an unmanaged state for a long time after the first sub-board is unplugged from the first base board, thereby ensuring the reliability of the operation of the network equipment.
  • the second management module acquires the first indication message, including: the second management module detects that the first sub-board is pulled out from the first baseboard. That is, the first indication message is detected by the second management module.
  • the second management module obtains the first indication message, including: the first detection module detects that the first sub-board is pulled out from the first baseboard.
  • the first detection module sends the first indication message to the second management module through the connection between the first detection module and the second management module.
  • the second management module receives the first indication message.
  • the second management module obtains the first indication message, including: the first detection module detects that the first sub-board is pulled out from the first baseboard, the first detection module sends the first indication message to the second detection module, the second detection module sends the first indication message to the second management module, and the second management module receives the first indication message.
  • the management method before the first daughter board is pulled out from the first baseboard, the management method further includes: the first management module obtains a prompt message, the prompt message is used to prompt that the first daughter board will be pulled out from the first baseboard.
  • the first management module sets the first management module as a standby.
  • the prompt message may be triggered by a user operating an operating element, and the operating element may be a button on the first sub-board.
  • the technical solution provided by the present disclosure is that before the first sub-board is pulled out from the first baseboard, the user triggers a prompt message, and after the first management module obtains the prompt message, the first management module is set as a standby, and correspondingly, the second management module is set as the main one. That is, before the first sub-board is pulled out from the first baseboard, the main-standby switching operation is performed. In this way, first, the main-standby switching operation does not need to be performed after the first sub-board is pulled out, so that after the first sub-board is pulled out, the operations required to be performed by the network device are reduced, and the second management module can take over the first business processing module more quickly.
  • the main-standby switching can be performed more reliably.
  • the database is generally stored in the main management module, performing the main-standby switching in advance can ensure that the database is completely copied to the standby management module (the standby management module is subsequently switched to the main one), thereby avoiding data loss in the database.
  • the management method further includes: the first management module sends a third indication message to the second management module, the third indication message is used to instruct the second management module to stop managing the first service processing module.
  • the second management module receives the third indication message and stops managing the first service processing module.
  • the first management module takes over the first service processing module.
  • the first management module after the first sub-board is inserted into the first baseboard, the first management module notifies the second management module to stop managing the first business processing module, and the first management module takes over the first business processing module again, thereby reducing the burden on the second management module.
  • the present disclosure provides a management method, which is applied to the network device of the second aspect, and the management method includes: a first management module obtains a prompt message, and the prompt message is used to prompt that the first sub-board is about to be unplugged from the first baseboard.
  • the first management module stops managing the first business processing module.
  • the first management module sends a second indication message to the second management module, and the second indication message is used to instruct the second management module to take over the first business processing module.
  • the second management module receives the second indication message and takes over the first business processing module.
  • the prompt message may be triggered by a user operating an operating element, and the operating element may be a button on the first sub-board.
  • the technical solution provided by the present disclosure is that before the first daughter board is pulled out from the first base board, the user triggers a prompt message, and after the first management module obtains the prompt message, the management switch is performed, without having to wait until the first daughter board is pulled out before performing the management switch. In this way, when the first daughter board is subsequently pulled out from the first base board, the first service processing module will not be in an unmanaged state instantaneously, thereby ensuring the reliability of the network device.
  • the first management module sends the second indication message to the second management module, including: the first management module sends the second indication message to the first detection module.
  • the first detection module sends the second indication message to the second detection module.
  • the second detection module sends the second indication message to the second management module.
  • the first management module sends the second indication message to the second management module, including: the first management module sends the second indication message to the first detection module.
  • the first detection module sends the second indication message to the second management module through a connection between the first detection module and the second management module.
  • the first management module sends the second indication message to the second management module, including: the first management module sends the second indication message to the second management module through a connection between the first management module and the second management module.
  • the network device adopts a load sharing mode. After the second management module takes over the first business processing module, the management method also includes: when the first sub-board is not unplugged from the first baseboard within the target time length, the second management module stops managing the first business processing module, and the first management module takes over the first business processing module.
  • the technical solution provided by the present disclosure is that since the user may not unplug the first sub-board from the first baseboard after triggering the prompt message, in this case, the second management module stops managing the first business processing module, and the first management module takes over the first business processing module again to reduce the burden on the second management module.
  • FIG1 is a schematic diagram of a switching device in a related technology provided by an embodiment of the present disclosure
  • FIG2 is a schematic diagram of a main control switch board in a related technology provided by an embodiment of the present disclosure
  • FIG3 is a logic block diagram of a switching device in a related technology provided by an embodiment of the present disclosure
  • FIG4 is a schematic diagram of a switching device provided by an embodiment of the present disclosure.
  • FIG5 is a schematic diagram of a main control switch board provided in an embodiment of the present disclosure.
  • FIG6 is a schematic diagram of a main control switch board provided in an embodiment of the present disclosure.
  • FIG7 is a logic block diagram of a main control switch board provided in an embodiment of the present disclosure.
  • FIG8 is a logic block diagram of a main control switch board provided in an embodiment of the present disclosure.
  • FIG9 is a logic block diagram of a switching device provided in an embodiment of the present disclosure.
  • FIG10 is a flow chart of a management method provided by an embodiment of the present disclosure.
  • FIG11 is a flow chart of a management method provided by an embodiment of the present disclosure.
  • FIG12 is a logic block diagram of a switching device provided in an embodiment of the present disclosure.
  • FIG13 is a flow chart of a management method provided by an embodiment of the present disclosure.
  • FIG14 is a logic block diagram of a switching device provided in an embodiment of the present disclosure.
  • FIG15 is a flow chart of a management method provided by an embodiment of the present disclosure.
  • FIG16 is a flow chart of a management method provided by an embodiment of the present disclosure.
  • FIG17 is a schematic diagram of a switching device provided in an embodiment of the present disclosure.
  • FIG18 is a logic block diagram of a switching device provided in an embodiment of the present disclosure.
  • FIG19 is a flow chart of a management method provided by an embodiment of the present disclosure.
  • FIG. 20 is a flowchart of another management method provided by an embodiment of the present disclosure.
  • main control switch board, 110 first main control switch board, 120, second main control switch board, 200, service board, 210, service module, 300, backplane, 400, main control board, 500, switch board; 1. Bottom plate, 10. Panel, 101. Opening, 11. Switching module, 12. Detection module, 13. First connector, 14. Slide rail, 15. Backplane connector, 16, power interface, 17, power module, 18, clock module; 2. daughter board, 20. daughter board panel, 21. management module, 211. processor, 212. memory, 2121. read-only memory, 2122.
  • Random access memory 22, operating member, 23, second connector, 24, handle; 111, a first baseboard, 1111, a first switching module, 1112, a first detection module, 112, a first sub-board, 1121, a first management module; 121. A second baseboard, 1211. A second switching module, 1212. A second detection module, 122. A second sub-board, 1221. A second management module.
  • Switching equipment such as optical line termination (OLT) undertakes important tasks such as routing learning and data packet forwarding.
  • Switching equipment has a control plane and a forwarding plane.
  • the control plane refers to the part of the switching device used to transmit instructions and calculate table items. For example, routing protocol learning, protocol message forwarding, protocol table item calculation, and routing table item maintenance all fall into the category of the control plane.
  • the forwarding plane refers to the part of the switching device used to encapsulate and forward data messages. For example, the reception, decapsulation, encapsulation, routing table lookup, and forwarding of data messages all fall into the category of the forwarding plane.
  • control plane and the forwarding plane are generally designed to be relatively independent and not affect each other. In this way, when the control plane of the switching equipment temporarily fails, the forwarding plane can continue to work, thereby ensuring that the original services in the network are not affected by system failures and improving the reliability of the entire network.
  • the control plane and forwarding plane can be physically separated or logically separated. Due to cost constraints, some switching devices, such as OLT devices, use a logical separation technology solution. That is, after the switching device is started, the switching device divides the central processing unit (CPU) resources and memory resources to different processes, some of which are responsible for learning routes and some for message forwarding.
  • CPU central processing unit
  • a schematic diagram of a switching device is provided, the switching device has two main control switching boards 100 and multiple service boards 200, and the two main control switching boards 100 are mutually active and standby.
  • a backplane 300 is also provided inside the switching device, and the main control switching boards 100 and the service boards 200 are electrically connected through the backplane 300.
  • the main control switch board 100 has a management module 21 and a switch module 11.
  • the management module 21 is used to manage the switch module 11, and the switch module 11 is used to implement data exchange between different service boards 200.
  • the management module 21 and the switch module 11 can be integrated in the same hardware.
  • the main control switch board 100 also includes basic configurations such as a backplane connector 15, a power interface 16, a power module 17, and a clock module 18.
  • the control plane and the forwarding plane are integrated on a main control switch board 100 without physical separation, when the management module 21 fails or needs to be upgraded, the main control switch board 100 needs to be unplugged. However, this will make the switching module 11 of the main control switch board 100 unable to work (has been unplugged), resulting in a reduction of half of the switching capacity of the switching device.
  • the management module 21 and the switching module 11 are respectively made into independent boards, that is, they are respectively made into a main control board 400 and a switching board 500.
  • the management module 21 fails or needs to be upgraded, only the main control board 400 needs to be pulled out, and the switching board 500 still remains in the switching device and realizes data exchange between different service boards 200, thereby not affecting the switching capacity of the switching device.
  • both the main control board 400 and the switch board 500 need to occupy slots, and the main control board 400 and the switch board 500 require dual backup, two main control boards 400 and two switch boards 500 need to occupy four slots, which will reduce the number of business boards 200 that can be inserted into the switching device.
  • an embodiment of the present disclosure provides a main control switch board 100, which can achieve physical separation of the control plane and the forwarding plane without reducing the number of service boards 200 of the switching device.
  • the main control switch board 100 includes a baseboard 1 and a subboard 2, and the subboard 2 is pluggable and connected to the baseboard 1.
  • the baseboard 1 has a switch module 11, and the switch module 11 is used to realize data exchange between different service boards 200.
  • the subboard 2 has a management module 21, and the management module 21 is used to manage the switch module 11.
  • the bottom plate 1 occupies a slot of the switching device, and has a switching module 11, which is used to implement the operations required by the forwarding plane.
  • the bottom plate 1 also has basic configuration modules such as a power interface 16, a power module 17, and a clock module 18.
  • the switching device also has a backplane 300
  • the bottom plate 1 also has a backplane connector 15.
  • the daughterboard 2 can be plugged in and out of the baseboard 1, and the daughterboard 2 does not occupy a slot of the switching device alone.
  • the daughterboard 2 has a management module 21, which is used to implement operations required by the control plane.
  • the management module 21 can also be called a control module.
  • the management module 21 includes a processor 211 and a memory 212.
  • the processor 211 may be a CPU
  • the memory 212 includes a read-only memory (ROM) 2121 and a random access memory (RAM) 2122.
  • the read-only memory 2121 may be a flash memory
  • the random access memory 2122 may be a double data rate synchronous dynamic random access memory (DDR SDRAM).
  • management module 21 can be used to manage other modules on the baseboard 1 in addition to managing the switch module 11 , that is, the management module 21 is used to manage the baseboard 1 . Furthermore, the management module 21 is also used to manage the service board 200 .
  • the technical solution provided by the embodiment of the present disclosure is to set the switching module 11 on the baseboard 1, set the management module 21 on the sub-board 2, and set the sub-board 2 and the baseboard 1 to be pluggable, so that when the management module 21 fails or needs to be upgraded, the user can only unplug the sub-board 2, while the baseboard 1 remains in the switching device.
  • the switching module 11 on the baseboard 1 can still realize data exchange between different service boards 200, ensuring that the switching capacity of the switching device remains unchanged.
  • the sub-board 2 does not occupy a slot alone, the two main control switch boards 100 that serve as the master and backup for each other still only need to occupy two slots of the switch device, and the number of service boards 200 of the switch device will not be reduced.
  • the panel 10 of the base plate 1 has an opening 101 , and the sub-board 2 is used to be inserted into the base plate 1 through the opening 101 , or to be pulled out from the base plate 1 .
  • the baseboard 1 has a first connector 13 , and the first connector 13 is electrically connected to the switch module 11 .
  • the daughterboard 2 has a second connector 23 , and the second connector 23 is electrically connected to the management module 21 .
  • the management module 21 is electrically connected to the switch module 11, so that the management module 21 can manage the switch module 11.
  • the first connector 13 and the second connector 23 can be gold finger connectors, or board-to-board connectors, etc.
  • the base plate 1 has a slide rail 14 , and the sub-board 2 is slidably connected to the slide rail 14 , thereby facilitating the insertion and removal of the sub-board 2 .
  • the daughterboard panel 20 of the daughterboard 2 has a handle 24 , and the handle 24 is used for a user to hold, so as to facilitate the user to insert or remove the daughterboard 2 .
  • the sub-board 2 has an operating member 22, and the operating member 22 is used for the user to operate before the sub-board 2 is pulled out from the base plate 1. And when the operating member 22 is operated, the trigger management module 21 receives a prompt message, which is used to prompt that the sub-board 2 is about to be pulled out.
  • the operating element 22 is electrically connected to the management module 21. As shown in Figures 5 and 6, the operating element 22 may be a button, and the user triggers the prompt message by pressing the operating element 22.
  • the management module 21 After the management module 21 obtains the prompt message, it can perform the preparation operation of the sub-board 2. The specific operation of the management module 21 after receiving the prompt message will be described below.
  • the baseboard 1 further includes a detection module 12 , and the detection module 12 is used to detect whether the sub-board 2 is pulled out.
  • the detection module 12 is electrically connected to the first connector 13, and there is a daughter board presence indication between the first connector 13 and the second connector 23.
  • the detection module 12 can detect that the daughter board 2 is not in place and can immediately notify another main control switch board 100.
  • management module 21 is also used to manage the detection module 12 .
  • the detection module 12 is connected to the detection module 12 of another main control switch board 100, and the message transmitted by the connection can be whether the main control switch board 100 is active or standby, whether the sub-board 2 of the main control switch board 100 is in place, and the management module of the main control switch board 100. Whether block 21 is running normally, etc.
  • the detection module 12 is a field-programmable gate array (FPGA).
  • FPGA field-programmable gate array
  • FPGA is faster than CPU, which is essentially determined by the architecture of FPGA without instructions and shared memory.
  • CPU belongs to Feng structure, and in Feng structure, since the execution unit can execute any instruction, it needs instruction memory, decoder, arithmetic unit of various instructions, and branch jump processing logic.
  • the function of each logic unit of FPGA is determined during programming, no instructions are required, and the functions of each logic unit can be processed in parallel. Therefore, FPGA detects whether sub-board 2 is pulled out faster.
  • the detection module 12 may also be other chips with communication capabilities, and the embodiments of the present disclosure do not limit the specific type of the detection module 12.
  • the management module 21 on the daughter board 2 can no longer manage the switch module 11 , and the switch module 11 is in an unmanaged state for a long time, which affects the reliability of the switch device.
  • the switching device generally has two main control switching boards 100, when the daughter board 2 in one main control switching board 100 is unplugged, the other main control switching board 100 can take over the switching module 11 of the main control switching board 100 that has been unplugged. Thus, the switching module 11 is prevented from being in an unmanaged state for a long time, and the reliability of the switching device is ensured.
  • the baseboard 1, the subboard 2, the switching module 11, and the management module 21 of the first main control switching board 110 are respectively referred to as the first baseboard 111, the first subboard 112, the first switching module 1111, and the first management module 1121.
  • the baseboard 1, the subboard 2, the switching module 11, and the management module 21 of the second main control switching board 120 are respectively referred to as the second baseboard 121, the second subboard 122, the second switching module 1211, and the second management module 1221.
  • the first main control switch board 110 and the second main control switch board 120 communicate with each other through the backplane 300 .
  • the first management module 1121 can manage the first switching module 1111 through the first management interface, and can manage the second switching module 1211 through the backplane connection and the first management interface.
  • the second management module 1221 can manage the second switching module 1211 through the first management interface, and can manage the first switching module 1111 through the backplane connection and the first management interface.
  • the above-mentioned first management interface is a peripheral component interconnect express (PCIe) management interface, a serial management interface or a parallel management interface.
  • PCIe peripheral component interconnect express
  • the first management interfaces of the first switching module 1111 and the second switching module 1211 are integrated with a two-or-one switch.
  • the first switching module 1111 and the second switching module 1211 can be managed by the first management module 1121 or the second management module 1221 by operating the two-or-one switch.
  • the two-or-one switch may also be independent of the first switching module 1111 and the second switching module 1211.
  • the detection module 12 may operate the two-or-one switch.
  • a line is provided between the first management module 1121 and the second management module 1221 , so that the first management module 1121 and the second management module 1221 can communicate directly with each other.
  • the main control switching board 100 also includes a detection module 12, for the sake of convenience of description, as shown in Figure 9, the detection module 12 of the first main control switching board 110 is called the first detection module 1112, and the detection module 12 of the second main control switching board 120 is called the second detection module 1212.
  • the first management module 1121 can manage the first detection module 1112 through the second management interface, and can manage the second detection module 1212 through the backplane connection and the second management interface.
  • the second management module 1221 can manage the second detection module 1212 through the second management interface, and can manage the first detection module 1112 through the backplane connection and the second management interface.
  • the above-mentioned second management interface is a serial peripheral interface (SPI) management interface, a serial management interface or a parallel management interface.
  • SPI serial peripheral interface
  • the second management interface is integrated with a two-or-one switch, and the first detection module 1112 and the second detection module 1212 can choose to be managed by the first management module 1121 or the second management module 1221 by operating the two-or-one switch.
  • connection there is a connection between the first detection module 1112 and the second detection module 1212.
  • the connection can be implemented through the backplane 300, and the message transmitted by the connection can be whether the main control switch board 100 is active or standby, whether the sub-board 2 of the main control switch board 100 is in place, and whether the management module 21 of the main control switch board 100 is operating normally.
  • the first management module 1121 manages the first switching module 1111
  • the second management module 1221 manages the second switching module 1211.
  • This management mode may be referred to as a load sharing mode.
  • the active management module 21 (one of the first management module 1121 and the second management module 1221) simultaneously manages the first switching module 1111 and the second switching module 1211.
  • This management mode may be referred to as an active-standby mode.
  • the second management module 1221 when the first sub-board 112 is unplugged from the first baseboard 111, the second management module 1221 obtains a first indication message, the first indication message is used to instruct the second management module 1221 to take over the first switching module 1111, and the first indication message is triggered by the first sub-board 112 being unplugged from the first baseboard 111. Afterwards, in response to the first indication message, the second management module 1221 takes over the first switching module 1111.
  • the technical solution provided by the embodiment of the present disclosure by setting a first indication message to be triggered when the first sub-board 112 is unplugged from the first base board 111, and setting the second management module 1221 to take over the first switching module 1111 after obtaining the first indication message, avoids the situation where the first switching module 1111 is in an unmanaged state for a long time after the first sub-board 112 is unplugged from the first base board 111, and ensures the reliability of the switching equipment.
  • the embodiment of the present disclosure does not limit the implementation manner in which the second management module 1221 obtains the first indication message.
  • An exemplary description is given below:
  • the second management module 1221 obtains the first indication message including the following steps:
  • step 1001 the first detection module 1112 detects that the first sub-board 112 is pulled out from the first base board 111 .
  • step 1002 the first detection module 1112 sends a first indication message to the second detection module 1212 .
  • step 1003 the second detection module 1212 sends a first indication message to the second management module 1221 .
  • step 1004 the second management module 1221 receives the first indication message and takes over the first switching module 1111 .
  • the technical solution provided by the embodiment of the present disclosure improves the detection speed by having the first detection module 1112 detect whether the first sub-board 112 is pulled out from the first baseboard 111, so that the second management module 1221 can take over the first switching module 1111 more quickly.
  • the second management module 1221 obtains the first indication message including the following steps:
  • step 1101 the first detection module 1112 detects that the first sub-board 112 is pulled out from the first base board 111 .
  • step 1102 the first detection module 1112 sends a first indication message to the second management module 1221 .
  • step 1103 the second management module 1221 receives the first indication message, and the second management module 1221 takes over the first switching module 1111 .
  • the second management module 1221 obtains the first indication message including the following steps:
  • step 1301 the second management module 1221 detects that the first sub-board 112 is pulled out from the first baseboard 111 . That is, the first indication message is detected by the second management module 1221 .
  • step 1302 the second management module 1221 takes over the first switching module 1111 .
  • the first detection module 1112 and the second detection module 1212 can be removed.
  • the architecture of the switching device after removing the first detection module 1112 and the second detection module 1212 is shown in FIG. 14 .
  • the switching device performs the following processing:
  • step 1501 the first management module 1121 obtains a prompt message.
  • the prompt message is used to prompt that the first sub-board 112 is about to be pulled out from the first base board 111 .
  • step 1502 the first management module 1121 sets the first management module 1121 as a standby, and correspondingly, the second management module 1221 sets the second management module 1221 as a master.
  • the master-slave switching operation does not need to be performed after the first sub-board 112 is unplugged, so that after the first sub-board 112 is unplugged, the operations required by the switching device are reduced, and the second management module 1221 can take over the first switching module 1111 more quickly.
  • the master-slave switching can be performed more reliably.
  • performing the active-slave switching in advance can ensure that the database is completely copied to the standby management module 21 (the standby management module 21 is subsequently switched to the active one), avoiding the data in the database. Data is lost.
  • step 1503 to step 1506 is the same as the specific processing of step 1001 to step 1004, and will not be repeated here.
  • the primary and standby switching may be performed after the first sub-board 112 is pulled out from the first baseboard 111 , and the embodiments of the present disclosure are not limited to this.
  • the switching device performs the following processing:
  • step 1601 the first management module 1121 obtains a prompt message.
  • the prompt message is used to prompt that the first sub-board 112 is about to be pulled out from the first base board 111 .
  • step 1602 the first management module 1121 stops managing the first switching module 1111 .
  • step 1603 the first management module 1121 sends a second indication message to the first detection module 1112 .
  • step 1604 the first detection module 1112 sends a second indication message to the second detection module 1212 .
  • step 1605 the second detection module 1212 sends a second indication message to the second management module 1221 .
  • step 1606 the second management module 1221 receives the second indication message and takes over the first switching module 1111 .
  • the first management module 1121 after the first management module 1121 obtains the prompt message, it can directly perform management switching without having to wait until the first daughter board 112 is unplugged before performing management switching. In this way, when the first daughter board 112 is subsequently unplugged from the first base board 111, the first switching module 1111 will not be in an unmanaged state instantaneously, thereby ensuring the reliability of the switching device.
  • first management module 1121 may also use other transmission paths to send the second indication message to the second management module 1221.
  • first management module 1121 sends the second indication message to the second management module 1221 through the connection between the first management module 1121 and the second management module 1221.
  • second detection module 1212 sends the second indication message to the second management module 1221 through the connection between the second detection module 1212 and the second management module 1221.
  • the switching device adopts the load sharing mode
  • the second management module 1221 takes over the first switching module 1111
  • the second management module 1221 stops managing the first switching module 1111
  • the first management module 1121 takes over the first switching module 1111.
  • the second management module 1221 when the second management module 1221 does not receive the indication message sent by the first detection module 1112 to instruct the first sub-board 112 to be unplugged within the target time length, the second management module 1221 stops managing the first switching module 1111 and notifies the first management module 1121 to take over the first switching module 1111.
  • the switching device adopts the master-slave mode, even if the first sub-board 112 is not unplugged from the first baseboard 111 within the target time, the first switching module 1111 and the second switching module 1211 can still be managed simultaneously by the second management module 1221 without having to switch back to management by the first management module 1121.
  • the first management module 1121 obtains the fourth indication message, which is used to instruct the first management module 1121 to take over the second switching module 1211. Afterwards, the first management module 1121 takes over the second switching module 1211.
  • the switching device may not perform any processing.
  • the first sub-board 112 is inserted into the first base board 111
  • the first management module 1121 re-manages the first switching module 1111 to reduce the burden of the second management module 1221 .
  • the first management module 1121 sends a third indication message, and the third indication message is used to instruct the second management module 1221 to stop managing the first switching module 1111.
  • the second management module 1221 stops managing the first switching module 1111, and the first management module 1121 takes over the first switching module 1111.
  • the processing performed by the switching device includes the following steps:
  • step 1005 the first management module 1121 is started.
  • the first management module 1121 After the first sub-board 112 is inserted into the first baseboard 111 , it takes a certain amount of time for the first management module 1121 to start up.
  • step 1006 the first management module 1121 sends a third indication message to the first detection module 1112 .
  • step 1007 the first detection module 1112 sends a third indication message to the second detection module 1212 .
  • step 1008 the second detection module 1212 sends a third indication message to the second management module 1221 .
  • step 1009 the second management module 1221 receives the third instruction message and stops managing the first switching module 1111 .
  • step 1010 the first management module 1121 takes over the first switching module 1111 .
  • step 1507 to step 1512 is the same as the specific processing of step 1005 to step 1010, and will not be repeated here.
  • the processing performed by the switching device includes the following steps:
  • step 1104 the first management module 1121 is started.
  • step 1105 the first management module 1121 sends a third indication message to the first detection module 1112 .
  • step 1106 the first detection module 1112 sends a third indication message to the second management module 1221 .
  • step 1107 the second management module 1221 receives the third instruction message and stops managing the first switching module 1111 .
  • step 1108 the first management module 1121 takes over the first switching module 1111 .
  • the first detection module 1112 since the first detection module 1112 sends the third indication message to the second management module 1221 through the connection between the first detection module 1112 and the second management module 1221, the independent connection between the first detection module 1112 and the second detection module 1212 can be removed, and the architecture of the switching device after the removal is shown in Figure 12.
  • the processing performed by the switching device includes the following steps:
  • step 1303 the first management module 1121 is started.
  • step 1304 the first management module 1121 sends a third indication message to the second management module 1221 .
  • step 1305 the second management module 1221 stops managing the first switching module 1111 .
  • step 1306 the first management module 1121 takes over the first switching module 1111 .
  • the first detection module 1112 and the second detection module 1212 can be removed.
  • the architecture of the switching device after removing the first detection module 1112 and the second detection module 1212 is shown in FIG. 14 .
  • the first management module 1121 receives the fifth instruction message sent by the second management module 1221, and the fifth instruction message is used to instruct the first management module 1121 to stop managing the second switching module 1211. In response to the fifth instruction message, the first management module 1121 stops managing the second switching module 1211. Afterwards, the second management module 1221 can take over the second switching module 1211.
  • the switching device adopts the active-standby mode
  • the second management module 1221 still manages the first switching module 1111 and the second switching module 1211 at the same time.
  • the first management module 1121 takes over the first switching module 1111 and the second switching module 1211 only after the second management module 1221 fails or the second sub-board 122 is pulled out.
  • the above-mentioned switching module 11 can also be replaced by other service processing modules, such as a message identification and parsing module and a clock module. Then the above-mentioned switching module 11 can be expanded into a service processing module, and the above-mentioned first switching module 1111 and the second switching module 1211 can also be expanded into a first service processing module and a second service processing module.
  • the clock module can be a high-precision clock module, an Ethernet synchronization clock module, for example, a 1588 clock module.
  • the disclosed embodiment also provides a single board.
  • the single board includes a base board 1 and a sub-board 2, the sub-board 2 is pluggable to the base board 1, and the panel 10 of the base board 1 has an opening 101 for plugging and unplugging the sub-board 2.
  • the base board 1 has a service processing module
  • the sub-board 2 has a management module 21, and the management module 21 is used to manage the service processing module.
  • the single board can be a main control switching board or other single boards.
  • the network device where the single board is located can be a switching device or other network device.
  • the service processing module can be the above-mentioned switching module 11, or it can be a service processing module such as a message identification and wiring module and a clock module that can perform service processing.
  • the technical solution provided by the embodiment of the present disclosure is to set the service processing module on the baseboard 1, set the management module 21 on the sub-board 2, and set the sub-board 2 and the baseboard 1 to be pluggable, so that when the management module 21 fails or needs to be upgraded, the user can only unplug the sub-board 2, while the baseboard 1 remains in the network device.
  • the service processing module of the baseboard 1 can still perform service processing, ensuring that the service processing capacity of the network device remains unchanged.
  • the embodiment of the present disclosure also provides a switching device, as shown in FIG. 17 and FIG. 18, the switching device comprises a first main control switching board 110, a second main control switching board 120 and a service board 200.
  • the first main control switching board 110 comprises a first baseboard 111 and a first sub-board 112, the first sub-board 112 is pluggably connected to the first baseboard 111, the first baseboard 111 comprises a first switching module 1111, and the first sub-board 112 comprises a first management module 1121.
  • the second main control switching board 120 comprises a second baseboard 121 and a second sub-board 122, the second sub-board 122 is pluggably connected to the second baseboard 121,
  • the second baseboard 121 has a second switching module 1211
  • the second subboard 122 has a second management module 1221.
  • the first switching module 1111 and the second switching module 1211 are used to implement data exchange between different service boards 200, and the first management module 1121 and the second management module 1221 are used to manage the first switching module 1111 and the second switching module 1211.
  • the first main control switch board 110 and the second main control switch board 120 are both the above-mentioned main control switch board 100 .
  • the first management module 1121 is electrically connected to the first switching module 1111 and the second switching module 1211 respectively
  • the second management module 1221 is electrically connected to the first switching module 1111 and the second switching module 1211 respectively.
  • the first switching module 1111 is electrically connected to a plurality of service boards 200
  • the second switching module 1211 is electrically connected to a plurality of service boards 200
  • the service board 200 has a service module 210 .
  • the switching device provided by the embodiment of the present disclosure adopts the above-mentioned main control switching board 100, so that when the first management module 1121 or the second management module 1221 is unplugged, the first switching module 1111 and the second switching module 1211 still remain in the switching device and can realize data exchange between different business boards 200, thereby ensuring that the switching capacity of the switching device remains unchanged.
  • first main control switch board 110 and the second main control switch board 120 still only occupy two slots of the switch device, and the number of the service boards 200 of the switch device will not be reduced.
  • FIG. 18 there is a connection between the first management module 1121 and the second management module 1221 .
  • the switching device also has a backplane 300, so the electrical connection between the first main control switching board 110 and the second main control switching board 120, the electrical connection between the first main control switching board 110 and the business board 200, and the electrical connection between the second main control switching board 120 and the business board 200 are all realized through the backplane 300.
  • the first management module 1121 manages the first switching module 1111
  • the second management module 1221 manages the second switching module 1211.
  • This management mode may be referred to as a load sharing mode.
  • the active management module 21 when the first sub-board 112 and the second sub-board 122 are both in place, the active management module 21 (one of the first management module 1121 and the second management module 1221) simultaneously manages the first switching module 1111 and the second switching module 1211.
  • This management mode may be referred to as an active-standby mode.
  • the first base plate 111 further has a first detection module 1112
  • the second base plate 121 further has a second detection module 1212 .
  • the first detection module 1112 is used to detect whether the first sub-board 112 is unplugged
  • the second detection module 1212 is used to detect whether the second sub-board 122 is unplugged.
  • the first detection module 1112 is electrically connected to the second detection module 1212 .
  • the first detection module 1112 is electrically connected to the first management module 1121 and the second management module 1221 respectively
  • the second detection module 1212 is electrically connected to the first management module 1121 and the second management module 1221 respectively.
  • the first detection module 1112 and the second detection module 1212 are both FPGAs.
  • the second management module 1221 is configured to: obtain a first indication message, the first indication message is used to instruct the second management module 1221 to take over the first switching module 1111, and the first indication message is triggered by the first sub-board 112 being pulled out from the first baseboard 111. Take over the first switching module 1111.
  • the second management module 1221 After the second management module 1221 takes over the first switching module 1111 , the second management module 1221 manages the first switching module 1111 and the second switching module 1211 at the same time.
  • the technical solution provided by the embodiment of the present disclosure by setting a first indication message to be triggered when the first sub-board 112 is unplugged from the first base board 111, and setting the second management module 1221 to take over the first switching module 1111 after obtaining the first indication message, avoids the situation where the first switching module 1111 is in an unmanaged state for a long time after the first sub-board 112 is unplugged from the first base board 111, and ensures the reliability of the switching equipment.
  • the first detection module 1112 is configured to: detect that the first sub-board 112 is pulled out from the first baseboard 111, and send a first indication message to the second detection module 1212, where the first indication message is used to instruct the second management module 1221 to take over the first switching module 1111.
  • the second detection module 1212 is configured to: send the first indication message to the second management module 1221.
  • the second management module 1221 is configured to: receive the first indication message and take over the first switching module 1111.
  • the first detection module 1112 is configured to: detect that the first sub-board 112 is pulled out from the first baseboard 111, and send a first indication message to the second management module 1221 through the connection between the first detection module 1112 and the second management module 1221.
  • the second management module 1221 is configured to: receive the first indication message and take over the first switching module 1111.
  • the second management module 1221 is configured to: detect that the first sub-board 112 is unplugged, and take over the first switching module 1111. That is, the first indication message is detected by the second management module 1221.
  • the first management module 1121 is further configured to: obtain a prompt message, the prompt message being used to prompt that the first sub-board 112 is about to be pulled out from the first baseboard 111, and the first management module 1121 Set as backup.
  • the user before the first sub-board 112 is pulled out from the first base board 111, the user triggers a prompt message.
  • the first management module 1121 obtains the prompt message, it can set itself as a backup and notify the second management module 1221 to set it as the primary.
  • the operation of active-standby switching does not need to be performed after the first sub-board 112 is unplugged, so that after the first sub-board 112 is unplugged, the operations required by the switching device are reduced, and the second management module 1221 can take over the first switching module 1111 more quickly.
  • the active-standby switching can be performed more reliably.
  • performing active-standby switching in advance can ensure that the database is completely copied to the standby management module 21 (the standby management module 21 is subsequently switched to the active one), thereby avoiding data loss in the database.
  • the first management module 1121 is further configured to: obtain a prompt message, the prompt message is used to prompt that the first sub-board 112 is about to be pulled out from the first baseboard 111, stop managing the first switching module 1111, and send a second indication message to the second management module 1221, the second indication message is used to instruct the second management module 1221 to take over the first switching module 1111.
  • the second management module 1221 is configured to: receive the second indication message, and take over the first switching module 1111.
  • the user before the first daughter board 112 is pulled out from the first base board 111, the user triggers a prompt message, and after the first management module 1121 obtains the prompt message, it directly performs management switching, without having to wait until the first daughter board 112 is pulled out before performing management switching.
  • the first switching module 1111 will not be in an unmanaged state instantaneously, thereby ensuring the reliability of the switching device.
  • the first management module 1121 is configured to: send a third indication message to the second management module 1221, and the third indication message is used to instruct the second management module 1221 to stop managing the first switching module 1111.
  • the second management module 1221 is configured to: receive the third indication message and stop managing the first switching module 1111.
  • the first management module 1121 is also configured to: take over the first switching module 1111.
  • the first management module 1121 after the first sub-board 112 is inserted into the first baseboard 111, the first management module 1121 notifies the second management module 1221 to stop managing the first switching module 1111, and the first management module 1121 takes over the first switching module 1111 again, thereby reducing the burden on the second management module 1221.
  • first switching module 1111 and the second switching module 1211 may also be replaced by other service processing modules, such as a message identification and parsing module and a clock module, etc. Then the first switching module 1111 and the second switching module 1211 may also be expanded to a first service processing module and a second service processing module, and the switching device may also be replaced by a network device.
  • the embodiment of the present disclosure further provides a management method, which is applied to the above network device. As shown in FIG19 , the management method includes the following steps:
  • step 1901 the second management module 1221 obtains a first indication message.
  • the first indication message is used to instruct the second management module 1221 to take over the first switching module 1111 , and the first indication message is triggered by the first sub-board 112 being pulled out from the first baseboard 111 .
  • the second management module 1221 obtains the first indication message including the following steps:
  • step 1001 the first detection module 1112 detects that the first sub-board 112 is pulled out from the first base board 111 .
  • step 1002 the first detection module 1112 sends a first indication message to the second detection module 1212 .
  • step 1003 the second detection module 1212 sends a first indication message to the second management module 1221 .
  • step 1004 the second management module 1221 receives the first indication message and takes over the first switching module 1111 .
  • the second management module 1221 obtains the first indication message including the following steps:
  • step 1101 the first detection module 1112 detects that the first sub-board 112 is pulled out from the first base board 111 .
  • step 1102 the first detection module 1112 sends a first indication message to the second management module 1221 through the connection between the first detection module 1112 and the second management module 1221 .
  • step 1103 the second management module 1221 receives the first indication message and takes over the first switching module 1111 .
  • the second management module 1221 obtains the first indication message including the following steps:
  • step 1301 the second management module 1221 detects that the first sub-board 112 is unplugged. That is, the first indication message is detected by the second management module.
  • step 1302 the second management module 1221 takes over the first switching module 1111 .
  • the management method further includes the following steps:
  • step 1501 the first management module 1121 obtains a prompt message.
  • the prompt message is used to prompt that the first sub-board 112 is about to be pulled out from the first base board 111 .
  • step 1502 the first management module 1121 sets the first management module 1121 as a standby, and correspondingly, the second management module 1221 is set as a master.
  • the operation of active-standby switching does not need to be performed after the first sub-board 112 is unplugged, so that after the first sub-board 112 is unplugged, the operations required by the switching device are reduced, and the second management module 1221 can take over the first switching module 1111 more quickly.
  • the active-standby switching can be performed more reliably.
  • performing active-standby switching in advance can ensure that the database is completely copied to the standby management module 21 (the standby management module 21 is subsequently switched to the active one), thereby avoiding data loss in the database.
  • the active/standby switching operation does not need to be performed after the first sub-board 112 is unplugged, so that after the first sub-board 112 is unplugged, the operations required by the switching device are reduced, and the second management module 1221 can take over the first switching module 1111 more quickly.
  • the first management module 1121 after setting the first management module 1121 as a standby, the first management module 1121 sends an indication message to the second management module 1221, where the indication message is used to instruct the second management module 1221 to set the second management module 1221 as a master.
  • step 1902 the second management module 1221 takes over the first switching module 1111 .
  • the second management module 1221 After the second management module 1221 takes over the first switching module 1111 , the second management module 1221 manages the first switching module 1111 and the second switching module 1211 at the same time.
  • the technical solution provided by the embodiment of the present disclosure by setting a first indication message to be triggered when the first sub-board 112 is unplugged from the first base board 111, and setting the second management module 1221 to take over the first switching module 1111 after obtaining the first indication message, avoids the situation where the first switching module 1111 is in an unmanaged state for a long time after the first sub-board 112 is unplugged from the first base board 111, and ensures the reliability of the switching equipment.
  • the management method further includes: the first management module 1121 sends a third indication message to the second management module 1221, and the third indication message is used to instruct the second management module 1221 to stop managing the first switching module 1111.
  • the second management module 1221 receives the third indication message and stops managing the first switching module 1111.
  • the first management module 1121 takes over the first switching module 1111.
  • the first management module 1121 after the first sub-board 112 is inserted into the first baseboard 111, the first management module 1121 notifies the second management module 1221 to stop managing the first switching module 1111, and the first management module 1121 takes over the first switching module 1111 again, thereby reducing the burden on the second management module 1221.
  • step 1005 the first management module 1121 is started.
  • step 1006 the first management module 1121 sends a third indication message to the first detection module 1112 .
  • step 1007 the first detection module 1112 sends a third indication message to the second detection module 1212 .
  • step 1008 the second detection module 1212 sends a third indication message to the second management module 1221 .
  • step 1009 the second management module 1221 receives the third instruction message and stops managing the first switching module 1111 .
  • step 1010 the first management module 1121 takes over the first switching module 1111 .
  • step 1104 the first management module 1121 is started.
  • step 1105 the first management module 1121 sends a third indication message to the first detection module 1112 .
  • step 1106 the first detection module 1112 sends a third indication message to the second management module 1221 .
  • step 1107 the second management module 1221 receives the third instruction message and stops managing the first switching module 1111 .
  • step 1108 the first management module 1121 takes over the first switching module 1111 .
  • step 1303 the first management module 1121 is started.
  • step 1304 the first management module 1121 sends a third indication message to the second management module 1221 .
  • step 1305 the second management module 1221 stops managing the first switching module 1111 .
  • step 1306 the first management module 1121 takes over the first switching module 1111 .
  • first switching module 1111 and the second switching module 1211 may also be replaced by other service processing modules, such as a message identification and analysis module and a clock module. Then the first switching module 1111 and the second switching module 1211 may also be expanded into a first service processing module and a second service processing module.
  • the present disclosure also provides a management method, which is applied to the above network device, as shown in FIG. 16.
  • the management method comprises the following steps:
  • step 2001 the first management module 1121 obtains a prompt message.
  • the prompt message is used to prompt that the first sub-board 112 is about to be pulled out from the first base board 111.
  • the prompt message is triggered by the user operating the operating member 22, and the operating member 22 can be a button on the first sub-board 112.
  • step 2002 the first management module 1121 stops managing the first switching module 1111 .
  • the first management module 1121 further sets the first management module 1121 as a standby.
  • the second management module 1221 sets the second management module 1221 as a master.
  • step 2003 the first management module 1121 sends a second indication message to the second management module 1221 .
  • the second indication message is used to instruct the second management module 1221 to take over the first switching module 1111 .
  • the embodiment of the present disclosure does not limit the implementation manner in which the first management module 1121 sends the second indication message to the second management module 1221.
  • An exemplary description is given below:
  • the first management module 1121 sending the second indication message to the second management module 1221 includes the following steps:
  • step 1603 the first management module 1121 sends a second indication message to the first detection module 1112 .
  • step 1604 the first detection module 1112 sends a second indication message to the second detection module 1212 .
  • step 1605 the second detection module 1212 sends a second indication message to the second management module 1221 .
  • the first management module 1121 sends the second indication message to the first detection module 1112
  • the first detection module 1112 sends the second indication message to the second management module 1221 through the connection between the first detection module 1112 and the second management module 1221 .
  • the first management module 1121 sends the second indication message to the second management module 1221 through the connection between the first management module 1121 and the second management module 1221 .
  • Step 2002 can be located before step 2003 or after step 2003.
  • Step 2002 and step 2003 can also be performed simultaneously.
  • step 2004 the second management module 1221 receives the second instruction message and takes over the first switching module 1111 .
  • the second management module 1221 After the second management module 1221 takes over the first switching module 1111 , the second management module 1221 manages the first switching module 1111 and the second switching module 1211 at the same time.
  • the user before the first daughter board 112 is pulled out from the first base board 111, the user triggers a prompt message, and after the first management module 1121 obtains the prompt message, it directly performs management switching, without having to wait until the first daughter board 112 is pulled out before performing management switching.
  • the first switching module 1111 will not be in an unmanaged state instantaneously, thereby ensuring the reliability of the switching device.
  • the first daughter board 112 may not be pulled out from the first base board 111.
  • the switching devices have different processing methods:
  • the switching device adopts a load sharing mode
  • the management method further includes: when the first sub-board 112 is not pulled out from the first baseboard 111 within the target time length, the second management module 1221 stops managing the first switching module 1111, and the first management module 1121 takes over the first switching module 1111.
  • the burden of the second management module 1221 is reduced.
  • the second management module 1221 when the second management module 1221 does not receive the indication message sent by the first detection module 1112 to instruct the first sub-board 112 to be unplugged within the target time length, the second management module 1221 stops managing the first switching module 1111 and notifies the first management module 1121 to take over the first switching module 1111.
  • the switching device adopts the master-slave mode. Then, even if the first sub-board 112 is not unplugged from the first baseboard 111 within the target time, the first switching module 1111 and the second switching module 1211 can still be managed simultaneously by the second management module 1221 without having to switch back to management by the first management module 1121.
  • first switching module 1111 and the second switching module 1211 may also be replaced by other service processing modules, such as a message identification and analysis module and a clock module. Then the first switching module 1111 and the second switching module 1211 may also be expanded into a first service processing module and a second service processing module.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Hardware Redundancy (AREA)

Abstract

The present disclosure relates to the technical field of communications, and provides a single board, a network device, and a management method. The single board comprises a base board (1) and a sub-board (2), and the sub-board (2) can be inserted into and removed from the base board (1). The base board (1) is provided with a service processing module. The sub-board (2) is provided with a management module (21), and the management module (21) is used for managing the service processing module. When the management module (21) fails or needs to be upgraded, a user can only remove the sub-board (2), and still retain the base board (1) in the network device. In this way, the service processing module on the base board (1) can still perform service processing, so that the service processing capability of the network device remains unchanged.

Description

单板、网络设备和管理方法Single board, network device and management method

本公开要求于2023年07月11日提交的申请号为202310851009.2、发明名称为“单板、网络设备和管理方法”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This disclosure claims priority to Chinese patent application No. 202310851009.2 filed on July 11, 2023, with invention name “Single Board, Network Equipment and Management Method”, the entire contents of which are incorporated by reference in this disclosure.

技术领域Technical Field

本公开涉及通信技术领域,特别涉及单板、网络设备和管理方法。The present disclosure relates to the field of communication technology, and in particular to a single board, a network device, and a management method.

背景技术Background Art

网络设备具有单板,例如,具有主控交换板。单板具有业务处理模块和管理模块,业务处理模块用于进行业务处理,管理模块用于对业务处理模块进行管理。The network device has a single board, for example, a main control switch board, which has a service processing module and a management module. The service processing module is used for service processing, and the management module is used for managing the service processing module.

当单板的管理模块出现故障或需要升级时,需要将该单板拔出,然而,这会使得该单板的业务处理模块也不能工作,导致网络设备的业务处理能力下降。When the management module of a board fails or needs to be upgraded, the board needs to be unplugged. However, this will make the service processing module of the board unable to work, resulting in a decrease in the service processing capacity of the network device.

发明内容Summary of the invention

本公开提供了单板、网络设备和管理方法,单板包括底板和子板,底板具有业务处理模块,子板具有管理模块,子板与底板可插拔连接。当子板拔出时,底板的业务处理模块仍然能够进行业务处理,从而使得网络设备的业务处理能力保持不变。所述单板、网络设备和管理方法的技术方案如下所述:The present disclosure provides a single board, a network device, and a management method. The single board includes a base board and a daughter board. The base board has a service processing module, and the daughter board has a management module. The daughter board and the base board are pluggable. When the daughter board is unplugged, the service processing module of the base board can still perform service processing, so that the service processing capacity of the network device remains unchanged. The technical solutions of the single board, the network device, and the management method are as follows:

第一方面,本公开提供了一种单板。单板包括底板和子板(subboard),子板与底板可插拔连接,且底板的面板具有供子板插拔的开口。底板具有业务处理模块,子板具有管理模块,管理模块用于管理业务处理模块。In a first aspect, the present disclosure provides a single board. The single board includes a baseboard and a subboard, the subboard is pluggable and connected to the baseboard, and the panel of the baseboard has an opening for plugging and unplugging the subboard. The baseboard has a service processing module, and the subboard has a management module, and the management module is used to manage the service processing module.

其中,该单板可以为主控交换板。底板占据网络设备的一个槽位。子板能够在底板上插拔,且子板不单独占据网络设备的一个槽位。当子板插入底板时,子板的管理模块与底板的业务处理模块电连接。子板的管理模块用于实现控制平面所需的操作。The single board can be a main control switch board. The baseboard occupies a slot of the network device. The daughterboard can be plugged in and out of the baseboard, and the daughterboard does not occupy a slot of the network device alone. When the daughterboard is inserted into the baseboard, the management module of the daughterboard is electrically connected to the service processing module of the baseboard. The management module of the daughterboard is used to implement the operations required by the control plane.

本公开提供的技术方案,通过将业务处理模块设置在底板上,将管理模块设置在子板上,并设置子板与底板可插拔连接,使得当管理模块出现故障或需要升级时,用户可以仅将子板拔出,而使得底板仍留存在网络设备中。这样,底板的业务处理模块仍然能够进行业务处理,保证了网络设备的业务处理能力不变。另外,由于子板不单独占据槽位,所以,本公开提供的单板所需占据的网络设备的槽位不变,不会使得网络设备的业务板的数量减少。The technical solution provided by the present disclosure is to set the service processing module on the base plate, set the management module on the sub-board, and set the sub-board and the base plate to be pluggable, so that when the management module fails or needs to be upgraded, the user can only unplug the sub-board, and the base plate remains in the network device. In this way, the service processing module of the base plate can still perform service processing, ensuring that the service processing capacity of the network device remains unchanged. In addition, since the sub-board does not occupy a slot alone, the slot of the network device that the single board provided by the present disclosure needs to occupy remains unchanged, and the number of service boards of the network device will not be reduced.

在一种可能的实现方式中,业务处理模块包括交换模块、报文识别和解析模块和时钟模块中的一种或多种。In a possible implementation, the service processing module includes one or more of a switching module, a message identification and analysis module, and a clock module.

其中,时钟模块可以为高精度时钟模块,例如,1588时钟模块。The clock module may be a high-precision clock module, for example, a 1588 clock module.

当业务处理模块包括交换模块时,该单板还可以称为主控交换板,该单板所在的网络设备可以称为交换设备。交换模块用于实现转发平面所需的操作。通过将交换模块设置在底板上,将管理模块设置在子板上,并设置子板与底板可插拔连接,使得当管理模块出现故障或需要升级时,用户可以仅将子板拔出,而使得底板仍留存在交换设备中。这样,底板的交换模块仍然能够实现不同业务板之间的数据交换,保证了交换设备的业务处理能力不变。When the service processing module includes a switching module, the board can also be called a main control switching board, and the network device where the board is located can be called a switching device. The switching module is used to implement the operations required by the forwarding plane. By setting the switching module on the baseboard, setting the management module on the sub-board, and setting the sub-board and the baseboard to be pluggable, when the management module fails or needs to be upgraded, the user can only unplug the sub-board, while the baseboard remains in the switching device. In this way, the switching module of the baseboard can still realize data exchange between different service boards, ensuring that the service processing capacity of the switching device remains unchanged.

在一种可能的实现方式中,底板具有第一连接器和背板连接器,子板具有第二连接器。第二连接器用于与第一连接器对接,背板连接器用于与背板对接。当子板插入底板时,子板上的管理模块通过第一连接器和第二连接器与底板上的业务处理模块电连接。In a possible implementation, the baseboard has a first connector and a backplane connector, and the daughterboard has a second connector. The second connector is used to dock with the first connector, and the backplane connector is used to dock with the backboard. When the daughterboard is inserted into the baseboard, the management module on the daughterboard is electrically connected to the service processing module on the baseboard through the first connector and the second connector.

其中,第一连接器和第二连接器可以为金手指连接器,也可以为板对板连接器(board-to-board connectors)。Among them, the first connector and the second connector can be gold finger connectors or board-to-board connectors.

在一种可能的实现方式中,第一连接器与业务处理模块电连接,第二连接器与管理模块电连接。当子板插入底板时,第一连接器与第二连接器电连接。这样,实现了管理模块和业务处理模块的电连接,使得管理模块能够管理业务处理模块。In a possible implementation, the first connector is electrically connected to the service processing module, and the second connector is electrically connected to the management module. When the daughter board is inserted into the base board, the first connector is electrically connected to the second connector. In this way, the management module and the service processing module are electrically connected, so that the management module can manage the service processing module.

在一种可能的实现方式中,底板还具有检测模块,检测模块被配置为:检测到子板从底板拔出,向 另一单板发送第一指示消息。其中,第一指示消息用于指示另一单板接管业务处理模块。In a possible implementation, the baseboard further includes a detection module, which is configured to: detect that the sub-board is pulled out from the baseboard, Another single board sends a first indication message, wherein the first indication message is used to instruct another single board to take over the service processing module.

其中,当子板插入底板时,子板的管理模块与底板的检测模块电连接。When the daughter board is inserted into the base board, the management module of the daughter board is electrically connected to the detection module of the base board.

本公开提供的技术方案,通过在底板上设置检测模块,使得当子板从底板拔出时,检测模块能够及时检测到子板拔出,并及时通知另一单板接管业务处理模块,避免业务处理模块长时间处于未受管理状态,保证了网络设备的工作的可靠性。The technical solution provided by the present disclosure sets a detection module on the baseboard so that when a daughter board is unplugged from the baseboard, the detection module can promptly detect the unplugging of the daughter board and promptly notify another single board to take over the business processing module, thereby avoiding the business processing module being in an unmanaged state for a long time and ensuring the reliability of the operation of the network equipment.

在一种可能的实现方式中,管理模块还用于管理检测模块,则第一指示消息还用于指示另一单板接管检测模块。In a possible implementation, the management module is also used to manage the detection module, and the first indication message is also used to instruct another board to take over the detection module.

在一种可能的实现方式中,第一连接器还与检测模块电连接。这样,实现了检测模块与子板的管理模块的电连接。In a possible implementation, the first connector is also electrically connected to the detection module, so that the detection module is electrically connected to the management module of the daughter board.

在一种可能的实现方式中,检测模块为现场可编程门阵列(field-programmable gate array,FPGA)。其中,检测模块可以通过连线与另一单板的检测模块电连接。In a possible implementation, the detection module is a field-programmable gate array (FPGA), wherein the detection module can be electrically connected to a detection module of another single board through a wire.

本公开提供的技术方案,通过设置检测模块为FPGA,使得检测模块能够更加快速的检测到子板拔出,并及时通知另一单板。The technical solution provided by the present disclosure, by setting the detection module as FPGA, enables the detection module to detect the removal of the daughter board more quickly and notify another single board in time.

在一种可能的实现方式中,在子板从底板拔出之前,管理模块被配置为:获取提示消息,提示消息用于提示子板将要从底板拔出。将管理模块设置为备用。In a possible implementation, before the daughter board is pulled out from the baseboard, the management module is configured to: obtain a prompt message, where the prompt message is used to prompt that the daughter board is about to be pulled out from the baseboard, and set the management module to standby.

本公开提供的技术方案,在子板从底板拔出之前,用户触发提示消息,管理模块获取提示消息之后,可以将拔出的子板上的管理模块设置为备用,相应的,另一单板上的管理模块设置为主用。这样,第一,主备倒换的操作不需要在拔出子板之后再进行,使得拔出子板之后,网络设备所需进行的操作减少,另一单板能够更快的接管业务处理模块。第二,在子板拔出之前,网络设备的通信正常,所以能够更加可靠的执行主备倒换。第三,由于数据库一般保存在主用的管理模块,所以,提前进行主备倒换,能够保证数据库完整的复制到备用的管理模块(该备用的管理模块后续切换为主用),避免了数据库中的数据丢失。The technical solution provided by the present disclosure is that before the daughter board is pulled out from the base board, the user triggers a prompt message. After the management module obtains the prompt message, the management module on the pulled out daughter board can be set as standby, and correspondingly, the management module on another single board is set as primary. In this way, first, the operation of active-standby switching does not need to be performed after the daughter board is pulled out, so that after the daughter board is pulled out, the operations required to be performed by the network device are reduced, and the other single board can take over the business processing module more quickly. Second, before the daughter board is pulled out, the communication of the network device is normal, so the active-standby switching can be performed more reliably. Third, since the database is generally stored in the primary management module, performing active-standby switching in advance can ensure that the database is completely copied to the standby management module (the standby management module is subsequently switched to the primary), thereby avoiding data loss in the database.

在一种可能的实现方式中,在子板从底板拔出之前,管理模块被配置为:获取提示消息,提示消息用于提示子板将要从底板拔出。停止管理业务处理模块。向另一单板发送第二指示消息,第二指示消息用于指示另一单板接管业务处理模块。In a possible implementation, before the daughter board is pulled out from the baseboard, the management module is configured to: obtain a prompt message, the prompt message is used to prompt that the daughter board will be pulled out from the baseboard, stop managing the service processing module, and send a second indication message to another single board, the second indication message is used to instruct the other single board to take over the service processing module.

本公开提供的技术方案,在子板从底板拔出之前,用户触发提示消息,管理模块获取提示消息之后,进行管理倒换,而不必等子板拔出之后,再进行管理倒换。也即,管理模块获取到提示消息之后,管理模块停止管理业务处理模块,并通知另一单板接管业务处理模块。这样,后续子板从底板拔出时,不会出现瞬时业务处理模块处于未受管理状态的情况,保证了网络设备工作的可靠性。The technical solution provided by the present disclosure is that before the daughter board is pulled out from the base board, the user triggers a prompt message, and after the management module obtains the prompt message, the management switch is performed, without having to wait until the daughter board is pulled out before performing the management switch. That is, after the management module obtains the prompt message, the management module stops managing the service processing module and notifies another single board to take over the service processing module. In this way, when the daughter board is subsequently pulled out from the base board, the instantaneous service processing module will not be in an unmanaged state, thereby ensuring the reliability of the network device.

在一种可能的实现方式中,子板还具有操作件,操作件用于在子板从底板拔出之前供用户操作。并且,当操作件被操作时,触发管理模块获取提示消息。其中,操作件可以位于子板的子板面板上,操作件可以为按钮。In a possible implementation, the sub-board further has an operating element, which is used for a user to operate before the sub-board is pulled out from the base board. When the operating element is operated, the management module is triggered to obtain a prompt message. The operating element may be located on a sub-board panel of the sub-board, and the operating element may be a button.

在一种可能的实现方式中,在子板插入底板之后,管理模块被配置为:向另一单板发送第三指示消息,第三指示消息用于指示另一单板停止管理业务处理模块。接管业务处理模块。In a possible implementation, after the daughter board is inserted into the baseboard, the management module is configured to: send a third indication message to another single board, the third indication message is used to instruct the other single board to stop managing the service processing module. Take over the service processing module.

本公开提供的技术方案,在子板插入底板之后,管理模块可以通知另一单板停止管理业务处理模块,同时,重新接管业务处理模块,以降低另一单板的负担。The technical solution provided by the present disclosure is that after the daughter board is inserted into the base board, the management module can notify another single board to stop managing the business processing module, and at the same time, take over the business processing module again to reduce the burden of the other single board.

在一种可能的实现方式中,管理模块被配置为:获取第四指示消息,第四指示消息用于指示管理模块接管另一单板。接管另一单板。其中,该第四指示消息可以是由另一单板的子板从底板拔出触发的,也可以是由另一单板的子板的操作件被操作触发的。In a possible implementation, the management module is configured to: obtain a fourth indication message, the fourth indication message being used to instruct the management module to take over another single board. Take over another single board. The fourth indication message may be triggered by a sub-board of another single board being pulled out from a baseboard, or may be triggered by an operating member of a sub-board of another single board being operated.

本公开提供的技术方案,当另一单板中的子板拔出之后,管理模块接管另一单板,以避免另一单板的业务处理模块长时间处于未受管理状态,保证了网络设备的工作的可靠性。The technical solution provided by the present disclosure is that when a daughter board in another single board is pulled out, the management module takes over the other single board to avoid the business processing module of the other single board being in an unmanaged state for a long time, thereby ensuring the reliability of the operation of the network equipment.

在一种可能的实现方式中,管理模块被配置为:通过第一检测模块接收第四指示消息。In a possible implementation manner, the management module is configured to: receive the fourth indication message through the first detection module.

在一种可能的实现方式中,管理模块还被配置为:接收另一单板发送的第五指示消息,第五指示消息用于指示管理模块停止管理另一单板。停止管理另一单板。In a possible implementation, the management module is further configured to: receive a fifth indication message sent by another single board, the fifth indication message being used to instruct the management module to stop managing the other single board. Stop managing the other single board.

本公开提供的技术方案,当另一单板中的子板插入之后,另一单板通知管理模块停止管理另一单板,且另一单板的管理模块接管自己的业务处理模块。The technical solution provided by the present disclosure is that when a daughter board in another single board is inserted, the other single board notifies the management module to stop managing the other single board, and the management module of the other single board takes over its own business processing module.

在一种可能的实现方式中,底板具有滑轨,子板与滑轨滑动连接。这样,使得子板的插拔更加顺畅。In a possible implementation, the base plate has a slide rail, and the sub-board is slidably connected to the slide rail, so that the plugging and unplugging of the sub-board is smoother.

在一种可能的实现方式中,子板的子板面板具有把手,把手用于供用户握持。 In a possible implementation, the daughter board panel of the daughter board has a handle, and the handle is used for a user to hold.

第二方面,本公开提供了一种网络设备,网络设备具有第一单板和第二单板。第一单板为如第一方面任一项所述的单板,且第一单板中的底板、子板、业务处理模块和管理模块分别为第一底板、第一子板、第一业务处理模块和第一管理模块。第二单板具有第二管理模块,第二管理模块能够管理第一业务处理模块。In a second aspect, the present disclosure provides a network device, the network device having a first single board and a second single board. The first single board is a single board as described in any one of the first aspects, and the base board, the sub-board, the service processing module and the management module in the first single board are respectively the first base board, the first sub-board, the first service processing module and the first management module. The second single board has a second management module, and the second management module can manage the first service processing module.

其中,该网络设备可以为交换设备,例如,可以为光线路终端(optical line terminal,OLT)设备。第一单板和第二单板可以分别为第一主控交换板和第二主控交换板。The network device may be a switching device, for example, an optical line terminal (OLT) device. The first board and the second board may be a first main control switching board and a second main control switching board, respectively.

本公开提供的技术方案,通过采用第一方面的单板,使得当第一子板拔出时,第一业务处理模块仍然能够留存在网络设备中,并能够进行业务处理,保证了网络设备的业务处理能力不变。并且,第二管理模块能够对第一业务处理模块进行管理,保证了网络设备的工作的可靠性。The technical solution provided by the present disclosure adopts the single board of the first aspect, so that when the first sub-board is pulled out, the first service processing module can still remain in the network device and can perform service processing, thereby ensuring that the service processing capacity of the network device remains unchanged. In addition, the second management module can manage the first service processing module, thereby ensuring the reliability of the operation of the network device.

在一种可能的实现方式中,第二单板为第一方面任一项所述的单板,且第二单板中的底板、子板、业务处理模块和管理模块分别为第二底板、第二子板、第二业务处理模块和第二管理模块。In a possible implementation, the second single board is the single board described in any one of the first aspects, and the base board, sub-board, business processing module and management module in the second single board are respectively the second base board, second sub-board, second business processing module and second management module.

在一种可能的实现方式中,第一底板具有第一检测模块,第一检测模块用于检测第一子板是否拔出。第二底板具有第二检测模块,第二检测模块用于检测第二子板是否拔出。第一检测模块和第二检测模块电连接。In a possible implementation, the first baseboard has a first detection module, the first detection module is used to detect whether the first sub-board is pulled out. The second baseboard has a second detection module, the second detection module is used to detect whether the second sub-board is pulled out. The first detection module is electrically connected to the second detection module.

在一种可能的实现方式中,第一检测模块与第二检测模块均为FPGA。In a possible implementation, both the first detection module and the second detection module are FPGAs.

在一种可能的实现方式中,当第一子板和第二子板均在位时,第一检测模块分别与第一管理模块和第二管理模块电连接,第二检测模块分别与第一管理模块和第二管理模块电连接。第一管理模块和第二管理模块还用于管理第一检测模块和第二检测模块。In a possible implementation, when the first sub-board and the second sub-board are both in place, the first detection module is electrically connected to the first management module and the second management module respectively, and the second detection module is electrically connected to the first management module and the second management module respectively. The first management module and the second management module are also used to manage the first detection module and the second detection module.

在一种可能的实现方式中,第一管理模块和第二管理模块之间具有连线。In a possible implementation manner, a connection is provided between the first management module and the second management module.

在一种可能的实现方式中,网络设备还具有多个业务板,第一业务处理模块分别与多个业务板电连接,且第二业务处理模块也分别与多个业务板电连接。In a possible implementation, the network device further has a plurality of service boards, the first service processing module is electrically connected to the plurality of service boards respectively, and the second service processing module is also electrically connected to the plurality of service boards respectively.

在一种可能的实现方式中,网络设备还具有背板,则第一单板和第二单板之间的电连接、第一单板与业务板之间的电连接以及第二单板与业务板之间的电连接,均通过背板实现。In a possible implementation, the network device also has a backplane, and the electrical connection between the first board and the second board, the electrical connection between the first board and the service board, and the electrical connection between the second board and the service board are all implemented through the backplane.

在一种可能的实现方式中,当第一子板和第二子板均在位时,第一管理模块管理第一业务处理模块,第二管理模块管理第二业务处理模块。其中,该管理模式可以称为负载分担模式。In a possible implementation, when both the first sub-board and the second sub-board are in place, the first management module manages the first service processing module, and the second management module manages the second service processing module. This management mode may be referred to as a load sharing mode.

在一种可能的实现方式中,当第一子板和第二子板均在位时,主用的管理模块同时管理第一业务处理模块和第二业务处理模块。其中,主用的管理模块为第一管理模块和第二管理模块中的一个。备用的管理模块不对第一业务处理模块和第二业务处理模块进行管理。In a possible implementation, when the first sub-board and the second sub-board are both in place, the main management module manages the first business processing module and the second business processing module at the same time. The main management module is one of the first management module and the second management module. The standby management module does not manage the first business processing module and the second business processing module.

在一种可能的实现方式中,第二管理模块被配置为:获取第一指示消息,第一指示消息用于指示第二管理模块接管第一业务处理模块,第一指示消息是由第一子板从第一底板拔出触发的。接管第一业务处理模块。In a possible implementation, the second management module is configured to: obtain a first indication message, the first indication message is used to instruct the second management module to take over the first service processing module, the first indication message is triggered by the first sub-board being pulled out from the first baseboard, and take over the first service processing module.

本公开提供的技术方案,通过设置第一子板从第一底板拔出时触发第一指示消息,并设置第二管理模块获取第一指示消息之后,接管第一业务处理模块,避免了第一子板从第一底板拔出后,出现第一业务处理模块长时间处于未受管理状态的情况,保证了网络设备工作的可靠性。The technical solution provided by the present invention, by setting a first indication message to be triggered when the first sub-board is unplugged from the first base board, and setting a second management module to take over the first business processing module after obtaining the first indication message, avoids the situation where the first business processing module is in an unmanaged state for a long time after the first sub-board is unplugged from the first base board, thereby ensuring the reliability of the operation of the network equipment.

在一种可能的实现方式中,第一检测模块被配置为:检测到第一子板从第一底板拔出,向第二检测模块发送第一指示消息,第一指示消息用于指示第二管理模块接管第一业务处理模块。第二检测模块被配置为:向第二管理模块发送第一指示消息。第二管理模块被配置为:接收第一指示消息,接管第一业务处理模块。In a possible implementation, the first detection module is configured to: detect that the first sub-board is pulled out from the first baseboard, and send a first indication message to the second detection module, where the first indication message is used to instruct the second management module to take over the first business processing module. The second detection module is configured to: send the first indication message to the second management module. The second management module is configured to: receive the first indication message and take over the first business processing module.

在一种可能的实现方式中,第一检测模块被配置为:检测到第一子板从第一底板拔出,通过第一检测模块和第二管理模块之间的连线,向第二管理模块发送第一指示消息。第二管理模块被配置为:接收第一指示消息,接管第一业务处理模块。In a possible implementation, the first detection module is configured to: detect that the first sub-board is pulled out from the first baseboard, and send a first indication message to the second management module through the connection between the first detection module and the second management module. The second management module is configured to: receive the first indication message and take over the first service processing module.

在一种可能的实现方式中,第二管理模块被配置为:检测到第一子板拔出,接管第一业务处理模块。也即,上述第一指示消息是第二管理模块检测到的。其中,第一管理模块和第二管理模块之间具有连线,当第一子板拔出时,该连线中断,则第二管理模块能够检测到。In a possible implementation, the second management module is configured to: detect that the first sub-board is unplugged and take over the first business processing module. That is, the first indication message is detected by the second management module. There is a connection between the first management module and the second management module. When the first sub-board is unplugged, the connection is interrupted, and the second management module can detect it.

在一种可能的实现方式中,在第一子板从第一底板拔出之前,第一管理模块还被配置为:获取提示消息,提示消息用于提示第一子板将要从第一底板拔出。将第一管理模块设置为备用。In a possible implementation, before the first daughter board is pulled out from the first baseboard, the first management module is further configured to: obtain a prompt message, the prompt message is used to prompt that the first daughter board will be pulled out from the first baseboard, and set the first management module to standby.

本公开提供的技术方案,在第一子板从第一底板拔出之前,用户触发提示消息,第一管理模块获取 提示消息之后,可以将自身设置为备用,并通知第二管理模块设置为主用。这样,第一,主备倒换的操作不需要在拔出第一子板之后再进行,使得拔出第一子板之后,第二管理模块所需进行的操作减少,第二管理模块能够更快的接管第一业务处理模块。第二,在第一子板拔出之前,由于第一单板和第二单板之间的通信正常,所以能够更加可靠的执行主备倒换。第三,由于数据库一般保存在主用的管理模块,所以,提前进行主备倒换,能够保证数据库完整的复制到备用的管理模块(该备用的管理模块后续切换为主用),避免了数据库中的数据丢失。The technical solution provided by the present disclosure is that before the first sub-board is pulled out from the first baseboard, the user triggers a prompt message, and the first management module obtains After the prompt message, it can set itself as a standby and notify the second management module to set it as the primary. In this way, first, the primary-standby switching operation does not need to be performed after the first sub-board is pulled out, so that after the first sub-board is pulled out, the operations required by the second management module are reduced, and the second management module can take over the first business processing module more quickly. Second, before the first sub-board is pulled out, since the communication between the first board and the second board is normal, the primary-standby switching can be performed more reliably. Third, since the database is generally stored in the primary management module, performing the primary-standby switching in advance can ensure that the database is completely copied to the backup management module (the backup management module is subsequently switched to the primary), thereby avoiding data loss in the database.

在一种可能的实现方式中,在第一子板从第一底板拔出之前,第一管理模块还被配置为:获取提示消息,提示消息用于提示第一子板将要从第一底板拔出。停止管理第一业务处理模块。向第二管理模块发送第二指示消息,第二指示消息用于指示第二管理模块接管第一业务处理模块。第二管理模块被配置为:接收第二指示消息,接管第一业务处理模块。其中,第二管理模块接管第一业务处理模块之后,同时管理第一业务处理模块和第二业务处理模块。In a possible implementation, before the first sub-board is pulled out from the first baseboard, the first management module is further configured to: obtain a prompt message, the prompt message is used to prompt that the first sub-board will be pulled out from the first baseboard. Stop managing the first business processing module. Send a second indication message to the second management module, the second indication message is used to instruct the second management module to take over the first business processing module. The second management module is configured to: receive the second indication message and take over the first business processing module. After the second management module takes over the first business processing module, it manages the first business processing module and the second business processing module at the same time.

本公开提供的技术方案,在第一子板从第一底板拔出之前,用户触发提示消息,第一管理模块获取提示消息之后,进行管理倒换,而不必等第一子板拔出之后,再进行管理倒换。这样,后续第一子板从第一底板拔出时,不会出现瞬时第一业务处理模块处于未受管理的状态的情况,保证了网络设备工作的可靠性。The technical solution provided by the present disclosure is that before the first daughter board is pulled out from the first base board, the user triggers a prompt message, and after the first management module obtains the prompt message, the management switch is performed, without having to wait until the first daughter board is pulled out before performing the management switch. In this way, when the first daughter board is subsequently pulled out from the first base board, the first service processing module will not be in an unmanaged state instantaneously, thereby ensuring the reliability of the network device.

在一种可能的实现方式中,在第一子板插入第一底板之后,第一管理模块被配置为:向第二管理模块发送第三指示消息,第三指示消息用于指示第二管理模块停止管理第一业务处理模块。第二管理模块被配置为:接收第三指示消息,停止管理第一业务处理模块。第一管理模块还被配置为:接管第一业务处理模块。In a possible implementation, after the first sub-board is inserted into the first baseboard, the first management module is configured to: send a third indication message to the second management module, the third indication message is used to instruct the second management module to stop managing the first service processing module. The second management module is configured to: receive the third indication message and stop managing the first service processing module. The first management module is also configured to: take over the first service processing module.

本公开提供的技术方案,在第一子板插入第一底板之后,第一管理模块通知第二管理模块停止管理第一业务处理模块,且第一管理模块重新接管第一业务处理模块,则第一管理模块和第二管理模块分别管理第一业务处理模块和第二业务处理模块,减小了第二管理模块的负担。The technical solution provided by the present disclosure is that after the first sub-board is inserted into the first baseboard, the first management module notifies the second management module to stop managing the first business processing module, and the first management module takes over the first business processing module again, then the first management module and the second management module respectively manage the first business processing module and the second business processing module, reducing the burden on the second management module.

第三方面,本公开提供了一种管理方法,管理方法应用于第二方面的网络设备中,管理方法包括:第二管理模块获取第一指示消息,第一指示消息用于指示第二管理模块接管第一业务处理模块,第一指示消息是由第一子板从第一底板拔出触发的。第二管理模块接管第一业务处理模块。In a third aspect, the present disclosure provides a management method, which is applied to the network device of the second aspect, and includes: a second management module obtains a first indication message, the first indication message is used to indicate that the second management module takes over the first service processing module, and the first indication message is triggered by the first sub-board being pulled out from the first baseboard. The second management module takes over the first service processing module.

本公开提供的技术方案,通过设置第一子板从第一底板拔出时触发第一指示消息,并设置第二管理模块获取第一指示消息之后,接管第一业务处理模块,避免了第一子板从第一底板拔出后,出现第一业务处理模块长时间处于未受管理状态的情况,保证了网络设备工作的可靠性。The technical solution provided by the present invention, by setting a first indication message to be triggered when the first sub-board is unplugged from the first base board, and setting a second management module to take over the first business processing module after obtaining the first indication message, avoids the situation where the first business processing module is in an unmanaged state for a long time after the first sub-board is unplugged from the first base board, thereby ensuring the reliability of the operation of the network equipment.

在一种可能的实现方式中,第二管理模块获取第一指示消息,包括:第二管理模块检测到第一子板从第一底板拔出。也即,该第一指示消息是第二管理模块检测到的。In a possible implementation, the second management module acquires the first indication message, including: the second management module detects that the first sub-board is pulled out from the first baseboard. That is, the first indication message is detected by the second management module.

在一种可能的实现方式中,第二管理模块获取第一指示消息,包括:第一检测模块检测到第一子板从第一底板拔出。第一检测模块通过第一检测模块和第二管理模块之间的连线,向第二管理模块发送第一指示消息。第二管理模块接收第一指示消息。In a possible implementation, the second management module obtains the first indication message, including: the first detection module detects that the first sub-board is pulled out from the first baseboard. The first detection module sends the first indication message to the second management module through the connection between the first detection module and the second management module. The second management module receives the first indication message.

在一种可能的实现方式中,第二管理模块获取第一指示消息,包括:第一检测模块检测到第一子板从第一底板拔出,第一检测模块向第二检测模块发送第一指示消息。第二检测模块向第二管理模块发送第一指示消息。第二管理模块接收第一指示消息。In a possible implementation, the second management module obtains the first indication message, including: the first detection module detects that the first sub-board is pulled out from the first baseboard, the first detection module sends the first indication message to the second detection module, the second detection module sends the first indication message to the second management module, and the second management module receives the first indication message.

在一种可能的实现方式中,在第一子板从第一底板拔出之前,管理方法还包括:第一管理模块获取提示消息,提示消息用于提示第一子板将要从第一底板拔出。第一管理模块将第一管理模块设置为备用。In a possible implementation, before the first daughter board is pulled out from the first baseboard, the management method further includes: the first management module obtains a prompt message, the prompt message is used to prompt that the first daughter board will be pulled out from the first baseboard. The first management module sets the first management module as a standby.

其中,提示消息可以是由用户操作操作件触发的,操作件可以为第一子板上的按钮。The prompt message may be triggered by a user operating an operating element, and the operating element may be a button on the first sub-board.

本公开提供的技术方案,在第一子板从第一底板拔出之前,用户触发提示消息,第一管理模块获取提示消息之后,将第一管理模块设置为备用,相应的,第二管理模块设置为主用。也即,在第一子板从第一底板拔出之前,即进行了主备倒换的操作。这样,第一,主备倒换的操作不需要在拔出第一子板之后再进行,使得拔出第一子板之后,网络设备所需进行的操作减少,第二管理模块能够更快的接管第一业务处理模块。第二,在第一子板拔出之前,由于第一单板和第二单板之间的通信正常,所以能够更加可靠的执行主备倒换。第三,由于数据库一般保存在主用的管理模块,所以,提前进行主备倒换,能够保证数据库完整的复制到备用的管理模块(该备用的管理模块后续切换为主用),避免了数据库中的数据丢失。 The technical solution provided by the present disclosure is that before the first sub-board is pulled out from the first baseboard, the user triggers a prompt message, and after the first management module obtains the prompt message, the first management module is set as a standby, and correspondingly, the second management module is set as the main one. That is, before the first sub-board is pulled out from the first baseboard, the main-standby switching operation is performed. In this way, first, the main-standby switching operation does not need to be performed after the first sub-board is pulled out, so that after the first sub-board is pulled out, the operations required to be performed by the network device are reduced, and the second management module can take over the first business processing module more quickly. Second, before the first sub-board is pulled out, since the communication between the first single board and the second single board is normal, the main-standby switching can be performed more reliably. Third, since the database is generally stored in the main management module, performing the main-standby switching in advance can ensure that the database is completely copied to the standby management module (the standby management module is subsequently switched to the main one), thereby avoiding data loss in the database.

在一种可能的实现方式中,在第一子板插入第一底板之后,管理方法还包括:第一管理模块向第二管理模块发送第三指示消息,第三指示消息用于指示第二管理模块停止管理第一业务处理模块。第二管理模块接收第三指示消息,停止管理第一业务处理模块。第一管理模块接管第一业务处理模块。In a possible implementation, after the first sub-board is inserted into the first baseboard, the management method further includes: the first management module sends a third indication message to the second management module, the third indication message is used to instruct the second management module to stop managing the first service processing module. The second management module receives the third indication message and stops managing the first service processing module. The first management module takes over the first service processing module.

本公开提供的技术方案,在第一子板插入第一底板之后,第一管理模块通知第二管理模块停止管理第一业务处理模块,且第一管理模块重新接管第一业务处理模块,减小了第二管理模块的负担。According to the technical solution provided by the present disclosure, after the first sub-board is inserted into the first baseboard, the first management module notifies the second management module to stop managing the first business processing module, and the first management module takes over the first business processing module again, thereby reducing the burden on the second management module.

第四方面,本公开提供了一种管理方法,管理方法应用于第二方面的网络设备中,管理方法包括:第一管理模块获取提示消息,提示消息用于提示第一子板将要从第一底板拔出。第一管理模块停止管理第一业务处理模块。第一管理模块向第二管理模块发送第二指示消息,第二指示消息用于指示第二管理模块接管第一业务处理模块。第二管理模块接收第二指示消息,接管第一业务处理模块。In a fourth aspect, the present disclosure provides a management method, which is applied to the network device of the second aspect, and the management method includes: a first management module obtains a prompt message, and the prompt message is used to prompt that the first sub-board is about to be unplugged from the first baseboard. The first management module stops managing the first business processing module. The first management module sends a second indication message to the second management module, and the second indication message is used to instruct the second management module to take over the first business processing module. The second management module receives the second indication message and takes over the first business processing module.

其中,提示消息可以是由用户操作操作件触发的,操作件可以为第一子板上的按钮。The prompt message may be triggered by a user operating an operating element, and the operating element may be a button on the first sub-board.

本公开提供的技术方案,在第一子板从第一底板拔出之前,用户触发提示消息,第一管理模块获取提示消息之后,进行管理倒换,而不必等第一子板拔出之后,再进行管理倒换。这样,后续第一子板从第一底板拔出时,不会出现瞬时第一业务处理模块处于未受管理状态的情况,保证了网络设备工作的可靠性。The technical solution provided by the present disclosure is that before the first daughter board is pulled out from the first base board, the user triggers a prompt message, and after the first management module obtains the prompt message, the management switch is performed, without having to wait until the first daughter board is pulled out before performing the management switch. In this way, when the first daughter board is subsequently pulled out from the first base board, the first service processing module will not be in an unmanaged state instantaneously, thereby ensuring the reliability of the network device.

在一种可能的实现方式中,第一管理模块向第二管理模块发送第二指示消息,包括:第一管理模块向第一检测模块发送第二指示消息。第一检测模块向第二检测模块发送第二指示消息。第二检测模块向第二管理模块发送第二指示消息。In a possible implementation, the first management module sends the second indication message to the second management module, including: the first management module sends the second indication message to the first detection module. The first detection module sends the second indication message to the second detection module. The second detection module sends the second indication message to the second management module.

在一种可能的实现方式中,第一管理模块向第二管理模块发送第二指示消息,包括:第一管理模块向第一检测模块发送第二指示消息。第一检测模块通过第一检测模块和第二管理模块之间的连线,向第二管理模块发送第二指示消息。In a possible implementation, the first management module sends the second indication message to the second management module, including: the first management module sends the second indication message to the first detection module. The first detection module sends the second indication message to the second management module through a connection between the first detection module and the second management module.

在一种可能的实现方式中,第一管理模块向第二管理模块发送第二指示消息,包括:第一管理模块通过第一管理模块和第二管理模块之间的连线,向第二管理模块发送第二指示消息。In a possible implementation, the first management module sends the second indication message to the second management module, including: the first management module sends the second indication message to the second management module through a connection between the first management module and the second management module.

在一种可能的实现方式中,网络设备采用负载分担模式,则第二管理模块接管第一业务处理模块之后,管理方法还包括:当在目标时长内第一子板未从第一底板拔出时,第二管理模块停止管理第一业务处理模块,第一管理模块接管第一业务处理模块。In one possible implementation, the network device adopts a load sharing mode. After the second management module takes over the first business processing module, the management method also includes: when the first sub-board is not unplugged from the first baseboard within the target time length, the second management module stops managing the first business processing module, and the first management module takes over the first business processing module.

本公开提供的技术方案,由于用户触发提示消息之后,后续可能并未将第一子板从第一底板拔出,则对于这种情况,第二管理模块停止管理第一业务处理模块,且第一管理模块重新接管第一业务处理模块,以减小第二管理模块的负担。The technical solution provided by the present disclosure is that since the user may not unplug the first sub-board from the first baseboard after triggering the prompt message, in this case, the second management module stops managing the first business processing module, and the first management module takes over the first business processing module again to reduce the burden on the second management module.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本公开实施例提供的一种相关技术中的交换设备的示意图;FIG1 is a schematic diagram of a switching device in a related technology provided by an embodiment of the present disclosure;

图2是本公开实施例提供的一种相关技术中的主控交换板的示意图;FIG2 is a schematic diagram of a main control switch board in a related technology provided by an embodiment of the present disclosure;

图3是本公开实施例提供的一种相关技术中的交换设备的逻辑框图;FIG3 is a logic block diagram of a switching device in a related technology provided by an embodiment of the present disclosure;

图4是本公开实施例提供的一种交换设备的示意图;FIG4 is a schematic diagram of a switching device provided by an embodiment of the present disclosure;

图5是本公开实施例提供的一种主控交换板的示意图;FIG5 is a schematic diagram of a main control switch board provided in an embodiment of the present disclosure;

图6是本公开实施例提供的一种主控交换板的示意图;FIG6 is a schematic diagram of a main control switch board provided in an embodiment of the present disclosure;

图7是本公开实施例提供的一种主控交换板的逻辑框图;FIG7 is a logic block diagram of a main control switch board provided in an embodiment of the present disclosure;

图8是本公开实施例提供的一种主控交换板的逻辑框图;FIG8 is a logic block diagram of a main control switch board provided in an embodiment of the present disclosure;

图9是本公开实施例提供的一种交换设备的逻辑框图;FIG9 is a logic block diagram of a switching device provided in an embodiment of the present disclosure;

图10是本公开实施例提供的一种管理方法的流程图;FIG10 is a flow chart of a management method provided by an embodiment of the present disclosure;

图11是本公开实施例提供的一种管理方法的流程图;FIG11 is a flow chart of a management method provided by an embodiment of the present disclosure;

图12是本公开实施例提供的一种交换设备的逻辑框图;FIG12 is a logic block diagram of a switching device provided in an embodiment of the present disclosure;

图13是本公开实施例提供的一种管理方法的流程图;FIG13 is a flow chart of a management method provided by an embodiment of the present disclosure;

图14是本公开实施例提供的一种交换设备的逻辑框图;FIG14 is a logic block diagram of a switching device provided in an embodiment of the present disclosure;

图15是本公开实施例提供的一种管理方法的流程图;FIG15 is a flow chart of a management method provided by an embodiment of the present disclosure;

图16是本公开实施例提供的一种管理方法的流程图;FIG16 is a flow chart of a management method provided by an embodiment of the present disclosure;

图17是本公开实施例提供的一种交换设备的示意图; FIG17 is a schematic diagram of a switching device provided in an embodiment of the present disclosure;

图18是本公开实施例提供的一种交换设备的逻辑框图;FIG18 is a logic block diagram of a switching device provided in an embodiment of the present disclosure;

图19是本公开实施例提供的一种管理方法的流程图;FIG19 is a flow chart of a management method provided by an embodiment of the present disclosure;

图20是本公开实施例提供的另一种管理方法的流程图。FIG. 20 is a flowchart of another management method provided by an embodiment of the present disclosure.

图例说明
100、主控交换板,110、第一主控交换板,120、第二主控交换板,200、业务板,210、业务模块,
300、背板,400、主控板,500、交换板;
1、底板,10、面板,101、开口,11、交换模块,12、检测模块,13、第一连接器,14、滑轨,15、
背板连接器,16、电源接口,17、电源模块,18、时钟模块;
2、子板,20、子板面板,21、管理模块,211、处理器,212、存储器,2121、只读存储器,2122、
随机存取存储器,22、操作件,23、第二连接器,24、把手;
111、第一底板,1111、第一交换模块,1112、第一检测模块,112、第一子板,1121、第一管理模块;
121、第二底板,1211、第二交换模块,1212、第二检测模块,122、第二子板,1221、第二管理模
块。
Legend
100, main control switch board, 110, first main control switch board, 120, second main control switch board, 200, service board, 210, service module,
300, backplane, 400, main control board, 500, switch board;
1. Bottom plate, 10. Panel, 101. Opening, 11. Switching module, 12. Detection module, 13. First connector, 14. Slide rail, 15.
Backplane connector, 16, power interface, 17, power module, 18, clock module;
2. daughter board, 20. daughter board panel, 21. management module, 211. processor, 212. memory, 2121. read-only memory, 2122.
Random access memory, 22, operating member, 23, second connector, 24, handle;
111, a first baseboard, 1111, a first switching module, 1112, a first detection module, 112, a first sub-board, 1121, a first management module;
121. A second baseboard, 1211. A second switching module, 1212. A second detection module, 122. A second sub-board, 1221. A second management module.

具体实施方式DETAILED DESCRIPTION

交换设备,例如,光线路终端(optical line termination,OLT)设备,承担着路由学习和数据报文转发等重要的工作。交换设备具有控制平面和转发平面。Switching equipment, such as optical line termination (OLT), undertakes important tasks such as routing learning and data packet forwarding. Switching equipment has a control plane and a forwarding plane.

其中,控制平面是指交换设备中用来传送指令和计算表项的部分,例如,路由协议学习、协议报文转发、协议表项计算和路由表项维护等都属于控制平面的范畴。转发平面是指交换设备中用来进行数据报文的封装和转发的部分,例如,数据报文的接收、解封装、封装、查路由表和转发等都属于转发平面的范畴。The control plane refers to the part of the switching device used to transmit instructions and calculate table items. For example, routing protocol learning, protocol message forwarding, protocol table item calculation, and routing table item maintenance all fall into the category of the control plane. The forwarding plane refers to the part of the switching device used to encapsulate and forward data messages. For example, the reception, decapsulation, encapsulation, routing table lookup, and forwarding of data messages all fall into the category of the forwarding plane.

为了保证交换设备工作的稳定性,在设计时,一般使得控制平面和转发平面相对独立,互不影响。这样,当交换设备的控制平面暂时出现故障时,转发平面还可以继续工作,从而,能够保证网络中原有的业务不受系统故障的影响,提高整个网络的可靠性。In order to ensure the stability of the switching equipment, the control plane and the forwarding plane are generally designed to be relatively independent and not affect each other. In this way, when the control plane of the switching equipment temporarily fails, the forwarding plane can continue to work, thereby ensuring that the original services in the network are not affected by system failures and improving the reliability of the entire network.

控制平面与转发平面可以是物理分离,也可以是逻辑分离。受限于成本,一些交换设备,例如,OLT设备等,采用的是逻辑分离的技术方案。也即,交换设备启动后,交换设备将中央处理器(central processing unit,CPU)资源和内存资源划分给不同的进程,有的进程负责学习路由,有的进程负责报文转发。The control plane and forwarding plane can be physically separated or logically separated. Due to cost constraints, some switching devices, such as OLT devices, use a logical separation technology solution. That is, after the switching device is started, the switching device divides the central processing unit (CPU) resources and memory resources to different processes, some of which are responsible for learning routes and some for message forwarding.

举例来说,如图1所示,提供了一种交换设备的示意图,该交换设备具有两个主控交换板100和多个业务板200,两个主控交换板100互为主备。另外,在交换设备内部还具有背板300,主控交换板100和业务板200通过背板300实现电连接。For example, as shown in Fig. 1, a schematic diagram of a switching device is provided, the switching device has two main control switching boards 100 and multiple service boards 200, and the two main control switching boards 100 are mutually active and standby. In addition, a backplane 300 is also provided inside the switching device, and the main control switching boards 100 and the service boards 200 are electrically connected through the backplane 300.

如图2所示,该主控交换板100具有管理模块21和交换模块11,管理模块21用于管理交换模块11,交换模块11用于实现不同业务板200之间的数据交换。管理模块21和交换模块11可以集成在同一硬件中。另外,该主控交换板100还包括背板连接器15、电源接口16、电源模块17和时钟模块18等基础的配置。As shown in FIG2 , the main control switch board 100 has a management module 21 and a switch module 11. The management module 21 is used to manage the switch module 11, and the switch module 11 is used to implement data exchange between different service boards 200. The management module 21 and the switch module 11 can be integrated in the same hardware. In addition, the main control switch board 100 also includes basic configurations such as a backplane connector 15, a power interface 16, a power module 17, and a clock module 18.

如图2所示,由于控制平面和转发平面集成在一个主控交换板100上,没有做物理分离,所以,当管理模块21出现故障或者需要升级时,需要将主控交换板100拔出。然而,这会使得该主控交换板100的交换模块11也不能工作(已被拔出),导致交换设备的交换容量下降一半。As shown in FIG2 , since the control plane and the forwarding plane are integrated on a main control switch board 100 without physical separation, when the management module 21 fails or needs to be upgraded, the main control switch board 100 needs to be unplugged. However, this will make the switching module 11 of the main control switch board 100 unable to work (has been unplugged), resulting in a reduction of half of the switching capacity of the switching device.

相关技术中,为了实现控制平面与转发平面的物理分离,如图3所示,将管理模块21和交换模块11分别做成独立的单板,即分别做成主控板400和交换板500。这样,当管理模块21出现故障或需要升级时,仅需要将主控板400拔出,交换板500仍然留存在交换设备中,并实现不同业务板200之间的数据交换,从而,不会影响交换设备的交换容量。In the related art, in order to achieve physical separation of the control plane and the forwarding plane, as shown in FIG3 , the management module 21 and the switching module 11 are respectively made into independent boards, that is, they are respectively made into a main control board 400 and a switching board 500. In this way, when the management module 21 fails or needs to be upgraded, only the main control board 400 needs to be pulled out, and the switching board 500 still remains in the switching device and realizes data exchange between different service boards 200, thereby not affecting the switching capacity of the switching device.

然而,由于主控板400和交换板500均需要占据槽位,再加上主控板400和交换板500需要双备份,所以,两个主控板400和两个交换板500需要占据四个槽位,这会使得交换设备所能插入的业务板200的数量减少。However, since both the main control board 400 and the switch board 500 need to occupy slots, and the main control board 400 and the switch board 500 require dual backup, two main control boards 400 and two switch boards 500 need to occupy four slots, which will reduce the number of business boards 200 that can be inserted into the switching device.

鉴于上述技术问题,本公开实施例提供了一种主控交换板100,该主控交换板100能够实现控制平面和转发平面的物理分离,且不会导致交换设备的业务板200的数量减少。 In view of the above technical problems, an embodiment of the present disclosure provides a main control switch board 100, which can achieve physical separation of the control plane and the forwarding plane without reducing the number of service boards 200 of the switching device.

下面,对本公开实施例提供的主控交换板100进行示例性说明:The following is an exemplary description of the main control switch board 100 provided in the embodiment of the present disclosure:

如图4-图7所示,主控交换板100包括底板1和子板2(subboard),子板2与底板1可插拔连接。底板1具有交换模块11,交换模块11用于实现不同业务板200之间的数据交换。子板2具有管理模块21,管理模块21用于管理交换模块11。As shown in Fig. 4 to Fig. 7, the main control switch board 100 includes a baseboard 1 and a subboard 2, and the subboard 2 is pluggable and connected to the baseboard 1. The baseboard 1 has a switch module 11, and the switch module 11 is used to realize data exchange between different service boards 200. The subboard 2 has a management module 21, and the management module 21 is used to manage the switch module 11.

其中,底板1占据交换设备的一个槽位,底板1具有交换模块11,交换模块11用于实现转发平面所需的操作。另外,底板1还具有电源接口16、电源模块17和时钟模块18等基础配置模块。并且,当交换设备还具有背板300时,底板1还具有背板连接器15。The bottom plate 1 occupies a slot of the switching device, and has a switching module 11, which is used to implement the operations required by the forwarding plane. In addition, the bottom plate 1 also has basic configuration modules such as a power interface 16, a power module 17, and a clock module 18. Moreover, when the switching device also has a backplane 300, the bottom plate 1 also has a backplane connector 15.

子板2能够在底板1上插拔,子板2不单独占据交换设备的一个槽位。子板2具有管理模块21,管理模块21用于实现控制平面所需的操作,管理模块21还可以称为控制模块。The daughterboard 2 can be plugged in and out of the baseboard 1, and the daughterboard 2 does not occupy a slot of the switching device alone. The daughterboard 2 has a management module 21, which is used to implement operations required by the control plane. The management module 21 can also be called a control module.

在一些示例中,如图7所示,管理模块21包括处理器211和存储器212。处理器211可以为CPU,存储器212包括只读存储器(read-only memory,ROM)2121和随机存取存储器(random access memory,RAM)2122。只读存储器2121可以为闪存(flash memory),随机存取存储器2122可以为双倍速率同步动态随机存储(double data rate synchronous dynamic random access memory,DDR SDRAM)。In some examples, as shown in FIG7 , the management module 21 includes a processor 211 and a memory 212. The processor 211 may be a CPU, and the memory 212 includes a read-only memory (ROM) 2121 and a random access memory (RAM) 2122. The read-only memory 2121 may be a flash memory, and the random access memory 2122 may be a double data rate synchronous dynamic random access memory (DDR SDRAM).

另外,管理模块21除了用于管理交换模块11之外,还可以用于管理底板1上的其它模块,也即,管理模块21用于管理底板1。并且,管理模块21还用于管理业务板200。In addition, the management module 21 can be used to manage other modules on the baseboard 1 in addition to managing the switch module 11 , that is, the management module 21 is used to manage the baseboard 1 . Furthermore, the management module 21 is also used to manage the service board 200 .

本公开实施例提供的技术方案,通过将交换模块11设置在底板1上,将管理模块21设置在子板2上,并设置子板2与底板1可插拔连接,使得当管理模块21出现故障或需要升级时,用户可以仅将子板2拔出,而底板1仍留存在交换设备中。这样,底板1上的交换模块11仍然能够实现不同业务板200之间的数据交换,保证了交换设备的交换容量不变。The technical solution provided by the embodiment of the present disclosure is to set the switching module 11 on the baseboard 1, set the management module 21 on the sub-board 2, and set the sub-board 2 and the baseboard 1 to be pluggable, so that when the management module 21 fails or needs to be upgraded, the user can only unplug the sub-board 2, while the baseboard 1 remains in the switching device. In this way, the switching module 11 on the baseboard 1 can still realize data exchange between different service boards 200, ensuring that the switching capacity of the switching device remains unchanged.

另外,由于子板2不会单独占据槽位,所以,互为主备的两个主控交换板100仍然仅需占据交换设备两个槽位,不会使得交换设备的业务板200的数量减少。In addition, since the sub-board 2 does not occupy a slot alone, the two main control switch boards 100 that serve as the master and backup for each other still only need to occupy two slots of the switch device, and the number of service boards 200 of the switch device will not be reduced.

下面,对子板2和底板1可插拔连接的实现方式进行示例性说明:The following is an exemplary description of the implementation method of the pluggable connection between the sub-board 2 and the baseboard 1:

在一些示例中,如图5所示,底板1的面板10具有开口101,子板2用于通过开口101插入底板1,或,从底板1拔出。In some examples, as shown in FIG. 5 , the panel 10 of the base plate 1 has an opening 101 , and the sub-board 2 is used to be inserted into the base plate 1 through the opening 101 , or to be pulled out from the base plate 1 .

在一些示例中,如图5和图6所示,底板1具有第一连接器13,第一连接器13与交换模块11电连接。子板2具有第二连接器23,第二连接器23与管理模块21电连接。In some examples, as shown in FIG5 and FIG6 , the baseboard 1 has a first connector 13 , and the first connector 13 is electrically connected to the switch module 11 . The daughterboard 2 has a second connector 23 , and the second connector 23 is electrically connected to the management module 21 .

当子板2插入底板1时,第一连接器13与第二连接器23电连接。从而,实现了管理模块21与交换模块11的电连接,使得管理模块21能够管理交换模块11。When the daughter board 2 is inserted into the base board 1, the first connector 13 is electrically connected to the second connector 23. Thus, the management module 21 is electrically connected to the switch module 11, so that the management module 21 can manage the switch module 11.

其中,第一连接器13和第二连接器23可以为金手指连接器,也可以为板对板连接器(board-to-board connectors)等。Among them, the first connector 13 and the second connector 23 can be gold finger connectors, or board-to-board connectors, etc.

在一些示例中,如图5和图6所示,底板1具有滑轨14,子板2与滑轨14滑动连接,从而,便于子板2的插拔。In some examples, as shown in FIG. 5 and FIG. 6 , the base plate 1 has a slide rail 14 , and the sub-board 2 is slidably connected to the slide rail 14 , thereby facilitating the insertion and removal of the sub-board 2 .

在一些示例中,如图5和图6所示,子板2的子板面板20具有把手24,把手24用于供用户握持,以方便用户将子板2插入或拔出。In some examples, as shown in FIG. 5 and FIG. 6 , the daughterboard panel 20 of the daughterboard 2 has a handle 24 , and the handle 24 is used for a user to hold, so as to facilitate the user to insert or remove the daughterboard 2 .

在一些示例中,如图5和图6所示,子板2具有操作件22,操作件22用于在子板2从底板1拔出之前供用户操作。并且,当操作件22被操作时,触发管理模块21接收到提示消息,该提示消息用于提示子板2将要拔出。In some examples, as shown in Figures 5 and 6, the sub-board 2 has an operating member 22, and the operating member 22 is used for the user to operate before the sub-board 2 is pulled out from the base plate 1. And when the operating member 22 is operated, the trigger management module 21 receives a prompt message, which is used to prompt that the sub-board 2 is about to be pulled out.

其中,操作件22与管理模块21电连接。如图5和图6所示,操作件22可以为按钮,则用户通过按压操作件22触发提示消息。The operating element 22 is electrically connected to the management module 21. As shown in Figures 5 and 6, the operating element 22 may be a button, and the user triggers the prompt message by pressing the operating element 22.

管理模块21获取到提示消息之后,可以进行拔子板2的准备操作,有关管理模块21接收到提示消息之后的具体操作,将在下文进行说明。After the management module 21 obtains the prompt message, it can perform the preparation operation of the sub-board 2. The specific operation of the management module 21 after receiving the prompt message will be described below.

在一些示例中,如图8所示,底板1还具有检测模块12,检测模块12用于检测子板2是否拔出。In some examples, as shown in FIG. 8 , the baseboard 1 further includes a detection module 12 , and the detection module 12 is used to detect whether the sub-board 2 is pulled out.

在一些示例中,检测模块12与第一连接器13电连接,则第一连接器13和第二连接器23之间具有子板在位指示,当子板2从底板1拔出时,第一连接器13和第二连接器23断开连接,则检测模块12能够检测到子板2不在位,并能够立即通知另一主控交换板100。In some examples, the detection module 12 is electrically connected to the first connector 13, and there is a daughter board presence indication between the first connector 13 and the second connector 23. When the daughter board 2 is pulled out from the base plate 1, the first connector 13 and the second connector 23 are disconnected, and the detection module 12 can detect that the daughter board 2 is not in place and can immediately notify another main control switch board 100.

另外,管理模块21还用于对检测模块12进行管理。In addition, the management module 21 is also used to manage the detection module 12 .

在一些示例中,检测模块12与另一主控交换板100的检测模块12之间具有连线,该连线所传输的消息可以为主控交换板100是主用还是备用、主控交换板100的子板2是否在位和主控交换板100的管理模 块21是否正常运行等。In some examples, the detection module 12 is connected to the detection module 12 of another main control switch board 100, and the message transmitted by the connection can be whether the main control switch board 100 is active or standby, whether the sub-board 2 of the main control switch board 100 is in place, and the management module of the main control switch board 100. Whether block 21 is running normally, etc.

在一些示例中,检测模块12为现场可编程门阵列(field-programmable gate array,FPGA)。这样,相比于由另一主控交换板100的CPU检测本主控交换板100的子板2是否拔出,检测模块12能够更加快速的检测到子板2拔出,并及时通知另一主控交换板100。In some examples, the detection module 12 is a field-programmable gate array (FPGA). Thus, compared with the CPU of another main control switch board 100 detecting whether the sub-board 2 of the main control switch board 100 is unplugged, the detection module 12 can detect the unplugging of the sub-board 2 more quickly and notify the other main control switch board 100 in time.

其中,FPGA相较于CPU更快,本质上是由FPGA无指令,无共享内存的体系结构所决定的。CPU属于冯氏结构,而在冯氏结构中,由于执行单元可能执行任意指令,就需要有指令存储器、译码器、各种指令的运算器、分支跳转处理逻辑。而FPGA的每个逻辑单元的功能在编程时就已经确定,不需要指令,且各个逻辑单元的功能可以并行处理。因此FPGA检测子板2是否拔出的速度更快。Among them, FPGA is faster than CPU, which is essentially determined by the architecture of FPGA without instructions and shared memory. CPU belongs to Feng structure, and in Feng structure, since the execution unit can execute any instruction, it needs instruction memory, decoder, arithmetic unit of various instructions, and branch jump processing logic. The function of each logic unit of FPGA is determined during programming, no instructions are required, and the functions of each logic unit can be processed in parallel. Therefore, FPGA detects whether sub-board 2 is pulled out faster.

在另一些示例中,检测模块12也可以为其它具有通信能力的芯片,本公开实施例对检测模块12的具体类型不作限定。In other examples, the detection module 12 may also be other chips with communication capabilities, and the embodiments of the present disclosure do not limit the specific type of the detection module 12.

子板2从底板1拔出之后,子板2上的管理模块21无法再管理交换模块11,而交换模块11长时间处于未受管理状态,会影响交换设备工作的可靠性。After the daughter board 2 is pulled out from the base board 1 , the management module 21 on the daughter board 2 can no longer manage the switch module 11 , and the switch module 11 is in an unmanaged state for a long time, which affects the reliability of the switch device.

由于交换设备中一般具有两个主控交换板100,所以,当一个主控交换板100中的子板2拔出时,可以由另一个主控交换板100接管子板2拔出的主控交换板100的交换模块11。从而,避免交换模块11长时间处于未受管理状态的情况出现,保证交换设备工作的可靠性。Since the switching device generally has two main control switching boards 100, when the daughter board 2 in one main control switching board 100 is unplugged, the other main control switching board 100 can take over the switching module 11 of the main control switching board 100 that has been unplugged. Thus, the switching module 11 is prevented from being in an unmanaged state for a long time, and the reliability of the switching device is ensured.

下面,如图9所示,以两个主控交换板100分别为第一主控交换板110和第二主控交换板120为例,对各种状态下,两个主控交换板100的交换模块11的管理主体进行说明:9, taking two main control switch boards 100 as an example, the management subjects of the switch modules 11 of the two main control switch boards 100 in various states are described as follows:

先对第一主控交换板110和第二主控交换板120的连接关系进行说明:First, the connection relationship between the first main control switch board 110 and the second main control switch board 120 is described:

如图9所示,为了便于描述,将第一主控交换板110的底板1、子板2、交换模块11和管理模块21分别称为第一底板111、第一子板112、第一交换模块1111和第一管理模块1121。第二主控交换板120的底板1、子板2、交换模块11和管理模块21分别称为第二底板121、第二子板122、第二交换模块1211和第二管理模块1221。As shown in FIG9 , for the convenience of description, the baseboard 1, the subboard 2, the switching module 11, and the management module 21 of the first main control switching board 110 are respectively referred to as the first baseboard 111, the first subboard 112, the first switching module 1111, and the first management module 1121. The baseboard 1, the subboard 2, the switching module 11, and the management module 21 of the second main control switching board 120 are respectively referred to as the second baseboard 121, the second subboard 122, the second switching module 1211, and the second management module 1221.

在一些示例中,如图9所示,第一主控交换板110和第二主控交换板120之间通过背板300通信。In some examples, as shown in FIG. 9 , the first main control switch board 110 and the second main control switch board 120 communicate with each other through the backplane 300 .

在一些示例中,第一管理模块1121能够通过第一管理接口管理第一交换模块1111,且能够通过背板连线和第一管理接口管理第二交换模块1211。相应的,第二管理模块1221能够通过第一管理接口管理第二交换模块1211,并能够通过背板连线和第一管理接口管理第一交换模块1111。In some examples, the first management module 1121 can manage the first switching module 1111 through the first management interface, and can manage the second switching module 1211 through the backplane connection and the first management interface. Correspondingly, the second management module 1221 can manage the second switching module 1211 through the first management interface, and can manage the first switching module 1111 through the backplane connection and the first management interface.

其中,上述第一管理接口为快速外围组件互连(peripheral component interconnect express,PCIe)管理接口、串行管理接口或并行管理接口。Among them, the above-mentioned first management interface is a peripheral component interconnect express (PCIe) management interface, a serial management interface or a parallel management interface.

在一些示例中,第一交换模块1111和第二交换模块1211的第一管理接口集成有二选一开关。第一交换模块1111和第二交换模块1211通过操作二选一开关,能够选择由第一管理模块1121或第二管理模块1221来管理。In some examples, the first management interfaces of the first switching module 1111 and the second switching module 1211 are integrated with a two-or-one switch. The first switching module 1111 and the second switching module 1211 can be managed by the first management module 1121 or the second management module 1221 by operating the two-or-one switch.

在另一些示例中,二选一开关也可以独立于第一交换模块1111和第二交换模块1211。对于这种情况,可以由检测模块12对二选一开关进行操作。In some other examples, the two-or-one switch may also be independent of the first switching module 1111 and the second switching module 1211. In this case, the detection module 12 may operate the two-or-one switch.

在一些示例中,如图9所示,第一管理模块1121和第二管理模块1221之间具有连线,从而,第一管理模块1121和第二管理模块1221之间可以直接通信。In some examples, as shown in FIG. 9 , a line is provided between the first management module 1121 and the second management module 1221 , so that the first management module 1121 and the second management module 1221 can communicate directly with each other.

另外,对于主控交换板100还包括检测模块12的情况,为了便于描述,如图9所示,将第一主控交换板110的检测模块12称为第一检测模块1112,将第二主控交换板120的检测模块12称为第二检测模块1212。In addition, for the case where the main control switching board 100 also includes a detection module 12, for the sake of convenience of description, as shown in Figure 9, the detection module 12 of the first main control switching board 110 is called the first detection module 1112, and the detection module 12 of the second main control switching board 120 is called the second detection module 1212.

在一些示例中,第一管理模块1121能够通过第二管理接口管理第一检测模块1112,并能够通过背板连线和第二管理接口管理第二检测模块1212。相应的,第二管理模块1221能够通过第二管理接口管理第二检测模块1212,并能够通过背板连线和第二管理接口管理第一检测模块1112。In some examples, the first management module 1121 can manage the first detection module 1112 through the second management interface, and can manage the second detection module 1212 through the backplane connection and the second management interface. Correspondingly, the second management module 1221 can manage the second detection module 1212 through the second management interface, and can manage the first detection module 1112 through the backplane connection and the second management interface.

其中,上述第二管理接口为串行外设接口(serial peripheral interface,SPI)管理接口、串行管理接口或并行管理接口。Among them, the above-mentioned second management interface is a serial peripheral interface (SPI) management interface, a serial management interface or a parallel management interface.

在一些示例中,第二管理接口集成有二选一开关,第一检测模块1112和第二检测模块1212通过操作二选一开关,能够选择由第一管理模块1121或第二管理模块1221来管理。In some examples, the second management interface is integrated with a two-or-one switch, and the first detection module 1112 and the second detection module 1212 can choose to be managed by the first management module 1121 or the second management module 1221 by operating the two-or-one switch.

在一些示例中,如图9所示,第一检测模块1112和第二检测模块1212之间具有连线。其中,该连线可以通过背板300实现,该连线所传输的消息可以为主控交换板100是主用还是备用、主控交换板100的子板2是否在位和主控交换板100的管理模块21是否正常运行等。 In some examples, as shown in FIG9 , there is a connection between the first detection module 1112 and the second detection module 1212. The connection can be implemented through the backplane 300, and the message transmitted by the connection can be whether the main control switch board 100 is active or standby, whether the sub-board 2 of the main control switch board 100 is in place, and whether the management module 21 of the main control switch board 100 is operating normally.

下面,对各种状态下,第一交换模块1111和第二交换模块1211的管理方式进行说明:Next, the management methods of the first switching module 1111 and the second switching module 1211 in various states are described:

(1)第一子板112和第二子板122均在位(1) The first sub-board 112 and the second sub-board 122 are both in place

在一些示例中,当第一子板112和第二子板122均在位时,第一管理模块1121管理第一交换模块1111,第二管理模块1221管理第二交换模块1211。其中,该管理模式可以称为负载分担模式。In some examples, when both the first sub-board 112 and the second sub-board 122 are in place, the first management module 1121 manages the first switching module 1111, and the second management module 1221 manages the second switching module 1211. This management mode may be referred to as a load sharing mode.

在另一些示例中,当第一子板112和第二子板122均在位时,由主用的管理模块21(第一管理模块1121和第二管理模块1221中的一个),同时管理第一交换模块1111和第二交换模块1211。其中,该管理模式可以称为主备模式。In other examples, when the first sub-board 112 and the second sub-board 122 are both in place, the active management module 21 (one of the first management module 1121 and the second management module 1221) simultaneously manages the first switching module 1111 and the second switching module 1211. This management mode may be referred to as an active-standby mode.

(2)第一子板112从第一底板111拔出(2) The first sub-board 112 is pulled out from the first base board 111

在一些示例中,当第一子板112从第一底板111拔出后,第二管理模块1221获取到第一指示消息,第一指示消息用于指示第二管理模块1221接管第一交换模块1111,且第一指示消息是由第一子板112从第一底板111拔出触发的。之后,响应于第一指示消息,第二管理模块1221接管第一交换模块1111。In some examples, when the first sub-board 112 is unplugged from the first baseboard 111, the second management module 1221 obtains a first indication message, the first indication message is used to instruct the second management module 1221 to take over the first switching module 1111, and the first indication message is triggered by the first sub-board 112 being unplugged from the first baseboard 111. Afterwards, in response to the first indication message, the second management module 1221 takes over the first switching module 1111.

本公开实施例提供的技术方案,通过设置第一子板112从第一底板111拔出时触发第一指示消息,并设置第二管理模块1221获取第一指示消息之后,接管第一交换模块1111,避免了第一子板112从第一底板111拔出后,出现第一交换模块1111长时间处于未受管理状态的情况,保证了交换设备工作的可靠性。The technical solution provided by the embodiment of the present disclosure, by setting a first indication message to be triggered when the first sub-board 112 is unplugged from the first base board 111, and setting the second management module 1221 to take over the first switching module 1111 after obtaining the first indication message, avoids the situation where the first switching module 1111 is in an unmanaged state for a long time after the first sub-board 112 is unplugged from the first base board 111, and ensures the reliability of the switching equipment.

本公开实施例对第二管理模块1221获取第一指示消息的实现方式不作限定,下面,进行示例性说明:The embodiment of the present disclosure does not limit the implementation manner in which the second management module 1221 obtains the first indication message. An exemplary description is given below:

在一些示例中,如图10所示,第二管理模块1221获取第一指示消息包括如下步骤:In some examples, as shown in FIG10 , the second management module 1221 obtains the first indication message including the following steps:

在步骤1001中,第一检测模块1112检测到第一子板112从第一底板111拔出。In step 1001 , the first detection module 1112 detects that the first sub-board 112 is pulled out from the first base board 111 .

在步骤1002中,第一检测模块1112向第二检测模块1212发送第一指示消息。In step 1002 , the first detection module 1112 sends a first indication message to the second detection module 1212 .

在步骤1003中,第二检测模块1212向第二管理模块1221发送第一指示消息。In step 1003 , the second detection module 1212 sends a first indication message to the second management module 1221 .

之后,在步骤1004中,第二管理模块1221接收第一指示消息,接管第一交换模块1111。Afterwards, in step 1004 , the second management module 1221 receives the first indication message and takes over the first switching module 1111 .

本公开实施例提供的技术方案,通过由第一检测模块1112检测第一子板112是否从第一底板111拔出,提高了检测速度,使得第二管理模块1221能够更加快速的接管第一交换模块1111。The technical solution provided by the embodiment of the present disclosure improves the detection speed by having the first detection module 1112 detect whether the first sub-board 112 is pulled out from the first baseboard 111, so that the second management module 1221 can take over the first switching module 1111 more quickly.

在另一些示例中,如图11所示,第二管理模块1221获取第一指示消息包括如下步骤:In some other examples, as shown in FIG11 , the second management module 1221 obtains the first indication message including the following steps:

在步骤1101中,第一检测模块1112检测到第一子板112从第一底板111拔出。In step 1101 , the first detection module 1112 detects that the first sub-board 112 is pulled out from the first base board 111 .

在步骤1102中,第一检测模块1112向第二管理模块1221发送第一指示消息。In step 1102 , the first detection module 1112 sends a first indication message to the second management module 1221 .

之后,在步骤1103中,第二管理模块1221接收第一指示消息,第二管理模块1221接管第一交换模块1111。Afterwards, in step 1103 , the second management module 1221 receives the first indication message, and the second management module 1221 takes over the first switching module 1111 .

对于图11示出的技术方案,由于第一检测模块1112通过第一检测模块1112和第二管理模块1221之间的连线,向第二管理模块1221发送消息,所以,第一检测模块1112和第二检测模块1212之间的连线可以去除掉,去除后的交换设备的架构如图12所示。For the technical solution shown in Figure 11, since the first detection module 1112 sends a message to the second management module 1221 through the connection between the first detection module 1112 and the second management module 1221, the connection between the first detection module 1112 and the second detection module 1212 can be removed, and the architecture of the switching device after the removal is shown in Figure 12.

在另一些示例中,如图13所示,第二管理模块1221获取第一指示消息包括如下步骤:In some other examples, as shown in FIG13 , the second management module 1221 obtains the first indication message including the following steps:

在步骤1301中,第二管理模块1221检测到第一子板112从第一底板111拔出。也即,第一指示消息为第二管理模块1221检测到的。In step 1301 , the second management module 1221 detects that the first sub-board 112 is pulled out from the first baseboard 111 . That is, the first indication message is detected by the second management module 1221 .

之后,在步骤1302中,第二管理模块1221接管第一交换模块1111。Afterwards, in step 1302 , the second management module 1221 takes over the first switching module 1111 .

对于图13示出的技术方案,由于不需要第一检测模块1112和第二检测模块1212的参与,所以,第一检测模块1112和第二检测模块1212可以去除掉,去除第一检测模块1112和第二检测模块1212之后的交换设备的架构如图14所示。For the technical solution shown in FIG. 13 , since the first detection module 1112 and the second detection module 1212 are not required to participate, the first detection module 1112 and the second detection module 1212 can be removed. The architecture of the switching device after removing the first detection module 1112 and the second detection module 1212 is shown in FIG. 14 .

另外,对于第一子板112具有操作件22的情况,在第一子板112从第一底板111拔出之前,用户可以操作操作件22。则如图15所示,用户操作操作件22之后,交换设备进行如下处理:In addition, in the case where the first sub-board 112 has an operating member 22, the user can operate the operating member 22 before the first sub-board 112 is pulled out from the first base plate 111. As shown in FIG15 , after the user operates the operating member 22, the switching device performs the following processing:

在步骤1501中,第一管理模块1121获取提示消息。In step 1501, the first management module 1121 obtains a prompt message.

其中,提示消息用于提示第一子板112将要从第一底板111拔出。The prompt message is used to prompt that the first sub-board 112 is about to be pulled out from the first base board 111 .

在步骤1502中,第一管理模块1121将第一管理模块1121设置为备用。相应的,第二管理模块1221将第二管理模块1221设置为主用。In step 1502, the first management module 1121 sets the first management module 1121 as a standby, and correspondingly, the second management module 1221 sets the second management module 1221 as a master.

这样,第一,主备倒换的操作不需要在拔出第一子板112之后再进行,使得拔出第一子板112之后,交换设备所需进行的操作减少,第二管理模块1221能够更快的接管第一交换模块1111。第二,在第一子板112拔出之前,由于第一主控交换板110和第二主控交换板120之间的通信正常,所以能够更加可靠的执行主备倒换。第三,由于数据库一般保存在主用的管理模块21,所以,提前进行主备倒换,能够保证数据库完整的复制到备用的管理模块21(该备用的管理模块21后续切换为主用),避免了数据库中的数 据丢失。In this way, first, the master-slave switching operation does not need to be performed after the first sub-board 112 is unplugged, so that after the first sub-board 112 is unplugged, the operations required by the switching device are reduced, and the second management module 1221 can take over the first switching module 1111 more quickly. Second, before the first sub-board 112 is unplugged, since the communication between the first main control switching board 110 and the second main control switching board 120 is normal, the master-slave switching can be performed more reliably. Third, since the database is generally stored in the active management module 21, performing the active-slave switching in advance can ensure that the database is completely copied to the standby management module 21 (the standby management module 21 is subsequently switched to the active one), avoiding the data in the database. Data is lost.

步骤1503-步骤1506的具体处理与步骤1001-步骤1004的具体处理相同,在此不再赘述。The specific processing of step 1503 to step 1506 is the same as the specific processing of step 1001 to step 1004, and will not be repeated here.

当然,在另一些示例中,也可以是第一子板112从第一底板111拔出之后,再进行主备倒换,本公开实施例对此不作限定。Of course, in some other examples, the primary and standby switching may be performed after the first sub-board 112 is pulled out from the first baseboard 111 , and the embodiments of the present disclosure are not limited to this.

在另一些示例中,用户操作操作件22之后,如图16所示,交换设备进行如下处理:In other examples, after the user operates the operating element 22, as shown in FIG16 , the switching device performs the following processing:

在步骤1601中,第一管理模块1121获取提示消息。In step 1601, the first management module 1121 obtains a prompt message.

其中,提示消息用于提示第一子板112将要从第一底板111拔出。The prompt message is used to prompt that the first sub-board 112 is about to be pulled out from the first base board 111 .

在步骤1602中,第一管理模块1121停止管理第一交换模块1111。In step 1602 , the first management module 1121 stops managing the first switching module 1111 .

在步骤1603中,第一管理模块1121向第一检测模块1112发送第二指示消息。In step 1603 , the first management module 1121 sends a second indication message to the first detection module 1112 .

在步骤1604中,第一检测模块1112向第二检测模块1212发送第二指示消息。In step 1604 , the first detection module 1112 sends a second indication message to the second detection module 1212 .

在步骤1605中,第二检测模块1212向第二管理模块1221发送第二指示消息。In step 1605 , the second detection module 1212 sends a second indication message to the second management module 1221 .

在步骤1606中,第二管理模块1221接收第二指示消息,接管第一交换模块1111。In step 1606 , the second management module 1221 receives the second indication message and takes over the first switching module 1111 .

本公开实施例提供的技术方案,第一管理模块1121获取提示消息之后,可以直接进行管理倒换,而不必等第一子板112拔出之后,再进行管理倒换。这样,后续第一子板112从第一底板111拔出时,不会出现瞬时第一交换模块1111处于未受管理的状态的情况,保证了交换设备工作的可靠性。According to the technical solution provided by the embodiment of the present disclosure, after the first management module 1121 obtains the prompt message, it can directly perform management switching without having to wait until the first daughter board 112 is unplugged before performing management switching. In this way, when the first daughter board 112 is subsequently unplugged from the first base board 111, the first switching module 1111 will not be in an unmanaged state instantaneously, thereby ensuring the reliability of the switching device.

另外,第一管理模块1121还可以采用其它传输路径向第二管理模块1221发送第二指示消息,例如,第一管理模块1121通过第一管理模块1121和第二管理模块1221之间的连线,向第二管理模块1221发送第二指示消息。再例如,第二检测模块1212通过第二检测模块1212和第二管理模块1221之间的连线,向第二管理模块1221发送第二指示消息。In addition, the first management module 1121 may also use other transmission paths to send the second indication message to the second management module 1221. For example, the first management module 1121 sends the second indication message to the second management module 1221 through the connection between the first management module 1121 and the second management module 1221. For another example, the second detection module 1212 sends the second indication message to the second management module 1221 through the connection between the second detection module 1212 and the second management module 1221.

由于用户触发提示消息之后,后续可能并未将第一子板112从第一底板111拔出,则对于交换设备采用负载分担模式的情况,第二管理模块1221接管第一交换模块1111之后,当在目标时长内第一子板112未从第一底板111拔出时,第二管理模块1221停止管理第一交换模块1111,第一管理模块1121接管第一交换模块1111。从而,减小了第二管理模块1221的负担。Since the user may not unplug the first sub-board 112 from the first baseboard 111 after triggering the prompt message, in the case where the switching device adopts the load sharing mode, after the second management module 1221 takes over the first switching module 1111, if the first sub-board 112 is not unplugged from the first baseboard 111 within the target time length, the second management module 1221 stops managing the first switching module 1111, and the first management module 1121 takes over the first switching module 1111. Thus, the burden of the second management module 1221 is reduced.

示例性的,当第二管理模块1221在目标时长内未接收到第一检测模块1112发送的用于指示第一子板112拔出的指示消息时,第二管理模块1221停止管理第一交换模块1111,并通知第一管理模块1121接管第一交换模块1111。Exemplarily, when the second management module 1221 does not receive the indication message sent by the first detection module 1112 to instruct the first sub-board 112 to be unplugged within the target time length, the second management module 1221 stops managing the first switching module 1111 and notifies the first management module 1121 to take over the first switching module 1111.

需要说明的是,对于交换设备采用主备模式的情况,即使在目标时长内第一子板112未从第一底板111拔出,则可以仍然由第二管理模块1221同时管理第一交换模块1111和第二交换模块1211,而不必再倒换回由第一管理模块1121管理。It should be noted that when the switching device adopts the master-slave mode, even if the first sub-board 112 is not unplugged from the first baseboard 111 within the target time, the first switching module 1111 and the second switching module 1211 can still be managed simultaneously by the second management module 1221 without having to switch back to management by the first management module 1121.

另外,相应的,当第二子板122从第二底板121拔出时,第一管理模块1121获取第四指示消息,第四指示消息用于指示第一管理模块1121接管第二交换模块1211。之后,第一管理模块1121接管第二交换模块1211。In addition, correspondingly, when the second sub-board 122 is pulled out from the second baseboard 121, the first management module 1121 obtains the fourth indication message, which is used to instruct the first management module 1121 to take over the second switching module 1211. Afterwards, the first management module 1121 takes over the second switching module 1211.

关于第二子板122从第二底板121拔出时,交换设备所进行的具体处理,可以参照前述第一子板112从第一底板111拔出时交换设备所进行的处理,在此不再赘述。Regarding the specific processing performed by the switching device when the second sub-board 122 is pulled out from the second base board 121, reference can be made to the processing performed by the switching device when the first sub-board 112 is pulled out from the first base board 111, which will not be repeated here.

还需要说明的是,对于交换设备采用主备模式的情况,如果在第一子板112从第一底板111拔出之前,第一管理模块1121为备用的管理模块21,第二管理模块1221为主用的管理模块21,则第一子板112从第一底板111拔出之后,交换设备可不进行处理。It should also be noted that, for the case where the switching device adopts the master-slave mode, if before the first sub-board 112 is unplugged from the first base board 111, the first management module 1121 is the backup management module 21, and the second management module 1221 is the master management module 21, then after the first sub-board 112 is unplugged from the first base board 111, the switching device may not perform any processing.

(3)第一子板112插入第一底板111(3) The first sub-board 112 is inserted into the first base board 111

在一些示例中,第一子板112插入第一底板111之后,第一管理模块1121重新管理第一交换模块1111,以降低第二管理模块1221的负担。In some examples, after the first sub-board 112 is inserted into the first baseboard 111 , the first management module 1121 re-manages the first switching module 1111 to reduce the burden of the second management module 1221 .

示例性的,第一子板112插入第一底板111之后,第一管理模块1121发送第三指示消息,第三指示消息用于指示第二管理模块1221停止管理第一交换模块1111。第二管理模块1221接收到第三指示消息之后,停止管理第一交换模块1111,且第一管理模块1121接管第一交换模块1111。Exemplarily, after the first sub-board 112 is inserted into the first baseboard 111, the first management module 1121 sends a third indication message, and the third indication message is used to instruct the second management module 1221 to stop managing the first switching module 1111. After receiving the third indication message, the second management module 1221 stops managing the first switching module 1111, and the first management module 1121 takes over the first switching module 1111.

下面,对第一子板112插入第一底板111之后,交换设备所进行的处理进行示例性说明:Next, the processing performed by the switching device after the first sub-board 112 is inserted into the first baseboard 111 is exemplarily described:

在一些示例中,如图10所示,交换设备所进行的处理包括如下步骤:In some examples, as shown in FIG10 , the processing performed by the switching device includes the following steps:

在步骤1005中,第一管理模块1121启动。In step 1005, the first management module 1121 is started.

其中,第一子板112插入第一底板111之后,第一管理模块1121需要一定时间才能启动。After the first sub-board 112 is inserted into the first baseboard 111 , it takes a certain amount of time for the first management module 1121 to start up.

在步骤1006中,第一管理模块1121向第一检测模块1112发送第三指示消息。 In step 1006 , the first management module 1121 sends a third indication message to the first detection module 1112 .

在步骤1007中,第一检测模块1112向第二检测模块1212发送第三指示消息。In step 1007 , the first detection module 1112 sends a third indication message to the second detection module 1212 .

在步骤1008中,第二检测模块1212向第二管理模块1221发送第三指示消息。In step 1008 , the second detection module 1212 sends a third indication message to the second management module 1221 .

在步骤1009中,第二管理模块1221接收第三指示消息,停止管理第一交换模块1111。In step 1009 , the second management module 1221 receives the third instruction message and stops managing the first switching module 1111 .

在步骤1010中,第一管理模块1121接管第一交换模块1111。In step 1010 , the first management module 1121 takes over the first switching module 1111 .

步骤1507-步骤1512的具体处理与步骤1005-步骤1010的具体处理相同,在此不再赘述。The specific processing of step 1507 to step 1512 is the same as the specific processing of step 1005 to step 1010, and will not be repeated here.

在另一些示例中,如图11所示,交换设备所进行的处理包括如下步骤:In some other examples, as shown in FIG11 , the processing performed by the switching device includes the following steps:

在步骤1104中,第一管理模块1121启动。In step 1104, the first management module 1121 is started.

在步骤1105中,第一管理模块1121向第一检测模块1112发送第三指示消息。In step 1105 , the first management module 1121 sends a third indication message to the first detection module 1112 .

在步骤1106中,第一检测模块1112向第二管理模块1221发送第三指示消息。In step 1106 , the first detection module 1112 sends a third indication message to the second management module 1221 .

在步骤1107中,第二管理模块1221接收第三指示消息,停止管理第一交换模块1111。In step 1107 , the second management module 1221 receives the third instruction message and stops managing the first switching module 1111 .

在步骤1108中,第一管理模块1121接管第一交换模块1111。In step 1108 , the first management module 1121 takes over the first switching module 1111 .

对于图11示出的技术方案,由于第一检测模块1112通过第一检测模块1112和第二管理模块1221之间的连线,向第二管理模块1221发送第三指示消息,所以,第一检测模块1112和第二检测模块1212之间的独立连线可以去除掉,去除后的交换设备的架构如图12所示。For the technical solution shown in Figure 11, since the first detection module 1112 sends the third indication message to the second management module 1221 through the connection between the first detection module 1112 and the second management module 1221, the independent connection between the first detection module 1112 and the second detection module 1212 can be removed, and the architecture of the switching device after the removal is shown in Figure 12.

在另一些示例中,如图13所示,交换设备所进行的处理包括如下步骤:In other examples, as shown in FIG13 , the processing performed by the switching device includes the following steps:

在步骤1303中,第一管理模块1121启动。In step 1303, the first management module 1121 is started.

在步骤1304中,第一管理模块1121向第二管理模块1221发送第三指示消息。In step 1304 , the first management module 1121 sends a third indication message to the second management module 1221 .

在步骤1305中,第二管理模块1221停止管理第一交换模块1111。In step 1305 , the second management module 1221 stops managing the first switching module 1111 .

在步骤1306中,第一管理模块1121接管第一交换模块1111。In step 1306 , the first management module 1121 takes over the first switching module 1111 .

对于图13示出的技术方案,由于不需要第一检测模块1112和第二检测模块1212的参与,所以,第一检测模块1112和第二检测模块1212可以去除掉,去除第一检测模块1112和第二检测模块1212之后的交换设备的架构如图14所示。For the technical solution shown in FIG. 13 , since the first detection module 1112 and the second detection module 1212 are not required to participate, the first detection module 1112 and the second detection module 1212 can be removed. The architecture of the switching device after removing the first detection module 1112 and the second detection module 1212 is shown in FIG. 14 .

另外,相应的,当第二子板122插入第二底板121之后,第一管理模块1121接收第二管理模块1221发送的第五指示消息,第五指示消息用于指示第一管理模块1121停止管理第二交换模块1211。第一管理模块1121响应于第五指示消息,停止管理第二交换模块1211。之后,可以由第二管理模块1221接管第二交换模块1211。In addition, correspondingly, after the second sub-board 122 is inserted into the second baseboard 121, the first management module 1121 receives the fifth instruction message sent by the second management module 1221, and the fifth instruction message is used to instruct the first management module 1121 to stop managing the second switching module 1211. In response to the fifth instruction message, the first management module 1121 stops managing the second switching module 1211. Afterwards, the second management module 1221 can take over the second switching module 1211.

关于第二子板122插入第二底板121后,交换设备所进行的具体处理,可以参照前述第一子板112插入第一底板111时交换设备所进行的处理,在此不再赘述。Regarding the specific processing performed by the switching device after the second sub-board 122 is inserted into the second base board 121, reference can be made to the processing performed by the switching device when the first sub-board 112 is inserted into the first base board 111, and will not be repeated here.

需要说明的是,对于交换设备采用主备模式的情况,在第一子板112插入第一底板111之后,可以设置仍然由第二管理模块1221同时管理第一交换模块1111和第二交换模块1211。第一管理模块1121只有在第二管理模块1221故障或第二子板122拔出之后,才接管第一交换模块1111和第二交换模块1211。It should be noted that, in the case where the switching device adopts the active-standby mode, after the first sub-board 112 is inserted into the first baseboard 111, it can be set that the second management module 1221 still manages the first switching module 1111 and the second switching module 1211 at the same time. The first management module 1121 takes over the first switching module 1111 and the second switching module 1211 only after the second management module 1221 fails or the second sub-board 122 is pulled out.

需要补充说明的是,上述交换模块11也可以替换为其它业务处理模块,例如,报文识别和解析模块和时钟模块。则上述交换模块11可以扩展为业务处理模块,上述第一交换模块1111和第二交换模块1211还可以扩展为第一业务处理模块和第二业务处理模块。其中,时钟模块可以为高精度时钟模块、以太网同步时钟模块,例如,1588时钟模块。It should be noted that the above-mentioned switching module 11 can also be replaced by other service processing modules, such as a message identification and parsing module and a clock module. Then the above-mentioned switching module 11 can be expanded into a service processing module, and the above-mentioned first switching module 1111 and the second switching module 1211 can also be expanded into a first service processing module and a second service processing module. Among them, the clock module can be a high-precision clock module, an Ethernet synchronization clock module, for example, a 1588 clock module.

也即,本公开实施例还提供了一种单板。该单板包括底板1和子板2,子板2与底板1可插拔连接,且底板1的面板10具有供子板2插拔的开口101。底板1具有业务处理模块,子板2具有管理模块21,管理模块21用于管理业务处理模块。其中,该单板可以为主控交换板,也可以为其它单板。该单板所在的网络设备可以为交换设备,也可以为其它网络设备。该业务处理模块可以为上述交换模块11,也可以为报文识别和接线模块以及时钟模块等能够进行业务处理的业务处理模块。That is, the disclosed embodiment also provides a single board. The single board includes a base board 1 and a sub-board 2, the sub-board 2 is pluggable to the base board 1, and the panel 10 of the base board 1 has an opening 101 for plugging and unplugging the sub-board 2. The base board 1 has a service processing module, and the sub-board 2 has a management module 21, and the management module 21 is used to manage the service processing module. Among them, the single board can be a main control switching board or other single boards. The network device where the single board is located can be a switching device or other network device. The service processing module can be the above-mentioned switching module 11, or it can be a service processing module such as a message identification and wiring module and a clock module that can perform service processing.

本公开实施例提供的技术方案,通过将业务处理模块设置在底板1上,将管理模块21设置在子板2上,并设置子板2与底板1可插拔连接,使得当管理模块21出现故障或需要升级时,用户可以仅将子板2拔出,而使得底板1仍留存在网络设备中。这样,底板1的业务处理模块仍然能够进行业务处理,保证了网络设备的业务处理能力不变。The technical solution provided by the embodiment of the present disclosure is to set the service processing module on the baseboard 1, set the management module 21 on the sub-board 2, and set the sub-board 2 and the baseboard 1 to be pluggable, so that when the management module 21 fails or needs to be upgraded, the user can only unplug the sub-board 2, while the baseboard 1 remains in the network device. In this way, the service processing module of the baseboard 1 can still perform service processing, ensuring that the service processing capacity of the network device remains unchanged.

本公开实施例还提供了一种交换设备,如图17和图18所示,交换设备具有第一主控交换板110、第二主控交换板120和业务板200。第一主控交换板110包括第一底板111和第一子板112,第一子板112与第一底板111可插拔连接,第一底板111具有第一交换模块1111,第一子板112具有第一管理模块1121。第二主控交换板120包括第二底板121和第二子板122,第二子板122与第二底板121可插拔连接, 第二底板121具有第二交换模块1211,第二子板122具有第二管理模块1221。第一交换模块1111和第二交换模块1211用于实现不同业务板200之间的数据交换,第一管理模块1121和第二管理模块1221用于管理第一交换模块1111和第二交换模块1211。The embodiment of the present disclosure also provides a switching device, as shown in FIG. 17 and FIG. 18, the switching device comprises a first main control switching board 110, a second main control switching board 120 and a service board 200. The first main control switching board 110 comprises a first baseboard 111 and a first sub-board 112, the first sub-board 112 is pluggably connected to the first baseboard 111, the first baseboard 111 comprises a first switching module 1111, and the first sub-board 112 comprises a first management module 1121. The second main control switching board 120 comprises a second baseboard 121 and a second sub-board 122, the second sub-board 122 is pluggably connected to the second baseboard 121, The second baseboard 121 has a second switching module 1211, and the second subboard 122 has a second management module 1221. The first switching module 1111 and the second switching module 1211 are used to implement data exchange between different service boards 200, and the first management module 1121 and the second management module 1221 are used to manage the first switching module 1111 and the second switching module 1211.

其中,第一主控交换板110和第二主控交换板120均为上述主控交换板100。The first main control switch board 110 and the second main control switch board 120 are both the above-mentioned main control switch board 100 .

当第一子板112和第二子板122均在位时,第一管理模块1121分别与第一交换模块1111和第二交换模块1211电连接,第二管理模块1221分别与第一交换模块1111和第二交换模块1211电连接。When the first sub-board 112 and the second sub-board 122 are both in place, the first management module 1121 is electrically connected to the first switching module 1111 and the second switching module 1211 respectively, and the second management module 1221 is electrically connected to the first switching module 1111 and the second switching module 1211 respectively.

如图18所示,第一交换模块1111分别与多个业务板200电连接,第二交换模块1211分别与多个业务板200电连接。业务板200具有业务模块210。As shown in FIG18 , the first switching module 1111 is electrically connected to a plurality of service boards 200 , and the second switching module 1211 is electrically connected to a plurality of service boards 200 . The service board 200 has a service module 210 .

本公开实施例提供的交换设备,通过采用上述主控交换板100,使得当第一管理模块1121或第二管理模块1221拔出时,第一交换模块1111和第二交换模块1211仍然留存在交换设备中,并能够实现不同业务板200之间的数据交换,保证了交换设备的交换容量不变。The switching device provided by the embodiment of the present disclosure adopts the above-mentioned main control switching board 100, so that when the first management module 1121 or the second management module 1221 is unplugged, the first switching module 1111 and the second switching module 1211 still remain in the switching device and can realize data exchange between different business boards 200, thereby ensuring that the switching capacity of the switching device remains unchanged.

另外,第一主控交换板110和第二主控交换板120仍然仅占据交换设备的两个槽位,不会使得交换设备的业务板200的数量减少。In addition, the first main control switch board 110 and the second main control switch board 120 still only occupy two slots of the switch device, and the number of the service boards 200 of the switch device will not be reduced.

在一些示例中,如图18所示,第一管理模块1121和第二管理模块1221之间具有连线。In some examples, as shown in FIG. 18 , there is a connection between the first management module 1121 and the second management module 1221 .

在一些示例中,如图17和图18所示,交换设备还具有背板300,则第一主控交换板110和第二主控交换板120之间的电连接、第一主控交换板110与业务板200之间的电连接以及第二主控交换板120与业务板200之间的电连接,均通过背板300实现。In some examples, as shown in Figures 17 and 18, the switching device also has a backplane 300, so the electrical connection between the first main control switching board 110 and the second main control switching board 120, the electrical connection between the first main control switching board 110 and the business board 200, and the electrical connection between the second main control switching board 120 and the business board 200 are all realized through the backplane 300.

在一些示例中,当第一子板112和第二子板122均在位时,第一管理模块1121管理第一交换模块1111,第二管理模块1221管理第二交换模块1211。其中,该管理模式可以称为负载分担模式。In some examples, when both the first sub-board 112 and the second sub-board 122 are in place, the first management module 1121 manages the first switching module 1111, and the second management module 1221 manages the second switching module 1211. This management mode may be referred to as a load sharing mode.

在一些示例中,当第一子板112和第二子板122均在位时,主用的管理模块21(第一管理模块1121和第二管理模块1221中的一个)同时管理第一交换模块1111和第二交换模块1211。其中,该管理模式可以称为主备模式。In some examples, when the first sub-board 112 and the second sub-board 122 are both in place, the active management module 21 (one of the first management module 1121 and the second management module 1221) simultaneously manages the first switching module 1111 and the second switching module 1211. This management mode may be referred to as an active-standby mode.

在一些示例中,如图18所示,第一底板111还具有第一检测模块1112,第二底板121还具有第二检测模块1212,第一检测模块1112用于检测第一子板112是否拔出,第二检测模块1212用于检测第二子板122是否拔出,第一检测模块1112与第二检测模块1212电连接。In some examples, as shown in FIG. 18 , the first base plate 111 further has a first detection module 1112 , and the second base plate 121 further has a second detection module 1212 . The first detection module 1112 is used to detect whether the first sub-board 112 is unplugged, and the second detection module 1212 is used to detect whether the second sub-board 122 is unplugged. The first detection module 1112 is electrically connected to the second detection module 1212 .

在一些示例中,当第一子板112和第二子板122均在位时,第一检测模块1112分别与第一管理模块1121和第二管理模块1221电连接,第二检测模块1212分别与第一管理模块1121和第二管理模块1221电连接。In some examples, when the first sub-board 112 and the second sub-board 122 are both in place, the first detection module 1112 is electrically connected to the first management module 1121 and the second management module 1221 respectively, and the second detection module 1212 is electrically connected to the first management module 1121 and the second management module 1221 respectively.

在一些示例中,第一检测模块1112与第二检测模块1212均为FPGA。In some examples, the first detection module 1112 and the second detection module 1212 are both FPGAs.

在一些示例中,第二管理模块1221被配置为:获取第一指示消息,第一指示消息用于指示第二管理模块1221接管第一交换模块1111,第一指示消息是由第一子板112从第一底板111拔出触发的。接管第一交换模块1111。In some examples, the second management module 1221 is configured to: obtain a first indication message, the first indication message is used to instruct the second management module 1221 to take over the first switching module 1111, and the first indication message is triggered by the first sub-board 112 being pulled out from the first baseboard 111. Take over the first switching module 1111.

其中,第二管理模块1221接管第一交换模块1111之后,第二管理模块1221同时管理第一交换模块1111和第二交换模块1211。After the second management module 1221 takes over the first switching module 1111 , the second management module 1221 manages the first switching module 1111 and the second switching module 1211 at the same time.

本公开实施例提供的技术方案,通过设置第一子板112从第一底板111拔出时触发第一指示消息,并设置第二管理模块1221获取第一指示消息之后,接管第一交换模块1111,避免了第一子板112从第一底板111拔出后,出现第一交换模块1111长时间处于未受管理状态的情况,保证了交换设备工作的可靠性。The technical solution provided by the embodiment of the present disclosure, by setting a first indication message to be triggered when the first sub-board 112 is unplugged from the first base board 111, and setting the second management module 1221 to take over the first switching module 1111 after obtaining the first indication message, avoids the situation where the first switching module 1111 is in an unmanaged state for a long time after the first sub-board 112 is unplugged from the first base board 111, and ensures the reliability of the switching equipment.

在一些示例中,如图10所示,第一检测模块1112被配置为:检测到第一子板112从第一底板111拔出,向第二检测模块1212发送第一指示消息,第一指示消息用于指示第二管理模块1221接管第一交换模块1111。第二检测模块1212被配置为:向第二管理模块1221第一指示消息。第二管理模块1221被配置为:接收第一指示消息,接管第一交换模块1111。In some examples, as shown in FIG10 , the first detection module 1112 is configured to: detect that the first sub-board 112 is pulled out from the first baseboard 111, and send a first indication message to the second detection module 1212, where the first indication message is used to instruct the second management module 1221 to take over the first switching module 1111. The second detection module 1212 is configured to: send the first indication message to the second management module 1221. The second management module 1221 is configured to: receive the first indication message and take over the first switching module 1111.

在一些示例中,如图11所示,第一检测模块1112被配置为:检测到第一子板112从第一底板111拔出,通过第一检测模块1112和第二管理模块1221之间的连线,向第二管理模块1221发送第一指示消息。第二管理模块1221被配置为:接收第一指示消息,接管第一交换模块1111。In some examples, as shown in FIG11 , the first detection module 1112 is configured to: detect that the first sub-board 112 is pulled out from the first baseboard 111, and send a first indication message to the second management module 1221 through the connection between the first detection module 1112 and the second management module 1221. The second management module 1221 is configured to: receive the first indication message and take over the first switching module 1111.

在一些示例中,如图13所示,第二管理模块1221被配置为:检测到第一子板112拔出,接管第一交换模块1111。也即,上述第一指示消息是第二管理模块1221检测到的。In some examples, as shown in FIG13 , the second management module 1221 is configured to: detect that the first sub-board 112 is unplugged, and take over the first switching module 1111. That is, the first indication message is detected by the second management module 1221.

在一些示例中,如图15所示,在第一子板112从第一底板111拔出之前,第一管理模块1121还被配置为:获取提示消息,提示消息用于提示第一子板112将要从第一底板111拔出,将第一管理模块1121 设置为备用。In some examples, as shown in FIG. 15 , before the first sub-board 112 is pulled out from the first baseboard 111, the first management module 1121 is further configured to: obtain a prompt message, the prompt message being used to prompt that the first sub-board 112 is about to be pulled out from the first baseboard 111, and the first management module 1121 Set as backup.

本公开实施例提供的技术方案,在第一子板112从第一底板111拔出之前,用户触发提示消息,第一管理模块1121获取提示消息之后,可以将自身设置为备用,并通知第二管理模块1221设置为主用。According to the technical solution provided by the embodiment of the present disclosure, before the first sub-board 112 is pulled out from the first base board 111, the user triggers a prompt message. After the first management module 1121 obtains the prompt message, it can set itself as a backup and notify the second management module 1221 to set it as the primary.

这样,第一,主备倒换的操作不需要在拔出第一子板112之后再进行,使得拔出第一子板112之后,交换设备所需进行的操作减少,第二管理模块1221能够更快的接管第一交换模块1111。第二,在第一子板112拔出之前,由于第一主控交换板110和第二主控交换板120之间的通信正常,所以能够更加可靠的执行主备倒换。第三,由于数据库一般保存在主用的管理模块21,所以,提前进行主备倒换,能够保证数据库完整的复制到备用的管理模块21(该备用的管理模块21后续切换为主用),避免了数据库中的数据丢失。In this way, first, the operation of active-standby switching does not need to be performed after the first sub-board 112 is unplugged, so that after the first sub-board 112 is unplugged, the operations required by the switching device are reduced, and the second management module 1221 can take over the first switching module 1111 more quickly. Second, before the first sub-board 112 is unplugged, since the communication between the first main control switching board 110 and the second main control switching board 120 is normal, the active-standby switching can be performed more reliably. Third, since the database is generally stored in the active management module 21, performing active-standby switching in advance can ensure that the database is completely copied to the standby management module 21 (the standby management module 21 is subsequently switched to the active one), thereby avoiding data loss in the database.

在一些示例中,如图16所示,在第一子板112从第一底板111拔出之前,第一管理模块1121还被配置为:获取提示消息,提示消息用于提示第一子板112将要从第一底板111拔出,停止管理第一交换模块1111,向第二管理模块1221发送第二指示消息,第二指示消息用于指示第二管理模块1221接管第一交换模块1111。第二管理模块1221被配置为:接收第二指示消息,接管第一交换模块1111。In some examples, as shown in FIG16 , before the first sub-board 112 is pulled out from the first baseboard 111, the first management module 1121 is further configured to: obtain a prompt message, the prompt message is used to prompt that the first sub-board 112 is about to be pulled out from the first baseboard 111, stop managing the first switching module 1111, and send a second indication message to the second management module 1221, the second indication message is used to instruct the second management module 1221 to take over the first switching module 1111. The second management module 1221 is configured to: receive the second indication message, and take over the first switching module 1111.

本公开实施例提供的技术方案,在第一子板112从第一底板111拔出之前,用户触发提示消息,第一管理模块1121获取提示消息之后,直接进行管理倒换,而不必等第一子板112拔出之后,再进行管理倒换。这样,后续第一子板112从第一底板111拔出时,不会出现瞬时第一交换模块1111处于未受管理的状态的情况,保证了交换设备工作的可靠性。According to the technical solution provided by the embodiment of the present disclosure, before the first daughter board 112 is pulled out from the first base board 111, the user triggers a prompt message, and after the first management module 1121 obtains the prompt message, it directly performs management switching, without having to wait until the first daughter board 112 is pulled out before performing management switching. In this way, when the first daughter board 112 is subsequently pulled out from the first base board 111, the first switching module 1111 will not be in an unmanaged state instantaneously, thereby ensuring the reliability of the switching device.

在一些示例中,在第一子板112插入第一底板111之后,如图10、图11或图13所示,第一管理模块1121被配置为:向第二管理模块1221发送第三指示消息,第三指示消息用于指示第二管理模块1221停止管理第一交换模块1111。第二管理模块1221被配置为:接收第三指示消息,停止管理第一交换模块1111。第一管理模块1121还被配置为:接管第一交换模块1111。In some examples, after the first sub-board 112 is inserted into the first baseboard 111, as shown in FIG. 10, FIG. 11, or FIG. 13, the first management module 1121 is configured to: send a third indication message to the second management module 1221, and the third indication message is used to instruct the second management module 1221 to stop managing the first switching module 1111. The second management module 1221 is configured to: receive the third indication message and stop managing the first switching module 1111. The first management module 1121 is also configured to: take over the first switching module 1111.

本公开实施例提供的技术方案,在第一子板112插入第一底板111之后,第一管理模块1121通知第二管理模块1221停止管理第一交换模块1111,且第一管理模块1121重新接管第一交换模块1111,从而,减小了第二管理模块1221的负担。According to the technical solution provided by the embodiment of the present disclosure, after the first sub-board 112 is inserted into the first baseboard 111, the first management module 1121 notifies the second management module 1221 to stop managing the first switching module 1111, and the first management module 1121 takes over the first switching module 1111 again, thereby reducing the burden on the second management module 1221.

需要补充说明的是,上述第一交换模块1111和第二交换模块1211也可以替换为其它业务处理模块,例如,报文识别和解析模块以及时钟模块等。则上述第一交换模块1111和第二交换模块1211还可以扩展为第一业务处理模块和第二业务处理模块,上述交换设备还可以替换为网络设备。It should be noted that the first switching module 1111 and the second switching module 1211 may also be replaced by other service processing modules, such as a message identification and parsing module and a clock module, etc. Then the first switching module 1111 and the second switching module 1211 may also be expanded to a first service processing module and a second service processing module, and the switching device may also be replaced by a network device.

本公开实施例还提供了一种管理方法,管理方法应用于上述网络设备中,如图19所示,该管理方法包括如下步骤:The embodiment of the present disclosure further provides a management method, which is applied to the above network device. As shown in FIG19 , the management method includes the following steps:

在步骤1901中,第二管理模块1221获取第一指示消息。In step 1901, the second management module 1221 obtains a first indication message.

其中,第一指示消息用于指示第二管理模块1221接管第一交换模块1111,第一指示消息是由第一子板112从第一底板111拔出触发的。The first indication message is used to instruct the second management module 1221 to take over the first switching module 1111 , and the first indication message is triggered by the first sub-board 112 being pulled out from the first baseboard 111 .

下面,对第二管理模块1221获取第一指示消息的实现方式进行示例性说明:The following is an exemplary description of the implementation manner in which the second management module 1221 obtains the first indication message:

在一些示例中,如图10所示,第二管理模块1221获取第一指示消息包括如下步骤:In some examples, as shown in FIG10 , the second management module 1221 obtains the first indication message including the following steps:

在步骤1001中,第一检测模块1112检测到第一子板112从第一底板111拔出。In step 1001 , the first detection module 1112 detects that the first sub-board 112 is pulled out from the first base board 111 .

在步骤1002中,第一检测模块1112向第二检测模块1212发送第一指示消息。In step 1002 , the first detection module 1112 sends a first indication message to the second detection module 1212 .

在步骤1003中,第二检测模块1212向第二管理模块1221发送第一指示消息。In step 1003 , the second detection module 1212 sends a first indication message to the second management module 1221 .

在步骤1004中,第二管理模块1221接收第一指示消息,并接管第一交换模块1111。In step 1004 , the second management module 1221 receives the first indication message and takes over the first switching module 1111 .

在另一些示例中,如图11所示,第二管理模块1221获取第一指示消息包括如下步骤:In some other examples, as shown in FIG11 , the second management module 1221 obtains the first indication message including the following steps:

在步骤1101中,第一检测模块1112检测到第一子板112从第一底板111拔出。In step 1101 , the first detection module 1112 detects that the first sub-board 112 is pulled out from the first base board 111 .

在步骤1102中,第一检测模块1112通过第一检测模块112和第二管理模块1221之间的连线,向第二管理模块1221发送第一指示消息。In step 1102 , the first detection module 1112 sends a first indication message to the second management module 1221 through the connection between the first detection module 1112 and the second management module 1221 .

在步骤1103中,第二管理模块1221接收第一指示消息,并接管第一交换模块1111。In step 1103 , the second management module 1221 receives the first indication message and takes over the first switching module 1111 .

在另一些示例中,如图13所示,第二管理模块1221获取第一指示消息包括如下步骤:In some other examples, as shown in FIG13 , the second management module 1221 obtains the first indication message including the following steps:

在步骤1301中,第二管理模块1221检测到第一子板112拔出。也即,该第一指示消息是第二管理模块检测到的。In step 1301, the second management module 1221 detects that the first sub-board 112 is unplugged. That is, the first indication message is detected by the second management module.

在步骤1302中,第二管理模块1221接管第一交换模块1111。In step 1302 , the second management module 1221 takes over the first switching module 1111 .

另外,对于第一子板112具有操作件22的情况,用户在拔出第一子板112之前,可以操作操作件22。 相应的,如图15所示,用户操作操作件22之后,管理方法还包括如下步骤:In addition, in the case where the first sub-board 112 has the operating member 22 , the user may operate the operating member 22 before pulling out the first sub-board 112 . Correspondingly, as shown in FIG15 , after the user operates the operating element 22, the management method further includes the following steps:

在步骤1501中,第一管理模块1121获取提示消息。In step 1501, the first management module 1121 obtains a prompt message.

其中,提示消息用于提示第一子板112将要从第一底板111拔出。The prompt message is used to prompt that the first sub-board 112 is about to be pulled out from the first base board 111 .

在步骤1502中,第一管理模块1121将第一管理模块1121设置为备用。相应的,第二管理模块1221设置为主用。In step 1502, the first management module 1121 sets the first management module 1121 as a standby, and correspondingly, the second management module 1221 is set as a master.

这样,第一,主备倒换的操作不需要在拔出第一子板112之后再进行,使得拔出第一子板112之后,交换设备所需进行的操作减少,第二管理模块1221能够更快的接管第一交换模块1111。第二,在第一子板112拔出之前,由于第一主控交换板110和第二主控交换板120之间的通信正常,所以能够更加可靠的执行主备倒换。第三,由于数据库一般保存在主用的管理模块21,所以,提前进行主备倒换,能够保证数据库完整的复制到备用的管理模块21(该备用的管理模块21后续切换为主用),避免了数据库中的数据丢失。In this way, first, the operation of active-standby switching does not need to be performed after the first sub-board 112 is unplugged, so that after the first sub-board 112 is unplugged, the operations required by the switching device are reduced, and the second management module 1221 can take over the first switching module 1111 more quickly. Second, before the first sub-board 112 is unplugged, since the communication between the first main control switching board 110 and the second main control switching board 120 is normal, the active-standby switching can be performed more reliably. Third, since the database is generally stored in the active management module 21, performing active-standby switching in advance can ensure that the database is completely copied to the standby management module 21 (the standby management module 21 is subsequently switched to the active one), thereby avoiding data loss in the database.

主备倒换的操作不需要在拔出第一子板112之后再进行,使得拔出第一子板112之后,交换设备所需进行的操作减少,第二管理模块1221能够更快的接管第一交换模块1111。The active/standby switching operation does not need to be performed after the first sub-board 112 is unplugged, so that after the first sub-board 112 is unplugged, the operations required by the switching device are reduced, and the second management module 1221 can take over the first switching module 1111 more quickly.

在一些示例中,第一管理模块1121将第一管理模块1121设置为备用之后,向第二管理模块1221发送指示消息,该指示消息用于指示第二管理模块1221将第二管理模块1221设置为主用。In some examples, after setting the first management module 1121 as a standby, the first management module 1121 sends an indication message to the second management module 1221, where the indication message is used to instruct the second management module 1221 to set the second management module 1221 as a master.

在步骤1902中,第二管理模块1221接管第一交换模块1111。In step 1902 , the second management module 1221 takes over the first switching module 1111 .

其中,第二管理模块1221接管第一交换模块1111之后,第二管理模块1221同时管理第一交换模块1111和第二交换模块1211。After the second management module 1221 takes over the first switching module 1111 , the second management module 1221 manages the first switching module 1111 and the second switching module 1211 at the same time.

本公开实施例提供的技术方案,通过设置第一子板112从第一底板111拔出时触发第一指示消息,并设置第二管理模块1221获取第一指示消息之后,接管第一交换模块1111,避免了第一子板112从第一底板111拔出后,出现第一交换模块1111长时间处于未受管理状态的情况,保证了交换设备工作的可靠性。The technical solution provided by the embodiment of the present disclosure, by setting a first indication message to be triggered when the first sub-board 112 is unplugged from the first base board 111, and setting the second management module 1221 to take over the first switching module 1111 after obtaining the first indication message, avoids the situation where the first switching module 1111 is in an unmanaged state for a long time after the first sub-board 112 is unplugged from the first base board 111, and ensures the reliability of the switching equipment.

在一些示例中,在第一子板112插入第一底板111之后,管理方法还包括:第一管理模块1121向第二管理模块1221发送第三指示消息,第三指示消息用于指示第二管理模块1221停止管理第一交换模块1111。第二管理模块1221接收第三指示消息,停止管理第一交换模块1111。第一管理模块1121接管第一交换模块1111。In some examples, after the first sub-board 112 is inserted into the first baseboard 111, the management method further includes: the first management module 1121 sends a third indication message to the second management module 1221, and the third indication message is used to instruct the second management module 1221 to stop managing the first switching module 1111. The second management module 1221 receives the third indication message and stops managing the first switching module 1111. The first management module 1121 takes over the first switching module 1111.

本公开实施例提供的技术方案,在第一子板112插入第一底板111之后,第一管理模块1121通知第二管理模块1221停止管理第一交换模块1111,且第一管理模块1121重新接管第一交换模块1111,从而,减小了第二管理模块1221的负担。According to the technical solution provided by the embodiment of the present disclosure, after the first sub-board 112 is inserted into the first baseboard 111, the first management module 1121 notifies the second management module 1221 to stop managing the first switching module 1111, and the first management module 1121 takes over the first switching module 1111 again, thereby reducing the burden on the second management module 1221.

下面,对第一子板112插入后,交换设备所进行的操作进行示例性说明:The following is an exemplary description of the operations performed by the switching device after the first daughter board 112 is inserted:

在一些示例中,如图10所示,在步骤1005中,第一管理模块1121启动。In some examples, as shown in FIG. 10 , in step 1005 , the first management module 1121 is started.

在步骤1006中,第一管理模块1121向第一检测模块1112发送第三指示消息。In step 1006 , the first management module 1121 sends a third indication message to the first detection module 1112 .

在步骤1007中,第一检测模块1112向第二检测模块1212发送第三指示消息。In step 1007 , the first detection module 1112 sends a third indication message to the second detection module 1212 .

在步骤1008中,第二检测模块1212向第二管理模块1221发送第三指示消息。In step 1008 , the second detection module 1212 sends a third indication message to the second management module 1221 .

在步骤1009中,第二管理模块1221接收第三指示消息,停止管理第一交换模块1111。In step 1009 , the second management module 1221 receives the third instruction message and stops managing the first switching module 1111 .

在步骤1010中,第一管理模块1121接管第一交换模块1111。In step 1010 , the first management module 1121 takes over the first switching module 1111 .

在另一些示例中,如图11所示,在步骤1104中,第一管理模块1121启动。In other examples, as shown in FIG. 11 , in step 1104 , the first management module 1121 is started.

在步骤1105中,第一管理模块1121向第一检测模块1112发送第三指示消息。In step 1105 , the first management module 1121 sends a third indication message to the first detection module 1112 .

在步骤1106中,第一检测模块1112向第二管理模块1221发送第三指示消息。In step 1106 , the first detection module 1112 sends a third indication message to the second management module 1221 .

在步骤1107中,第二管理模块1221接收第三指示消息,停止管理第一交换模块1111。In step 1107 , the second management module 1221 receives the third instruction message and stops managing the first switching module 1111 .

在步骤1108中,第一管理模块1121接管第一交换模块1111。In step 1108 , the first management module 1121 takes over the first switching module 1111 .

在另一些示例中,如图13所示,在步骤1303中,第一管理模块1121启动。In other examples, as shown in FIG. 13 , in step 1303 , the first management module 1121 is started.

在步骤1304中,第一管理模块1121向第二管理模块1221发送第三指示消息。In step 1304 , the first management module 1121 sends a third indication message to the second management module 1221 .

在步骤1305中,第二管理模块1221停止管理第一交换模块1111。In step 1305 , the second management module 1221 stops managing the first switching module 1111 .

在步骤1306中,第一管理模块1121接管第一交换模块1111。In step 1306 , the first management module 1121 takes over the first switching module 1111 .

需要补充说明的是,上述第一交换模块1111和第二交换模块1211也可以替换为其它业务处理模块,例如,报文识别和解析模块和时钟模块。则上述第一交换模块1111和第二交换模块1211还可以扩展为第一业务处理模块和第二业务处理模块。It should be noted that the first switching module 1111 and the second switching module 1211 may also be replaced by other service processing modules, such as a message identification and analysis module and a clock module. Then the first switching module 1111 and the second switching module 1211 may also be expanded into a first service processing module and a second service processing module.

本公开实施例还提供了一种管理方法,该管理方法应用于上述网络设备中,如图20所示,并参照图 16,该管理方法包括如下步骤:The present disclosure also provides a management method, which is applied to the above network device, as shown in FIG. 16. The management method comprises the following steps:

在步骤2001中,第一管理模块1121获取提示消息。In step 2001, the first management module 1121 obtains a prompt message.

其中,提示消息用于提示第一子板112将要从第一底板111拔出。提示消息是由用户操作操作件22触发的,操作件22可以为第一子板112上的按钮。The prompt message is used to prompt that the first sub-board 112 is about to be pulled out from the first base board 111. The prompt message is triggered by the user operating the operating member 22, and the operating member 22 can be a button on the first sub-board 112.

在步骤2002中,第一管理模块1121停止管理第一交换模块1111。In step 2002 , the first management module 1121 stops managing the first switching module 1111 .

在一些示例中,第一管理模块1121还将第一管理模块1121设置为备用。相应的,第二管理模块1221将第二管理模块1221设置为主用。In some examples, the first management module 1121 further sets the first management module 1121 as a standby. Correspondingly, the second management module 1221 sets the second management module 1221 as a master.

在步骤2003中,第一管理模块1121向第二管理模块1221发送第二指示消息。In step 2003 , the first management module 1121 sends a second indication message to the second management module 1221 .

其中,第二指示消息用于指示第二管理模块1221接管第一交换模块1111。The second indication message is used to instruct the second management module 1221 to take over the first switching module 1111 .

本公开实施例对第一管理模块1121向第二管理模块1221发送第二指示消息的实现方式不作限定,下面,进行示例性说明:The embodiment of the present disclosure does not limit the implementation manner in which the first management module 1121 sends the second indication message to the second management module 1221. An exemplary description is given below:

在一些示例中,如图16所示,第一管理模块1121向第二管理模块1221发送第二指示消息包括如下步骤:In some examples, as shown in FIG. 16 , the first management module 1121 sending the second indication message to the second management module 1221 includes the following steps:

在步骤1603中,第一管理模块1121向第一检测模块1112发送第二指示消息。In step 1603 , the first management module 1121 sends a second indication message to the first detection module 1112 .

在步骤1604中,第一检测模块1112向第二检测模块1212发送第二指示消息。In step 1604 , the first detection module 1112 sends a second indication message to the second detection module 1212 .

在步骤1605中,第二检测模块1212向第二管理模块1221发送第二指示消息。In step 1605 , the second detection module 1212 sends a second indication message to the second management module 1221 .

在另一些示例中,第一管理模块1121向第一检测模块1112发送第二指示消息,第一检测模块1112通过第一检测模块1112和第二管理模块1221之间的连线,向第二管理模块1221发送第二指示消息。In some other examples, the first management module 1121 sends the second indication message to the first detection module 1112 , and the first detection module 1112 sends the second indication message to the second management module 1221 through the connection between the first detection module 1112 and the second management module 1221 .

在另一些示例中,第一管理模块1121通过第一管理模块1121和第二管理模块1221之间的连线,向第二管理模块1221发送第二指示消息。In some other examples, the first management module 1121 sends the second indication message to the second management module 1221 through the connection between the first management module 1121 and the second management module 1221 .

需要说明的是,本公开实施例对步骤2002和步骤2003的先后顺序不作限定,步骤2002可以位于步骤2003之前,也可以位于步骤2003之后,步骤2002和步骤2003还可以同时进行。It should be noted that the embodiment of the present disclosure does not limit the order of step 2002 and step 2003. Step 2002 can be located before step 2003 or after step 2003. Step 2002 and step 2003 can also be performed simultaneously.

在步骤2004中,第二管理模块1221接收第二指示消息,接管第一交换模块1111。In step 2004 , the second management module 1221 receives the second instruction message and takes over the first switching module 1111 .

其中,第二管理模块1221接管第一交换模块1111之后,第二管理模块1221同时管理第一交换模块1111和第二交换模块1211。After the second management module 1221 takes over the first switching module 1111 , the second management module 1221 manages the first switching module 1111 and the second switching module 1211 at the same time.

本公开实施提供的技术方案,在第一子板112从第一底板111拔出之前,用户触发提示消息,第一管理模块1121获取提示消息之后,直接进行管理倒换,而不必等第一子板112拔出之后,再进行管理倒换。这样,后续第一子板112从第一底板111拔出时,不会出现瞬时第一交换模块1111处于未受管理状态的情况,保证了交换设备工作的可靠性。According to the technical solution provided by the implementation of the present disclosure, before the first daughter board 112 is pulled out from the first base board 111, the user triggers a prompt message, and after the first management module 1121 obtains the prompt message, it directly performs management switching, without having to wait until the first daughter board 112 is pulled out before performing management switching. In this way, when the first daughter board 112 is subsequently pulled out from the first base board 111, the first switching module 1111 will not be in an unmanaged state instantaneously, thereby ensuring the reliability of the switching device.

另外,用户触发提示消息之后,后续可能并未将第一子板112从第一底板111拔出,则对于采用不同管理模式的交换设备,交换设备具有不同的处理方式:In addition, after the user triggers the prompt message, the first daughter board 112 may not be pulled out from the first base board 111. In this case, for switching devices using different management modes, the switching devices have different processing methods:

在一些示例中,交换设备采用负载分担模式,则第二管理模块1221接管第一交换模块1111之后,管理方法还包括:当在目标时长内第一子板112未从第一底板111拔出时,第二管理模块1221停止管理第一交换模块1111,第一管理模块1121接管第一交换模块1111。从而,减小了第二管理模块1221的负担。In some examples, the switching device adopts a load sharing mode, and after the second management module 1221 takes over the first switching module 1111, the management method further includes: when the first sub-board 112 is not pulled out from the first baseboard 111 within the target time length, the second management module 1221 stops managing the first switching module 1111, and the first management module 1121 takes over the first switching module 1111. Thus, the burden of the second management module 1221 is reduced.

示例性的,当第二管理模块1221在目标时长内未接收到第一检测模块1112发送的用于指示第一子板112拔出的指示消息时,第二管理模块1221停止管理第一交换模块1111,并通知第一管理模块1121接管第一交换模块1111。Exemplarily, when the second management module 1221 does not receive the indication message sent by the first detection module 1112 to instruct the first sub-board 112 to be unplugged within the target time length, the second management module 1221 stops managing the first switching module 1111 and notifies the first management module 1121 to take over the first switching module 1111.

在另一些示例中,如图16所示,交换设备采用主备模式,则即使在目标时长内第一子板112未从第一底板111拔出,也可以仍然由第二管理模块1221同时管理第一交换模块1111和第二交换模块1211,而不必再倒换回由第一管理模块1121管理。In other examples, as shown in FIG16 , the switching device adopts the master-slave mode. Then, even if the first sub-board 112 is not unplugged from the first baseboard 111 within the target time, the first switching module 1111 and the second switching module 1211 can still be managed simultaneously by the second management module 1221 without having to switch back to management by the first management module 1121.

另外,如图16所示,交换设备采用主备模式时,第一子板112的拔出和插入均不会触发第一交换模块1111的管理主体切换。In addition, as shown in FIG. 16 , when the switching device adopts the active/standby mode, the removal and insertion of the first sub-board 112 will not trigger the switching of the management subject of the first switching module 1111 .

需要补充说明的是,上述第一交换模块1111和第二交换模块1211也可以替换为其它业务处理模块,例如,报文识别和解析模块和时钟模块。则上述第一交换模块1111和第二交换模块1211还可以扩展为第一业务处理模块和第二业务处理模块。It should be noted that the first switching module 1111 and the second switching module 1211 may also be replaced by other service processing modules, such as a message identification and analysis module and a clock module. Then the first switching module 1111 and the second switching module 1211 may also be expanded into a first service processing module and a second service processing module.

以上所述仅为本公开的可选实施例,并不用以限制本公开,凡在本公开的原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。 The above description is only an optional embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present disclosure shall be included in the protection scope of the present disclosure.

Claims (19)

一种单板,其特征在于,所述单板包括底板(1)和子板(2);A single board, characterized in that the single board comprises a base board (1) and a sub-board (2); 所述子板(2)与所述底板(1)可插拔连接,且所述底板(1)的面板(10)具有供所述子板(2)插拔的开口(101);The sub-board (2) is pluggably connected to the base board (1), and the panel (10) of the base board (1) has an opening (101) for plugging and unplugging the sub-board (2); 所述底板(1)具有业务处理模块,所述子板(2)具有管理模块(21),所述管理模块(21)用于管理所述业务处理模块。The baseboard (1) has a service processing module, and the subboard (2) has a management module (21), wherein the management module (21) is used to manage the service processing module. 根据权利要求1所述的单板,其特征在于,所述业务处理模块包括交换模块(11)、报文识别和解析模块和时钟模块中的一种或多种。The single board according to claim 1 is characterized in that the service processing module includes one or more of a switching module (11), a message identification and parsing module, and a clock module. 根据权利要求1或2所述的单板,其特征在于,所述底板(1)具有第一连接器(13)和背板连接器(15),所述子板(2)具有第二连接器(23);The single board according to claim 1 or 2, characterized in that the base board (1) has a first connector (13) and a backplane connector (15), and the daughter board (2) has a second connector (23); 所述第二连接器(23)用于与所述第一连接器(13)对接,所述背板连接器(15)用于与背板(300)对接。The second connector (23) is used for docking with the first connector (13), and the backplane connector (15) is used for docking with the backplane (300). 根据权利要求1-3任一项所述的单板,其特征在于,所述底板(1)还具有检测模块(12),所述检测模块(12)被配置为:The single board according to any one of claims 1 to 3, characterized in that the bottom board (1) further comprises a detection module (12), and the detection module (12) is configured to: 检测到所述子板(2)从所述底板(1)拔出;Detecting that the sub-board (2) is pulled out from the base board (1); 向另一单板发送第一指示消息,所述第一指示消息用于指示所述另一单板接管所述业务处理模块。A first indication message is sent to another single board, where the first indication message is used to instruct the other single board to take over the service processing module. 根据权利要求4所述的单板,其特征在于,所述检测模块(12)为现场可编程门阵列(FPGA)。The single board according to claim 4, characterized in that the detection module (12) is a field programmable gate array (FPGA). 根据权利要求1-5任一项所述的单板,其特征在于,所述子板(2)从所述底板(1)拔出之前,所述管理模块(21)被配置为:The single board according to any one of claims 1 to 5, characterized in that before the sub-board (2) is pulled out from the base board (1), the management module (21) is configured as follows: 获取提示消息,所述提示消息用于提示所述子板(2)将要从所述底板(1)拔出;Obtaining a prompt message, the prompt message being used to prompt that the sub-board (2) is about to be pulled out from the base board (1); 将所述管理模块(21)设置为备用。The management module (21) is set as standby. 根据权利要求1-3任一项所述的单板,其特征在于,所述子板(2)从所述底板(1)拔出之前,所述管理模块(21)被配置为:The single board according to any one of claims 1 to 3, characterized in that before the sub-board (2) is pulled out from the base board (1), the management module (21) is configured as follows: 获取提示消息,所述提示消息用于提示所述子板(2)将要从所述底板(1)拔出;Obtaining a prompt message, the prompt message being used to prompt that the sub-board (2) is about to be pulled out from the base board (1); 停止管理所述业务处理模块;Stop managing the business processing module; 向另一单板发送第二指示消息,所述第二指示消息用于指示所述另一单板接管所述业务处理模块。A second indication message is sent to another single board, where the second indication message is used to instruct the other single board to take over the service processing module. 根据权利要求6或7所述的单板,其特征在于,所述子板(2)还具有操作件(22),所述操作件(22)用于在所述子板(2)从所述底板(1)拔出之前供用户操作;The single board according to claim 6 or 7, characterized in that the sub-board (2) further comprises an operating member (22), and the operating member (22) is used for a user to operate before the sub-board (2) is pulled out from the base board (1); 其中,当所述操作件(22)被操作时,触发所述管理模块(21)获取所述提示消息。Wherein, when the operating element (22) is operated, the management module (21) is triggered to obtain the prompt message. 根据权利要求1-8任一项所述的单板,其特征在于,所述子板(2)插入所述底板(1)之后,所述管理模块(21)被配置为:The single board according to any one of claims 1 to 8, characterized in that after the sub-board (2) is inserted into the baseboard (1), the management module (21) is configured as follows: 向另一单板发送第三指示消息,所述第三指示消息用于指示所述另一单板停止管理所述业务处理模块;Sending a third indication message to another single board, wherein the third indication message is used to instruct the other single board to stop managing the service processing module; 接管所述业务处理模块。Take over the business processing module. 根据权利要求1-9任一项所述的单板,其特征在于,所述管理模块(21)还被配置为:The board according to any one of claims 1 to 9, characterized in that the management module (21) is further configured to: 获取第四指示消息,所述第四指示消息用于指示所述管理模块(21)接管另一单板;Obtaining a fourth indication message, wherein the fourth indication message is used to instruct the management module (21) to take over another single board; 接管所述另一单板。Take over the other board. 根据权利要求1-10任一项所述的单板,其特征在于,所述管理模块(21)还被配置为:The board according to any one of claims 1 to 10, characterized in that the management module (21) is further configured to: 接收另一单板发送的第五指示消息,所述第五指示消息用于指示所述管理模块(21)停止管理所述另一单板;receiving a fifth indication message sent by another single board, wherein the fifth indication message is used to instruct the management module (21) to stop managing the other single board; 停止管理所述另一单板。Stop managing the other board. 一种网络设备,其特征在于,所述网络设备具有第一单板和第二单板;A network device, characterized in that the network device has a first single board and a second single board; 所述第一单板为如权利要求1-11任一项所述的单板,且所述第一单板中的底板(1)、子板(2)、业务处理模块和管理模块(21)分别为第一底板(111)、第一子板(112)、第一业务处理模块和第一管理模块(1121);The first single board is a single board according to any one of claims 1 to 11, and the base board (1), the sub-board (2), the service processing module and the management module (21) in the first single board are respectively a first base board (111), a first sub-board (112), a first service processing module and a first management module (1121); 所述第二单板具有第二管理模块(1221),所述第二管理模块(1221)能够管理所述第一业务处理 模块。The second board has a second management module (1221), and the second management module (1221) is capable of managing the first service processing module. 根据权利要求12所述的网络设备,其特征在于,所述第二单板为如权利要求1-11任一项所述的单板,且所述第二单板中的底板(1)、子板(2)、业务处理模块和管理模块(21)分别为第二底板(121)、第二子板(122)、第二业务处理模块和所述第二管理模块(1221)。The network device according to claim 12 is characterized in that the second single board is a single board according to any one of claims 1 to 11, and the base board (1), the sub-board (2), the business processing module and the management module (21) in the second single board are respectively a second base board (121), a second sub-board (122), a second business processing module and a second management module (1221). 根据权利要求13所述的网络设备,其特征在于,所述第一底板(111)具有第一检测模块(1112),所述第一检测模块(1112)用于检测所述第一子板(112)是否拔出;The network device according to claim 13, characterized in that the first baseboard (111) has a first detection module (1112), and the first detection module (1112) is used to detect whether the first sub-board (112) is unplugged; 所述第二底板(121)具有第二检测模块(1212),所述第二检测模块(1212)用于检测所述第二子板(122)是否拔出;The second base plate (121) has a second detection module (1212), and the second detection module (1212) is used to detect whether the second sub-plate (122) is pulled out; 所述第一检测模块(1112)和所述第二检测模块(1212)电连接。The first detection module (1112) and the second detection module (1212) are electrically connected. 一种管理方法,其特征在于,所述管理方法应用于如权利要求12-14任一项所述的网络设备中,所述管理方法包括:A management method, characterized in that the management method is applied to the network device according to any one of claims 12 to 14, and the management method comprises: 所述第二管理模块(1221)获取第一指示消息,所述第一指示消息用于指示所述第二管理模块(1221)接管所述第一业务处理模块,所述第一指示消息是由所述第一子板(112)从所述第一底板(111)拔出触发的;The second management module (1221) obtains a first indication message, the first indication message is used to instruct the second management module (1221) to take over the first service processing module, and the first indication message is triggered by the first sub-board (112) being pulled out from the first baseboard (111); 所述第二管理模块(1221)接管所述第一业务处理模块。The second management module (1221) takes over the first business processing module. 根据权利要求15所述的管理方法,其特征在于,所述网络设备为如权利要求14所述的网络设备,所述第二管理模块(1221)获取第一指示消息,包括:The management method according to claim 15, characterized in that the network device is the network device according to claim 14, and the second management module (1221) obtains the first indication message, comprising: 所述第一检测模块(1112)检测到所述第一子板(112)从所述第一底板(111)拔出;The first detection module (1112) detects that the first sub-board (112) is pulled out from the first base board (111); 所述第一检测模块(1112)向所述第二检测模块(1212)发送所述第一指示消息;The first detection module (1112) sends the first indication message to the second detection module (1212); 所述第二检测模块(1212)向所述第二管理模块(1221)发送所述第一指示消息;The second detection module (1212) sends the first indication message to the second management module (1221); 所述第二管理模块(1221)接收所述第一指示消息。The second management module (1221) receives the first indication message. 根据权利要求15或16所述的管理方法,其特征在于,所述第一子板(112)从所述第一底板(111)拔出之前,所述管理方法还包括:The management method according to claim 15 or 16, characterized in that before the first sub-board (112) is pulled out from the first base board (111), the management method further comprises: 所述第一管理模块(1121)获取提示消息,所述提示消息用于提示所述第一子板(112)将要从所述第一底板(111)拔出;The first management module (1121) obtains a prompt message, wherein the prompt message is used to prompt that the first sub-board (112) is about to be pulled out from the first baseboard (111); 所述第一管理模块(1121)将所述第一管理模块(1121)设置为备用。The first management module (1121) sets the first management module (1121) as standby. 根据权利要求15-17任一项所述的管理方法,其特征在于,所述第一子板(112)插入所述第一底板(111)之后,所述管理方法还包括:The management method according to any one of claims 15 to 17, characterized in that after the first sub-board (112) is inserted into the first base board (111), the management method further comprises: 所述第一管理模块(1121)向所述第二管理模块(1221)发送第三指示消息,所述第三指示消息用于指示所述第二管理模块(1221)停止管理所述第一业务处理模块;The first management module (1121) sends a third instruction message to the second management module (1221), wherein the third instruction message is used to instruct the second management module (1221) to stop managing the first service processing module; 所述第二管理模块(1221)接收所述第三指示消息,所述第二管理模块(1221)停止管理所述第一业务处理模块;The second management module (1221) receives the third indication message, and the second management module (1221) stops managing the first service processing module; 所述第一管理模块(1121)接管所述第一业务处理模块。The first management module (1121) takes over the first business processing module. 一种管理方法,其特征在于,所述管理方法应用于如权利要求12-14任一项所述的网络设备中,所述管理方法包括:A management method, characterized in that the management method is applied to the network device according to any one of claims 12 to 14, and the management method comprises: 所述第一管理模块(1121)获取提示消息,所述提示消息用于提示所述第一子板(112)将要从所述第一底板(111)拔出;The first management module (1121) obtains a prompt message, wherein the prompt message is used to prompt that the first sub-board (112) is about to be pulled out from the first baseboard (111); 所述第一管理模块(1121)停止管理所述第一业务处理模块;The first management module (1121) stops managing the first service processing module; 所述第一管理模块(1121)向所述第二管理模块(1221)发送第二指示消息,所述第二指示消息用于指示所述第二管理模块(1221)接管所述第一业务处理模块;The first management module (1121) sends a second instruction message to the second management module (1221), wherein the second instruction message is used to instruct the second management module (1221) to take over the first business processing module; 所述第二管理模块(1221)接收所述第二指示消息,所述第二管理模块(1221)接管所述第一业务处理模块。 The second management module (1221) receives the second indication message, and the second management module (1221) takes over the first business processing module.
PCT/CN2024/077760 2023-07-11 2024-02-20 Single board, network device, and management method Pending WO2025011029A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310851009.2 2023-07-11
CN202310851009.2A CN119316242A (en) 2023-07-11 2023-07-11 Single board, network device and management method

Publications (1)

Publication Number Publication Date
WO2025011029A1 true WO2025011029A1 (en) 2025-01-16

Family

ID=94191122

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/077760 Pending WO2025011029A1 (en) 2023-07-11 2024-02-20 Single board, network device, and management method

Country Status (2)

Country Link
CN (1) CN119316242A (en)
WO (1) WO2025011029A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119208A (en) * 2007-08-28 2008-02-06 福建星网锐捷网络有限公司 Switchboard, service processing board and switching board
CN101202590A (en) * 2007-11-20 2008-06-18 中兴通讯股份有限公司 A network management implementation method of a function-extensible single board
KR20090006658A (en) * 2007-07-12 2009-01-15 주식회사 다산네트웍스 Subboard Expandable Electronics
CN216531372U (en) * 2021-12-24 2022-05-13 北京恒安嘉新安全技术有限公司 Switch ply-yarn drill and switch

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090006658A (en) * 2007-07-12 2009-01-15 주식회사 다산네트웍스 Subboard Expandable Electronics
CN101119208A (en) * 2007-08-28 2008-02-06 福建星网锐捷网络有限公司 Switchboard, service processing board and switching board
CN101202590A (en) * 2007-11-20 2008-06-18 中兴通讯股份有限公司 A network management implementation method of a function-extensible single board
CN216531372U (en) * 2021-12-24 2022-05-13 北京恒安嘉新安全技术有限公司 Switch ply-yarn drill and switch

Also Published As

Publication number Publication date
CN119316242A (en) 2025-01-14

Similar Documents

Publication Publication Date Title
EP2793428B1 (en) Pcie switch-based server system and switching method and device thereof
US10305821B2 (en) Facilitating hot-swappable switch fabric cards
CN101917337B (en) Device and method for interconnecting router cluster middle plates
US7644215B2 (en) Methods and systems for providing management in a telecommunications equipment shelf assembly using a shared serial bus
EP3036873B1 (en) Dedicated control path architecture for stacked packet switches
WO2015157993A1 (en) Interconnection system and apparatus, and data transmission method
CN101198943A (en) Point-to-point link negotiation method and device
WO2019052069A1 (en) Master/standby contention method and device, and application equipment
CN101877631A (en) Server and its service switching method
US6816936B1 (en) Hot-swappable router interface card with stable power on/off procedure
CN101848154B (en) System based on advanced telecom computation architecture
CN112511326B (en) A switching method, device, equipment and storage medium
CN113177018B (en) Server using double-slot CPU
WO2011137797A1 (en) Method and system for data transmission in ethernet
US9384102B2 (en) Redundant, fault-tolerant management fabric for multipartition servers
CN105656711A (en) Signal detecting method and device
CN105812292A (en) Switching equipment stacking method and device
US6715019B1 (en) Bus reset management by a primary controller card of multiple controller cards
WO2025011029A1 (en) Single board, network device, and management method
CN113613347A (en) Single-host multi-disk cluster communication method, device and system
JP6118464B2 (en) Port status synchronization method, related device, and system
CN119603227A (en) Communication channel switching method, server and electronic equipment
WO2016161873A1 (en) Backplate, method and device for analysing message, and method and device for implementing communications
CN120710856A (en) Active/standby switching method, system, device and medium for network management port of plug-in type equipment
WO2024234950A1 (en) Method and apparatus for determining device number, and electronic device and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24838291

Country of ref document: EP

Kind code of ref document: A1