CN103701715A - Method and device for sending and receiving Ethernet data packet based on multiple E1 channels - Google Patents

Method and device for sending and receiving Ethernet data packet based on multiple E1 channels Download PDF

Info

Publication number
CN103701715A
CN103701715A CN201210375012.3A CN201210375012A CN103701715A CN 103701715 A CN103701715 A CN 103701715A CN 201210375012 A CN201210375012 A CN 201210375012A CN 103701715 A CN103701715 A CN 103701715A
Authority
CN
China
Prior art keywords
ethernet data
passage
storage area
data bag
sent
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
CN201210375012.3A
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.)
Comba Network Systems Co Ltd
Original Assignee
Comba Telecom Systems China 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 Comba Telecom Systems China Ltd filed Critical Comba Telecom Systems China Ltd
Priority to CN201210375012.3A priority Critical patent/CN103701715A/en
Publication of CN103701715A publication Critical patent/CN103701715A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a method and device for sending and receiving an Ethernet data packet based on multiple E1 channels. The sending method comprises the following steps: acquiring the Ethernet data packet to be sent, and encoding the Ethernet data packet to be sent; writing the encoded Ethernet data packet to be sent in a selected sending storage area, wherein each E1 channel is correspondingly configured with one sending storage area; sending the Ethernet data packet to be sent through the E1 channel corresponding to the selected sending storage area. Compared to the prior art, the scheme provided by the invention has the advantages that the reliability is improved and the expenditure is reduced.

Description

