Optical plate panel port state management method and chassis device

By adopting a primary and backup forwarding board redundancy backup mechanism, the business continuity problem caused by interface board failure is solved, and the redundancy backup of the panel port and business continuity are realized, thereby reducing the cost of the chassis equipment.

CN120811871BActive Publication Date: 2026-07-21NEW H3C TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NEW H3C TECH CO LTD
Filing Date
2025-06-30
Publication Date
2026-07-21

Smart Images

  • Figure CN120811871B_ABST
    Figure CN120811871B_ABST
Patent Text Reader

Abstract

The application provides a light plate panel port state management method and a frame device. In the embodiment, the panel port on the light plate is attached to the primary and backup forwarding plates, and the problem caused by the fact that any existing panel port has only one dependent plate is avoided by means of the redundant backup feature between the primary and backup forwarding plates. In the state information synchronization process of the target panel port, if the primary forwarding plate is abnormal, the backup forwarding plate is switched to a new primary forwarding plate, and each layer of the software structure of the plate that matches the target panel port is traversed in the order from the physical layer of the interface, so that the current actual state of the target panel port is consistent with the state information of the target panel port recorded on some layers of the software architecture of the current primary forwarding plate, the current primary forwarding plate can normally process the service at the software level, and service interruption or migration is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to network communication technology, and in particular to a method for managing the status of a bare board panel and a chassis device. Background Technology

[0002] In common chassis devices such as routers, interface boards often have front panel ports. These ports can be deployed directly on the interface board, or they can be deployed on daughter boards inserted into slots provided by the interface board. Each front panel port on an interface board depends only on the interface board it is on (this interface board is called the dependent board of the front panel port). Any front panel port has only one dependent board; there will never be multiple dependent boards simultaneously. In other words, there is no redundancy or backup for any dependent board of a front panel port.

[0003] Based on the above, if the interface board malfunctions, the panel ports that rely on that interface board will not function properly, thus affecting the continuity of business operations. Summary of the Invention

[0004] This application provides a method for managing the status of bare panel ports and a frame device to avoid the problems caused by existing systems where each panel port has only one dependent board.

[0005] This embodiment provides a method for managing the status of optical board panel ports. The method is applied to a chassis device, which includes primary and backup forwarding boards and at least one optical board. The optical board is connected to both the primary and backup forwarding boards, and each optical board has a panel port managed by the primary and backup forwarding boards. The primary and backup forwarding boards support the same software architecture, which includes at least an interface physical layer, an interface link layer, and an interface network layer. The method includes:

[0006] When the primary forwarding board is functioning normally, if a target panel port is detected to change from normal to abnormal, the status information of the target panel port is updated in the first target layer based on the abnormality, and the status information of the target panel port is also updated synchronously in the second target layer corresponding to the first target layer in the software structure of the backup forwarding board; the first target layer is each layer in the software structure of the primary forwarding board that matches the target panel port; the target panel port can be any panel port.

[0007] When the primary forwarding board fails, the backup forwarding board is switched to the new primary forwarding board through primary / backup switching to replace the failed original primary forwarding board.

[0008] After the backup forwarding board is switched to the new primary forwarding board, the current state of the target panel port is obtained. The software structure of this board is traversed in order from the physical layer of the interface to each layer that matches the target panel port. It is determined whether the state information of the target panel port recorded in the current layer matches the current state of the target panel port. If it matches, the software structure of this board continues to traverse the layers that match the target panel port. If it does not match, the state information of the target panel port is updated in the current layer and in the other layers of the software structure of this board that match the target panel port based on the current state of the target panel port.

[0009] This application provides a chassis device, which includes: a primary and backup main control board, a primary and backup forwarding board, and at least one optical board; the optical board is connected to the primary and backup forwarding boards respectively, the optical board has a panel port, the panel port is managed by the primary and backup forwarding boards, the primary and backup forwarding boards support the same software architecture, the software architecture includes at least an interface physical layer, an interface link layer, and an interface network layer.

[0010] The primary forwarding board is used to update the status information of the target panel port in the first target layer based on the anomaly detected when the target panel port changes from normal to abnormal under normal conditions. Simultaneously, the status information of the target panel port is also updated in the second target layer corresponding to the first target layer in the software structure of the backup forwarding board. The first target layer is any layer in the software structure of the primary forwarding board that matches the target panel port. The target panel port is any panel port.

