A method and system for configuring EOO services of OTN equipment based on netconfig
Through the EOO service configuration method based on netconfig of OTN equipment, the problem that EOO service configuration in the prior art cannot directly obtain results based on target data packets is solved, and the simplification and flexibility of EOO service configuration are achieved.
Patent Information
- Application Number
- CN202411143894.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2044-08-20
AI Technical Summary
The configuration method of EOO services in the prior art cannot obtain configuration results based on the target data packet, resulting in the determination of the successful configuration depend on indirect and time-consuming device interface status query, which increases the complexity and uncertainty of the configuration process.
It provides a method for OTN equipment to configure EOO services based on netconfig. By receiving the EOO business model and configuration data input from the user interface, it determines the target data packet, and obtains the EOO service configuration results based on the target data packet, and sends a configuration prompt to the user interface.
It realizes the direct acquisition of EOO service configuration results based on the target data packet, simplifies the configuration process, improves the flexibility and adaptability of configuration, and reduces configuration complexity and uncertainty.
Smart Images

Figure CN118827366B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network communication management software, and in particular to a configuration method and system for EOO services of OTN equipment based on netconfig. Background Art
[0002] In the field of network communication management software, during the EOO service configuration process, determining whether the service configuration is successful is often done by querying the device interface status to determine the device status, and then determining whether the service configuration is successful based on the device status. It is not possible to determine whether the service configuration is successful based on the target data message for the service configuration.
[0003] Therefore, the configuration method of the EOO service in the prior art cannot obtain the configuration result according to the target data message, resulting in the determination of whether the configuration is successful or not relying on indirect and time-consuming device interface status query, which increases the complexity and uncertainty of the configuration process. Summary of the invention
[0004] In order to overcome the deficiencies of the prior art, the object of the present invention is to provide a method and system for configuring EOO services of an OTN device based on netconfig, which can obtain configuration results according to target data packets.
[0005] In order to solve the above problems, the present invention is implemented according to the following scheme:
[0006] A method for configuring an EOO service of an OTN device based on netconfig is provided, including:
[0007] Receiving EOO business model and EOO business configuration data inputted by the user interface;
[0008] When the EOO business model is the first EOO business model, the data template is the first template;
[0009] When the EOO business model is the second EOO business model, the data template is the second template;
[0010] Determining a target data message according to the EOO service configuration data and the data template;
[0011] Determine the EOO service configuration result according to the target data message;
[0012] According to the EOO service configuration result, an EOO service configuration prompt is sent to the user interface.
[0013] Compared with the prior art, the beneficial effects of the configuration method of the EOO service of an OTN device based on netconfig provided by the present invention are as follows: the user selects different EOO service models, and different EOO service models correspond to different data templates, which can adapt to various service needs, thereby improving the flexibility and adaptability of the EOO service configuration. According to the EOO service configuration data and data template corresponding to the EOO service model, the target data message can be determined, and the EOO service configuration result can be known according to the target data message, thereby simplifying the configuration process.
[0014] Optionally, the receiving of the EOO business model and EOO business configuration data inputted by the user interface includes:
[0015] Sending an EOO service configuration interface to the user interface;
[0016] Receiving the EOO business model input by the user on the EOO business configuration page;
[0017] According to the EOO business model, sending an EOO business scenario data interface to the user interface;
[0018] Receiving target data input by the user in the EOO business scenario data interface;
[0019] After verifying the target data, the target data is determined to be the EOO service configuration data.
[0020] Optionally, after verifying the target data, determining the target data as the EOO service configuration data includes:
[0021] Determine whether the target data is fully input, and if not, send the missing data items to the EOO business scenario data interface;
[0022] If the input is complete, the target data is verified in real time;
[0023] The verification result is sent to the EOO business scenario data interface, and the verification result is used to prompt the user to correct the input data item.
[0024] Optionally, also include:
[0025] Sending a login interface to the user interface;
[0026] After the user successfully logs in, the device information of the OTN device is received;
[0027] The OTN device is entered according to the device information of the OTN device.
[0028] Optionally, determining the EOO service configuration result according to the target data message includes:
[0029] Establishing a connection with the OTN device;
[0030] Sending a target request with the target data message to the OTN device;
[0031] receiving a target result sent by the OTN device; the target result is generated after the OTN device receives the target request;
[0032] According to the target result, the EOO service configuration result is determined.
[0033] Optionally, establishing a connection with the OTN device includes:
[0034] Triggering the establishment of a network configuration session to complete the network protocol connection;
[0035] Confirm the identity and authority of the OTN device;
[0036] Function and operation exchanges are performed with the OTN device whose identity and authority are confirmed to determine the connection mode with the OTN device.
[0037] Optionally, determining the EOO service configuration result according to the target result includes:
[0038] Disassembling the target result to obtain disassembly data;
[0039] If the disassembly data includes a correct tag, the EOO service configuration result is successful;
[0040] If the disassembly data includes an error tag, the EOO service configuration result is configuration failure.
[0041] Optionally, sending an EOO service configuration prompt to the user interface according to the EOO service configuration result includes:
[0042] When the EOO service configuration result is successful, the EOO service configuration prompt is that the EOO service is successfully configured;
[0043] When the EOO service configuration result is configuration failure, the EOO service configuration prompt is the EOO service configuration failure and the reason for the failure.
[0044] Optionally, the EOO service configuration data includes: EOO service label data, mapping mode, client side data and network side data;
[0045] The client side data includes: client side protection type, client side slot and client side port;
[0046] The network side data includes: network side protection type, network side slot, network side port, network side mapping time slot, network side adaptation type, network side payload type and network side switching capability.
[0047] A configuration system for EOO services of OTN equipment based on netconfig is also provided, which is applied to the above configuration method and includes:
[0048] Front-end modules for:
[0049] Display the EOO business configuration interface, EOO business scenario data interface, login interface and EOO business configuration prompts;
[0050] Receive EOO business model and EOO business configuration data;
[0051] Backend modules for:
[0052] When the EOO business model is the first EOO business model, the data template is the first template;
[0053] When the EOO business model is the second EOO business model, the data template is the second template;
[0054] Determining a target data message according to the EOO service configuration data and the data template;
[0055] Determine the EOO service configuration result according to the target data message;
[0056] According to the EOO service configuration result, an EOO service configuration prompt is sent to the user interface. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 A flow chart of the configuration method of the present invention;
[0058] Figure 2 It is a schematic diagram of the EOO business scenario data interface corresponding to the EVPL business model in the present invention;
[0059] Figure 3 It is a schematic diagram of the EOO business scenario data interface corresponding to the EPL business model in the present invention;
[0060] Figure 4 A schematic diagram of real-time verification of the EOO business scenario data interface of the present invention;
[0061] Figure 5 It is a flow chart of the specific implementation process of the present invention. DETAILED DESCRIPTION
[0062] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0063] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims. In the description of the present application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and do not have to be used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances.
[0064] OTN, optical transport network, is a type of network that implements the transmission, multiplexing, routing, and monitoring of service signals in the optical domain and ensures their performance indicators and survivability.
[0065] EOO, or Ethernet over OTN, is a technology that encapsulates Ethernet signals into the ODUk pipeline of the OTN (Optical Transport Network) and transmits them through the OTN network.
[0066] ETH, or EtherNet, is a commonly used local area network (LAN) communication protocol standard with a transmission rate of 10-10000Mbps.
[0067] EPL, Ethernet Private Line.
[0068] EVPL, Ethernet Virtual Private Line.
[0069] XML, Extensible Markup Language, is a subset of the Standard Generalized Markup Language. It can be used to mark data and define data types. It is a source language that allows users to define their own markup languages. XML is a standard generalized markup language with good extensibility, separation of content and form, strict syntax requirements, and good value preservation.
[0070] NNI (network-to-network interface) refers to the interface between two networks. It is an interface used to connect different networks to achieve data exchange.
[0071] nniVlanId (nni vlan id), that is, the VLAN id between two network interfaces.
[0072] nniVlanPriority (nni vlan priority), that is, the VLAN priority between two network interfaces, is used to identify the priority of the data packet. This priority field can be used to determine the transmission order of data packets when the network is blocked, ensuring that high-priority data packets are transmitted first, while low-priority data packets may be delayed or discarded.
[0073] SVLAN (Stacked VLAN) is a network technology that implements hierarchical VLAN division by adding an outer VLAN tag in addition to the original VLAN tag. It is mainly used to provide a simpler Layer 2 VPN tunnel between private and public networks.
[0074] The NMS system is an operation and maintenance center that is responsible for equipment fault diagnosis and operation and maintenance of access systems, network operation and network management, and provides data and statistics for network management and planning.
[0075] See also Figure 1 As shown, the present invention provides a configuration method of an EOO service of an OTN device based on netconfig, comprising:
[0076] S1: receiving the EOO business model and EOO business configuration data input by the user interface, including:
[0077] First, an EOO business configuration interface is sent to the user interface. After the user selects an EOO business model on the EOO business configuration interface, different EOO business configuration scenarios are dynamically configured according to the EOO business model selected by the user, and common data items under the EOO business configuration scenario are automatically filled in, and data items excluding common data items are taken as data items that need to be input.
[0078] Then the EOO business scenario data interface is sent to the user interface. The EOO business scenario data interface is used for the user to input the above-mentioned data items that need to be entered. Common data items will not be displayed on the EOO business scenario data interface, which greatly reduces the data items that the user needs to enter, thereby reducing errors caused by manual data entry by the user. It can also simplify the configuration process and improve the efficiency and accuracy of EOO business configuration.
[0079] See also Figure 2-3As shown, this is the EOO business configuration scenario data interface, where Figure 2 It is the EOO business scenario data interface corresponding to the EVPL business model. Figure 3 It is the EOO business scenario data interface corresponding to the EPL business model; in the EOO business scenario data interface, it includes EOO business label data, mapping mode, client-side data and network-side data, which are EOO business configuration data that need to be input by the user. The EOO business label data is the content related to the EOO business.
[0080] See also Figure 2 As shown, in the EOO business scenario data interface corresponding to the EVPL business model, the client-side data includes: client-side protection type, client-side slot and client-side port, while the vlan value, switching Vlanld, uniClientVlanPriority, uniVlanPriority, uniClientVlanType and uniVlanType are key data items corresponding to the EVPL business model, which are not mandatory data items for the EOO business configuration data; the network-side data includes: network-side protection type, network-side slot, network-side port, network-side mapping time slot, network-side adaptation type (adaptationType), network-side payload type (oduSignalType) and network-side switching capability (switchCapability); the business type is fixed to ETH.
[0081] See also Figure 3 As shown, in the EOO business scenario data interface corresponding to the EPL business model, the client-side data includes: client-side protection type, client-side slot and client-side port; the network-side data includes: network-side protection type, network-side slot, network-side port, network-side mapping time slot, network-side adaptation type (adaptationType), network-side payload type (oduSignalType) and network-side switching capability (switchCapability), while nniVlanld and nniVlanPriority are key data items corresponding to the EPL business model, which are not mandatory data items for EOO business configuration data; the business type is fixed to ETH.
[0082] By making the EOO business configuration interface and performing real-time error correction and verification, the input of business configuration data items is greatly reduced, allowing network administrators to focus on filling in EOO business configuration data items. Combined with the data template obtained according to the EOO business model, the target XML data message sent is more accurate and less error-prone, thereby greatly reducing errors in manual assembly.
[0083] Further, the target data input by the user in the EOO business scenario data interface is verified, firstly determining whether the target data input by the user is complete, if not, sending the missing input data items to the EOO business scenario data interface; see Figure 4 As shown, the business label is a required data item. Therefore, when the business label is not entered, "Cannot be empty" is displayed below the input data item to remind the user to enter the data item; then the target data entered by the user is verified in real time, and the data items with incorrect input and the reasons for the incorrect input are output to prompt the user to correct the incorrectly input data items. After all data items in all EOO business scenario data interfaces are entered correctly, the target data is determined as EOO business configuration data.
[0084] S2: When the EOO business model is the first EOO business model, the data template is the first template; when the EOO business model is the second EOO business model, the data template is the second template, specifically:
[0085] The first EOO business model is an EVPL business model, the second business model is an EPL business model, the first template is an EVPL business data template, and the second template is an EPL business data template.
[0086] S3: Determine the target data message according to the EOO service configuration data and data template, specifically:
[0087] The data template is an XML data template. After the XML data template is filled with the EOO business configuration data entered by the user, it is automatically assembled into a target XML data message. At this time, the assembled data is the verified EOO business configuration data, so there is no need to verify it again during assembly, avoiding the verification of the EOO business configuration data when generating the target XML data message. When an error is found in the data item and needs to be corrected, it jumps back to the EOO business configuration scenario data interface, which will reduce the configuration efficiency of the EOO business.
[0088] S4: Determine the EOO service configuration result according to the target data message, including:
[0089] Trigger the establishment of a network configuration (netconf network configuration protocol) session to complete the network protocol (SSH) connection; and confirm the identity and authority of the OTN device; then exchange functions and operations with the OTN device whose identity and authority have been confirmed, that is, negotiate capabilities with the OTN device to understand the functions and operations supported by the OTN device and determine the connection method with the OTN device, thereby ensuring the functional operations that can be performed during the configuration process to establish a connection for communication with the OTN device.
[0090] After establishing a connection with the OTN device, a target request (rpc request) with a target XML data message is sent to the OTN device; after the OTN device receives the target XML data message ( <edit-config> xxxxx< / edit-config> ) target request (rpc request), it will be based on the target XML data message ( <edit-config> xxxxx< / edit-config> ) Generate target result ( <rpc-reply> xxxxxxxxx< / rpc-reply> ); the target result ( <rpc-reply> xxxxxxxxx< / rpc-reply> ) is disassembled, and a label indicating whether the EOO service configuration is successful is obtained. When the disassembled data includes the correct label ( <ok>), the EOO service configuration result is successful; when the disassembly data includes an error tag ( <rpc-error>), the EOO service configuration result is configuration failure.
[0091] S5: Send an EOO service configuration prompt to the user interface according to the EOO service configuration result:
[0092] When the EOO business configuration result is successful, the EOO business configuration prompt sent to the user interface is that the EOO business is successfully configured; when the EOO business configuration result is failed, the EOO business configuration prompt sent to the user interface is that the EOO business configuration failed and the reason for the failure, so as to remind the user of the issues that need to be paid attention to when performing the EOO business configuration again.
[0093] Before executing the EOO service configuration method, the user needs to log in to the NMS system. After the login is successful, the OTN device that needs to be configured for EOO service is entered into the NMS system. Specifically, the device information of the OTN device is sent to the NMS system, and the OTN device is entered according to the device information so that the EOO service configuration of the OTN device is performed through the NMS server. Therefore, before executing the EOO service configuration method, it also includes sending a login interface to the user interface to enter the OTN device into the NMS system. After the user logs in successfully, that is, after the OTN device is successfully entered into the NMS system, the EOO service configuration interface, the EOO service scenario data interface and other interfaces for the OTN device to perform EOO service configuration are sent.
[0094] When configuring the EOO service of the OTN device through the NMS system, the NMS system interacts with the OTN device through the telnet remote login protocol and the netconf network configuration protocol. When calling the data template according to the EOO service model selected by the user, the data template is called based on the netconf network configuration protocol, so that different manufacturers and different devices can get the same result through XML data, which is convenient for the mixed EOO service configuration distribution of different manufacturers and different devices, thereby improving the efficiency of EOO service configuration distribution.
[0095] Next, the EOO business configuration method is further explained in combination with the specific implementation process, as follows:
[0096] See also Figure 5 As shown, first send the EOO business configuration graphical interface to the user interface, and select the EVPL business model or the EPL business model on the EOO business configuration graphical interface.
[0097] When the EVPL business model is selected on the EOO business configuration interface, the business scenario data interface corresponding to the EVPL business model is sent to the user interface, and the user enters the EVPL data items corresponding to the EVPL business model on this interface; when the EPL business model is selected on the EOO business configuration interface, the business scenario data interface corresponding to the EPL business model is sent to the user interface, and the user enters the EPL data items corresponding to the EPL business model, such as SVLAN, etc.
[0098] When the user enters the EOO business configuration data, the data items entered by the user are verified in real time. When the verification fails, the user is reminded to re-enter the data items displayed on the business scenario interface. The user is not allowed to submit the data until the verification passes.
[0099] After the user submits the data, the XML data template that needs to be assembled is determined according to the EOO business model selected by the user, and the XML data template and the EOO business configuration data entered by the user are called to automatically assemble into a target data message, and the target data message is sent to the OTN device. The OTN device feeds back a target result with the configuration result according to the target data message, determines the EOO business configuration result according to the target result, and sends the EOO business configuration result to the user interface to feed back the EOO configuration result to the user.
[0100] The present invention also provides a configuration system for EOO services of OTN equipment based on netconfig, which is applied to the above configuration method and includes:
[0101] Front-end modules for:
[0102] Display the EOO business configuration interface, EOO business scenario data interface, login interface and EOO business configuration prompts;
[0103] Receive EOO business model and EOO business configuration data;
[0104] Backend modules for:
[0105] When the EOO business model is the first EOO business model, the data template is the first template;
[0106] When the EOO business model is the second EOO business model, the data template is the second template;
[0107] Determining a target data message according to the EOO service configuration data and the data template;
[0108] Determine the EOO service configuration result according to the target data message;
[0109] According to the EOO service configuration result, an EOO service configuration prompt is sent to the user interface.
[0110] The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application. < / ok>
Claims
1. A method for configuring EOO services of an OTN device based on netconfig, characterized in that: include: Send the EOO business configuration interface to the user interface; Receiving an EOO business model input by a user in the EOO business configuration interface; According to the EOO business model, sending an EOO business scenario data interface to the user interface; Receiving target data input by the user in the EOO business scenario data interface; After verifying the target data, determining the target data as EOO service configuration data; When the EOO business model is the first EOO business model, the data template is the first template; When the EOO business model is the second EOO business model, the data template is the second template; Determine the target data message according to the EOO service configuration data and the data template; the data template is an XML template; Triggering the establishment of a network configuration session to complete the network protocol connection; Confirm the identity and permissions of OTN equipment; Performing function and operation exchanges with the OTN device whose identity and authority are confirmed to determine a connection mode with the OTN device; Sending a target request with the target data message to the OTN device; receiving a target result sent by the OTN device; the target result is generated after the OTN device receives the target request; Disassembling the target result to obtain disassembly data; If the disassembly data includes a correct tag, the EOO service configuration result is successful; If the disassembly data includes an error tag, the EOO service configuration result is configuration failure; According to the EOO service configuration result, an EOO service configuration prompt is sent to the user interface.
2. According to claim 1, a method for configuring EOO services of an OTN device based on netconfig, characterized in that: After verifying the target data, determining the target data as EOO service configuration data includes: Determine whether the target data is fully input, and if not, send the missing input data items to the EOO business scenario data interface; If the input is complete, the target data is verified in real time; The verification result is sent to the EOO business scenario data interface, and the verification result is used to prompt the user to correct the input data item.
3. According to claim 1, a method for configuring EOO services of an OTN device based on netconfig, characterized in that: Also includes: Sending a login interface to the user interface; After the user successfully logs in, the device information of the OTN device is received; The OTN device is entered according to the device information of the OTN device.
4. The method for configuring an EOO service of an OTN device based on netconfig according to claim 3, characterized in that: The sending an EOO service configuration prompt to the user interface according to the EOO service configuration result includes: When the EOO service configuration result is successful, the EOO service configuration prompt is that the EOO service is successfully configured; When the EOO service configuration result is configuration failure, the EOO service configuration prompt is the EOO service configuration failure and the reason for the failure.
5. The method for configuring an EOO service of an OTN device based on netconfig according to claim 1, characterized in that: The EOO service configuration data includes: EOO service label data, mapping mode, client side data and network side data; The client side data includes: client side protection type, client side slot and client side port; The network side data includes: network side protection type, network side slot, network side port, network side mapping time slot, network side adaptation type, network side payload type and network side switching capability.
6. A configuration system for EOO services of OTN equipment based on netconfig, characterized in that: The configuration method applied to any one of claims 1 to 5 above comprises: Front-end modules for: Display the EOO business configuration interface, EOO business scenario data interface, login interface and EOO business configuration prompts; Receiving an EOO business model input by a user in the EOO business configuration interface; Receiving target data input by the user in the EOO business scenario data interface; Backend modules for: According to the EOO business model, an EOO business scenario data interface is sent to the front-end module; After verifying the target data, determining the target data as EOO service configuration data; When the EOO business model is the first EOO business model, the data template is the first template; When the EOO business model is the second EOO business model, the data template is the second template; Determine the target data message according to the EOO service configuration data and the data template; the data template is an XML template; Triggering the establishment of a network configuration session to complete the network protocol connection; Confirm the identity and permissions of OTN equipment; Performing function and operation exchanges with the OTN device whose identity and authority are confirmed to determine a connection mode with the OTN device; Sending a target request with the target data message to the OTN device; receiving a target result sent by the OTN device; the target result is generated after the OTN device receives the target request; Disassembling the target result to obtain disassembly data; If the disassembly data includes a correct tag, the EOO service configuration result is successful; If the disassembly data includes an error tag, the EOO service configuration result is configuration failure; According to the EOO service configuration result, an EOO service configuration prompt is sent to the front-end module.
Citation Information
Patent Citations
Method and system for configuring packet service model of POTN (Packet enhanced Optical Transport Network) equipment
CN105656673A
Service management architecture model and maintenance management method of POTN equipment
CN112153494A