Single board, network equipment and management method

By setting the service processing module on the bottom plate in the network device and the management module on the pluggable daughterboard, the problem of business processing capability degradation during the failure or upgrade of the management module is solved, ensuring the service processing capability of the network device and reliability.

CN119316242APending Publication Date: 2025-01-14HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310851009.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-11
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

When the management module fails or needs to be upgraded, the board needs to be removed, which causes the service processing module to fail to work, resulting in the business processing capacity of the network equipment to decline, and may reduce the number of business boards.

Method used

Design a single board structure, where the business processing module is set on the bottom plate and the management module is set on the pluggable daughter board. When the management module fails or needs to be upgraded, only the daughter board is pulled out. The business processing module of the bottom plate is It can still work, ensuring that the business processing capabilities of network equipment remain unchanged, and not reducing the number of business boards.

Benefits of technology

It realizes that the network equipment business processing capabilities will not affect the management module failure or upgrade, avoids the problem of the reduction in the number of service boards, and improves the reliability and flexibility of network equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119316242A_ABST
    Figure CN119316242A_ABST
Patent Text Reader

Abstract

The invention provides a single board, network equipment and a management method, and belongs to the technical field of communication. The single board comprises a bottom board and a daughter board, and the daughter board is connected with the bottom board in a pluggable mode. The base plate is provided with a business processing module. The daughter board is provided with a management module which is used for managing the business processing module. When the management module breaks down or needs to be upgraded, a user can only pull out the daughter board, and the bottom board is still kept in the network equipment, so that the service processing module on the bottom board can still carry out service processing, and the service processing capacity of the network equipment is kept unchanged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] 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

[0002] 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.

[0003] 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

[0004] 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:

[0005] 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.

[0006] 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.

[0007] 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.

[0008] 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.

[0009] The clock module may be a high-precision clock module, for example, a 1588 clock module.

[0010] 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 subboard, and setting the subboard and the baseboard to be pluggable, when the management module fails or needs to be upgraded, the user can only unplug the subboard, 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.

[0011] 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.

[0012] The first connector and the second connector may be gold finger connectors or board-to-board connectors.

[0013] 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.

[0014] In a possible implementation, the baseboard further includes a detection module, which is configured to: upon detecting that the sub-board is pulled out from the baseboard, send a first indication message to another single board, wherein the first indication message is used to instruct another single board to take over the service processing module.

[0015] 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.

[0016] 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.

[0017] 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.

[0018] 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.

[0019] 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 board through a wire.

[0020] 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.

[0021] 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.

[0022] 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.

[0023] 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.

[0024] 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.

[0025] 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.

[0026] 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.

[0027] 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.

[0028] 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.

[0029] 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.

[0030] In a possible implementation manner, the management module is configured to: receive the fourth indication message through the first detection module.

[0031] 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.

[0032] 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.

[0033] 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.

[0034] 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.

[0035] 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.

[0036] 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.

[0037] 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.

[0038] 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.

[0039] 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.

[0040] In a possible implementation, both the first detection module and the second detection module are FPGAs.

[0041] 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.

[0042] In a possible implementation manner, a connection is provided between the first management module and the second management module.

[0043] 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.

[0044] 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.

[0045] 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.

[0046] 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.

[0047] 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.

[0048] 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.

[0049] 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.

[0050] 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.

[0051] 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.

[0052] 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.

[0053] The technical solution provided by the present disclosure is that before the first sub-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, it can set itself as a standby and notify the second management module to set it as the main one. 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 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 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.

[0054] 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.

[0055] 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.

[0056] 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.

[0057] 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.

[0058] 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.

[0059] 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.

[0060] 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.

[0061] 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.

[0062] 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.

[0063] 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.

[0064] 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.

[0065] 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.

[0066] 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.

[0067] 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.

[0068] 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.

[0069] 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.

[0070] 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.

[0071] 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.

[0072] 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.

[0073] 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.

[0074] 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.

[0075] 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

[0076] Figure 1 is a schematic diagram of a switching device in a related technology provided by an embodiment of the present disclosure;

[0077] Figure 2 It is a schematic diagram of a main control switch board in a related technology provided by an embodiment of the present disclosure;

[0078] Figure 3 It is a logic block diagram of a switching device in a related technology provided by an embodiment of the present disclosure;

