CN105680991B - Based on the multi-channel serial method for fixing frame and device of ODU frame in OTN system - Google Patents

Based on the multi-channel serial method for fixing frame and device of ODU frame in OTN system Download PDF

Info

Publication number
CN105680991B
CN105680991B CN201610023644.1A CN201610023644A CN105680991B CN 105680991 B CN105680991 B CN 105680991B CN 201610023644 A CN201610023644 A CN 201610023644A CN 105680991 B CN105680991 B CN 105680991B
Authority
CN
China
Prior art keywords
byte
framing
processing
channel
link
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
CN201610023644.1A
Other languages
Chinese (zh)
Other versions
CN105680991A (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201610023644.1A priority Critical patent/CN105680991B/en
Publication of CN105680991A publication Critical patent/CN105680991A/en
Application granted granted Critical
Publication of CN105680991B publication Critical patent/CN105680991B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • H04L1/0007Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format by modifying the frame length
    • 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]
    • H04J3/1664Optical Transport Network [OTN] carrying hybrid payloads, e.g. different types of packets or carrying frames and packets in the paylaod

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention discloses the framing technical fields, based on the multi-channel serial method for fixing frame and device of ODU frame, being related in OTN system in a kind of OTN system.This method comprises: judging whether to need switching channel, if so, reading the framing procedure list of current channel after switching channel, the specific link handled needed for current channel is determined;Otherwise, switching channel, the framing procedure list in the channel after reading switching do not determine the specific link handled needed for the channel after switching;According to the determining specific processing links, the processing of corresponding link is carried out;The processing data and status information of corresponding link are kept in buffer area, and update the framing procedure list of current channel.While the present invention can realize the framing function of low rate ODU frame in OTN system, reduce circuit design scale, reduces circuit resource and circuit power consumption, and then reduce cost of implementation.

Description