[0011] The primary control board is used to switch the backup forwarding board to the new primary forwarding board in case the primary forwarding board fails, so that the original primary forwarding board can work in place of the failed one.

[0012] The backup forwarding board is used to obtain the current state of the target panel port after switching to the new primary forwarding board. It then traverses the software structure of the board that matches the target panel port in the order starting from the physical layer of the interface. It determines whether the state information of the target panel port recorded in the current layer matches the current state of the target panel port. If it matches, it continues to traverse the software structure of the board that matches the target panel port. If it does not match, it updates the state information of the target panel port in the current layer and in the other layers of the board that match the target panel port based on the current state of the target panel port.

[0013] As can be seen from the above technical solutions, in this application, the panel port on the optical board is simultaneously attached to the primary and backup forwarding boards. By leveraging the redundancy and backup characteristics between the primary and backup forwarding boards, the problems caused by any existing panel port having only one dependent board are avoided. This ensures that even if one of the forwarding boards that the panel port depends on, such as the primary forwarding board, fails, the panel port can still work normally and continuously, thus ensuring the continuity of services.

[0014] Furthermore, in this embodiment, during the synchronization of the target panel port's status information, if the primary forwarding board malfunctions, such as restarting or being disconnected, it switches to a new primary forwarding board via a backup forwarding board. The system then traverses the software architecture layers of this board that match the target panel port, starting from the physical layer of the interface. It determines whether the status information of the target panel port recorded in the currently traversed layer matches the current status of the target panel port. This ensures that the current actual status of the target panel port is consistent with the status information recorded in certain layers of the software architecture on the current primary forwarding board. This prevents the target panel port's status from being affected by the switching between the primary and backup forwarding boards, ensuring that the current primary forwarding board can process services normally at the software level and avoiding service interruptions or migrations. Attached Figure Description

[0015] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0016] Figure 1 This is a schematic diagram illustrating the application of existing frame equipment;

[0017] Figure 2a A structural diagram of the frame device provided in the embodiments of this application;

[0018] Figure 2b Example structural diagram of the frame device provided in the embodiments of this application;

[0019] Figure 3 This is a network application diagram of the chassis device provided in the embodiments of this application;

[0020] Figure 4 This is a schematic diagram of the software architecture provided in the embodiments of this application;

[0021] Figure 5 A flowchart illustrating the method provided in this application embodiment;

[0022] Figure 6 A schematic diagram illustrating the stages of anomaly occurring on the main forwarding board, as provided in this application embodiment;

[0023] Figure 7 This is a schematic diagram illustrating the synchronization of the status information of the target panel port provided in an embodiment of this application. Detailed Implementation

[0024] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0025] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.

[0026] To enable those skilled in the art to better understand the technical solutions provided in the embodiments of this application, and to make the above-mentioned objectives, features and advantages of the embodiments of this application more apparent and understandable, the technical solutions in the embodiments of this application will be further described in detail below with reference to the accompanying drawings.

[0027] First, the frame device provided in the embodiments of this application will be described:

[0028] The chassis device, such as the router chassis, provided in this application differs from existing chassis devices. In existing chassis devices, the main control board and network board have redundant backups, but the interfaces do not. For example, the structure of an existing chassis device is shown in Table 1 below:

[0029] Slot 0 Slot 1 Slot 2 Slot 3 Slot 4 Slot 5 Slot 6 Slot 7 Slot 8

[0030] Table 1

[0031] As shown in Table 1, slots 0-1 are used to insert the primary and backup main control boards, respectively. For example, slot 0 is used to insert the primary main control board, and slot 1 is used to insert the backup main control board. Slots 2-6 are used to insert different interface boards, and up to 5 interface boards can be inserted in slots 2-6. Slots 7-8 are used to insert the primary and backup network boards, respectively. For example, slot 7 is used to insert the primary network board, and slot 8 is used to insert the backup network board.

[0032] As described above, existing chassis equipment has redundant backups for the main control board and the network board (used for data exchange between interface boards), but no redundant backups for the interface boards. When an interface board malfunctions, the services carried by the panel ports on the malfunctioning interface board need to be switched to other interface boards or other chassis equipment, inevitably increasing networking costs. Applications such as... Figure 1 The scenario shown is a stack of interface boards. If one of the interface boards malfunctions, the stack can be split.