[0079] Figure 4 is a schematic diagram of a switching device provided by an embodiment of the present disclosure;

[0080] Figure 5 is a schematic diagram of a main control switch board provided in an embodiment of the present disclosure;

[0081] Figure 6 is a schematic diagram of a main control switch board provided in an embodiment of the present disclosure;

[0082] Figure 7 It is a logic block diagram of a main control switch board provided by an embodiment of the present disclosure;

[0083] Figure 8 It is a logic block diagram of a main control switch board provided by an embodiment of the present disclosure;

[0084] Fig. 9 is a logic block diagram of a switching device provided by an embodiment of the present disclosure;

[0085] Fig.10 is a flow chart of a management method provided by an embodiment of the present disclosure;

[0086] Fig.11 is a flow chart of a management method provided by an embodiment of the present disclosure;

[0087] Fig.12 is a logic block diagram of a switching device provided by an embodiment of the present disclosure;

[0088] Fig.13 is a flow chart of a management method provided by an embodiment of the present disclosure;

[0089] Fig.14 is a logic block diagram of a switching device provided by an embodiment of the present disclosure;

[0090] Fig.15 is a flow chart of a management method provided by an embodiment of the present disclosure;

[0091] Fig.16 is a flow chart of a management method provided by an embodiment of the present disclosure;

[0092] Fig.17 is a schematic diagram of a switching device provided by an embodiment of the present disclosure;

[0093] Fig.18 is a logic block diagram of a switching device provided by an embodiment of the present disclosure;

[0094] Fig.19 is a flow chart of a management method provided by an embodiment of the present disclosure;

[0095] Fig. 20 It is a flowchart of another management method provided by an embodiment of the present disclosure.

[0096] Legend

[0097] 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;

[0098] 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;

[0099] 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;

[0100] 111, a first baseboard, 1111, a first switching module, 1112, a first detection module, 112, a first sub-board, 1121, a first management module;

[0101] 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

[0102] Switching equipment, such as optical line termination (OLT) equipment, undertakes important tasks such as route learning and data packet forwarding. Switching equipment has a control plane and a forwarding plane.

[0103] 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.

[0104] 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.

[0105] 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.

[0106] For example, if Figure 1 As shown, 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 board 100 and the service board 200 are electrically connected through the backplane 300.

[0107] like Figure 2 As shown, the main control switch board 100 has a management module 21 and a switching module 11, the management module 21 is used to manage the switching module 11, and the switching module 11 is used to realize data exchange between different service boards 200. The management module 21 and the switching 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.

[0108] like Figure 2 As shown, 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.

[0109] In related technologies, in order to achieve physical separation of the control plane and the forwarding plane, Figure 3 As shown, the management module 21 and the switching module 11 are made into independent boards, that is, they are 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, so that the switching capacity of the switching device will not be affected.

[0110] 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.

[0111] 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.

[0112] The following is an exemplary description of the main control switch board 100 provided in the embodiment of the present disclosure:

[0113] like Figure 4-Figure 7 As shown, 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 switching module 11, and the switching 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 switching module 11.

[0114] 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.

[0115] 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.

[0116] In some examples, such as Figure 7As shown, 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).

[0117] 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 .

[0118] 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.

[0119] 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.

[0120] The following is an exemplary description of the implementation method of the pluggable connection between the sub-board 2 and the baseboard 1:

[0121] In some examples, such as Figure 5 As shown, 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 .

[0122] In some examples, such as Figure 5 and Figure 6 As shown, the baseboard 1 has a first connector 13 , which is electrically connected to the switch module 11 . The daughterboard 2 has a second connector 23 , which is electrically connected to the management module 21 .

[0123] 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.

[0124] The first connector 13 and the second connector 23 may be gold finger connectors, or board-to-board connectors.

[0125] In some examples, such as Figure 5 and Figure 6 As shown, the base plate 1 has a slide rail 14, and the sub-board 2 is slidably connected to the slide rail 14, so that the sub-board 2 is easy to plug in and out.

[0126] In some examples, such as Figure 5 and Figure 6 As shown, the daughterboard panel 20 of the daughterboard 2 has a handle 24, and the handle 24 is used for the user to hold it, so as to facilitate the user to insert or remove the daughterboard 2.