Based on the multi-channel serial method for fixing frame and device of ODU frame in OTN system
Technical field
The present invention relates to the framing technology necks in OTN (Optical Transport Network, Optical Transmission Network OTN) system Domain, more particularly to the multi-channel serial for being based on ODU (Optical Data Unit, light data unit) frame in a kind of OTN system Change method for fixing frame and device.
Background technique
Processing in OTN system, for low rate ODU business, it usually needs multiple low rate ODU frames are multiplexed into one A high-speed ODU frame demultiplexes into multiple low rate ODU frames in the same way again after performing corresponding processing.Entirely multiple During with demultiplexing, low rate ODU frame is handled using an entirety as a part of high-speed ODU frame, and It is indifferent to the specific structure of low rate ODU frame.This makes in multiplexing reconciliation multiplex process, the frame header position of low rate ODU frame Therefore the case where will appear loss, need to correspondingly carry out frame head positioning, i.e. framing before the processing for carrying out low rate ODU frame.
However, when high-speed ODU frame obtains multiple low rate ODU frames by demultiplexing, then need to obtaining Multiple low rate ODU frames carry out framing processing.In the prior art generally using multiple framing processing units simultaneously to multiple low speed The mode that rate frame is handled realizes, i.e. parallel processing framing process.Under this processing mode, although treatment effeciency compared with Height, but when the number for the low rate ODU frame for including in high-speed ODU frame is bigger, realize parallel processing framing process institute The circuit scale needed is larger, resource is more, power consumption is higher, so that cost of implementation is higher.
Summary of the invention
For the defects in the prior art, present invention solves the technical problem that are as follows: in OTN system realize low rate ODU While the framing function of frame, reduce circuit design scale, reduces circuit resource and circuit power consumption, and then reduce cost of implementation.
To achieve the above objectives, the present invention provides the multi-channel serial framing side based on ODU frame in a kind of OTN system Method, comprising the following steps:
A, judge whether to need switching channel, if so, switching channel, is transferred to step C;Otherwise, not switching channel, is transferred to step Rapid B;
B, the framing procedure list of current channel is read, which is used to record the processing letter of framing process Breath, framing process successively include that data splicing, frame head search, data displacement and frame head check four processing links;According to framing Processing information in procedure list determines a specific link during the framing handled needed for current channel, is transferred to step D;
C, the framing procedure list in the channel after switching is read;According to the processing information in framing procedure list, determination is cut A specific link during the framing handled needed for channel after changing, is transferred to step D;
D, according to the determining specific processing links, the processing of corresponding link is carried out, step E is transferred to;
E, by the processing data and status information of corresponding link keep in channel number be index buffer area in;Update is worked as The framing procedure list of prepass.
Based on the above technical solution, judge whether to need switching channel described in step A, specifically include following step Rapid: whether judgement is currently identical as the channel number of a preceding framing to the channel number of framing, if so, switching channel is not needed, Otherwise, switching channel is needed;Wherein, judge currently when whether the channel number of the channel number of framing and a preceding framing is identical, The channel number of a preceding framing if it does not exist shows this to carry out framing processing for the first time, then be judged as that not needing switching leads to Road.
Based on the above technical solution, it is carried out corresponding described in step D according to the determining specific processing links When the processing of link, if identified specific processing links are that data splice link, the specific operation process is as follows: will currently lead to Successively transmit in road adjacent two clap the parallel data of N byte, and N is the positive integer greater than 6, according to " that first transmits puts high byte, That transmits afterwards lowers byte " sequence, splicing is merged into the parallel data of a bat 2N byte.
Based on the above technical solution, it is carried out corresponding described in step D according to the determining specific processing links When the processing of link, if identified specific processing links are that frame head searches for link, the specific operation process is as follows: splicing 2N byte parallel data in carry out the search of frame alignment signal FAS byte, the FAS byte is made of 6 bytes;Search When, first using the 2N-1 byte in the parallel data for the 2N byte spliced to N+5 byte as initial position, by 2N-6 byte is to nth byte respectively as end position;Choose any 6 bytes between initial position and end position and phase The FAS byte of prestige is compared, once finding 6 bytes identical with desired FAS byte, then 6 bytes are FAS word Section;Record the offset of the first byte of the FAS byte.
Based on the above technical solution, it is carried out corresponding described in step D according to the determining specific processing links When the processing of link, if identified specific processing links are that data shift link, the specific operation process is as follows: according to frame head The FAS byte searched, is moved forward to the first byte of the parallel data of 2N byte, FAS byte by the offset for searching for link record Subsequent data are shifted according to identical offset;Frame head mark is provided in FAS byte present position.
Based on the above technical solution, it is carried out corresponding described in step D according to the determining specific processing links When the processing of link, if identified specific processing links are that frame head checks link, the specific operation process is as follows: according to data Displacement link provide frame head mark, and displacement after data, checked by fixed frame length provide frame head mark with And whether FAS byte is correct, if correctly, providing synchronization status marker;Otherwise, desynchronizing state mark is provided.
Based on the above technical solution, further comprising the steps of after step E: each according to what is stored in buffer area The status information in channel provides corresponding step-out alarm;Judge whether to continue framing processing, if so, return step A, no Then terminate.
The present invention also provides the multi-channel serial framing dresses in a kind of OTN system using the above method based on ODU frame It sets, including at channel change detection unit, the first framing link judging unit, the second framing link judging unit, framing link Manage unit and cache unit;
The channel change detection unit is used for: judging whether to need switching channel, if so, switching channel, fixed to second Frame link judging unit sends second and determines signal;Otherwise, not switching channel sends first to the first framing link judging unit Determine signal;
The first framing link judging unit is used for: after receiving the first judgement signal, reading the framing mistake of current channel Cheng Liebiao, the framing procedure list are used to record the processing information of framing process, and framing process successively includes data splicing, frame head Search, data displacement and frame head check four processing links;According to the processing information in framing procedure list, current channel is determined A specific link during the framing of required processing sends processing signal to framing link processing unit;
The second framing link judging unit is used for: after receiving the second judgement signal, reading determining for the channel after switching Frame procedure list;According to the processing information in framing procedure list, during the framing handled needed for the channel after determining switching A specific link, to framing link processing unit send processing signal;
The framing link processing unit is used for: after receiving processing signal, according to the determining specific processing links, into The processing of the corresponding link of row, and buffered signal is sent to cache unit;
The cache unit is used for: after receiving buffered signal, the processing data of framing link processing unit and state being believed Breath keep in channel number be index buffer area in;Update the framing procedure list of current channel.
Based on the above technical solution, the framing link processing unit includes that data splice subelement, frame head is searched Large rope unit, data displacement subelement and frame head check subelement;
The data splicing subelement is used for: the parallel data for clapping N byte for successively transmit in current channel adjacent two, N is the positive integer greater than 6, and according to the sequence of " that first transmits puts high byte, and that transmits afterwards lowers byte ", splicing is merged into a bat The parallel data of 2N byte, to complete the processing of data splicing link;
The frame head search subelement is used for: the search of FAS byte is carried out in the parallel data for the 2N byte spliced; When search, first using the 2N-1 byte in the parallel data for the 2N byte spliced to N+5 byte as initial position, Using 2N-6 byte to nth byte as end position;Choose any 6 bytes between initial position and end position It is compared with desired FAS byte, once finding 6 bytes identical with desired FAS byte, then 6 bytes are FAS byte;The offset of the first byte of the FAS byte is recorded, to complete the processing of frame head search link;
The data displacement subelement is used for: the offset of subelement record, the FAS word that will be searched are searched for according to frame head Section moves forward to the first byte of the parallel data of 2N byte, and the subsequent data of FAS byte are shifted according to identical offset;And Frame head mark is provided in FAS byte present position, to complete the processing of data displacement link;
The frame head checks that subelement is used for: shifting the frame head that subelement provides according to data and identifies, and after displacement Data, whether the frame head mark and FAS byte provided by fixed frame length inspection correct, if correctly, providing synchronous regime Mark;Otherwise, desynchronizing state mark is provided, to complete the processing that frame head checks link.
Based on the above technical solution, the cache unit includes that data buffer storage subelement and state cache are single Member;The data buffer storage subelement is used for: taking channel number as the processing data of index storage framing link processing unit;The shape State caching subelement is used for: taking channel number as the status information of index storage framing link processing unit.
The beneficial effects of the present invention are:
(1) present invention by framing process be in turn divided into data splicing, frame head search, data displacement and frame head check this four A processing links, when each framing processing, only need to determine and complete the processing of a link, in conjunction with temporary Restoration Mechanism, from whole Time-multiplexed mode on body by serialization independently completes the framing processing of the low rate ODU frame in multiple channels.
Compared with prior art, the present invention revolutionizes in the past using multiple framing processing units simultaneously to multiple low speed Rate ODU frame carries out the way of parallel processing, can greatly save framing while realizing the framing function of low rate ODU frame Required circuit resource reduces design scale, reduces circuit power consumption, so that cost of implementation reduces.
(2) in the present invention, before carrying out frame head search link, two bats in link that front and back is adjacent can be spliced in data N byte data are combined into the data of a bat 2N byte, FAS byte are then searched in the high N byte for the data spliced, dexterously When solving search frame head 6 bytes of FAS because be located in two adjacent bat parallel datas of front and back due to can not accurate framing ask Topic.Different mistake frame conditions can be uniformly processed in the way of search, and not only quickly and efficiently, and it is high to search for precision.
Detailed description of the invention
Fig. 1 is the flow chart of the multi-channel serial method for fixing frame based on ODU frame in OTN system in the embodiment of the present invention;
Fig. 2 is the block diagram of the multi-channel serial framing device based on ODU frame in OTN system in the embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawing and specific embodiment the present invention is described in further detail.
Shown in Figure 1, the embodiment of the present invention provides the multi-channel serial framing based on ODU frame in a kind of OTN system Method, comprising the following steps:
Step S1: judging whether to need switching channel, if so, switching channel, is transferred to step S3;Otherwise, not switching channel, It is transferred to step S2.
Wherein, judge whether to need switching channel described in step S1, specifically includes the following steps: judgement is currently to framing Channel number it is whether identical as the channel number of a preceding framing, if so, not needing switching channel, otherwise, need switching channel. Wherein, judge currently when whether the channel number of the channel number of framing and a preceding framing is identical, if it does not exist a preceding framing Channel number, that is, show this for for the first time carry out framing processing, then be judged as and do not need switching channel.
Step S2: reading the framing procedure list of current channel, which is used to record the place of framing process Information is managed, wherein framing process successively includes that data splicing, frame head search, data displacement and frame head check four processing links; According to the processing information in framing procedure list, a specific link during the framing handled needed for current channel is determined, It determines current channel is in which processing links during framing, is transferred to step S4.
Step S3: the framing procedure list in the channel after reading switching;According to the processing letter saved in framing procedure list Breath, the specific link during the required framing handled in channel after determining switching, that is, determine that last time switches from the channel When to other channels, which is finally at which link during framing, is transferred to step S4.
Step S4: according to determining specific processing links, the processing of corresponding link is carried out, is transferred to step S5.
Step S5: by the processing data and status information of corresponding link keep in channel number be index buffer area in; The framing procedure list for updating current channel, is transferred to step S6.
Step S6: according to the status information in each channel stored in buffer area, corresponding step-out alarm is provided, step is transferred to Rapid S7.
Step S7: judge whether to continue framing processing, if so, return step S1;Otherwise, terminate.
When practical operation, according to determining specific processing links described in step S4, when carrying out the processing of corresponding link, if Identified specific processing links are that data splice link, and the specific operation process is as follows: by what is successively transmitted in current channel Adjacent two clap the parallel data of N byte, and N is the positive integer greater than 6, according to " that first transmits puts high byte, and that transmits afterwards lowers word The sequence of section ", splicing are merged into the parallel data of a bat 2N byte, for providing to frame head search link, data displacement link The data of processing are convenient for, and the parallel data of spliced 2N byte bit wide is still corresponding with channel number.Wherein, it first transmits The parallel data of one bat N byte is obtained from data buffer zone.
On this basis, according to determining specific processing links described in step S4, when carrying out the processing of corresponding link, if Identified specific processing links are that frame head searches for link, and the specific operation process is as follows: in the parallel of the 2N byte spliced The search that FAS (Frame Alignment Signal, frame alignment signal) byte is carried out in data, according to optical transmission system interface G.709, agreement provides that the FAS byte is made of 6 bytes, i.e. OA1_OA1_OA1_OA2_OA2_OA2, wherein OA1= 0xF6, OA2=0x28;When search, first by the 2N-1 byte in the parallel data for the 2N byte spliced to N+5 byte point Not Zuo Wei initial position, using 2N-6 byte to nth byte as end position;Choose initial position and end position it Between any 6 bytes be compared with desired FAS byte, once find 6 bytes identical with desired FAS byte, Then 6 bytes are FAS byte;The offset of the first byte of the FAS byte is recorded, range is 0~N-1.
The principle analysis of above-mentioned search process is as follows: since the position that the first byte of FAS byte occurs is likely located at a bat N Any one byte in the parallel data of byte, therefore search process mainly scans for every bat parallel data, judges Wherein with the presence or absence of the FAS for meeting desired 6 bytes, wherein needing to consider two kinds of situations: 1,6 bytes of FAS all exist One claps in the parallel data of N byte;2,6 bytes of FAS respectively front and back it is adjacent two clap parallel datas in.Due to FAS word Section only has 6 bytes, the parallel data of N byte is clapped less than one, therefore be not in that FAS byte is in adjacent triple time parallel data In situation.For FAS byte be in one clap parallel data in the case of, handle it is fairly simple, one clap parallel data in into Row search;And for FAS byte be located at front and back it is adjacent two clap parallel datas in the case of, need by front and back it is adjacent two Beat of data according to " that first transmits puts a high position, and that transmits afterwards lowers position " sequence, be combined into a bat bit wide be 2N byte and line number According to then search whether there is FAS byte in its high N byte.
In view of this, the present invention uses the above-mentioned method being uniformly processed: first that front and back is adjacent for both the above situation Two bat N byte data are combined into the data of a bat 2N byte, and FAS byte (tool is then searched in the high N byte for the data spliced Body way of search is as described above).Different mistake frame conditions can be uniformly processed in the way of search, not only quickly and efficiently, And search precision is high.
Further, according to determining specific processing links described in step S4, when carrying out the processing of corresponding link, if institute Determining specific processing links are that data shift link, and the specific operation process is as follows: searching for the inclined of link record according to frame head The FAS byte searched is moved forward to the first byte of the parallel data of 2N byte by shifting amount, and the subsequent data of FAS byte are according to phase Same offset is shifted, to guarantee the continuity of FAS byte subsequent data;And frame head is provided in FAS byte present position It identifies fp (Frame Pulse, frame pulse).
Further, according to determining specific processing links described in step S4, when carrying out the processing of corresponding link, if Identified specific processing links are that frame head checks link, and the specific operation process is as follows: shifting what link provided according to data Frame head identifies the data after fp, and displacement, checks that the frame head provided mark fp and FAS byte is by fixed frame length It is no correct, if correctly, providing synchronization status marker;Otherwise, desynchronizing state mark is provided.
In order to better understand the present invention, below with 80 channel ODU frames, every bat processing bit wide is that the data of 40 bytes are Example (i.e. N=40), to four processing links of framing process: data splicing, frame head search, data displacement and frame head inspection are done It is described further below out:
(1) data splice link: the data for clapping 40 byte bit wides for successively transmit in current channel adjacent two, according to The sequence of " that first transmits puts high byte, and that transmits afterwards lowers byte ", splicing are merged into the parallel data of 80 byte of a bat.
(2) frame head searches for link: the 79th byte to the 45th byte point for the parallel data for clapping 80 bytes for spliced one Not Zuo Wei initial position, using corresponding 74th byte to the 40th byte as end position;Choose initial position and end Any 6 bytes between position are compared with desired FAS byte OA1_OA1_OA1_OA2_OA2_OA2, so that it is determined that Whether contain FAS byte in the beat of data;Once finding 6 bytes identical with desired FAS byte, then 6 bytes are For FAS byte;The offset shift of the first byte of the FAS byte is recorded, range is 0~39.
(3) data shift link: offset shift of the range provided according to frame head search link in 0~39 will be searched Rope to FAS byte move forward to 80 bytes parallel data first byte, the subsequent data of FAS byte are according to identical offset It is shifted;And frame head mark fp is provided in FAS byte present position.
(4) frame head checks link: on the basis of the frame head mark fp that data displacement link provides, being spaced a frame period Position detection whether there is frame head to identify fp, and whether continuous 6 bytes of desired locations are FAS byte in the data at this; If continuous a few frame frame heads check correctly, shows that frame head mark fp and FAS byte is correct, provide synchronization status marker;If Continuous a few frame frame heads check mistake, then show that frame head mark fp and FAS byte is incorrect, provide desynchronizing state mark.
Shown in Figure 2, it is fixed that the embodiment of the present invention also provides the multi-channel serialization based on ODU frame in a kind of OTN system Frame device, including channel change detection unit, the first framing link judging unit, the second framing link judging unit, framing ring Save processing unit and cache unit.
Channel change detection unit is used for: judges whether to need switching channel, if so, switching channel, to the second framing ring It saves judging unit and sends the second judgement signal;Otherwise, not switching channel sends first to the first framing link judging unit and determines Signal;
Wherein, whether change detection unit judges in channel need the specific steps of switching channel are as follows: judgement is currently to framing Channel number it is whether identical as the channel number of a preceding framing, if so, not needing switching channel, otherwise, need switching channel; Wherein, judge currently when whether the channel number of the channel number of framing and a preceding framing is identical, if it does not exist a preceding framing Channel number, that is, show this for for the first time carry out framing processing, then be judged as and do not need switching channel.
First framing link judging unit is used for: after receiving the first judgement signal, reading the framing process column of current channel Table, the framing procedure list are used to record the processing information of framing process, and framing process successively includes that data are spliced, frame head is searched Rope, data displacement and frame head check four processing links;According to the processing information in framing procedure list, current channel institute is determined A specific link during the framing that need to be handled sends processing signal to framing link processing unit.
Second framing link judging unit is used for: after receiving the second judgement signal, the framing mistake in the channel after reading switching Cheng Liebiao;One during the required framing handled in channel according to the processing information in framing procedure list, after determining switching A specific link sends processing signal to framing link processing unit.
Framing link processing unit is used for: after receiving processing signal, according to the determining specific processing links, carrying out phase The processing of link is answered, and sends buffered signal to cache unit.
Wherein, framing link processing unit includes data splicing subelement, frame head search subelement, data displacement subelement Subelement is checked with frame head;
The data splicing subelement is used for: the parallel data for clapping N byte for successively transmit in current channel adjacent two, N is the positive integer greater than 6, and according to the sequence of " that first transmits puts high byte, and that transmits afterwards lowers byte ", splicing is merged into a bat The parallel data of 2N byte, to complete the processing of data splicing link;
The frame head search subelement is used for: the search of FAS byte is carried out in the parallel data for the 2N byte spliced; When search, first using the 2N-1 byte in the parallel data for the 2N byte spliced to N+5 byte as initial position, Using 2N-6 byte to nth byte as end position;Choose any 6 bytes between initial position and end position It is compared with desired FAS byte, once finding 6 bytes identical with desired FAS byte, then 6 bytes are FAS byte;The offset of the first byte of the FAS byte is recorded, to complete the processing of frame head search link;
The data displacement subelement is used for: the offset of subelement record, the FAS word that will be searched are searched for according to frame head Section moves forward to the first byte of the parallel data of 2N byte, and the subsequent data of FAS byte are shifted according to identical offset;And Frame head mark is provided in FAS byte present position, to complete the processing of data displacement link;
The frame head checks that subelement is used for: shifting the frame head that subelement provides according to data and identifies, and after displacement Data, whether the frame head mark and FAS byte provided by fixed frame length inspection correct, if correctly, providing synchronous regime Mark;Otherwise, desynchronizing state mark is provided, to complete the processing that frame head checks link.
Cache unit is used for: after receiving buffered signal, the processing data of framing link processing unit and status information are temporary Deposit to channel number be index buffer area in;Update the framing procedure list of current channel.
Wherein, cache unit includes data buffer storage subelement and state cache subelement;
The data buffer storage subelement is used for: it take channel number as the processing data of index storage framing link processing unit, The processing data include the parallel data that one first transmitted required when data splicing subelement carries out data splicing claps N byte;
The state cache subelement is used for: it take channel number as the status information of index storage framing link processing unit, The status information includes that the offset of frame head search subelement record and frame head check the synchronous regime mark that subelement provides Will, desynchronizing state mark.
From the above, it is seen that based on the multi-channel serial framing side of ODU frame in OTN system proposed by the present invention Method and device, by simply keeping in Restoration Mechanisms plus some using a set of basic method for fixing frame, with time-multiplexed side Formula independently completes the framing function of low rate ODUk (k=0,1,2,3, the flex) frame in multiple channels, saves framing institute The resource needed, reduces design scale.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from Under the premise of the principle of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as protection of the invention Within the scope of.The content being not described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.