[0033] The chassis device provided in this application embodiment is different from the existing chassis device. The chassis device provided in this embodiment includes a main and backup main control board (i.e., a main main control board and a backup main control board), a main and backup forwarding board (i.e., a main forwarding board and a backup forwarding board), and multiple optical boards. Figure 2a The structure of the frame device provided in this embodiment is illustrated by way of example. Figure 2b An example structure of the chassis device provided in this embodiment is illustrated. Functionally, the function (software function) of the forwarding board is equivalent to the combination of the function of the network board and the interface board in existing chassis devices. That is, the forwarding board (primary forwarding board and backup forwarding board) in this embodiment integrates the functions of both the network board and the interface board in existing chassis devices. This reduces the cost of the chassis device and also reduces the networking cost.

[0034] In this embodiment, no panel ports are deployed on the forwarding boards (primary forwarding board and backup forwarding board). Panel ports are deployed on the optical board.

[0035] In this embodiment, there is no control chip running an operating system on the optical board. However, in terms of physical device form, the optical board is directly inserted into the slot corresponding to the chassis, rather than into the slot provided by the motherboard.

[0036] In this embodiment, the optical board is physically connected to both the primary and backup forwarding boards. The panel ports on the optical board can be simultaneously attached to and managed by both primary and backup forwarding boards. In this embodiment, any panel port can be considered to depend on either the primary or backup forwarding board. In this embodiment, the primary and backup forwarding boards, as dependent boards of the optical board's panel ports, can control the hardware resources on the optical board in software. The primary and backup forwarding boards provide redundancy for each other. This redundancy enhances the interface redundancy backup function of panel ports that depend on these boards, avoiding the problems caused by any single panel port having only one dependent board. This ensures that even if one of the forwarding boards a panel port depends on, such as the primary forwarding board, fails, the panel port can still operate normally and continuously, guaranteeing service continuity. Figure 3 An example is shown in the network application diagram of the chassis device provided in this embodiment.

[0037] contrast Figure 3 and Figure 1 The existing chassis shown in this embodiment demonstrates that the panel ports on the optical board are simultaneously connected to primary and backup forwarding boards. When the primary forwarding board malfunctions, such as failing, the backup forwarding board immediately takes over as the new primary forwarding board, without affecting the services carried by the panel ports on the optical board that rely on the malfunctioning primary forwarding board. This avoids the problems caused by any single panel port having only one dependent board. Of course, the original primary forwarding board, after recovering from the malfunction, becomes the new backup forwarding board, taking over from the primary forwarding board in case of failure. This redundancy of primary and backup forwarding boards greatly enhances interface redundancy and reduces the impact of malfunctions on the network.

[0038] In this embodiment, the primary and backup forwarding boards support the same software architecture, which includes at least the interface physical layer, the interface link layer, and the interface network layer. Figure 4 An example is shown in the structure diagram of the software architecture. For example... Figure 4 As shown, each layer has its own business module, which is responsible for the business processing of that layer.

[0039] As described above, the panel ports on the optical board are attached to the primary and backup forwarding boards. Under this premise, changes in the state of the panel ports need to be synchronized across all layers of the software architecture on both the primary and backup forwarding boards. The following is a detailed description:

[0040] See Figure 5 , Figure 5 This is a flowchart illustrating a method provided in an embodiment of this application. This process is applied to the chassis device provided in the aforementioned embodiment.

[0041] like Figure 5 As shown, the process may include the following steps:

[0042] Step 501: When the primary forwarding board is normal, if the target panel port is detected to change from normal to abnormal, the status information of the target panel port is updated in the first target layer based on the abnormality, and the status information of the target panel port is updated synchronously in the second target layer corresponding to the first target layer in the software structure of the backup forwarding board; the first target layer is any layer in the software structure of the primary forwarding board that matches the target panel port; the target panel port is any panel port.

[0043] It should be noted that in this embodiment, when the primary forwarding board is normal, if the target panel port is detected to change from abnormal to normal, the status information of the target panel port is updated in the first target layer based on the change, and the status information of the target panel port is updated synchronously in the second target layer corresponding to the first target layer in the software structure of the backup forwarding board; the first target layer is each layer in the software structure of the primary forwarding board that matches the target panel port; the target panel port is any panel port.