[0127] In some examples, such as Figure 5 and Figure 6 As shown, the sub-board 2 has an operating member 22, which is used for user operation 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.

[0128] The operating element 22 is electrically connected to the management module 21. Figure 5 and Figure 6 As shown, the operating element 22 may be a button, and the user triggers the prompt message by pressing the operating element 22 .

[0129] 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.

[0130] In some examples, such as Figure 8 As shown, the base plate 1 further comprises a detection module 12, and the detection module 12 is used to detect whether the daughter board 2 is pulled out.

[0131] 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.

[0132] In addition, the management module 21 is also used to manage the detection module 12 .

[0133] In some examples, there is a connection between the detection module 12 and the detection module 12 of another main control switch board 100, and the messages transmitted by the connection may 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.

[0134] 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.

[0135] 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.

[0136] 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.

[0137] 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.

[0138] 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.

[0139] Below, as Fig. 9 As shown, taking two main control switch boards 100 as a first main control switch board 110 and a second main control switch board 120 as an example, the management subjects of the switch modules 11 of the two main control switch boards 100 in various states are described:

[0140] First, the connection relationship between the first main control switch board 110 and the second main control switch board 120 is described:

[0141] like Fig. 9 As shown, 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.

[0142] In some examples, such as Fig. 9 As shown, the first main control switch board 110 and the second main control switch board 120 communicate with each other through the backplane 300 .

[0143] 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.

[0144] The first management interface is a peripheral component interconnect express (PCIe) management interface, a serial management interface or a parallel management interface.

[0145] 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.

[0146] 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.

[0147] In some examples, such as Fig. 9 As shown, there is a connection 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.

[0148] In addition, for the case where the main control switch board 100 further includes a detection module 12, for the convenience of description, Fig. 9As shown, the detection module 12 of the first main control switch board 110 is called a first detection module 1112 , and the detection module 12 of the second main control switch board 120 is called a second detection module 1212 .

[0149] 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.

[0150] The second management interface is a serial peripheral interface (SPI) management interface, a serial management interface or a parallel management interface.

[0151] 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.

[0152] In some examples, such as Fig. 9 As shown, 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.

[0153] Next, the management methods of the first switching module 1111 and the second switching module 1211 in various states are described:

[0154] (1) The first sub-board 112 and the second sub-board 122 are both in place

[0155] 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.

[0156] 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.

[0157] (2) The first sub-board 112 is pulled out from the first base board 111

[0158] 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.

[0159] 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.

[0160] 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:

[0161] In some examples, such as Fig.10 As shown, the second management module 1221 obtains the first indication message including the following steps:

[0162] In step 1001 , the first detection module 1112 detects that the first sub-board 112 is pulled out from the first base board 111 .

[0163] In step 1002 , the first detection module 1112 sends a first indication message to the second detection module 1212 .

[0164] In step 1003 , the second detection module 1212 sends a first indication message to the second management module 1221 .

[0165] Afterwards, in step 1004 , the second management module 1221 receives the first indication message and takes over the first switching module 1111 .

[0166] 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.

[0167] In other examples, such as Fig.11 As shown, the second management module 1221 obtains the first indication message including the following steps:

[0168] In step 1101 , the first detection module 1112 detects that the first sub-board 112 is pulled out from the first base board 111 .

[0169] In step 1102 , the first detection module 1112 sends a first indication message to the second management module 1221 .

[0170] 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 .

[0171] for Fig.11 In the technical solution shown in the figure, 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. The architecture of the switching device after the removal is as follows: Fig.12 shown.

[0172] In other examples, such as Fig.13 As shown, the second management module 1221 obtains the first indication message including the following steps:

[0173] 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 .

[0174] Afterwards, in step 1302 , the second management module 1221 takes over the first switching module 1111 .

[0175] for Fig.13 In the technical solution shown in the figure, since the participation of the first detection module 1112 and the second detection module 1212 is not required, 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 as follows: Fig.14 shown.

[0176] In addition, in the case where the first sub-board 112 has the operating member 22, the user can operate the operating member 22 before the first sub-board 112 is pulled out from the first base board 111. Fig.15 As shown, after the user operates the operating element 22, the switching device performs the following processing:

[0177] In step 1501, the first management module 1121 obtains a prompt message.