Claims (8)

1. based on the multi-channel serial method for fixing frame of ODU frame in a kind of OTN system, which comprises the following steps:
A, judge whether to need switching channel, if so, switching channel, is transferred to step C;Otherwise, not switching channel, is transferred to step B;
B, the framing procedure list of current channel is read, which is used to record the processing information of framing process, fixed Frame process successively includes that data splicing, frame head search, data displacement and frame head check four processing links;It is arranged according to framing process Processing information in table determines a specific link during the framing handled needed for current channel, is transferred to step D;
C, the framing procedure list in the channel after switching is read;According to the processing information in framing procedure list, after determining switching Channel needed for handle framing during a specific link, be transferred to step D;
D, according to the determining specific processing links, the processing of corresponding link is carried out, step E is transferred to;
E, by the processing data and status information of corresponding link keep in channel number be index buffer area in;It updates current logical The framing procedure list in road;Wherein,
Judge whether to need switching channel described in step A, specifically includes the following steps: judgement currently to the channel number of framing with Whether the channel number of a preceding framing is identical, if so, not needing switching channel, otherwise, needs switching channel;Wherein, judge Currently when whether the channel number of the channel number of framing and a preceding framing is identical, the channel number of a preceding framing if it does not exist, Show that this to carry out framing processing for the first time, is then judged as and does not need switching channel.
2. based on the multi-channel serial method for fixing frame of ODU frame in OTN system as described in claim 1, it is characterised in that: step According to the determining specific processing links described in rapid D, when carrying out the processing of corresponding link, if identified specific processing ring Section is that data splice link, and the specific operation process is as follows: clapping the parallel of N byte for successively transmit in current channel adjacent two Data, N are the positive integer greater than 6, and according to the sequence of " that first transmits puts high byte, and that transmits afterwards lowers byte ", splicing merges The parallel data for clapping 2N byte at one.
3. based on the multi-channel serial method for fixing frame of ODU frame in OTN system as claimed in claim 2, it is characterised in that: step According to the determining specific processing links described in rapid D, when carrying out the processing of corresponding link, if identified specific processing ring Section is that frame head searches for link, and the specific operation process is as follows: frame alignment letter is carried out in the parallel data for the 2N byte spliced The search of number FAS byte, the FAS byte are made of 6 bytes;When search, first by the parallel data for the 2N byte spliced In 2N-1 byte to N+5 byte respectively as initial position, using 2N-6 byte to nth byte as stop bits It sets;Any 6 bytes chosen between initial position and end position are compared with desired FAS byte, once find and Identical 6 bytes of desired FAS byte, then 6 bytes are FAS byte;Record the inclined of the first byte of the FAS byte Shifting amount.
4. based on the multi-channel serial method for fixing frame of ODU frame in OTN system as claimed in claim 3, it is characterised in that: step According to the determining specific processing links described in rapid D, when carrying out the processing of corresponding link, if identified specific processing ring Section is that data shift link, and the specific operation process is as follows: the offset of link record is searched for according to frame head, by what is searched FAS byte moves forward to the first byte of the parallel data of 2N byte, and the subsequent data of FAS byte are moved according to identical offset Position;Frame head mark is provided in FAS byte present position.
5. based on the multi-channel serial method for fixing frame of ODU frame in OTN system as claimed in claim 4, it is characterised in that: step According to the determining specific processing links described in rapid D, when carrying out the processing of corresponding link, if identified specific processing ring Section is that frame head checks link, and the specific operation process is as follows: shifting the frame head that link provides according to data and identifies, and shifts it Data afterwards are checked whether the frame head mark provided and FAS byte are correct by fixed frame length, if correctly, providing synchronization Status Flag;Otherwise, desynchronizing state mark is provided.
6. based on the multi-channel serial method for fixing frame of ODU frame in the OTN system as described in any one of claims 1 to 5, It is characterized in that, it is further comprising the steps of after step E: according to the status information in each channel stored in buffer area, to provide phase The step-out alarm answered;Judge whether to continue framing processing, if so, return step A, otherwise terminates.
7. the multi-channel serial based on ODU frame in a kind of OTN system for realizing any one of claims 1 to 6 the method Framing device, it is characterised in that: the device includes channel change detection unit, the first framing link judging unit, the second framing Link judging unit, framing link processing unit and cache unit;
The channel change detection unit is used for: judges whether to need switching channel, if so, switching channel, to the second framing ring It saves judging unit and sends the second judgement signal;Otherwise, not switching channel sends first to the first framing link judging unit and determines Signal;
The first framing link judging unit is used for: after receiving the first judgement signal, reading the framing process column of current channel Table, the framing procedure list are used to record the processing information of framing process, and framing process successively includes that data are spliced, frame head is searched Rope, data displacement and frame head check four processing links;According to the processing information in framing procedure list, current channel institute is determined A specific link during the framing that need to be handled sends processing signal to framing link processing unit;
The second framing link judging unit is used for: after receiving the second judgement signal, the framing mistake in the channel after reading switching Cheng Liebiao;One during the required framing handled in channel according to the processing information in framing procedure list, after determining switching A specific link sends processing signal to framing link processing unit;
The framing link processing unit is used for: after receiving processing signal, according to the determining specific processing links, carrying out phase The processing of link is answered, and sends buffered signal to cache unit;
The cache unit is used for: after receiving buffered signal, the processing data of framing link processing unit and status information are temporary Deposit to channel number be index buffer area in;Update the framing procedure list of current channel;Wherein,
The framing link processing unit includes data splicing subelement, frame head search subelement, data displacement subelement and frame Head checks subelement;
The data splicing subelement is used for: the parallel data for clapping N byte for successively transmit in current channel adjacent two, N are Positive integer greater than 6, according to the sequence of " that first transmits puts high byte, and that transmits afterwards lowers byte ", splicing is merged into a bat 2N The parallel data of byte, to complete the processing of data splicing link;
The frame head search subelement is used for: the search of FAS byte is carried out in the parallel data for the 2N byte spliced;Search When, first using the 2N-1 byte in the parallel data for the 2N byte spliced to N+5 byte as initial position, by 2N-6 byte is to nth byte respectively as end position;Choose any 6 bytes between initial position and end position and phase The FAS byte of prestige is compared, once finding 6 bytes identical with desired FAS byte, then 6 bytes are FAS word Section;The offset of the first byte of the FAS byte is recorded, to complete the processing of frame head search link;
The data displacement subelement is used for: the offset of subelement record is searched for according to frame head, before the FAS byte searched The first byte of the parallel data of 2N byte is moved to, the subsequent data of FAS byte are shifted according to identical offset;And FAS byte present position provides frame head mark, to complete the processing of data displacement link;
The frame head checks that subelement is used for: shifting the frame head that subelement provides according to data and identifies, and the number after displacement According to whether the frame head mark and FAS byte provided by fixed frame length inspection be correct, if correctly, providing synchronization status marker; Otherwise, desynchronizing state mark is provided, to complete the processing that frame head checks link.
8. the multi-channel serial framing device in OTN system as claimed in claim 7 based on ODU frame, it is characterised in that: institute Stating cache unit includes data buffer storage subelement and state cache subelement;The data buffer storage subelement is used for: with channel number For the processing data of index storage framing link processing unit;The state cache subelement is used for: being that index is deposited with channel number Store up the status information of framing link processing unit.
CN201610023644.1A 2016-01-14 2016-01-14 Based on the multi-channel serial method for fixing frame and device of ODU frame in OTN system Active CN105680991B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610023644.1A CN105680991B (en) 2016-01-14 2016-01-14 Based on the multi-channel serial method for fixing frame and device of ODU frame in OTN system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610023644.1A CN105680991B (en) 2016-01-14 2016-01-14 Based on the multi-channel serial method for fixing frame and device of ODU frame in OTN system