Ethernet data bag sending, receiving method and device based on multichannel E1 passage
Technical field
The present invention relates to communication technical field, espespecially a kind of Ethernet data bag sending, receiving method and relevant apparatus based on multichannel E1 passage.
Background technology
Europe 30 road pulse code modulation (Pulse Code Modulation, PCM) is called for short E1, and speed is 2.048Mbps, and what China adopted is European E1 standard.Each telecom operators of recent year meet user and the demand of business to bandwidth, on Network infrastructure construction, carry out very large input, in transmission network, mostly provide E1 interface,, this part e1 resource is not fully used, and still has a large amount of e1 resources idle.
From trend of network development, user to the growth of network interconnection demand by the growth being greater than conventional telecommunications business demand, the network management system of operator's equipment of itself will all transfer to based on transmission control protocol (Transmission Control Protocol gradually simultaneously, TCP)/Internet protocol (Internet Protocol, IP) realizes.Ethernet has been the local area network (LAN) transmission means being most widely used at present, Ethernet usings that its cost is low, webmaster is simple, be easy to upgrading and gain universal acceptance as the preferred option that realizes IP transfer of data and access, correspondingly, how to utilize existing abundant e1 resource to transmit Ethernet data bag and also become current study hotspot.
The existing method of utilizing multichannel E1 passage to send Ethernet data bag is: suppose to have N road E1 passage, each Ethernet data bag to be sent need to be split into N part, then this N piece of data is distributed to N road E1 passage, respectively the data encapsulation in each road E1 passage is gone forward side by side after line link control coding in E1 frame, by E1 passage, send to receiving terminal, receiving terminal receives after E1 frame decoding by each road E1 passage, again N E1 frame recombinated, obtain Ethernet data bag, the schematic diagram of transmission, receiving course as shown in Figure 1.This sending method requires each road E1 passage all must normally to work, Ruo You mono-road E1 passage occurs abnormal, and receiving terminal will, because of the E1 frame not receiving on the E1 passage of this road, cannot receive complete Ethernet data bag, visible, this sending method reliability is poor; And owing to all must adding incoming link control coding on the E1 passage of every road, Ethernet data bag to be sent of every like this transmission all needs the expense of N link control coding, serious waste of resources.
In sum, existing method, less stable and the serious waste of resources of utilizing multichannel E1 passage to send Ethernet data bag.
Summary of the invention
The embodiment of the present invention provides a kind of Ethernet data bag sending, receiving method and relevant apparatus based on multichannel E1 passage, in order to solve the existing method of utilizing multichannel E1 passage to send Ethernet data bag, the problem of less stable and serious waste of resources.
An Ethernet data packet transmission method based on multichannel E1 passage, comprising:
Obtain after Ethernet data bag to be sent, described Ethernet data bag to be sent is encoded;
Ethernet data bag to be sent after coding is write to the transmission storage area of choosing, and wherein, one of the corresponding configuration of every road E1 passage sends storage area;
By E1 passage corresponding to transmission storage area of choosing, send described Ethernet data bag to be sent.
An Ethernet data packet transmitter based on multichannel E1 passage, comprising:
Ethernet data bag acquiring unit, for obtaining Ethernet data bag to be sent;
Link control coding unit, encodes for the Ethernet data bag to be sent that described Ethernet data bag acquiring unit is obtained;
Ethernet data bag writing unit, for the Ethernet data bag to be sent after coding is write to the transmission storage area of choosing, wherein, one of the corresponding configuration of every road E1 passage sends storage area;
Ethernet data bag transmitting element, the E1 passage corresponding for the transmission storage area by choosing sends described Ethernet data bag to be sent.
An Ethernet data bag method of reseptance based on multichannel E1 passage, comprising:
The E1 data that the E1 frame decoding receiving by E1 passage is obtained write in the reception storage area that this road E1 passage is corresponding, and wherein, one of the corresponding configuration of every road E1 passage receives storage area; And
To carrying the E1 frame of packet header identification information and carrying the E1 data that obtain after the E1 frame decoding of the bag tail identification information that described packet header identification information is corresponding and carry out mark, determine the E1 data comprise mark and between the length of Ethernet data bag to be received of E1 data, and packet header of Ethernet data bag to be received described in writing;
According to the length in the packet header of Ethernet data bag described to be received, read receipts Ethernet data bag waiting.
An Ethernet data bag receiving system based on multichannel E1 passage, comprising:
E1 frame receiving element, writes for the E1 data that the E1 frame decoding receiving by E1 passage is obtained the reception storage area that this road E1 passage is corresponding, and wherein, one of the corresponding configuration of every road E1 passage receives storage area; And to carrying the E1 frame of packet header identification information and carrying the E1 data that obtain after the E1 frame decoding of the bag tail identification information that described packet header identification information is corresponding and carry out mark, determine the E1 data comprise mark and between the length of Ethernet data bag to be received of E1 data, and packet header of Ethernet data bag to be received described in writing;
Ethernet data bag sensing element, reads receipts Ethernet data bag waiting for the length in the packet header of Ethernet data bag to be received described in basis.
An interface convertor, comprises above-mentioned Ethernet data packet transmitter based on multichannel E1 passage and/or the Ethernet data bag receiving system based on multichannel E1 passage.
Beneficial effect of the present invention is as follows:
Ethernet data bag sending, receiving method and relevant apparatus based on multichannel E1 passage that the embodiment of the present invention provides, this sending method, by obtaining after Ethernet data bag to be sent, is encoded to described Ethernet data bag to be sent; Ethernet data bag to be sent after coding is write to the transmission storage area of choosing, and wherein, one of the corresponding configuration of every road E1 passage sends storage area; By E1 passage corresponding to transmission storage area of choosing, send described Ethernet data bag to be sent.This scheme writes one by an Ethernet data bag to be sent and sends storage area, by the E1 passage corresponding with this transmission storage area, send, that is to say that an Ethernet data bag to be sent only need to send by a road E1 passage, with respect to needing all E1 passages that the mode of an Ethernet data bag to be sent occurs in prior art, improved reliability, even because You Mou road E1 channel failure, also only can cause this Ethernet data bag to be sent on the way to send, the Ethernet data bag to be sent that can not affect other sends; And this scheme only need to be carried out first encoding to an Ethernet data bag to be sent, the mode that need to repeatedly encode to an Ethernet data bag to be sent with respect to prior art, has saved expense.
Accompanying drawing explanation
Fig. 1 be in prior art the transmission of Ethernet data bag, the schematic diagram of receiving course;
Fig. 2 is the flow chart of the Ethernet data packet transmission method based on multichannel E1 passage in the embodiment of the present invention;
Fig. 3 is the structural representation of the Ethernet data packet transmitter based on multichannel E1 passage in the embodiment of the present invention;
Fig. 4 is the structural representation of the preferred Ethernet data packet transmitter based on multichannel E1 passage in the embodiment of the present invention;
Fig. 5 is the flow chart of the Ethernet data bag method of reseptance based on multichannel E1 passage in the embodiment of the present invention;
Fig. 6 is the structural representation of the Ethernet data bag receiving system based on multichannel E1 passage in the embodiment of the present invention;
Fig. 7 is the structural representation of the preferred Ethernet data bag receiving system based on multichannel E1 passage in the embodiment of the present invention;
Fig. 8 is the structural representation of the transducer in the embodiment of the present invention;
Fig. 9 is the link test method schematic diagram in the embodiment of the present invention.
Embodiment
In order to solve the existing method of utilizing multichannel E1 passage to send Ethernet data bag, the problem of less stable and serious waste of resources, the embodiment of the present invention provides a kind of Ethernet data packet transmission method based on multichannel E1 passage, and the flow process of the method as shown in Figure 2, performs step as follows:
S20: obtain after Ethernet data bag to be sent, Ethernet data bag to be sent is encoded.
S21: the Ethernet data bag to be sent after coding is write to the transmission storage area of choosing, and wherein, one of the corresponding configuration of every road E1 passage sends storage area.
Can adopt a memory cell, a block RAM for example, by this memory cell uniform distribution Gei Ge road E1 passage, every like this road E1 passage all disposes one and sends storage area, is used for storing Ethernet data bag to be sent, in order to keep each road E1 channel capacity balanced, the E1 passage that is unlikely to have is congested, and some E1 passages are idle, after getting Ethernet data bag to be sent at every turn, choose one and send storage area, Ethernet data bag to be sent is write to the transmission storage area of choosing.
S22: send Ethernet data bag to be sent by E1 passage corresponding to transmission storage area of choosing.
Each road E1 passage sends the E1 frame in the queue to be sent corresponding with it, the numbering of supposing N road E1 passage be respectively No. 1, No. 2, No. 3 ..., No. N, the numbering of the queue to be sent that this N road E1 passage is corresponding so can for No. 1, No. 2, No. 3 ..., No. N, E1 frame in No. 1 queue to be sent is sent by No. 1 E1 passage, E1 frame in No. 2 queues to be sent is sent by No. 2 E1 passages,, the E1 frame in No. N queue to be sent is sent by N E1 passage.
This scheme writes a transmission storage area by an Ethernet data bag to be sent and sends by the E1 passage corresponding with this transmission storage area, that is to say that an Ethernet data bag to be sent only need to send by a road E1 passage, with respect to needing all E1 passages to send the mode of an Ethernet data bag to be sent in prior art, improved reliability, even because You Mou road E1 channel failure, also only can cause this Ethernet data bag to be sent on the way to send, the Ethernet data bag to be sent that can not affect other sends; And this scheme only need to be carried out first encoding to an Ethernet data bag to be sent, the mode that need to repeatedly encode to an Ethernet data bag to be sent with respect to prior art, has saved expense.
Concrete, Ethernet data bag to be sent is encoded in above-mentioned S20, specifically comprises: in Ethernet data bag to be sent, add packet header identification information and bag tail identification information.
At interpolation packet header, the packet header of Ethernet data bag to be sent identification information, at bag tail, add bag tail identification information, packet header identification information and bag tail identification information are corresponding, are used for showing that this is an Ethernet data bag to be sent.
Concrete, the Ethernet data bag to be sent by after coding in above-mentioned S21 writes the transmission storage area of choosing, specifically comprise: more do not carry the surplus of the transmission storage area of invalid information, determine surplus maximum and do not carry the transmission storage area of invalid information; Packet to be sent after coding is write to definite surplus maximum and do not carry the transmission storage area of invalid information.
E1 passage corresponding to transmission storage area that does not carry invalid information is normally to send Ethernet data bag, and therefore, the transmission storage area that need to can not carry invalid information from these is chosen transmission storage area and sent Ethernet data bag.
Preferably, if record the surplus that each sends storage area in storage area monitoring form, the packet to be sent by after coding in above-mentioned S21 also comprises: upgrade the surplus that writes the transmission storage area after packet to be sent recording in storage area monitoring form after writing definite surplus maximum and not carrying the transmission storage area of invalid information.
Can in storage area monitoring form, record the surplus of each sending zone, can know more intuitively that like this each sends the surplus that storage area can be used, once wherein certain sends in storage area and has write Ethernet data bag to be sent, just there is variation in this surplus that sends storage area, so, just need to upgrade the surplus recording in storage area monitoring form.Can to sending storage area, carry out write operation according to the pointer of preserving in storage area monitoring form.
Preferably, the sending method of above-mentioned Ethernet data bag, also comprises: after receiving the invalid channel alarm information of receiving terminal transmission, the transmission storage area that invalid E1 passage is corresponding adds invalid information.
Whether receiving terminal can detect each road E1 passage according to the TS0 time slot of the E1 frame that carries Ethernet data bag receiving normal, when certain road E1 channel failure being detected, will return to invalid channel alarm information, the numbering of carrying fault E1 passage in invalid channel alarm information, so just can add invalid information at transmission storage area corresponding to fault E1 passage, also just not re-using this E1 passage has sent Ethernet data bag to be sent.
Concrete, E1 passage corresponding to the transmission storage area that passes through to choose in above-mentioned S22 sends Ethernet data bag to be sent, specifically comprise: the data encapsulation of Ethernet data bag to be sent, at least one E1 frame, and is added to the E1 frame after encapsulation in the queue to be sent of the E1 passage that the transmission storage area chosen is corresponding; By E1 passage corresponding to transmission storage area of choosing, send the E1 frame in queue to be sent.
The size of each Ethernet data bag to be sent is indefinite, and the size of data that can send in each E1 frame is certain, therefore, data in an Ethernet data bag to be sent need to be encapsulated in several E1 frames, in transmission storage area corresponding to Er Mei road E1 passage, all may there is Ethernet data bag to be sent, can poll these send storage areas, to from these, send data encapsulation that storage areas obtain E1 frame, then the E1 frame after encapsulation is added in the queue to be sent that this road E1 passage is corresponding, every road E1 passage is a corresponding queue to be sent all.
Preferably, after the E1 frame by after encapsulation in above-mentioned S22 adds in the queue to be sent of the E1 passage that the transmission storage area chosen is corresponding, also comprise: obtain in turn the default detection sign detecting in sign queue, and add in the E1 frame of queue to be sent, wherein, each E1 frame adds a detection sign.
For guaranteeing the reliability of Ethernet data bag transmission, whether normally can detect each road E1 passage, by the data encapsulation of obtaining in E1 frame and after in adding the queue to be sent that this road E1 passage is corresponding to, obtain in turn the default detection sign detecting in sign queue, and add in the E1 frame of queue to be sent, wherein, each E1 frame adds a detection sign.Suppose that the queue of default detection sign is 1B, 5B, just these two signs can be added on respectively in the TS0 of some continuous E1 frames, if that is to say in first E1 frame and add 1B, in second E1 frame, add 5B, in the 3rd E1 frame, add again 1B, in the 4th E1 frame, add again 5B ... whether these detection signs of carrying in the E1 frame that receiving terminal just can receive according to every road E1 passage detect this road E1 passage normal.Here only take and detect sign queue 1B, 5B as example describes, can certainly adopt other detection sign queue.
Based on same inventive concept, the embodiment of the present invention provides a kind of dispensing device of Ethernet data bag, and the structure of this device as shown in Figure 3, comprising:
Ethernet data bag acquiring unit 30, for obtaining Ethernet data bag to be sent.
Link control coding unit 31, encodes for the Ethernet data bag to be sent that Ethernet data bag acquiring unit is obtained.
Ethernet data bag writing unit 32, for the Ethernet data bag to be sent after coding is write to the transmission storage area of choosing, wherein, one of the corresponding configuration of every road E1 passage sends storage area.
Ethernet data bag transmitting element 33, the E1 passage corresponding for the transmission storage area by choosing sends described Ethernet data bag to be sent.
Concrete, above-mentioned link control coding unit 31, for adding packet header identification information and bag tail identification information at Ethernet data bag to be sent.
Concrete, above-mentioned Ethernet data bag writing unit 32, for more not carrying the surplus of the transmission storage area of invalid information, determines surplus maximum and does not carry the transmission storage area of invalid information; Packet to be sent after coding is write to definite surplus maximum and do not carry the transmission storage area of invalid information.
Concrete, if record the surplus that each sends storage area, above-mentioned Ethernet data bag writing unit 32, the surplus that writes the transmission storage area after packet to be sent also recording for upgrading storage area monitoring form in storage area monitoring form.
Preferably, as shown in Figure 4, the dispensing device of above-mentioned Ethernet data bag also comprises: invalid information adding device 34, for after receiving the invalid channel alarm information of receiving terminal transmission, the transmission storage area that invalid E1 passage is corresponding adds invalid information.
Concrete, above-mentioned Ethernet data bag transmitting element 33 comprises:
E1 frame adding device 331, for by the data encapsulation of described Ethernet data bag to be sent at least one E1 frame, and the E1 frame after encapsulation is added in the queue to be sent of the E1 passage that the transmission storage area chosen is corresponding.
E1 frame transmitting element 332, for the E1 frame of the described queue to be sent of E1 passage transmission corresponding to the transmission storage area by choosing.
Concrete, above-mentioned E1 frame adding device 331, also for: obtain in turn the default detection sign that detects sign queue, and add in the E1 frame of queue to be sent, wherein, each E1 frame adds one and detects sign.
Based on same inventive concept, for the sending method of above-mentioned Ethernet data bag, the embodiment of the present invention provides a kind of method of reseptance of Ethernet data bag, and as shown in Figure 5, concrete execution step is as follows for the flow chart of the method:
S50: the E1 data that the E1 frame decoding receiving by E1 passage is obtained write in the reception storage area that this road E1 passage is corresponding, wherein, one of the corresponding configuration of every road E1 passage receives storage area.
Can adopt a memory cell, for example a RAM, is divided into each road E1 passage by this memory cell, and every like this road E1 passage has just configured one and received storage area, is used for storing the E1 frame that each road E1 passage receives.All transmission storage areas and all reception storage areas can be arranged in a memory cell.
S51: to carrying the E1 frame of packet header identification information and carrying the E1 data that obtain after the E1 frame decoding of the bag tail identification information that packet header identification information is corresponding and carry out mark, determine the E1 data comprise mark and between the length of Ethernet data bag to be received of E1 data, and write packet header of Ethernet data bag to be received.
S52: read receipts Ethernet data bag waiting according to the length in the packet header of Ethernet data bag to be received.
According to the length in the packet header of Ethernet data to be received, just can directly read Ethernet data bag whole to be received.
Concrete, the E1 data that the E1 frame decoding by receiving by E1 passage in above-mentioned S50 obtains write in the reception storage area that this road E1 passage is corresponding, specifically comprise: the E1 frame receiving by E1 passage is write to corresponding the treating in receiving queue of this road E1 passage; The E1 data that the E1 frame decoding for the treatment of in receiving queue is obtained write in the reception storage area that this paths is corresponding.
When having N road E1 passage to send Ethernet data bag, just have accordingly N road E1 passage and receive, each road E1 passage all writes the E1 frame receiving respectively corresponding the treating in receiving queue of this road E1 frame.
The numbering of supposing N road E1 passage be respectively No. 1, No. 2, No. 3 ..., No. N, corresponding with this N road E1 passage so numbering for the treatment of receiving queue can for No. 1, No. 2, No. 3 ..., No. N, the E1 frame of No. 1 E1 passage reception is stored in No. 1 and treats in receiving queue, the E1 frame of No. 2 E1 passage receptions is stored in No. 2 and treats in receiving queue, the E1 frame of No. 3 E1 passage receptions is stored in No. 3 and treats in receiving queue,, the E1 frame that N E1 passage receives is stored in No. N and treats in receiving queue.
Can adopt the mode of poll after the E1 frame decoding until in receiving queue, to write in the reception storage area that this paths is corresponding.When Dang Mou road E1 passage carries invalid information, illustrate that this road E1 passage has broken down, can not correctly receive E1 frame, thus during poll just without poll carry the E1 passage of invalid information corresponding treated receiving queue.
Poll obtain do not carry invalid information Ge road E1 passage corresponding treat the E1 frame in receiving queue, and write in corresponding reception storage area, when sending Ethernet data bag, an Ethernet data bag sends by a road E1 passage, so when receiving these Ethernet data bags, Ethernet data bag also receives in Shi mono-road E1 passage.Even if certain road E1 passage breaks down like this, also only have the Ethernet data bag in the E1 passage of this road correctly not receive, the Ethernet data bag in the E1 passage of other roads still can normally receive, and this has just improved the reliability receiving.
Preferably, the method for reseptance of above-mentioned Ethernet data bag also comprises: for each, treat receiving queue, choose the continuous E1 frame of setting number, and extract successively the detection sign in the E1 frame of choosing, obtain detecting sign queue; If detect sign queue, comprise continuously the default sign queue that detects, determine that this treats that E1 passage corresponding to receiving queue is effective; Otherwise, determine that this treats that E1 passage corresponding to receiving queue is invalid, in detected invalid E1 passage, add invalid information, to transmitting terminal, send invalid channel alarm information.
Can treat that E1 frame in receiving queue detects this and treats that whether E1 passage corresponding to receiving queue be normal according to each, for each, treat that receiving queue can choose respectively the continuous E1 frame of setting number, take below and choose continuous 10 E1 frames for the treatment of receiving queue for No. 1 and describe as example.
From the TS0 of these 10 E1 frames, extract and detect sign, and according to the order of 10 E1 frames, arrange these 10 and detect sign, obtain detecting sign queue.In the sending method of Ethernet data bag, the default detection sign queue of using is 1B, 5B, if detection queue is 1B, 5B, 1B, 5B, 1B, 5B, 1B, 5B, 1B, 5B, this detection queue has comprised continuously 5 and default has detected sign queue so, and this just proves that this treats that E1 passage corresponding to receiving queue is normal; If detection queue is 1B, 1B, 5B, 1B, 1B, 5B, 1B, 1B, 5B, 1B, this detection queue does not comprise the default sign queue that detects continuously so, this also just proves that this treats that fault has appearred in E1 passage corresponding to receiving queue, Gai road E1 passage adds invalid information, and to transmitting terminal, send invalid channel alarm information, notify transmitting terminal not re-use this road E1 passage and send Ethernet data bag.
Here only for example understand two kinds of situations that detect sign queue, also have much other not explanations of situation, but concrete deterministic process is the same, just repeats no more here.
Based on same inventive concept, the embodiment of the present invention provides a kind of receiving system of Ethernet data bag, and the structure of this device as shown in Figure 6, comprising:
E1 frame receiving element 60, writes for the E1 data that the E1 frame decoding receiving by E1 passage is obtained the reception storage area that this road E1 passage is corresponding, and wherein, one of the corresponding configuration of every road E1 passage receives storage area; And to carrying the E1 frame of packet header identification information and carrying the E1 data that obtain after the E1 frame decoding of the bag tail identification information that packet header identification information is corresponding and carry out mark, determine the E1 data comprise mark and between the length of Ethernet data bag to be received of E1 data, and write packet header of Ethernet data bag to be received.
Ethernet data bag sensing element 61, for reading receipts Ethernet data bag waiting according to the length in the packet header of Ethernet data bag to be received.
Preferably, as shown in Figure 7, the receiving system of above-mentioned Ethernet data bag, also comprise: link detecting unit 62, for treating receiving queue for each, choose the continuous E1 frame of setting number, and extract successively the detection sign in the E1 frame of choosing, obtain detecting sign queue; If detect sign queue, comprise continuously the default sign queue that detects, determine that this treats that E1 passage corresponding to receiving queue is effective; Otherwise, determine that this treats that E1 passage corresponding to receiving queue is invalid, in detected invalid E1 passage, add invalid information, to transmitting terminal, send invalid channel alarm information.
Concrete, above-mentioned E1 frame receiving element 60 comprises:
E1 frame writing unit 601, for the E1 frame receiving by E1 passage is write this road E1 passage corresponding treat receiving queue.
Link decoding unit 602, for writing in the reception storage area that this paths is corresponding after the E1 frame decoding until receiving queue.
Based on same inventive concept, the embodiment of the present invention provides a kind of transducer, comprises the receiving system of the dispensing device of Ethernet data bag as shown in Figure 3 and/or Ethernet data bag as shown in Figure 6.
When this transducer only comprises Ethernet data packet transmitter based on multichannel E1 path as shown in Figure 3, this transducer can be for sending Ethernet data bag.
When transducer only comprises Ethernet data receiving system based on multichannel E1 path as shown in Figure 6, this transducer can be for receiving Ethernet data bag.
When transducer had not only comprised the Ethernet data packet transmitter based on multichannel E1 path as shown in Figure 3 but also comprise Ethernet data bag receiving system based on multichannel E1 path as shown in Figure 6, this transducer both can be for having sent Ethernet data bag, again can be for receiving Ethernet data bag.As shown in Figure 8, wherein, E1 frame writing unit 601 and E1 frame transmitting element 332 can be arranged in a unit, and Ethernet data bag acquiring unit 61 and Ethernet data bag sensing element 30 can be arranged in a unit.
Can adopt the stability of transducer detection link as shown in Figure 8, as shown in Figure 9, use computer 1 and computer 2, first Ethernet data bag be changed into E1 frame, and then the E1 frame receiving is changed into Ethernet data bag.By this link, can phase inter-transmitting file between two computers, mutually long-range etc., through the test of long period, transmit larger file, see whether there will be packet loss, whether speed is normal; Simultaneously can each road of hot plug E1 passage, by the signal intelligence between two computers, judge that whether they are normal.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (21)