[0044] The primary forwarding board has a software timed poller. When the primary forwarding board is functioning normally, it periodically reads the register information corresponding to the target panel port based on the software timed poller (equivalent to a status query mechanism). If the currently read register information differs from the most recently read register information and the currently read register information indicates an anomaly, then it is determined that the target panel port has changed from normal to abnormal. If the currently read register information differs from the most recently read register information and the currently read register information indicates a normal change, then it is determined that the target panel port has changed from abnormal to normal.

[0045] Here, the first target layer refers to the layers on the primary forwarding board's software architecture that match the target panel port; the second target layer refers to the layers on the backup forwarding board's software architecture that match the target panel port. For example, if the target panel port is used for Layer 2 services, the first target layer includes the interface physical layer and interface link layer on the primary forwarding board's software architecture; the second target layer includes the interface physical layer and interface link layer on the backup forwarding board's software architecture. If the target panel port is used for Layer 3 services, the first target layer includes the interface physical layer, interface link layer, and interface network layer on the primary forwarding board's software architecture; the second target layer includes the interface physical layer, interface link layer, and interface network layer on the backup forwarding board's software architecture.

[0046] In this embodiment, if a target panel port is detected to change from normal to abnormal, the state information of the target panel port is updated in the first target layer, for example, by recording the state information of the target panel port in the first target layer as information indicating an abnormality. Similarly, if a target panel port is detected to change from abnormal to normal, the state information of the target panel port is updated in the first target layer, for example, by recording the state information of the target panel port in the first target layer as information indicating normality.

[0047] The reason for recording the status information of the target panel port at the first target layer is to facilitate the primary forwarding board to select normal panel ports (i.e., those with normal status information) from the panel ports whose status information indicates an abnormality when forwarding data.

[0048] Step 502: When the primary forwarding board malfunctions, the backup forwarding board is switched to a new primary forwarding board to replace the malfunctioning original primary forwarding board through primary / backup switching.

[0049] In this embodiment, the primary control board and the primary forwarding board maintain a heartbeat detection to confirm whether the primary forwarding board is malfunctioning. Once the heartbeat detection confirms that the primary forwarding board is malfunctioning, the backup forwarding board is notified so that the backup forwarding board can perform a primary / backup switchover to become the new primary forwarding board in place of the malfunctioning original primary forwarding board.

[0050] Step 503: After the backup forwarding board is switched to the new primary forwarding board, obtain the current state of the target panel port, traverse the layers of the software structure of this board that match the target panel port in the order starting from the physical layer of the interface, and determine whether the state information of the target panel port recorded in the current layer matches the current state of the target panel port. If yes, continue to traverse the layers of the software structure of this board that match the target panel port; if no, update the state information of the target panel port in the current layer and the other layers of the software structure of this board that match the target panel port based on the current state of the target panel port.

[0051] As described in step 501, during the synchronization process, if the primary forwarding board malfunctions, such as restarting or being disconnected, the current actual state of the target panel port may be inconsistent with the state information of the target panel port recorded at certain layers of the software architecture on the original backup forwarding board (which has now been switched to the new primary forwarding board). Figure 6 As shown, if the primary forwarding board has not yet synchronized the target panel port's status information to the backup forwarding board's interface physical layer, and the primary forwarding board experiences an anomaly such as a restart or disconnection, the current actual status of the target panel port will be inconsistent with the status information recorded by the interface physical layer. Similarly, if the primary forwarding board has not yet synchronized the target panel port's status information to the backup forwarding board's interface link layer, and the primary forwarding board experiences an anomaly such as a restart or disconnection, the current actual status of the target panel port will be inconsistent with the status information recorded by the interface link layer. Furthermore, if the primary forwarding board has not yet synchronized the target panel port's status information to the backup forwarding board's interface network layer, and the primary forwarding board experiences an anomaly such as a restart or disconnection, the current actual status of the target panel port will be inconsistent with the status information recorded by the interface network layer.

[0052] To avoid this inconsistency, this embodiment provides step 503 as described above. Through step 503, the main forwarding board can achieve redundant backup of the panel port status information regardless of which stage of synchronization anomaly occurs, such as being unplugged or restarted.

[0053] Specifically, as described in step 503, after the backup forwarding board is switched to the new primary forwarding board, the new primary forwarding board will first obtain the current status of the target panel port. For example, it will read the register information corresponding to the target panel port to obtain the current status of the target panel port.