[0178] 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 .

[0179] 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.

[0180] 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.

[0181] 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.

[0182] 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.

[0183] In other examples, after the user operates the operating member 22, such as Fig.16 As shown, the switching device performs the following processing:

[0184] In step 1601, the first management module 1121 obtains a prompt message.

[0185] 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 .

[0186] In step 1602 , the first management module 1121 stops managing the first switching module 1111 .

[0187] In step 1603 , the first management module 1121 sends a second indication message to the first detection module 1112 .

[0188] In step 1604 , the first detection module 1112 sends a second indication message to the second detection module 1212 .

[0189] In step 1605 , the second detection module 1212 sends a second indication message to the second management module 1221 .

[0190] In step 1606 , the second management module 1221 receives the second indication message and takes over the first switching module 1111 .

[0191] 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.

[0192] 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.

[0193] 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.

[0194] 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.

[0195] 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.

[0196] 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.

[0197] 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.

[0198] 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.

[0199] (3) The first sub-board 112 is inserted into the first base board 111

[0200] 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 .

[0201] 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.

[0202] Next, the processing performed by the switching device after the first sub-board 112 is inserted into the first baseboard 111 is exemplarily described:

[0203] In some examples, such as Fig.10 As shown, the processing performed by the switching device includes the following steps:

[0204] In step 1005, the first management module 1121 is started.

[0205] 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.

[0206] In step 1006 , the first management module 1121 sends a third indication message to the first detection module 1112 .

[0207] In step 1007 , the first detection module 1112 sends a third indication message to the second detection module 1212 .

[0208] In step 1008 , the second detection module 1212 sends a third indication message to the second management module 1221 .

[0209] In step 1009 , the second management module 1221 receives the third instruction message and stops managing the first switching module 1111 .

[0210] In step 1010 , the first management module 1121 takes over the first switching module 1111 .

[0211] 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.

[0212] In other examples, such as Fig.11 As shown, the processing performed by the switching device includes the following steps:

[0213] In step 1104, the first management module 1121 is started.

[0214] In step 1105 , the first management module 1121 sends a third indication message to the first detection module 1112 .

[0215] In step 1106 , the first detection module 1112 sends a third indication message to the second management module 1221 .

[0216] In step 1107 , the second management module 1221 receives the third instruction message and stops managing the first switching module 1111 .

[0217] In step 1108 , the first management module 1121 takes over the first switching module 1111 .

[0218] for Fig.11 In the technical solution shown in the figure, 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. The architecture of the switching device after the removal is as follows: Fig.12 shown.

[0219] In other examples, such as Fig.13 As shown, the processing performed by the switching device includes the following steps:

[0220] In step 1303, the first management module 1121 is started.

[0221] In step 1304 , the first management module 1121 sends a third indication message to the second management module 1221 .

[0222] In step 1305 , the second management module 1221 stops managing the first switching module 1111 .

[0223] In step 1306 , the first management module 1121 takes over the first switching module 1111 .

[0224] for Fig.13 In the technical solution shown in the figure, since the participation of the first detection module 1112 and the second detection module 1212 is not required, 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 as follows: Fig.14 shown.

[0225] 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.

[0226] 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.

[0227] 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.

[0228] 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.

[0229] 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.

[0230] 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, and 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.

[0231] The present disclosure also provides a switching device, such as Fig.17 and Fig.18 As shown, the switching device includes 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 includes a first baseboard 111 and a first subboard 112, the first subboard 112 is pluggable connected to the first baseboard 111, the first baseboard 111 has a first switching module 1111, and the first subboard 112 has a first management module 1121. The second main control switching board 120 includes a second baseboard 121 and a second subboard 122, the second subboard 122 is pluggable 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 realize 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.

[0232] 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 .

[0233] 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.

[0234] like Fig.18As shown, 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 .

[0235] 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.

[0236] 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.

[0237] In some examples, such as Fig.18 As shown, there is a connection between the first management module 1121 and the second management module 1221.

[0238] In some examples, such as Fig.17 and Fig.18 As shown, 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 service board 200, and the electrical connection between the second main control switching board 120 and the service board 200 are all realized through the backplane 300.

[0239] 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.

[0240] 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.

