Service link creation method, device, equipment and readable storage medium
By creating packet virtual Ethernet PVE links and allocating OTN interfaces, the problem of insufficient elasticity of OTN service transmission pipelines is solved, and bandwidth utilization is improved and service bandwidth is flexible.
Patent Information
- Application Number
- CN202310160257.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-23
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2043-02-23
AI Technical Summary
The existing OTN service transmission pipelines are insufficiently elastic and have low bandwidth utilization, which cannot adapt to customers' flexibility in service bandwidth.
By creating a packet virtual Ethernet PVE link, the OTN interface in the service board is allocated to the PVE link, and the optical service unit index is obtained based on the assigned interface, thereby creating a service link. This method realizes the division and flexible management of OTN service transmission pipelines.
The elasticity of the transmission pipeline and the improvement of bandwidth utilization are achieved, which can meet customers' needs for small-particle bandwidth access. By adjusting the number of optical service units indexes, it realizes refined service channel management to meet the needs of adding and deleting service bandwidth.
Smart Images

Figure CN116156363B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of optical communication technology, and in particular to a service link creation method, device, equipment and readable storage medium. Background Art
[0002] OTN (Optical Transport Network) is a transmission network based on wavelength division multiplexing technology and organized at the optical layer. It is a backbone transmission network. OTN spans the traditional electrical and optical domains and is a unified standard for managing the electrical and optical domains.
[0003] OTN is widely used in the construction of trunk transmission networks of major operators, promoting the development of related services. Currently, the systems that implement OTN services include network management equipment, SDN equipment and OTN equipment, which have the following disadvantages:
[0004] First, the transmission pipeline is not flexible enough. The minimum granularity used by OTN to transmit services is too large, at 1.25G. Regardless of the bandwidth required by customers, the minimum occupied bandwidth is 1.25G, which is obviously a waste of space.
[0005] Second, bandwidth utilization is low. With the development of mobile network technology, users' demand for bandwidth is becoming more and more sophisticated. Traditional OTN transmission pipelines cannot adapt to today's customers' demands for service flexibility.
[0006] Third, bandwidth adjustment is not flexible. Traditional OTN bandwidth adjustment is not flexible enough and cannot meet the demand for bandwidth adjustment flexibility in the current mobile data era. Summary of the invention
[0007] In order to solve at least one of the above technical problems, the main purpose of the present invention is to provide a service link creation method, device, equipment and readable storage medium.
[0008] In a first aspect, the present invention provides a service link creation method, the service link creation method comprising:
[0009] Create a packet virtual Ethernet PVE link;
[0010] Allocate OTN interfaces in service boards for PVE links;
[0011] Obtaining an optical service unit index according to an OTN interface in a service card allocated to the PVE link;
[0012] A service link is created according to the PVE link and the optical service unit index.
[0013] Optionally, the creating a packet virtual Ethernet PVE link includes:
[0014] A packet virtual Ethernet PVE link is created according to the received link configuration information, wherein the link configuration information includes service type, mapping path, mapping type, panel Ethernet port information, connection-oriented Ethernet COE channel information, backplane service port information and PVE attribute information.
[0015] Optionally, the step of allocating an OTN interface in a service card to a PVE link includes:
[0016] Obtain target port identification information according to panel Ethernet port information, connection-oriented Ethernet COE channel information, and backplane service port information;
[0017] The OTN interface in the service card whose port identification information is the target port identification information is allocated to the PVE link.
[0018] Optionally, the step of obtaining an optical service unit index according to an OTN interface in a service card allocated to the PVE link includes:
[0019] An optical service unit index is generated according to the backplane service port information and the information of the OTN interface in the service card allocated to the PVE link.
[0020] Optionally, the step of creating a service link according to the PVE link and the optical service unit index includes:
[0021] Establishing a first association relationship between the identification information of the PVE link and the optical service unit index;
[0022] Obtaining the optical service unit channel number corresponding to the optical service unit index;
[0023] Bind the optical service unit channel number to the first association relationship.
[0024] Optionally, after the step of creating a service link according to the PVE link and the optical service unit index, the method further includes:
[0025] Generate the optical service unit header information of the local end according to the local slot information and the optical service unit channel number corresponding to the optical service unit index;
[0026] Get the peer optical service unit header information;
[0027] A cross-mapping relationship table is generated according to the local optical service unit header information and the opposite optical service unit header information.
[0028] Optionally, after the step of creating a service link according to the PVE link and the optical service unit index, the method further includes:
[0029] When a service is running on the service link, OAM information is generated according to the service link modeling information;
[0030] The service link is monitored according to the OAM information.
[0031] In a second aspect, the present invention further provides a service link creation device, the service link creation device comprising:
[0032] A first creation module, used to create a packet virtual Ethernet PVE link;
[0033] The allocation module is used to allocate the OTN interface in the service card to the PVE link;
[0034] An index determination module, used to obtain an optical service unit index according to an OTN interface in a service card allocated to the PVE link;
[0035] The second creation module is used to create a service link according to the PVE link and the optical service unit index.
[0036] In a third aspect, the present invention also provides a service link creation device, comprising a processor, a memory, and a service link creation program stored in the memory and executable by the processor, wherein when the service link creation program is executed by the processor, the steps of the service link creation method as described above are implemented.
[0037] In a fourth aspect, the present invention further provides a readable storage medium, on which a service link creation program is stored, wherein when the service link creation program is executed by a processor, the steps of the service link creation method as described above are implemented.
[0038] In the present invention, a packet virtual Ethernet PVE link is created; an OTN interface in a service board is allocated to the PVE link; an optical service unit index is obtained according to the OTN interface in the service board allocated to the PVE link; and a service link is created according to the PVE link and the optical service unit index. Through the present invention, a PVE link is created, which realizes the division of the original transmission pipeline of the OTN service, thereby solving the problem of insufficient transmission pipeline elasticity; a service link is created according to the PVE link and the optical service unit index, which is equivalent to constructing a service link composed of a PVE link and an optical service unit, and the size of the optical service unit is 2M, that is, the minimum particle of the service link is 2M, which meets the customer's demand for small-particle bandwidth access and improves bandwidth utilization; when there are N optical service unit indexes, the bandwidth of the service link is N*2M, that is, by adjusting the number of optical service unit indexes, refined service channel management is realized, and the bandwidth requirements of service addition and deletion are fully met, and the demand for service bandwidth adjustment is more flexibly solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 A schematic diagram of the process of the first embodiment of the service link creation method of the present invention;
[0040] Figure 2 for Figure 1 Detailed flow chart of step S20;
[0041] Figure 3 for Figure 1 A detailed flow chart of step S40;
[0042] Figure 4 A schematic diagram of a flow chart of a second embodiment of a service link creation method according to the present invention;
[0043] Figure 5 A schematic diagram of a flow chart of a third embodiment of a method for creating a service link according to the present invention;
[0044] Figure 6 This is a schematic diagram of the functional modules of an embodiment of a service link creation device of the present invention.
[0045] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0046] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0047] In a first aspect, an embodiment of the present invention provides a service link creation method.
[0048] In one embodiment, referring to Figure 1 , Figure 1 FIG. 1 is a flow chart of the first embodiment of the service link creation method of the present invention. Figure 1 As shown, the service link creation method includes:
[0049] Step S10, creating a packet virtual Ethernet PVE link;
[0050] In this embodiment, the packet virtual Ethernet PVE link can also be understood as a packet virtual Ethernet PVE port, which is obtained by dividing the Ethernet port on the panel of the service board, that is, the Ethernet port can be divided into multiple PVE links (or PVE ports).
[0051] By dividing the Ethernet ports, PVE links are created, thus solving the problem of insufficient elasticity of the existing OTN service transmission pipeline.
[0052] Furthermore, in one embodiment, a packet virtual Ethernet PVE link is created based on the received link configuration information, and the link configuration information includes service type, mapping path, mapping type, panel Ethernet port information, connection-oriented Ethernet COE channel information, backplane service port information and PVE attribute information.
[0053] In this embodiment, the link configuration information is sent to the service card through the network management or SDN controller, and the service card (specifically, the service processing unit therein) creates a packet virtual Ethernet PVE link according to the received link configuration information. The link configuration information includes service type, mapping path, mapping type, panel Ethernet port information, connection-oriented Ethernet COE channel information, backplane service port information and PVE attribute information. The link configuration information is pre-set by the user according to actual needs, and the PVE attribute information includes source and sink ports, VLAN and service bandwidth information.
[0054] Step S20, allocating an OTN interface in a service card to the PVE link;
[0055] In this embodiment, the OTN interface in the service board is referred to as a BOTN interface. There are multiple BOTN interfaces in a service board. When a corresponding BOTN interface needs to be assigned to a PVE link, a BOTN interface can be randomly selected from the currently unassigned BOTN interfaces and assigned to the PVE link.
[0056] Alternatively, the BOTN interfaces are numbered in advance, for example, starting from 0 and increasing in sequence, and the BOTN interface with the smallest / largest number is selected from the BOTN interfaces currently in an unassigned state and assigned to the PVE link.
[0057] Among them, the service board accesses the Ethernet service through the panel Ethernet port. In this embodiment, a PVE link is created in the panel Ethernet port, and a BOTN interface is allocated to the created PVE link, that is, each PVE link is bound to the corresponding BOTN interface. Only after the PVE link is bound to the BOTN port can the Ethernet service be transmitted through OTN.
[0058] Further, in one embodiment, referring to Figure 2 , Figure 2 for Figure 1 Detailed flow chart of step S20 in FIG. Figure 2 As shown, step S20 includes:
[0059] Step S201, obtaining target port identification information according to panel Ethernet port information, connection-oriented Ethernet COE channel information and backplane service port information;
[0060] In this embodiment, the target port identification information is determined based on relevant rules according to the panel Ethernet port information, the connection-oriented Ethernet COE channel information and the backplane service port information in the link configuration information.
[0061] Step S202: Allocate an OTN interface in a service card whose port identification information is the target port identification information to the PVE link.
[0062] In this embodiment, after the target port identification information is determined, the OTN interface in the service board to which the target port identification information belongs is allocated to the PVE link.
[0063] Step S30, obtaining an optical service unit index according to the OTN interface in the service card allocated to the PVE link;
[0064] In this embodiment, the optical service unit index is the identity information of the optical service unit OSU, and the OSU index is determined by the BOTN interface allocated to the PVE link.
[0065] Furthermore, in one embodiment, step S30 includes:
[0066] An optical service unit index is generated according to the backplane service port information and the information of the OTN interface in the service card allocated to the PVE link.
[0067] In this embodiment, through step S20, the PVE link and the BOTN interface are bound, and the link-level binding is realized, but the service processing cannot be divided according to the BOTN interface. In terms of implementation details, it is necessary to generate an optical service unit index, that is, an OSU index OSU_IDX, based on the information of the BOTN interface assigned to the PVE link and the backplane service port information.
[0068] Step S40: Create a service link according to the PVE link and the optical service unit index.
[0069] In this embodiment, it is easy to understand that the OSU index refers to the OSU, and creating a service link according to the PVE link and the optical service unit index is equivalent to establishing a service link of the OSU corresponding to the PVE link-OSU index.
[0070] Further, in one embodiment, referring to Figure 3 , Figure 3 for Figure 1 Detailed flow chart of step S40 in FIG. Figure 3 As shown, step S40 includes:
[0071] Step S401, establishing a first association relationship between the identification information of the PVE link and the optical service unit index;
[0072] In this embodiment, the identification information of the PVE link is used to uniquely identify the corresponding PVE link. For the corresponding PVE link, the corresponding identification information can be generated at the time of its creation. There is no restriction on the method of generating the identification information of the PVE link, as long as each PVE link can be guaranteed to have unique identification information. Establishing the first association between the identification information of the PVE link and the optical service unit index is equivalent to creating a service link of the OSU corresponding to the PVE link-OSU index.
[0073] Step S402, obtaining the optical service unit channel number corresponding to the optical service unit index;
[0074] In this embodiment, the optical service unit channel number corresponding to the optical service unit index may be obtained from the optical service unit channel number resource pool.
[0075] It is easy to understand that when the PVE link is deleted, the corresponding optical service unit channel number is released back to the optical service unit channel number resource pool.
[0076] Step S403: Bind the optical service unit channel number to the first association relationship.
[0077] In this embodiment, the optical service unit channel number is bound to the first association relationship, that is, the optical service unit channel number is assigned to the service link of the OSU corresponding to the PVE link-OSU index, so that when the data frame is subsequently transmitted through the service link, the optical service unit channel number is inserted into the corresponding position of the data frame.
[0078] In this embodiment, a packet virtual Ethernet PVE link is created; an OTN interface in a service board is allocated to the PVE link; an optical service unit index is obtained according to the OTN interface in the service board allocated to the PVE link; and a service link is created according to the PVE link and the optical service unit index. Through this embodiment, the creation of the PVE link realizes the division of the original transmission pipeline of the OTN service, thereby solving the problem of insufficient transmission pipeline elasticity; the creation of the service link according to the PVE link and the optical service unit index is equivalent to constructing a service link composed of the PVE link and the optical service unit, and the size of the optical service unit is 2M, that is, the minimum particle of the service link is 2M, which meets the customer's demand for small-particle bandwidth access and improves bandwidth utilization; when there are N optical service unit indexes, the bandwidth of the service link is N*2M, that is, by adjusting the number of optical service unit indexes, refined service channel management is realized, and the bandwidth requirements of service addition and deletion are fully met, and the demand for service bandwidth adjustment is more flexibly solved.
[0079] Further, in one embodiment, referring to Figure 4 , Figure 4FIG. 2 is a flow chart of the second embodiment of the service link creation method of the present invention. Figure 4 As shown, after step S40, the following further includes:
[0080] Step S501, generating the optical service unit header information of the local end according to the local slot information and the optical service unit channel number corresponding to the optical service unit index;
[0081] In this embodiment, the local slot information is the information of the slot where the local service board (executing subject of this embodiment) is located. According to the local slot information X and the optical service unit channel number T corresponding to the optical service unit index, the local optical service unit header field information is generated:
[0082] OSU_S: XT+1, OSU_D: XT, OSU_R: YD+1.
[0083] Step S502, obtaining the header information of the optical service unit of the opposite end;
[0084] In this embodiment, the opposite end service board (i.e., the service board to be cross-connected) may calculate the opposite end optical service unit header information in the same manner as step S501 and transmit it to the local end service board, thereby obtaining the opposite end optical service unit header information.
[0085] Alternatively, the peer optical service unit header information may be generated according to the slot information Y of the peer service card and the optical service unit channel number D corresponding to the peer service link:
[0086] OSU_S: YD+1, OSU_D: YD, OSU_R: XT+1.
[0087] Step S503: Generate a cross-mapping relationship table according to the local optical service unit header information and the peer optical service unit header information.
[0088] In this embodiment, a cross-mapping relationship table is generated based on the local optical service unit header information and the opposite optical service unit header information, which is equivalent to establishing a cross between the service link created in step S40 and the service link on the opposite service board. Subsequently, the service flow switch can be turned on to carry out data transmission services.
[0089] Further, in one embodiment, referring to Figure 5 , Figure 5 FIG. 1 is a flow chart of the third embodiment of the service link creation method of the present invention. Figure 5 As shown, after step S40, the following further includes:
[0090] Step S601, when a service is running on the service link, OAM information is generated according to the service link modeling information;
[0091] In this embodiment, when a service is running on the service link, OAM information is generated according to the service link modeling information, wherein the service link modeling information is pre-planned based on actual needs and includes monitoring directions: PVE link to OSU and / or OSU to PVE link, and overhead types that need to be monitored.
[0092] Step S602: monitor the service link according to the OAM information.
[0093] In this embodiment, service alarm, performance, status, and overhead monitoring can be enabled for the service link according to the OAM information.
[0094] It is easy to understand that when a service link is deleted, service alarm, performance, status, and overhead monitoring are turned off.
[0095] In a second aspect, an embodiment of the present invention further provides a service link creation device.
[0096] In one embodiment, referring to Figure 6 , Figure 6 This is a functional module diagram of an embodiment of a service link creation device of the present invention. Figure 6 As shown, the service link creation device includes:
[0097] A first creation module 10, used to create a packet virtual Ethernet PVE link;
[0098] The allocation module 20 is used to allocate the OTN interface in the service card to the PVE link;
[0099] An index determination module 30, configured to obtain an optical service unit index according to an OTN interface in a service card allocated to the PVE link;
[0100] The second creation module 40 is used to create a service link according to the PVE link and the optical service unit index.
[0101] Furthermore, in one embodiment, the first creation module 10 is used to:
[0102] A packet virtual Ethernet PVE link is created according to the received link configuration information, wherein the link configuration information includes service type, mapping path, mapping type, panel Ethernet port information, connection-oriented Ethernet COE channel information, backplane service port information and PVE attribute information.
[0103] Furthermore, in one embodiment, the allocation module 20 is used to:
[0104] Obtain target port identification information according to panel Ethernet port information, connection-oriented Ethernet COE channel information, and backplane service port information;
[0105] The OTN interface in the service card whose port identification information is the target port identification information is allocated to the PVE link.
[0106] Furthermore, in one embodiment, the index determination module 30 is used to:
[0107] An optical service unit index is generated according to the backplane service port information and the information of the OTN interface in the service card allocated to the PVE link.
[0108] Furthermore, in one embodiment, the second creation module 40 is used to:
[0109] Establishing a first association relationship between the identification information of the PVE link and the optical service unit index;
[0110] Obtaining the optical service unit channel number corresponding to the optical service unit index;
[0111] Bind the optical service unit channel number to the first association relationship.
[0112] Furthermore, in one embodiment, the service link creation device further includes a cross-establishment module, which is used to:
[0113] Generate the optical service unit header information of the local end according to the local slot information and the optical service unit channel number corresponding to the optical service unit index;
[0114] Get the peer optical service unit header information;
[0115] A cross-mapping relationship table is generated according to the local optical service unit header information and the opposite optical service unit header information.
[0116] Furthermore, in one embodiment, the service link creation device further includes a monitoring module, which is used to:
[0117] When a service is running on the service link, OAM information is generated according to the service link modeling information;
[0118] The service link is monitored according to the OAM information.
[0119] Among them, the functional implementation of each module in the above-mentioned service link creation device corresponds to each step in the above-mentioned service link creation method embodiment, and its functions and implementation processes are no longer repeated here.
[0120] In the third aspect, an embodiment of the present invention provides a business link creation device, which includes a processor, a memory, and a business link creation program stored in the memory and executable by the processor, wherein when the business link creation program is executed by the processor, the processor can call the business link creation program stored in the memory and execute the business link creation method provided by the embodiment of the present invention.
[0121] In a fourth aspect, an embodiment of the present invention further provides a readable storage medium.
[0122] The readable storage medium of the present invention stores a service link creation program, wherein when the service link creation program is executed by a processor, the steps of the service link creation method as described above are implemented.
[0123] The method implemented when the service link creation program is executed can refer to the various embodiments of the service link creation method of the present invention, and will not be described in detail here.
[0124] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0125] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0126] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present invention.
[0127] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A service link creation method, characterized in that: The service link creation method comprises: Create a packet virtual Ethernet PVE link; Allocate OTN interfaces in service boards for PVE links; Obtaining an optical service unit index according to an OTN interface in a service card allocated to the PVE link; Creating a service link according to the PVE link and the optical service unit index; The creating of a packet virtual Ethernet PVE link comprises: Creating a packet virtual Ethernet PVE link according to the received link configuration information, wherein the link configuration information includes a service type, a mapping path, a mapping type, panel Ethernet port information, connection-oriented Ethernet COE channel information, backplane service port information, and PVE attribute information; The step of allocating an OTN interface in a service card to a PVE link includes: Obtain target port identification information according to panel Ethernet port information, connection-oriented Ethernet COE channel information, and backplane service port information; The OTN interface in the service card whose port identification information is the target port identification information is allocated to the PVE link.
2. The service link creation method according to claim 1, characterized in that: The step of obtaining the optical service unit index according to the OTN interface in the service card allocated to the PVE link comprises: An optical service unit index is generated according to the backplane service port information and the information of the OTN interface in the service card allocated to the PVE link.
3. The service link creation method according to claim 2, characterized in that: The step of creating a service link according to the PVE link and the optical service unit index comprises: Establishing a first association relationship between the identification information of the PVE link and the optical service unit index; Obtaining the optical service unit channel number corresponding to the optical service unit index; Bind the optical service unit channel number to the first association relationship.
4. The service link creation method according to any one of claims 1 to 3, characterized in that: After the step of creating a service link according to the PVE link and the optical service unit index, the method further includes: Generate the optical service unit header information of the local end according to the local slot information and the optical service unit channel number corresponding to the optical service unit index; Get the peer optical service unit header information; A cross-mapping relationship table is generated according to the local optical service unit header information and the opposite optical service unit header information.
5. The service link creation method according to any one of claims 1 to 3, characterized in that: After the step of creating a service link according to the PVE link and the optical service unit index, the method further includes: When a service is running on the service link, OAM information is generated according to the service link modeling information; The service link is monitored according to the OAM information.
6. A service link creation device, characterized in that: The service link creation device comprises: A first creation module is used to create a packet virtual Ethernet PVE link according to the received link configuration information, wherein the link configuration information includes a service type, a mapping path, a mapping type, panel Ethernet port information, connection-oriented Ethernet COE channel information, backplane service port information, and PVE attribute information; An allocation module is used to obtain target port identification information according to panel Ethernet port information, connection-oriented Ethernet COE channel information and backplane service port information; allocate an OTN interface in a service card whose port identification information is the target port identification information to a PVE link; An index determination module, used to obtain an optical service unit index according to an OTN interface in a service card allocated to the PVE link; The second creation module is used to create a service link according to the PVE link and the optical service unit index.
7. A service link creation device, characterized in that: The service link creation device includes a processor, a memory, and a service link creation program stored in the memory and executable by the processor, wherein when the service link creation program is executed by the processor, the steps of the service link creation method according to any one of claims 1 to 5 are implemented.
8. A readable storage medium, characterized in that: The readable storage medium stores a service link creation program, wherein when the service link creation program is executed by a processor, the steps of the service link creation method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
A method for configuring packet service of a POTN device
CN108989177A
Method for changing bandwidth of services, device and computer readable storage medium
CN109150747A