Publications (2)

Publication Number Publication Date
CN105680991A CN105680991A (en) 2016-06-15
CN105680991B true CN105680991B (en) 2019-03-12

Family

ID=56300726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610023644.1A Active CN105680991B (en) 2016-01-14 2016-01-14 Based on the multi-channel serial method for fixing frame and device of ODU frame in OTN system

Country Status (1)

Country Link
CN (1) CN105680991B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111555832B (en) * 2020-04-22 2022-02-18 中国电子科技集团公司第五十四研究所 1+1 hot backup dual-channel synchronization and maintenance method based on continuous frame positioning
CN112187397B (en) * 2020-09-11 2022-04-29 烽火通信科技股份有限公司 Universal multichannel data synchronization method and device
CN112188203B (en) * 2020-09-11 2022-11-04 烽火通信科技股份有限公司 Rapid framing method and system for high-speed data stream
CN115314157B (en) * 2022-07-19 2023-10-24 烽火通信科技股份有限公司 Ethernet framing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719813A (en) * 2009-11-27 2010-06-02 中兴通讯股份有限公司 Device and method for mapping data with constant bit rate
CN105406937A (en) * 2014-09-12 2016-03-16 中兴通讯股份有限公司 Frame synchronization method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101605012B (en) * 2009-07-02 2013-10-16 中兴通讯股份有限公司 Method and device for realizing positioning of frame header of synchronous digital system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719813A (en) * 2009-11-27 2010-06-02 中兴通讯股份有限公司 Device and method for mapping data with constant bit rate
CN105406937A (en) * 2014-09-12 2016-03-16 中兴通讯股份有限公司 Frame synchronization method and apparatus

Also Published As

Publication number Publication date
CN105680991A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
CN105680991B (en) Based on the multi-channel serial method for fixing frame and device of ODU frame in OTN system
CN106341207A (en) Coding block data flow sending and receiving method, device and system
US7167442B2 (en) Hitless protection switching
US8989222B1 (en) Justification insertion and removal in generic mapping procedure in an optical transport network
US7894485B2 (en) Method and device of transmitting SDH services in passive optical network
CN1059437A (en) Synchronous digital hierarchy sign indicating number speed is adjusted again
JPH04502389A (en) Virtual dependent cross-connect switch and switch network using the same switch
JPH07110004B2 (en) Signal path switching method, apparatus therefor, and system provided with a plurality of such apparatuses
CN101729940A (en) Method for sending data to multiple communication channels and method for receiving data
CN1187272A (en) Synchronization in an SDH network
US20070071033A1 (en) Telecommunications transport methods and systems for the transparent mapping/demapping of client data signals
EP2701334B1 (en) Data reception apparatus and marker information extraction method
US9430378B2 (en) Differential delay compensation
CN110401824A (en) KVM optical transmission system, the tandem type optical transmitter and receiver, optical interface card of multiplexing
WO2019137296A1 (en) Data transmission method and apparatus and storage medium
US9143420B2 (en) Data transport system, receiver and transmitter
EP1917766A2 (en) Combined hardware and software implementation of link capacity adjustment scheme (lcas) in sonet (synchronous optical network) virtual concatenation (vcat)
CN105812062A (en) MLD interface adapting method and system of optical transport network
CN110311746A (en) Low-order virtual concatenation alignment schemes and device
CN101272212A (en) Ranking method of virtual concatenation group member
US20040042462A1 (en) Synchonous transmission network node
US9521092B2 (en) Transport system and transport method
JP3943941B2 (en) Data link device
CN1556593A (en) Digital interface circuit in light synchronous digit transmission system and its data demultiplexing method
CN102437991B (en) Method and device for synchronizing GFP (Generic Framing Procedure) bit streams

Legal Events

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