CN101184098B - Data transmission method and transmission apparatus - Google Patents

Data transmission method and transmission apparatus Download PDF

Info

Publication number
CN101184098B
CN101184098B CN2007101986075A CN200710198607A CN101184098B CN 101184098 B CN101184098 B CN 101184098B CN 2007101986075 A CN2007101986075 A CN 2007101986075A CN 200710198607 A CN200710198607 A CN 200710198607A CN 101184098 B CN101184098 B CN 101184098B
Authority
CN
China
Prior art keywords
hom
frame
single frames
payload
data transmission
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.)
Expired - Fee Related
Application number
CN2007101986075A
Other languages
Chinese (zh)
Other versions
CN101184098A (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
Priority to CN2007101986075A priority Critical patent/CN101184098B/en
Publication of CN101184098A publication Critical patent/CN101184098A/en
Priority to PCT/CN2008/073451 priority patent/WO2009086774A1/en
Application granted granted Critical
Publication of CN101184098B publication Critical patent/CN101184098B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone

Abstract

The invention discloses a method of data transmission, which comprises the following steps: the payload part that needs to convert data frames is obtained; the obtained payload part is added to an HOM frame head in a data link layer to form an HOM single frame; the HOM frame head comprises message type and the payload length; a plurality of HOM single frames are carried in an Ethernet frame as the payload, and the Ethernet frame is sent to an destination terminal based on the route information. The invention also provides a method of data transmission, which comprises the following steps: the Ethernet frame carrying the HOM superframe which is composed of a plurality of HOM single frames as the payload is received; the HOM single frames are made by adding the payload part that needs to convert data frames to the HOM frame head; the HOM single frames are separated based on the number of HOM single frames; the payload part of all HOM single frames are read and reduced into the data frames before the conversion. Correspondingly, the invention also provides a device for data transmission. The invention has the advantages of improved data transmission efficiency.

Description

Data transmission method and transmitting device
Technical field
The present invention relates to communication technical field, be specifically related to a kind of data transmission method and transmitting device.
Background technology
In the middle of present data communication, exist multiple transport protocols, during the transmission data, generally all involve the data that the data that need will be carried on a kind of link layer protocol are converted to another kind of link layer protocol.During conversion, general similar OSI (the Open System Interconnect that adopts, the mode of the conversion of 7 layer protocol models open system interconnection), separate layer by layer, the head of each layer protocol is removed, obtain after the data itself that need, again data are added another kind of protocol header, thereby finish the conversion of agreement.HDLC (High Data Link Control for example, High-Level Data Link Control) frame need convert ethernet frame to and transmits, then HDLC agreement and Ethernet protocol utilize IP (the Internet Protocol on upper strata, internet protocol) network layer protocol such as agreement carries out transfer, carry out the conversion of link layer protocol, a HDLC frame transmits after being converted into an ethernet frame more at last.
In research and practice process to prior art, the inventor finds that there is following problem in prior art: under the data transfer mode of prior art, for example when being carried on HDLC frame in the HDLC point-to-point link and being converted to the ethernet frame that on ethernet link, transmits, when transmission payload user data length actual in the HDLC frame short (when not waiting to the hundreds of byte) as several bytes, the data length of transmission is far smaller than MTU (the Maximum Transmission Unit of ethernet link layer ethernet frame, MTU) length (1500 byte), and the Frame number of transmission more for a long time, the efficiency of transmission of Ethernet can be very low, waste CPU (Central Processing Unit, the central processing unit) disposal ability of system significantly.
Summary of the invention
The technical problem that the embodiment of the invention will solve provides a kind of data transmission method and transmitting device, can improve data transmission efficiency.
For solving the problems of the technologies described above, embodiment provided by the present invention is achieved through the following technical solutions:
The embodiment of the invention provides a kind of data transmission method, comprising: obtain the payload part that needs the translation data frame; In data link layer the described payload part of obtaining is added the HOM frame head and form the HOM single frames, described HOM frame head contains type of message and payload length; A plurality of described HOM single frames are carried in the ethernet frame as payload, and described ethernet frame are sent to destination according to routing iinformation.
The embodiment of the invention provides a kind of data transmission method, comprising: receive by the HOM single frames and form the ethernet frame of HOM multi-frame as the payload carrying, described HOM single frames adds the HOM frame head by the payload part of need translation data frame and forms; The HOM single frames is separated the Frame before reading the payload part of each HOM single frames and being reduced into conversion according to HOM single frames number.
The embodiment of the invention provides a kind of data transmission device, comprising: first processing unit is used to obtain the payload part that needs the translation data frame; Second processing unit is used for adding the HOM frame head in the payload part that data link layer is obtained described first processing unit and forms the HOM single frames, and described HOM frame head contains type of message and payload length; The 3rd processing unit is used for a plurality of HOM single frames that described second processing unit obtains are carried on ethernet frame as payload, and according to routing iinformation described ethernet frame is sent to destination.
The embodiment of the invention provides a kind of data transmission device, comprising: receiving element, and be used to receive by the HOM single frames and form the ethernet frame of HOM multi-frame as the payload carrying, described HOM single frames adds the HOM frame head by the payload part of need translation data frame and forms; Processing unit is used for according to HOM single frames number the HOM single frames being separated, the Frame before reading the payload part of each HOM single frames and being reduced into conversion.
Technique scheme as can be seen, embodiment of the invention technical scheme is by forming the HOM single frames by the translation data frame in data link layer, and a plurality of described HOM single frames are carried on as payload carry out multiplexing transmission in the ethernet frame, thereby made full use of the MTU length of ethernet frame, improved data transmission of Ethernet efficient greatly.Simultaneously,, do not need to resemble and utilize other layer protocols to change the prior art because just can realize conversion in same data link layer, therefore simpler.
Description of drawings
Fig. 1 is an embodiment of the invention data transmission method flow chart;
Fig. 2 is the HOM single frames form schematic diagram that the embodiment of the invention proposes;
Fig. 3 is the frame head form schematic diagram of the HOM single frames of embodiment of the invention proposition;
Fig. 4 is the HOM multi-frame form schematic diagram that the embodiment of the invention proposes;
Fig. 5 is the HOM type ethernet frame format schematic diagram that the embodiment of the invention proposes;
Fig. 6 is application example one a scheme schematic diagram of the present invention;
Fig. 7 is application example two scheme schematic diagrames of the present invention;
Fig. 8 is embodiment of the invention data transmission device one structural representation;
Fig. 9 is embodiment of the invention data transmission device two structural representations.
Embodiment
The embodiment of the invention provides a kind of data transmission method, can improve data transmission efficiency.
The embodiment of the invention proposes a kind of HOM (HDLC OVER MAC, the HDLC message packet is carried on MAC (Media Access Control, media interviews control) layer) single frames and HOM multi-frame, transmit by Ethernet after will needing the data converted frame to convert the ethernet frame of HOM type to according to HOM single frames and HOM multi-frame, thereby improve data transmission efficiency.Needing the translation data frame to illustrate with the HDLC frame in the embodiment of the invention but be not limited thereto, for example can be Frame etc. among the PPP (Point to Point Protocol, peer-peer protocol).
Seeing also Fig. 1, is embodiment of the invention data transmission method flow chart, comprises step:
Step 101, convert the HDLC frame to the HOM single frames;
Receive the HDLC frame in data link layer from the HDLC point-to-point link, the payload user data in the HDLC frame is separated with other parts, and retention data payload part only, described payload user data part obtained.For the payload user data in the HDLC frame partly adds the HOM frame head, form a HOM single frames then.
Below HOM single frames that the embodiment of the invention is proposed describe in detail.
Seeing also Fig. 2, is the HOM single frames form schematic diagram that the embodiment of the invention proposes.
HOM single frames (HOM Frame) comprises frame head territory (HOM Head), HOM payload field (HOMPayLoad) and region filling (PAD).
Wherein, HOM single frames region filling (PAD) is an option, can determine whether keeping this territory according to different CPU.On 32 bit CPUs, for the convenience of CPU addressing, make each HOM single frames all from even address, can fill 0~3 byte to HOM PayLoad here, carry out long word (nybble) alignment.
Seeing also Fig. 3, is the frame head form schematic diagram of the HOM single frames of embodiment of the invention proposition.The frame head of HOM single frames has comprised the management information of HOM single frames, comprising: source HDLC link No. Local Link ID, type of message HOM Type and the payload length Len of the purpose HDLC link No. Peer Link ID of opposite end, local terminal.
The concrete introduction sees also following table 1.
Bit Bit Title Describe
LW0:31:16 Peer?Link?ID Physics (virtual) link No. of sign peering protocol
LW0:15:0 Local?LinkID Physics (virtual) link No. of sign local terminal agreement
LW1:31:16 HOM?Type The type of HOM message, it is defined as follows: 0x0000: keep 0x0001: data message 0x0002: back-pressure request message 0x0003: the back-pressure response message other: keep
LW1:15:0 Len HOM frame payload length does not comprise HOM head length degree and the length of the filling added for long word alignment
Table 1
In step 101, can obtain the purpose HDLC link No. of opposite end, and the source HDLC link No. of local terminal and the purpose HDLC link No. of opposite end are filled in the frame head of HOM single frames by searching the routing table of setting up in advance.Because in routing table, comprise at least: the source HDLC link No. of local terminal; The source MAC of local terminal; The target MAC (Media Access Control) address of opposite end; The purpose HDLC link No. of opposite end.Setting up routing table can utilize IP agreement or other agreements to carry out handshake communication to finish.Because the source HDLC link No. of local terminal is known, and the source HDLC link No. of local terminal and the purpose HDLC link No. of opposite end are one to one, so in routing table, find the purpose HDLC link No. of opposite end according to the source HDLC link No. of local terminal, and the source HDLC link No. of local terminal and the purpose HDLC link No. of opposite end be filled in the frame head of HOM single frames.
Step 102, the HOM single frames is formed the HOM multi-frame;
A plurality of HOM single frames of above-mentioned pattern are connected together, add the frame head of HOM multi-frame, form a HOM multi-frame.
Seeing also Fig. 4, is the HOM multi-frame form schematic diagram that the embodiment of the invention proposes.
HOM multi-frame (HOM MultiFrame) is made up of frame head and a plurality of HOM single frames of HOM multi-frame.
The frame head of HOM multi-frame comprises payload total length (HOM LENGTH) territory of HOM single frames sum (HOM NUMBER) territory and all HOM single frames.
HOM NUMBER territory comprises the number of HOM single frames in the expression HOM multi-frame; The HOMLENGTH territory is the payload length sum of all HOM single frames in the HOM multi-frame, comprises HOM frame payload length and the length for the alignment of assurance long word is filled.
A HOM multi-frame can comprise a plurality of HOM single frames.HOM single frames number and length are not limited in the HOM multi-frame.Be the border of determining whole frame according to the length field in the HOM single frames frame head in the HOM multi-frame, just add that by HOM single frames frame head value in the length field in the HOM single frames frame head determines the scope of a HOM single frames.It should be noted that, can determine whether to add the PAD territory when determining the scope of a HOM single frames here as required.
Step 103, the HOM multi-frame is formed ethernet frame;
For the HOM multi-frame adds the Ethernet frame head, form a HOM type ethernet frame.
In order to realize that the HDLC frame is formed one group of multi-frame to be transmitted on Ethernet, realize HDLC OVERMAC, the embodiment of the invention on the basis of Ethernet protocol 802.1Q in the ethernet frame of newly-increased a kind of HOM type, the HOM multi-frame carries on it as the payload of ethernet frame.
Seeing also Fig. 5, is the HOM type ethernet frame format schematic diagram that the embodiment of the invention proposes.
HOM type ethernet frame comprises: ethernet frame frame head territory, HOM multi-frame territory, PAD territory (optional), FCS (Frame Check Sequence, FCS) territory.
Wherein, ethernet frame frame head territory comprises following content:
DA territory (Destination MAC, purpose Media Access Control address); SA territory (Source MAC, source Media Access Control address); The Tag territory, the 802.1Q tag head of four bytes; Type territory, i.e. type of message.
Tag has comprised the TPID (Tag Protocol Identifier, tag protocol identifier) of 2 byte lengths and the TCI (Tag Control Information, tag control information) of 2 byte lengths.TPID is the new type of IEEE (Institute of Electrical and Electronics Engineers, institute of electrical and electronic engineers) definition, shows that this is a frame that adds the 802.1Q label.TPID has comprised a fixing value 0x8100.TCI comprises the control information of frame, comprises following element: priority P riority, CFI (Canonical Format Indicator, canonical Format Indicator), VLAN ID (VLAN Identified, VLAN ID).Priority, length is 3bits, and it indicates the priority of frame, and one to have 8 kinds of priority be priority 0-7; CFI, length is 1bit, the CFI value is that 0 explanation is a cannonical format, 1 is non-canonical format, CFI be used in indicate in token ring/source routing FDDI media access method in the encapsulated frame with the bit order information of address; VLAN ID, length is 12, indicates the ID of VLAN, 4096 altogether, each packet of supporting the switch of 802.1Q agreement to send out all comprises this territory, and oneself to belong to which VLAN (Virtual Local Area Network) be VLAN to indicate).
Type territory field is defined as follows: 0x0800, expression IP type; 0x0806, expression ARP type; 0x0F20, expression HDLC over MAC type ethernet frame is called for short HOM type ethernet frame.Here represent HOM type ethernet frame with this Type value of 0x0F20, also can select other numerical value according to actual needs and represent.
The PAD territory is option, and when ethernet frame total length less than 64 bytes, needing to fill the PAD territory is that total length reaches 64 bytes, guarantees to satisfy the ethernet frame minimum length.
In this step 103, search in advance the routing table of setting up,, find out the target MAC (Media Access Control) address of opposite end, and the target MAC (Media Access Control) address of the source MAC of local terminal and opposite end is filled in the middle of the ethernet frame frame head by local terminal source HDLC link No. and source MAC.
Need explanation be, ethernet frame described here is that the ethernet frame with band Tag territory illustrates but is not limited to this, and for not with the ethernet frame in Tag territory, its theory of constitution is the same.
Step 104, ethernet frame is sent according to routing iinformation.
After forming HOM type ethernet data frame, be transferred in the middle of another system by Ethernet.Comprised routing iinformation in the HOM type ethernet data frame: the source HDLC link No. of local terminal; The source MAC of local terminal; The target MAC (Media Access Control) address of opposite end; Therefore the purpose HDLC link No. of opposite end, sends ethernet frame by Ethernet according to the opposite end target MAC (Media Access Control) address.
After the opposite end receives ethernet frame, ethernet frame is separated and be reduced into the HDLC frame, promptly carry out reverse conversion process: ethernet frame->the HOM multi-frame->the HOM single frames->the HDLC frame.Oppositely conversion process need be separated each frame head layer by layer, at first the Ethernet frame head is separated, and according to the payload length of sum of the HOM single frames in the middle of the HOM multi-frame and HOM single frames, one by one the HOM single frames is separated from multi-frame then.
Before reading of data, HOM payload total length in payload length addition in all HOM single frames and the HOM multi-frame frame head is carried out length check, as identical, then the payload user data of HDLC frame can be read out from the HOM single frames one by one, at last it is reduced into the HDLC frame, the HDLC frame is sent to the destination according to opposite end purpose HDLC link No..
Pass through said method, in an ethernet frame, carry a plurality of HOM single frames by the conversion of HDLC frame, can make full use of the MTU length of ethernet frame, improve efficiency of transmission greatly, and the ethernet frame of HDLC frame and HOM type just can be changed in same data link layer, do not need to utilize other layer protocols to change, also simpler.
Below introduce concrete application example of the present invention in detail.
Seeing also Fig. 6, is application example one scheme schematic diagram of the present invention.
In the communication system, have following application scenarios as shown in Figure 6, have many HDLC point-to-point links between A system and the C system, there are many HDLC point-to-point links in B system and d system, and use Ethernet to transmit between A system and B system.
In the middle of this application scenarios, between A system and the C system, and have many HDLC links between B system and the d system, and the length of the HDLC frame that transmits between them is short and quantity is more, and between A system and B system, can utilize Ethernet to transmit.At this moment, the technical scheme that can utilize the embodiment of the invention to provide just, payload user data in the HDLC frame is partly formed the HOM single frames with the payload user data after other parts are separated, a plurality of HOM single frames are formed the HOM multi-frame, for adding the ethernet frame frame head, the HOM multi-frame forms ethernet frame, transmit then, can increase the transmission bandwidth between A, the B system, thereby improve the data transmission efficiency between system greatly.For example the A system receives the HDLC frame that the C system sends by the HDLC link, payload user data in the HDLC frame is partly formed the HOM single frames with the payload user data after other parts are separated, a plurality of HOM single frames are formed the HOM multi-frame, for adding the ethernet frame frame head, the HOM multi-frame forms ethernet frame, be transferred to the B system according to target MAC (Media Access Control) address and by Ethernet then, after the B system receives ethernet frame, the Ethernet frame head is separated, then according to the payload length of the HOM single frames in the middle of HOM multi-frame sum and HOM single frames, one by one the HOM single frames is separated from multi-frame, from the HOM single frames, read the payload user data of HDLC frame one by one, at last it is reduced into the HDLC frame, gives d system by the HDLC link transmission.
It should be noted that, be two-way transmission course between each system among the figure, above-mentionedly just is described for example to the d system direction with the C system, and the principle of reverse transfer process is identical.During reverse transfer, the B system carries out the HDLC frame is finally converted to the process of ethernet frame, and the A system carries out ethernet frame is reduced into the process of HDLC frame.
Seeing also Fig. 7, is application example two scheme schematic diagrames of the present invention.
As shown in Figure 7, in GSM (Global System for Mobile Communications, global system for mobile communications), there are A processing unit and A ' processing unit in the middle of BSC (Base Station Controller, the base station controller) controller system.The conduct of A processing unit is connected with B, C, D...N, N+1 base station system respectively by the HDLC link with the interface processing unit that other veneers directly link to each other.
In the middle of the original design of prior art, be only to have the A processing unit, receive the data of B, C, D...N, the transmission of N+1 system when the A processing unit after, deliver to application layer and carry out data processing, the defective of this scheme is when the other system that is connected with the A processing unit increases, the A processing unit need be by the increase that will be directly proportional of HDLC link and each system transmissions and the data that are transferred to application layer process thereupon, when the quantity of base station increases to a certain degree, the A processing unit also will become the bottleneck portion of whole system, and restriction BSC expansion connects the ability of base station.And in the embodiment of the invention two schemes, be in the BSC controller system, to adopt A processing unit and A ' processing unit to replace the scheme of original A processing unit, the A processing unit only keeps the function of tonic chord of interface processing unit, and the A ' processing unit of telling just is responsible for handling the data of original application layer.The A processing unit is received after the HDLC frame by the HDLC link, the HDLC frame is got its payload form the HOM single frames, a plurality of HOM single frames are formed the HOM multi-frame, form ethernet frame, be transferred to A ' processing unit according to target MAC (Media Access Control) address and by Ethernet for the HOM multi-frame adds the ethernet frame frame head.A ' processing unit is after receiving ethernet frame, the Ethernet frame head is separated, then according to the payload length of the HOM single frames in the middle of HOM multi-frame sum and HOM single frames, one by one the HOM single frames is separated from multi-frame, separate HOM single frames frame head at last, only remaining HDLC payload is given application layer and is gone to handle.Like this, just will need the data of A processing unit processes originally, then by A ' processing unit processes, make the function singlenessization of A processing unit, and its ability as the interface processing unit is improved, and solved the bottleneck problem of former existence, improved the transmission performance of whole system.
Need to prove that in application example one, A system and B system HDLC link separately is that physics exists, during maintaining routing list, only the HDLC link No. of local terminal and opposite end and MAC Address need be inserted routing table and get final product; And in application example two, owing to do not have the HDLC physical link in the A ' processing unit, this moment can a virtual A ' processing unit the HDLC link, the physics HDLC link of A processing unit and the virtual HDLC link association of A ' processing unit are got up to insert routing table, equally the MAC Address of A processing unit and the MAC Address of A ' processing unit are also inserted routing table, connect by Ethernet at A and A ' processing unit.
Foregoing describes the data transmission method of the embodiment of the invention in detail, and corresponding, the embodiment of the invention provides a kind of data transmission device.
Seeing also Fig. 8, is embodiment of the invention data transmission device one structural representation.
As shown in Figure 8, data transmission device comprises first processing unit 81, second processing unit 82 and the 3rd processing unit 83.
First processing unit 81 is used to obtain the payload part that needs the translation data frame.Suppose that needing the translation data frame is the HDLC frame, after first processing unit 81 is received the HDLC frame from the HDLC point-to-point link, other parts of HDLC frame are separated, only payload user data is partly kept.
Second processing unit 82 is used for adding the HOM frame head in the payload part that data link layer is obtained described first processing unit 81 and forms the HOM single frames.Each HOM single frames comprises frame head territory (HOMHead), HOM payload field (HOM PayLoad) and region filling (PAD), and wherein region filling is an option.The payload part of the need translation data frame that first processing unit 81 obtains is just as the HOM payload of HOM single frames.The frame head of HOM single frames has comprised the management information of HOM single frames, comprising: source HDLC link No. Local Link ID, type HOM Type and the payload length Len of the purpose HDLC link No. Peer Link ID of opposite end, local terminal.
The 3rd processing unit 83 is used for a plurality of HOM single frames that described second processing unit 82 obtains are carried on ethernet frame as payload, and according to routing iinformation described ethernet frame is sent to destination.
Described the 3rd processing unit 83 specifically is a plurality of described HOM single frames to be formed the HOM multi-frame be carried in the ethernet frame as payload.HOM multi-frame (HOM MultiFrame) is made up of frame head and a plurality of HOM single frames of HOM multi-frame.The frame head of HOM multi-frame comprises payload total length (HOM LENGTH) territory of HOM single frames sum (HOMNUMBER) territory and all HOM single frames.
Ethernet frame described here is meant HOM type ethernet frame, comprising: ethernet frame frame head territory, HOM multi-frame territory, PAD territory (optional), FCS territory.Wherein, ethernet frame frame head territory comprises following content: DA territory (Destination MAC, target MAC (Media Access Control) address); SA territory (Source MAC, source MAC); The Tag territory, the 802.1Q tag head of four bytes; Type territory, i.e. type of message.Type territory field adopts 0x0F20, and expression HDLC over MAC type ethernet frame is called for short HOM type ethernet frame.The PAD territory is option, and when ethernet frame total length less than 64 bytes, needing to fill the PAD territory is that total length reaches 64 bytes, guarantees to satisfy the ethernet frame minimum length.
Routing iinformation comprises in the ethernet frame: the source HDLC link No. of local terminal; The source MAC of local terminal; The target MAC (Media Access Control) address of opposite end; The purpose HDLC link No. of opposite end.When transmitting by Ethernet, be that the target MAC (Media Access Control) address according to the opposite end transmits, when by the HDLC link transmission, be that the purpose HDLC link No. according to the opposite end transmits.
Seeing also Fig. 9, is embodiment of the invention data transmission device two structural representations.
As shown in Figure 9, described data transmission device comprises: receiving element 94 and processing unit 95.
Receiving element 94 is used for the ethernet frame that receiving end/sending end sends, and described ethernet frame is a plurality of HOM single frames to be formed the HOM multi-frame carry as payload, and described HOM single frames adds the HOM frame head by the payload part of need translation data frame and forms.Each HOM single frames comprises frame head territory (HOM Head), HOM payload field (HOM PayLoad) and region filling (PAD), and wherein region filling is an option.
Processing unit 95 is used for according to HOM single frames number a plurality of HOM single frames being separated, the Frame before reading the payload part of each HOM single frames and being reduced into conversion.
Described processing unit 95 comprises: separative element 951, verification unit 952 and reduction unit 953.
Separative element 951 is used for according to HOM single frames number a plurality of HOM single frames being separated.
Verification unit 952, the payload total length that frame head identified with the HOM multi-frame of ethernet frame after the payload length addition of all HOM single frames that are used for separative element 951 is separated carries out verification.
Reduction unit 953 is used for check results in described verification unit 952 and is length when identical, the Frame before reading the payload part of each HOM single frames and being reduced into conversion.
In sum, embodiment of the invention technical scheme is by forming the HOM single frames by the translation data frame in data link layer, and a plurality of described HOM single frames are carried on as payload carry out multiplexing transmission in the ethernet frame, thereby made full use of the MTU length of ethernet frame, improved data transmission of Ethernet efficient greatly.Simultaneously,, do not need to resemble and utilize other layer protocols to change the prior art because just can realize conversion in same data link layer, therefore simpler.
Further, after destination receives described ethernet frame, can a plurality of HOM single frames be separated the Frame before reading the payload part of each HOM single frames and being reduced into conversion in the embodiment of the invention technical scheme according to HOM single frames number.
More than a kind of data transmission method and transmitting device that the embodiment of the invention provided are described in detail, for one of ordinary skill in the art, thought according to the embodiment of the invention, part in specific embodiments and applications all can change, in sum, this description should not be construed as limitation of the present invention.

