Service board management method and system, and electronic device and storage medium
By querying and processing specific communication messages in the first arbitration network element, the management of the service board when both the main control board and the backup control board are faulty is realized, the problem of de-management of the service board is solved, and network stability is improved.
Patent Information
- Application Number
- PCT/CN2024/085648
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-11-30
- Filing Date
- 2024-04-02
- Publication Date
- 2025-06-05
AI Technical Summary
The existing technology cannot solve the problem of business board de-pipe when both the main control board and the backup control board fail, resulting in network stability being affected.
By responding to the first communication message in the first arbitration network element, querying 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, thereby solving 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 and the network stability and reliability can be improved.
Smart Images

Figure CN2024085648_05062025_PF_FP_ABST
Abstract
Description
Business board management method, system, electronic device and storage medium
[0001] Related applications
[0002] This application claims priority to Chinese patent application No. 202311635340.7 filed on November 30, 2023, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present application relates to the field of communication technology, and in particular to a management method, system, electronic device and storage medium for a service board. Background Art
[0004] With the development of network technology, people have higher and higher requirements for network stability.
[0005] At present, in order to improve the stability of the network, arbitration network elements are usually used to manage the control boards, which include a main control board and a backup control board. The control board is used to control the service board. That is, when it is determined that the main control board fails, the service board is out of management. At this time, the backup control board is switched to the main control board to restore the management of the service board. However, after both the main control board and the backup control board fail, the problem of the service board being out of management cannot be solved.
[0006] Therefore, in practical applications, a solution is needed that can still solve the problem of service board disconnection after both the main control board and the backup control board fail.
[0007] Summary of the Invention
[0008] The main purpose of this application is to provide a business board management method, system, electronic equipment and storage medium.
[0009] The present application provides a service board management method, which is applied to a first arbitration network element. The service board management method includes: querying a local second communication message in response to a first communication message, wherein 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 board managed by the second arbitration network element, 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; after determining that the second communication message includes a target message, managing the second service board through the first service board, wherein 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 board.
[0010] Exemplarily, to achieve the above-mentioned objectives, the present application further provides a service board management system, the service board management system comprising a first arbitration network element, a second arbitration network element, a second control 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, wherein the first control board comprises a first master control board and a first standby control board; wherein the first arbitration network element is configured to query a local second communication message in response to a first communication message, wherein the first communication message is sent by the second arbitration network element to the first arbitration network element after disconnection from the first control 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, the second service board is managed through the first service board, wherein the target message is a message sent by the second service board to the first service board after disconnection from the first control board; and the second arbitration network element is configured to send the first communication message to the first network element connected to the second arbitration network element in response to disconnection from the first control board.
[0011] Exemplarily, to achieve the above-mentioned purpose, the present application also provides an electronic device, which includes: a memory, a processor, and a business board management program stored on the memory and runnable on the processor, wherein the business board management program is configured to implement the steps of the business board management method as described above.
[0012] Illustratively, to achieve the above-mentioned purpose, the present application also provides a storage medium, on which a management program of a business board is stored. When the management program of the business board is executed by a processor, the steps of the business board management method as described above are implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] FIG1 is a flow chart of a first embodiment of a method for managing a service board according to the present application;
[0014] FIG2 is an architectural diagram of the management system of the business board of this application;
[0015] FIG3 is a schematic diagram of a first scenario of a first embodiment of a method for managing a service board of the present application;
[0016] FIG4 is a schematic diagram of a second scenario of the second embodiment of the business board management method of the present application;
[0017] FIG5 is a schematic diagram of the structure of the hardware operating environment involved in the solution of this embodiment.
[0018] The realization of the objectives, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0019] The specific embodiments described herein are merely used to explain the present application and are not intended to limit the present application.
[0020] Refer to Figure 1, which is a flow chart of the first embodiment of the business board management method of the present application.
[0021] This embodiment provides an embodiment of a method for managing a service board. Although a logical sequence is shown in the flow chart, in some cases, the steps shown or described may be performed in an order different from that shown here.
[0022] The service board management method of this embodiment is applied to the first arbitration network element. The service board management method includes the following steps:
[0023] Step S110: In response to the first communication message, query a local second communication message, wherein 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 board managed by the second arbitration network element, and the second communication message is reported by the first service board managed by the first arbitration network element to the first arbitration network element.
[0024] The first arbitration network element is subordinate to the management system of the service board. As shown in FIG2 , the management system of the service board further includes a second arbitration network element, a second control 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.
[0025] 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 board or the second service board. The first control board includes a first master control board and a first backup control board. Arbitration means adjudicating multiple objects. The second arbitration network element performs arbitration management on the first control board in ways that include, but are not limited to, setting the first backup control board as the new master control board when the first master control board fails.
[0026] Network elements include switching equipment, terminal equipment, transmission equipment, etc.; the configuration of the arbitration agent function can be achieved through the network management, or the arbitration agent function can be directly built into the network element.
[0027] In one embodiment, taking the second arbitration network element as an example, the process of the second arbitration network element managing 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 manager, it will send the service instruction to the first main control board. Since the first main control board is directly connected to the first service board, the first main control 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.
[0028] Taking the second arbitration network element as an example, if both the first main control board and the first backup control board fail, the service instructions sent by the network manager to the second arbitration network element cannot be sent by the second arbitration network element to the first main control board or the first backup control board, and the first main control board or the first backup control board sends the instructions to the second service board, resulting in the second service board being out of management. However, the relevant technology cannot solve the problem of the second service board being out of management.
[0029] To solve the above problem, in this embodiment, after the second arbitration network element is disconnected from the first control board managed by it, it will send the 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 board, it will send the target message to the first service board. The first service board managed by the first arbitration network element will report the second communication message to the first arbitration network element.
[0030] Therefore, before querying the local second communication message in response to the first communication message, the first arbitration network element receives the second communication message reported by the first service board through the second control board, wherein the second control board is the control board managed by the first arbitration network element.
[0031] The first communication message and the second communication message are both one of a handshake message and a heartbeat message.
[0032] If the third communication message is a heartbeat packet, the second main control board sends the heartbeat packet to the second arbitration network element in real time. If the heartbeat packet is not received within a preset first period, the second arbitration network element determines that the connection is disconnected, and adds the disconnection status, disconnection time, etc. to the first communication message. If the third communication message is a handshake packet, the second arbitration network element sends a handshake packet to the second main control board in real time. If an acknowledgment packet (ACK (Acknowledge) packet) sent by the second main control board is not received within a second preset period, the second arbitration network element determines that the connection is disconnected.
[0033] The first preset period and the second preset period can be set separately as needed, such as 2ms, 3ms, etc., which are not specifically limited in this embodiment.
[0034] 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, wherein the parameter types include disconnection status, disconnection time, etc.
[0035] In this embodiment, the first arbitration network element queries the local second communication message in response to the first communication message, and does not perform further operations if no message matching the first communication message is found in the local second communication message.
[0036] In one embodiment, the method 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; and determining that the communication message whose source address is the second business board is the target message.
[0037] The first communication message is sent by the second arbitration network element to the first arbitration network element. After determining that the target message sent by the second service board exists in the second communication message, it is determined that the message matching is successful, that is, both the second arbitration network element and the second service board have received the messages about disconnection sent.
[0038] The implementation method for determining whether there is a target message matching the first communication message in the second communication message can also be: directly compare the parameter information carried in the first communication message and the second communication message, for example, the disconnection conditions carried in the first communication message and the second communication message, and when it is determined that the disconnection condition carried in the first communication message is a disconnection with the first control board, and there is a message in the second communication message that is a disconnection with the first control board, then it is determined that the message with the disconnection condition being a disconnection with the first control board is the target message.
[0039] Step S120: After determining that the second communication message includes a target message, the second business board is managed through the first business board, wherein the target message is a message sent by the second business board managed by the second arbitration network element to the first business board after the second business board is disconnected from the first control board.
[0040] Since 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 board, and the first communication message is used to indicate that the second arbitration network element is disconnected from the first control board, when the first communication message is received and it is determined that the second communication message includes the target message, it can be determined that the second service board has been disconnected. 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.
[0041] 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 first notify the second arbitration network element. After receiving feedback from the second arbitration network element, the first arbitration network element starts to manage the second service board through the first service board.
[0042] In one embodiment, before the first service board manages the second service board, the first arbitration network element sends a feedback message to the second arbitration network element.
[0043] The feedback message is used to indicate that the first arbitration network element manages the second service board. That is, the first arbitration network element sends a feedback message to the second arbitration network element to notify the second service board that the first arbitration network element will manage the second service board. After receiving feedback information from the second arbitration network element in response to the feedback message, the first arbitration network element begins to manage the second service board through the first service board.
[0044] The feedback message carries information such as the service transmission path.
[0045] In one embodiment, the management of the second business board through the first business board may be implemented as follows: the first arbitration network element responds to the business instruction corresponding to the second business board sent by the second arbitration network element, and transmits the business instruction to the second business board through the first business board.
[0046] The service instruction is sent by the second arbitration network element to the first arbitration network element after receiving the feedback message. As shown in Figure 3, the second arbitration network element receives the service instruction sent by the network manager 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 sends the service instruction to the first service board, which then sends the service instruction to the second service board (service boards managed by different arbitration network elements are connected to each other, but control boards managed by different arbitration network elements are not directly connected to each other). This ensures that after both the first main control board and the first backup control board fail, the second service board can still process services normally. In other words, the second service board can be managed by the first arbitration network element, solving the problem of the second service being out of control, thereby improving network stability.
[0047] Referring to Figure 4, based on the above first embodiment, a second embodiment of the service board management method of the present application is proposed. In this embodiment, applied to the second arbitration network element, the service board management method includes:
[0048] A1: In response to disconnection from the first control board, a first communication message is sent to a 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.
[0049] The first control board is a control board managed by the second arbitration network element, and the first control board includes a first main control board and a first standby control board.
[0050] The service board management method in this embodiment is applied to the second arbitration network element.
[0051] In one embodiment, in response to being disconnected from the first control board, the second arbitration network element sends a first communication message to a first network element connected to the second arbitration network element. The specific sending method may be broadcast or multicast, etc., wherein the first network element includes the first arbitration network element, and therefore, the first arbitration network element can receive the first communication message.
[0052] The process by which the second arbitration network element determines whether it is disconnected from the first control board may be as shown in Figure 2 : the second arbitration network element sends a third communication message to the second master control board in real time, but does not receive feedback from the second master control board regarding the third communication message. In one embodiment, the second arbitration network element sends a third communication message to the second standby control board, but does not receive feedback from the second standby control board regarding the third communication message. The second arbitration network element determines that it is disconnected from the first control board.
[0053] In one embodiment, the second arbitration network element sends a first communication message to a first network element connected to the second arbitration network element, where the first communication message is used to indicate that the second arbitration network element is disconnected from the first control board.
[0054] In one embodiment, after the second service board managed by the second arbitration network element is disconnected from the first control board, it sends a second communication message to the directly connected first-hop service board. When the first service board in the first-hop service board receives the second communication message, it will report the second communication message to the first arbitration network element that manages the first service board.
[0055] After sending the first communication message to the first network element connected to the second arbitration network element, the second arbitration network element sends the service instruction corresponding to the second service board to the first arbitration network element in response to the feedback message sent by the first arbitration network element.
[0056] In one embodiment, the feedback message is used to indicate that the first arbitration network element manages the second service board. The feedback message is sent by the first arbitration network element to the second arbitration network element after determining that the target message exists in the second communication message.
[0057] Based on the above description, it can be seen 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, and 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 board, and the first service board is directly connected to the second service board.
[0058] The process of the second service board managed by the second arbitration network element determining that the connection with the first control board is disconnected can be, as shown in Figure 2, when the second service board reports the fourth communication message to the first main control board and the first standby control board in the first control board in real time, but does not receive feedback information from the first main control board and the first standby control board respectively regarding the fourth communication message, and determines that the connection with the first control board is disconnected.
[0059] In one embodiment, the second business board sends a second communication message to the directly connected first-hop business board, and the first business board in the first-hop business board will report the second communication message to the first arbitration network element through the second control board. The second communication message is used to indicate that the second business board managed by the second arbitration network element is disconnected from the first control board. The first-hop business board directly connected to the second business board may include one or more. If there are multiple first-hop business boards, the second business board sends the second communication message to the directly connected first-hop business board in the form of multicast.
[0060] In one implementation, the third communication message and the fourth communication message may also be one of a handshake message and a heartbeat message.
[0061] In this embodiment, after the second arbitration network element is disconnected from the first control board managed by it, 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 board, the second service board sends a second communication message to the directly connected first-hop service board. 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, thereby resolving the problem of the second service board being disconnected.
[0062] Based on the first and second embodiments described above, a third embodiment of the service board management method of the present application is provided. In this embodiment, to reduce the message matching time and the number of first communication messages broadcast by the second arbitration network element, the first arbitration network element may be a first-hop arbitration network element directly connected to the second arbitration network element.
[0063] Due to business needs, the second arbitration network element establishes connections with multiple arbitration network elements, including direct connections and indirect connections. The data transmission speed between directly connected arbitration network elements is faster than the data transmission speed between indirectly connected network elements.
[0064] 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 shortening the communication distance when issuing subsequent service instructions, thereby improving the timeliness of service processing.
[0065] In one embodiment, because the second arbitration network element sends the first communication message to all directly connected first-hop arbitration network elements, all directly connected first-hop arbitration network elements will receive the first communication message. Since the second service board only requires one other arbitration network element to take over, the longer the transmission distance, the longer the data transmission time. That is, the distance between all directly connected first-hop arbitration network elements and the second arbitration network element will also affect the efficiency of taking over the second service board.
[0066] To avoid the aforementioned situation where multiple arbitration network elements take over the second service board, which results in a waste of resources, this embodiment can send the first communication message to the first arbitration network element that is closest to the second arbitration network element among the directly connected first-hop arbitration network elements, thereby saving time and narrowing the scope of message matching. Therefore, the first arbitration network element can also be the arbitration network element that is closest to the second arbitration network element among the first-hop arbitration network elements.
[0067] In this embodiment, by limiting the sending objects of the second arbitration network element when sending the first communication message, the scope of subsequent message matching is narrowed, data transmission time is saved, and network stability and service processing efficiency are improved.
[0068] Based on the above-mentioned first embodiment, a third embodiment of the service board management method of the present application is proposed. In this embodiment, the first arbitration network element is a 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 when the second arbitration network element fails.
[0069] There are generally a large number of first network elements in the network architecture. During 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. The engineering workload of configuring all network elements as arbitration network elements is extremely large. In order to improve configuration efficiency, some network elements can be configured as arbitration network elements.
[0070] Generally, in order to facilitate the configuration of the arbitration agent function of the network element, all network elements in the network correspond to a location attribute tag, which includes an edge geographic location tag and a non-edge geographic location tag. The edge geographic location tag is used to characterize that the network element is an edge network element deployed in the corresponding geographical area (whether the network element is at the edge of the corresponding geographical area can be determined based on the geographic location); there is no need to configure the arbitration agent function for network elements with non-edge geographic location tags.
[0071] The preset geographical area generally refers to a geographical area divided by administrative regions, which include provincial 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 by business scope. Taking the provincial administrative region as an example, the data between Province A and Province B is transmitted through the edge network element A and the edge network element B located in Province A and Province B. In order to save costs, the edge network element A and the edge network element B are generally unique, that is, the data between Province A and Province B is transmitted through the only communication link. Therefore, if the edge network element A and / or the edge network element B cannot work normally, the data transmission channel between Province A and Province B will be lost. In order to improve the stability of the data transmission channel, the edge network element A and the edge network element B need to be configured as edge arbitration network elements.
[0072] In one embodiment, assuming that the first arbitration network element and the second arbitration network element are network elements with edge geographic location tags, the first network element includes multiple first-hop network elements directly connected to the second arbitration network element, and the multiple directly connected first-hop network elements include network elements within the geographic area where the second arbitration network element is located, and also include network elements outside the geographic area where the second arbitration network element is located.
[0073] In the event 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, i.e., the first arbitration network element within the geographical area where the second arbitration network element is located takes over the second service board managed by the second arbitration network element). Alternatively, 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 (the first-hop network element outside the geographical area where the second arbitration network element is located was originally the first arbitration network element. After the failure of the second arbitration network element, the first-hop network element among the first-hop network elements outside the geographical area where the second arbitration network element is located takes over the second service board).
[0074] In this embodiment, the above-mentioned approach is adopted. In each geographical area, there is only one arbitration network element. If the only arbitration network element in the geographical area fails, a first arbitration network element within the geographical area where the second arbitration network element is located will take over the second service board managed by the second arbitration network element, or a first arbitration network element in the first-hop network element outside the geographical area where the second arbitration network element is located will take over the second service board. This further improves the stability of network communication between different geographical areas while saving costs.
[0075] In addition, the present application also provides a service board management device, which is applied to a first arbitration network element, and includes:
[0076] a message query module, configured to query a local second communication message in response to a first communication message, wherein 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 board managed by the second arbitration network element, and the second communication message is reported by the first service board managed by the first arbitration network element to the first arbitration network element.
[0077] A business board management module is used to manage the second business board through the first business board after determining that the second communication message includes a target message, wherein the target message is a message sent by the second business board managed by the second arbitration network element to the first business board after a disconnection occurs between the second business board and the first control board.
[0078] In one embodiment, the first control board includes a first main control board and a first standby control board.
[0079] In one embodiment, before the first service board manages the second service board, the device further includes: a feedback module, configured to send a feedback message to the second arbitration network element, wherein the feedback message is used to indicate that the first arbitration network element manages the second service board.
[0080] In one embodiment, the service board management module includes: a service board management submodule, configured to, in response to a service instruction corresponding to the second service board sent by the second arbitration network element, transmit the service instruction to the second service board through the first service board, wherein the service instruction is sent by the second arbitration network element to the first arbitration network element after receiving the feedback message.
[0081] In one embodiment, the device further includes: a source address determination module for determining the source address of the communication message in the second communication message; and a target message determination module for determining the communication message whose source address is the second service board as the target message.
[0082] In one embodiment, the first communication message and the second communication message are both one of a handshake message and a heartbeat message, and the first communication message and the second communication message have the same parameter type.
[0083] In one embodiment, before querying the local second communication message in response to the first communication message, the device also includes: a message receiving module, used to receive the second communication message reported by the first service board through the second control board, and the second control board is the control board managed by the first arbitration network element.
[0084] The specific implementation of the business board management device of the present application is basically the same as the various embodiments of the business board management method described above, and will not be repeated here.
[0085] Exemplarily, the present application also provides a service board management device, which is applied to a second arbitration network element, and the device includes: a message sending module, which is used to send a first communication message to a first network element connected to the second arbitration network element in response to disconnection from the first control 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; wherein, the first control board is the control board managed by the second arbitration network element, and the first control board includes a first main control board and a first standby control board.
[0086] In one embodiment, after sending the first communication message to the first network element connected to the second arbitration network element, the apparatus further includes: 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; wherein the feedback message is used to indicate that the first arbitration network element manages the second service board, the feedback message is sent by the first arbitration network element to the second arbitration network element after determining that a target message exists in the second communication message, the second communication message is reported to the first arbitration network element by the first service board managed by the first arbitration network element, and the target message is 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 board, and the first service board is directly connected to the second service board.
[0087] In one embodiment, the first arbitration network element is a first-hop arbitration network element directly connected to the second arbitration network element.
[0088] In one embodiment, the first arbitration network element is a 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 when the second arbitration network element fails.
[0089] The specific implementation of the business board management device of the present application is basically the same as the various embodiments of the business board management method described above, and will not be repeated here.
[0090] Exemplarily, to achieve the above-mentioned purpose, the present application also provides a management system for a service board, the management system for the service board including a first arbitration network element, a second arbitration network element, a second control 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, wherein the first control board includes a first master control board and a first standby control board; wherein the first arbitration network element is configured to query a local second communication message in response to a first communication message, wherein the first communication message is sent by the second arbitration network element to the first arbitration network element after being disconnected from the first control 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, managing the second service board through the first service board, wherein the target message is a message sent by the second service board to the first service board after being disconnected from the first control board.
[0091] 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 board.
[0092] The specific implementation of the management system of the business board of the present application is basically the same as the various embodiments of the management method of the business board mentioned above, and will not be repeated here.
[0093] In addition, the present application also provides an electronic device. As shown in FIG5 , FIG5 is a schematic diagram of the structure of the hardware operating environment involved in the solution of this embodiment.
[0094] As shown in Figure 5, the electronic device may include a processor 701, a communication interface 702, a memory 703 and a communication bus 704, wherein the processor 701, the communication interface 702 and the memory 703 communicate with each other through the communication bus 704, and the memory 703 is used to store computer programs; the processor 701 is used to implement the steps of the business board management method when executing the program stored in the memory 703.
[0095] The communication bus 704 mentioned in the electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 704 can be divided into an address bus, a data bus, and a control bus. For ease of illustration, the figure shows only one thick line, but this does not mean that there is only one bus or only one type of bus.
[0096] The communication interface 702 is used for communication between the electronic device and other devices.
[0097] The memory 703 may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage. In one embodiment, the memory 703 may also be at least one storage device located remotely from the processor 701.
[0098] The above-mentioned processor 701 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can 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 component objects.
[0099] The specific implementation of the electronic device of the present application is basically the same as the various embodiments of the management method of the business board mentioned above, and will not be repeated here.
[0100] In addition, this embodiment further proposes a storage medium on which a management program of a 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 described above are implemented.
[0101] The specific implementation methods of the storage medium of the present application are basically the same as the various embodiments of the management method of the business board described above, and will not be repeated here.
[0102] As used herein, the terms "comprises," "comprising," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system that includes a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or system that includes the element.
[0103] The serial numbers of the above embodiments are for description only and do not represent the advantages or disadvantages of the embodiments.
[0104] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0105] The above are merely optional embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for managing a service board, applied to a first arbitration network element, wherein: The business board management method includes: In response to the first communication message, querying a local second communication message, wherein the first communication message is sent by the second arbitration network element to the first arbitration network element after the first control board managed by the second arbitration network element is disconnected, 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; After determining that the second communication message includes a target message, the second business board is managed through the first business board, wherein the target message is a message sent by the second business board managed by the second arbitration network element to the first business board after a disconnection occurs between the second business board and the first control board.
2. The method for managing a service board according to claim 1, wherein: The first control board includes a first main control board and a first standby control board.
3. The method for managing a service board according to claim 1, wherein: Before managing the second service board through the first service board, the method further includes: A feedback message is sent 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 method for managing a service board according to claim 1, wherein: The 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, the service instruction is transmitted to the second service board through the first service board, wherein the service instruction is sent by the second arbitration network element to the first arbitration network element after receiving the feedback message.
5. The method for managing a service board according to claim 1, wherein: The method further comprises: Determining a source address of a communication message in the second communication message; Determine that the communication message whose source address is the second service board is the target message.
6. The method for managing a service board according to claim 1, wherein: The first communication message and the second communication message are both one of a handshake message and a heartbeat message, and the first communication message and the second communication message have the same parameter type.
7. The method for managing a service board according to claim 1, wherein: Before querying the local second communication message in response to the first communication message, the method further includes: The second communication message reported by the first service board through the second control board is received, where the second control board is a control board managed by the first arbitration network element.
8. A method for managing a service board, applied to a second arbitration network element, wherein: The business board management method includes: In response to disconnection from the first control board, sending a first communication message to a 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; The first control board is a control board managed by the second arbitration network element, and the first control board includes a first main control board and a first standby control 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; Among them, the feedback message is used to characterize that the first arbitration network element manages the second business board, the feedback message is sent by the first arbitration network element to the second arbitration network element after determining that the target message exists in the second communication message, the second communication message is reported by the first business board managed by the first arbitration network element to the first arbitration network element, the target message is a message sent by the second business board managed by the second arbitration network element to the first business board after the second business board is disconnected from the first control board, and the first business board is directly connected to the second business board.
10. The method for managing a service board according to claim 8, wherein: The first arbitration network element is a 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 a 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 when the second arbitration network element fails.
12. A management system for a service board, wherein: The management system of the service board includes a first arbitration network element, a second arbitration network element, a second control 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, wherein the first control board includes a first main control board and a first standby control board; wherein, The first arbitration network element is configured to query a local second communication message in response to the first communication message, wherein the first communication message is sent by the second arbitration network element to the first arbitration network element after being disconnected from the first control 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, managing the second service board through the first service board, wherein the target message is a message sent by the second service board to the first service board after being disconnected from the first control board; 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 board.
13. An electronic device, wherein: The electronic device includes: a memory, a processor, and a management program of a business board stored in the memory and executable on the processor, wherein the management program of the business board is configured to implement the steps of the management method of the business board as described in any one of claims 1 to 7, or to implement the steps of the management method of the business board as described in any one of claims 8 to 11.
14. A storage medium, wherein: The storage medium stores a management program for a business board, and when the management program for the business board is executed by a processor, the steps of the management method for a business board as described in any one of claims 1 to 7 are implemented, or the steps of the management method for a business board as described in any one of claims 8 to 11 are implemented.
Citation Information
Patent Citations
Method and device for realizing changeover between main and standby services on control panels
CN101605051A
Cross-data center disaster backup method and BRAS system
CN110830310A
User plane management method, control plane equipment and user plane equipment
CN117014297A
Biprimary controlled network equipment and its master back-up switching method
CN1753376A
Fault diagnosis methods, fault diagnosis rule determining method, diagnosis function deployment method, related device, and storage medium
WO2022022556A1