[0241] In some examples, such as Fig.18 As shown, the first base plate 111 also has a first detection module 1112, and the second base plate 121 also 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.

[0242] 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.

[0243] In some examples, the first detection module 1112 and the second detection module 1212 are both FPGAs.

[0244] 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.

[0245] 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.

[0246] 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.

[0247] In some examples, such as Fig.10 As shown, 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, and 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 a 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.

[0248] In some examples, such as Fig.11 As shown, 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.

[0249] In some examples, such as Fig.13As shown, the second management module 1221 is configured to: detect that the first sub-board 112 is pulled out, and take over the first switching module 1111. That is, the first indication message is detected by the second management module 1221.

[0250] In some examples, such as Fig.15 As shown, 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 will be pulled out from the first baseboard 111, and set the first management module 1121 as standby.

[0251] 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.

[0252] 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.

[0253] In some examples, such as Fig.16 As shown, 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 will 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.

[0254] 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.

[0255] In some examples, after the first sub-board 112 is inserted into the first base board 111, Fig.10 , Fig.11 or Fig.13 As shown, the first management module 1121 is configured to: send a third instruction message to the second management module 1221, and the third instruction 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 instruction 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.

[0256] 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.

[0257] 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.

[0258] The present disclosure also provides a management method, which is applied to the above network device. Fig.19 As shown, the management method includes the following steps:

[0259] In step 1901, the second management module 1221 obtains a first indication message.

[0260] 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 .

[0261] The following is an exemplary description of the implementation manner in which the second management module 1221 obtains the first indication message:

[0262] In some examples, such as Fig.10 As shown, the second management module 1221 obtains the first indication message including the following steps:

[0263] In step 1001 , the first detection module 1112 detects that the first sub-board 112 is pulled out from the first base board 111 .

[0264] In step 1002 , the first detection module 1112 sends a first indication message to the second detection module 1212 .

[0265] In step 1003 , the second detection module 1212 sends a first indication message to the second management module 1221 .

[0266] In step 1004 , the second management module 1221 receives the first indication message and takes over the first switching module 1111 .

[0267] In other examples, such as Fig.11 As shown, the second management module 1221 obtains the first indication message including the following steps:

[0268] In step 1101 , the first detection module 1112 detects that the first sub-board 112 is pulled out from the first base board 111 .

[0269] 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 .

[0270] In step 1103 , the second management module 1221 receives the first indication message and takes over the first switching module 1111 .

[0271] In other examples, such as Fig.13 As shown, the second management module 1221 obtains the first indication message including the following steps:

[0272] 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.

[0273] In step 1302 , the second management module 1221 takes over the first switching module 1111 .

[0274] 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 .

[0275] Correspondingly, such as Fig.15 As shown, after the user operates the operating element 22, the management method further includes the following steps:

[0276] In step 1501, the first management module 1121 obtains a prompt message.

[0277] 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 .

[0278] 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.

[0279] 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.

[0280] 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.

[0281] 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.

[0282] In step 1902 , the second management module 1221 takes over the first switching module 1111 .

[0283] 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.

[0284] 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.

[0285] 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.

[0286] 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.

[0287] The following is an exemplary description of the operations performed by the switching device after the first sub-board 112 is inserted:

[0288] In some examples, such as Fig.10 As shown, in step 1005, the first management module 1121 is started.

[0289] In step 1006 , the first management module 1121 sends a third indication message to the first detection module 1112 .

[0290] In step 1007 , the first detection module 1112 sends a third indication message to the second detection module 1212 .

[0291] In step 1008 , the second detection module 1212 sends a third indication message to the second management module 1221 .

[0292] In step 1009 , the second management module 1221 receives the third instruction message and stops managing the first switching module 1111 .

[0293] In step 1010 , the first management module 1121 takes over the first switching module 1111 .

[0294] In other examples, such as Fig.11 As shown, in step 1104, the first management module 1121 is started.

[0295] In step 1105 , the first management module 1121 sends a third indication message to the first detection module 1112 .

[0296] In step 1106 , the first detection module 1112 sends a third indication message to the second management module 1221 .

[0297] In step 1107 , the second management module 1221 receives the third instruction message and stops managing the first switching module 1111 .

[0298] In step 1108 , the first management module 1121 takes over the first switching module 1111 .

