VC cross data synchronization method of OTN equipment for transmitting mib file based on FTP
By using FTP server in OTN equipment to synchronize VC cross-data of MIB files, the problem of low efficiency of OTN equipment in synchronizing large-capacity MIB information is solved, and efficient and reliable data transmission and management are achieved.
Patent Information
- Application Number
- CN202511149662.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-18
- Publication Date
- 2025-09-12
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, OTN equipment is inefficient in synchronizing large amounts of MIB information, resulting in poor performance of network management or OTN equipment and excessive resource usage.
Using FTP server as network management, by querying VC cross information request, the mib data of OTN equipment is packaged into files and transmitted to the FTP server for unified parsing and assembly, reducing the number of responses and improving information processing efficiency.
It improves the information processing efficiency of OTN equipment, reduces resource consumption, enhances the reliability and stability of data transmission, and reduces equipment complexity.
Smart Images

Figure CN120639766A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network communication management, and more particularly to a VC cross data synchronization method for OTN equipment based on FTP transmission of mib files. Background Art
[0002] Optical Transport Network (OTN) equipment is a core component of modern communications networks. Based on wavelength division multiplexing (WDM) and optical / electrical layer cross-connection technologies, it enables high-capacity, long-distance, and highly reliable data transmission. OTN equipment can carry a variety of services (such as voice, video, and text) over optical channels (OCh), meeting the needs of diverse application scenarios such as 5G, cloud computing, and data center interconnection. Management Information Base (MIB) files are core data definition specifications for network management protocols such as SNMP. They describe monitoring parameters and configuration information for network devices such as routers, switches, and OTN equipment. Essentially, they are a hierarchical database structure that organizes management objects (such as interface status, traffic statistics, and optical module parameters) in a tree-like structure. Each object is identified by a unique identifier (OID). MIB files are typically written in a special text format (such as ASN.1 syntax) and contain information such as object type, data format, and access permissions (read-only / read-write). Network management systems can automatically generate monitoring interfaces or scripts by parsing MIB files, enabling unified device management. For example, in OTN equipment, mib files can define key indicators such as optical power and bit error rate, allowing operation and maintenance personnel to remotely obtain device status and quickly locate faults.
[0003] Existing technologies mostly use the SNMP protocol to synchronize MIB information. This approach uses a "question-and-answer" GET / SET request to synchronize MIB data. Each request can only transmit a small amount of data (a single OID value). When the MIB information volume is large, frequent requests and concatenation of the results are required, resulting in low transmission efficiency. For example, if multiple MIB information contains 1,000 OID values, traditional SNMP would require 1,000 requests. This approach is inefficient and requires a large amount of equipment resources, resulting in poor performance of network management or OTN equipment. Summary of the Invention
[0004] In order to solve the technical problem of low performance of the above-mentioned network management or OTN equipment, the present invention discloses a VC cross data synchronization method of OTN equipment based on FTP transmission of mib files.
[0005] In a first aspect, the present invention discloses a VC cross-data synchronization method for OTN equipment based on FTP transmission of mib files, which is used for an FTP server acting as a network management role. The method of the present invention includes: In response to the OTN device completing the FTP configuration, sending a VC cross-connection information query request to the OTN device configured through FTP; In response to receiving the mib file returned by the OTN device, traversing and parsing the mib file to obtain multiple mib data; Assemble multiple mib data to form VC cross data.
[0006] Beneficial effects: The method of the present invention uses the FTP server as the network management, adopts the query VC cross information request, requires the OTN device to package the mib data into a file and transmit it to the FTP server, and then the FTP server uniformly parses and assembles it. Compared with the traditional "one question and one answer" method, the method of the present invention can reduce the number of responses, improve the information processing efficiency, reduce the resource consumption of the OTN device, and thus overcome the technical problem of low performance of the network management or OTN device.
[0007] Preferably, the mib file is parsed to obtain multiple mib data, including: Load the mib file into the pre-existing parsing tool; Call the parsing tool to parse the mib file into multiple mib data based on the mib data structure definition associated with the mib file.
[0008] Preferably, the FTP configuration that needs to be completed for the OTN device includes at least FTP server IP configuration, FTP port configuration, FTP user configuration, and password information configuration.
[0009] Preferably, before traversing and parsing the mib file, the method of the present invention further includes: Determine whether the OTN device connection has timed out or is disconnected. If so, perform FTP activation on the OTN device with timed out or disconnected based on the SNMP protocol.
[0010] Beneficial effect: When an OTN device initiates an FTP connection request, a series of connection problems may occur, such as failure to connect to the FTP server, login failure due to incorrect username / password, directory non-existence, and connection timeout. The above technical solution can automatically activate the OTN device and maintain the reliability of data transmission.
[0011] Preferably, performing an FTP activation operation on an OTN device with a connection timeout or disconnection includes: Based on the SNMP protocol, the FTP operation information corresponding to the OTN device is written into the management information base of the OTN device to activate the FTP file transmission of the OTN device.
[0012] Preferably, before performing the FTP activation operation on the OTN device with timed-out or disconnected connection, the method further includes: Determine whether the OTN device is executing the FTP operation process. If so, after the FTP operation process is completed, perform the FTP activation operation on the OTN device whose connection has timed out or is disconnected.
[0013] Beneficial effect: By continuously checking the FTP operation process and not executing the FTP activation operation until the entire FTP transmission process is completed, data dislocation can be prevented.
[0014] Preferably, after forming the VC cross-link data, the method of the present invention further comprises: Return VC cross-connection data to the user requesting end.
[0015] In a second aspect, the present invention further discloses a VC cross-data synchronization method for OTN equipment based on FTP transmission of mib files, which is used in OTN equipment. The method of the present invention includes: In response to receiving a VC cross information query request from the FTP server, extracting corresponding mib data; Package the mib data and send the mib file to the FTP server.
[0016] Preferably, before sending the mib file to the FTP server, the method of the present invention further comprises: Verify that the FTP transmission configuration parameters carried in the mib file are valid. If so, perform the mib file sending steps. If not, send a corresponding device alarm to the FTP server.
[0017] In a third aspect, the present invention also discloses a VC cross data synchronization system for OTN equipment based on FTP transmission of mib files, including an FTP server and an OTN equipment; The FTP server adopts the VC cross-data synchronization method based on FTP transmission of mib files of the OTN device recorded in the first aspect; The OTN device adopts the VC cross data synchronization method based on FTP transmission of mib files for the OTN device recorded in the second aspect.
[0018] The beneficial effects of the present invention are: (1) Compared with the existing technology, the method of the present invention uses the FTP server as the network management, adopts the query VC cross information request, requires the OTN equipment to package the mib data into files and transmit them to the FTP server, and then the FTP server uniformly parses and assembles them. Compared with the traditional "one question and one answer" method, the method of the present invention can reduce the number of responses, improve the information processing efficiency, reduce the resource consumption of the OTN equipment, and thus overcome the technical problem of low performance of the network management or OTN equipment.
[0019] (2) Compared with the existing technology, the method of the present invention can activate disconnected OTN equipment, and the reliability of data transmission is higher.
[0020] (3) Compared with the prior art, the method of the present invention queries the FTP operation process in a continuous judgment manner until the entire FTP transmission process is completed, and then performs the FTP activation operation, which can prevent data misalignment. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 This is a flow chart of a VC cross-data synchronization method for OTN equipment based on FTP transmission of mib files in Embodiment 1 of the present invention; Figure 2 This is a flow chart of a VC cross-data synchronization method for OTN equipment based on FTP transmission of mib files in Embodiment 2 of the present invention; Figure 3 This is a structural diagram of a VC cross-data synchronization system for OTN equipment based on FTP transmission of mib files in the third embodiment of the present invention. DETAILED DESCRIPTION
[0022] The following will be combined with the accompanying drawings to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. The specific implementation methods of the present invention are described in detail below with reference to the accompanying drawings.
[0023] Example 1 like Figure 1 As shown, this embodiment discloses a VC cross data synchronization method for OTN equipment based on FTP transmission of mib files, which is used for FTP server.
[0024] In this embodiment, an FTP server serves as the network management system, capable of parsing and assembling MIB file data sent by multiple OTN devices. Using an FTP server as the network management system also offers the following technical advantages: First, it enables efficient file transfer. The FTP server supports fast and stable transfer of large files, making it suitable for batch processing of OTN device configuration files, log files, and software images, improving the efficiency of the network management system in acquiring and updating device data. Second, it offers enhanced standardization and compatibility. As a mature communication protocol, FTP is widely applicable and compatible with devices from different vendors, ensuring unified management of multiple OTN device models by the network management system and reducing the integration complexity of heterogeneous networks. Third, by integrating SSL / TLS encryption technology, FTP can be upgraded to FTPS, ensuring secure transmission of sensitive data (such as configuration files) and meeting the data confidentiality requirements of OTN networks. Fourth, it simplifies the operation and maintenance process. Automated scripts based on FTP can regularly execute tasks such as device configuration backups and software upgrades, reducing manual intervention and improving operation and maintenance efficiency and accuracy.
[0025] More specifically, the method of this embodiment includes: S10: In response to the OTN device completing the FTP configuration, a VC cross-connection information query request is sent to the OTN device configured through FTP.
[0026] In this embodiment, the FTP configuration required for OTN devices includes at least the FTP server IP address, FTP port, FTP user (account), and password. This configuration can be performed manually, or by using default data and a configuration script. After the FTP configuration is complete, the FTP server automatically sends a VC cross-connection information request to the configured OTN device.
[0027] S20: In response to receiving the mib file returned by the OTN device, traverse and parse the mib file to obtain multiple mib data.
[0028] S30: Assemble multiple mib data to form VC cross data.
[0029] Through steps S10 to S30, in this embodiment, the OTN device only needs to send the entire MIB file once to respond to a VC cross-connection information query request. The FTP server then parses and reassembles the file. Compared to the traditional "question-and-answer" approach, the method of the present invention reduces the number of responses, improves information processing efficiency, and reduces resource consumption of the OTN device. This approach enables file transfer and data synchronization for each OTN device, reducing the complexity of data transmission on the OTN device and improving the overall performance of the OTN device.
[0030] In this embodiment, the MIB data may include the OTN device's name, model, physical address, status, performance, configuration, and running software version information. To ensure data security, the OTN device's FTP server connects using a predefined user and password authentication method, and MIB files are accessed in read-only mode. For different OTN device types, the username and password required for FTP login can be defined in the network management configuration file, simplifying the process of obtaining FTP data.
[0031] The above technical solution expands the MIB (Management Information Base) to include device name, model, physical address, status, performance, configuration, and running software version. This offers the following advantages: First, a unified management view allows operators to access the entire lifecycle information of OTN devices through a single interface, reducing cross-system query costs and improving fault location efficiency. Second, it supports automated O&M. Based on standardized MIB fields, it automates processes for device status monitoring, performance alerts, configuration backup, and software version management, reducing the risk of manual intervention. Third, it offers enhanced compatibility and scalability. The unified information model adapts to devices from different vendors, supports dynamic expansion of new features (such as FlexO), and enhances network resiliency. Fourth, comprehensive information records facilitate security audits and compliance checks, reducing compliance costs.
[0032] Preferably, there are multiple OTN devices. Before step S10, the method of this embodiment includes: Use paging processing or asynchronous I / O to perform FTP batch configuration for multiple corresponding OTN devices.
[0033] It should be noted that the method in this embodiment uses paging or asynchronous I / O to perform FTP batch configuration on multiple OTN devices primarily to improve configuration efficiency. The paging method divides data into smaller pages for reading and processing, rather than loading all data into memory at once. This approach allows the FTP server to maintain responsiveness when processing large numbers of OTN device configurations, preventing FTP server lag or crashes due to memory overflow. The asynchronous I / O method, on the other hand, processes multiple I / O operations in parallel. Asynchronous I / O can handle more configuration tasks in the same amount of time, increasing the FTP server's processing capacity for OTN device configurations. This method can significantly shorten actual data processing time and improve the FTP server's information throughput.
[0034] Furthermore, in the above step S20, the mib file is parsed to obtain multiple mib data, specifically: S21: Load the mib file into the pre-existing parsing tool; S22: calling a parsing tool to parse the mib file into multiple mib data based on the mib data structure definition associated with the mib file.
[0035] In this embodiment, the above-mentioned parsing tool can be any one of SolarWinds NPM, PRTG, or iReasoning mibBrowser. The specific adaptive selection is made according to the application scenario.
[0036] Furthermore, before traversing and parsing the mib file, the method of the present invention further includes: Determine whether the OTN device connection has timed out or is disconnected. If so, perform FTP activation on the OTN device with timed out or disconnected based on the SNMP protocol.
[0037] Before performing the FTP activation operation on the OTN device with a timed-out or disconnected connection, the method of this embodiment further includes: Determine whether the OTN device is executing the FTP operation process. If so, after the FTP operation process is completed, perform the FTP activation operation on the OTN device whose connection has timed out or is disconnected.
[0038] It's important to note that after the FTP server (network management) executes the FTP operation to activate the OTN device, the network management needs to periodically and continuously query the FTP operation results via SNMP until the entire FTP transmission process is complete, considering the long duration of the entire FTP transmission process. To ensure a stable and reliable FTP transmission process, FTP transmission on OTN devices is designed as a single operation to prevent data misalignment and other issues. That is, when the network management issues an FTP operation to the OTN device, it first checks whether an FTP operation already exists. If so, it waits for the completion of this FTP operation before issuing and activating the FTP operation. Otherwise, it continues to wait for the completion of the previous FTP operation.
[0039] Compared with the existing technology, the above technical solution can automatically activate the OTN equipment and maintain the reliability of data transmission.
[0040] Specifically, perform FTP activation on an OTN device with a timed-out or disconnected connection, including: Based on the SNMP protocol, the FTP operation information corresponding to the OTN device is written into the management information base of the OTN device to activate the FTP file transmission of the OTN device.
[0041] Furthermore, after step S30, the method of this embodiment further includes: Return VC cross-connection data to the user requesting end.
[0042] Preferably, if the parsing of the mib file is completed in step S20, the assembly of the mib data is completed in step S30, and the data integrity check of the VC cross-data is passed, then data synchronization is completed. If an error or alarm is reported during the parsing, assembly, or completion check in the above steps, it means that data synchronization has failed, and it is necessary to jump to step S10 and re-execute steps S10-S30. If the number of synchronization failures exceeds the threshold, a synchronization failure log is reported.
[0043] Preferably, in order to further and more quickly determine whether data synchronization is successful, a timestamp check method or a version number check method may be used to verify the success of data synchronization, specifically: Timestamp check method: Check the creation and upload time of the mib file to confirm whether the timestamp is reasonable (for example, consistent with the query request time). Confirm whether the timestamp of the mib file received on the FTP server is consistent with the creation time of the OTN device. If so, data synchronization is successful. If not, data synchronization fails and the process jumps to step S10, re-executing steps S10-S30.
[0044] Version number check method: If the mib file contains version number information, confirm that the file version number on the FTP server is consistent with the file version number generated by the OTN device. If so, data synchronization is successful. If not, data synchronization fails and jumps to step S10, re-execute steps S10-S30.
[0045] Example 2 like Figure 2 As shown, compared with the first embodiment, this embodiment is used for OTN equipment. This embodiment discloses a VC cross-data synchronization method for OTN equipment based on FTP transmission of mib files, including: S100: In response to receiving a VC cross information query request sent by an FTP server, extract corresponding mib data.
[0046] It should be noted that in this embodiment, the VC cross-connection information query request may include an OTN device identity query request, an OTN device location query request, and a security authentication information request. The OTN device identity query request is primarily used to query the identity of the OTN device to obtain the unique identifier of the OTN device, facilitating differentiation between OTN devices. The OTN device location query request is primarily used to query the physical geographic location of the OTN device to obtain the physical address corresponding to the unique identifier, enabling physical location of the OTN device. The security authentication information request is used to authenticate the OTN device (e.g., using a user name, password, or digital certificate). This authentication information verifies the FTP device as a legitimate user, preventing unauthorized devices from accessing the OTN network.
[0047] S200: Pack the mib data and send the mib file to the FTP server.
[0048] After the OTN device is connected to the FTP server, the OTN device sends the integrated mib file to the FTP server only once in response to the request for querying the VC cross-connection information.
[0049] Through the above steps S100 to S200, the method of the present invention reduces the complexity of the OTN device responding to the FTP server, reduces the resource occupation of the OTN device, and improves the performance of the OTN device.
[0050] It should be further explained that in the above step S100, the OTN device uses built-in Java code / script to perform VC cross-merging on multiple similar mib data and aggregate them into the same mib file. The above technical improvement has the following technical advantages: First, by merging multiple mibs through Java, a unified mib file can be generated, providing a single management interface (such as SNMP agent) to reduce management complexity.
[0051] Secondly, Java's strongly typed language features and rich libraries (such as SNMP4J) support MIB parsing, tree structure construction, and OID mapping, which can achieve automated merging and reduce manual errors.
[0052] Third, the merged mib file can provide a global view, and operation and maintenance personnel can access all subsystem information through a single interface.
[0053] When merging mibs through Java, the OID naming rules can be standardized (for example, following RFC standards) and compatibility comments can be added.
[0054] Furthermore, before sending the mib file to the FTP server, the method of this embodiment further includes: Verify that the FTP transmission configuration parameters carried in the mib file are valid. If so, perform the mib file sending steps. If not, send a corresponding device alarm to the FTP server.
[0055] It should be explained that after receiving the request, the device verifies the legitimacy of the FTP transmission configuration parameters. If the verification fails, a corresponding device alarm is generated. After the verification passes, the device uploads the mib data to the FTP server. At the same time, after the FTP server sends the FTP request to the device, it needs to continuously query the OTN device to see whether the FTP file has been uploaded. If the FTP status is in progress, it continues; otherwise, it ends and returns.
[0056] Compared with the existing technology, the method of this embodiment can trace the source of the problem device more quickly while maintaining the stability of data transmission.
[0057] Example 3 like Figure 3 As shown, this embodiment discloses a VC cross data synchronization system for OTN equipment based on FTP transmission of mib files, including an FTP server and OTN equipment.
[0058] The FTP server adopts the VC cross-data synchronization method based on FTP transmission of mib files by OTN equipment recorded in the first embodiment; The OTN device adopts the VC cross data synchronization method based on FTP transmission of mib files for the OTN device described in the second embodiment.
[0059] In this embodiment, multiple OTN devices may be provided, and each OTN device is connected to the FTP server in full-duplex mode to implement bidirectional communication between the OTN device and the FTP server.
[0060] It's important to note that OTN equipment, acting as the transport layer, encapsulates FTP packets (in this example, MIB files) into optical signals and transmits them via optical fiber to the FTP server. OTN equipment supports QoS (Quality of Service) guarantees, ensuring bandwidth and latency for FTP transmissions.
[0061] It's important to note that the client and the OTN device have a full-duplex connection. When a client uploads a file, the OTN device performs bidirectional transmission, both upstream and downstream. On the upstream side, the client transfers the uploaded file to the OTN device, which then forwards it to the FTP server. On the downstream side, the FTP server responds to the client's uploaded data with an ACK packet via the OTN device. When the client requests to download a file, the FTP device responds to the client's download request by pushing the data to the client via the OTN device, which also processes the upstream ACK packet.
[0062] Furthermore, the OTN equipment model used in this embodiment may be GTN8800-XM-X.
[0063] It should be noted that GTN8800-XM-X has multiple types of service interfaces such as FE / GE, STM-1 / 4 / 16, E1, etc., has a combination solution for carrying any service, supports EOO and EOS services, and achieves full coverage of multiple types of customers and multiple service scenarios.
[0064] More specifically, the technical parameters of the above OTN equipment are as follows:
[0065] Although this specification has shown and described several embodiments of the present invention, it is obvious to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and substitutions without departing from the idea and spirit of the present invention.
Claims
1. A VC cross-data synchronization method for OTN equipment based on FTP transmission of mib files, characterized in that: For an FTP server serving as a network management role, the method includes: In response to the OTN device completing the FTP configuration, sending a VC cross-connection information query request to the OTN device configured through FTP; In response to receiving the mib file returned by the OTN device, traversing and parsing the mib file to obtain multiple mib data; Assemble multiple mib data to form VC cross data.
2. The VC cross-data synchronization method for OTN equipment based on FTP transmission of mib files according to claim 1 is characterized in that: Parse the mib file to obtain multiple mib data, including: Load the mib file into a pre-existing parsing tool; The parsing tool is called to parse the mib file into multiple mib data based on the mib data structure definition associated with the mib file.
3. The VC cross-data synchronization method for OTN equipment based on FTP transmission of mib files according to claim 1, characterized in that: The FTP configuration that needs to be completed for the OTN device includes at least FTP server IP configuration, FTP port configuration, FTP user configuration, and password information configuration.
4. The VC cross-link data synchronization method for OTN equipment based on FTP transmission of mib files according to claim 1, before traversing and parsing the mib file, the method further comprises: Determine whether the OTN device connection has timed out or is disconnected. If so, perform FTP activation on the OTN device with timed out or disconnected based on the SNMP protocol.
5. The VC cross-link data synchronization method for OTN equipment based on FTP transmission of mib files according to claim 4, wherein the FTP activation operation is performed on the OTN equipment with timed-out or disconnected connection, comprising: Based on the SNMP protocol, the FTP operation information corresponding to the OTN device is written into the management information base of the OTN device, and the FTP file transmission of the OTN device is activated.
6. The VC cross-link data synchronization method for OTN equipment based on FTP transmission of mib files according to claim 4, before performing an FTP activation operation on the OTN equipment with timed-out or disconnected connection, the method further comprises: It is determined whether the OTN device executes an FTP operation process. If so, after the FTP operation process is completed, an FTP activation operation is performed on the OTN device with a connection timeout or disconnected.
7. The VC cross-data synchronization method for OTN equipment based on FTP transmission of mib files according to claim 1, characterized in that: After forming the VC cross data, the method further includes: The VC cross-connection data is returned to the user requesting end.
8. The VC cross-data synchronization method for OTN equipment based on FTP transmission of mib files according to claim 1, characterized in that: For OTN equipment, the method includes: In response to receiving a VC cross information query request from the FTP server, extracting corresponding mib data; The mib data is packaged and a mib file is sent to the FTP server.
9. The VC cross-link data synchronization method for OTN equipment based on FTP transmission of mib files according to claim 8, before sending the mib file to the FTP server, the method further comprises: Verify whether the FTP transmission configuration parameters carried in the mib file are legal. If so, execute the mib file sending step. If not, send a corresponding device alarm to the FTP server.
10. A VC cross-data synchronization system for OTN equipment based on FTP transmission of mib files, characterized in that: Includes FTP server and multiple OTN devices; The FTP server adopts the VC cross data synchronization method based on FTP transmission of mib files of OTN equipment according to any one of claims 1 to 7; The OTN device adopts the VC cross data synchronization method based on FTP transmission of mib files for OTN devices according to any one of claims 8 to 9.
Citation Information
Patent Citations
Method for browsing management information database in NMP
CN101175063A
System for browsing management information database in NMP
CN101175070A
Network cell equipment configuration information checking system and working method thereof
CN106375116A
Data transmission method, device and equipment and computer readable storage medium
CN111342932A
File processing method, device and system, electronic equipment and computer readable medium
CN116070611A
Cited By
VCKP data synchronization method for transmitting MIB file by M-OTN device based on FTP
CN121397001A