[0054] Then, the backup forwarding board traverses each layer of its software structure that matches the target panel port in the order starting from the physical layer of the interface. It determines whether the status information of the target panel port recorded in the current layer matches the current status of the target panel port. If it matches, it continues to traverse the layers of its software structure that match the target panel port. If it does not match, it updates the status information of the target panel port in the current layer and in the other layers of its software structure that match the target panel port based on the current status of the target panel port.

[0055] Here, based on the current state of the target panel port, updating the state information of the target panel port in the current layer and other layers matching the target panel port in the software structure of this board may include: updating the state information of the target panel port in the current layer based on the current state of the target panel port; determining whether the current layer is the last layer matching the target panel port in the software structure of this board; if not, reporting the current state of the target panel port to the next layer, taking the previous layer as the current layer, and returning the step of updating the state information of the target panel port in the current layer based on the current state of the target panel port. Figure 6 An example was given to illustrate this.

[0056] This concludes the process. Figure 5 The process is shown below.

[0057] pass Figure 5 As can be seen from the process shown, in this embodiment, the panel port on the optical board is simultaneously attached to the primary and backup forwarding boards. By leveraging the redundancy backup characteristics between the primary and backup forwarding boards, the interface redundancy backup function of the panel port that depends on the primary and backup forwarding boards is realized. This avoids the problems caused by any existing panel port having only one dependent board. It ensures that even if one of the forwarding boards that the panel port depends on, such as the primary forwarding board, fails, the panel port can still work normally and continuously, ensuring the continuity of services.

[0058] Furthermore, in this embodiment, during the synchronization of the target panel port's status information, if the primary forwarding board malfunctions, such as restarting or being disconnected, it switches to a new primary forwarding board via a backup forwarding board. The system then traverses the software architecture layers of this board that match the target panel port, starting from the physical layer of the interface. It determines whether the status information of the target panel port recorded in the currently traversed layer matches the current status of the target panel port. This ensures that the current actual status of the target panel port is consistent with the status information recorded in certain layers of the software architecture on the current primary forwarding board. This prevents the target panel port's status from being affected by the switching between the primary and backup forwarding boards, ensuring that the current primary forwarding board can process services normally at the software level and avoiding service interruptions or migrations.

[0059] Furthermore, in this embodiment, the functions of both the network board and the interface board in the existing chassis equipment are integrated through the forwarding board (primary forwarding board and backup forwarding board), which reduces the cost of the chassis equipment and also reduces the networking cost.

[0060] The following is an example of step 501:

[0061] In this embodiment, if the target panel port is used for Layer 2 services, the primary forwarding board first updates the status information of the target panel port at the interface physical layer of the software architecture of the primary forwarding board, and simultaneously updates the status information of the target panel port at the interface physical layer of the software architecture of the backup forwarding board; the primary forwarding board then updates the status information of the target panel port at the interface link layer of the software architecture of the primary forwarding board, and simultaneously updates the status information of the target panel port at the interface link layer of the software architecture of the backup forwarding board.

[0062] If the target panel port is used for Layer 3 services, the primary forwarding board first updates the status information of the target panel port at the interface physical layer of its software architecture, and simultaneously updates the status information of the target panel port at the interface physical layer of its software architecture. The primary forwarding board then updates the status information of the target panel port at the interface link layer of its software architecture, and simultaneously updates the status information of the target panel port at the interface link layer of its software architecture. Finally, the primary forwarding board updates the status information of the target panel port at the interface network layer of its software architecture, and simultaneously updates the status information of the target panel port at the interface network layer of its software architecture. Figure 7 An illustration was provided.

[0063] The above description enables timely synchronization between the primary and backup forwarding boards' software architectures when the status of the front panel ports on the chassis changes. This ensures that during subsequent primary / backup switching between the primary and backup forwarding boards, business operations can be processed normally at the software level based on the synchronized information, avoiding business interruptions or migrations.

[0064] The methods provided in the embodiments of this application have been described above.

[0065] Based on the same application concept as the above method, this application embodiment also provides a machine-readable storage medium storing a plurality of computer instructions, which, when executed by a processor, can implement the method disclosed in the above examples of this application.