[0299] In other examples, such as Fig.13 As shown, in step 1303, the first management module 1121 is started.

[0300] In step 1304 , the first management module 1121 sends a third indication message to the second management module 1221 .

[0301] In step 1305 , the second management module 1221 stops managing the first switching module 1111 .

[0302] In step 1306 , the first management module 1121 takes over the first switching module 1111 .

[0303] 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.

[0304] The present disclosure also provides a management method, which is applied to the above network device. Fig. 20 As shown, and refer to Fig.16 , the management method comprises the following steps:

[0305] In step 2001, the first management module 1121 obtains a prompt message.

[0306] 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.

[0307] In step 2002 , the first management module 1121 stops managing the first switching module 1111 .

[0308] 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.

[0309] In step 2003 , the first management module 1121 sends a second indication message to the second management module 1221 .

[0310] The second indication message is used to instruct the second management module 1221 to take over the first switching module 1111 .

[0311] 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:

[0312] In some examples, such as Fig.16 As shown, the first management module 1121 sends the second indication message to the second management module 1221, including the following steps:

[0313] In step 1603 , the first management module 1121 sends a second indication message to the first detection module 1112 .

[0314] In step 1604 , the first detection module 1112 sends a second indication message to the second detection module 1212 .

[0315] In step 1605 , the second detection module 1212 sends a second indication message to the second management module 1221 .

[0316] 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 .

[0317] 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 .

[0318] 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.

[0319] In step 2004 , the second management module 1221 receives the second indication message and takes over the first switching module 1111 .

[0320] 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.

[0321] 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.

[0322] 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:

[0323] 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.

[0324] 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.

[0325] In other examples, such as Fig.16 As shown, 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 by the second management module 1221 at the same time without having to switch back to management by the first management module 1121.

[0326] In addition, if Fig.16 As shown, 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 .

[0327] 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.

[0328] 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

1. A single board, characterized in that: The single board comprises a base board (1) and a sub-board (2); 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); 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.

2. The single board according to claim 1, characterized in that The service processing module comprises one or more of a switching module (11), a message identification and analysis module and a clock module.

3. The single board according to claim 1 or 2, characterized in that: The base plate (1) has a first connector (13) and a backplane connector (15), and the daughter board (2) has a second connector (23); 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).

4. The single board according to any one of claims 1 to 3, characterized in that: The base plate (1) further comprises a detection module (12), wherein the detection module (12) is configured to: 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.

5. The single board according to claim 4, characterized in that: The detection module (12) is a field programmable gate array FPGA.

6. 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: 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); The management module (21) is set as standby.

7. 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: 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.

8. The single board according to claim 6 or 7, characterized in that: The sub-board (2) also has 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); Wherein, when the operating element (22) is operated, the management module (21) is triggered to obtain the prompt message.

9. 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.

10. The single board according to any one of claims 1 to 9, characterized in that: The management module (21) is further configured to: 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.

11. The single board according to any one of claims 1 to 10, characterized in that: The management module (21) is further configured to: 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.

12. A network device, characterized in that: The network device comprises a first single board and a second single board; 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); The second single board has a second management module (1221), and the second management module (1221) can manage the first business processing module.

13. The network device according to claim 12, characterized in that: The second single board is a single board as described in 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 the second management module (1221).

14. The network device according to claim 13, characterized in that: The first base plate (111) has a first detection module (1112), and the first detection module (1112) is used to detect whether the first sub-plate (112) is pulled out; 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; The first detection module (1112) and the second detection module (1212) are electrically connected.

15. 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 includes: 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); The second management module (1221) takes over the first business processing module.

16. 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, including: The first detection module (1112) detects that the first sub-board (112) is pulled out from the first base board (111); The first detection module (1112) sends the first indication message to the second detection module (1212); The second detection module (1212) sends the first indication message to the second management module (1221); The second management module (1221) receives the first indication message.

17. 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: 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); The first management module (1121) sets the first management module (1121) as standby.

18. 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: 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; The second management module (1221) receives the third indication message, and the second management module (1221) stops managing the first service processing module; The first management module (1121) takes over the first business processing module.

19. 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 includes: 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); The first management module (1121) stops managing the first service processing module; 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; The second management module (1221) receives the second indication message, and the second management module (1221) takes over the first business processing module.