CN113392502A - Simulation system and method for optical transport network circuit board training - Google Patents

Simulation system and method for optical transport network circuit board training Download PDF

Info

Publication number
CN113392502A
CN113392502A CN202110520427.4A CN202110520427A CN113392502A CN 113392502 A CN113392502 A CN 113392502A CN 202110520427 A CN202110520427 A CN 202110520427A CN 113392502 A CN113392502 A CN 113392502A
Authority
CN
China
Prior art keywords
optical
simulation
module
port
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110520427.4A
Other languages
Chinese (zh)
Other versions
CN113392502B (en
Inventor
郝雪
耿立卓
刘璐
贺建明
高琦
董哲
靳伟
冯书书
范玉昆
刘子玥
李帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
Training Center of State Grid Hebei Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Training Center of State Grid Hebei Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, Training Center of State Grid Hebei Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202110520427.4A priority Critical patent/CN113392502B/en
Publication of CN113392502A publication Critical patent/CN113392502A/en
Application granted granted Critical
Publication of CN113392502B publication Critical patent/CN113392502B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Quality & Reliability (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a simulation system and a simulation method for optical transmission network circuit board training, and relates to the technical field of communication simulation; the system comprises an initialization and main control interaction module, a data processing module and a data processing module, wherein the initialization and main control interaction module is used for creating an optical signal simulation message queue of an optical transmission network to be sent, initializing the queue, receiving an alarm message sent by an external module, formatting the received alarm message, increasing the parameters of alarm time and an alarm source identifier and forming the alarm message; the method comprises the steps of initialization and master control interaction, reading an initialization script file, generating a port parameter table, creating an optical signal simulation message queue of the optical transmission network to be sent, initializing the queue, receiving an alarm message sent from the outside, formatting the received alarm message, increasing the alarm time and the parameters of an alarm source identifier and forming the alarm message; the optical transmission network circuit board has high simulation efficiency and good effect through the initialization, the master control interaction module and the like.

Description

Simulation system and method for optical transport network circuit board training
Technical Field
The invention relates to the technical field of communication simulation, in particular to a simulation system and method for optical transmission network circuit board training.
Background
With the upgrading and speeding up of the digital transformation of various industries and the wide application of the mobile internet in social production and people's life, the role of an optical communication network for providing a high-speed transmission channel for mass network data is more and more important. As a mainstream optical communication technology, an OTN technology is currently deployed and applied in a large amount in communication networks of communication operators and large-scale enterprises.
Due to the fact that optical transport network OTN devices are multiple in types, complex in technical principle and operation and maintenance process, and high in fault analysis and processing difficulty, practical operation training needs to be carried out on related operation and maintenance personnel urgently. The practical training is carried out by purchasing real equipment to build an experimental network, so that not only is the hardware investment cost high, but also most faults and abnormal states are difficult to simulate and repeatedly exercise.
Problems with the prior art and considerations:
how to solve the technical problems of low simulation efficiency and poor effect of the optical transmission network circuit board.
Disclosure of Invention
The invention aims to solve the technical problem of providing a simulation system and a simulation method for optical transmission network circuit board training, which realize higher simulation efficiency and better simulation effect of the optical transmission network circuit board through an initialization and main control interaction module and the like.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows: a simulation system for optical transport network circuit board training comprises an initialization and main control interaction module, wherein the initialization and main control interaction module is a program module and is used for reading an initialization script file, generating a port parameter table, creating an optical signal simulation message queue of an optical transport network to be sent and initializing the queue; and receiving an alarm message sent by an external module, formatting the received alarm message, increasing alarm time and parameters of an alarm source identifier and forming the alarm message, wherein the alarm source identifier comprises a network element identifier, a board card identifier, a port number and a logic scheduling port number.
The further technical scheme is as follows: the optical transmission network optical signal simulation system also comprises a physical optical port sending module, a main control board simulation module, an initialization and main control interaction module and a physical optical port sending module, wherein the initialization and main control interaction module is also used for sending information for starting the physical optical port and sending a timer to the physical optical port sending module after initializing an optical signal simulation message queue of the optical transmission network to be sent; sending the alarm message to a main control board simulation module; receiving a configuration command from a main control board simulation module, wherein the configuration command comprises the name of a system configuration table to be modified and new configuration parameters, determining a table to be modified from a port parameter table, a service mapping table and a cross connection table according to the name of the system configuration table to be modified, and then updating the table according to the new configuration parameters; the physical optical port sending module is a program module and is used for sending optical signal simulation messages of the optical transmission network to be sent corresponding to each port in an optical signal simulation message queue of the optical transmission network to be sent to the wave combining plate simulation module after the physical optical port sending timer is overtime, executing initialization operation on the optical signal simulation message queue of the optical transmission network to be sent and restarting the physical optical port sending timer; the main control board simulation module is a program module and is used for receiving and storing the alarm information sent by the initialization and main control interaction module, and sending the configuration command to the initialization and main control interaction module when a user modifies the configuration data of the initialization and main control interaction module.
The further technical scheme is as follows: the optical transmission network optical signal simulation system further comprises a wave combination plate simulation module which is a program module and used for receiving the optical transmission network optical signal simulation message sent by the physical optical port sending module and carrying out wave combination processing.
The further technical scheme is as follows: the optical transmission network optical signal simulation system further comprises a physical optical port receiving and processing module, a logic scheduling port sending module, a logic scheduling port receiving and processing module and a cross board simulation module, wherein the physical optical port receiving and processing module is a program module and is used for receiving optical transmission network optical signal simulation messages, if the values of fields in the optical transmission network optical signal simulation messages are found to be abnormal, corresponding warning information is generated, information of a simulation optical channel data unit is extracted from the optical transmission network optical signal simulation messages and sent to the logic scheduling port sending module; the logic scheduling port sending module is a program module and is used for receiving information of the simulation optical channel data unit from the physical optical port receiving and processing module, analyzing message parameters and related parameter configuration in the cross connection table, determining the level of cross connection, taking out the information of the simulation optical channel data unit of the corresponding level and sending the information to the cross board simulation module; the cross board simulation module is a program module and is used for receiving simulation optical channel data unit messages sent by the logic scheduling port sending module and sending the optical channel data unit messages to the corresponding external module according to the configuration parameters of the cross connection table; when the cross board simulation module receives the simulation optical channel data unit message sent by the external module, the received simulation optical channel data unit message is sent to the logic scheduling port receiving and processing module according to the configuration parameters of the cross connection table; the logic scheduling port receiving and processing module is a program module and is used for receiving information of the simulation optical channel data unit sent by the cross board simulation module, if the value of a field in the simulation optical channel data unit is found to be abnormal, generating corresponding alarm information, placing the information of the simulation optical channel data unit at a corresponding position in the corresponding optical signal simulation message of the optical transmission network to be sent, and forming an optical signal simulation message queue of the optical transmission network to be sent.
The further technical scheme is as follows: the optical transmission network optical signal simulation system further comprises a wave division plate simulation module which is a program module and is used for wave division and providing optical transmission network optical signal simulation information after wave division, wherein the optical transmission network optical signal simulation information comprises fields of optical power, wavelength, optical port number, logic scheduling port number, optical channel transmission unit overhead type, optical channel data unit frame type and frame alignment signals, and the frame alignment signal field is a field with two bytes.
A simulation method for optical transport network circuit board training comprises the following steps of initialization and master control interaction, reading an initialization script file, generating a port parameter table, creating an optical signal simulation message queue of an optical transport network to be sent and initializing the queue; the method comprises the steps of receiving an alarm message sent from the outside, formatting the received alarm message, increasing alarm time and parameters of an alarm source identifier and forming the alarm message, wherein the alarm source identifier comprises a network element identifier, a board card identifier, a port number and a logic scheduling port number.
The further technical scheme is as follows: in the initialization and master control interaction steps, after initializing an optical signal simulation message queue of an optical transport network to be sent, generating information for starting a physical optical port and sending a timer; acquiring a configuration command, wherein the configuration command comprises the name of a system configuration table to be modified and new configuration parameters, determining a table to be modified from a port parameter table, a service mapping table and a cross connection table according to the name of the system configuration table to be modified, and then updating the table according to the new configuration parameters; a physical optical port sending step, wherein after a physical optical port sending timer is overtime, optical transmission network optical signal simulation messages to be sent corresponding to each port in an optical transmission network optical signal simulation message queue to be sent are formed, initialization operation is executed on the optical transmission network optical signal simulation message queue to be sent, and the physical optical port sending timer is restarted; and a step of main control board simulation, namely acquiring and storing alarm information, and generating a configuration command when a user modifies configuration data.
The further technical scheme is as follows: the method also comprises the following step of wave combination plate simulation, wherein the step of wave combination plate simulation is used for acquiring the optical signal simulation message of the optical transmission network and carrying out wave combination processing.
The further technical scheme is as follows: the physical optical port receives and processes the optical signal simulation message of the optical transport network, if the value of a field in the optical signal simulation message of the optical transport network is found to be abnormal, corresponding warning information is generated, and information of a data unit of the simulation optical channel is extracted from the optical signal simulation message of the optical transport network; a step of sending by a logic scheduling port, namely acquiring information of the simulation optical channel data unit, analyzing message parameters and related parameter configuration in a cross connection table, determining the level of cross connection, and taking out the information of the simulation optical channel data unit of the corresponding level; a step of cross board simulation, which is used for obtaining the simulation optical channel data unit message of the step of sending the logic scheduling port and sending the optical channel data unit message to a corresponding external module according to the configuration parameters of the cross connection table; receiving an emulation optical channel data unit message sent by an external module, and reserving the received emulation optical channel data unit message according to configuration parameters of a cross connection table; and a step of receiving and processing by the logic scheduling port, acquiring information of the standby simulation optical channel data unit in the step of crossing board simulation, if the value of a field in the simulation optical channel data unit is found to be abnormal, generating corresponding alarm information, putting the information of the simulation optical channel data unit to a corresponding position in the corresponding optical signal simulation message of the optical transmission network to be sent, and forming an optical signal simulation message queue of the optical transmission network to be sent.
The further technical scheme is as follows: the method also comprises a step of wave division plate simulation, wherein wave division is carried out, and an optical transport network optical signal simulation message after wave division is provided, the optical transport network optical signal simulation message comprises optical power, wavelength, an optical port number, a logic scheduling port number, an optical channel transport unit overhead type, an optical channel data unit frame type and a field of a frame alignment signal, and the field of the frame alignment signal is a field of two bytes.
Adopt the produced beneficial effect of above-mentioned technical scheme to lie in:
a simulation system for optical transport network circuit board training comprises an initialization and main control interaction module, wherein the initialization and main control interaction module is a program module and is used for reading an initialization script file, generating a port parameter table, creating an optical signal simulation message queue of an optical transport network to be sent and initializing the queue; and receiving an alarm message sent by an external module, formatting the received alarm message, increasing alarm time and parameters of an alarm source identifier and forming the alarm message, wherein the alarm source identifier comprises a network element identifier, a board card identifier, a port number and a logic scheduling port number. According to the technical scheme, the optical transmission network circuit board has high simulation efficiency and good effect through the initialization, the master control interaction module and the like.
A simulation method for optical transport network circuit board training comprises the following steps of initialization and master control interaction, reading an initialization script file, generating a port parameter table, creating an optical signal simulation message queue of an optical transport network to be sent and initializing the queue; the method comprises the steps of receiving an alarm message sent from the outside, formatting the received alarm message, increasing alarm time and parameters of an alarm source identifier and forming the alarm message, wherein the alarm source identifier comprises a network element identifier, a board card identifier, a port number and a logic scheduling port number. According to the technical scheme, the optical transmission network circuit board has high simulation efficiency and good effect through the steps of initialization, master control interaction and the like.
See detailed description of the preferred embodiments.
Drawings
Fig. 1 is a schematic block diagram of embodiment 1 of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the application, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application, but the present application may be practiced in other ways than those described herein, and it will be apparent to those of ordinary skill in the art that the present application is not limited to the specific embodiments disclosed below.
Example 1:
as shown in fig. 1, the present invention discloses a simulation system for optical transport network circuit board training, which comprises five program modules including a circuit board simulation module, a main control board simulation module, a wave division board simulation module, a wave combination board simulation module and a cross board simulation module, wherein the circuit board simulation module comprises five subprogram modules including an initialization and main control interaction module, a physical optical port receiving and processing module, a logic scheduling port transmitting module, a logic scheduling port receiving and processing module and a physical optical port transmitting module.
And the main control board simulation module is used for receiving and storing the alarm information sent by the circuit board simulation module, and sending the configuration command to the circuit board simulation module when a user modifies the configuration data of the circuit board simulation module.
The optical transmission network optical signal simulation message comprises fields of optical power, wavelength, optical port number, logic scheduling port number, optical channel transmission unit overhead type, optical channel data unit frame type and frame alignment signals, and the frame alignment signal field is a field of two bytes.
And the wave combining plate simulation module is used for receiving the optical transmission network optical signal simulation message sent by the circuit board simulation module and carrying out wave combining processing.
The cross board simulation module is used for receiving the simulation optical channel data unit message sent by the circuit board simulation module and sending the optical channel data unit message to a corresponding external module according to the configuration parameters of the cross connection table; when the cross board simulation module receives the simulation optical channel data unit message sent by the external module, the received simulation optical channel data unit message is sent to the circuit board simulation module according to the configuration parameters of the cross connection table.
The initialization and master control interaction module is used for reading the initialization script file, generating a port parameter table, creating an optical signal simulation message queue of the optical transmission network to be sent, initializing the queue, and sending information for starting the physical optical port and sending a timer to the physical optical port sending module; receiving an alarm message sent by an external module, formatting the received alarm message, increasing alarm time and parameters of an alarm source identifier to form the alarm message, wherein the alarm source identifier comprises a network element identifier, a board card identifier, a port number and a logical scheduling port number, and sending the alarm message to a main control board simulation module; receiving a configuration command from a main control board simulation module, wherein the configuration command comprises the name of a system configuration table to be modified and new configuration parameters, determining a table to be modified from a port parameter table, a service mapping table and a cross connection table according to the name of the system configuration table to be modified, and then updating the table according to the new configuration parameters.
And the physical optical port receiving and processing module is used for receiving the optical transmission network optical signal simulation message, generating corresponding alarm information if the value of the field in the optical transmission network optical signal simulation message is found to be abnormal, extracting the information of the data unit of the simulation optical channel from the optical transmission network optical signal simulation message and sending the information to the logic scheduling port sending module.
And the logic scheduling port sending module is used for receiving the information of the simulation optical channel data unit from the physical optical port receiving and processing module, analyzing the message parameters and the related parameter configuration in the cross connection table, determining the level of cross connection, taking out the information of the simulation optical channel data unit of the corresponding level and sending the information to the cross board simulation module.
The logic scheduling port receiving and processing module is used for receiving information of the simulation optical channel data unit sent by the cross board simulation module, generating corresponding alarm information if the value of a field in the simulation optical channel data unit is found to be abnormal, putting the information of the simulation optical channel data unit to a corresponding position in the optical signal simulation message of the corresponding optical transmission network to be sent, and forming an optical signal simulation message queue of the optical transmission network to be sent.
And the physical optical port sending module is used for sending the optical signal simulation message of the optical transmission network to be sent corresponding to each port in the optical signal simulation message queue of the optical transmission network to be sent to the wave combining plate simulation module after the physical optical port sending timer is overtime, executing initialization operation on the optical signal simulation message queue of the optical transmission network to be sent, and restarting the physical optical port sending timer.
Example 2:
the invention discloses a simulation method for optical transmission network circuit board training, which comprises five steps of circuit board simulation, main control board simulation, wave division board simulation, wave combination board simulation and cross board simulation, and is detailed as follows.
Master control board simulation
And receiving and storing alarm information sent by the circuit board simulation, and sending a configuration command to the circuit board simulation when a user modifies configuration data of the circuit board simulation.
Wave-splitting plate simulation
The optical transmission network optical signal simulation message after wave division is sent to a circuit board in a simulation mode, the optical transmission network optical signal simulation message comprises optical power, wavelength, an optical port number, a logic scheduling port number, an optical channel transmission unit overhead type, an optical channel data unit frame type and a field of a frame alignment signal, and the field of the frame alignment signal is a field with two bytes.
Wave combining plate simulation
And receiving the simulation message of the optical signal of the optical transport network sent by the circuit board simulation and carrying out wave combination processing.
Cross board simulation
Receiving a simulation optical channel data unit message sent by the circuit board simulation, and sending the optical channel data unit message to a corresponding external module according to the configuration parameters of the cross connection table; when the cross board simulation receives the simulation optical channel data unit message sent by the external module, the received simulation optical channel data unit message is sent to the circuit board simulation according to the configuration parameters of the cross connection table.
The circuit board simulation step comprises five substeps of initialization and master control interaction, physical optical port receiving and processing, logical scheduling port transmission, logical scheduling port receiving and processing, and physical optical port transmission, which are detailed below.
Initialization and Master control interaction
Reading an initialization script file, generating a port parameter table, creating an optical signal simulation message queue of an optical transport network to be sent, initializing the queue, and sending information for starting a physical optical port and sending a timer to the physical optical port for sending; receiving an alarm message sent from the outside, formatting the received alarm message, increasing the alarm time and parameters of an alarm source identifier and forming the alarm message, wherein the alarm source identifier comprises a network element identifier, a board card identifier, a port number and a logical scheduling port number, and sending the alarm message to a main control board for simulation; receiving a configuration command from the main control board simulation, wherein the configuration command comprises the name of a system configuration table to be modified and new configuration parameters, determining a table to be modified from a port parameter table, a service mapping table and a cross connection table according to the name of the system configuration table to be modified, and then updating the table according to the new configuration parameters.
Physical optical port reception and processing
Receiving the simulation message of the optical transmission network optical signal, if the value of the field in the simulation message of the optical transmission network optical signal is found to be abnormal, generating corresponding warning information, extracting the information of the data unit of the simulation optical channel from the simulation message of the optical transmission network optical signal, and sending the information to the logic scheduling port.
Logically scheduling port transmissions
Receiving the information of the simulation optical channel data unit received and processed by the physical optical port, analyzing the message parameter and the related parameter configuration in the cross connection table, determining the level of the cross connection, and taking out the information of the simulation optical channel data unit of the corresponding level and sending the information to the cross board for simulation.
Logical dispatch port reception and processing
Receiving information of an emulation optical channel data unit sent by the cross board emulation, if the value of a field in the emulation optical channel data unit is found to be abnormal, generating corresponding alarm information, placing the information of the emulation optical channel data unit at a corresponding position in a corresponding optical signal emulation message of the optical transmission network to be sent, and forming an optical signal emulation message queue of the optical transmission network to be sent.
Physical optical port transmission
And after the physical optical port sending timer is overtime, sending the optical signal simulation message of the optical transmission network to be sent corresponding to each port in the optical signal simulation message queue of the optical transmission network to be sent to the wave combining plate for simulation, executing initialization operation on the optical signal simulation message queue of the optical transmission network to be sent, and restarting the physical optical port sending timer.
Example 3:
the invention discloses a simulation device for optical transport network circuit board training, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor in the embodiment 1, wherein the processor realizes the steps of the embodiment 2 when executing the computer program.
Example 4:
a computer-readable storage medium storing the computer program of embodiment 1, which when executed by a processor implements the steps of embodiment 2, is disclosed.
The conception of the application is as follows:
the computer simulation technology is utilized to research and develop all-digital OTN (optical transport network) equipment simulation software suitable for communication network simulation training, and the method has important practical value and wide popularization significance. Although OTN devices of an optical transport network developed by various device manufacturers have various models and different shapes, their functions all follow the constraints of the relevant communication specifications of the optical transport network, and their logical structures are also basically consistent, and mainly include circuit boards, cross boards, customer boards, main control boards, wave splitting boards, wave combining boards, and other component units, where the circuit boards are also called line-side boards or circuit boards, the cross boards are also called cross connection boards, and the customer boards are also called customer-side boards, customer boards, branch boards, or branch boards. The circuit board is the most important unit with the most complex logic in the optical transport network equipment. Therefore, designing and developing the circuit board simulation module is the basis and key for researching and developing simulation training software of the optical transmission network equipment.
At present, the function realized by the circuit board simulation module of the optical transport network device is single, mainly oriented to the application scenarios such as optical transmission network design and performance analysis, and lacks the simulation capability of the circuit board to the processing process of the optical signal physical characteristic parameters, such as: the optical power and the optical wavelength have not yet realized the simulation function of comprehensively detecting the abnormal state of the optical layer physical characteristic parameters and the electrical layer data in the optical signal and automatically generating the related alarm information, such as: the method comprises the steps of optical signal loss, too low optical power, too high optical power, frame desynchronization, multiframe desynchronization, optical channel transport unit OTU layer alarm indication signal occurrence, optical channel data unit ODU layer alarm indication signal occurrence, segment monitoring SM layer source access point identification or target access point identification abnormity, channel monitoring PM layer source access point identification or target access point identification abnormity and the like, the requirement of simulation training software on fault phenomenon recurrence capacity cannot be met, and a lot of data irrelevant to the simulation training function is transmitted in the communication service signal transmission and processing process, so that the processing speed and the transmission efficiency are not high.
Based on the analysis, the application provides a realization method of the circuit board simulation module of the optical transmission network equipment, which is suitable for simulation training. The method designs a simulation module model of the circuit board of the optical transport network equipment and the functions of the components thereof, designs a data structure of an optical transport network OTN optical signal simulation message with richer field coverage content and higher transmission efficiency aiming at the simulation training requirement, provides each component module of the circuit board simulation module, comprising an initialization and main control interaction module, a physical optical port receiving and processing module, a logic scheduling port sending module, a logic scheduling port receiving and processing module and a physical optical port sending module, provides a specific realization method of each module, realizes the simulation of the communication service signal receiving and sending functions of the circuit board of the optical transport network equipment, the communication service signals comprise optical transport network OTN optical signals and optical channel data unit frames ODUk, and realizes the simulation of the automatic identification function of the abnormal states of various communication service signals and the automatic generation function of related alarm information, the abnormal state of the communication service signal comprises optical signal loss, optical power too low, optical power too high, frame desynchronization, multiframe desynchronization, optical channel transport unit OTU layer alarm indication signal appearance, optical channel data unit ODU layer alarm indication signal appearance, section monitoring SM layer source access point identification or target access point identification abnormity, channel monitoring PM layer source access point identification or target access point identification abnormity and the like, the alarm information comprises a receiving side signal loss alarm, an input optical power too low alarm, an input optical power too high alarm, a frame alignment signal abnormity alarm, a multi-frame alignment signal abnormity alarm, an optical channel transport unit OTU layer alarm indication signal AIS alarm, an optical channel transport unit OTU trace identifier mismatch alarm, an optical channel transport unit OTU layer monitoring section monitoring SM section backward defect indication BDI back failure indication alarm, an optical channel data unit ODU layer alarm indication signal AIS alarm, an optical channel data unit ODU trace identifier mismatch alarm and the like.
Technical contribution of the present application:
the simulation method comprises the steps of designing a simulation module model of the circuit board of the optical transport network equipment, which is suitable for simulation training, having a data structure of an OTN optical signal simulation message of the circuit board optical transport network with richer field covering content and higher transmission efficiency, simulating methods of receiving and sending optical transport network OTN optical signals and optical channel data unit frames ODUk by the circuit board, and simulating methods of automatically detecting abnormal states of fields contained in the optical transport network OTN optical signals and the optical channel data unit frames ODUk by the circuit board and generating related alarm information.
Description of the technical solution:
the invention firstly designs a simulation model of a circuit board of optical transport network equipment and defines functions of a model composition module, designs data structures of an OTN optical signal simulation message and a simulation optical channel data unit ODU message of the optical transport network, then proposes an initialization method of the circuit board simulation module and a simulation method of configuration management and alarm management functions between the circuit board and a main control board, and further designs an implementation method of a physical optical port receiving and processing module, a logic scheduling port sending module, a logic scheduling port receiving and processing module and a physical optical port sending module, thereby realizing simulation of receiving, processing and sending processes of the OTN optical signal and the ODUk of the optical channel data unit ODUk of the optical transport network by the circuit board, and realizing automatic detection of abnormal states of each signal field and automatic generation of related alarm information in the process.
The specific implementation method is as follows:
5.1 Circuit Board simulation Module model design
As shown in fig. 1, the real communication line represents to transmit communication service data, the virtual communication line represents to transmit management control data, and a circuit board simulation module model is designed to simulate the circuit board function and meet the special requirements of the simulation training of the operation and maintenance personnel of the optical transport network equipment.
The circuit board simulation module model consists of five modules, namely an initialization and main control interaction module, a physical optical port receiving and processing module, a physical optical port sending module, a logic scheduling port receiving and processing module and a logic scheduling port sending module. The simulation function design of each module is as follows:
the initialization and main control interaction module realizes the initialization function of the circuit board simulation module and simulates the configuration management and alarm management functions between the circuit board and the main control board.
The physical optical port receives and processes the OTN optical signal sent by the wavelength division plate, which is received by the physical optical port of the circuit board, processes the optical layer physical characteristic parameter in the signal and the OTN frame structure data of the optical transport network in the electrical layer data, and generates the function of the related alarm information aiming at the detected abnormal state.
The logic scheduling port sending module simulates the function of a circuit board generating an optical channel data unit frame ODUk and sending the optical channel data unit frame ODUk to a cross board.
The logic scheduling port receiving and processing module simulates the functions of a circuit board receiving an optical channel data unit frame ODUk from a cross board, processing relevant fields in the frame and generating alarm information according to the detected abnormal state.
The physical optical port sending module simulates the function of generating an Optical Transport Network (OTN) optical signal by the physical optical port of the circuit board and sending the OTN optical signal to the wave combining plate.
The circuit board simulation module, the main control board simulation module, the wave division board simulation module, the wave combination board simulation module and the cross board simulation module perform interaction of management control data or communication service data, and realize the simulation function of the optical transport network equipment through cooperative processing.
The main control board simulation module receives the alarm information sent by the circuit board simulation module and stores and manages the received alarm information. When a user modifies the system configuration data related to the circuit board simulation module, the main control board simulation module sends a configuration command to the circuit board simulation module.
The wave division plate simulation module realizes the wave division function and sends the optical transmission network OTN optical signal simulation message after wave division to the circuit board simulation module.
And the wave combining plate simulation module receives the OTN optical signal simulation message sent by the circuit board simulation module and performs wave combining processing.
And the cross board simulation module receives the simulation optical channel data unit ODU message sent by the circuit board simulation module, and sends the optical channel data unit ODU message to other simulation software for processing according to the configuration parameters of the cross connection table. Meanwhile, when the cross board simulation module receives the simulation optical channel data unit ODU message sent by other simulation software and the message is sent to the circuit board for processing according to the configuration parameters of the cross connection table, the message is sent to the circuit board simulation module.
5.2 design of data structure of OTN optical signal simulation message
The circuit board of the optical transport network device has one or more physical optical ports, and performs transceiving of an optical transport network OTN optical signal with other board cards through an optical fiber, for example: wave splitting plates or wave combining plates. The received or sent optical transport network OTN optical signal simultaneously has optical layer physical characteristic parameters and electrical layer data, the optical layer physical characteristic parameters such as optical power and wavelength, and the electrical layer data includes an optical transport network OTN frame, where the optical transport network OTN frame includes a frame alignment overhead, an optical channel transport unit overhead OTUk, an optical channel data unit frame ODUk, and a forward error correction code of the optical channel transport unit overhead OTUk, and the optical channel data unit frame ODUk includes an optical channel data unit frame overhead and an optical channel payload unit content OPUk. Communication service signals received and transmitted by a circuit board simulation module in an existing optical transport network simulation system adopt a standard optical transport network OTN frame structure in an optical transport network specification, and the system does not have description and transmission capacity of optical signal physical characteristic parameters, port parameters and signal types, and cannot realize simulation of an alarm information generation process under the condition of optical signal physical characteristic abnormity, such as alarm of signal loss at a receiving side, too low input optical power, too high input optical power and the like, the port positioning and signal type analysis process is complicated, and meanwhile, a large number of useless reserved fields and fields irrelevant to a simulation training function exist in the signals, so that the signal analysis processing speed and the transmission efficiency are lower.
In order to solve the problems, the field in the frame structure of the OTN of the standard optical transport network is expanded, compressed and deleted, and a brand-new optical signal simulation message data structure of the OTN of the optical transport network is designed. Wherein the newly introduced extension field includes: optical signal physical characteristic parameters such as optical power, wavelength and the like; port parameters such as an optical port number port _ no and a logical scheduling port number dispatch _ port _ no; signal type parameters such as optical channel transport unit overhead OTUk type otu _ type, optical channel data unit frame ODUk type odu _ type, etc. The compressed field is the frame alignment signal field FAS, which is shortened from 6 bytes to 2 bytes. The fields to be pruned include generic communication channel 0 field GCC0 and reserved field RES in the overhead of optical channel transport unit overhead OTUk, forward error correction code related field of optical channel transport unit overhead OTUk, serial connection monitoring fields TCM 1-TCM 6, TCM activation or deactivation protocol channel field TCMACT, generic communication channel 1 field GCC1, generic communication channel 2 field GCC2, experimental channel field EXP in the overhead of optical channel data unit frame ODUk, justification control field JC, negative justification opportunity byte field NJO, positive justification opportunity byte field PJO in the content OPUk of optical channel payload unit, etc.
As shown in table 1, the data structure of the OTN optical signal emulation message SimOtnMsg designed for the present application.
Table 1: optical transport network OTN optical signal simulation message SimOtnMSg data structure
Figure BDA0003063709540000141
The simulation optical channel data unit ODU message SimOduMsg is a part of the optical transport network OTN optical signal simulation message SimOtnMsg, and the circuit board simulation module receives the optical transport network OTN optical signal simulation message and processes the simulation optical channel data unit ODU message therein, and at the same time, in order to simulate the transceiving and processing of different levels, that is, different types of optical channel data unit frames ODUk, between the circuit board logical scheduling port and the cross board, the circuit board simulation module receives, processes and sends the simulation optical channel data unit ODU message.
As shown in table 2, the data structure of the simulated optical channel data unit ODU message SimOduMsg designed in this application.
Table 2: data structure of simulation optical channel data unit ODU message SimOduMsg
Figure BDA0003063709540000151
Note 1: the standard OTN frame supports a multiplexing and mapping structure, that is, a plurality of low-level optical channel data unit frames ODUk, that is, low levels, that is, low rates, are stored in the content of the optical channel payload unit content OPUk, and the optical channel data unit frames ODUk include the overhead of the low-level optical channel data unit frames ODUk and the content of the optical channel payload unit content OPUk. The present application realizes the simulation of the multiplexing and mapping structure by storing multiple low-level simulation optical channel data unit ODU messages in the optical channel payload unit content OPUk.
5.3 method for realizing initialization and main control interaction module
The main functions of the initialization and main control interaction module include three items: namely, the circuit board simulation module initialization function, the circuit board configuration management simulation function and the circuit board alarm management simulation function.
The method for realizing the initialization function of the circuit board simulation module comprises the following steps: reading the initialization script file, generating a system configuration table such as a port parameter table, then creating an OTN optical signal simulation message queue of the optical transport network to be transmitted, initializing the OTN optical signal simulation message queue, and finally informing a physical optical port transmitting module to start a physical optical port transmitting timer. The implementation method comprises the following specific steps:
5.3.1) reading the initialization script file of the circuit board simulation module, and generating a system configuration table such as a port parameter table, a service mapping table, a cross connection table and the like of the circuit board. The port parameter table stores the starting state, no light threshold value, low light power receiving threshold value, high light power receiving threshold value of each port, the default transmitting light power and wavelength of each port, and circuit board port related parameters such as segment monitoring SM layer source access point identification, segment monitoring SM layer target access point identification, channel monitoring PM layer source access point identification, channel monitoring PM layer target access point identification and the like; the method comprises the steps that a service mapping table stores service mapping information of ports, the service mapping information of each port has one or more items, each item of information comprises parameters such as an optical channel transmission unit overhead OTUk type, an optical channel data unit frame ODUk type and a logical scheduling port number, and the optical channel transmission unit overhead OTUk type values in the multiple items of service mapping information of the same port of the optical channel transmission unit overhead OTUk type are consistent; the cross connection table stores cross connection relation parameters between the circuit board logic scheduling ports and the client board logic scheduling ports, and each cross connection relation item comprises parameters such as optical channel data unit frame ODUk levels, source board card identifications, source port numbers, source logic scheduling port numbers, sink board card identifications, sink port numbers and sink logic scheduling port numbers.
5.3.2) creating an OTN optical signal simulation message queue SimOtnMsgArray of the optical transport network to be transmitted, and storing N OTN optical signal simulation messages of the optical transport network to be transmitted, where N is the total number of ports of the circuit board. And each time the physical optical port sending timer T1 times out, sending out all the optical transport network OTN optical signal simulation messages to be sent in the queue.
5.3.3) the optical transport network OTN optical signal emulation message queue SimOtnMsgArray to be transmitted is initialized by sequentially performing the following operations on the emulation optical signal to be transmitted corresponding to each port in the queue:
i) and if the port number of the currently executed initialization operation port is i, the corresponding OTN optical signal simulation message of the optical transport network to be sent is SimOtnMgArray [ i-1]. And reading the default optical power and wavelength parameter values of the port in the port parameter table, and respectively putting the default optical power and wavelength parameter values into SimOtnMSgArray [ i-1]. power and SimOtnMSgArray [ i-1]. wavelength.
ii) setting two bytes of SimOtnMgArray [ i-1]. fas as F6H and 28H, respectively, setting SimOtnMgArray [ i-1]. mfas as 0, adding 1 to SimOtnMgArray [ i-1]. mfas every sending in the future, and if the sum reaches 256, setting the sum as 0. The MFAS counter for that port is set to 0.
iii) reading the value of the OTUk type parameter of the optical channel transmission unit overhead of the port in the service mapping table, putting the value into SimOtnMgArray [ i-1]. otu _ type, and setting the SimOtnMgArray [ i-1]. sim _ odu.odu _ type as the same level value. For example, if the optical channel transport unit overhead OTUk type is OTU2, SimOtnMsgArray [ i-1]. OTU _ type and SimOtnMsgArray [ i ]. sim _ odu.odu _ type are set to 2 for OTU2 and 2 for ODU2, respectively.
iv) reading parameter values of segment monitor SM layer source access point identification, segment monitor SM layer target access point identification, channel monitor PM layer source access point identification and channel monitor PM layer target access point identification in the port parameter table, and respectively storing the parameter values into SimOtnMgArray [ i-1]. otu _ SM _ sapi, SimOtnMgArray [ i-1]. otu _ SM _ dapi, SimOtnMgArray [ i-1]. sim _ odu _ PM _ sapi, SimOtnMgArray [ i-1]. sim _ odu _ PM _ dapi.
v) initializing other parameters in SimOtnMgArray [ i-1 ]: SimOtnMgArray [ i-1]. otu _ sm _ bip8, SimOtnMgArray [ i-1]. otu _ sm _ bdi, SimOtnMgArray [ i-1]. sim _ odu _ pm _ bip8, SimOtnMgArray [ i-1]. sim _ odu.odu _ pm _ bdi, SimOtnMgArray [ i-1]. sim _ odu.odu _ pm _ bst, SimOtnMgArray [ i-1]. sim _ odu.odu _ pm _ stat, SimOtnMgArray [ i-1]. sim _ odu.odu _ ftfl are all set to 0.
5.3.4) informs the physical optical port transmission module to start the physical optical port transmission timer T1. And after the timer T1 is overtime in future, all optical transport network OTN optical signal simulation messages in the optical transport network OTN optical signal simulation message queue to be sent are sent out.
The method for realizing the circuit board alarm management simulation function comprises the following steps: the initialization and main control interaction module monitors and receives alarm messages from other modules of the circuit board simulation module. If the alarm message is received, the received alarm message is formatted, parameters such as alarm time, an alarm source identifier and the like are added to form the alarm message, the alarm source identifier comprises a network element identifier, a board card identifier, a port number, a logic scheduling port number and the like, and then the alarm message is sent to the main control board simulation module.
The method for realizing the circuit board configuration management simulation function comprises the following steps: the initialization and main control interaction module monitors and receives a configuration command from the main control board simulation module, wherein the configuration command comprises the name of a system configuration table to be modified and new configuration parameters. If so, determining which of the port parameter table, the service mapping table or the cross connection table the table to be modified is according to the name of the system configuration table to be modified, and then updating the table according to the new configuration parameters.
5.4 method for realizing receiving and processing module of physical optical port
The physical optical port receiving and processing module is implemented by monitoring and receiving an optical transport network OTN optical signal simulation message, and sequentially processing an optical signal physical characteristic related field, a frame alignment overhead related field, an optical channel transport unit overhead related field, an optical channel data unit frame ODUk overhead related field and an optical channel payload unit content OPUk content related field in the received message, wherein the optical signal physical characteristic related field comprises port no, power and the like, the frame alignment overhead related field comprises fas and mfas, the optical channel transport unit overhead OTUk overhead related field comprises otu _ type, otu _ sm _ sapi, otu _ sm _ dapi, otu _ sm _ bip8, otu _ sm _ bdi and the like, the optical channel data unit frame overhead related field comprises dispatch _ no _ o, odu _ type, piodu _ pm _ sa, podpm _ dap, piodpm _ p _ 8, and odu _ stat _ stasmp _ odu 5, the optical channel payload unit content OPUk content related field includes opu or the like. If the value of a certain field is found to be abnormal, generating corresponding alarm information and processing the message content, for example, setting the values of some fields. And finally, extracting an ODU message of the optical channel data unit from the OTN optical signal simulation message and delivering the ODU message to a logic scheduling port sending module. The implementation method comprises the following specific steps:
5.4.1 optical Signal physical Property processing
5.4.1.1) the physical optical port receiving and processing module monitors and receives the optical transport network OTN optical signal simulation message from the wave division board simulation module, and sets the message as SimOtnMsg1, and determines the port for receiving and processing the message according to the physical port number SimOtnMg1. port _ no in the message. And inquiring a port parameter table and reading parameter values of the port, such as the starting state, the no light threshold, the low threshold value of the received light power, the high threshold value of the received light power and the like.
5.4.1.2) if the enabled status of the port is disabled, the process is terminated. Otherwise, processing continues.
5.4.1.3) compares simotnmsg1.power with a no light threshold: if the signal loss is lower than the lightless threshold value, reporting a warning message of signal loss of a receiving side to an initialization and main control interaction module, setting all 1 bytes of otu _ type, otu _ sm _ sapi, otu _ sm _ dapi, otu _ sm _ bip8, otu _ sm _ bdi and sim _ odu in SimOtnMsg1, namely 255, and turning to 5.4.3 for processing; otherwise, processing continues.
5.4.1.4) comparing SimOtnMgg 1.power with the received light power lower threshold and the received light power upper threshold: if the received optical power is lower than the received optical power lower threshold value, an alarm that the input optical power is too low is reported to the initialization and main control interaction module; otherwise, if the received optical power is higher than the high threshold value of the received optical power, reporting an alarm that the input optical power is too high to the initialization and main control interaction module. Go to 5.4.2 to continue processing.
5.4.2 frame alignment overhead and optical channel transport unit overhead OTUk overhead handling
5.4.2.1) determines whether two bytes of SimOtnMg1. fas are F6H and 28H, respectively: if not, reporting an alarm of frame alignment signal abnormity to the initialization and main control interaction module, setting all 1 bytes of otu _ type, otu _ sm _ sapi, otu _ sm _ dapi, otu _ sm _ bip8, otu _ sm _ bdi and sim _ odu in SimOtnMsg1, namely setting the byte to be 255, and turning to 5.4.2.8) for processing; otherwise, processing continues.
5.4.2.2) compares simotnmsg1.MFAS with the MFAS counter value for that port of the board: if the signals are inconsistent, reporting an alarm of the abnormal multiframe alignment signal to an initialization and main control interaction module, setting all 1 bytes of otu _ type, otu _ sm _ sapi, otu _ sm _ dapi, otu _ sm _ bip8, otu _ sm _ bdi and sim _ odu in the SimOtnMsg1, namely setting the bytes to be 255, and turning to 5.4.2.8) for processing; otherwise, the MFAS counter is incremented by 1 and processing continues.
5.4.2.3), reading the service mapping table of the circuit board, inquiring the service mapping table according to the physical port number SimOtnMg1. port _ no in the optical signal simulation message of the optical transport network OTN, and finding out the overhead OTUk type parameter value of the optical channel transport unit configured by the port. Comparing simotnmsg1.otu _ type with optical channel transport unit overhead OTUk type parameter values: if the signals are inconsistent, reporting an alarm of frame alignment signal abnormity to an initialization and main control interaction module, setting all 1 bytes of otu _ sm _ sapi, otu _ sm _ dapi, otu _ sm _ bip8, otu _ sm _ bdi and sim _ odu in SimOtnMsg1, namely setting the bytes to be 255, and turning to 5.4.2.8) for processing; otherwise, processing continues.
5.4.2.4) the parameters of SimOtnMgg 1.otu _ SM _ sapi and SimOtnMgg 1.otu _ SM _ dapi are respectively compared with the parameter values of the segment monitoring SM layer source access point identification and the segment monitoring SM layer target access point identification of the port stored in the port parameter table: if the OTU trace identifications are not matched, reporting an alarm that the OTU trace identifications are not matched to an initialization and main control interaction module, setting all 1 bytes, namely 255 bytes, of sim _ odu in the SimOtnMsg1, and turning to 5.4.2.8) for processing; otherwise, processing continues.
5.4.2.5) compares simotnmsg1.otu _ sm _ bip8 and simotnmsg1.otu _ sm _ bdi with 255, respectively: if both are 255, reporting the alarm of the OTU layer alarm indication signal AIS to the initialization and main control interaction module, setting all 1, namely 255, of each byte in sim _ odu in the SimOtnMsg1, and turning to 5.4.2.8) for processing; otherwise, processing continues.
5.4.2.6) analyzing the values of SimOtnMg1. otu _ sm _ bip 8: if the number is 1, reporting an OTU error code out-of-limit alarm to the initialization and main control interaction module; and if the number is 2, reporting an alarm of OTU signal degradation to the initialization and main control interaction module. And continuing the processing.
5.4.2.7) analyzing the values of SimOtnMg1. otu _ bm _ bdi: and if the current error rate is 1, reporting an alarm of backward failure indication of the reverse defect indication BDI of the monitoring SM section of the OTU layer section to the initialization and main control interaction module. Go to 5.4.2.9) for processing.
5.4.2.8) finding out the optical signal simulation message of the optical transport network to be sent corresponding to the port in the optical signal simulation message queue of the optical transport network to be sent OTN according to the port number, and setting otu _ sm _ bdi in the message to be 1.
5.4.2.9) was transferred to 5.4.3 for processing.
5.4.3 optical channel data unit frame ODUk overhead and optical channel payload unit content OPUk content processing
5.4.3.1) copies SimOtnMg1. sim _ odu to SimOduMsg1.
5.4.3.2) determines whether SimOduMsg1.odu _ pm _ stat is 255: if yes, reporting the alarm of an optical channel data unit ODU layer alarm indication signal AIS to the initialization and main control interaction module, setting each byte in opu in SimOduMsg1 to be all 1, namely 255, and turning to 5.4.3.8) for processing; otherwise, processing continues.
5.4.3.3) comparing SimOduMsg1.odu _ PM _ sapi and SimOduMsg1.odu _ PM _ dapi with the parameter values of the tunnel monitoring PM layer source access point identifier and the tunnel monitoring PM layer target access point identifier of the port stored in the port parameter table respectively: if the optical channel data unit ODU trace identifications are not matched, an alarm that the optical channel data unit ODU trace identifications are not matched is reported to the initialization and main control interaction module, all 1 bytes in opu in SimOduMsg1 are set, namely 255 bytes are set, and the process is carried out by 5.4.3.8); otherwise, processing continues.
5.4.3.4) judging the value of SimOduMsg1.odu _ stat: if the number of the optical channel data units is 5, reporting an alarm of an optical channel data unit ODU layer locking indication LCK to an initialization and main control interaction module; and if the number is 6, reporting an alarm of an OCI (optical channel data Unit ODU layer disconnection indication) to the initialization and main control interaction module. And continuing the processing.
5.4.3.5) determines the value of SimOduMsg1.odu _ pm _ bip 8: if the error code of the optical channel data unit ODU exceeds the limit, the alarm of the ODU error code is reported to the initialization and main control interaction module; and if SimOduMsg1.ODU _ pm _ bip8 is 2, reporting an alarm of signal degradation of the optical channel data unit ODU to the initialization and main control interaction module. And continuing the processing.
5.4.3.6) determines if SimOduMsg1.odu _ pm _ bdi is 1: and if the number of the channels is 1, reporting an alarm of backward failure indication of an ODU (optical channel Unit) layer channel monitoring PM (Back Defect indication) BDI to an initialization and main control interaction module. And continuing the processing.
5.4.3.7) inquiring the service mapping table, reading the service mapping information configured by the port, if the service mapping information has only one item, copying SimOduMsg1 to SimOtnMsg1.sim _ odu, then sending SimOtnMag 1.sim _ odu and the port number SimOtnMag 1.port _ no to the logic scheduling port sending module, and ending the process; otherwise, it is stated that a plurality of low-level emulation optical channel data unit ODU messages are stored in simotnmsg1.sim _ ODU. opu, each emulation optical channel data unit ODU message is sequentially read, and the following operations are performed on each message: copying the read simulated optical channel data unit ODU message to SimOduMsg1, and performing the above-described 5.4.3.2) -5.4.3.7) processes on SimOduMsg 1; SimOduMsg1 is then copied to the simotnmsg1.sim _ ODU. opu in the location of the original emulated ODU message. After the processing of all the information of the simulated optical channel data unit ODU is completed, simotnmsg1.sim _ ODU and the port number simotnmsg1.port _ no are sent to the logical scheduling port sending module, and the processing is ended.
5.4.3.8) finding out the optical signal simulation message of the optical transport network to be sent corresponding to the port in the optical signal simulation message queue of the optical transport network to be sent according to the port number, and setting sim _ odu.odu _ pm _ bdi in the message to be 1.
5.5 method for realizing logic scheduling port sending module
The implementation method of the logic scheduling port sending module comprises the following steps: receiving an optical channel data unit (ODU) message from a physical optical port receiving and processing module, analyzing message parameters and related parameter configuration in a cross connection table, determining the level of cross connection, taking out the ODU message of the optical channel data unit of the corresponding level, and sending the ODU message to a cross board simulation module. The implementation method comprises the following specific steps:
5.5.1) the logical dispatch port sending module receives the emulated optical channel data unit ODU message from the physical optical port receiving and processing module, sets the emulated optical channel data unit ODU message as SimOduMsg2 and a port number, queries the cross-connect table according to the received port number, and reads all cross-connect relationship items corresponding to the port. If no cross-connection relation item is found, ending the processing; if the cross-connection relation item has only one item, 5.5.2) is switched to for processing; if there are more cross-connection relation items, go to 5.5.3) for processing.
5.5.2) determining whether the optical channel data unit frame ODUk type parameter value in the cross-connection relation item is equal to simodumsg2.odu _ type: if the port number is equal to the port number of the cross-connection relationship item, the SimOduMsg2.dispatch _ port _ no is set as the sink dispatching logic port number parameter value in the cross-connection relationship item, the SimOduMsg2 is sent to the cross-board simulation module, and the processing is finished; otherwise, the process is directly ended.
5.5.3) storing a plurality of low-level emulation optical channel data unit ODU messages in simodumsg2.opu, setting each emulation optical channel data unit ODU message as SimOduMsg3, and performing the following processing: if a certain cross connection relationship item exists, the parameter values of the optical channel data unit frame ODUk type and the source scheduling logical port number of the cross connection relationship item are respectively equal to SimOduMsg3.ODU _ type and SimOduMsg3.dispatch _ port _ no, then SimOduMsg3.dispatch _ port _ no is set as the parameter value of the sink scheduling logical port number in the cross connection relationship item, SimOduMsg3 is sent to a cross board simulation module, and then the next simulation optical channel data unit ODU message is processed; otherwise, directly processing the next emulation optical channel data unit ODU message.
5.6 method for realizing receiving and processing module of logic scheduling port
The implementation method of the logic scheduling port receiving and processing module comprises the following steps: monitoring and receiving an emulation optical channel data unit (ODU) message sent by a cross board emulation module, analyzing an ODUk overhead related field of an optical channel data unit frame in the received message, wherein the ODUk overhead related field of the optical channel data unit frame comprises ODU _ pm _ bdi, ODU _ pm _ stat, opu and the like, if a field value is found to be abnormal, generating related alarm information and processing message content, for example, setting values of some fields, and finally, putting the emulation optical channel data unit (ODU) message to a related position in a corresponding OTN optical signal emulation message to be sent. The implementation method comprises the following specific steps:
5.6.1) the logical dispatch port receiving and processing module sets the emulation optical channel data unit ODU message from the crossbar emulation module to simodusg 4 and the port number, and determines whether simodusgg 4.ODU _ pm _ bip8 and simodusgg 4.ODU _ pm _ stat are both 255: if yes, reporting the alarm of service layer signal failure to the initialization and main control interaction module. And continuing the processing.
5.6.2) determine if SimOduMsg4.odu _ pm _ bdi is 1: and if the number of the channels is 1, reporting an alarm of backward failure indication of an ODU (optical channel Unit) layer channel monitoring PM (Back Defect indication) BDI to an initialization and main control interaction module. And continuing the processing.
5.6.3) determining a physical optical port of the circuit board for further processing the ODU message of the emulation optical channel data unit according to the received port number, and finding out the to-be-transmitted optical transport network OTN optical signal emulation message corresponding to the port in an to-be-transmitted optical transport network OTN optical signal emulation message queue SimOtnMsgArray of the circuit board to set the to-be-transmitted optical transport network OTN optical signal emulation message as SimOtnMsgToSend.
5.6.4) inquiring an optical channel data unit frame ODUk type parameter value in service mapping information corresponding to the logical scheduling port in the service mapping table, wherein the scheduling logical port number is simodusgg4. dispatch _ port _ no, and judging whether the optical channel data unit frame ODUk type parameter value is consistent with simodusgg4. odd _ type: if so, setting SimOtnMgToSend. sim _ odu as SimOduMsg 4; otherwise, comparing ODU _ type and dispatch _ port _ no values of the plurality of emulation optical channel data unit ODU messages stored in simodumsg4.ODU _ type, simodumsgtose.sim _ odu.opu, determining the position of the emulation optical channel data unit ODU message simodu _ odusg 4 in simodnmsgtose.sim _ odu.opu, and storing the position.
5.7 method for realizing physical optical port sending module
The implementation method of the physical optical port sending module comprises the following steps: after the physical optical port sending timer T1 times out each time, sending the to-be-sent optical transport network OTN optical signal simulation message corresponding to each port in the to-be-sent optical transport network OTN optical signal simulation message queue to the wave-combining plate simulation module, then performing initialization operation on the simulation message queue, that is, performing 5.3.3 in 5.3), and finally restarting the physical optical port sending timer T1.
After the application runs secretly for a period of time, the feedback of field technicians has the advantages that:
the optical transport network equipment circuit board simulation model framework designed by the application defines the component modules of the circuit board simulation module suitable for optical transport network equipment simulation training and the functions of each module, and solves the problem that the current circuit board simulation model design scheme suitable for simulation training is lacked.
The optical transport network OTN optical signal simulation message data structure and the optical channel data unit ODU message data structure provided by the application increase the signal fields of optical signal physical characteristic parameters, port parameters, signal type parameters and the like, compress and delete part of overhead fields in a standard optical transport network OTN frame structure, realize the complete simulation of optical layer physical characteristic parameters and electrical layer data of the optical transport network OTN optical signals, and improve the simulation processing speed. The initialization and main control module, the physical optical port receiving and processing module, the logical scheduling port sending module, the logical scheduling port receiving and processing module and the physical optical port sending module provided by the invention realize the simulation of the receiving, processing and sending processes of the OTN optical signal of the optical transport network and the optical channel data unit frame ODUk by the circuit board, and realize the automatic detection of the abnormal state of each signal field and the automatic generation of the related alarm information in the processes, thereby solving the problem that the flexible simulation can not be carried out on the automatic generation function of the various types of alarm information of the circuit board of the optical transport network equipment at present.
The method described by the invention can conveniently and quickly construct the simulation training software of the circuit board of the optical transport network equipment, realize the simulation of the receiving and transmitting process and the processing process of the OTN optical signal of the optical transport network by the circuit board and realize the automatic generation of the alarm information under the multi-type fault scene of the circuit board of the optical transport network equipment. After the system is applied, particularly, after the system is jointly applied with cross board, client board, wave splitting board, main control board and wave combining board simulation training software, training and capability improvement of communication professional technicians in the aspects of related technical principles, operation configuration, fault analysis processing and the like of optical transmission network equipment can be effectively supported, and the system has good social benefit and economic benefit.