[0066] For example, the aforementioned machine-readable storage medium can be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, messages, etc. For instance, machine-readable storage media can be: RAM (Random Access Memory), volatile memory, non-volatile memory, flash memory, storage drives (such as hard disk drives), solid-state drives, any type of storage disk (such as optical discs, DVDs, etc.), or similar storage media, or combinations thereof.

[0067] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which can take the form of a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email sending and receiving device, game console, tablet computer, wearable device, or any combination of these devices.

[0068] For ease of description, the above devices are described separately by function as various units. Of course, in implementing this application, the functions of each unit can be implemented in one or more software and / or hardware.

[0069] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of this application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0070] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable message processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable message processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0071] Furthermore, these computer program instructions can also be stored in a computer-readable storage medium that can direct a computer or other programmable message processing device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in the process. Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0072] These computer program instructions can also be loaded onto a computer or other programmable message processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable device for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0073] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A method for managing the status of a bare panel opening, characterized in that, This method is applied to a chassis device, which includes a primary and backup forwarding board and at least one optical board; the optical board is connected to the primary and backup forwarding boards respectively, and the optical board has a panel opening, which is managed by the primary and backup forwarding boards; The primary and backup forwarding boards support the same software architecture, which includes at least an interface physical layer, an interface link layer, and an interface network layer; the method includes: When the primary forwarding board is functioning normally, if a target panel port is detected to change from normal to abnormal, the status information of the target panel port is updated in the first target layer based on the abnormality, and the status information of the target panel port is also updated synchronously in the second target layer corresponding to the first target layer in the software structure of the backup forwarding board; the first target layer is each layer in the software structure of the primary forwarding board that matches the target panel port; the target panel port can be any panel port. When the primary forwarding board fails, the backup forwarding board is switched to the new primary forwarding board through primary / backup switching to replace the failed original primary forwarding board. After the backup forwarding board is switched to the new primary forwarding board, the current state of the target panel port is obtained. The software structure of this board is traversed in order from the physical layer of the interface to each layer that matches the target panel port. It is determined whether the state information of the target panel port recorded in the current layer matches the current state of the target panel port. If it matches, the software structure of this board continues to traverse the layers that match the target panel port. If it does not match, the state information of the target panel port is updated in the current layer and in the other layers of the software structure of this board that match the target panel port based on the current state of the target panel port.

2. The method according to claim 1, characterized in that, The method further includes: When the primary forwarding board is functioning normally, if a target panel port is detected to change from abnormal to normal, the status information of the target panel port is updated in the first target layer based on this change, and the status information of the target panel port is also updated synchronously in the second target layer corresponding to the first target layer in the software structure of the backup forwarding board; the first target layer is any layer in the software structure of the primary forwarding board that matches the target panel port.

3. The method according to claim 1 or 2, characterized in that, If the target panel port is used for Layer 2 services, the first target layer includes the interface physical layer and interface link layer in the software structure of the primary forwarding board; the second target layer includes the interface physical layer and interface link layer in the software structure of the backup forwarding board. If the target panel port is used for Layer 3 services, the first target layer includes the interface physical layer, interface link layer, and interface network layer of the software structure of the primary forwarding board; the second target layer includes the interface physical layer, interface link layer, and interface network layer of the software structure of the backup forwarding board.

4. The method according to claim 1, characterized in that, The process of updating the status information of the target panel port at the first target layer and simultaneously updating the status information of the target panel port at the second target layer based on the anomaly includes: If the target panel port is used for Layer 2 services, the status information of the target panel port is first updated at the interface physical layer of the software structure of the primary forwarding board, and the status information of the target panel port is simultaneously updated at the interface physical layer of the software structure of the backup forwarding board; then the status information of the target panel port is updated at the interface link layer of the software structure of the primary forwarding board, and the status information of the target panel port is simultaneously updated at the interface link layer of the software structure of the backup forwarding board. If the target panel port is used for Layer 3 services, the status information of the target panel port is first updated at the interface physical layer of the software architecture of the primary forwarding board, and simultaneously updated at the interface physical layer of the software architecture of the backup forwarding board; then the status information of the target panel port is updated at the interface link layer of the software architecture of the primary forwarding board, and simultaneously updated at the interface link layer of the software architecture of the backup forwarding board; finally, the status information of the target panel port is updated at the interface network layer of the software architecture of the primary forwarding board, and simultaneously updated at the interface network layer of the software architecture of the backup forwarding board.

