CN111555844A - Method and device for automatically identifying VC3/VC4 virtual concatenation GFP (generic framing procedure) protocol - Google Patents

Method and device for automatically identifying VC3/VC4 virtual concatenation GFP (generic framing procedure) protocol Download PDF

Info

Publication number
CN111555844A
CN111555844A CN202010407949.9A CN202010407949A CN111555844A CN 111555844 A CN111555844 A CN 111555844A CN 202010407949 A CN202010407949 A CN 202010407949A CN 111555844 A CN111555844 A CN 111555844A
Authority
CN
China
Prior art keywords
data
data frame
channel
channels
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010407949.9A
Other languages
Chinese (zh)
Other versions
CN111555844B (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 Anysec Technology Co ltd
Original Assignee
Beijing Anysec 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 Anysec Technology Co ltd filed Critical Beijing Anysec Technology Co ltd
Priority to CN202010407949.9A priority Critical patent/CN111555844B/en
Publication of CN111555844A publication Critical patent/CN111555844A/en
Application granted granted Critical
Publication of CN111555844B publication Critical patent/CN111555844B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • 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/1611Synchronous digital hierarchy [SDH] or SONET
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Communication Control (AREA)

Abstract

A method and a device for automatically identifying VC3/VC4 virtual concatenation GFP (generic framing procedure) protocol belong to the technical field of communication test. Identifying and controlling, namely generating a permutation and combination algorithm to extract a VC3 or VC4 channel, setting data frame buffering time and sending the data frame buffering time to a data frame capturing step; and receiving the judgment result returned by the data frame analysis step, and using the judgment result to generate a permutation and combination extraction VC3 or VC4 channel. And a data frame capturing step, namely capturing the data frame of the transmission channel and splicing the data frame, caching the data frame in the data frame caching time, and sending the complete data frame to a data frame analyzing step. A data frame analysis step of judging a protocol of the data frame; and returning the judgment result to the identification control step.

Description

Method and device for automatically identifying VC3/VC4 virtual concatenation GFP (generic framing procedure) protocol
Technical Field
The invention relates to a method and a device for automatically identifying VC3/VC4 virtual concatenation GFP (generic framing procedure) protocols, belonging to the technical field of communication testing.
Background
GFP (generic Framing procedure) is a generic Framing procedure belonging to the ITU-T G.7041 specification, a new encapsulation procedure, working at the data link layer. It can group the data with variable length or fixed length, and make uniform adaptation treatment to implement transmission of data service in several high-speed physical transmission channels. The GFP protocol uses a frame delimitation mode based on error control, and the processing speed is increased. Various higher layer client data can be adapted into the synchronous transport network by means of GFP, for example mapped in SDH (synchronous digital hierarchy) VC-n in a mapping manner defined by ITU-T g.707 and in OTUk (optical conversion unit) in a mapping manner defined by ITU-T g.709.
VC3, VC4 are two SDH (synchronous digital hierarchy) virtual containers with different rates. The STM-1 transmission rate is 155.520Mbit/s, and the STM-1 transmission rate can be loaded into 1 VC4(150.336Mbit/s) channel for use and can also be loaded into 3 VC3(48.960Mbit/s) channels for use. The transmission module of STM-4 (synchronous transmission module) is formed by synchronously multiplexing 4 VC4 channels, and the transmission rate is 4 multiplied by 155.520Mbit/s which is 622.080 Mbit/s; the transmission module of STM-16 (synchronous transmission module) is synchronously multiplexed by 16 VC4 channels and has a transmission rate of 16 × 155.520 (or 4 × 622.080) ═ 2488.320 Mbit/s. The 16 or more VC4 channels can independently transmit data signals in a GFP frame format by using one of the data signals, and can also transmit data signals in the GFP frame format by binding 2 or more VC4 channels into a logical link with higher bandwidth.
For transmitting GFP protocol data frames by using a single VC4 channel or a VC3 channel, the protocol can be conveniently identified according to the frame structure, and alarm and performance data can be collected. And multiple aggregated VC4 channels or VC3 channels cannot judge that the protocol cannot count the performance and alarm information of the circuit because the transmission sequence of the frames is disturbed, and the bound VC4 channels or VC3 channels are unknown. An existing automatic identification method for transmitting GFP protocol data signals under a VC4 channel or a VC3 channel is as follows: and matching and detecting among channels of VC4 or VC3 one by one according to methods such as whether link data are aligned, core HEC core frame header verification, payload verification and the like.
The above method for identifying GFP protocol data frame transmission channel under VC4 or VC3 channel has the following disadvantages: a large amount of time and space resources are consumed.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides a method and a device for automatically identifying a VC3/VC4 virtual concatenation GFP protocol, which are used for automatically identifying whether a data frame transmitted by a single channel or a plurality of channels of a VC4 virtual container and a VC3 virtual container in an SDH (synchronous digital hierarchy) standard is a GFP protocol or not so as to monitor the flow index of a GFP protocol frame and alarm information carried by the frame.
The GFP protocol device capable of automatically identifying the VC3/VC4 virtual concatenation comprises an identification control module, a data frame capturing module and a data frame analyzing module;
the identification control module is used for generating a permutation and combination algorithm to extract a VC3 channel or a VC4 channel, setting data frame buffering time and setting the data frame buffering time to the data frame capturing module; receiving a judgment result returned by the data frame analysis module, and using the judgment result to generate a permutation and combination extraction VC3 or VC4 channel;
and the data frame capturing module is used for capturing the data frame of the transmission channel and splicing the data frame. Caching the data frames in the data frame caching time, and sending the complete data frames to a data frame analysis module;
the data frame analysis module is used for judging the protocol of the data frame; and returning the judgment result to the identification control module.
The method for automatically identifying the VC3/VC4 virtual concatenation GFP protocol comprises the following identification control steps, a data frame capturing step and a data frame analyzing step;
identifying and controlling, namely generating a permutation and combination algorithm to extract a VC3 or VC4 channel, setting data frame buffering time and sending the data frame buffering time to a data frame capturing step; and receiving the judgment result returned by the data frame analysis step, and using the judgment result to generate a permutation and combination extraction VC3 or VC4 channel.
And a data frame capturing step, namely capturing the data frame of the transmission channel and splicing the data frame, caching the data frame in the data frame caching time, and sending the complete data frame to a data frame analyzing step.
A data frame analysis step of judging a protocol of the data frame; and returning the judgment result to the identification control step.
The method has the advantages that the virtual channel is extracted by utilizing the real-time updated circular permutation and combination algorithm, and an exclusion filtering strategy and an identification detection strategy are formulated according to the characteristics of the GFP protocol data frame. Virtual channels which are not used for transmitting the GFP protocol are excluded in advance, and waste of time and computing resources caused by one-by-one matching among the virtual channels is avoided. The method can improve the identification efficiency of the GFP protocol transmission channel and reduce the occupation of system resources. The method is simultaneously suitable for simultaneous existence and simultaneous detection of two virtual channels of VC3 and VC4, improves the utilization rate of hardware resources, and reduces the cost for identifying GFP protocol transmission channels.
Drawings
A more complete appreciation of the invention and many of the attendant advantages thereof will be readily obtained as the same becomes better understood by reference to the following detailed description when considered in connection with the accompanying drawings, wherein the accompanying drawings are included to provide a further understanding of the invention and form a part of this specification, and wherein the illustrated embodiments of the invention and the description thereof are intended to illustrate and not limit the invention, as illustrated in the accompanying drawings, in which:
FIG. 1 is a block diagram of the present invention.
FIG. 2 is a flow chart of the present invention.
The invention is further illustrated with reference to the following figures and examples.
Detailed Description
It will be apparent that those skilled in the art can make many modifications and variations based on the spirit of the present invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element, component or section is referred to as being "connected" to another element, component or section, it can be directly connected to the other element or section or intervening elements or sections may also be present. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art.
The following examples are further illustrative in order to facilitate the understanding of the embodiments, and the present invention is not limited to the examples.
Example 1: as shown in fig. 1 and fig. 2, a method for automatically identifying VC3/VC4 virtual concatenation GFP protocol includes the following steps;
step 1, setting a combination strategy and a method for a plurality of VC3 or VC4 virtual concatenation channels, setting a filtering elimination strategy, and setting data frame buffering time.
And step 2, buffering the transmission data in the set time of the combined VC3 or VC4 virtual concatenation channel. A buffer zone is set for each VC4 channel, and the VC3 and the VC4 virtual concatenation channels share the same buffer zone. The entire whole block buffer is used when data is transmitted by using the VC4 channel. When the VC3 channel is used for transmitting data, the buffer area is divided into four parts, one VC4 channel can be divided into 3 VC3 channels, and three parts of the VC4 channel are used for buffering the data.
And 3, analyzing the transmission data of the single VC3 or VC4 virtual concatenation channel in sequence, and excluding the VC3 or VC4 virtual concatenation channels of which the frame structures are not GFP protocols according to the analysis result. VC3 or VC4 virtual concatenation channels that have been identified as GFP protocol transport channels are saved and the combining policy is excluded. The method comprises the following steps:
when data transmitted in a single VC3 or VC4 virtual concatenation channel within a set time randomly changes but does not conform to the frame characteristics of the GFP protocol, it is determined that the channel is not an independent transmission channel for transmitting GFP data, and it is necessary to continue the determination according to the combination policy.
When the data transmitted in a single VC3 or VC4 virtual concatenation channel in a set time is not changed and the data is not equal to an identification value specified by a GFP protocol, such as a GFP idle frame, a fault indication frame. It is determined that the channel is not carrying data of the GFP protocol.
When the data transmitted in a single VC3 or VC4 virtual concatenation channel within a set time period conforms to the frame structure specified by the GFP protocol or equals to the identification value specified by the GFP protocol, such as a GFP idle frame, a failure indication frame, it is determined that the channel is identified as a transmission channel for transmitting the GFP protocol, the channel is saved, and the combination policy is excluded.
And step 4, aggregating the VC3 or VC4 virtual concatenation channels which are not excluded and are not identified yet according to a combination strategy and a combination method, wherein the VC3 or VC4 virtual concatenation channels are multiple. And splicing the data of the virtual concatenation channel of the aggregation VC3 or VC 4. And analyzing the splicing data. And according to the analysis result, excluding VC3 or VC4 virtual concatenation channels which are not used for transmitting GFP protocol data, and storing VC3 or VC4 virtual concatenation aggregation channels which are confirmed to be used for transmitting GFP protocol data. The method comprises the following steps:
the data splicing of the VC3 or VC4 virtual concatenation aggregation channel is carried out based on the priority of the VC3 or VC4 virtual concatenation channel. There is a time difference between the VC3 and the VC4 aggregate channel, and an accurate buffer needs to be set to eliminate the time difference.
The priority of VC3 or VC4 virtual concatenation channels is ordered according to the H4 overhead bytes of each channel. The priority of each VC3 or VC4 virtual concatenation channel is determined in rank order. The higher the ranking order, the higher the priority, whereas the lower the ranking order, the lower the priority.
And according to a combination strategy and a combination method, any two channels in VC3 or VC4 virtual cascade channels are extracted for aggregation identification. And analyzing the data in the set time by using a filtering elimination strategy and a confirmation identification method. And excluding the aggregation channels which do not transmit the GFP protocol data, and storing the aggregation channels which are identified as the aggregation channels which transmit the GFP protocol data.
After the detection of the two aggregation channels is completed, any multiple channels in VC3 or VC4 virtual cascade channels are extracted for aggregation identification according to a combination strategy and a method. And excluding the aggregation channels which do not transmit the GFP protocol data, and storing the aggregation channels which are identified as the aggregation channels which transmit the GFP protocol data.
And 5, recombining the VC3 or VC4 virtual cascade channels which are not excluded and confirmed to be identified, and analyzing the data again.
And 6, the filtering exclusion strategy and the confirmation identification method are established based on the frame format of the GFP protocol. The frame structure of GFP includes two parts, a GFP frame Header (Core Header) and a GFP Payload Area (GFP Payload Area). The GFP frame header includes a frame Length Indicator (PLI) and a frame header error check (Core HEC). PLI (frame length indication) indicates the payload length of a frame. Frame header error checking 2 bytes data obtained by calculating PLI (frame length identification) by using error detection method of CRC-16 (cyclic redundancy check). Frame positioning can be realized by calculating a frame header error check value of received data and comparing the frame header error check value with the data, the length of the frame is known through PLI (frame length identification), and a payload can be extracted from a GFP frame.
The GFP payload region includes: a Payload Header (Payload Header), a Payload Information field (Payload Information) and a frame check sequence (Payload FCS) of the Payload, and the Payload Header includes: payload Type (Payload Type), check of Payload Type (Type HEC), and Extension Header (Extension Header). The payload type indicates the content and format of the GFP payload information. It includes Payload Type Identification (PTI), Payload FCS Identification (PFI), extended frame header identification (EXI), and User Payload Identification (UPI). The PTI (payload type identification) indicates whether the GFP frame is a client data frame or a client management frame; PFI (payload FCS flag) indicates the presence or absence of FCS (frame check sequence) of the payload; EXI (extension frame header identification) indicates which extension frame header to use: a null extension frame header, a linear extension frame header or a ring extension frame header; the UPI indicates the type of data in the GFP (user payload identity) payload, etc. The check of the payload type provides protection for the payload type using CRC-16 (cyclic redundancy check).
The analysis of the data frames is performed on the premise that the beginning and the end of a complete data frame are determined. This requires the use of header acquisition and frame synchronization functions of the GFP protocol. The GFP protocol uses a frame delimitation method based on Error control, and determines the frame boundary by the payload length of the two-byte current frame and the two-byte header Error Check based on the core header Error Check. Before receiving the GFP frame, the four-byte header is xored with the hexadecimal number B6AB31E0 to implement the descrambling function.
The frame synchronization function is divided into a SYNC (synchronization) state, a PRESYNC (PRESYNC) state, and a HUNT (search) state. The number of valid frame headers N required from PRESYNC status to SYNC status can be configured by the user. The HUNT state is the basic state when link initialization or GFP receiver reception fails. The receiver searches for the next frame using the current 4 bytes of data, and if the calculated Core HEC (frame header error check) value is the same as the Core HEC (frame header error check) value in the data field, the receiver temporarily enters the PRESYNC state, otherwise it moves to the next byte to continue the search. In the PRESYNC state, the frame boundary can be determined according to PLI (frame length indicator), and when N consecutive GFP frames are correctly detected, the SYNC state is entered. The SYNC state is a regular operational state that checks the PLI (frame length identification) value, determines the Core HEC value, extracts the PDU (protocol data unit) of the frame, and then loops through to the next frame.
And buffering the transmission data in the set time of the combined VC3 or VC4 virtual concatenation channel, and if the buffered transmission data conforms to a GFP frame structure and the calculated CRC-16 (cyclic redundancy check) and FCS (frame check sequence) check values are matched with the check values carried by the data, determining that the data is in a GFP protocol.
And step 7, a combination strategy and a method are used for circularly extracting one, two and three … N virtual cascade channels of VC3 or VC4 by utilizing a permutation and combination algorithm. The value of nmax depends on the type of transmission module. A transmission module such as STM-4 comprises 4 VC4 channels, i.e. 12 VC3 channels. The transmission module of STM-16 includes 16 VC4 channels, i.e., 48 VC3 channels. Channels that are not GFP protocol and that are confirmed to be GFP protocol are deleted depending on the decision. And recombining the rest channels to continue judging until all the combinations are judged to be completed.
Example 2: as shown in fig. 1 and fig. 2, an apparatus for automatically identifying a virtual concatenation GFP protocol VC3/VC4 includes an identification control module, a data frame capture module, and a data frame analysis module, wherein:
the identification control module is used for generating a permutation and combination algorithm to extract a VC3 channel or a VC4 channel, set the buffering time and set the buffering time to the data frame capturing module; and receiving a judgment result returned by the data frame analysis module, and using the judgment result to generate a permutation and combination extraction VC3 or VC4 channel.
And the data frame capturing module is used for capturing the data frame of the transmission channel and splicing the data frame. And buffering the data frames within the set time, and sending the complete data frames to the data frame analysis module.
The data frame analysis module is used for judging the protocol of the data frame; and returning the judgment result to the identification control module.
Example 3: as shown in fig. 1 and fig. 2, an automatic identification VC3/VC4 virtual concatenation GFP protocol apparatus, when SDH equipment is used to transmit network data, a 2.5Gbit/s signal structure is STM-16, and there are 16 VC4 channels. One or more of the VC4 lanes may be utilized to be bundled together to form a larger bandwidth (N x 155Mbit/s) logical link for transmitting data.
This example presents a method for efficiently identifying which channel or channels under a VC4 channel are bundled together as a transport channel for transporting user data of the GFP protocol. The method comprises the steps of capturing data frames transmitted by a channel according to a combination strategy and a set buffer time, and analyzing and processing link data frames by using a data frame analysis method to exclude the channel which does not transmit data and the channel which transmits other protocols such as HDLC protocol. Analyzing the channels which can transmit GFP protocol data, and binding and confirming the channels which transmit GFP protocol data frames through the combined channel.
Fig. 1 is an overall structure diagram of the present invention, and the recognition control module is responsible for combining all VC4 channels, setting data frame buffering time and sending parameters to the data frame capture module. The data frame capturing module captures data within a set time of the VC4 channel combination set by the identification control module, splices the data into a complete data frame and sends the complete data frame to the data frame analysis module. And the data frame analysis module processes the data according to the data frame analysis method and sends the processing result back to the identification control module. And the identification control module starts the next channel combination according to the analysis result. The loop exits until all VC4 channel combinations are analyzed completely.
Fig. 2 is a flow chart of the present invention. The identity control module takes 1, 2, … N constituent bundled links from the VC4 lane. In this example, N is 16 at maximum. The set buffer time is set to be 1 ms-1000 ms according to actual detection requirements.
And the data frame capturing module identifies the VC4 channel transmitted by the identification control module, captures and buffers the data in the transmitted VC4 channel. And splicing the buffered data within the set time according to the VC4 channel priority.
The data frame analysis module finds out a complete data frame by using a frame synchronization function and matches with a GFP (generic framing procedure) protocol frame structure. If the obtained data is not changed, such as 0x7E,0xFC,0xF9,0xFF,0x00, it is determined that the frame is not a GFP protocol frame. If the obtained data is matched with the GFP protocol frame structure, the data is judged to be a GFP protocol frame.
Suppose that 1 and 2 bundling in the VC4 channel is used as one transmission channel. The data in link 1 and the data in link 2 need to be combined sequentially to extract the header of the first four bytes. The first and second bytes are the frame length and the third and fourth bytes are the frame header check. And checking the frame length by using a CRC algorithm (CRC cyclic redundancy check algorithm), wherein the obtained check value is equal to the values of the third byte and the fourth byte, and the frame is confirmed to be a GFP protocol frame header. And a complete data frame is obtained by confirming the frame length and the frame head. If the resulting check value is not equal to the values of the third and fourth bytes, the next four-byte data is checked continuously. And returning the judgment result to the identification control module to exclude or rearrange the VC4 channel.
Example 4: as shown in fig. 1 and fig. 2, in an automatic identification VC3/VC4 virtual concatenation GFP protocol apparatus, when SDH (synchronous digital system) equipment is used to transmit network data, a 2.5Gbit/s signal structure is STM-16 (synchronous transmission module), there are 16 VC4 channels, and each VC4 channel can map 3 VC3 channels and 48 VC3 channels. One or more of the VC3 lanes may be utilized to be bundled together to form a larger bandwidth (N x 34Mbit/s) logical link for transmitting data.
The identification control module is responsible for combining all VC3 channels, setting data frame buffer time and sending parameters to the data frame capture module. The data frame capturing module captures data within a set time of the VC3 channel combination set by the identification control module, splices the data into a complete data frame and sends the complete data frame to the data frame analysis module. And the data frame analysis module processes the data according to the data frame analysis method and sends the processing result back to the identification control module. And the identification control module starts the next channel combination according to the analysis result. The loop exits until all VC4 channel combinations are analyzed completely.
As described above, although the embodiments of the present invention have been described in detail, it will be apparent to those skilled in the art that many modifications are possible without substantially departing from the spirit and scope of the present invention. Therefore, such modifications are also all included in the scope of protection of the present invention.

Claims (7)

1. The method for automatically identifying the VC3/VC4 virtual concatenation GFP protocol is characterized by comprising the following identification control steps, a data frame capturing step and a data frame analyzing step;
identifying and controlling, namely generating a permutation and combination algorithm to extract a VC3 or VC4 channel, setting data frame buffering time and sending the data frame buffering time to a data frame capturing step; and receiving the judgment result returned by the data frame analysis step, and using the judgment result to generate a permutation and combination extraction VC3 or VC4 channel.
And a data frame capturing step, namely capturing the data frame of the transmission channel and splicing the data frame, caching the data frame in the data frame caching time, and sending the complete data frame to a data frame analyzing step.
A data frame analysis step of judging a protocol of the data frame; and returning the judgment result to the identification control step.
2. The method of claim 1, wherein the identification control step comprises:
setting a combination strategy and a method for a plurality of VC3 or VC4 virtual concatenation channels, setting a filtering elimination strategy, and setting data frame caching time;
buffering transmission data in a set time of a combined VC3 or VC4 virtual concatenation channel; a buffer area is set for each VC4 channel, and the VC3 and the VC4 virtual concatenation channels share the same buffer area; when the VC4 channel is used for transmitting data, the whole block buffer area is used; when the VC3 channel is used for transmitting data, the buffer area is divided into four parts, one VC4 channel can be divided into 3 VC3 channels, and three parts of the VC4 channel are used for buffering the data.
3. The method of claim 1, wherein the step of capturing the data frames comprises:
analyzing the transmission data of the single VC3 or VC4 virtual concatenation channel in sequence, and excluding VC3 or VC4 virtual concatenation channels of which the frame structures are not GFP protocols according to the analysis result; saving and excluding the combination strategy for VC3 or VC4 virtual concatenation channels which are identified as GFP protocol transmission channels; the method comprises the following steps:
when data transmitted in a single VC3 or VC4 virtual concatenation channel within a set time randomly changes but does not conform to the frame characteristics of a GFP (generic framing procedure) protocol, judging that the channel is not used as an independent transmission channel for transmitting GFP data, and continuously judging according to a combination strategy;
when the data transmitted in a single VC3 or VC4 virtual concatenation channel within a set time is not changed and the data is not equal to an identification value specified by a GFP protocol, such as a GFP idle frame, a fault indication frame; judging that the channel does not transmit the data of the GFP protocol;
when the data transmitted in a single VC3 or VC4 virtual concatenation channel within a set time period conforms to the frame structure specified by the GFP protocol or equals to the identification value specified by the GFP protocol, such as a GFP idle frame, a failure indication frame, it is determined that the channel is identified as a transmission channel for transmitting the GFP protocol, the channel is saved, and the combination policy is excluded.
4. The method of claim 3, wherein the step of capturing the data frame further comprises:
for VC3 or VC4 virtual concatenation channels which are not excluded and are not identified yet, the multiple VC3 or VC4 virtual concatenation channels are aggregated according to a combination strategy and a combination method; splicing the data of the VC3 or VC4 virtual cascade channel; analyzing the spliced data; according to the analysis result, excluding VC3 or VC4 virtual concatenation channels which are not used for transmitting GFP protocol data, and storing VC3 or VC4 virtual concatenation aggregation channels which are confirmed to be used for transmitting GFP protocol data; the method comprises the following steps:
splicing data of the VC3 or VC4 virtual concatenation aggregation channels is carried out based on the priority of the VC3 or VC4 virtual concatenation channels; there is a time difference when the VC3 or VC4 aggregate channel performs data transmission, and an accurate buffer area needs to be set to eliminate the time difference;
the priority of VC3 or VC4 virtual concatenation channel is arranged according to the H4 overhead byte of each channel in sequence; determining the priority of each VC3 or VC4 virtual concatenation channel according to the ranking order; the higher the ranking order is, the higher the priority is, otherwise, the lower the ranking order is, the lower the priority is;
according to a combination strategy and a method, any two channels in VC3 or VC4 virtual cascade channels are extracted for aggregation identification; analyzing the data in the set time by using a filtering elimination strategy and a confirmation identification method; excluding the aggregation channels which are not used for transmitting the GFP protocol data, and storing and identifying the aggregation channels which are used for transmitting the GFP protocol data;
after the detection of the two aggregation channels is finished, any multiple channels in VC3 or VC4 virtual cascade channels are extracted for aggregation identification according to a combination strategy and a method; excluding the aggregation channels which are not used for transmitting the GFP protocol data, and storing and identifying the aggregation channels which are used for transmitting the GFP protocol data;
the VC3 or VC4 virtual concatenation channels which are not excluded and confirmed to be identified are recombined and subjected to data analysis again.
5. The method of claim 4, wherein the transmission data within a set time period of the VC3 or VC4 virtual concatenation channel is buffered, and if the buffered transmission data conforms to the GFP frame structure and the calculated CRC-16 (cyclic redundancy check) and FCS (frame check sequence) check values match the check values carried by the data, the GFP protocol is determined; deleting channels which are not GFP protocols and confirm that the channels are GFP protocols according to the judgment condition; and recombining the rest channels to continue judging until all the combinations are judged to be completed.
6. The GFP protocol device capable of automatically identifying the VC3/VC4 virtual concatenation is characterized by comprising an identification control module, a data frame capturing module and a data frame analyzing module;
the identification control module is used for generating a permutation and combination algorithm to extract a VC3 channel or a VC4 channel, setting data frame buffering time and setting the data frame buffering time to the data frame capturing module; receiving a judgment result returned by the data frame analysis module, and using the judgment result to generate a permutation and combination extraction VC3 or VC4 channel;
and the data frame capturing module is used for capturing the data frame of the transmission channel and splicing the data frame. Caching the data frames in the data frame caching time, and sending the complete data frames to a data frame analysis module;
the data frame analysis module is used for judging the protocol of the data frame; and returning the judgment result to the identification control module.
7. The apparatus according to claim 6, wherein the identification control module is responsible for combining all VC4 channels, setting the buffering time of data frames and sending parameters to the data frame capture module; the data frame capturing module captures data in the data frame buffer time of the VC4 channel combination set by the identification control module, splices the data into complete data frames and sends the complete data frames to the data frame analysis module; the data frame analysis module processes the data according to a data frame analysis method and sends a processing result back to the identification control module; the identification control module starts the next channel combination according to the analysis result; the loop exits until all VC4 channel combinations are analyzed completely.
CN202010407949.9A 2020-05-14 2020-05-14 Method and device for automatically identifying VC3/VC4 virtual concatenation GFP protocol Active CN111555844B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010407949.9A CN111555844B (en) 2020-05-14 2020-05-14 Method and device for automatically identifying VC3/VC4 virtual concatenation GFP protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010407949.9A CN111555844B (en) 2020-05-14 2020-05-14 Method and device for automatically identifying VC3/VC4 virtual concatenation GFP protocol

Publications (2)

Publication Number Publication Date
CN111555844A true CN111555844A (en) 2020-08-18
CN111555844B CN111555844B (en) 2023-07-28

Family

ID=72008243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010407949.9A Active CN111555844B (en) 2020-05-14 2020-05-14 Method and device for automatically identifying VC3/VC4 virtual concatenation GFP protocol

Country Status (1)

Country Link
CN (1) CN111555844B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674478A (en) * 2004-03-23 2005-09-28 华为技术有限公司 Method and apparatus for virtual container frame analysis
WO2005099149A1 (en) * 2004-04-09 2005-10-20 Huawei Technologies Co., Ltd. Method for implementing data multiplex and virtual concatenation
CN1770763A (en) * 2004-11-04 2006-05-10 华为技术有限公司 Method for realizing VLAN and VPN on universal framing regulations
US20070297411A1 (en) * 2006-06-23 2007-12-27 Huawei Technologies Co., Ltd. Method and Device for Generic Framing Procedure Encapsulation
CN101656586A (en) * 2008-08-20 2010-02-24 中兴通讯股份有限公司 Method and device for improving virtual concatenation delay compensation caching efficiency in synchronous digital hierarchy
WO2010134088A1 (en) * 2009-05-22 2010-11-25 Tejas Networks Limited A method to transmit multiple data-streams of varying capacity data using virtual concatenation
CN104579835A (en) * 2015-01-05 2015-04-29 北京中科网维科技有限公司 Method and device for detecting transmission channel in E1 link data frame
CN105406937A (en) * 2014-09-12 2016-03-16 中兴通讯股份有限公司 Frame synchronization method and apparatus

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674478A (en) * 2004-03-23 2005-09-28 华为技术有限公司 Method and apparatus for virtual container frame analysis
WO2005099149A1 (en) * 2004-04-09 2005-10-20 Huawei Technologies Co., Ltd. Method for implementing data multiplex and virtual concatenation
CN1770763A (en) * 2004-11-04 2006-05-10 华为技术有限公司 Method for realizing VLAN and VPN on universal framing regulations
US20070297411A1 (en) * 2006-06-23 2007-12-27 Huawei Technologies Co., Ltd. Method and Device for Generic Framing Procedure Encapsulation
CN101656586A (en) * 2008-08-20 2010-02-24 中兴通讯股份有限公司 Method and device for improving virtual concatenation delay compensation caching efficiency in synchronous digital hierarchy
WO2010134088A1 (en) * 2009-05-22 2010-11-25 Tejas Networks Limited A method to transmit multiple data-streams of varying capacity data using virtual concatenation
CN105406937A (en) * 2014-09-12 2016-03-16 中兴通讯股份有限公司 Frame synchronization method and apparatus
CN104579835A (en) * 2015-01-05 2015-04-29 北京中科网维科技有限公司 Method and device for detecting transmission channel in E1 link data frame

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
孙嵘: "通用成帧规程GFP协议结构特点及其关键技术" *
孙嵘: "通用成帧规程GFP协议结构特点及其关键技术", 《光通信技术》 *
孙嵘: "通用成帧规程GFP协议结构特点及其关键技术", 《光通信技术》, no. 03, 8 January 2004 (2004-01-08), pages 2 - 3 *
孙嵘: "通用成帧规程GFP协议结构特点及其关键技术", 光通信技术, no. 03, pages 2 - 3 *

Also Published As

Publication number Publication date
CN111555844B (en) 2023-07-28

Similar Documents

Publication Publication Date Title
US7359331B2 (en) Alarm transfer method and wide area Ethernet network
US6907006B1 (en) Method and apparatus for detecting faults in IP packet communication
US7050399B2 (en) Transport network with circuitry for monitoring packet path accommodated in STM path
US20080260385A1 (en) Signal processing apparatus and method for gigabit passive optical network
US7304952B2 (en) Protocol-mapping network access device with user-provisionable wide area network flow control
JPH08505988A (en) Method and apparatus for aligning digital communication data streams across a cell network
US7630399B2 (en) Apparatus and method for recognizing frame check sequence in generic framing procedure encapsulation mode
US7050468B2 (en) Multiplexed signal transmitter/receiver, communication system, and multiplexing transmission method
US8559819B2 (en) Information transfer and receiving method, system, and device
US9184862B2 (en) Method, apparatus and system for transmitting SDH/Sonet section overhead bytes
KR20040046276A (en) Method of Ethernet data frame processing in Ethernet-PON MAC sublayer, and apparatus thereof
US6731654B1 (en) Communication system overhead channel
US6256326B1 (en) Pseudo-synchronization prevention method in SDH transmission mode, pseudo-synchronization preventing SDH transmission system, and transmitter-receiver in pseudo-synchronization preventing SDH transmission system
US20020065073A1 (en) Extended-cell communication network and transmission apparatus
US9203603B2 (en) Communication system, frame synchronization detection apparatus, and frame synchronization detection method
JP2003101502A (en) Multiplexing transmission system and apparatus
US11005600B2 (en) Method and device for acquiring data via channelized optical port STM-4 HDLC
US7535923B2 (en) Apparatus and method for low cost, multi-port protocol analysis and monitoring
US20040136401A1 (en) Transmission system for efficient transmission of protocol data
CN111555844B (en) Method and device for automatically identifying VC3/VC4 virtual concatenation GFP protocol
JP2003078540A (en) Multiplex transmission system and its data transferring method
CN115549843A (en) Optical service unit OSU signal nondestructive protection method and device
US6937614B1 (en) Transparent port for high rate networking
US11895448B2 (en) Communication apparatus and communication method
US7778285B2 (en) Method and apparatus for extraction and insertion of plesiochronous overhead data

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