Management method of optical transport network equipment, equipment and storage medium
By using preset time intervals in OTN devices to obtain the heartbeat messages of the cross board and update the monitoring information, cross board failures are discovered and solved in a timely manner, the stability problems caused by environmental factors of OTN devices are solved, the service life of the equipment is extended and the service life of the equipment is improved. Running efficiency.
Patent Information
- Application Number
- CN202310787628.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-29
- Publication Date
- 2024-12-31
AI Technical Summary
After long-term operation, OTN equipment fails due to environmental factors, affecting its safety, reliability and stability, and a method is needed to monitor and manage in real time to extend the service life of the equipment.
Acquire the heartbeat message of the cross board by preset time intervals, update the monitoring information, and determine the abnormal cross board based on the monitoring information, perform re-power-on repair or power-off isolation operations to resolve the fault.
Real-time monitoring and fault detection of OTN devices is realized, extending the service life of the device and improving operational efficiency.
Smart Images

Figure CN119232558A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of communication technology, and in particular to a management method, device and storage medium for optical transport network equipment. Background Art
[0002] With the development of optical communication technology, optical transport network (OTN) equipment is becoming more and more widely used. OTN equipment is a device used in optical communication networks, mainly used to transmit high-speed, high-capacity and reliable data. It is usually composed of optical access equipment, optical distribution equipment and optical transmission equipment, and supports multiple protocols and data formats, such as SDH, Ethernet, Fibre Channel, etc. OTN equipment is usually used in scenarios such as operators, data centers and enterprises to meet the needs of high-speed data transmission.
[0003] With the development of optical communication technology, OTN equipment is applied in more and more scenarios. OTN equipment is affected by air humidity, temperature, microorganisms and sulfur dioxide in the environment. After a long period of operation, various faults may occur in OTN equipment, resulting in the gradual reduction of the safety, reliability and stability of OTN equipment, which seriously affects the stability of communication transmission. Therefore, how to efficiently monitor and manage OTN equipment in real time, and timely discover and solve faults to extend the service life of OTN equipment is an urgent problem to be solved. Summary of the invention
[0004] The embodiment of the present invention provides a management method, device and storage medium for optical transport network equipment, aiming to monitor and manage OTN equipment in real time, so as to find and solve faults in time.
[0005] In a first aspect, an embodiment of the present invention provides a method for managing an optical transport network device, wherein the optical transport network device includes a plurality of cross-connect boards, and the method includes:
[0006] Acquire the heartbeat message of each cross-connect board at a preset time interval, and update the monitoring information corresponding to each cross-connect board according to the heartbeat message of each cross-connect board;
[0007] When it is determined that a redundant cross-connect board exists according to the monitoring information corresponding to each cross-connect board, a preset operation is performed on the abnormal cross-connect board, and the preset operation includes any one of a power-on repair operation and a power-off isolation operation.
[0008] In a second aspect, an embodiment of the present invention further provides an optical transport network device, comprising a cross-board, a processor, a memory, a computer program stored on the memory and executable by the processor, and a data bus for realizing connection and communication between the processor and the memory, wherein when the computer program is executed by the processor, the steps of any one of the optical transport network device management methods provided in the specification of the present invention are implemented.
[0009] In a third aspect, an embodiment of the present invention further provides a storage medium for computer-readable storage, characterized in that the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any method for managing an optical transport network device provided in the specification of the present invention.
[0010] The embodiment of the present invention provides a management method, device and storage medium for optical transmission network equipment. The embodiment of the present invention obtains the heartbeat message of each cross-board at a preset time interval, and can accurately update the monitoring information corresponding to each cross-board according to the heartbeat message of each cross-board; when it is determined according to the monitoring information corresponding to each cross-board that there is a redundant cross-board, a preset operation is performed on the abnormal cross-board, and the preset operation includes any one of a power-on repair operation and a power-off isolation operation. This scheme can monitor each cross-board in real time and generate monitoring information, so as to timely discover cross-board faults, and when there are redundant cross-boards, a power-on repair operation or a power-off isolation operation is performed on the abnormal cross-board to solve the fault in time, greatly improving the operating efficiency and service life of the optical transmission network equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 A schematic diagram of a flow chart of a method for managing optical transport network equipment provided by an embodiment of the present invention;
[0012] Figure 2 A schematic diagram of the structure of an optical transport network device provided by an embodiment of the present invention;
[0013] Figure 3 for Figure 1 A schematic flow chart of sub-steps of a method for managing an optical transport network device;
[0014] Figure 4 for Figure 1 A schematic flow chart of another sub-step of the method for managing optical transport network equipment;
[0015] Figure 5 A schematic diagram of a scenario of a method for managing an optical transport network device provided by an embodiment of the present invention;
[0016] Figure 6Another schematic block diagram of the structure of an optical transport network device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0017] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0018] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0019] It should be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0020] The embodiment of the present invention provides a management method, device and storage medium for an optical transport network device, wherein the management method for an optical transport network device can be applied to the optical transport network device.
[0021] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0022] Please refer to Figure 1 , Figure 1 A schematic flow chart of a method for managing optical transport network equipment provided by an embodiment of the present invention.
[0023] like Figure 1 As shown, the optical transport network equipment management method includes steps S101 to S102.
[0024] Step S101: obtaining the heartbeat message of each cross-connect board at a preset time interval, and updating the monitoring information corresponding to each cross-connect board according to the heartbeat message of each cross-connect board.
[0025] The optical transport network equipment includes a main control board and multiple cross-connect boards. The main control board is used to control each cross-connect board and monitor the information of each cross-connect board. The cross-connect board is used to connect the service board and exchange information and forward information to the service board. Figure 2As shown, the optical transmission network device 10 includes a main control board 20, a cross board a31, a cross board b32, a cross board c33 and a cross board d34, wherein the optical transmission network device 10 also omits multiple cross boards, and the cross board a31, the cross board b32, the cross board c33 and the cross board d34 are respectively connected to the main control board 20.
[0026] In one embodiment, the cross board is connected to each service board through a subframe backplane, each connection link has a 1V channel, each 1V channel corresponds to a single board interface (serdes) state, and the cross board generates a cross board detection task, which is used to periodically detect the serdes state. The period can be set according to actual conditions. The embodiment of the present invention does not specifically limit this. For example, the period can be 5 seconds. According to the cross board detection task, the serdes state is detected in a period, and a single board detection result is generated. The heartbeat message of the cross board is generated according to the single board detection result. Among them, when the serdes state is normal in the detection period, the single board state in the single board detection result is determined to be a normal state, and when the serdes state is abnormal in the detection period, the single board state in the single board detection result is determined to be an abnormal state. By detecting the cross board, the single board detection result can be accurately obtained.
[0027] In one embodiment, the method of generating a heartbeat message of a cross board according to the single board detection result can be: when the single board state in the single board detection result is a normal state, the single board state in the heartbeat message is set to a first state (NORMAL); when the single board state in the single board detection result is an abnormal state, the single board state in the heartbeat message is set to a second state (SDS_ERR_STATE), and the heartbeat message also includes a redundant protection type and a slot list, and the slot list is the service board status information. The heartbeat message of the cross board can be accurately generated according to the single board detection result.
[0028] In one embodiment, the main control board obtains the heartbeat information of each cross-connect board at a preset time interval, detects each cross-connect board in a polling manner, and updates the monitoring information corresponding to each cross-connect board according to the heartbeat message of each cross-connect board. The preset time can be set according to actual conditions, and the embodiment of the present invention does not specifically limit this. For example, the preset time can be set to 3 seconds. By polling and detecting and obtaining the heartbeat information of each cross-connect board, each cross-connect board can be monitored in real time.
[0029] In one embodiment, if Figure 3 As shown, step S101 includes sub-steps S1011 to S1013.
[0030] Sub-step S1011: when no heartbeat message of the cross-connect board is received within a detection cycle, the heartbeat loss count in the monitoring information corresponding to the cross-connect board is increased by one.
[0031] Among them, the monitoring information includes at least one of a heartbeat mark, a reset state, a heartbeat loss count, a heartbeat state, heartbeat information, an alarm information, an isolation state, a power-on repair count and an in-place state, wherein the heartbeat mark includes TRUE and FALSE, TRUE indicates that the cross-board is monitored, and FALSE indicates that the cross-board is not monitored; the reset state includes normal, soft reset and hard reset, normal indicates not reset, soft reset indicates software reset, and hard reset indicates hardware reset; the heartbeat loss count indicates that the total number of heartbeat messages of the cross-board is not received in each detection cycle; the heartbeat state indicates the situation where the heartbeat message of the cross-board is lost, and the heartbeat state includes normal, short heartbeat loss and long heartbeat loss, the heartbeat state is normal, indicating that the heartbeat loss count is less than or equal to a preset first number, short heartbeat loss indicates that the heartbeat loss count is greater than the preset first number and less than the preset second number, and long heartbeat loss indicates that the heartbeat loss count is greater than or equal to the preset second number, wherein the preset first number and the preset second number can be set according to actual conditions, and the embodiment of the present invention does not make specific limitations on this, for example, the preset first number can be set to 3, and the preset second number can be set to 20.
[0032] Among them, the heartbeat information includes single board status information, redundant protection type and slot list. The single board status information characterizes whether the cross-board is abnormal, and the single board status information includes normal, reset, abnormal and in-place status; the redundant protection type includes the number of main cross-boards and the backup cross-board data; the slot list indicates the status of each business board on the sub-rack where the cross-board is located, and the status of each business board includes normal business board and abnormal business board; the alarm information is the alarm information directly reported by each business board; the isolation status indicates whether the cross-board is isolated, and the isolation status includes normal operation, power-off and re-power-on. Normal operation indicates that the cross-board is normal, power-off indicates that the cross-board has been powered off, and re-power-on indicates that the cross-board has been powered on again; the number of re-power-on repairs indicates the number of times the cross-board has been powered on again; the in-place status indicates whether each business board in the cross-board is online, and the in-place status includes online and offline.
[0033] In one embodiment, after the cross-board is started for the first time, the cross-board sends online information to the main control board. After receiving the online information, the main control board deletes the reset state, heartbeat state, heartbeat loss count, alarm information and isolation state in the monitoring information of the cross-board, sets the heartbeat mark to FALSE, and stops monitoring the cross-board until the heartbeat information uploaded by the cross-board is received again. By not monitoring the cross-board that is started for the first time until the heartbeat information of the cross-board is received again, and then monitoring, the pressure and data processing amount of the main control board monitoring the cross-board can be reduced.
[0034] In one embodiment, when a control instruction for resetting a cross-connect board is received, monitoring of the cross-connect board is stopped. The device for generating the control instruction for resetting the cross-connect board can be set according to actual conditions, and the embodiment of the present invention does not specifically limit this. For example, the device can be a network management device. Stopping monitoring of the reset cross-connect board can reduce the monitoring pressure and data processing volume of the main control board.
[0035] In one embodiment, the service board detects the LV channel between the service board and the cross board, and generates alarm information when the LV channel between the service board and the cross board is abnormal. The service board sends the alarm information to the main control board. After receiving the alarm information, the main control board updates the alarm information in the monitoring information of the cross board corresponding to the service board to obtain the updated monitoring information. After receiving the alarm information from the service board, the monitoring information of the cross board can be updated in time, which greatly improves the management efficiency and accuracy of the cross board.
[0036] In one embodiment, when the main control board detects that the cross-connect board has lost information, it generates information that the cross-connect board has been unplugged, initializes the monitoring information of the cross-connect board according to the information that the cross-connect board has been unplugged, sets the heartbeat flag to FALSE, and stops monitoring the cross-connect board. When the cross-connect board is unplugged, stopping monitoring can reduce the monitoring pressure and data processing volume of the main control board.
[0037] In one embodiment, after the main control board detects that the cross board on the subrack is online, the monitoring information board status of the cross board is updated to update the board status to the cross board in place state. By updating the board status of the cross board, the accuracy of cross board monitoring can be improved.
[0038] In one embodiment, the heartbeat message of each cross-connect board is received in a detection cycle. If the heartbeat message of the cross-connect board is not received in a detection cycle, the heartbeat loss count in the monitoring information corresponding to the cross-connect board is increased by one. The detection cycle can be set according to actual conditions, and the embodiment of the present invention does not specifically limit this. For example, the detection cycle can be 3 seconds. By counting the number of heartbeat messages lost by the cross-connect board, it is possible to accurately determine whether the cross-connect board has a fault.
[0039] Exemplarily, if the heartbeat message of cross-board A is not received in the current detection cycle, and the heartbeat loss count in the corresponding monitoring information of cross-board A is 2, then the heartbeat loss count is increased by 1, and the heartbeat loss count in the updated monitoring information of cross-board A is 3. If the heartbeat message of cross-board B is not received in the current detection cycle, and the heartbeat loss count in the corresponding monitoring information of cross-board B is 0, then the heartbeat loss count is increased by 1, and the heartbeat loss count in the updated monitoring information of cross-board B is 1.
[0040] Sub-step S1012: when a heartbeat message of a cross-connect board is obtained and a heartbeat loss count in monitoring information corresponding to the cross-connect board is greater than zero, the heartbeat loss count in the monitoring information is set to zero.
[0041] When a heartbeat message of a cross-connect board is obtained in a detection cycle and the heartbeat loss count in the monitoring information corresponding to the cross-connect board is greater than zero, the heartbeat loss count in the monitoring information corresponding to the cross-connect board is set to 0. By updating the heartbeat loss count in the monitoring information corresponding to the cross-connect board, the accuracy of cross-connect board monitoring can be improved.
[0042] Exemplarily, if a heartbeat message of cross-board A is received in the current detection cycle, and the heartbeat loss count in the corresponding monitoring information of cross-board A is 5, the heartbeat loss count in the monitoring information corresponding to cross-board A is set to 0. If a heartbeat message of cross-board B is not received in the current detection cycle, and the heartbeat loss count in the corresponding monitoring information of cross-board B is 15, the heartbeat loss count in the monitoring information corresponding to cross-board B is set to 0.
[0043] Sub-step S1013: determining the heartbeat status corresponding to each cross-connect board according to the heartbeat loss count, wherein the heartbeat status includes a normal state, a first abnormal state and a second abnormal state.
[0044] In one embodiment, when the heartbeat loss count corresponding to the cross board is less than or equal to the preset first number, the heartbeat state corresponding to the cross board is updated to a normal state; when the heartbeat loss count corresponding to the cross board is greater than the preset first number and less than the preset second number, the heartbeat state corresponding to the cross board is updated to a first abnormal state; when the heartbeat loss count corresponding to the cross board is greater than or equal to the preset second number, the heartbeat state corresponding to the cross board is updated to a second abnormal state. The preset first number and the preset second number can be set according to actual conditions, and the embodiment of the present invention does not specifically limit this. For example, the preset first number can be set to 3, and the preset second number can be set to 20. The heartbeat state can be accurately determined according to the heartbeat loss count.
[0045] Exemplarily, the heartbeat loss count corresponding to cross board 1 is 2, the heartbeat loss count corresponding to cross board 2 is 15, the heartbeat loss count corresponding to cross board 3 is 8, the heartbeat loss count corresponding to cross board 4 is 0, the heartbeat loss count corresponding to cross board 5 is 1, and the heartbeat loss count corresponding to cross board 6 is 21, wherein the preset first number is 3, and the preset second number is 20. Among them, if the heartbeat loss count 2 corresponding to cross board 1, the heartbeat loss count 0 corresponding to cross board 4, and the heartbeat loss count 1 corresponding to cross board 5 are less than the preset first number 3, the heartbeat status of cross board 1, cross board 4, and cross board 5 are updated to the normal state; if the heartbeat loss count 15 corresponding to cross board 2 and the heartbeat loss count 8 corresponding to cross board 3 are greater than the preset first number 3 and less than the preset second number 20, the heartbeat status of cross board 2 and cross board 3 are updated to the first abnormal state; if the heartbeat loss count 21 corresponding to cross board 6 is greater than the preset second number 20, the heartbeat status of cross board 6 is updated to the second abnormal state.
[0046] Step S102: when it is determined that there is a redundant cross-connect board according to the monitoring information corresponding to each cross-connect board, a preset operation is performed on the abnormal cross-connect board, wherein the preset operation includes any one of a power-on repair operation and a power-off isolation operation.
[0047] The re-power-on repair operation is to re-power-on the cross-connect board for repair, and the power-off isolation operation is to power-off and isolate the cross-connect board.
[0048] In one embodiment, a cross-connect board whose reset state is normal, in-position state is online, single board state information is normal, heartbeat state is normal, and isolation state is normal operation in the monitoring information is determined to be a cross-connect board with normal function. Through each information in the monitoring information, it can be accurately known whether the cross-connect board is functioning normally.
[0049] In one embodiment, a first number of normal cross-connect boards is obtained, and a second number of active cross-connect boards is obtained, and it is determined whether the first number is greater than the second number. If the first number is greater than the second number, it is determined that there are redundant cross-connect boards, and if the first number is less than or equal to the second number, it is determined that there are no redundant cross-connect boards. According to the number of normal cross-connect boards and the number of active cross-connect boards, it is possible to accurately know whether there are redundant cross-connect boards.
[0050] In one embodiment, when the heartbeat state of the abnormal cross-board is the first abnormal state, the percentage of the abnormal business boards to the total business boards on the sub-rack where the abnormal cross-board is located is determined; when the percentage is greater than or equal to the preset percentage, the abnormal cross-board is electrically isolated. The preset percentage can be set according to actual conditions, and the embodiment of the present invention does not specifically limit this. For example, the preset percentage can be set to 50%. When the abnormal business boards on the sub-rack where the abnormal cross-board is located account for more than the preset percentage of the total business boards, it is determined that the cross-board is faulty, and the abnormal cross-board is electrically isolated to resolve the impact of the abnormal cross-board on the business.
[0051] Exemplarily, when the heartbeat status of the abnormal cross-board a is the first abnormal status, there are 20 abnormal business boards on the sub-rack where the cross-board a is located, and the total number of business boards is 30. The percentage of the 20 abnormal business boards to the total number of business boards is 67%, among which the preset percentage is 50%, and the percentage of 67% is greater than the preset percentage of 50%, and the cross-board a is electrically isolated.
[0052] In one embodiment, if Figure 4 As shown, step S102 includes sub-steps S1021 to S1023.
[0053] Sub-step S1021: when the heartbeat state of the abnormal cross-connect board is the second abnormal state, determining whether there is a power-on repair operation record of the abnormal cross-connect board according to the monitoring information.
[0054] In one embodiment, when the heartbeat state of the abnormal cross-connect board is the second abnormal state, it is determined whether there is a re-power-on repair operation record for the abnormal cross-connect board according to the isolation state of the monitoring information corresponding to the abnormal cross-connect board. When the isolation state is re-power-on, it is determined that there is a re-power-on repair operation record for the abnormal cross-connect board; when the isolation state is normal operation, it is determined that there is no re-power-on repair operation record for the abnormal cross-connect board. The isolation state of the monitoring information can accurately know whether there is a re-power-on record for the cross-connect board, which greatly improves the accuracy of cross-connect board monitoring.
[0055] Sub-step S1022: If there is a power-on repair operation record for the abnormal cross-connect board and the number of power-on repair operations is greater than or equal to a preset number, a power-off isolation operation is performed on the abnormal cross-connect board.
[0056] When the isolation state of the abnormal cross-connect board is re-powered on, and it is determined that there is a re-power-on repair operation record for the abnormal cross-connect board and the number of re-power-on repair operations is greater than or equal to the preset number, the abnormal cross-connect board is powered off and isolated, and the isolation state in the monitoring information corresponding to the abnormal cross-connect board is updated to power off. The preset number of times can be set according to actual conditions, and the embodiment of the present invention does not specifically limit this. For example, the preset number of times can be set to 2. If the cross-connect board has been re-powered on and repaired, but the cross-connect board is still abnormal, the abnormal cross-connect board is powered off and isolated to solve the impact of the abnormal cross-connect board on the business.
[0057] Sub-step S1023: If there is no power-on repair operation record for the abnormal cross-connect board and / or the number of power-on repair operations is less than a preset number, a power-on repair operation is performed on the abnormal cross-connect board.
[0058] In one embodiment, when the isolation state of the abnormal cross-connect board is normal operation, it is determined that there is no power-on repair operation record for the abnormal cross-connect board, the abnormal cross-connect board is re-powered on for repair, and the isolation state in the monitoring information corresponding to the abnormal cross-connect board is updated to power-on. If the abnormal cross-connect board has not been re-powered on for repair, the abnormal cross-connect board is re-powered on for repair to resolve the impact of the abnormal cross-connect board on the business.
[0059] In one embodiment, when the isolation state of the abnormal cross-connect board is re-powered on, it is determined that there is a re-power-on repair operation record for the abnormal cross-connect board and the number of re-power-on repair operations is less than a preset number, a re-power-on repair operation is performed on the abnormal cross-connect board, and the number of re-power-ons in the monitoring information corresponding to the abnormal cross-connect board is increased by one. The preset number of times can be set according to actual conditions, and the embodiment of the present invention does not specifically limit this. For example, the preset number of times can be set to 2. If the abnormal cross-connect board has been re-powered on for repair, but the cross-connect board is still abnormal, the abnormal cross-connect board is re-powered on for repair again to avoid accidental failures causing abnormalities in the cross-connect board.
[0060] In one embodiment, when the heartbeat information of the cross-board carries single-board status information, and the single-board status information indicates that the single-board status of the cross-board is abnormal, the cross-board is determined to be an abnormal cross-board; the percentage of abnormal business boards to total business boards on the sub-rack where the abnormal cross-board is located is determined, and when the percentage is greater than or equal to a preset percentage, the abnormal cross-board is electrically isolated. The preset percentage can be set according to actual conditions, and the embodiment of the present invention does not specifically limit this. For example, the preset percentage can be set to 50%. When there is a fault in the single-board capability status of the abnormal cross-board and the number of abnormal business boards in the sub-rack where the abnormal cross-board is located is greater than a preset percentage of the total business boards, it can be understood that the cross-board has a single-board fault and has a greater impact on the business board, and the cross-board is electrically isolated to solve the impact of the abnormal cross-board on the business.
[0061] For example, Figure 5 As shown, S201 the cross board periodically detects the serdes status and generates a heartbeat message; the cross board sends the heartbeat message to the main control board; S202 the main control board receives the heartbeat message; S203 the main control board updates the monitoring information corresponding to the cross board according to the heartbeat message; S204 performs a power-on repair operation or a power-off isolation operation on the abnormal cross board.
[0062] The management method of the optical transmission network equipment in the above-mentioned embodiment obtains the heartbeat message of each cross-board at a preset time interval, and can accurately update the monitoring information corresponding to each cross-board according to the heartbeat message of each cross-board; when it is determined according to the monitoring information corresponding to each cross-board that there is a redundant cross-board, a preset operation is performed on the abnormal cross-board, and the preset operation includes any one of a power-on repair operation and a power-off isolation operation. This scheme can monitor each cross-board in real time and generate monitoring information, so as to timely discover cross-board faults, and when there are redundant cross-boards, a power-on repair operation or a power-off isolation operation is performed on the abnormal cross-board to solve the fault in a timely manner, greatly improving the operating efficiency and service life of the optical transmission network equipment.
[0063] See also Figure 6 , Figure 6 A schematic block diagram of the structure of an optical transport network device provided in an embodiment of the present invention.
[0064] like Figure 6 As shown, the optical transport network device 300 includes a crossbar 301, a processor 302 and a memory 303. The processor 302 and the memory 303 are connected via a bus 304, such as an I2C (Inter-integrated Circuit) bus.
[0065] Specifically, the processor 302 is used to provide computing and control capabilities to support the operation of the entire optical transport network equipment. The processor 302 can be a central processing unit (CPU), and the processor 302 can also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
[0066] Specifically, the memory 303 may be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a mobile hard disk.
[0067] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of the present invention, and does not constitute a limitation on the optical transport network device to which the scheme of the present invention is applied. The specific optical transport network device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0068] The processor is used to run a computer program stored in the memory, and implement any one of the optical transport network device management methods provided by the embodiments of the present invention when executing the computer program.
[0069] In one embodiment, the processor 302 is used to run a computer program stored in the memory, and implements the following steps when executing the computer program:
[0070] Acquire the heartbeat message of each cross-connect board at a preset time interval, and update the monitoring information corresponding to each cross-connect board according to the heartbeat message of each cross-connect board;
[0071] When it is determined that a redundant cross-connect board exists according to the monitoring information corresponding to each cross-connect board, a preset operation is performed on the abnormal cross-connect board, and the preset operation includes any one of a power-on repair operation and a power-off isolation operation.
[0072] In one embodiment, the processor 302 is used to implement at least one of the following when implementing that the monitoring information includes a heartbeat loss count and a heartbeat status and updating the monitoring information corresponding to each cross-connect board according to the heartbeat message of each cross-connect board:
[0073] If no heartbeat message from the cross-connect board is received within a detection cycle, the heartbeat loss count in the monitoring information corresponding to the cross-connect board is increased by one;
[0074] When a heartbeat message of a cross-connect board is obtained and the heartbeat loss count in the monitoring information corresponding to the cross-connect board is greater than zero, the heartbeat loss count in the monitoring information is set to 0;
[0075] The heartbeat state corresponding to each cross-connect board is determined according to the heartbeat loss count, and the heartbeat state includes a normal state, a first abnormal state, and a second abnormal state.
[0076] In one embodiment, when the processor 302 determines the heartbeat status corresponding to each cross-connect board according to the heartbeat loss count, it is configured to implement:
[0077] When the heartbeat loss count corresponding to the cross-connect board is less than or equal to a preset first number, updating the heartbeat state corresponding to the cross-connect board to a normal state;
[0078] When the heartbeat loss count corresponding to the cross-connect board is greater than a preset first number and less than a preset second number, updating the heartbeat state corresponding to the cross-connect board to a first abnormal state;
[0079] When the heartbeat loss count corresponding to the cross-connect board is greater than or equal to a preset second number, the heartbeat state corresponding to the cross-connect board is updated to a second abnormal state.
[0080] In one embodiment, when the processor 302 implements the step of performing a preset operation on an abnormal cross-connect board when it is determined according to the monitoring information corresponding to each cross-connect board that there is a redundant cross-connect board, the processor 302 is configured to implement:
[0081] When the heartbeat state of the abnormal cross-connect board is the first abnormal state, determining the percentage of the abnormal service boards to the total service boards on the subrack where the abnormal cross-connect board is located;
[0082] When the percentage is greater than or equal to the preset percentage, the abnormal cross-connect board is electrically isolated.
[0083] In one embodiment, when the processor 302 implements the step of performing a preset operation on an abnormal cross-connect board when it is determined according to the monitoring information corresponding to each cross-connect board that there is a redundant cross-connect board, the processor 302 is configured to implement:
[0084] When the heartbeat state of the abnormal cross-connect board is the second abnormal state, determining whether there is a power-on repair operation record for the abnormal cross-connect board according to the monitoring information;
[0085] If there is a power-on repair operation record for the abnormal cross-connect board and the number of power-on repair operations is greater than or equal to a preset number, a power-off isolation operation is performed on the abnormal cross-connect board.
[0086] In one embodiment, after implementing the step of determining, according to the monitoring information, whether there is a power-on repair operation record for the abnormal cross-connect board, the processor 302 is further configured to implement:
[0087] If there is no power-on repair operation record for the abnormal cross-connect board and / or the number of power-on repair operations is less than a preset number, a power-on repair operation is performed on the abnormal cross-connect board.
[0088] In one embodiment, when the processor 302 implements the step of performing a preset operation on an abnormal cross-connect board when it is determined according to the monitoring information corresponding to each cross-connect board that there is a redundant cross-connect board, the processor 302 is configured to implement:
[0089] When the heartbeat information of the cross-connect board carries the single board status information, and the single board status information indicates that the single board status of the cross-connect board is abnormal, determining that the cross-connect board is an abnormal cross-connect board;
[0090] The percentage of abnormal service boards to total service boards on the subrack where the abnormal cross-connect board is located is determined, and when the percentage is greater than or equal to a preset percentage, an electrical isolation operation is performed on the abnormal cross-connect board.
[0091] In one embodiment, the monitoring information further includes at least one of a heartbeat mark, a reset state, heartbeat information, an alarm information, an isolation state, a power-on repair count, and an in-place state.
[0092] It should be noted that technical personnel in the relevant field can clearly understand that for the convenience and conciseness of description, the specific working process of the optical transport network equipment described above can refer to the corresponding process in the aforementioned optical transport network equipment management method embodiment, and will not be repeated here.
[0093] An embodiment of the present invention also provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any method for managing an optical transport network device provided in the specification of the present invention.
[0094] The storage medium may be an internal storage unit of the optical transport network device described in the above-mentioned embodiment, such as a hard disk or memory of the optical transport network device. The storage medium may also be an external storage device of the optical transport network device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc., equipped on the optical transport network device.
[0095] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0096] It should be understood that the term "and / or" used in the present specification refers to any combination of one or more of the associated listed items and all possible combinations, including these combinations. It should be noted that, in this article, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a..." does not exclude the presence of other identical elements in the process, method, article or system including the element.
[0097] The serial numbers of the embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. The above description is only a specific implementation of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.
Claims
1. A method for managing optical transport network equipment, characterized in that: The optical transport network equipment includes a plurality of cross-connect boards, and the method includes: Acquire the heartbeat message of each cross-connect board at a preset time interval, and update the monitoring information corresponding to each cross-connect board according to the heartbeat message of each cross-connect board; When it is determined that a redundant cross-connect board exists according to the monitoring information corresponding to each cross-connect board, a preset operation is performed on the abnormal cross-connect board, and the preset operation includes any one of a power-on repair operation and a power-off isolation operation.
2. The method for managing optical transport network equipment according to claim 1, characterized in that: The monitoring information includes a heartbeat loss count and a heartbeat status, and the updating of the monitoring information corresponding to each cross-connect board according to the heartbeat message of each cross-connect board includes at least one of the following: If no heartbeat message from the cross-connect board is received within a detection cycle, the heartbeat loss count in the monitoring information corresponding to the cross-connect board is increased by one; When a heartbeat message of a cross-connect board is obtained and the heartbeat loss count in the monitoring information corresponding to the cross-connect board is greater than zero, the heartbeat loss count in the monitoring information is set to 0; The heartbeat state corresponding to each cross-connect board is determined according to the heartbeat loss count, and the heartbeat state includes a normal state, a first abnormal state, and a second abnormal state.
3. The method for managing optical transport network equipment according to claim 2, characterized in that: Determining the heartbeat status corresponding to each cross-connect board according to the heartbeat loss count includes: When the heartbeat loss count corresponding to the cross-connect board is less than or equal to a preset first number, updating the heartbeat state corresponding to the cross-connect board to a normal state; When the heartbeat loss count corresponding to the cross-connect board is greater than a preset first number and less than a preset second number, updating the heartbeat state corresponding to the cross-connect board to a first abnormal state; When the heartbeat loss count corresponding to the cross-connect board is greater than or equal to a preset second number, the heartbeat state corresponding to the cross-connect board is updated to a second abnormal state.
4. The method for managing optical transport network equipment according to claim 2, characterized in that: When it is determined according to the monitoring information corresponding to each cross-connect board that there is a redundant cross-connect board, performing a preset operation on the abnormal cross-connect board includes: When the heartbeat state of the abnormal cross-connect board is the first abnormal state, determining the percentage of the abnormal service boards to the total service boards on the subrack where the abnormal cross-connect board is located; When the percentage is greater than or equal to the preset percentage, the abnormal cross-connect board is electrically isolated.
5. The method for managing optical transport network equipment according to claim 2, characterized in that: When it is determined according to the monitoring information corresponding to each cross-connect board that there is a redundant cross-connect board, performing a preset operation on the abnormal cross-connect board includes: When the heartbeat state of the abnormal cross-connect board is the second abnormal state, determining whether there is a power-on repair operation record for the abnormal cross-connect board according to the monitoring information; If there is a power-on repair operation record for the abnormal cross-connect board and the number of power-on repair operations is greater than or equal to a preset number, a power-off isolation operation is performed on the abnormal cross-connect board.
6. The method for managing optical transport network equipment according to claim 5, characterized in that: After determining whether there is a power-on repair operation record for the abnormal cross-connect board according to the monitoring information, the method further includes: If there is no power-on repair operation record for the abnormal cross-connect board and / or the number of power-on repair operations is less than a preset number, a power-on repair operation is performed on the abnormal cross-connect board.
7. The method for managing optical transport network equipment according to claim 1, characterized in that: When it is determined according to the monitoring information corresponding to each cross-connect board that there is a redundant cross-connect board, performing a preset operation on the abnormal cross-connect board includes: When the heartbeat information of the cross-connect board carries the single board status information, and the single board status information indicates that the single board status of the cross-connect board is abnormal, determining that the cross-connect board is an abnormal cross-connect board; The percentage of abnormal service boards to total service boards on the subrack where the abnormal cross-connect board is located is determined, and when the percentage is greater than or equal to a preset percentage, an electrical isolation operation is performed on the abnormal cross-connect board.
8. The method for managing optical transport network equipment according to any one of claims 1 to 7, characterized in that: The monitoring information also includes at least one of a heartbeat mark, a reset state, heartbeat information, an alarm information, an isolation state, a power-on repair number, and an in-place state.
9. An optical transmission network device, characterized in that: The optical transport network device includes a cross-board, a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for realizing connection and communication between the processor and the memory, wherein when the computer program is executed by the processor, the steps of the management method of the optical transport network device as described in any one of claims 1 to 8 are realized.
10. A storage medium for computer-readable storage, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the optical transport network device management method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Monitoring method for communication device and communication device
CN107819617A
Communication device, control method thereof, and computer readable storage medium
CN113193995A
Core board resetting method and device, equipment, storage medium and program product
CN113918383A
Method for quickly positioning fault point of OTN link, storage medium and equipment
CN114244468A