5. The method according to claim 1, characterized in that, The detection of a target panel port changing from normal to abnormal includes: reading the register information corresponding to the target panel port according to a set status query mechanism; if the currently read register information is different from the most recently read register information and the currently read register information indicates an abnormality, then it is determined that the target panel port has changed from normal to abnormal. The detection of the target panel port changing from abnormal to normal includes: reading the register information corresponding to the target panel port according to the set status query mechanism; if the currently read register information is different from the most recently read register information and the currently read register information indicates that it is normal, then it is determined that the target panel port has changed from abnormal to normal.

6. The method according to claim 1, characterized in that, The process of updating the state information of the target panel port based on its current state, and in the current layer and other layers matching the panel port in the software structure of this board, includes: Based on the current state of the target panel port, update the state information of the target panel port in the current layer; The steps include determining whether the current layer is the last layer that matches the target panel port in the software structure of this board; if not, reporting the current status of the target panel port to the upper layer, taking the upper layer as the current layer, and returning the steps of updating the status information of the target panel port in the current layer based on the current status of the target panel port.

7. The method according to claim 1, characterized in that, Neither the primary forwarding board nor the backup forwarding board has a panel port. The main forwarding board has the same function as the interface board and the mesh board in traditional chassis equipment.

8. A frame assembly, characterized in that, The chassis device includes: a main control board and a backup main control board, a main and backup forwarding board and at least one optical board; the optical board is connected to the main and backup forwarding boards respectively, the optical board has a panel port, the panel port is managed by the main and backup forwarding boards, the main and backup forwarding boards support the same software architecture, the software architecture includes at least an interface physical layer, an interface link layer and an interface network layer. The primary forwarding board is used to update the status information of the target panel port in the first target layer based on the anomaly detected when the target panel port changes from normal to abnormal under normal conditions. Simultaneously, the status information of the target panel port is also updated in the second target layer corresponding to the first target layer in the software structure of the backup forwarding board. The first target layer is any layer in the software structure of the primary forwarding board that matches the target panel port. The target panel port is any panel port. The primary control board is used to switch the backup forwarding board to the new primary forwarding board in case the primary forwarding board fails, so that the original primary forwarding board can work in place of the failed one. The backup forwarding board is used to obtain the current state of the target panel port after switching to the new primary forwarding board. It then traverses the software structure of the board that matches the target panel port in the order starting from the physical layer of the interface. It determines whether the state information of the target panel port recorded in the current layer matches the current state of the target panel port. If it matches, it continues to traverse the software structure of the board that matches the target panel port. If it does not match, it updates the state information of the target panel port in the current layer and in the other layers of the board that match the target panel port based on the current state of the target panel port.

9. The frame equipment according to claim 8, characterized in that, When the primary forwarding board is operating normally, if it detects that the target panel port has changed from abnormal to normal, it updates the status information of the target panel port in the first target layer based on the change, and simultaneously updates the status information of the target panel port in the second target layer corresponding to the first target layer in the software structure of the backup forwarding board; the first target layer is any layer in the software structure of the primary forwarding board that matches the target panel port; the target panel port is any panel port.

10. The frame equipment according to claim 8 or 9, characterized in that, If the target panel port is used for Layer 2 services, the first target layer includes the interface physical layer and interface link layer of the primary forwarding board's software architecture; the second target layer includes the interface physical layer and interface link layer of the backup forwarding board's software architecture. If the target panel port is used for Layer 3 services, the first target layer includes the interface physical layer, interface link layer, and interface network layer of the primary forwarding board's software architecture; the second target layer includes the interface physical layer, interface link layer, and interface network layer of the backup forwarding board's software architecture; and / or, The process of updating the state information of the target panel port based on its current state, and in the current layer and other layers matching the panel port in the software structure of this board, includes: Based on the current state of the target panel port, update the state information of the target panel port in the current layer; The steps include: determining whether the current layer is the last layer in the software structure of this board that matches the target panel port; if not, reporting the current state of the target panel port to the next higher layer, using the previous layer as the current layer, returning the current state of the target panel port, and updating the state information of the target panel port at the current layer; and / or... Neither the primary forwarding board nor the backup forwarding board has a panel port; the primary forwarding board functions as an interface board and a mesh board in a traditional chassis device.