CN112821982B - Service channel grouping method, system and storage medium based on optical transport network - Google Patents

Service channel grouping method, system and storage medium based on optical transport network Download PDF

Info

Publication number
CN112821982B
CN112821982B CN202110067042.7A CN202110067042A CN112821982B CN 112821982 B CN112821982 B CN 112821982B CN 202110067042 A CN202110067042 A CN 202110067042A CN 112821982 B CN112821982 B CN 112821982B
Authority
CN
China
Prior art keywords
information
msi
field information
grouping
msi field
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110067042.7A
Other languages
Chinese (zh)
Other versions
CN112821982A (en
Inventor
白宗元
钟有平
梁孳海
漆中元
韦海亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Rongda Qianli Technology Co ltd
Liuzhou Dadi Communication Technology Co ltd
Original Assignee
Beijing Rongda Qianli Technology Co ltd
Liuzhou Dadi Communication Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Rongda Qianli Technology Co ltd, Liuzhou Dadi Communication Technology Co ltd filed Critical Beijing Rongda Qianli Technology Co ltd
Priority to CN202110067042.7A priority Critical patent/CN112821982B/en
Publication of CN112821982A publication Critical patent/CN112821982A/en
Application granted granted Critical
Publication of CN112821982B publication Critical patent/CN112821982B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1605Fixed allocated frame structures
    • H04J3/1652Optical Transport Network [OTN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a service channel grouping method, a system and a storage medium based on an optical transport network, wherein the method comprises the following steps: acquiring a multiframe, and extracting PT field information from the multiframe; identifying PT field information, thereby obtaining first information; creating a first table and a second table according to the first information; extracting MSI field information from the multiframe and writing the MSI field information into a first table; grouping MSI field information recorded in a first table to obtain grouping information; and writing the MSI field information into a second table according to the grouping information. The invention extracts the PT field information and the MSI field information from the OTN of the receiving end, and carries out conversion processing and storage, thereby realizing the technical effect of quickly grouping the time slot channels utilized by the same service. The invention can be widely applied to the technical field of optical transmission.

Description

Service channel grouping method, system and storage medium based on optical transport network
Technical Field
The present invention relates to the field of optical transmission technologies, and in particular, to a service channel grouping method, system, and storage medium based on an optical transport network.
Background
With the rise of large data services, the requirement on the optical transmission channel rate is higher and higher, which makes the transmission of part of services with large particles more convenient; even so, sometimes some small-particle transmission services are still needed, and nowadays, the transmission of these services is often completed through a low-speed time slot channel. When the particle capacity in the low-speed service is larger than the bandwidth of the low-speed timeslot channel, several low-speed timeslot channels are required to transmit simultaneously, and the technical problem caused by the simultaneous transmission is whether the receiving end can quickly detect the low-speed timeslot channel used for transmitting the small particle service and quickly restore the data transmitted through the low-speed timeslot channels.
Disclosure of Invention
In order to solve at least one of the technical problems in the prior art, an object of the present invention is to provide a method, a system, and a storage medium for grouping traffic channels based on an optical transport network.
According to a first aspect of the embodiments of the present invention, a method for grouping service channels based on an optical transport network includes the following steps:
acquiring a multiframe and extracting PT field information from the multiframe;
identifying the PT field information, thereby obtaining first information; the first information comprises at least one of the following or a combination thereof: MSI type information, OPU type information and PSI byte information;
creating a first table and a second table according to the first information;
extracting MSI field information from the multiframe and writing the MSI field information into the first table; the MSI field information comprises at least one of the following or a combination thereof: ODTU type information and branch port information;
grouping the MSI field information recorded by the first table to obtain grouping information;
and writing the MSI field information into the second table according to the grouping information.
Further, the step of creating the first table and the second table according to the first information includes:
acquiring the MSI type information and the OPU type information from the first information;
obtaining storage depth information according to the MSI type information and the OPU type information;
creating the first table and the second table according to the storage depth information.
Further, the MSI type information includes 20 and 21, and the OPU type information includes OPU1, OPU2, OPU3, and OPU 4.
Further, the step of extracting MSI field information from the multiframe and writing the MSI field information to the first table includes:
extracting first MSI field information from the multiframe, writing the first MSI field information into the first table, and simultaneously writing an address plus one;
and judging whether the first MSI field information is the last field information in the multiframe, if not, extracting second MSI field information from the multiframe, returning to execute the step of extracting the MSI field information from the multiframe and writing the MSI field information into the first table.
Further, the step of grouping the MSI field information of the first table record to obtain grouping information includes:
comparing the MSI field information recorded in the first table to obtain a comparison result;
and grouping the MSI field information according to the comparison result to obtain the grouping information.
Further, the step of grouping the MSI field information according to the comparison result to obtain the grouping information includes:
when the same MSI field information exists in the comparison result, all the same MSI field information is combined into a group;
or the like, or, alternatively,
and when the unique MSI field information exists in the comparison result, the unique MSI field information is singly grouped.
Further, the step of writing the MSI field information into the second table according to the grouping information includes:
acquiring the grouping information;
extracting the ODTU type information and the branch port information of the MSI field information according to the grouping information;
and writing the ODTU type information and the branch port information into the second table.
According to a second aspect of the embodiments of the present invention, a service channel grouping system based on an optical transport network includes the following modules:
the device comprises an initial module, a frame processing module and a frame processing module, wherein the initial module is used for acquiring multiframes and extracting PT field information from the multiframes;
the identification module is used for identifying the PT field information so as to acquire first information; the first information comprises at least one of the following or a combination thereof: MSI type information, OPU type information and PSI byte information;
the creating module is used for creating a first table and a second table according to the first information;
a first writing module, configured to extract MSI field information from the multiframe and write the MSI field information into the first table; the MSI field information comprises at least one of the following or a combination thereof: ODTU type information and branch port information;
the grouping module is used for grouping the MSI field information recorded by the first table to obtain grouping information;
and the second writing module is used for writing the MSI field information into the second table according to the grouping information.
According to a third aspect of the embodiments of the present invention, a service channel grouping system based on an optical transport network includes the following devices:
at least one processor;
at least one memory for storing at least one program;
when executed by the at least one processor, cause the at least one processor to implement a method as described in the first aspect.
According to a fourth aspect of embodiments of the present invention, a computer-readable storage medium has stored therein a processor-executable program which, when executed by a processor, is configured to implement the method of the first aspect.
The invention has the beneficial effects that: the technical effect of quickly grouping the time slot channels utilized by the same service is realized by extracting the PT field information and the MSI field information from the OTN of the receiving end, and performing conversion processing and storage.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description is made on the drawings of the embodiments of the present invention or the related technical solutions in the prior art, it should be understood that the drawings in the following description are only for convenience and clarity of describing some embodiments in the technical solutions of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow chart of steps provided by an embodiment of the present invention;
FIG. 2 is a flow chart of an implementation provided by an embodiment of the present invention;
FIG. 3 is a block diagram of a module connection provided by an embodiment of the present invention;
fig. 4 is a connection diagram of an apparatus provided in an embodiment of the present invention.
Detailed Description
The conception, the specific structure and the technical effects of the present invention will be clearly and completely described in conjunction with the embodiments and the accompanying drawings to fully understand the objects, the schemes and the effects of the present invention.
In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of the invention and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
First, the terms of the related nouns involved in the embodiments of the present invention are described and explained:
OTN: the Optical Transport Network is also called as an Optical Transport Network, and is a type of Network, and particularly refers to a Transport Network that realizes Transport, multiplexing, routing, monitoring of service signals in an Optical domain, and ensures performance indexes and survivability of the Transport Network.
FPGA: the Field Programmable Gate Array is also called as a Field Programmable Gate Array, is called as a Field Programmable Gate Array in English, is a product further developed on the basis of Programmable devices such as PAL, GAL and the like, and appears as a semi-custom circuit in the Field of Application Specific Integrated Circuits (ASIC), thereby not only solving the defects of the custom circuit, but also overcoming the defect of limited Gate circuits of the original Programmable devices.
And, the full English name of the noun appearing in part in the present invention:
MSI: the Multiplex Structure Identifier is a multiplexing Structure indicator, or multiplexing Structure Identifier.
PSI: payload Structure Identifier, Payload Structure Identifier.
OUT:Optical channel Transport Unit。
MFAS:MultiFrame Alignment Signal。
OTU:OpticalTransport Unit。
ODU:Optical Channel Data Unit。
ODUk:Optical Channel Data Unit-k。
ODTU:Optical channel Data Tributary Unit。
OPUk:Optical channel Payload Unit-k。
In addition to the above nouns, for the convenience of understanding the present invention, the identification principle of the multiplexing structure of OPU1, OPU2, and OPU3 with payload type 20 and the identification principle of the multiplexing structure of OPU2, OPU3, and OPU4 with payload type 21 are explained as follows:
referring to table 1, the OPU1 multiplexing structure with payload type 20 is shown to identify the PSI bytes used.
Table 1 OPU1 multiplexing structure identifies PSI bytes used
Figure BDA0002904554250000041
Figure BDA0002904554250000051
2 OPU11.25G tributary slots take 2 PSI bytes (PSI [2] to PSI [3]) as MSI, which is used to specify the ODTU content of OPU1 per tributary slot, each tributary slot occupying one byte; bit1 and bit2 for indicating the ODTU type are fixed to "11", indicating that the structure is ODTU 01; bit8 is used to indicate the port number of ODTU01 that tributary ports transmit at the 1.25Gbit/s ts, the port assignment of tributary slots is fixed, and the port number is the same as the tributary slot number.
Referring to table 2, the OPU2 multiplexing structure with payload type 20 is shown to identify the PSI bytes used.
Table 2 OPU2 multiplexing structure identifies PSI bytes used
Figure BDA0002904554250000052
The 4 OPU22.5G tributary slots use 4 PSI bytes (PSI [2] to PSI [5]) as MSI, which is used to specify the ODTU content of OPU2 per tributary slot, each tributary slot occupying one byte; bit1 and bit2 for indicating the ODTU type are fixed to "00", indicating that the structure is ODTU 12; bits 7-8 are used to indicate the port number of the ODU1 transmitted by tributary ports in the 2.5Gbit/s ts, the port assignment of tributary time slots is fixed, and the port number is the same as the tributary time slot number.
Referring to table 3-1, PSI bytes used for identifying the OPU3 multiplexing structure with a payload type of 20 are shown; table 3-2, which shows the encoding of MSI in OPU3 for payload type 20.
Table 3-1 OPU3 multiplexing structure identifies PSI bytes used
Figure BDA0002904554250000053
TABLE 3-2 coding of OPU3-MSI
Figure BDA0002904554250000061
The 16 OPU32.5G tributary slots use 16 PSI characters (PSI [2] to PSI [17]) as MSI, which are used to specify the ODTU content of the OPU3 per tributary slot, each tributary slot occupying one byte; bit1 and bit2, which are used to indicate the type of ODTU, are used to say whether the ODTU13 or ODTU23 is carried with ts of the OPU 3. The default ODTU type is ODTU13, which indicates that the tributary slot carries ODTU13 or no ODTU; bits 3-8 are used to indicate the port number of ODTU13/23 transmitted by tributary port at the 2.5Gbit/s ts, and for ODTU23, flexible configuration of tributary port to tributary slot is possible, but for ODTU13, the configuration is fixed, i.e. the tributary port number is consistent with the tributary slot number. The branch ports of the ODTU23 are numbered 1-4.
Referring to table 4-1, PSI bytes used for identifying the OPU2 multiplexing structure with payload type 21 are shown; table 4-2, which shows the encoding of MSI in OPU2 for payload type 21.
Table 4-1 OPU2 multiplexing structure identifies PSI bytes used
Figure BDA0002904554250000062
TABLE 4-2 coding of OPU2 MSI
Figure BDA0002904554250000063
Figure BDA0002904554250000071
8 OPU21.25G tributary slots use 8 PSI bytes (PSI [2] to PSI [9]) as MSI, which is used to specify the ODTU content of OPU2 per tributary slot, each tributary slot occupying one byte; bit1 and bit2 for indicating the ODTU type are fixed to "00", indicating that the structure is ODTU 12; when a tributary port is used for indicating the port number of the ODU1 transmitted in the 2.5Gbit/s ts, the port assignment of the tributary timeslot is fixed, and the port number is the same as the tributary timeslot number; bit1 and bit2 for indicating the ODTU type are used for explaining whether OPU21.25Gbit/s ts carry ODTU12 or ODTU2. ts. The default ODTU type is 11, which means that the tributary time slot does not carry the ODTU; bits 3-8 for indicating tributary ports are used to illustrate the ODTU port numbers transmitted in ts, flexible allocation of tributary ports to tributary slots is possible, the tributary slot numbers of ODTU12 are 1-4 in sequence, and the tributary port numbers of ODTU2.ts are 1-8. When the ODTU type is 11, the values are all set to 0.
Referring to table 5-1, PSI bytes used for identifying the OPU3 multiplexing structure with payload type 21 are shown; table 5-2, which shows the encoding of MSI in OPU3 for payload type 21.
Table 5-1 OPU3 multiplexing structure identifies PSI bytes used
Figure BDA0002904554250000072
TABLE 5-2 coding of OPU3 MSI
Figure BDA0002904554250000073
The 32 OPU31.25G tributary slots use 32 PSI bytes (PSI [2] to PSI [33]) as MSI, which is used to specify the ODTU content of OPU3 per tributary slot, each tributary slot occupying one byte; bit1 and bit2, which are used to indicate the types of ODTU, are used to illustrate whether OPU31.25Gbit/s ts carry ODTU13, ODTU23 or ODTU3. ts. The default ODTU type is 11, which means that the tributary time slot does not carry the ODTU; bits 3 ~ 8 are used to indicate the ODTU port number transmitted by the tributary port in ts. Flexibly configured tributary port to tributary slots are possible, but for the tributary port numbers of ODTU13 are 1-16, the tributary port numbers of ODTU23 are 1-4, and the tributary port numbers of ODTU2.ts are 1-32. When the ODTU type is 11, it indicates that the tributary slot does not carry an ODTU.
Referring to table 6-1, PSI bytes used for OPU4 multiplexing structure id with payload type 21 are shown; table 6-2, which shows the encoding of MSI in OPU4 for payload type 21.
Table 6-1 OPU4 multiplexing structure identifies PSI bytes used
Figure BDA0002904554250000081
TABLE 6-2 coding of OPU4-MSI
Figure BDA0002904554250000082
80 OPU41.25G tributary slots take 80 PSI bytes (PSI [2] to PSI [81]) as MSI, which is used to specify the ODTU content of OPU4 per tributary slot, each tributary slot occupying one byte; bit1 indicating ts occupancy is used to indicate whether a tributary slot has been allocated. bits 2-8 are used to indicate the port number of ODTU4.ts transmitted by the tributary port at ts. For odtu4.ts carried with two or more tributary slots, flexible configuration of tributary ports to tributary slots is possible. The number of the branch ports of ODTU4.ts is 1-80 in sequence. When the occupied bit is 0 (tributary slots are not allocated), the values are all set to "0".
The embodiment of the invention provides a service channel grouping method based on an optical transport network, which can be applied to a terminal, a server and software running in the terminal or the server. The terminal may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, and the like. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN, and a big data and artificial intelligence platform. Referring to fig. 1, the method includes the following steps S100 to S600:
s100, acquiring the multiframe and extracting PT field information from the multiframe.
It should be noted that a multiframe is composed of 256 OTUk frames, each OPUk overhead provides 1-byte PSI, and 256 PSI bytes constitute a complete PSI information structure. PSI [0] is 1-byte payload type, namely PT field information; PSI [1] to PSI [255] are used for mapping and concatenation, wherein PSI [1] is reserved, PSI [2] to PSI [17] are multiplexing structure identifiers MSI, i.e. MSI field information.
S200, identifying PT field information so as to acquire first information; the first information includes at least one or a combination of: MSI type information, OPU type information and PSI byte information; the MSI type information includes 20 and 21, and the OPU type information includes OPU1, OPU2, OPU3, and OPU 4.
S300, creating a first table and a second table according to the first information.
Alternatively, step S300 may also be implemented as follows:
s301, acquiring MSI type information and OPU type information from the first information;
s302, obtaining storage depth information according to the MSI type information and the OPU type information;
s303, creating a first table and a second table according to the storage depth information.
It should be noted that, in some preferred embodiments, we determine the storage depth information of the first table and the second table by the following criteria, and DATA _ DEEP represents the storage depth information, that is:
when the OPU type is OPU2, the MSI type is 20, and DATA _ DEEP is 4; MSI type 21, DATA _ DEEP ═ 8; and generating the first table and the second table according to the standard that the storage depth is 8 and the storage width is 8 bits.
When the OPU type is OPU3, the MSI type is 20, and DATA _ DEEP is 16; when the MSI type is 21, DATA _ DEEP is 32; and generating the first table and the second table according to the standard that the storage depth is 32 and the storage width is 8 bits.
When the OPU type is OPU4, the MSI type is 21, and DATA _ DEEP is 80; and generating the first table and the second table according to the standard that the storage depth is 80 and the storage width is 8 bits.
S400, extracting MSI field information from the multiframe and writing the MSI field information into a first table; the MSI field information includes at least one or a combination of the following: ODTU type information, tributary port information.
Alternatively, step S400 may also be implemented by:
s401, extracting first MSI field information from the multiframe, writing the first MSI field information into a first table, and simultaneously writing the first MSI field information into an address plus one.
S402, judging whether the first MSI field information is the last field information in the multiframe, if not, extracting the second MSI field information from the multiframe, returning to execute the step of extracting the MSI field information from the multiframe and writing the MSI field information into the first table.
S500, grouping the MSI field information recorded in the first table to obtain grouping information.
Alternatively, step S500 may also be implemented as follows:
s501, comparing the MSI field information recorded in the first table to obtain a comparison result.
S502, grouping the MSI field information according to the comparison result to obtain grouping information.
It should be noted that, when the same MSI field information exists in the comparison result, all the same MSI field information is combined into a group; or, when unique MSI field information exists in the comparison result, the unique MSI field information is singly grouped.
S600, writing the MSI field information into a second table according to the grouping information.
Alternatively, step S600 may also be implemented as follows:
s601, acquiring grouping information.
S602, extracting the ODTU type information and the branch port information of the MSI field information according to the grouping information.
And S603, writing the ODTU type information and the branch port information into a second table.
The invention adopts FPGA to carry out logic processing, utilizes the high-speed processing characteristic of FPGA to carry out frame header positioning, rearrangement and descrambling on the optical communication OTN at the receiving end, extracts the PT field and the MSI field according to the integral structure of the optical communication OTN at the receiving end, and carries out conversion processing and storage, thereby realizing the technical effect of carrying out quick grouping on the time slot channels utilized by the same service.
Referring to fig. 2, there is shown a flow chart of an implementation provided according to an embodiment of the present invention, in which we name the first table as TS _ PORT _ RAM and the second table as PORT _ TS _ RAM; although the frame structures of OTUk are the same, the positions of PT field and MSI field are different due to different clock frequencies and bit widths of its operations, and this method is applicable to service grouping according to the MSI value. Some services may occupy multiple time slots ts, so the time slots ts requiring the same service are classified according to the branch port mode; generally, the OPU4 classifies the lower 7 bits of the MSI field as the address, the remaining lower 6 bits as the address, and the corresponding slot number as the data to be written.
Starting an operation flow; extracting PT field information from the multiframe; creating a TS _ PORT _ RAM and a PORT _ TS _ RAM according to the information extracted from the PT field; extracting MSI field information from the multiframe; writing the extracted MSI field information into a TS _ PORT _ RAM, and adding 1 to a write address; judging whether the current MSI field information is the last MSI field existing in the multiframe, if not, repeatedly executing the step of extracting the MSI field information from the multiframe, and if so, executing the next step; comparing the information already stored in the TS _ PORT _ RAM, combining the information with the same value into an ancestor, or grouping the information which exists only; taking the information stored in the TS _ PORT _ RAM as the address of the PORT _ TS _ RAM, and writing the MSI field information into the PORT _ TS _ RAM according to grouping, wherein the PORT _ TS _ RAM is a channel grouping result in the optical transport service; after all MSI field information in one multiframe is processed, the next multiframe is processed or the flow is finished.
To describe this process in more detail, taking OPU2 as an example, the MSI type is 21, the storage depth of the application RAM is 8, the storage width is 8 bits, and a TS _ PORT _ RAM and a PORT _ TS _ RAM are created as follows, with reference to table 7-1 and table 7-2, table 7-1 shows a TS _ PORT _ RAM in which MSI field information is stored, table 7-2 shows the effect of writing MSI field information in the PORT _ TS _ RAM by packet, where 00 shows ODTU12, 10 shows ODTU2.TS, MFAS shows the aforementioned PSI byte positions, TS shows a Slot channel, and Slot shows a Slot channel code.
TABLE 7-1 TS _ PORT _ RAM Table
Figure BDA0002904554250000111
TABLE 7-2 PORT _ TS _ RAM TABLE
Figure BDA0002904554250000112
It can be seen that, in the TS _ PORT _ RAM, the ODTU type is 00, and there are two timeslot channels corresponding to tributary PORTs 1, that is, 1 and 2, in the table, TS1 is stored as 0, and TS2 is stored as 1; the above information is stored in the PORT _ TS _ RAM in the corresponding record in the same row, i.e., the row of the PORT1, and other storage methods are the same.
Referring to fig. 3, the present invention further provides a service channel grouping system based on an optical transport network, including the following modules:
an initial module 301, configured to acquire a multiframe and extract PT field information from the multiframe.
The identification module 302 is connected with the initial module 301 to realize interaction and is used for identifying PT field information so as to acquire first information; the first information includes at least one or a combination of: MSI type information, OPU type information, and PSI byte information.
And the creating module 303 is connected with the identifying module 302 for realizing interaction and is used for creating a first table and a second table according to the first information.
A first writing module 304, which is respectively connected with the initial module 301 and the creating module 303 to implement interaction, and is configured to extract MSI field information from the multiframe and write the MSI field information into a first table; the MSI field information includes at least one or a combination of the following: ODTU type information, tributary port information.
And the grouping module 305 is connected with the first writing module 304 for realizing interaction, and is configured to group the MSI field information of the first table record to obtain grouping information.
And a second writing module 306, connected to the creating module 303 and the grouping module 305 respectively for implementing interaction, for writing the MSI field information into the second table according to the grouping information.
Referring to fig. 4, the present invention further provides a service path grouping system based on an optical transport network, including the following devices:
at least one processor 401;
at least one memory 402 for storing at least one program;
when the at least one program is executed by the at least one processor 401, the at least one processor 401 is caused to perform the method as shown in fig. 1.
The contents in the method embodiment shown in fig. 1 are all applicable to the embodiment of the present system, the functions specifically implemented by the embodiment of the present system are the same as those in the method embodiment shown in fig. 1, and the advantageous effects achieved by the embodiment of the present system are also the same as those achieved by the method embodiment shown in fig. 1.
Embodiments of the present application also disclose a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions may be read by a processor of a computer device from a computer-readable storage medium, and executed by the processor to cause the computer device to perform the method illustrated in fig. 1.
The contents in the method embodiment shown in fig. 1 are all applicable to the present storage medium embodiment, the functions implemented by the present storage medium embodiment are the same as those in the method embodiment shown in fig. 1, and the advantageous effects achieved by the present storage medium embodiment are also the same as those achieved by the method embodiment shown in fig. 1.
It will be understood that all or some of the steps, systems of methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as is well known to those skilled in the art.
The embodiments of the present invention have been described in detail with reference to the drawings, but the present invention is not limited to the embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention.

Claims (7)

1. A service channel grouping method based on an optical transport network is characterized by comprising the following steps:
acquiring a multiframe and extracting PT field information from the multiframe;
identifying the PT field information, thereby obtaining first information; the first information includes: MSI type information, OPU type information and PSI byte information;
creating a first table and a second table according to the first information;
extracting MSI field information from the multiframe and writing the MSI field information into the first table; the MSI field information includes: ODTU type information and branch port information;
grouping the MSI field information recorded by the first table to obtain grouping information;
writing the MSI field information into the second table according to the grouping information;
the grouping the MSI field information recorded by the first table to obtain grouping information further includes:
comparing the MSI field information recorded in the first table to obtain a comparison result;
grouping the MSI field information according to the comparison result;
when the same MSI field information exists in the comparison result, all the same MSI field information is combined into a group;
or the like, or, alternatively,
when the unique MSI field information exists in the comparison result, the unique MSI field information is singly grouped;
obtaining the grouping information;
writing the MSI field information into the second table according to the grouping information, further comprising:
acquiring the grouping information;
extracting the ODTU type information and the branch port information of the MSI field information according to the grouping information;
and writing the ODTU type information and the branch port information into the second table.
2. The method of claim 1, wherein the step of creating a first table and a second table according to the first information comprises:
acquiring the MSI type information and the OPU type information from the first information;
obtaining storage depth information according to the MSI type information and the OPU type information;
creating the first table and the second table according to the storage depth information.
3. The optical transport network-based traffic channel grouping method of any of claims 1-2, wherein the MSI type information comprises 20 and 21, and the OPU type information comprises OPU1, OPU2, OPU3, and OPU 4.
4. The method of claim 1, wherein the step of extracting MSI field information from the multiframe and writing the MSI field information to the first table comprises:
extracting first MSI field information from the multiframe, writing the first MSI field information into the first table, and simultaneously writing an address plus one;
and judging whether the first MSI field information is the last field information in the multiframe, if not, extracting second MSI field information from the multiframe, returning to execute the step of extracting the MSI field information from the multiframe and writing the MSI field information into the first table.
5. A service channel grouping system based on an optical transport network is characterized by comprising the following modules:
the device comprises an initial module, a data processing module and a data processing module, wherein the initial module is used for acquiring multiframes and extracting PT field information from the multiframes;
the identification module is used for identifying the PT field information so as to acquire first information; the first information includes: MSI type information, OPU type information and PSI byte information;
the creating module is used for creating a first table and a second table according to the first information;
a first writing module, configured to extract MSI field information from the multiframe and write the MSI field information into the first table; the MSI field information includes: ODTU type information and branch port information;
the grouping module is used for grouping the MSI field information recorded by the first table to obtain grouping information;
a second writing module, configured to write the MSI field information into the second table according to the grouping information;
the grouping the MSI field information recorded by the first table to obtain grouping information further includes:
comparing the MSI field information recorded in the first table to obtain a comparison result;
grouping the MSI field information according to the comparison result;
when the same MSI field information exists in the comparison result, all the same MSI field information is combined into a group;
or the like, or, alternatively,
when the unique MSI field information exists in the comparison result, the unique MSI field information is singly grouped;
obtaining the grouping information;
writing the MSI field information into the second table according to the grouping information, further comprising:
acquiring the grouping information;
extracting the ODTU type information and the branch port information of the MSI field information according to the grouping information;
and writing the ODTU type information and the branch port information into the second table.
6. A service channel grouping system based on an optical transport network, comprising the following devices:
at least one processor;
at least one memory for storing at least one program;
when executed by the at least one processor, cause the at least one processor to implement the optical transport network based traffic channel grouping method according to any of claims 1-4.
7. A computer readable storage medium in which a processor executable program is stored, wherein the processor executable program, when executed by a processor, is for implementing the optical transport network based traffic channel grouping method according to any one of claims 1 to 4.
CN202110067042.7A 2021-01-19 2021-01-19 Service channel grouping method, system and storage medium based on optical transport network Active CN112821982B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110067042.7A CN112821982B (en) 2021-01-19 2021-01-19 Service channel grouping method, system and storage medium based on optical transport network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110067042.7A CN112821982B (en) 2021-01-19 2021-01-19 Service channel grouping method, system and storage medium based on optical transport network

Publications (2)

Publication Number Publication Date
CN112821982A CN112821982A (en) 2021-05-18
CN112821982B true CN112821982B (en) 2022-06-24

Family

ID=75870032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110067042.7A Active CN112821982B (en) 2021-01-19 2021-01-19 Service channel grouping method, system and storage medium based on optical transport network

Country Status (1)

Country Link
CN (1) CN112821982B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100590997C (en) * 2004-11-02 2010-02-17 华为技术有限公司 Spending processing method for service integration in OTN network
EP1657839B1 (en) * 2004-11-12 2010-02-10 Alcatel Lucent Method and apparatus for transporting a client layer signal over an optical transport network (OTN)
WO2012081083A1 (en) * 2010-12-14 2012-06-21 富士通株式会社 Communication system and communication method
CN103533464B (en) * 2013-09-13 2016-11-23 华为技术有限公司 Migrate method and the communication node of data
CN110798333B (en) * 2018-08-03 2022-04-01 中兴通讯股份有限公司 Service information configuration method, device, system and storage medium
CN111989933B (en) * 2018-09-13 2022-05-10 华为技术有限公司 Data transmission method and device in optical transport network

Also Published As

Publication number Publication date
CN112821982A (en) 2021-05-18

Similar Documents

Publication Publication Date Title
US7664139B2 (en) Method and apparatus for using stuffing bytes over a G.709 signal to carry multiple streams
US8305925B2 (en) Method, apparatus and system for transporting multi-lane ethernet signal
EP3796577A1 (en) Service data processing method and apparatus
CN111490845B (en) Method, device and system for delivering customer service
US8681818B2 (en) Frame generating apparatus, optical transmission system, frame generating method, and optical transmission method
US11405703B2 (en) Method and apparatus for transmission using interface, and device
US20100021173A1 (en) Method and apparatus for multiplexing and demultiplexing low bit rate services
WO2019128934A1 (en) Service transmitting and receiving method and device in optical transport network
EP3396879B1 (en) Multi-channel service transporting and receiving method and device
US20100142947A1 (en) Apparatus and method for pseudo-inverse multiplexing/de-multiplexing transporting
EP2999170B1 (en) Increasing method and decreasing method for variable optical channel bandwidth and device
US8155148B2 (en) Telecommunications transport methods and systems for the transparent mapping/demapping of client data signals
EP4027650A1 (en) Method and device for service processing in optical transport network, and system
EP4099712A1 (en) Service bearing method, apparatus and system
US10122462B2 (en) Transport apparatus and transport method
US20110170864A1 (en) Interface device, demultiplexing method, and multiplexing method
WO2020001127A1 (en) Service transmission method using flexible optical network, apparatus, device and storage medium
US8018926B2 (en) Differential delay compensation
CN112821982B (en) Service channel grouping method, system and storage medium based on optical transport network
CN112821981B (en) Service recovery clock extraction method, system and storage medium based on optical transport network
EP2884687A1 (en) Method and device for data mapping in optical transport network
CN112929765B (en) Multi-service transmission method, system and storage medium based on optical transmission network
WO2023232097A1 (en) Service data processing method and apparatus
CN110719198B (en) Method for OTN network element management GCC, management card, daughter card and storage medium
US20150138966A1 (en) Method, Device and System for Processing Service Overhead

Legal Events

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