1. the Ethernet data packet transmission method based on multichannel E1 passage, is characterized in that, comprising:
Obtain after Ethernet data bag to be sent, described Ethernet data bag to be sent is encoded;
Ethernet data bag to be sent after coding is write to the transmission storage area of choosing, and wherein, one of the corresponding configuration of every road E1 passage sends storage area;
By E1 passage corresponding to transmission storage area of choosing, send described Ethernet data bag to be sent.
2. the method for claim 1, is characterized in that, described Ethernet data bag to be sent is encoded, and specifically comprises:
In described Ethernet data bag to be sent, add packet header identification information and bag tail identification information.
3. the method for claim 1, is characterized in that, the Ethernet data bag to be sent after coding is write to the transmission storage area of choosing, and specifically comprises:
More do not carry the surplus of the transmission storage area of invalid information, determine surplus maximum and do not carry the transmission storage area of invalid information;
Packet to be sent after coding is write to definite surplus maximum and do not carry the transmission storage area of invalid information.
4. method as claimed in claim 3, it is characterized in that, if record the surplus that each sends storage area in storage area monitoring form, after the packet to be sent after coding is write to definite surplus maximum and do not carry the transmission storage area of invalid information, also comprise:
Upgrade the surplus that writes the transmission storage area after packet to be sent recording in described storage area monitoring form.
5. method as claimed in claim 3, is characterized in that, also comprises:
After receiving the invalid channel alarm information of receiving terminal transmission, the transmission storage area that invalid E1 passage is corresponding adds invalid information.
6. the method for claim 1, is characterized in that, by E1 passage corresponding to transmission storage area of choosing, sends described Ethernet data bag to be sent, specifically comprises:
The data encapsulation of described Ethernet data bag to be sent, at least one E1 frame, and is added to the E1 frame after encapsulation in the queue to be sent of the E1 passage that the transmission storage area chosen is corresponding;
By E1 passage corresponding to transmission storage area of choosing, send the E1 frame in described queue to be sent.
7. method as claimed in claim 6, is characterized in that, after the E1 frame after encapsulation being added in the queue to be sent of the E1 passage that the transmission storage area chosen is corresponding, also comprises:
Obtain in turn the default detection sign detecting in sign queue, and add in the E1 frame of described queue to be sent, wherein, each E1 frame adds one and detects sign.
8. the Ethernet data packet transmitter based on multichannel E1 passage, is characterized in that, comprising:
Ethernet data bag acquiring unit, for obtaining Ethernet data bag to be sent;
Link control coding unit, encodes for the Ethernet data bag to be sent that described Ethernet data bag acquiring unit is obtained;
Ethernet data bag writing unit, for the Ethernet data bag to be sent after coding is write to the transmission storage area of choosing, wherein, one of the corresponding configuration of every road E1 passage sends storage area;
Ethernet data bag transmitting element, the E1 passage corresponding for the transmission storage area by choosing sends described Ethernet data bag to be sent.
9. device as claimed in claim 8, is characterized in that, described link control coding unit, specifically for:
In described Ethernet data bag to be sent, add packet header identification information and bag tail identification information.
10. device as claimed in claim 8, is characterized in that, described Ethernet data bag writing unit, specifically for:
More do not carry the surplus of the transmission storage area of invalid information, determine surplus maximum and do not carry the transmission storage area of invalid information;
Packet to be sent after coding is write to definite surplus maximum and do not carry the transmission storage area of invalid information.
11. devices as claimed in claim 10, is characterized in that, if record the surplus that each sends storage area in storage area monitoring form, described Ethernet data bag writing unit, also for:
Upgrade the surplus that writes the transmission storage area after packet to be sent recording in described storage area monitoring form.
12. devices as claimed in claim 8, is characterized in that, also comprise:
Invalid information adding device, for after receiving the invalid channel alarm information of receiving terminal transmission, the transmission storage area that invalid E1 passage is corresponding adds invalid information.
13. devices as claimed in claim 13, is characterized in that, described Ethernet data bag transmitting element comprises:
E1 frame adding device, for by the data encapsulation of described Ethernet data bag to be sent at least one E1 frame, and the E1 frame after encapsulation is added in the queue to be sent of the E1 passage that the transmission storage area chosen is corresponding;
E1 frame transmitting element, for the E1 frame of the described queue to be sent of E1 passage transmission corresponding to the transmission storage area by choosing.
14. devices as claimed in claim 13, is characterized in that, described E1 frame adding device, also for:
Obtain in turn the default detection sign detecting in sign queue, and add in the E1 frame of described queue to be sent, wherein, each E1 frame adds one and detects sign.
15. 1 kinds of Ethernet data bag method of reseptances based on multichannel E1 passage, is characterized in that, comprising:
The E1 data that the E1 frame decoding receiving by E1 passage is obtained write in the reception storage area that this road E1 passage is corresponding, and wherein, one of the corresponding configuration of every road E1 passage receives storage area; And
To carrying the E1 frame of packet header identification information and carrying the E1 data that obtain after the E1 frame decoding of the bag tail identification information that described packet header identification information is corresponding and carry out mark, determine the E1 data comprise mark and between the length of Ethernet data bag to be received of E1 data, and packet header of Ethernet data bag to be received described in writing;
According to the length in the packet header of Ethernet data bag described to be received, read receipts Ethernet data bag waiting.
16. methods as claimed in claim 15, is characterized in that, the E1 data that the E1 frame decoding receiving by E1 passage is obtained write in the reception storage area that this road E1 passage is corresponding, specifically comprise:
The E1 frame receiving by E1 passage is write to corresponding the treating in receiving queue of this road E1 passage;
The described E1 data for the treatment of that the E1 frame decoding in receiving queue obtains are write in the reception storage area that this paths is corresponding.
17. methods as claimed in claim 16, is characterized in that, also comprise:
For each, treat receiving queue, choose the continuous E1 frame of setting number, and extract successively the detection sign in the E1 frame of choosing, obtain detecting sign queue;
If detect sign queue, comprise continuously the default sign queue that detects, determine that this treats that E1 passage corresponding to receiving queue is effective; Otherwise, determine that this treats that E1 passage corresponding to receiving queue is invalid, in detected invalid E1 passage, add invalid information, to transmitting terminal, send invalid channel alarm information.
18. 1 kinds of Ethernet data bag receiving systems based on multichannel E1 passage, is characterized in that, comprising:
E1 frame receiving element, writes for the E1 data that the E1 frame decoding receiving by E1 passage is obtained the reception storage area that this road E1 passage is corresponding, and wherein, one of the corresponding configuration of every road E1 passage receives storage area; And to carrying the E1 frame of packet header identification information and carrying the E1 data that obtain after the E1 frame decoding of the bag tail identification information that described packet header identification information is corresponding and carry out mark, determine the E1 data comprise mark and between the length of Ethernet data bag to be received of E1 data, and packet header of Ethernet data bag to be received described in writing;
Ethernet data bag sensing element, reads receipts Ethernet data bag waiting for the length in the packet header of Ethernet data bag to be received described in basis.
19. devices as claimed in claim 18, is characterized in that, described E1 frame receiving element comprises:
E1 frame writing unit, for the E1 frame receiving by E1 passage is write this road E1 passage corresponding treat receiving queue;
Link decoding unit, writes in the reception storage area that this paths is corresponding for the E1 data that the described E1 frame decoding for the treatment of receiving queue is obtained.
20. devices as claimed in claim 19, is characterized in that, also comprise:
Link detecting unit, for treating receiving queue for each, chooses the continuous E1 frame of setting number, and extracts successively the detection sign in the E1 frame of choosing, and obtains detecting sign queue; If detect sign queue, comprise continuously the default sign queue that detects, determine that this treats that E1 passage corresponding to receiving queue is effective; Otherwise, determine that this treats that E1 passage corresponding to receiving queue is invalid, in detected invalid E1 passage, add invalid information, to transmitting terminal, send invalid channel alarm information.
21. 1 kinds of transducers, is characterized in that, comprise the Ethernet data bag as described in as arbitrary in claim 8-14 dispensing device and/or as arbitrary in claim 18-20 as described in the receiving system of Ethernet data bag.
CN201210375012.3A 2012-09-27 2012-09-27 Method and device for sending and receiving Ethernet data packet based on multiple E1 channels Pending CN103701715A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210375012.3A CN103701715A (en) 2012-09-27 2012-09-27 Method and device for sending and receiving Ethernet data packet based on multiple E1 channels

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210375012.3A CN103701715A (en) 2012-09-27 2012-09-27 Method and device for sending and receiving Ethernet data packet based on multiple E1 channels

Publications (1)

Publication Number Publication Date
CN103701715A true CN103701715A (en) 2014-04-02

Family

ID=50363117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210375012.3A Pending CN103701715A (en) 2012-09-27 2012-09-27 Method and device for sending and receiving Ethernet data packet based on multiple E1 channels

Country Status (1)

Country Link
CN (1) CN103701715A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763375A (en) * 2016-04-01 2016-07-13 京信通信技术(广州)有限公司 Data packet transmission method, receiving method and microwave station
CN108809787A (en) * 2018-06-27 2018-11-13 南京丰泰通信技术股份有限公司 Communication device based on E1 signals and its data processing method
CN112910794A (en) * 2021-01-07 2021-06-04 广州广哈通信股份有限公司 Load balancing system for multi-path E1 networking

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5892768A (en) * 1996-09-12 1999-04-06 Etherwan System, Inc. 10/100-base ethernet to T1/E1 HDSL converter and method of operation
CN1501640A (en) * 2002-11-14 2004-06-02 北京润光泰力科技发展有限公司 Method and system for transmitting Ethernet data using multiple E1 lines
CN1509023A (en) * 2002-12-17 2004-06-30 深圳市中兴通讯股份有限公司上海第二 Asynchronous transmission mode data dispatching device and method
CN1728691A (en) * 2004-07-26 2006-02-01 华为技术有限公司 Conversion circuit and method between ATM data and data in frame format, and transmission exchange system
CN1761237A (en) * 2005-11-04 2006-04-19 清华大学 System for transmitting data frame of Etheent based on insertion between frames
CN101645756A (en) * 2009-09-04 2010-02-10 深圳英飞拓科技股份有限公司 Ethernet slow-down transmission system and method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5892768A (en) * 1996-09-12 1999-04-06 Etherwan System, Inc. 10/100-base ethernet to T1/E1 HDSL converter and method of operation
CN1501640A (en) * 2002-11-14 2004-06-02 北京润光泰力科技发展有限公司 Method and system for transmitting Ethernet data using multiple E1 lines
CN1509023A (en) * 2002-12-17 2004-06-30 深圳市中兴通讯股份有限公司上海第二 Asynchronous transmission mode data dispatching device and method
CN1728691A (en) * 2004-07-26 2006-02-01 华为技术有限公司 Conversion circuit and method between ATM data and data in frame format, and transmission exchange system
CN1761237A (en) * 2005-11-04 2006-04-19 清华大学 System for transmitting data frame of Etheent based on insertion between frames
CN101645756A (en) * 2009-09-04 2010-02-10 深圳英飞拓科技股份有限公司 Ethernet slow-down transmission system and method thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763375A (en) * 2016-04-01 2016-07-13 京信通信技术(广州)有限公司 Data packet transmission method, receiving method and microwave station
CN105763375B (en) * 2016-04-01 2019-10-18 南京京迪通信设备有限公司 A kind of data packet sending method, method of reseptance and microwave station
CN108809787A (en) * 2018-06-27 2018-11-13 南京丰泰通信技术股份有限公司 Communication device based on E1 signals and its data processing method
CN108809787B (en) * 2018-06-27 2020-10-16 南京丰泰通信技术股份有限公司 Communication device based on E1 signal and data processing method thereof
CN112910794A (en) * 2021-01-07 2021-06-04 广州广哈通信股份有限公司 Load balancing system for multi-path E1 networking

Similar Documents

Publication Publication Date Title
KR102489203B1 (en) Method and device for transmitting data in Internet of Things system, gateway device and its storage medium
US5555377A (en) System for selectively compressing data transferred in network in response to produced first output when network utilization exceeds first threshold and data length over limit
CN106162528B (en) LoRa signal and Bluetooth signal conversion module, conversion method and sender unit
ATE332067T1 (en) SET UP A WIRELESS CONNECTION WITH A HIGHER DATA RATE FOR THE DATA RATE CONTROL INFORMATION THAN THE ACCESS ATTEMPT
CN101267363A (en) Loop testing method, system and device
CN107046697A (en) A kind of method and apparatus for carrying out MAC Control Element transmission
CN103580794A (en) Channel state information reporting method, base station and UE
CN102447606A (en) Flow control method and device for data transmission
CN103701715A (en) Method and device for sending and receiving Ethernet data packet based on multiple E1 channels
CN111600758A (en) Message reporting method and platform, intelligent gateway and storage medium
CN111211863A (en) MAC transmitting terminal, MAC receiving terminal and circuit, FPGA chip and data transmission system
CN103581138A (en) Data transmission method and device
CN112511215B (en) Data channel switching method and terminal equipment
CN101650872B (en) System and method for collecting power utilization information
CN101925036B (en) Transmitting method, system and device of terminal high-level signaling
CN116614172A (en) Satellite communication method, nonvolatile storage medium, and electronic device
CN102768351A (en) Method, system and intelligent tool device for detecting prior mounting function of electric meter
CN103209041B (en) A kind of GSM-R network interface data acquisition method
CN112615659B (en) Data channel switching method and Beidou multichannel antenna
CN101795216B (en) Method and equipment for resetting watch dog in multi-hop bidirectional forwarding detection (BFD)
CN105591814B (en) A kind of method and its monitoring system of on-line monitoring E1 channel qualities
CN105718401B (en) The multiplexing method and system of a kind of multichannel SMII signals to MII signals all the way
CN114337942A (en) Message retransmission method and device and electronic equipment
CN113572629A (en) Message transmission method, terminal and storage medium
CN111339005A (en) Data acquisition method and device and computer readable storage medium

Legal Events

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

Application publication date: 20140402