Business board management method and system, electronic equipment and storage medium
By introducing the communication mechanism of the first arbitration network element and the second arbitration network element in the business board management system, in response to the deducting of the service board, the problem of deducting the service board when both the main control board and the backup control board are faulty is solved, and the stability of the network is improved.
Patent Information
- Application Number
- CN202311635340.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-30
- Publication Date
- 2025-05-30
AI Technical Summary
After both the main control board and the backup control board fail, the problem of de-pipe of the business board cannot be solved, resulting in the network stability being affected.
The first arbitration network element in response to the first communication message sent by the second arbitration network element, query the local second communication message, and after determining that the second communication message contains the target message, the second service board is managed through the first service board to solve the problem of de-management of the service board.
It realizes that when both the main control board and the backup control board are faulty, the service board can still be managed effectively, the network stability can be improved, and the service board can be avoided from being out of control.
Smart Images

Figure CN120075030A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technologies, and in particular, to a method, a system, an electronic device, and a storage medium for managing a service board. Background Art
[0002] With the development of network technologies, people have increasingly higher requirements for network stability.
[0003] Currently, in order to improve network stability, an arbitration network element is usually used to manage a control single board, which includes a main control single board and a standby control single board, and the control single board is used to control a service board. That is, when it is determined that the main control single board fails, the service board is out of management. At this time, the standby control single board can be switched to the main control single board to resume the management of the service board. However, after both the main control single board and the standby control single board fail, the problem of the above-mentioned service board being out of management cannot be solved.
[0004] Therefore, in practical applications, a solution that can still solve the problem of a service board being out of management after both the main control single board and the standby control single board fail is needed. Summary of the Invention
[0005] The main purpose of the present application is to provide a method, a system, an electronic device, and a storage medium for managing a service board, aiming to solve the technical problem that the problem of a service board being out of management cannot be solved after both the main control single board and the standby control single board fail.
[0006] To achieve the above purpose, the present application provides a method for managing a service board, which is applied to a first arbitration network element. The method for managing the service board includes:
[0007] In response to a first communication message, query a second communication message locally, where the first communication message is sent by a second arbitration network element to the first arbitration network element after the second arbitration network element is disconnected from a first control single board it manages, and the second communication message is a message reported by a first service board managed by the first arbitration network element to the first arbitration network element;
[0008] After determining that the second communication message includes a target message, manage a second service board through the first service board, where the target message is a message sent by a second service board managed by the second arbitration network element to the first service board after the second service board is disconnected from the first control single board.
[0009] Exemplarily, to achieve the above purpose, the present application further provides a system for managing a service board. The system for managing the service board includes a first arbitration network element, a second arbitration network element, a second control single board and a first service board managed by the first arbitration network element, and a first control unit and a second service board managed by the second arbitration network element. The first control single board includes a first main control single board and a first standby control single board; where
[0010] The first arbitration network element is configured to query a second communication message locally in response to a first communication message, where the first communication message is sent by a second arbitration network element to the first arbitration network element after the second arbitration network element is disconnected from the first control single board, and the second communication message is a message reported by the first service board to the first arbitration network element; and after determining that the second communication message includes a target message, manage the second service board through the first service board, where the target message is a message sent by the second service board to the first service board after the second service board is disconnected from the first control single board.
[0011] The second arbitration network element is configured to send a first communication message to a first network element connected to the second arbitration network element in response to being disconnected from the first control single board.
[0012] Exemplarily, to achieve the above object, the present application further provides an electronic device, where the device includes: a memory, a processor, and a management program of a service board stored on the memory and executable on the processor, and the management program of the service board is configured to implement the steps of the management method of the service board as described above.
[0013] Exemplarily, to achieve the above object, the present application further provides a storage medium, where a management program of a service board is stored on the storage medium, and when the management program of the service board is executed by a processor, the steps of the management method of the service board as described above are implemented.
[0014] An embodiment of the present application provides a management method for a service board. After a second arbitration network element is disconnected from a first control single board it manages, the second arbitration network element will send a first communication message to a first arbitration network element. After a second service board managed by the second arbitration network element is disconnected from the first control single board, the second service board will send a target message to a first service board, and a first service board managed by the first arbitration network element will report a second communication message to the first arbitration network element; it can be understood that the first arbitration network element queries the second communication message locally in response to the first communication message; after determining that the target message is included in the second communication message, it is determined that the first communication message sent by the second arbitration network element and the target message sent by the second service board managed by the second arbitration network element are received, that is, it is determined that the second service board is out of management, and the second service board is managed through the first service board, thereby solving the technical problem of the service board being out of management after both the main control single board and the standby control single board fail in the related art. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a schematic flowchart of the first embodiment of the management method for the service board of the present application;
[0016] Figure 2It is the architecture diagram of the management system for the service board of this application;
[0017] Figure 3 It is the schematic diagram of the first scenario of the first embodiment of the management method for the service board of this application;
[0018] Figure 4 It is the schematic diagram of the second scenario of the second embodiment of the management method for the service board of this application;
[0019] Figure 5 It is the schematic diagram of the structure of the hardware operating environment involved in the solution of this embodiment.
[0020] The realization, functional features and advantages of the purpose of this application will be further described with reference to the embodiments and the accompanying drawings. Specific Embodiments
[0021] It should be understood that the specific embodiments described herein are only used to explain this application and are not used to limit this application.
[0022] Refer to Figure 1 , Figure 1 It is the flowchart of the first embodiment of the management method for the service board of this application.
[0023] This embodiment provides an embodiment of the management method for the service board. It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.
[0024] The management method for the service board in this embodiment is applied to the first arbitration network element. Specifically, the management method for the service board includes the following steps:
[0025] Step S110, in response to the first communication message, query the local second communication message, where the first communication message is sent by the second arbitration network element to the first arbitration network element after it is disconnected from the first control single board it manages, and the second communication message is the message reported by the first service board managed by the first arbitration network element to the first arbitration network element.
[0026] It should be noted that the first arbitration network element belongs to the management system of the service board. As Figure 2 shown, the management system of the service board further includes a second arbitration network element, a second control single board and a first service board managed by the first arbitration network element, and a first control unit and a second service board managed by the second arbitration network element.
[0027] Among them, the first arbitration network element and the second arbitration network element are both network elements configured with an arbitration agent function. The arbitration agent function of the second arbitration network element is used to perform arbitration management on the first control single board or the second service board. Specifically, the first control single board includes a first main control single board and a first standby control single board. The meaning of arbitration is to make a judgment on multiple objects. The ways for the second arbitration network element to perform arbitration management on the first control single board include, but are not limited to, setting the first standby control single board as the new main control single board when the first main control single board fails.
[0028] Among them, network elements include switching devices, terminal devices, transmission devices, etc.; for the configuration of the arbitration agent function, it can be achieved through network management, or the arbitration agent function can be directly built into the network element.
[0029] Generally, taking the second arbitration network element as an example, the process for the second arbitration network element to manage the second service board includes: after the second arbitration network element receives the service instruction related to the second service board sent by the network management, it will send the service instruction to the first main control single board. Since the first main control single board is directly connected to the first service board, the first main control single board forwards the service instruction to the second service board, and the second service board processes the service instruction. The service instruction includes, but is not limited to, instructions corresponding to OTN (Optical Transport Network) services and instructions corresponding to PTN (Packet Transport Network) services.
[0030] Taking the second arbitration network element as an example, after both the first main control single board and the first standby control single board fail, the service instruction sent by the network management to the second arbitration network element cannot be sent to the first main control single board or the first standby control single board, and cannot be sent to the second service board by the first main control single board or the first standby control single board, resulting in the second service board being out of management, and the above problem of the second service board being out of management cannot be solved in the related art.
[0031] To solve the above problem, after the second arbitration network element in this embodiment is disconnected from the first control single board it manages, it will send a first communication message to the first arbitration network element. After the second service board managed by the second arbitration network element is disconnected from the first control single board, it will send a target message to the first service board, and the first service board managed by the first arbitration network element will report a second communication message to the first arbitration network element.
[0032] Therefore, in response to the first communication message, before querying the local second communication message, the first arbitration network element receives the second communication message reported by the first service board through the second control single board, where the second control single board is the control single board managed by the first arbitration network element.
[0033] It should be noted that both the first communication message and the second communication message are one of the handshake messages and the heartbeat messages.
[0034] Specifically, the third communication message is a heartbeat packet. The second main control single board sends the heartbeat packet to the second arbitration network element in real time. When the heartbeat packet is not received within a preset first period, it is determined that the connection is disconnected, and the disconnection situation, disconnection time, etc. are added to the first communication message; if the third communication message is a handshake packet, the second arbitration network element sends the handshake packet to the second main control single board in real time. If the acknowledgment packet (ACK (Acknowledge) packet) sent by the second main control single board is not received within the second preset period, it is determined that the connection is disconnected.
[0035] It should be noted that both the first preset period and the second preset period can be set separately as needed, such as 2 ms, 3 ms, etc., and no specific limitation is made in this embodiment.
[0036] It should be noted that the message formats of the first communication message and the second communication message are preset, and the parameter types of the first communication message and the second communication message are the same. Among them, the parameter types include disconnection situation, disconnection time, etc.
[0037] In this embodiment, in response to the first communication message, the first arbitration network element queries the local second communication message. If no message matching the first communication message is found in the local second communication message, no further operation is performed.
[0038] Specifically, the implementation manner of determining whether there is a target message matching the first communication message in the second communication message may be: determining the source address of the communication message in the second communication message; determining that the communication message with the source address being the second service board is the target message.
[0039] It can be understood that the first communication message is sent from the second arbitration network element to the first arbitration network element. After it is determined that there is a target message sent by the second service board in the second communication message, it is determined that the message matching is successful, that is, messages regarding disconnection sent by both the second arbitration network element and the second service board are received.
[0040] The implementation manner of determining whether there is a target message matching the first communication message in the second communication message may also be: directly comparing the parameter information carried in the first communication message and the second communication message. For example, for the disconnection situation carried in the first communication message and the second communication message, when it is determined that the disconnection situation carried in the first communication message is disconnection from the first control single board and there is a message with the disconnection situation being disconnection from the first control single board in the second communication message, it is determined that the message with the disconnection situation being disconnection from the first control single board is the target message.
[0041] Step S120: After determining that the second communication message includes a target message, the first service board manages the second service board, where the target message is a message sent by the second service board managed by the second arbitration network element to the first service board after a disconnection occurs between the second service board and the first control single board.
[0042] Since the second communication message is used to represent the disconnection between the second service board managed by the second arbitration network element and the first control single board, and the first communication message is used to represent the disconnection between the second arbitration network element and the first control single board, therefore, when the first communication message is received and it is determined that the second communication message includes a target message, it can be determined that the second service board has a problem of being out of management. Therefore, the first arbitration network element needs to take over the second service board, that is, manage the second service board through the first service board.
[0043] It should be noted that before the first arbitration network element manages the second service board through the first service board, that is, before the first arbitration network element officially takes over the second service board, it needs to notify the second arbitration network element first. After receiving the feedback from the second arbitration network element, the first arbitration network element starts to manage the second service board through the first service board.
[0044] Specifically, before managing the second service board through the first service board, the first arbitration network element sends a feedback message to the second arbitration network element.
[0045] It should be noted that the feedback message is used to represent that the first arbitration network element manages the second service board, that is, the first arbitration network element sends a feedback message to notify the second arbitration network element that the second service board will be managed by the first arbitration network element. After receiving the feedback information of the second arbitration network element for this feedback message, the first arbitration network element starts to manage the second service board through the first service board.
[0046] Among them, information such as the service transmission path is carried in the feedback message.
[0047] Specifically, the implementation manner of managing the second service board through the first service board may be:
[0048] The first arbitration network element responds to a service instruction corresponding to the second service board sent by the second arbitration network element, and transmits the service instruction to the second service board through the first service board.
[0049] It should be noted that the service instruction is sent by the second arbitration network element to the first arbitration network element after receiving the feedback message. Specifically, such as Figure 3As shown in the figure, the second arbitration network element receives the service instruction sent by the network management to the second service board. The second arbitration network element forwards the service instruction to the first arbitration network element based on the service transmission path. The first arbitration network element issues the service instruction to the first service board, and then the first service board issues the service instruction to the second service board (the service boards managed by different arbitration network elements are communicatively connected, but the control single boards managed by different arbitration network elements are not directly communicatively connected). Thus, after both the first main control single board and the first standby control single board fail, the second service board can still process services normally. That is, the second service board can be managed by the first arbitration network element, solving the problem of the second service being out of management, thereby improving the stability of the network.
[0050] Referring to Figure 4 , based on the above first embodiment, a second embodiment of the management method of the service board of the present application is proposed. In this embodiment, applied to the second arbitration network element, the management method of the service board includes:
[0051] A1: In response to disconnection from the first control single board, send a first communication message to the first network element connected to the second arbitration network element, so that the first arbitration network element in the first network element manages the second service board managed by the second arbitration network element based on the first communication message;
[0052] Wherein, the first control single board is the control single board managed by the second arbitration network element, and the first control single board includes a first main control single board and a first standby control single board.
[0053] The management method of the service board in this embodiment is applied to the second arbitration network element.
[0054] Specifically, in response to disconnection from the first control single board, the second arbitration network element sends a first communication message to the first network element connected to the second arbitration network element. The specific sending method can be broadcast or multicast, etc. Among them, the first network element includes the first arbitration network element. Therefore, the first arbitration network element can receive the first communication message.
[0055] Among them, the process by which the second arbitration network element determines whether it is disconnected from the first control single board can be, as Figure 2 shown, the second arbitration network element sends a third communication message to the second main control single board in real time, but does not receive the feedback information of the second main control single board for the third communication message. Further, the second arbitration network element sends a third communication message to the second standby control single board, and at the same time does not receive the feedback information of the second standby control single board for the third communication message. The second arbitration determines that it is disconnected from the first control single board.
[0056] Further, the second arbitration network element sends a first communication message to the first network element connected to the second arbitration network element, and the first communication message is used to indicate that the second arbitration network element is disconnected from the first control single board.
[0057] Specifically, after the second service board managed by the second arbitration network element is disconnected from the first control single board, it sends a second communication message to the first-hop service board directly connected thereto. When the first service board in the first-hop service board receives the second communication message, it reports the second communication message to the first arbitration network element that manages the first service board.
[0058] After sending the first communication message to the first network element connected to the second arbitration network element, the second arbitration network element, in response to the feedback message sent by the first arbitration network element, sends the service instruction corresponding to the second service board to the first arbitration network element;
[0059] Specifically, the feedback message is used to indicate that the first arbitration network element manages the second service board, and the feedback message is sent by the first arbitration network element to the second arbitration network element after determining that there is a target message in the second communication message.
[0060] Based on the above description, it can be known that the second communication message is reported by the first service board managed by the first arbitration network element to the first arbitration network element, the target message is a message sent by the second service board managed by the second arbitration network element to the first service board after a disconnection occurs between the second service board and the first control single board, and the first service board is directly connected to the second service board.
[0061] Among them, the process by which the second service board managed by the second arbitration network element determines the disconnection from the first control single board can be, as Figure 2 shown, the second service board reports the fourth communication message to the first main control single board and the first standby control single board in the first control single board in real time, but when it does not receive the feedback information of the first main control single board and the first standby control single board respectively for the fourth communication message, it determines that it is disconnected from the first control single board.
[0062] Further, the second service board sends a second communication message to the first-hop service board directly connected thereto, and the first service board in the first-hop service board reports the second communication message to the first arbitration network element through the second control single board. The second communication message is used to indicate that the second service board managed by the second arbitration network element is disconnected from the first control single board. Among them, the first-hop service board directly connected to the second service board may include one or more. In the case of including multiple, the second service board sends the second communication message to the directly connected first-hop service board in a multicast manner.
[0063] Further, the third communication message and the fourth communication message may also be one of a handshake message and a heartbeat message.
[0064] In this embodiment, after the second arbitration network element is disconnected from the first control single board it manages, it sends a first communication message to the first network element connected to the second arbitration network element. After the second service board managed by the second arbitration network element is disconnected from the first control single board, the second service board sends a second communication message to the directly connected first-hop service board, so that the first arbitration network element in the first network element can manage the second service board managed by the second arbitration network element based on the first communication message, which can solve the problem of disconnection of the second service board.
[0065] Based on the above first and second embodiments, a third embodiment of the management method of the service board of the present application is proposed. In this embodiment, in order to reduce the above-mentioned message matching time and the number of first communication messages broadcast by the second arbitration network element, the first arbitration network element may be the first-hop arbitration network element directly connected to the second arbitration network element.
[0066] It should be noted that due to service requirements, the second arbitration network element is connected to multiple arbitration network elements, and this connection includes direct connection and indirect connection. It can be understood that the data transmission speed between directly connected arbitration network elements is faster than that between indirectly connected network elements.
[0067] Therefore, the second arbitration network element only sends the first communication message to the directly connected first-hop arbitration network element, thereby shortening the time from the disconnection of the second service board to the takeover of the second service board by the first arbitration network element, improving the stability of the network, and being able to shorten the communication distance when subsequent service instructions are issued, improving the timeliness of service processing.
[0068] Furthermore, since the second arbitration network element will send the first communication message to all directly connected first-hop arbitration network elements, all directly connected first-hop arbitration network elements will receive this first communication message. And since only one other arbitration network element is required to take over the second service board, considering that the farther the transmission distance is, the longer the data transmission time is, that is, the distance between all directly connected first-hop arbitration network elements and the second arbitration network element will also affect the takeover efficiency of the second service board.
[0069] In order to avoid the waste of resources caused by the above situation where multiple arbitration network elements take over the second service board, this embodiment can send the first communication message to the first arbitration network element that is the closest to the second arbitration network element among the directly connected first-hop arbitration network elements, achieving the purpose of saving time and narrowing the message matching range. Therefore, the first arbitration network element may also be the arbitration network element that is the closest to the second arbitration network element among the first-hop arbitration network elements.
[0070] In this embodiment, by restricting the sending objects of the second arbitration network element when sending the first communication message, the purpose of narrowing the range of subsequent message matching and saving data transmission time is achieved, thereby improving network stability and service processing efficiency.
[0071] Based on the above first embodiment, a third embodiment of the management method of the service board of the present application is proposed. In this embodiment, the first arbitration network element is the first-hop network element directly connected to the second arbitration network element in the first network element, and the first-hop network element is configured as the first arbitration network element in the case of a failure of the second arbitration network element.
[0072] It should be noted that there are generally a large number of first network elements in the network architecture. In the specific implementation process, all the first network elements in the network can be configured as arbitration network elements, or some network elements can be configured as arbitration network elements. It can be understood that the workload of configuring all network elements as arbitration network elements is extremely large. In order to improve the configuration efficiency, some network elements can be configured as arbitration network elements.
[0073] Generally, in order to facilitate the configuration of the arbitration proxy function for network elements, each network element in the network corresponds to a location attribute label, which includes an edge geographical location label and a non-edge geographical location label. The edge geographical location label is used to indicate that the network element is a network element deployed at the edge of the corresponding geographical area (it can be determined whether the network element is at the edge of the corresponding geographical area based on the geographical location); it can be understood that there is no need to configure the arbitration proxy function for network elements with non-edge geographical location labels.
[0074] Among them, the preset geographical area generally refers to a geographical area divided by administrative regions, which includes provincial-level administrative regions, prefecture-level administrative regions, county-level administrative regions, etc. In addition, the geographical area can also be a geographical area obtained by dividing the business scope. Taking the geographical area as a provincial-level administrative region as an example, the data between Province A and Province B is transmitted through the edge network element A and edge network element B located in Province A and Province B. In order to save costs, the edge network element A and edge network element B are generally unique, that is, the data between Province A and Province B is transmitted through a unique communication link. Therefore, if the edge network element A and / or the edge network element B cannot work properly, the data transmission channel between Province A and Province B will be lost. In order to improve the stability of this data transmission channel, it is necessary to configure the edge network element A and the edge network element B as edge arbitration network elements.
[0075] Furthermore, assume that the first arbitration network element and the second arbitration network element are network elements with edge geographical location labels. The first network element includes a plurality of first-hop network elements directly connected to the second arbitration network element. The plurality of directly connected first-hop network elements include network elements within the geographical area where the second arbitration network element is located, and also include network elements outside the geographical area where the second arbitration network element is located.
[0076] In the case of a failure of the second arbitration network element, the first-hop network element within the geographical area where the second arbitration network element is located can be configured as an edge arbitration network element (the first arbitration network element, that is, the second service board managed by the second arbitration network element is taken over by the first arbitration network element within the geographical area where the second arbitration network element is located), or the first-hop network element outside the geographical area where the second arbitration network element is located can take over the second service board managed by the second arbitration network element (it can be understood that the first-hop network element outside the geographical area where the second arbitration network element is located is originally the first arbitration network element, and after the second arbitration network element fails, the first arbitration network element in the first-hop network element outside the geographical area where the second arbitration network element is located takes over the second service board).
[0077] In this embodiment, by adopting the above method, there is only one arbitration network element in each geographical area, and in the case of a failure of the only arbitration network element in the geographical area, the second service board managed by the second arbitration network element is taken over by the first arbitration network element within the geographical area where the second arbitration network element is located, or the second service board is taken over by the first arbitration network element in the first-hop network element outside the geographical area where the second arbitration network element is located, thereby further improving the network communication stability between different geographical areas on the premise of cost savings.
[0078] In addition, the present application also provides a management device for a service board, which is applied to the first arbitration network element, and the device includes:
[0079] A message query module, configured to query a local second communication message in response to a first communication message, where the first communication message is sent by the second arbitration network element to the first arbitration network element after the second arbitration network element is disconnected from the first control single board it manages, and the second communication message is a message reported by the first service board managed by the first arbitration network element to the first arbitration network element;
[0080] A service board management module, configured to manage the second service board through the first service board after determining that the second communication message includes a target message, where the target message is a message sent by the second service board managed by the second arbitration network element to the first service board after the second service board is disconnected from the first control single board.
[0081] Optionally, the first control single board includes a first main control single board and a first standby control single board.
[0082] Optionally, before managing the second service board through the first service board, the device further includes:
[0083] A feedback module, configured to send a feedback message to the second arbitration network element, and the feedback message is used to indicate that the first arbitration network element manages the second service board.
[0084] Optionally, the service board management module includes:
[0085] A service board management sub-module, configured to, in response to a service instruction corresponding to the second service board sent by a second arbitration network element, transmit the service instruction to the second service board through the first service board, where the service instruction is sent by the second arbitration network element to the first arbitration network element after receiving the feedback message.
[0086] Optionally, the apparatus further includes:
[0087] A source address determination module, configured to determine the source address of the communication message in the second communication message;
[0088] A target message determination module, configured to determine that the communication message with the source address being the second service board is the target message.
[0089] Optionally, both the first communication message and the second communication message are one of a handshake message and a heartbeat message, and the parameter types of the first communication message and the second communication message are the same.
[0090] Optionally, before querying the second communication message locally in response to the first communication message, the apparatus further includes:
[0091] A message receiving module, configured to receive the second communication message reported by the first service board through a second control single board, where the second control single board is a control single board managed by the first arbitration network element.
[0092] The specific implementation manner of the service board management apparatus in this application is basically the same as that of the embodiments of the above service board management method, and will not be elaborated herein.
[0093] Exemplarily, this application further provides a service board management apparatus, which is applied to a second arbitration network element, and the apparatus includes:
[0094] A message sending module, configured to, in response to disconnection from a first control single board, send a first communication message to a first network element connected to the second arbitration network element, so that a first arbitration network element in the first network element manages a second service board managed by the second arbitration network element based on the first communication message;
[0095] Wherein, the first control single board is a control single board managed by the second arbitration network element, and the first control single board includes a first main control single board and a first standby control single board.
[0096] Optionally, after sending the first communication message to the first network element connected to the second arbitration network element, the apparatus further includes:
[0097] An instruction sending module, configured to send a service instruction corresponding to the second service board to the first arbitration network element in response to a feedback message sent by the first arbitration network element;
[0098] Wherein, the feedback message is used to represent that the first arbitration network element manages the second service board, and the feedback message is sent by the first arbitration network element to the second arbitration network element after determining that there is a target message in the second communication message. The second communication message is reported by the first service board managed by the first arbitration network element to the first arbitration network element. The target message is a message sent by the second service board managed by the second arbitration network element to the first service board after a disconnection occurs between the second service board and the first control single board. The first service board is directly connected to the second service board.
[0099] Optionally, the first arbitration network element is the first-hop arbitration network element directly connected to the second arbitration network element.
[0100] Optionally, the first arbitration network element is the first-hop network element directly connected to the second arbitration network element in the first network element, and the first-hop network element is configured as the first arbitration network element in the case of a failure of the second arbitration network element.
[0101] The specific implementation manner of the management device of the service board in this application is basically the same as that of each embodiment of the above-mentioned management method of the service board, and will not be elaborated here.
[0102] Exemplarily, to achieve the above object, this application further provides a management system for a service board. The management system for the service board includes a first arbitration network element, a second arbitration network element, a second control single board and a first service board managed by the first arbitration network element, and a first control unit and a second service board managed by the second arbitration network element. The first control single board includes a first main control single board and a first standby control single board; wherein,
[0103] The first arbitration network element is configured to query a local second communication message in response to a first communication message, where the first communication message is sent by the second arbitration network element to the first arbitration network element after a disconnection occurs between the second arbitration network element and the first control single board, and the second communication message is a message reported by the first service board to the first arbitration network element; and after determining that the second communication message includes a target message, manage the second service board through the first service board, where the target message is a message sent by the second service board to the first service board after a disconnection occurs between the second service board and the first control single board;
[0104] The second arbitration network element is configured to send a first communication message to a first network element connected to the second arbitration network element in response to a disconnection from the first control single board.
[0105] The specific implementation of the management system for the service board in this application is basically the same as the embodiments of the above-mentioned management method for the service board, and will not be elaborated here.
[0106] In addition, this application also provides an electronic device. As Figure 5 shown, Figure 5 is a schematic structural diagram of the hardware operating environment involved in the solution of this embodiment.
[0107] As Figure 5 shown, the electronic device may include a processor 701, a communication interface 702, a memory 703, and a communication bus 704. Among them, the processor 701, the communication interface 702, and the memory 703 complete mutual communication through the communication bus 704. The memory 703 is used to store a computer program; when the processor 701 executes the program stored on the memory 703, it implements the steps of the management method for the service board.
[0108] The communication bus 704 mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus 704 can be divided into an address bus, a data bus, a control bus, etc. For the sake of simplicity, only a thick line is used to represent it in the figure, but it does not mean that there is only one bus or one type of bus.
[0109] The communication interface 702 is used for communication between the above electronic device and other devices.
[0110] The memory 703 may include a Random Access Memory (RMD), and may also include a Non-Volatile Memory (NM), such as at least one disk memory. Optionally, the memory 703 may also be at least one storage device located far from the aforementioned processor 701.
[0111] The above-mentioned processor 701 may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0112] The specific implementation manner of the electronic device in this application is basically the same as that of each embodiment of the above-mentioned management method of the service board, and will not be elaborated here.
[0113] In addition, this embodiment also proposes a storage medium, on which a management program of the service board is stored. When the management program of the service board is executed by a processor, the steps of the management method of the service board as described above are implemented.
[0114] The specific implementation manner of the storage medium of this application is basically the same as that of each embodiment of the above-mentioned management method of the service board, and will not be elaborated here.
[0115] It should be noted that in this article, the term "including", "comprising", or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article, or system including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such a process, method, article, or system. Without more limitations, an element defined by the statement "including a..." does not exclude the existence of another identical element in the process, method, article, or system including that element.
[0116] The above serial numbers of the embodiments in this application are only for description and do not represent the advantages and disadvantages of the embodiments.
[0117] Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above and includes several instructions for causing a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
[0118] The above are only the preferred embodiments of the present application, and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present application.
Claims
1. A management method for a service board, characterized in that, applied to a first arbitration network element, the management method for the service board includes: In response to a first communication message, query the local second communication message, where the first communication message is sent by a second arbitration network element to the first arbitration network element after being disconnected from a first control single board it manages, and the second communication message is a message reported by a first service board managed by the first arbitration network element to the first arbitration network element; After determining that the second communication message includes a target message, manage the second service board through the first service board, where the target message is a message sent by a second service board managed by the second arbitration network element to the first service board after being disconnected from the first control single board.
2. The management method for a service board according to claim 1, characterized in that, the first control single board includes a first main control single board and a first standby control single board.
3. The management method for a service board according to claim 1, characterized in that, before managing the second service board through the first service board, the method further includes: Sending a feedback message to the second arbitration network element, where the feedback message is used to indicate that the first arbitration network element manages the second service board.
4. The management method for a service board according to claim 1, characterized in that, managing the second service board through the first service board includes: In response to a service instruction corresponding to the second service board sent by the second arbitration network element, transmitting the service instruction to the second service board through the first service board, where the service instruction is sent by the second arbitration network element to the first arbitration network element after receiving the feedback message.
5. The management method for a service board according to claim 1, characterized in that, the method further includes: Determining the source address of the communication message in the second communication message; Determining that the communication message with the source address being the second service board is the target message.
6. The management method for a service board according to claim 1, characterized in that, both the first communication message and the second communication message are one of a handshake message and a heartbeat message, and the parameter types of the first communication message and the second communication message are the same.
7. The management method for a service board according to claim 1, characterized in that, before querying the local second communication message in response to the first communication message, the method further includes: Receiving the second communication message reported by the first service board through a second control single board, where the second control single board is a control single board managed by the first arbitration network element.
8. A management method for a service board, applied to a second arbitration network element, the management method for the service board includes: In response to being disconnected from the first control single board, sending a first communication message to a first network element connected to the second arbitration network element, so that a first arbitration network element in the first network element manages a second service board managed by the second arbitration network element based on the first communication message; Among them, the first control single board is the control single board managed by the second arbitration network element, and the first control single board includes a first main control single board and a first standby control single board.
9. The method for managing a service board according to claim 8, wherein, after sending the first communication message to the first network element connected to the second arbitration network element, the method further includes: in response to the feedback message sent by the first arbitration network element, sending a service instruction corresponding to the second service board to the first arbitration network element; wherein, the feedback message is used to represent that the first arbitration network element manages the second service board, and the feedback message is sent by the first arbitration network element to the second arbitration network element after determining that there is a target message in the second communication message. The second communication message is reported by the first service board managed by the first arbitration network element to the first arbitration network element. The target message is a message sent by the second service board managed by the second arbitration network element to the first service board after the disconnection between the second service board and the first control single board, and the first service board is directly connected to the second service board.
10. The method for managing a service board according to claim 8, wherein, the first arbitration network element is the first-hop arbitration network element directly connected to the second arbitration network element.
11. The method for managing a service board according to claim 8, wherein, the first arbitration network element is the first-hop network element directly connected to the second arbitration network element among the first network elements, and the first-hop network element is configured as the first arbitration network element in the case of a failure of the second arbitration network element.
12. A service board management system, wherein, the service board management system includes a first arbitration network element, a second arbitration network element, a second control single board and a first service board managed by the first arbitration network element, and a first control unit and a second service board managed by the second arbitration network element. The first control single board includes a first main control single board and a first standby control single board; among them, the first arbitration network element is used to query the local second communication message in response to the first communication message, where the first communication message is sent by the second arbitration network element to the first arbitration network element after the disconnection from the first control single board, and the second communication message is the message reported by the first service board to the first arbitration network element; and after determining that the second communication message includes a target message, managing the second service board through the first service board, where the target message is the message sent by the second service board to the first service board after the disconnection between the second service board and the first control single board; the second arbitration network element is used to send a first communication message to the first network element connected to the second arbitration network element in response to the disconnection from the first control single board.
13. An electronic device, wherein, The electronic device includes: a memory, a processor, and a management program of a service board stored on the memory and executable on the processor, where the management program of the service board is configured to implement the steps of the management method of the service board according to any one of claims 1 to 7, or implement the steps of the management method of the service board according to any one of claims 8 to 11.
14. A storage medium, characterized in that a management program of a service board is stored on the storage medium, and when the management program of the service board is executed by a processor, it implements the steps of the management method of the service board according to any one of claims 1 to 7, or implements the steps of the management method of the service board according to any one of claims 8 to 11.
Citation Information
Cited By
Service board management method and system, and electronic device and storage medium
EP4808064A1