Claims (11)

1. a data transmission method is characterized in that, comprising:
Obtain the payload part that needs the translation data frame;
In data link layer the described payload part of obtaining is added the High-Level Data Link Control message packet and be carried on MAC layer HOM frame head composition HOM single frames, described HOM frame head contains type of message and payload length;
A plurality of described HOM single frames are formed the HOM multi-frame be carried in the ethernet frame, and described ethernet frame is sent to destination according to routing iinformation as payload.
2. data transmission method according to claim 1 is characterized in that:
Further comprise behind the described payload part interpolation HOM frame head that will obtain and add filling field composition HOM single frames.
3. data transmission method according to claim 1 and 2 is characterized in that:
The frame head of described HOM multi-frame comprises the payload total length of HOM single frames number and all HOM single frames.
4. data transmission method according to claim 1 is characterized in that:
Described routing iinformation comprises local terminal source link No. and source media interviews control MAC Address, opposite end purpose link No. and purpose media interviews control MAC Address.
5. data transmission method according to claim 1 is characterized in that:
Described need the translation data frame be High-Level Data Link Control HDLC frame.
6. a data transmission method is characterized in that, comprising:
Reception is carried on MAC layer HOM single frames by the High-Level Data Link Control message packet and forms the ethernet frame of HOM multi-frame as the payload carrying, and described HOM single frames adds the HOM frame head by the payload part of need translation data frame and forms;
The HOM single frames is separated the Frame before reading the payload part of each HOM single frames and being reduced into conversion according to HOM single frames number.
7. data transmission method according to claim 6 is characterized in that:
Describedly further comprise after according to HOM single frames number the HOM single frames being separated:
With after the payload length addition of all HOM single frames of separating with ethernet frame in the payload total length that frame head identified of HOM multi-frame carry out verification, if identical, the Frame before then reading the payload part of each HOM single frames and being reduced into conversion.
8. a data transmission device is characterized in that, comprising:
First processing unit is used to obtain the payload part that needs the translation data frame;
Second processing unit, be used for adding the High-Level Data Link Control message packet in the payload part that data link layer is obtained described first processing unit and be carried on MAC layer HOM frame head composition HOM single frames, described HOM frame head contains type of message and payload length;
The 3rd processing unit is used for that a plurality of HOM single frames that described second processing unit obtains are formed the HOM multi-frame and is carried on ethernet frame as payload, and according to routing iinformation described ethernet frame sent to destination.
9. data transmission device according to claim 8 is characterized in that:
The frame head of described HOM multi-frame comprises the payload total length of HOM single frames number and all HOM single frames.
10. a data transmission device is characterized in that, comprising:
Receiving element is used to receive and is carried on MAC layer HOM single frames by the High-Level Data Link Control message packet and forms the ethernet frame of HOM multi-frame as the payload carrying, and described HOM single frames adds the HOM frame head by the payload part of need translation data frame and forms;
Processing unit is used for according to HOM single frames number the HOM single frames being separated, the Frame before reading the payload part of each HOM single frames and being reduced into conversion.
11. data transmission device according to claim 10 is characterized in that, described processing unit comprises:
Separative element is used for according to HOM single frames number the HOM single frames being separated;
Verification unit, the payload total length that frame head identified with the HOM multi-frame of ethernet frame after the payload length addition of all HOM single frames that are used for separative element is separated carries out verification;
Reduction unit is used for check results in described verification unit and is length when identical, the Frame before reading the payload part of each HOM single frames and being reduced into conversion.
CN2007101986075A 2007-12-11 2007-12-11 Data transmission method and transmission apparatus Expired - Fee Related CN101184098B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2007101986075A CN101184098B (en) 2007-12-11 2007-12-11 Data transmission method and transmission apparatus
PCT/CN2008/073451 WO2009086774A1 (en) 2007-12-11 2008-12-11 A method, an apparatus and a system for transmitting data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101986075A CN101184098B (en) 2007-12-11 2007-12-11 Data transmission method and transmission apparatus

Publications (2)

Publication Number Publication Date
CN101184098A CN101184098A (en) 2008-05-21
CN101184098B true CN101184098B (en) 2011-11-02

Family

ID=39449180

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101986075A Expired - Fee Related CN101184098B (en) 2007-12-11 2007-12-11 Data transmission method and transmission apparatus

Country Status (2)

Country Link
CN (1) CN101184098B (en)
WO (1) WO2009086774A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184098B (en) * 2007-12-11 2011-11-02 华为技术有限公司 Data transmission method and transmission apparatus
US10142250B2 (en) * 2015-01-26 2018-11-27 Hfi Innovation Inc. Maximum transmission unit size reporting using AT commands
CN105635998B (en) * 2015-12-25 2019-05-21 哈尔滨海能达科技有限公司 A kind of data uploading method, device and terminal
WO2017120970A1 (en) * 2016-01-17 2017-07-20 衣佳鑫 Method and system for information fusion based on internet of things
CN108243035B (en) 2016-12-26 2021-04-09 华为技术有限公司 DCN message processing method, network equipment and network system
CN115225711A (en) * 2022-06-01 2022-10-21 裕太微(上海)电子有限公司 Ethernet equipment of high-efficient transmission
CN115550104B (en) * 2022-12-06 2023-08-15 北京华环电子股份有限公司 AXI bus expansion method, device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1302140A (en) * 1999-12-29 2001-07-04 深圳市华为电气股份有限公司 Data enchange device and method
CN1316146A (en) * 1999-07-27 2001-10-03 信息产业部武汉邮电科学研究院 Interfacing apparatus and method for adapting ethernet directly to physical channel
JP2005086619A (en) * 2003-09-10 2005-03-31 Fujitsu Ltd Monitoring control communication system of sonet/sdh device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6587476B1 (en) * 1999-05-26 2003-07-01 3 Com Corporation Ethernet frame encapsulation over VDSL using HDLC
CN1268092C (en) * 2001-04-18 2006-08-02 信息产业部武汉邮电科学研究院 Interface device and method for direct match of Ethernet with physical channel
US7570643B2 (en) * 2003-02-12 2009-08-04 Cisco Technology, Inc. Efficient framing procedure for variable length packets
KR100617734B1 (en) * 2003-03-19 2006-08-28 삼성전자주식회사 Implementing Method of Logical MAC in EPON and Computer Readable Recoding Medium for Performing it
US8417834B2 (en) * 2003-09-10 2013-04-09 Broadcom Corporation Unified infrastructure over ethernet
EP1605618A1 (en) * 2004-06-11 2005-12-14 Alcatel Bandwidth optimization in transport of Ethernet frames
CN101040489B (en) * 2004-10-22 2012-12-05 思科技术公司 Network device architecture for consolidating input/output and reducing latency
FR2887387B1 (en) * 2005-06-17 2007-08-31 Alcatel Sa ENCAPSULATION OF E1-TYPE FRAME UNDER ETHERNET
CN1992670B (en) * 2005-12-30 2010-08-11 华为技术有限公司 Method for relay of Ethernet carrying frame
CN101184098B (en) * 2007-12-11 2011-11-02 华为技术有限公司 Data transmission method and transmission apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1316146A (en) * 1999-07-27 2001-10-03 信息产业部武汉邮电科学研究院 Interfacing apparatus and method for adapting ethernet directly to physical channel
CN1302140A (en) * 1999-12-29 2001-07-04 深圳市华为电气股份有限公司 Data enchange device and method
JP2005086619A (en) * 2003-09-10 2005-03-31 Fujitsu Ltd Monitoring control communication system of sonet/sdh device

Also Published As

Publication number Publication date
CN101184098A (en) 2008-05-21
WO2009086774A1 (en) 2009-07-16

Similar Documents

Publication Publication Date Title
CN101160850B (en) Method and device for forwarding packet
CN101184098B (en) Data transmission method and transmission apparatus
US8160106B2 (en) Method, device and system for transmitting Ethernet packets
US8649387B2 (en) Method and system for fibre channel and ethernet interworking
CN101133407B (en) Metro Ethernet with flexible broadcast and service instance domain
CN101258719B (en) Method to extend the physical reach of an Infiniband network
EP2100406B1 (en) Method and apparatus for implementing multicast routing
US20090207860A1 (en) Method, apparatus and system for transferring data
US20130215810A1 (en) Method and device for transmitting an ipv6 over low power wireless personal area network data packet
CN110875862B (en) Message transmission method and device and computer storage medium
WO2010031324A1 (en) Method, device and system for data transmission
CN100364289C (en) Method for implementing layer-2 equipment interconnection in resilient packet ring (RPR) based network
US20060227752A1 (en) Packet transmission method and apparatus
JP2006087107A (en) Method and system for bridging traffic in resilient packet ring network
CN101882975B (en) Method for transmitting data by using preamble of Ethernet frame
WO2006128369A1 (en) Ethernet access device and method thereof
CN101179556B (en) Method and apparatus for conveying optical fibre channel service
EP2071808B1 (en) Methods and a system and devices for ipv6 datagram transmission in the ethernet
US11902172B2 (en) Device and method for transferring identification and/or data flow control information between devices
US8583822B2 (en) Method and system for minimum frame size support for a communication protocol encapsulated over Ethernet
CN103780487B (en) Set up the method and device of Intermediate System-to-Intermediate System neighbours
CN102238063B (en) Message processing method and equipment
CN117041143A (en) Satellite data forwarding method and system based on label switching technology
CN101616155A (en) Be used for method and apparatus to demultiplexing variable size protocol data units
JPH07235949A (en) Bridge device

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111102

Termination date: 20171211