Claims (10)

1. A simulation system for optical transport network circuit board training is characterized in that: the optical transmission network optical signal simulation system comprises an initialization and main control interaction module, wherein the initialization and main control interaction module is a program module and is used for reading an initialization script file, generating a port parameter table, creating an optical signal simulation message queue of an optical transmission network to be sent and initializing the queue; and receiving an alarm message sent by an external module, formatting the received alarm message, increasing alarm time and parameters of an alarm source identifier and forming the alarm message, wherein the alarm source identifier comprises a network element identifier, a board card identifier, a port number and a logic scheduling port number.
2. The simulation system for optical transport network line board training according to claim 1, wherein: the optical transmission network optical signal simulation system also comprises a physical optical port sending module, a main control board simulation module, an initialization and main control interaction module and a physical optical port sending module, wherein the initialization and main control interaction module is also used for sending information for starting the physical optical port and sending a timer to the physical optical port sending module after initializing an optical signal simulation message queue of the optical transmission network to be sent; sending the alarm message to a main control board simulation module; receiving a configuration command from a main control board simulation module, wherein the configuration command comprises the name of a system configuration table to be modified and new configuration parameters, determining a table to be modified from a port parameter table, a service mapping table and a cross connection table according to the name of the system configuration table to be modified, and then updating the table according to the new configuration parameters; the physical optical port sending module is a program module and is used for sending optical signal simulation messages of the optical transmission network to be sent corresponding to each port in an optical signal simulation message queue of the optical transmission network to be sent to the wave combining plate simulation module after the physical optical port sending timer is overtime, executing initialization operation on the optical signal simulation message queue of the optical transmission network to be sent and restarting the physical optical port sending timer; the main control board simulation module is a program module and is used for receiving and storing the alarm information sent by the initialization and main control interaction module, and sending the configuration command to the initialization and main control interaction module when a user modifies the configuration data of the initialization and main control interaction module.
3. The simulation system for optical transport network line board training according to claim 2, wherein: the optical transmission network optical signal simulation system further comprises a wave combination plate simulation module which is a program module and used for receiving the optical transmission network optical signal simulation message sent by the physical optical port sending module and carrying out wave combination processing.
4. The simulation system for optical transport network line board training according to claim 1, wherein: the optical transmission network optical signal simulation system further comprises a physical optical port receiving and processing module, a logic scheduling port sending module, a logic scheduling port receiving and processing module and a cross board simulation module, wherein the physical optical port receiving and processing module is a program module and is used for receiving optical transmission network optical signal simulation messages, if the values of fields in the optical transmission network optical signal simulation messages are found to be abnormal, corresponding warning information is generated, information of a simulation optical channel data unit is extracted from the optical transmission network optical signal simulation messages and sent to the logic scheduling port sending module; the logic scheduling port sending module is a program module and is used for receiving information of the simulation optical channel data unit from the physical optical port receiving and processing module, analyzing message parameters and related parameter configuration in the cross connection table, determining the level of cross connection, taking out the information of the simulation optical channel data unit of the corresponding level and sending the information to the cross board simulation module; the cross board simulation module is a program module and is used for receiving simulation optical channel data unit messages sent by the logic scheduling port sending module and sending the optical channel data unit messages to the corresponding external module according to the configuration parameters of the cross connection table; when the cross board simulation module receives the simulation optical channel data unit message sent by the external module, the received simulation optical channel data unit message is sent to the logic scheduling port receiving and processing module according to the configuration parameters of the cross connection table; the logic scheduling port receiving and processing module is a program module and is used for receiving information of the simulation optical channel data unit sent by the cross board simulation module, if the value of a field in the simulation optical channel data unit is found to be abnormal, generating corresponding alarm information, placing the information of the simulation optical channel data unit at a corresponding position in the corresponding optical signal simulation message of the optical transmission network to be sent, and forming an optical signal simulation message queue of the optical transmission network to be sent.
5. The simulation system for optical transport network line board training according to claim 1, wherein: the optical transmission network optical signal simulation system further comprises a wave division plate simulation module which is a program module and is used for wave division and providing optical transmission network optical signal simulation information after wave division, wherein the optical transmission network optical signal simulation information comprises fields of optical power, wavelength, optical port number, logic scheduling port number, optical channel transmission unit overhead type, optical channel data unit frame type and frame alignment signals, and the frame alignment signal field is a field with two bytes.
6. A simulation method for optical transport network circuit board training is characterized in that: the method comprises the following steps of initialization and master control interaction, reading an initialization script file, generating a port parameter table, creating an optical signal simulation message queue of an optical transport network to be sent and initializing the queue; the method comprises the steps of receiving an alarm message sent from the outside, formatting the received alarm message, increasing alarm time and parameters of an alarm source identifier and forming the alarm message, wherein the alarm source identifier comprises a network element identifier, a board card identifier, a port number and a logic scheduling port number.
7. The simulation method for optical transport network circuit board training according to claim 6, wherein: in the initialization and master control interaction steps, after initializing an optical signal simulation message queue of an optical transport network to be sent, generating information for starting a physical optical port and sending a timer; acquiring a configuration command, wherein the configuration command comprises the name of a system configuration table to be modified and new configuration parameters, determining a table to be modified from a port parameter table, a service mapping table and a cross connection table according to the name of the system configuration table to be modified, and then updating the table according to the new configuration parameters; a physical optical port sending step, wherein after a physical optical port sending timer is overtime, optical transmission network optical signal simulation messages to be sent corresponding to each port in an optical transmission network optical signal simulation message queue to be sent are formed, initialization operation is executed on the optical transmission network optical signal simulation message queue to be sent, and the physical optical port sending timer is restarted; and a step of main control board simulation, namely acquiring and storing alarm information, and generating a configuration command when a user modifies configuration data.
8. The simulation method for optical transport network circuit board training according to claim 7, wherein: the method also comprises the following step of wave combination plate simulation, wherein the step of wave combination plate simulation is used for acquiring the optical signal simulation message of the optical transmission network and carrying out wave combination processing.
9. The simulation method for optical transport network circuit board training according to claim 1, wherein: the physical optical port receives and processes the optical signal simulation message of the optical transport network, if the value of a field in the optical signal simulation message of the optical transport network is found to be abnormal, corresponding warning information is generated, and information of a data unit of the simulation optical channel is extracted from the optical signal simulation message of the optical transport network; a step of sending by a logic scheduling port, namely acquiring information of the simulation optical channel data unit, analyzing message parameters and related parameter configuration in a cross connection table, determining the level of cross connection, and taking out the information of the simulation optical channel data unit of the corresponding level; a step of cross board simulation, which is used for obtaining the simulation optical channel data unit message of the step of sending the logic scheduling port and sending the optical channel data unit message to a corresponding external module according to the configuration parameters of the cross connection table; receiving an emulation optical channel data unit message sent by an external module, and reserving the received emulation optical channel data unit message according to configuration parameters of a cross connection table; and a step of receiving and processing by the logic scheduling port, acquiring information of the standby simulation optical channel data unit in the step of crossing board simulation, if the value of a field in the simulation optical channel data unit is found to be abnormal, generating corresponding alarm information, putting the information of the simulation optical channel data unit to a corresponding position in the corresponding optical signal simulation message of the optical transmission network to be sent, and forming an optical signal simulation message queue of the optical transmission network to be sent.
10. The simulation method for optical transport network circuit board training according to claim 1, wherein: the method also comprises a step of wave division plate simulation, wherein wave division is carried out, and an optical transport network optical signal simulation message after wave division is provided, the optical transport network optical signal simulation message comprises optical power, wavelength, an optical port number, a logic scheduling port number, an optical channel transport unit overhead type, an optical channel data unit frame type and a field of a frame alignment signal, and the field of the frame alignment signal is a field of two bytes.
CN202110520427.4A 2021-05-13 2021-05-13 Simulation system and method for optical transport network circuit board training Active CN113392502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110520427.4A CN113392502B (en) 2021-05-13 2021-05-13 Simulation system and method for optical transport network circuit board training

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110520427.4A CN113392502B (en) 2021-05-13 2021-05-13 Simulation system and method for optical transport network circuit board training

Publications (2)

Publication Number Publication Date
CN113392502A true CN113392502A (en) 2021-09-14
CN113392502B CN113392502B (en) 2022-08-02

Family

ID=77617039

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110520427.4A Active CN113392502B (en) 2021-05-13 2021-05-13 Simulation system and method for optical transport network circuit board training

Country Status (1)

Country Link
CN (1) CN113392502B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449559A (en) * 2021-12-22 2022-05-06 华为技术有限公司 Fault detection method, signal processing device and control device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008131590A1 (en) * 2007-04-28 2008-11-06 Zte Corporation Protocol test system and method of automatic switched optical network
CN101895338A (en) * 2010-07-19 2010-11-24 中兴通讯股份有限公司 Method, device and system for recovering service in multiplex section switching
CN105160124A (en) * 2015-09-23 2015-12-16 烽火通信科技股份有限公司 Overhead simulation system and method for optical transport network
US20160028474A1 (en) * 2013-03-15 2016-01-28 Alcatel Lucent Method of resizing a protected oduflex connection in an optical transport network
US20170201318A1 (en) * 2016-01-13 2017-07-13 Ciena Corporation Ethernet link state signaling for packet flows mapped into optical transport network with generic framing procedure
CN107241659A (en) * 2017-05-27 2017-10-10 烽火通信科技股份有限公司 The analogue system and emulation mode of the general mapping code of optical transfer network
CN108650147A (en) * 2018-04-09 2018-10-12 中国电力科学研究院有限公司 Optical Transmission Network OTN semi-physical real-time simulation system and method
CN108712285A (en) * 2018-05-18 2018-10-26 国家电网公司信息通信分公司 A kind of analog simulation method and device of optical transport network
CN111711539A (en) * 2020-06-15 2020-09-25 华中师范大学 Simulation method for electric power communication SDH optical transmission network
CN112492414A (en) * 2020-11-18 2021-03-12 国家电网有限公司 Method for realizing optical signal fault simulation of optical transport network
CN112804092A (en) * 2020-12-31 2021-05-14 中国电力科学研究院有限公司 Modeling and simulation method and system for OTN optical transmission network for power communication
CN114329941A (en) * 2021-12-23 2022-04-12 上海电机学院 Optical transport network transmission planning optimization method and system

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008131590A1 (en) * 2007-04-28 2008-11-06 Zte Corporation Protocol test system and method of automatic switched optical network
CN101895338A (en) * 2010-07-19 2010-11-24 中兴通讯股份有限公司 Method, device and system for recovering service in multiplex section switching
US20160028474A1 (en) * 2013-03-15 2016-01-28 Alcatel Lucent Method of resizing a protected oduflex connection in an optical transport network
CN105160124A (en) * 2015-09-23 2015-12-16 烽火通信科技股份有限公司 Overhead simulation system and method for optical transport network
US20170201318A1 (en) * 2016-01-13 2017-07-13 Ciena Corporation Ethernet link state signaling for packet flows mapped into optical transport network with generic framing procedure
CN107241659A (en) * 2017-05-27 2017-10-10 烽火通信科技股份有限公司 The analogue system and emulation mode of the general mapping code of optical transfer network
CN108650147A (en) * 2018-04-09 2018-10-12 中国电力科学研究院有限公司 Optical Transmission Network OTN semi-physical real-time simulation system and method
CN108712285A (en) * 2018-05-18 2018-10-26 国家电网公司信息通信分公司 A kind of analog simulation method and device of optical transport network
CN111711539A (en) * 2020-06-15 2020-09-25 华中师范大学 Simulation method for electric power communication SDH optical transmission network
CN112492414A (en) * 2020-11-18 2021-03-12 国家电网有限公司 Method for realizing optical signal fault simulation of optical transport network
CN112804092A (en) * 2020-12-31 2021-05-14 中国电力科学研究院有限公司 Modeling and simulation method and system for OTN optical transmission network for power communication
CN114329941A (en) * 2021-12-23 2022-04-12 上海电机学院 Optical transport network transmission planning optimization method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
易鸣: ""江西电信传输网告警自动派单功能研究与实施"", 《中国优秀硕士论文全文数据库 信息科技辑》 *
贺金花: ""100G OTN技术在骨干网传输系统中的应用"", 《中国优秀硕士论文全文数据库 信息科技辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449559A (en) * 2021-12-22 2022-05-06 华为技术有限公司 Fault detection method, signal processing device and control device

