CN102835127B - The sending, receiving method of OTN expense and device - Google Patents

The sending, receiving method of OTN expense and device Download PDF

Info

Publication number
CN102835127B
CN102835127B CN201280000840.7A CN201280000840A CN102835127B CN 102835127 B CN102835127 B CN 102835127B CN 201280000840 A CN201280000840 A CN 201280000840A CN 102835127 B CN102835127 B CN 102835127B
Authority
CN
China
Prior art keywords
data message
message
control module
physical layer
transmit
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
CN201280000840.7A
Other languages
Chinese (zh)
Other versions
CN102835127A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN102835127A publication Critical patent/CN102835127A/en
Application granted granted Critical
Publication of CN102835127B publication Critical patent/CN102835127B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)

Abstract

The invention provides a kind of sending, receiving method and device of OTN expense.The method comprises carries out physical layer encapsulation to the data message that will transmit, type field is added when physical layer encapsulates, making in the physical layer channel of OTN expense can the dissimilar data message of time division multiplexing, and described type field is for showing the type of the described data message that will transmit; Data message after physical layer being encapsulated sends in the physical layer channel of OTN expense.The embodiment of the present invention can improve the service efficiency of the physical layer channel of OTN expense and realize dynamic assignment to physical layer channel, and can the type of growth data message.

Description

The sending, receiving method of OTN expense and device
Technical field
The present invention relates to technical field of photo communication, particularly relate to a kind of sending, receiving method and device of optical transfer network (OpticalTransportNetwork, OTN) expense.
Background technology
In OTN expense, define 64 bytes, wherein partial bytes be retain in OTN standard non-serviceable.In current processing scheme; generally one or more bytes that a certain data message fixedly takies in 64 bytes; these one or more bytes taken are called a physical layer channel; only be used for transmitting a kind of information in each physical layer channel; such as; General Purpose Communication Channel (GeneralCommunicationChannel; GCC) 0 is used for transmitting the GCC management information of GCC0; APS (AutomaticProtectionSwitching, APS) is used for transmitting APS pretection switch information.As can be seen from above-mentioned application, no matter valid data bandwidth is how many, always it fixedly takies the fixed word joint number in OTN expense, so when valid data bandwidth is less, its service efficiency is just lower; In addition, when introducing the data message of newtype, how the data message of newtype transmits also is problem; Moreover physical layer channel can not dynamic release, and when not starting, the bandwidth of its physical layer has been fixed and has taken, can not he use.
Summary of the invention
The embodiment of the present invention provides a kind of sending, receiving method and device of OTN expense, in order to improve the service efficiency of the physical layer channel of OTN expense and to realize dynamic assignment to physical layer channel, and can the type of growth data message.
On the one hand, embodiments provide a kind of sending method of OTN expense, comprising:
Physical layer encapsulation is carried out to the data message that will transmit, type field is added when physical layer encapsulates, making in the physical layer channel of OTN expense can the dissimilar data message of time division multiplexing, and described type field is for showing the type of the described data message that will transmit;
Data message after physical layer being encapsulated sends in the physical layer channel of OTN expense.
On the other hand, embodiments provide a kind of method of reseptance of OTN expense, comprising:
Receive the data message after the physical layer encapsulation transmitted in the physical layer channel of OTN expense, containing type field in data message after described physical layer encapsulation, can the dissimilar data message of time division multiplexing in described physical layer channel, described type field is for showing the type of described data message;
According to described type field, reception process is carried out to described data message.
On the one hand, embodiments provide a kind of dispensing device, comprising:
Physical layer package module, for carrying out physical layer encapsulation to the data message that will transmit, type field is added when physical layer encapsulates, making in the physical layer channel of OTN expense can the dissimilar data message of time division multiplexing, and described type field is for showing the type of the described data message that will transmit;
OTN expense module, sends in the physical layer channel of OTN expense for the data message after physical layer being encapsulated.
On the other hand, embodiments provide a kind of receiving system, comprising:
OTN expense module, for receive transmit in the physical layer channel of OTN expense physical layer encapsulation after data message, containing type field in data message after described physical layer encapsulation, can the dissimilar data message of time division multiplexing in described physical layer channel, described type field is for showing the type of described data message;
Physical layer decapsulation module, for carrying out reception process according to described type field to described data message.
As shown from the above technical solution, the embodiment of the present invention carries out physical layer encapsulation by the data message that will transmit, data message after physical layer being encapsulated transmits in physical layer channel, instead of physical layer channel is fixedly restricted to a certain data message of transmission, so just can realize dissimilar data message can the same physical layer channel of time division multiplexing, improve the service efficiency of physical layer channel, and the dynamic assignment of physical layer channel can be realized, by encapsulated message type, can expand the type of data message.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of sending method one embodiment of OTN expense of the present invention;
Fig. 2 is the system configuration schematic diagram of the sending method of OTN expense of the present invention;
Fig. 3 is the form schematic diagram of the protocol massages in the present invention after physical layer encapsulation;
Fig. 4 is the form schematic diagram of the static message in the present invention after physical layer encapsulation;
Fig. 5 is the schematic flow sheet of another embodiment of sending method of OTN expense of the present invention;
Fig. 6 is the form schematic diagram of static message in the present invention;
Fig. 7 is the schematic flow sheet of another embodiment of sending method of OTN expense of the present invention;
Fig. 8 is the schematic flow sheet of method of reseptance one embodiment of OTN expense of the present invention;
Fig. 9 is the schematic flow sheet of another embodiment of method of reseptance of OTN expense of the present invention;
Figure 10 is the schematic flow sheet of another embodiment of method of reseptance of OTN expense of the present invention;
Figure 11 is the structural representation of dispensing device one embodiment of the present invention;
Figure 12 is the structural representation of another embodiment of dispensing device of the present invention;
Figure 13 is the structural representation of receiving system one embodiment of the present invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the schematic flow sheet of sending method one embodiment of OTN expense of the present invention, comprising:
Step 11: physical layer encapsulation is carried out to the data message that will transmit, type field is added when physical layer encapsulates, making in the physical layer channel of OTN expense can the dissimilar data message of time division multiplexing, and described type field is for showing the type of the described data message that will transmit.
Wherein, the data message that transmit can be divided into static message and protocol massages, and static message refers to the message of the immobilized substance that the cycle sends, and protocol massages refers to the message running certain complex protocol (complexprotocol).
Static message can be divided into (fast) static message and slow (slow) static message two type soon, and fast static message, relative to slow static message, has the advantages that the cycle is short and length is short.Further, often kind of static message can also be divided into multiple less type.
Protocol massages can comprise new Time delay measurement (newdelayedtimemeasure, ndtm) protocol massages, 1588 protocol massages, General Purpose Communication Channel (GeneralCommunicationChannel, GCC) protocol massages etc.
Concrete, see Fig. 2, the data message that transmit specifically can comprise the data message of fast static message (fast_type), slow static message (slow_type), ndtm protocol massages, 1588 protocol massages, GCC protocol massages and n kind Retention Type.Fast static message can be further divided into i kind message, and slow static message can be further divided into k kind message, and often kind of message that static message comprises can be made up of type identification (id), length (L) and data (D).Above-mentioned n, i, k are positive integer.
In prior art, the data message that transmit transmits in the fixing physical layer channel being directly inserted into OTN expense, and such as, for GCC protocol massages, the GCC protocol massages that will transmit directly is inserted in the GCC passage of OTN expense and transmits.
And in the present embodiment, do not transmit the data message of a certain type in OTN expense, but several data message can time-sharing multiplex transmission.Such as, for GCC passage, GCC protocol massages can be transmitted in first time period, and within the second time period, transmit 1588 protocol massages, within the 3rd time period, transmit static message etc.
Due to polytype data message can be transmitted in physical layer channel, in order to ensure that receiving terminal correctly can receive message, the type of this data message can be identified while data message transmission.Adopt the mode that physical layer encapsulates in the present embodiment, add type corresponding to data message when physical layer encapsulates.
Concrete, example is encapsulated as with HDLC, see Fig. 3, for protocol massages carries out the message format after physical layer encapsulation, comprise HDLC frame head (7E), type field (mux_type), complex protocol part (protocol massages that namely will transmit) as payload, CRC check position and HDLC postamble, wherein, CRC check position can be divided into a CRC check high position (crch) and CRC check low level (crcl).See Fig. 4, for static message carries out the message format after physical layer encapsulation, comprise HDLC frame head (7E), type field (mux_type), (specifically can by multiple subtype number according to forming as the static message part of payload, every seed category data can represent with type-length-value), CRC check position and HDLC postamble, wherein, CRC check position can be divided into a CRC check high position (crch) and CRC check low level (crcl).Type field (mux_type) is wherein for showing the type of data message, such as, for fast static message, its mux_type can be set to 01, for slow static message, its mux_type can be set to 02, for GCC protocol massages, its mux_type can be set to 03 etc.Wherein, the physical layer packaged type of Fig. 3 or Fig. 4 is encapsulated as example with HDLC, is understandable that, Ethernet also can be adopted to encapsulate (FE, GE, 10GE) etc.When the length of mux_type is defined as 1 byte, its extendible data type can reach 255 kinds (full 0 is invalid), and when the length of mux_type is defined as double byte, its expansion type can reach 65535 kinds.If Further Division data type in data message, the i (i is positive integer) comprised as static message plants data, and so the expansion structure of data message just becomes very flexible, and forward compatibility becomes very simple.
For the data message that each mux_type is corresponding, can the agreement of isolated operation oneself, such as run 1588 agreements or GCC agreement etc.Due to physical layer encapsulation and protocol-independent, the decoupling zero of physical layer and agreement can be realized.
Step 12: the data message after physical layer being encapsulated sends in the physical layer channel of OTN expense.
Wherein, the physical layer channel of OTN expense can comprise one or more, such as, if define the byte that taken by the GCC0 physical layer channel as data message transmission, the data message after physical layer can being encapsulated so in each frame be inserted into the byte place that GCC0 takies and transmit.Again such as, if define byte that the byte that taken by GCC0 and GCC1 the take physical layer channel as data message transmission, the data message after physical layer being encapsulated so is in each frame inserted into byte that GCC0 takies and the byte place that GCC1 takies transmits.
A physical layer channel is not fixed to a kind of data-message transmission when data message transmission by the present embodiment, but all types of data message can both transmit in same physical layer channel, so dissimilar data message just can transmit in same physical layer channel in timesharing, improves service efficiency.Because physical layer channel can transmit the data message of any one type, the dynamic assignment of bandwidth can be realized.Add the type of data message when physical layer encapsulates, the expansion of data message type can be realized.
Fig. 5 is the schematic flow sheet of another embodiment of sending method of OTN expense of the present invention, and the present embodiment is to send static message.See Fig. 5, the present embodiment comprises:
Step 51: static message control module, when sending static message, sends instruction (ready) signal to timesharing and priority control module.
Wherein, static message periodically sends, suppose static message be from time point 0 with time T for the cycle sends, so when the transmission cycle of static message arrives, namely at nT (n is positive integer) these time points, whether static message control module can detect will send static message.
See Fig. 6, static message can be organized in the mode of passage, and static message control module can patrol and examine to determine whether to send static message from first passage (C1).Such as, static message can comprise 64 passages, and each passage can comprise the data of 32 bytes.Wherein the data of each passage are relatively independent, and detailed directions can be defined by high layer software or resolve.Be understandable that, the data length of channel number given here, each passage can self-defining.
(byte number is 0) place record sum (total) value can be saved in each channel at first character, total value mark current channel needs the byte number sent, the byte number sent is needed to comprise total byte, if total value is non-zero show that this passage has data to send.When arbitrary passage has data to send, static message control module just can send ready signal to timesharing and priority control module.
Step 52: after timesharing and priority control module receive index signal, after determining to send this static message, to High-Level Data Link Control (HighlevelDataLinkControl, HDLC) package module sends frame header fields and type of message field, and obtain valid data to static message control module, namely obtain the data message that will transmit.
Wherein, after timesharing and priority control module receive ready signal, first judge current whether have message transmission, if do not had, judge whether the ready signal receiving other message again, if do not receive the ready signal of other message, determine to send this data message that will send.Or, if receive the ready signal of other message, then can send datagram according to the priority orders preset, such as, if receive the ready signal showing to send 1588 protocol massages and the ready signal that will send static message, and the priority of static message is higher than 1588 messages, so can determine to send this static message that will send.Again such as, if receive the ready signal of the ready signal of the static message of fast type and the static message of slow type, and the priority of the static message of fast type is higher than the static message of slow type, then can determine the static message that can send fast type.
After determining to send this static message, need the transmission carrying out respective field in conjunction with HDLC process, such as, first send the 7E frame head of 1 byte; Send the type of message mux_type of 1 byte again, particularly, for fast type, mux_type is 01, and for slow type, mux_type is 02.
Further, when needing transmission the 3rd byte, when namely needing to send valid data, timesharing and priority control module can send request signal (req), to ask valid data to static message control module.
Step 53: after static message control module receives request signal, sent to by the valid data of static message timesharing and priority control module also synchronously to provide useful signal, and static message control module is after sending valid data, provides invalid signals.
When static message control module receives after req signal, if need the data sending first character joint, namely the data that total position (location index is 0) is corresponding, timesharing and priority control module is sent to after then total value being replaced with channel value, such as, the data of first passage of the static message of current transmission, so replace with 1 by the total value of first passage.
When static message control module receives after req signal, if need the data sending non-total position, the i.e. data of 2nd ~ 32 bytes (location index is 1 ~ 31), then direct data in buffer memory are sent to timesharing and priority control module, such as, send id1, L1, data1 etc. successively.
In addition, because static message organizes in the mode of passage, in order to ensure the integrality of data, need the valid data sending next passage after being sent by the valid data of a passage again.Such as, after the data of first passage (C1) are sent by static message control module, continue to patrol and examine second passage (C2) and after the data in C2 are sent reprocessing C3, the rest may be inferred.In addition, due to can polytype be divided in static message, such as id1, id2 etc., then need the data sending another kind of type after the data of a type being sent again, such as, after id1, L1 and data1 being sent, then id2, L2 and data2 is sent.
Moreover if due to reasons such as two priority classes, within a transmission cycle of static message, 64 passages are not are not patrolled and examined complete, then the position needing then last time within the next one transmission cycle continues to send, to ensure that all passages all can send.
Step 54: the valid data of the static message received are sent to HDLC package module by timesharing and priority control module.
Step 55:HDLC package module carries out physical layer encapsulation to the data received.
Such as, when physical layer encapsulates, first encapsulate frame head 7E, encapsulate mux_type again, valid data afterwards, in addition cyclic redundancy check (CRC) (CyclicRedundancyCheck, CRC) 16 check digit (this position specifically can comprise crch and crcl) of encapsulation HDLC is continued afterwards when receiving invalid signals, afterwards immediately following postamble mark 7E.Now, a complete HDLC message completes transmission, enters in next circulation.
Static message after physical layer encapsulation can see above-mentioned Fig. 4.
It should be noted that, due to the start-stop usually adopting 7E to represent message, so in effective content of non-message start-stop if there is 7E, in order to avoid framing process by mistake, when can there is 7E in effective content in the present embodiment, the 7E of 1 byte is replaced with 7D and 5D of two bytes, when there is 7D in effective content, the 7D of 1 byte is replaced with 7D and 5E of two bytes.Owing to the data of 1 byte being replaced with 2 bytes when replacing, when so there is 7E or 7D, req signal demand temporarily stops a clock, and wherein, a clock is for extracting the data of a byte.
Static message after physical layer encapsulates by step 56:HDLC package module inserts in OTN expense.
Step 57:OTN expense module sends the static message after physical layer encapsulation.
The present embodiment is described the physical layer encapsulation of static message and process of transmitting, to realize the transmission to static message in physical layer channel.
Fig. 7 is the schematic flow sheet of another embodiment of sending method of OTN expense of the present invention, and the present embodiment is to send protocol massages.See Fig. 7, the present embodiment comprises:
Step 71: protocol massages control module, when sending protocol massages, sends instruction (ready) signal to timesharing and priority control module.
Step 72: after timesharing and priority control module receive index signal, after determining to send this protocol massages, send frame header fields and type of message field to HDLC package module, and obtain valid data to protocol massages control module, namely obtain the data message that will transmit.
Wherein, the similar process to static message, whether timesharing and two priority classes also can send message and priority orders according to current, determine whether to send this protocol massages.
Determining to send protocol massages, can first send frame head 7E, then send and show the mux_type field of type of message, backward protocol massages control module obtain valid data.
Step 73: after protocol massages control module receives request signal, sent to by the valid data of protocol massages timesharing and priority control module also synchronously to provide useful signal, and protocol massages control module is after sending valid data, provides invalid signals.
Wherein, the valid data in the present embodiment are the messages having completed protocol layer encapsulation, such as, for completing the GCC protocol massages of GCC protocol encapsulation, or for completing 1588 protocol massages etc. of protocol layer encapsulation according to 1588 agreements.
Step 74: the valid data of the static message received are sent to HDLC package module by timesharing and priority control module.
Step 75:HDLC package module carries out physical layer encapsulation to the data received.
Such as, when physical layer encapsulates, first encapsulate frame head 7E, encapsulate mux_type again, being valid data afterwards, in addition continuing the CRC16 check digit (this position specifically can comprise crch and crcl) of encapsulation HDLC afterwards when receiving invalid signals, afterwards immediately following postamble mark 7E.Now, a complete HDLC message completes transmission, enters in next circulation.
Protocol massages after physical layer encapsulation can see above-mentioned Fig. 3.
The similar process to static message, if the valid data of protocol massages comprise 7E or 7D, also can carry out replacement process, detailed process can see the associated description in static message.
Static message after physical layer encapsulates by step 76:HDLC package module inserts in OTN expense.
Step 77:OTN expense module sends the static message after physical layer encapsulation.
The present embodiment is described the physical layer encapsulation of protocol massages and process of transmitting, to realize the transmission to protocol massages in physical layer channel.
Fig. 8 is the schematic flow sheet of method of reseptance one embodiment of OTN expense of the present invention, comprising:
Step 81: receive the data message after the physical layer encapsulation transmitted in the physical layer channel of OTN expense, containing type field in data message after described physical layer encapsulation, described physical layer channel can the dissimilar data message of time division multiplexing, and described type field is for showing the type of described data message.
Step 82: according to described type field, carries out reception process to described data message.
A physical layer channel is not fixed to a kind of data-message transmission when data message transmission by the present embodiment, but all types of data message can both transmit in physical layer channel, so dissimilar data message just can transmit in same physical layer channel in timesharing, improves service efficiency.Because physical layer channel can transmit the data message of any one type, the dynamic assignment of bandwidth can be realized.Add the type of data message when physical layer encapsulates, the expansion of data message type can be realized.
Fig. 9 is the schematic flow sheet of another embodiment of method of reseptance of OTN expense of the present invention, and the present embodiment is to receive static message, and the present embodiment comprises:
The data message transmitted in physical layer channel is sent to HDLC decapsulation module by step 91:OTN expense module.
Wherein, this data message is the data message after being encapsulated by physical layer, and the type in physical layer encapsulation fields shows that this data message is static message.
Step 92:HDLC decapsulation module carries out decapsulation to the data message received, obtain type field, when type field is indicated as static message, send index signal (ready) to static message control module, and the data message after decapsulation is sent to static message control module.
Wherein, HDLC decapsulation module receives data message, if frame head 7E detected, then enter predetermined frame state, continue to resolve obtain non-7E first character joint for type-byte, after being static message according to the type byte determination data message type, send index signal to static message control module, to start the reception of static message control module to data, and the data message after decapsulation is sent to static message control module.
In decapsulation process, be the valid data part of static message from second byte after non-7E byte.Because the data received are not necessarily accurate, the mode of L2 cache now can be adopted to send to static message control module by by the data after CRC check.
The mode of L2 cache can be: first, the valid data (data message after namely physical layer decapsulation) received is carried out temporary cache, now can be called first order buffer memory.Concrete, corresponding channel number Ci can be got from the 2nd byte and latch, according to the Ci information be latched into, the data being about to receive can be written on address corresponding to respective channel.From message structure, the id1 position of what the 3rd byte was corresponding is first passage, therefore, the 3rd byte received stores, until receive all data contents from 1 address.Waiting receive the last character joint after, obtain and currently write address ram, and write this address ram value in 0 address, as receiver side total value.
Secondly, CRC check is carried out to the data after first order buffer memory;
Again, in verification by rear, HDLC decapsulation module sends index signal to static message control module, and by the data Replica (copy) of first order buffer memory to second level buffer memory.Concrete, after reception valid data, if again 7E detected, then think and now judge that whether CRC check result is correct by this frame end.If HDLCCRC verifies unsuccessfully, then the 1st grade of buffer memory can not to level 2 cache memory copy, if HDLCCRC verification is correct, then start the copy of the 1st grade of buffer memory to level 2 cache memory, but need first to read the 1st in copy process, the data of level 2 cache memory, compare, if variant, then interruption can be provided, the need of interruption, can be configured according to the application of reality, if need the data sending fast and receive, need to interrupt, fast message can adopt Interrupt Processing Model, and slow does not need Interrupt Processing Model.If do not have difference, the data of copy are that unanimously identical data are capped and can not bring impact with the 2nd grade.Meanwhile, in order to ensure that the data of level 2 cache memory are up-to-date, then need, according to the total value calculated, the data be greater than in the address of this value to be write 0, is less than in the address of this value and normally writes data.
In above-mentioned copy process, in order to prevent the 1st grade of buffer memory in copy process from, by the data cover newly received, therefore needing to be copy in this process and latching, namely in copy process, the 1st grade of buffer memory does not allow to write new data content.
The present embodiment, can to the correct reception of dissimilar data message by detection messages type field.
Figure 10 is the schematic flow sheet of another embodiment of method of reseptance of OTN expense of the present invention, and the present embodiment is to receive protocol massages, and the present embodiment comprises:
The data message transmitted in physical layer channel is sent to HDLC package module by step 101:OTN expense module.
Step 102:HDLC decapsulation module carries out decapsulation to the data message received, obtain type field, when type field is indicated as protocol massages, send index signal (ready) to protocol massages control module, and the data message after decapsulation is sent to protocol massages control module.
With static Message processing unlike, after valid data (the 2nd byte after non-7E starts until data before CRC check) are sent to protocol massages control module by HDLC package module, protocol massages control module can verify valid data according to the CRC check mechanism carried again.Wherein, HDLC package module carries out postamble and to determine and the content of CRC check can see the related content of static message.
The present embodiment, can to the correct reception of dissimilar data message by detection messages type field.
Further, in above-mentioned receiving course, if need to carry out DFX (designforX), wherein X is such as maintainability, testability etc., then judging CRC whether verification succeeds, or when adding up transmitting-receiving bag number, need, according to mux_type value, to add up the data message of same type.
Figure 11 is the structural representation of dispensing device one embodiment of the present invention, comprises physical layer package module 111 and OTN expense module 112; Physical layer package module 111 is for carrying out physical layer encapsulation to the data message that will transmit, type field is added when physical layer encapsulates, making in the physical layer channel of OTN expense can the dissimilar data message of time division multiplexing, and described type field is for showing the type of the described data message that will transmit; OTN expense module 112 is for sending the data message after physical layer encapsulation in the physical layer channel of OTN expense.
Optionally, see Figure 12, physical layer package module 111 can comprise: message control module 121, timesharing and priority control module 122 and HDLC package module 123; Described timesharing and priority control module 122 are for after the index signal receiving message control module 121 transmission, frame head and described type field is sent to HDLC package module 123, and ask the described data message that will transmit to described message control module 121, and the described data message that will transmit is sent to described HDLC package module 123;
Described message control module 121 is for sending described index signal; After asking the described data message that will transmit for described timesharing and priority control module 122, send the described data message that will transmit to described timesharing and priority control module 122; After sending the described data message that will transmit, send invalid signals by described timesharing and priority control module 122 to described HDLC package module 123.
Described HDLC package module 123 is for after receiving invalid signals, generate CRC check field and HDLC postamble, and according to described HDLC frame head, described type field, described to transmit data message, described crc field, described HDLC postamble order encapsulate, described invalid signals is that described message control module 121 sends after sending valid data.
Optionally, described message control module 121 specifically comprises:
First controls submodule, for sending described index signal;
Second controls submodule, for after the data message that will transmit described in described timesharing and priority control module request, and the data message that will transmit described in sending to described timesharing and priority control module;
3rd controls submodule, after sending the described data message that will transmit, sends described invalid signals to described HDLC package module.
Optionally, the described data message that will transmit is static message, and described first controls submodule specifically comprises:
First static message control module, for after the transmission cycle arrives, patrols and examines each passage of the described data message that will transmit successively, and when the total amount of byte of passage is not 0, sends described index signal to described timesharing and priority control module 121.
Optionally, described second control submodule specifically comprises:
Second static message control module, for after the data message that will transmit described in described timesharing and priority control module request, data in channel number and passage are sent to described timesharing and priority control module by the data of each passage of the data message that will transmit described in reading successively.
Optionally, the described data message that will transmit comprises at least one passage; Each passage comprises total amount of byte and the channel data of passage; Described channel data comprises at least one subchannel; Described subchannel comprises the data type of subchannel, the total amount of byte of subchannel and number of subchannels certificate.
Optionally, the described data message that will transmit is protocol massages, and described first controls submodule specifically comprises:
First protocol massages control module, for after acquisition has completed the data message of protocol encapsulation, has sent described index signal to described timesharing and priority control module.
Optionally, described second control submodule specifically comprises:
Second protocol message control module, for after the data message that will transmit described in described timesharing and priority control module request, sends to timesharing and priority control module by the described data message having completed protocol encapsulation.
The present embodiment carries out physical layer encapsulation by the data message that will transmit, data message after physical layer being encapsulated transmits in physical layer channel, instead of physical layer channel is fixedly restricted to a certain data message of transmission, so just can realize dissimilar data message can the same physical layer channel of time division multiplexing, improve the service efficiency of physical layer channel, and the dynamic assignment of physical layer channel can be realized, by encapsulated message type, can expand the type of data message.
Figure 13 is the structural representation of receiving system one embodiment of the present invention, comprises OTN expense module 131 and physical layer decapsulation module 132; OTN expense module 131 for receive transmit in the physical layer channel of OTN expense physical layer encapsulation after data message, containing type field in data message after described physical layer encapsulation, can the dissimilar data message of time division multiplexing in described physical layer channel, described type field is for showing the type of described data message; Physical layer decapsulation module 132 is for carrying out reception process according to described type field to described data message.
Optionally, described type field shows that described data message is static message, and described physical layer decapsulation module 132 specifically comprises: a HDLC decapsulation module and the first message control module;
A described HDLC decapsulation module, for carrying out decapsulation to the data message after described physical layer encapsulation, obtaining described type field and described data message, and described data message is carried out buffer memory; For carrying out CRC process to the data message of buffer memory; For after CRC check success, send index signal to described first message control module, and the data message of described buffer memory is sent to described first message control module;
Described first message control module, after receiving described index signal, receives the data message of the described buffer memory that a described HDLC decapsulation module sends.
Optionally, described type field shows that described data message is protocol massages, and described physical layer decapsulation module specifically comprises the 2nd HDLC decapsulation module and the second message control module;
Described 2nd HDLC decapsulation module, for carrying out decapsulation to the data message after described physical layer encapsulation, obtain described type field and described data message, send index signal to described second message control module, and described data message is sent to described second message control module;
Described second message control module, after receiving described index signal, receives the described data message that described 2nd HDLC decapsulation module sends.
The present embodiment carries out physical layer encapsulation by the data message that will transmit, data message after physical layer being encapsulated transmits in physical layer channel, instead of physical layer channel is fixedly restricted to a certain data message of transmission, so just can realize dissimilar data message can the same physical layer channel of time division multiplexing, improve the service efficiency of physical layer channel, and the dynamic assignment of physical layer channel can be realized, by encapsulated message type, can expand the type of data message.
The embodiment of above-mentioned transmitting apparatus and receiving equipment, the content such as information interaction between the specific implementation process of its each module and each module, due to the inventive method embodiment based on same inventive concept, see embodiment of the method, can be not described in detail here.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (17)

1. a sending method for optical transfer network (OTN) expense, is characterized in that, comprising:
Physical layer encapsulation is carried out to the data message that will transmit, type field is added when physical layer encapsulates, making in the physical layer channel of OTN expense can the dissimilar data message of time division multiplexing, and described type field is for showing the type of the described data message that will transmit;
Data message after physical layer being encapsulated sends in the physical layer channel of OTN expense;
Wherein, the described data message to transmitting carries out physical layer encapsulation, adds type field, specifically comprise when physical layer encapsulates:
Message control module sends index signal;
After timesharing and priority control module receive described index signal, send HDLC frame head and described type field to High-Level Data Link Control (HDLC) package module;
The described data message that will transmit to the data message that will transmit described in message control module request, and is sent to HDLC package module by timesharing and priority control module;
HDLC package module is after receiving invalid signals, generation cycle redundancy check (CRC) field and HDLC postamble, and according to described HDLC frame head, described type field, described to transmit data message, described crc field, described HDLC postamble order encapsulate, to be message control module send described invalid signals after sending the described data message that will transmit.
2. method according to claim 1, is characterized in that, the described data message that will transmit is static message, and described message control module sends index signal, specifically comprises:
Message control module, after the transmission cycle arrives, is patrolled and examined each passage of the described data message that will transmit successively, and when the total amount of byte of passage is not 0, is sent described index signal to timesharing and priority control module.
3. method according to claim 2, is characterized in that, described timesharing and priority control module, to the data message that will transmit described in message control module request, specifically comprise:
Timesharing and priority control module send request signal to message control module;
After message control module receives described request signal, the data in channel number and passage are sent to timesharing and priority control module by the data of each passage of the data message that will transmit described in reading successively.
4. the method according to any one of claim 1-3, is characterized in that, the described data message that will transmit comprises at least one passage; Each passage comprises total amount of byte and the channel data of passage; Described channel data comprises at least one subchannel; Described subchannel comprises the data type of subchannel, the total amount of byte of subchannel and number of subchannels certificate.
5. method according to claim 1, is characterized in that, the described data message that will transmit is protocol massages, and described message control module sends index signal, specifically comprises:
Message control module, after acquisition has completed the data message of protocol encapsulation, sends described index signal to timesharing and priority control module.
6. method according to claim 5, is characterized in that, described timesharing and priority control module, to the data message that will transmit described in message control module request, specifically comprise:
Timesharing and priority control module send request signal to message control module;
After message control module receives described request signal, the described data message having completed protocol encapsulation is sent to timesharing and priority control module.
7. a method of reseptance for optical transfer network (OTN) expense, is characterized in that, comprising:
Receive the data message after the physical layer encapsulation transmitted in the physical layer channel of OTN expense, containing type field in data message after described physical layer encapsulation, can the dissimilar data message of time division multiplexing in described physical layer channel, described type field is for showing the type of described data message;
According to described type field, reception process is carried out to described data message;
Wherein, described according to described type field to described data message carry out reception process, specifically comprise:
High-Level Data Link Control (HDLC) decapsulation module carries out decapsulation to the data message after described physical layer encapsulation, obtains described type field and described data message, and described data message is carried out buffer memory;
HDLC decapsulation module carries out cyclic redundancy check (CRC) (CRC) process to the data message of buffer memory;
HDLC decapsulation module, after CRC check success, sends index signal to message control module, and the data message of described buffer memory is sent to message control module.
8. method according to claim 7, is characterized in that, described type field shows that described data message is protocol massages, described according to described type field to described data message carry out reception process, specifically comprise:
High-Level Data Link Control (HDLC) decapsulation module carries out decapsulation to the data message after described physical layer encapsulation, obtains described type field and described data message;
HDLC decapsulation module sends index signal to message control module, and described data message is sent to message control module.
9. a dispensing device, is characterized in that, comprising:
Physical layer package module, for carrying out physical layer encapsulation to the data message that will transmit, type field is added when physical layer encapsulates, making in the physical layer channel of optical transfer network (OTN) expense can the dissimilar data message of time division multiplexing, and described type field is for showing the type of the described data message that will transmit;
OTN expense module, sends in the physical layer channel of OTN expense for the data message after physical layer being encapsulated;
Wherein, described physical layer package module specifically comprises timesharing and priority control module, message control module and High-Level Data Link Control (HDLC) package module:
Described timesharing and priority control module, for after the index signal receiving the transmission of described message control module, HDLC frame head and described type field is sent to described HDLC package module, and to the data message that will transmit described in described message control module request, and the described data message that will transmit is sent to described HDLC package module;
Described message control module, for sending described index signal; For after the data message that will transmit described in described timesharing and priority control module request, the data message that will transmit described in sending to described timesharing and priority control module; After sending the described data message that will transmit, send invalid signals by described timesharing and priority control module to described HDLC package module;
Described HDLC package module, for after receiving described invalid signals, generation cycle redundancy check (CRC) field and HDLC postamble, and according to described HDLC frame head, described type field, described to transmit data message, described crc field, described HDLC postamble order encapsulate.
10. device according to claim 9, is characterized in that, described message control module specifically comprises:
First controls submodule, for sending described index signal;
Second controls submodule, for after the data message that will transmit described in described timesharing and priority control module request, and the data message that will transmit described in sending to described timesharing and priority control module;
3rd controls submodule, after sending the described data message that will transmit, sends described invalid signals to described HDLC package module.
11. devices according to claim 10, is characterized in that, the described data message that will transmit is static message, and described first controls submodule specifically comprises:
First static message control module, for after the transmission cycle arrives, patrols and examines each passage of the described data message that will transmit successively, and when the total amount of byte of passage is not 0, sends described index signal to described timesharing and priority control module.
12. devices according to claim 10, is characterized in that, described second controls submodule specifically comprises:
Second static message control module, for after the data message that will transmit described in described timesharing and priority control module request, data in channel number and passage are sent to described timesharing and priority control module by the data of each passage of the data message that will transmit described in reading successively.
13. devices according to any one of claim 10-12, it is characterized in that, the described data message that will transmit comprises at least one passage; Each passage comprises total amount of byte and the channel data of passage; Described channel data comprises at least one subchannel; Described subchannel comprises the data type of subchannel, the total amount of byte of subchannel and number of subchannels certificate.
14. devices according to claim 13, is characterized in that, the described data message that will transmit is protocol massages, and described first controls submodule specifically comprises:
First protocol massages control module, for after acquisition has completed the data message of protocol encapsulation, has sent described index signal to described timesharing and priority control module.
15. devices according to claim 14, is characterized in that, described second controls submodule specifically comprises:
Second protocol message control module, for after the data message that will transmit described in described timesharing and priority control module request, sends to described timesharing and priority control module by the described data message having completed protocol encapsulation.
16. 1 kinds of receiving systems, is characterized in that, comprising:
Optical transfer network (OTN) expense module, for receive transmit in the physical layer channel of OTN expense physical layer encapsulation after data message, containing type field in data message after described physical layer encapsulation, can the dissimilar data message of time division multiplexing in described physical layer channel, described type field is for showing the type of described data message;
Physical layer decapsulation module, for carrying out reception process according to described type field to described data message;
Wherein, described type field shows that described data message is static message, and described physical layer decapsulation module specifically comprises the first High-Level Data Link Control (HDLC) decapsulation module and the first message control module:
A described HDLC decapsulation module, for carrying out decapsulation to the data message after described physical layer encapsulation, obtaining described type field and described data message, and described data message is carried out buffer memory; For carrying out cyclic redundancy check (CRC) (CRC) process to the data message of buffer memory; For after CRC check success, send index signal to described first message control module, and the data message of described buffer memory is sent to described first message control module;
Described first message control module, after receiving described index signal, receives the data message of the described buffer memory that a described HDLC decapsulation module sends.
17. devices according to claim 16, it is characterized in that, described type field shows that described data message is protocol massages, and described physical layer decapsulation module specifically comprises the second High-Level Data Link Control (HDLC) decapsulation module and the second message control module;
Described 2nd HDLC decapsulation module, for carrying out decapsulation to the data message after described physical layer encapsulation, obtain described type field and described data message, send index signal to described second message control module, and described data message is sent to described second message control module;
Described second message control module, after receiving described index signal, receives the described data message that described 2nd HDLC decapsulation module sends.
CN201280000840.7A 2012-06-07 2012-06-07 The sending, receiving method of OTN expense and device Active CN102835127B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/076590 WO2013181826A1 (en) 2012-06-07 2012-06-07 Method and device for transmitting and receiving otn overhead

Publications (2)

Publication Number Publication Date
CN102835127A CN102835127A (en) 2012-12-19
CN102835127B true CN102835127B (en) 2016-02-03

Family

ID=47336887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201280000840.7A Active CN102835127B (en) 2012-06-07 2012-06-07 The sending, receiving method of OTN expense and device

Country Status (2)

Country Link
CN (1) CN102835127B (en)
WO (1) WO2013181826A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114051023B (en) * 2021-11-11 2023-05-23 烽火通信科技股份有限公司 Method, device, equipment and readable storage medium for processing frame overhead of optical service unit
CN114844740B (en) * 2022-04-29 2024-01-30 东风电驱动***有限公司 Dual-chip communication method and chip

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1734986A (en) * 2004-08-11 2006-02-15 华为技术有限公司 Method for transmitting low-speed service signal in optical transport network and its device
CN1770673A (en) * 2004-11-02 2006-05-10 华为技术有限公司 Spending processing method for service integration in OTN network
CN101944952A (en) * 2010-09-26 2011-01-12 中兴通讯股份有限公司 Device and method for realizing overhead processing of optical transport network

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7869712B2 (en) * 2006-12-05 2011-01-11 Electronics And Telecommunications Research Institute Method and apparatus for increasing transmission capacity in optical transport network
CN101815229A (en) * 2009-02-25 2010-08-25 华为技术有限公司 Method and device for service adaptation
CN102763355A (en) * 2010-02-02 2012-10-31 瑞典爱立信有限公司 Traffic differentiation in a transport network
CN101860481A (en) * 2010-05-25 2010-10-13 北京邮电大学 Service transport method for distinguishing priority in MPLS-TP over OTN multi-layer network and device thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1734986A (en) * 2004-08-11 2006-02-15 华为技术有限公司 Method for transmitting low-speed service signal in optical transport network and its device
CN1770673A (en) * 2004-11-02 2006-05-10 华为技术有限公司 Spending processing method for service integration in OTN network
CN101944952A (en) * 2010-09-26 2011-01-12 中兴通讯股份有限公司 Device and method for realizing overhead processing of optical transport network

Also Published As

Publication number Publication date
WO2013181826A1 (en) 2013-12-12
CN102835127A (en) 2012-12-19

Similar Documents

Publication Publication Date Title
CN109347648B (en) OAM message transmission method, transmission device and storage medium
CN110691034B (en) Method and device for transmitting service flow of flexible Ethernet
RU2596582C2 (en) Method and device for memory size adapted serial data transfer
WO2018171641A1 (en) Method and device for transmitting and receiving network management information, transmitting apparatus and receiving apparatus
CN103595504A (en) Encapsulation method and calibration method for data package
CN102820959A (en) Method for performing large data volume communication between Modbus master station and Modbus slave station
CN102821082A (en) Data transmission method, device and system
WO2019137296A1 (en) Data transmission method and apparatus and storage medium
KR102450095B1 (en) Data transmission method, transmission device, and reception device
CN109688555B (en) Real-time signal data acquisition and communication system and method
CN109756514B (en) Telemetry data dynamic processing method of spacecraft complex protocol
CN110868458B (en) Communication method and device for stable control system
CN102835127B (en) The sending, receiving method of OTN expense and device
CN114499788A (en) CBR signal transmission method, system and equipment
CN108988977A (en) The methods, devices and systems of business transferring stream in a kind of flexible Ethernet protocol
CN109600247A (en) Train topological management method and system
CN104170486B (en) The processing method and system and device of terminal capacity report
JPS6195643A (en) Data transmission system
CN105634988B (en) A kind of jitter cache processing method and processing device
CN113572629A (en) Message transmission method, terminal and storage medium
CN101616149B (en) Information processing method, device and information transmission system
CN109600795A (en) The processing method and wireless network accessing apparatus of A-MSDU subframe
CN105099607A (en) Fault tolerance method and apparatus for microwave transmission
CN109450517A (en) RDSS communications control method and system
CN102014060B (en) Method for sending and acquiring messages transmitted by TTT, sending equipment and receiving equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant