CN101345612A - Data transmission method and device based on time division multiplexing link - Google Patents

Data transmission method and device based on time division multiplexing link Download PDF

Info

Publication number
CN101345612A
CN101345612A CNA2007101185664A CN200710118566A CN101345612A CN 101345612 A CN101345612 A CN 101345612A CN A2007101185664 A CNA2007101185664 A CN A2007101185664A CN 200710118566 A CN200710118566 A CN 200710118566A CN 101345612 A CN101345612 A CN 101345612A
Authority
CN
China
Prior art keywords
frame
link
control information
data
division multiplexing
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.)
Pending
Application number
CNA2007101185664A
Other languages
Chinese (zh)
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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CNA2007101185664A priority Critical patent/CN101345612A/en
Publication of CN101345612A publication Critical patent/CN101345612A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a data transmission method based on Time Division Multiplexing link characterized in that transmission comprises steps of packaging data to be relayed to the business type data frame according to preset or self-adaptively recognized business type; assembling link control information according to advanced agreement; loading separately at preset control time slot and business time slot with control information and data frame on time division multiplexing link for transmission; receiving comprises: receiving and identifying control information and data frame from the time division multiplexing link according to system preset control time slot and business time slot; analyzing data frame after determining correspondence of received control information and agreed control information, converting playload to business type corresponding signal outer network can receives. The invention accomplishes dual commonality of data business type and time division multiplexing link. The invention also provides a data transmission device based on time division multiplexing link corresponding to above-mentioned method.

Description

Data transmission method and device based on time division multiplexing link
Technical field
(Time Division Multiplex, TDM) communication technical field relate in particular to a kind of data transmission method and device based on the TDM link to the present invention relates to time division multiplexing.
Background technology
The TDM link comprises multiple, for example, based on PDH (Pseudo-synchronous Digital Hierarchy) (Plesiochronous DigitalHierarchy, PDH), Synchronous Digital Hierarchy (Synchronous Digital Hierarchy, SDH), the synchronizable optical transmission network (Synchronous Optical Network, SONET), E1 and E3 link etc.Along with the development of various communication services, the data service type is also increasing, for example, based on Internet protocol (Internet Protocol, IP), the data of Ethernet (Ethernet) and asynchronous transfer mode (AsynchronousTransfer Mode) etc.How to be implemented on the various TDM links that to transmit the various types of traffic data are problems that merit attention.
At present, utilize the scheme of TDM link transmission business datum mainly to comprise two kinds, a kind of be " the Ethernet data are transmitted in SDH/SONET " (Ethernet over SDH/SONET, EOS), another kind be " ATM uses repeatedly " (Inverse Multiplexing for ATM, IMA).
Below these two kinds of schemes are introduced respectively and analyzed.
1, to early stage SDH/SONET equipment, owing to a large amount of access ports occurred, the user is desirable to provide the Ethernet service in " broadband ", do not wish in a large number more switching network again, so the EOS technology is arisen at the historic moment.The EOS technology is loaded into the SDH/SONET virtual container with Ethernet data, transmits via optical fiber, makes Ethernet data can pass through backbone network and metropolitan area network pellucidly, effectively SDH/SONET high reliability and ripe ethernet technology is combined.Adopt SDH or SONET to come bearer service, can utilize the abundant management maintenance function of SDH/SONET, just utilize SDH/SONET overhead byte (D1~D12 byte) to transmit management information.
Yet there are some limitation that are difficult to overcome in EOS.Just because of EOS too relies on the management maintenance function of SDH/SONET, determined it to come the bearer service data with SDH/SONET, for other TDM links such as E1 and E3, then inapplicable because the management maintenance function can not be provided.And, EOS realizes by increasing related functional entities on original huge SDH/SONET equipment, the original SDH/SONET equipment of undue dependence, if realize the EOS function, must at first purchase SDH/SONET equipment, cost is higher, is unfavorable for proprietaryization of equipment, miniaturization and independent, more directly terminaloriented.
2, IMA mainly is the place that is applied in high speed network accessibilities such as not possessing SDH and needs high speed data transfer, it is by being tied to a plurality of low speed TDM links (E1) high-speed link in logic to user transparent, and then is implemented in the purpose of transmission high-speed atm data flow on the slow network.IMA is only at the ATM business, and is then inapplicable for IP data or Ethernet data.
Thus, present EOS or IMA, or be subject to the TDM link, or be subject to the data service type, all be uncurrent to various types of TDM links and data service.
Summary of the invention
In view of this, the invention provides a kind of data transmission method, to solve existing scheme to TDM link and the uncurrent problem of data service type based on the TDM link;
Simultaneously, the present invention also provides a kind of data transmission device based on the TDM link, and this device can independently exist, and can realize business customizing.
For this reason, the embodiment of the invention adopts following technical scheme:
A kind of data transmission method based on time division multiplexing link, sending direction comprises: according to the type of service that presets or self adaptation identifies, be described type of service Frame with data encapsulation to be transmitted; According to making an appointment the assembling link control message; At the control time slot that presets and business time-slot control information and Frame are carried on the time division multiplexing link respectively and send; Receive direction comprises: control time slot and business time-slot according to system intialization receive and identify out control information and Frame from described time division multiplexing link; After determining the control information that receives and the control information of agreement being corresponding, the resolution data frame, and the payload that parses is converted to the receivable signal of external network of type of service correspondence.
Said method also comprises: add the condition code of making an appointment in Frame; When the resolution data frame, after determining the condition code that parses and the condition code of making an appointment being consistent, just described payload is converted to analog signal.
Said method also comprises: dynamically adjust described condition code.
Dynamically adjust condition code in the following manner: sending direction: when not waiting to transmit data, send empty frame, and in described empty frame, add new condition code; Receive direction: with the condition code in the empty frame as with the new condition code of sending direction agreement.
Preferably, described control information comprises synchronous code; Receive direction: the control information that receives and Frame are combined as the multi-frame of system's reservation form, and during the synchronous code in definite control information and sending direction agreement consistent, control and enter the link synchronization accepting state.
Preferably, also comprise link No. and frame number in the described control information; Receive direction:, control information and Frame are combined as multi-frame according to described link No. and frame number.
Receive direction is realized the state machine of synchronous code according to following steps: check the bit stream that receives, when checking out the synchronous code of reservation, enter the presynchronization attitude; When the number of times that goes out synchronous code when continuous review reaches the threshold value that presets, transfer synchronous state to, allow link synchronization to receive from the presynchronization attitude; When synchronous code that is checked through and reservation inconsistent, change the step-out attitude over to from presynchronization attitude or synchronous state, do not allow link synchronization to receive.
Said method also comprises: when the failure of combination multi-frame, determine that at least one time division multiplexing link damages, at this moment, receive direction returns by all the other chain road direction sending directions and accuses the link notice of damage.
Preferably, described control time slot and business time-slot being set alternately occurs with the length that presets separately respectively.
Preferably, the length ratio of controlling time slot and business time-slot being set is 1: 64.
When described type of service is ATM, if having only an ATM cell, then with an ATM cell encapsulation framing; If a plurality of continuous ATM cell are then chosen n the ATM cell that presets and are encapsulated as the ATM frame.
A kind of data transmission device based on time division multiplexing link, comprise transmitting terminal and receiving terminal, described transmitting terminal comprises from external network and obtains the PHY adaptation module of waiting to transmit data, described receiving terminal comprises with data conversion to be transmitted being the PHY adaptation unit of the receivable signal of external network, described transmitting terminal also comprises: the framing module, be used to receive the data to be transmitted of described PHY adaptation module, and, be described type of service Frame with data encapsulation to be transmitted according to system's type of service prefabricated or self adaptation identification; The link maintenance module is used for making an appointment according to system, the control information of assembling time division multiplexing link; The time slot distribution module is used at the control time slot and the business time-slot that preset control information and Frame being sent on the time division multiplexing link; Described receiving terminal also comprises: the time slot assembled unit, be used for according to the control time slot and the business time-slot of transmitting terminal agreement, receive and identify out control information and Frame from link; Link adaptation unit is used for the control information of receiving slot assembled unit, and judges whether this control information is corresponding with the control information of transmitting terminal agreement; Separate frame unit, be used for the Frame of receiving slot assembled unit, and the control information of judging the control information of reception and transmitting terminal in described link adaptation unit parses the payload of Frame, and payload is sent to described PHY adaptation unit at once.
Described framing module is added the condition code of making an appointment with receiving terminal in Frame; The described frame unit of separating, when the condition code of the condition code of determine resolving and agreement was consistent, ability sent to described PHY adaptation unit with the payload of parsing.
Described time slot assembled unit also is used for the multi-frame that the control information that will receive and Frame are combined into predetermined format; When described time slot assembled unit combination multi-frame was failed, described link adaptation unit also was used for returning announcement link notice of damage by all chain road direction transmitting terminals.
Described device is based on field programmable gate array (Field Programmable Gate Array, FPGA), complexity becomes logical device (Complex Programmable Logic Device, CPLD) or Digital Signal Processing (Digital Signal Processing, DSP) chip is realized.
Described type of service comprises: ATM, Ethernet or IP; Described time division multiplexing link is one or more; The type of described time division multiplexing link comprises: SDH, SONET, E1 or E3
Technique effect for technique scheme is analyzed as follows:
(1) the present invention perhaps, identifies the data service type by self adaptation by the initialize data type of service, can encapsulate the various types of traffic Frame then, only is applicable to the ATM business unlike IMA, has realized the versatility of data service type; And the present invention realizes that by the configuration link control information link synchronization receives control, no longer relies on the link maintenance controlled function of SDH/SONEY fully as EOS, has realized the versatility of TDM link;
(2) and, the present invention adds control information in the Frame band, realize maintenance and control to link, does not need additionally to increase expense;
(3) the present invention carries out the framing transmission to ATM cell, has improved the professional efficiency of transmission of ATM;
(4) by add condition code in Frame, transmitting terminal guarantees that by condition code the data that receive are correct, has improved safety of data transmission; And condition code can dynamically be adjusted by empty frame, has guaranteed the fail safe of condition code itself, for data transmission credibility provides guarantee;
(5) receiving terminal in time returns and accuses sending end when successfully not making up multi-frame, sends strategy so that system in time adjusts link, has guaranteed reliability of data transmission;
(6) because the present invention has increased the link maintenance controlled function, therefore no longer rely on main equipments such as SDH/SONET, can realize also independent the existence based on FPGA, CPLD or DSP, device provided by the invention is beneficial to the miniaturization and proprietaryization of equipment, and can save cost.
Description of drawings
Fig. 1 is the data transmission system schematic diagram that the present invention is based on the TDM link;
Fig. 2 is the data transmission method flow chart that the present invention is based on the TDM link;
Fig. 3 is the embodiment of the invention one a device schematic diagram;
Fig. 4 is the embodiment of the invention one system schematic;
Fig. 5 is the embodiment of the invention one a Frame schematic diagram;
Fig. 6 is the embodiment of the invention one a multi-frame schematic diagram;
Fig. 7 is the embodiment of the invention one a control information schematic diagram;
Fig. 8 is the embodiment of the invention one a multi-frame synchronous state machine schematic diagram;
Fig. 9 is the embodiment of the invention one a link distribution schematic diagram;
Figure 10 is the embodiment of the invention one a verification state machine diagram;
Figure 11 is the embodiment of the invention one flow chart;
Figure 12 is the embodiment of the invention two Frame schematic diagrames.
Embodiment
The invention provides a kind of general TDM link that utilizes and realize the method and the device of transfer of data, wherein " general " comprises two layers of meaning, and the one, be applicable to various types of business datums, the 2nd, be applicable to various TDM links.
Referring to Fig. 1,, the present invention realizes the data transmission system schematic diagram for utilizing the TDM link.Wherein, be decided to be device provided by the invention approximately with DOT (Data over TDM).The direction that mails to transmission network is decided to be approximately " sending direction (Ingress) "; The direction that receives from transmission network is decided to be " receive direction (Egress) " approximately.
Referring to Fig. 2,, the present invention realizes the data transmission method flow chart for utilizing the TDM link.
Sending direction comprises step 201-step 203:
Step 201: obtain wait to transmit data after, according to the data service type that data service type that presets or self adaptation identify, be the Frame that comprises the data service type field with data encapsulation to be transmitted;
Step 202: according to making an appointment the assembling link control message;
Step 203: preset the length of control time slot and business time-slot, at control time slot and business time-slot control information and Frame are carried on to divide on the TDM link respectively and send out, described control time slot and business time-slot are alternately to exist;
Receive direction comprises step 204-step 206:
Step 204: control time slot and business time-slot according to system intialization receive and identify out control information and Frame from the TDM link;
Step 205: judge whether the control information receive is corresponding with the control information of transmitting terminal agreement, if, execution in step 206, otherwise, repeat this step, and when repeating number of times, report an error above the thresholding number of times that presets;
Step 206: the resolution data frame, by the field specified data type of service of expression data service type; The payload user data that parses is converted to the receivable signal of external network of data service type correspondence, at last this signal is sent.
In order to realize the versatility of data service type, the present invention finishes the encapsulation of Frame according to the type of service that presets or identify.But configurability or adaptivity owing to the data service type can both be suitable for for different data service type the present invention, for example, and IP operation data, ATM business datum and Ethernet service data etc.Than IMA of the prior art, the present invention has the versatility of business datum.
In order to realize the versatility of TDM link, the present invention has increased link control message in Frame sends band, and by agreement and the verification to link control message of transmitting terminal and receiving terminal, the system that administers and maintains normally moves; And link control message and data service type are irrelevant, that is, for various types of business datums, link control message is all applicable.As seen, the present invention is no longer dependent on some link (SDH/SONET) by increasing the management maintenance function of link, and for the link that does not possess the management maintenance function (E1/E3 etc.), the present invention is also applicable.Than EOS of the prior art, the present invention has the versatility of TDM link.
Below in conjunction with accompanying drawing, the embodiment of the invention is described in detail.
At first, introduce the embodiment of the invention one:
See also Fig. 3, be DOT device internal structure schematic diagram provided by the invention.DOT comprises transmitting terminal and receiving terminal, and wherein, transmitting terminal is communicated by letter with the opposite end receiving terminal, and receiving terminal is communicated by letter with opposite end DOT receiving terminal, and in order to show whole DOT structure, Fig. 3 only illustrates local terminal DOT internal structure, and opposite end DOT internal structure correspondingly.During specific implementation, the DOT device can be based on field programmable gate array (FieldProgrammable Gate Array, FPGA), complexity becomes logical device (ComplexProgrammable Logic Device, CPLD) or Digital Signal Processing (Digital Signal Processing, DSP) chip is realized, can break away from catenet equipment such as SDH and independently exist, and is beneficial to miniaturization, the independent of equipment, but terminaloriented can reduce network construction cost greatly.
Introduce in detail from transmitting terminal and two angles of receiving terminal below.
One, transmitting terminal
1, (Physical Layer, PHY) adaptation module 3011 for physical layer
Be responsible for obtaining data to be transmitted from external network.
2, the framing module 3012
Receive the data to be transmitted of PHY adaptation module 3011, and according to the data service type that the pre-configured data service type of system or self adaptation identify, treat and transmit data and carry out framing and handle.
Specifically be described below respectively:
(1) system sets in advance the data service type
1. Ethernet service:
The Ethernet data that receives is directly encapsulated, also promptly before Ethernet data, increases by a frame head, indicate this frame type of service, data length and verification and etc.;
2. ATM business:
Configuration maximum framing number, for example n continuously; If an independent ATM cell, then to an ATM cell framing; If continuous ATM cell is then chosen n cell and is carried out framing.Concrete framing mode is consistent with Ethernet, also i.e. increase by one frame head before the ATM data, indicate this frame type of service, data length and verification and etc.;
At present, still not having this ATM cell is packaged encapsulates and the configurable application of group bag number.This ATM is organized wrapped the mode that transmits, and improved the efficiency of transmission of ATM business.
3. other business:
Keep, decide on concrete service feature.
(2) self adaptation recognition data type of service
The data to be transmitted that receive are carried out self-adaptive processing, thereby identify the data service type, and then take different framing modes according to the data service type that identifies, concrete framing mode is consistent with above-mentioned (1), repeats no more.
Introduce in detail for the Frame internal structure back of forming.
Framing module 3012 adopts above-mentioned any framing mode, and various types of traffic all is suitable for.For example, when employing mode (1), can be configured type of service by actual needs, when the data type that receives when system changes, can come to satisfy actual needs by changing type of service, this mode is fit to the system that type of service does not often change.When employing mode (2), do not need pre-configuredly, be transparent for the user, but can take some system resources that this mode is fit to type of service and changes frequent system.
3, link maintenance module 3013
The main responsible assembling control information relevant with the TDM link, comprise frame number, link No. and synchronous code etc., these control informations are that local DOT transmitting terminal and opposite end receiving terminal are arranged in advance, by the identification of two ends to control information, and the normal operation of maintenance link.
Relevant controlling message structure back is introduced in detail.
4, the time slot distribution module 3014
Mainly be responsible for obtaining the actual state of each link, and, the Frame of framing module 3012 and the control information of link maintenance module 3014 be distributed on the corresponding link according to " link configuration " and link virtual condition that system sets in advance.Wherein, the distribution to Frame and control information is to hocket at interval: according to the length of system intialization control time slot and business time-slot, send control information at the control time slot, send Frame at business time-slot.
Two, receiving terminal
1, the time slot assembled unit 3021
According to " link configuration ", the data of taking out each time slot from relevant link, and according to the control time slot and the business time-slot of making an appointment with transmitting terminal, identification also is combined as control information and Frame again.
2, link adaptation unit 3022
The control information of receiving slot assembled unit 3021 combinations, and judge whether this control information is corresponding with the control information of transmitting terminal agreement, with this maintenance link operation.
The judgment mode back of relevant controlling information is introduced.
3, separate frame unit 3023
The Frame that receiving slot assembled unit 3021 transmits, and in conjunction with self " state machine " determining that whether taking out and take out data how long sends to subsequent P HY adaptation unit 3024, concrete state machine is introduced in the back.
4, the PHY adaptation unit 3024
Wait that with what separate that frame unit 3023 sends transmitting data carries out digital-to-analogue conversion according to the data service type, the analog signal with conversion sends at last.
See also Fig. 4 again, be implemented in typical case's application schematic diagram of transfer of data on the TDM link for utilizing DOT device shown in Figure 3.Wherein, data service type is Ethernet data; The TDM link is many low speed E1 links, and can realize the binding of many E1 links; The intermediate conveyor network is the SDH network.Because when transmitting terminal and receiving terminal DOT distance were far away, because the restriction of cable (E1), therefore (Add/Drop Multiplexer ADM) was connected to the SDH network to common two DOT devices by an add/drop multiplexer respectively.
The workflow of this typical case's application system totally comprises:
A. transmitting terminal DOT device receives ethernet data stream, and it is encapsulated as ethernet data frame, and according to the link configuration of each E1 Link State and system intialization, and the control information that ethernet data frame is communicated with self assembling is distributed on each E1 link;
B. receiving terminal DOT according to transmitting terminal DOT expectant control information, Frame is recombinated, send to external network after being converted to ethernet signal.
Above-mentioned the DOT device on the whole basis of introducing, is described in detail some key points below.
A. data frame format
Referring to Fig. 5, be the data frame format of framing module 3012 assemblings.It is as follows that Frame is respectively formed example of field:
A.1. frame head (dot head) comprises three parts again:
A.1.1 data service type (frame type): 1 byte-sized, concrete implication can be provided with, and for example, 0x00 represents ethernet frame, and 0x01 represents the ATM frame, all the other reservations;
A.1.2 frame payload length (frame length): 2 byte-sized, indicate the length of payload, comprise the payload verification and length;
A.1.3 frame head verification and (head hec): 2 byte-sized, frame type and frame length are carried out verification, can take general checking algorithm, for example, and the CRC-16 algorithm, its multinomial is:
G(x)=x 16+x 12+x 5+1
A.2. payload (payload)
● ethernet frame: support the JUMBO frame, maximum length is 9600 bytes;
● the ATM frame: support 27 cells at most, maximum length is 1413 bytes;
In addition, when not having data, on payload, fill 0, promptly constitute empty frame (Idle frame).
A.2. payload verification and (payload hec)
Can take general checking algorithm, for example, the CRC-32 algorithm of standard, its multinomial is:
G(x)=x 32+x 26+x 23+x 22+x 16+x 12+x 11+x 10+x 8+x 7+x 5+x 4+x 2+x+1
B. the link maintenance of transmitting terminal and receiving terminal
Pattern of the present invention is to byte stream, add drop multiplex, i.e. and traffic sharing also promptly realizes the binding of a plurality of links in each link.Wherein, frame is made of time slot, and multi-frame is made of frame, and 4 frames constitute a multi-frame.The time slot 1,2 of each multi-frame is as the control time slot, and all the other are as business time-slot.With E1 is example, and its multi-frame schematic diagram is referring to Fig. 6.As introducing in front, the control time slot is used for communicating control information, and business time-slot is used for sending Frame.The length that control time slot and business time-slot are set can be provided with according to system requirements at interval, and it is 1: 64 that space ratio for example is set.
Wherein, the control information structure is referring to Fig. 7, and control information comprises:
● command code (cmd code): be used for mark " link No. " and " frame number ".
During concrete operations, receiving terminal is assembled the command code in the control information of a plurality of multi-frames, for example, the command code in the control information of 8 multi-frames receiving is made up, the field of define and represent link and frame number again.
● synchronous code (syn code): be used for regularly synchronously, indicate the beginning of multi-frame simultaneously.For example, transmitting terminal and receiving terminal are decided to be 0x187b approximately.
During concrete operations,, send the control information that comprises synchronous code (0x187b) at the control time slot by appointment at transmitting terminal.At receiving terminal, ceaselessly the bit stream of input is checked, when finding synchronous code (0x187b), enter the presynchronization attitude; By calculating, once more bit stream is caught in the moment of time-delay one " multi-frame ", if (p is configurable number of times to continuous p, and for example, p=3) inferior all is synchronous code (0x187b), then enters synchronous state; Each the initial of multi-frame all checked, in case be not synchronous code (0x187b), then enters the step-out attitude.The multi-frame synchronous state machine is referring to Fig. 8.
Above-mentioned link maintenance needs transmitting terminal and receiving terminal cooperation to finish, and is mainly carried out by link maintenance module 3013 and link adaptation unit 3022.
The multi-frame synchronization mechanism of above-mentioned introduction is to adopt to add the control information realization in the Frame band, can be described as " inter-sync of time slot band ", adopts extra overhead byte to come maintenance link synchronous with respect to SDH/SONEY, and the expense that this mode takies is little.
C. the link of time slot distribution module 3014 distribution
Referring to Fig. 9, be the link distribution schematic diagram of transmitting terminal time slot distribution module 3014.Link No. in the control information that provides according to link maintenance module 3013 in the command code (cmd code) is sent to frame on its link corresponding.Wherein, cell is a distribution department, and size can be by system's setting.
D. separate the state machine of frame unit 3023
Referring to Figure 10, separate the verification state machine diagram of frame unit 3023 for receiving terminal.The transition of this state machine is closed:
Preparing state: the initial state that powers on, byte-by-byte inspection Frame whether have correct verification and, in case find verification and correct, then carry out the presynchronization attitude;
The presynchronization attitude: when the verification of the individual frame of continuous discovery " M " and all correct after, enter synchronous state, in case find verification and incorrect, come back to preparing state;
Wherein, M is configurable, is preferably 1.
Synchronous state: can enter normal business datum and receive,, just switch to preparing state in case find verification and incorrect.
At last, the detailed process of embodiment one is given to introduce.Referring to Figure 11, embodiment one comprises:
Step S1101: receive certain type service data;
Step S1102: the business datum that receives is carried out " mould-number " conversion, obtain data to be transmitted;
Step S1103: according to the type of service of system intialization, perhaps, self adaptation identifies type of service, will wait that transmitting data interpolation frame head is encapsulated as Frame;
This frame head by indicating services type, indication payload length and frame head verification and etc. field form.
Step S1104: according to system's agreement, the assembling control information;
This control information is made up of fields such as indication link No., frame number and multi-frame synchronous codes.
Step S1105:, determine link according to link configuration and the physical link situation that system sets in advance;
Step S1106:, at control time slot and business time-slot control information and Frame are carried on definite link respectively and send according to system's expectant control time slot and business time-slot;
Wherein, the length of control time slot and business time-slot is that system is predetermined, and the two alternately exists.
Step R1101: received signal from the link of determining comprises control information and Frame;
Step R1102: according to link No. and the frame number that transmitting terminal adds, Frame is recombinated, constitute multi-frame, promptly identify Frame and control information;
Step R1103: by the synchronous code in the control information (multi-frame synchronous state machine), judge whether to enter the multi-frame synchronous regime, if, the order received signal, otherwise, repeat to judge, when errors number surpasses the threshold value that presets, report an error;
Step R1104: resolve the Frame receive, check verification and whether correct (separate frame unit 3023 state machines, judge whether to reach synchronous state) in the Frame, if then take out the payload of some, the execution next step; Otherwise, repeat to judge, when errors number surpasses the threshold value that presets, report an error;
Step R1105: the payload that extracts is carried out " number-Mo " conversion, transformation service type corresponding simulating signal;
Step R1106: analog signal is sent to external network.
The step that above-mentioned steps S1101-S1106 carries out for the DOT transmitting terminal, the step that step R1101-R1106 carries out for the DOT receiving terminal.
Introduce the embodiment of the invention two below:
In the data frame structure in embodiment one, comprise the frame head verification and and and the payload verification and, it is correct to be used for the specified data frame.Specifically be, the transmitting terminal calculation check and, it is added in the Frame; Receiving terminal recomputate verification and, with the verification and the comparison of Frame.But, this judge verification and mode but can not guarantee sometimes correctly, for example, because the transmission of fixing interference or some fixed code, cause verification and correct, in fact transfer of data is wrong owing to being interfered, and only utilize verification and be insecure this moment.
Therefore, embodiment two introduces in Frame " condition code " on the basis of embodiment one, and this condition code is arranged in advance by transmitting terminal and receiving terminal, behind the receiving terminal resolution data frame, by comparing feature codes, further guarantees safety of data.Only, think that just data are correct in condition code and verification with when all correct.
Referring to Figure 12, for having increased the Frame schematic diagram of condition code (frame tag).In practical operation, condition code can be defined as 3 bytes, and place before the frame head, just the foremost of whole Frame certainly, is not limited to this set in the practical operation.
But condition code also might be discerned by the hacker, so in order further to guarantee the fail safe of condition code, can arrange condition code in real time in empty frame (IDEL frame), accomplishes the dynamic adjustment of condition code, like this, has further guaranteed the safety of condition code self.
At last, introduce the embodiment of the invention three:
In system's actual motion, link might damage, and at this moment, receiving terminal can pass through " link synchronization monitoring " function, returns and accuses sending end.
Specifically be, the link adaptation unit 3022 of receiving terminal is carried out this function, when damaging owing to certain bar link, when time slot assembled unit 3021 can not be formed complete multi-frame, link adaptation unit 3022 is returned by all links and is accused sending end, and the link that does not pass through this damage again sends signal.Though one link damages, transmitting terminal still can receive this notice by other link, and so, correspondingly, the link maintenance module 3013 of transmitting terminal and time slot distribution module 3014 can be adjusted link adaptively.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (18)

1, a kind of data transmission method based on time division multiplexing link is characterized in that,
Sending direction comprises:
According to the type of service that presets or self adaptation identifies, be described type of service Frame with data encapsulation to be transmitted; According to making an appointment the assembling link control message; At the control time slot that presets and business time-slot control information and Frame are carried on the time division multiplexing link respectively and send;
Receive direction comprises:
Control time slot and business time-slot according to system intialization receive and identify out control information and Frame from described time division multiplexing link; After determining the control information that receives and the control information of agreement being corresponding, the resolution data frame, and the payload that parses is converted to the receivable signal of external network of type of service correspondence.
2, according to the described method of claim 1, it is characterized in that, also comprise:
In Frame, add the condition code of making an appointment;
When the resolution data frame, after determining the condition code that parses and the condition code of making an appointment being consistent, just described payload is converted to the receivable signal of external network.
3, according to the described method of claim 2, it is characterized in that, also comprise:
Dynamically adjust described condition code.
4, according to the described method of claim 3, it is characterized in that, dynamically adjust condition code in the following manner:
Sending direction: when not waiting to transmit data, send empty frame, and in described empty frame, add new condition code;
Receive direction: with the condition code in the empty frame as with the new condition code of sending direction agreement.
5, according to the described method of claim 1, it is characterized in that,
Described control information comprises synchronous code;
Receive direction: the control information that receives and Frame are combined as the multi-frame of system's reservation form, and during the synchronous code in definite control information and sending direction agreement consistent, control and enter the link synchronization accepting state.
6, according to the described method of claim 5, it is characterized in that,
Also comprise link No. and frame number in the described control information;
Receive direction:, control information and Frame are combined as multi-frame according to described link No. and frame number.
According to the described method of claim 5, it is characterized in that 7, receive direction is realized the state machine of synchronous code according to following steps:
The bit stream that inspection receives when checking out the synchronous code of reservation, enters the presynchronization attitude;
When the number of times that goes out synchronous code when continuous review reaches the threshold value that presets, transfer synchronous state to, allow link synchronization to receive from the presynchronization attitude;
When synchronous code that is checked through and reservation inconsistent, change the step-out attitude over to from presynchronization attitude or synchronous state, do not allow link synchronization to receive.
8, according to the described method of claim 5, it is characterized in that, also comprise:
When the failure of combination multi-frame, determine that at least one time division multiplexing link damages, at this moment, receive direction returns by all the other chain road direction sending directions and accuses the link notice of damage.
9, according to the described method of claim 1, it is characterized in that, described control time slot and business time-slot are set alternately occur with the length that presets separately respectively.
According to the described method of claim 9, it is characterized in that 10, the length ratio that control time slot and business time-slot are set is 1: 64.
11, according to each described method of claim 1 to 10, it is characterized in that,
Described time division multiplexing link is one or more; The type of described time division multiplexing link comprises: SDH, SONET, E1 or E3.
12, according to each described method of claim 1 to 10, it is characterized in that,
Described type of service comprises: ATM, Ethernet or IP.
13, according to the described method of claim 12, it is characterized in that,
When described type of service is ATM, if having only an ATM cell, then with an ATM cell encapsulation framing; If a plurality of continuous ATM cell are then chosen n the ATM cell that presets and are encapsulated as the ATM frame.
14, a kind of data transmission device based on time division multiplexing link, comprise transmitting terminal and receiving terminal, described transmitting terminal comprises from external network and obtains the PHY adaptation module of waiting to transmit data, described receiving terminal comprises with data conversion to be transmitted being the PHY adaptation unit of the receivable signal of external network, it is characterized in that
Described transmitting terminal also comprises:
The framing module is used to receive the data to be transmitted of described PHY adaptation module, and according to system's type of service prefabricated or self adaptation identification, is described type of service Frame with data encapsulation to be transmitted;
The link maintenance module is used for making an appointment according to system, the control information of assembling time division multiplexing link;
The time slot distribution module is used at the control time slot and the business time-slot that preset control information and Frame being sent on the time division multiplexing link;
Described receiving terminal also comprises:
The time slot assembled unit, be used for according to the control time slot and the business time-slot of transmitting terminal agreement, receive and identify out control information and Frame from link;
Link adaptation unit is used for the control information of receiving slot assembled unit, and judges whether this control information is corresponding with the control information of transmitting terminal agreement;
Separate frame unit, be used for the Frame of receiving slot assembled unit, and the control information of judging the control information of reception and transmitting terminal in described link adaptation unit parses the payload of Frame, and payload is sent to described PHY adaptation unit at once.
15, according to the described device of claim 14, it is characterized in that,
Described framing module is added the condition code of making an appointment with receiving terminal in Frame;
The described frame unit of separating, when the condition code of the condition code of determine resolving and agreement was consistent, ability sent to described PHY adaptation unit with the payload of parsing.
16, according to the described device of claim 15, it is characterized in that,
Described time slot assembled unit also is used for the multi-frame that the control information that will receive and Frame are combined into predetermined format;
When described time slot assembled unit combination multi-frame was failed, described link adaptation unit also was used for returning announcement link notice of damage by all chain road direction transmitting terminals.
According to the described device of claim 16, it is characterized in that 17, described device is realized based on FPGA, CPLD or dsp chip.
18, according to each described device in the claim 14 to 17, it is characterized in that,
Described type of service comprises: ATM, Ethernet or IP;
Described time division multiplexing link is one or more; The type of described time division multiplexing link comprises: SDH, SONET, E1 or E3.
CNA2007101185664A 2007-07-09 2007-07-09 Data transmission method and device based on time division multiplexing link Pending CN101345612A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101185664A CN101345612A (en) 2007-07-09 2007-07-09 Data transmission method and device based on time division multiplexing link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101185664A CN101345612A (en) 2007-07-09 2007-07-09 Data transmission method and device based on time division multiplexing link

Publications (1)

Publication Number Publication Date
CN101345612A true CN101345612A (en) 2009-01-14

Family

ID=40247510

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101185664A Pending CN101345612A (en) 2007-07-09 2007-07-09 Data transmission method and device based on time division multiplexing link

Country Status (1)

Country Link
CN (1) CN101345612A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924648A (en) * 2010-07-22 2010-12-22 中兴通讯股份有限公司 Adaptive method and adaptive device of service veneer
CN103401631A (en) * 2013-08-02 2013-11-20 桂林南方通信设备工程公司 Time slot dynamic allocation circuit for digital communication equipment and running method thereof
CN106937313A (en) * 2015-12-29 2017-07-07 中国电信股份有限公司 Equipment data transmission method, dispensing device and receive-transmit system
WO2018027708A1 (en) * 2016-08-09 2018-02-15 邦彦技术股份有限公司 Data transmission method and apparatus
WO2018137569A1 (en) * 2017-01-26 2018-08-02 华为技术有限公司 Data sending method and apparatus, and data receiving method and apparatus
CN108365886A (en) * 2018-02-13 2018-08-03 北京空间飞行器总体设计部 Network data store and forward mode between a kind of time division multiplexing star
CN115051950A (en) * 2022-06-23 2022-09-13 南京邮电大学 Adaptive data forwarding system and method for different service types

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924648A (en) * 2010-07-22 2010-12-22 中兴通讯股份有限公司 Adaptive method and adaptive device of service veneer
CN101924648B (en) * 2010-07-22 2015-05-13 中兴通讯股份有限公司 Adaptive method and adaptive device of service veneer
CN103401631A (en) * 2013-08-02 2013-11-20 桂林南方通信设备工程公司 Time slot dynamic allocation circuit for digital communication equipment and running method thereof
CN103401631B (en) * 2013-08-02 2015-07-15 桂林南方通信设备工程公司 Time slot dynamic allocation circuit for digital communication equipment and running method thereof
CN106937313A (en) * 2015-12-29 2017-07-07 中国电信股份有限公司 Equipment data transmission method, dispensing device and receive-transmit system
CN106937313B (en) * 2015-12-29 2020-02-28 中国电信股份有限公司 Equipment data transmission method, sending device and transceiving system
WO2018027708A1 (en) * 2016-08-09 2018-02-15 邦彦技术股份有限公司 Data transmission method and apparatus
WO2018137569A1 (en) * 2017-01-26 2018-08-02 华为技术有限公司 Data sending method and apparatus, and data receiving method and apparatus
CN108365886A (en) * 2018-02-13 2018-08-03 北京空间飞行器总体设计部 Network data store and forward mode between a kind of time division multiplexing star
CN108365886B (en) * 2018-02-13 2020-07-14 北京空间飞行器总体设计部 Time division multiplexing inter-satellite network data storing and forwarding method
CN115051950A (en) * 2022-06-23 2022-09-13 南京邮电大学 Adaptive data forwarding system and method for different service types
CN115051950B (en) * 2022-06-23 2023-08-18 南京邮电大学 Self-adaptive data forwarding system and method for different service types

Similar Documents

Publication Publication Date Title
US10771177B2 (en) Method for transmitting client signal in optical transport network, and optical transport device
US7359331B2 (en) Alarm transfer method and wide area Ethernet network
CA2391672C (en) Transport network with circuitry for monitoring packet path accommodated in stm path
US8705570B2 (en) Communication device and communication method
US20030137975A1 (en) Ethernet passive optical network with framing structure for native Ethernet traffic and time division multiplexed traffic having original timing
KR20220107030A (en) Data transmission method, apparatus, terminal equipment and storage medium
CN101345612A (en) Data transmission method and device based on time division multiplexing link
CN104580031B (en) POS based on multi-protocols link encapsulation technology separates frame framing device and method
EP3832914A1 (en) Oam message transmission method, sending device, receiving device, and readable storage device
JP2007110457A (en) Transmission apparatus
EP1248420B1 (en) Method and apparatus for mapping fast ethernet packets in SONET containers over a radio-link system
JPH11505378A (en) Point-to-multipoint broadband service drop with multiple time slot return channels for customer premises equipment
US20160028474A1 (en) Method of resizing a protected oduflex connection in an optical transport network
US6731654B1 (en) Communication system overhead channel
CN101217452B (en) A TDM operation transmission method, device and system by packet switching network
CN113574826B (en) Method and device for synchronizing messages by interactive clock
CN1747606B (en) Service data transmission method and apparatus thereof
US7672330B2 (en) Methods for sending and receiving network management messages and/or control messages
CN100499508C (en) Network management method
US7633971B1 (en) Method and system for transport of packet-based datastreams over frame-based transport systems employing physically diverse transmission channels
CN1980187A (en) Network-unit apparatus management information transmission method and apparatus and network-unit apparatus
EP2443777B1 (en) Maintaining time-division multiplexing over pseudowire connections during network outages
WO2004028052A1 (en) Method for protection of ethernet traffic in optical ring networks
JP3245333B2 (en) Phase jump prevention method for CBR signal
EP1100222B1 (en) Detection of previous section fail for a transparent tributary

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20090114