Also Published As

Publication number Publication date
CN113392502B (en) 2022-08-02

Similar Documents

Publication Publication Date Title
US11082199B2 (en) Data transmission method in optical network and optical network device
US4956835A (en) Method and apparatus for self-restoring and self-provisioning communication networks
EP4027650A1 (en) Method and device for service processing in optical transport network, and system
EP2544385B1 (en) Method and system for realizing automatic protection switching of transmission device
CN113395613B (en) Method, device and system for carrying service
RU2691748C1 (en) Method of transmitting a service and a first transmitting device
CN113392502B (en) Simulation system and method for optical transport network circuit board training
ITMI942634A1 (en) PROCEDURE FOR AUTOMATIC RE-ALIGNMENT IN EVENT REPORTING IN A MANAGEMENT SYSTEM AND RELATED SYSTEM
CN101009582A (en) Real-time online monitoring method and device based on the 2M data circuit transfer quality
CN111064778B (en) Data processing method and system based on STP
CN103888372B (en) Traffic shaping method and data processing equipment
CN109510716B (en) Signal processing device and method
CN112153494B (en) Service management architecture system and maintenance management method of POTN (packet optical transport network) equipment
CN100574155C (en) Light path short interruption control device and short interruption control method
CN107483235B (en) Equipment cutover alarm shielding method and device
CN102546204B (en) The transmission method of TDM circuit emulation service remote alarm information and system
CN107395448B (en) 2M communication detection method and detection equipment
CN112492414B (en) Method for realizing optical signal fault simulation of optical transport network
CN100496045C (en) Method and system for supporting data framing protocol on multi-service transmission node equipment
CN113206720B (en) Method and device for realizing top-tuning message channel
CN101834662A (en) Communication system, monitoring device and network monitoring method
CN101170375A (en) Performance management method and device for SDN device
CN101527609A (en) Method for transferring alarm information, device for sending alarm information and device for receiving same
CN205754365U (en) A kind of wavelength-division system
CN101997632B (en) Negotiation information transmission method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant