CN101345613A - Method, system and device for transmitting additional information through package clearance - Google Patents
Method, system and device for transmitting additional information through package clearance Download PDFInfo
- Publication number
- CN101345613A CN101345613A CNA2007101306194A CN200710130619A CN101345613A CN 101345613 A CN101345613 A CN 101345613A CN A2007101306194 A CNA2007101306194 A CN A2007101306194A CN 200710130619 A CN200710130619 A CN 200710130619A CN 101345613 A CN101345613 A CN 101345613A
- Authority
- CN
- China
- Prior art keywords
- data
- inter
- gap
- sends
- access control
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/36—Flow control; Congestion control by determining packet size, e.g. maximum transfer unit [MTU]
- H04L47/365—Dynamic adaptation of the packet size
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a method, system and device for transmitting extra information by pack gap, belonging to network communication field. The method comprises that transmitter obtains transmission gap for transmitting extra information and transmits extra information at transmission gap, while transmits normal data beyond time of transmission gap; receiver receives data, then extracts extra information and restore it to complete medium access control frame. The inventive system comprises receiving device and transmitting device. The transmitting device comprises medium access control layer transmitting module, pack gap regulating module, physical layer transmitting and receiving module; the receiving device comprises physical layer transmitting and receiving module, pack gap regulating module and medium access control layer receiving module. The invention accomplishes real time transmission for physical layer extra information without enlarging network band breadth by regulating occur time and length of pack gap.
Description
Technical field
The present invention relates to network communication field, particularly a kind of method, system and equipment by the Inter-packet gap transmitting additional information.
Background technology
According to IEEE 802.3 standards, the PHY of Ethernet (Physical Layer, physical layer) layer is positioned at MDI (Media DelatedInterface, the media relevant interface) and MII (Media Independent Interface, the media interface that has nothing to do) between, comprise PCS (Physical Coding Sublayer, physics coding/decoding sublayer), PMA (Physical MediumAttachment, physical medium inserts the sublayer) and PMD (Physical Medium Dependent, physical medium are correlated with sublayer).Wherein PMD is optional sublayer.The major function of PHY layer comprises the physical circuit that is added to of the signal after sending data and encoding and will encode, and recovers the signal behind the coding and its decoding formed the reception data from physical circuit; The PHY layer also superposes on physical circuit to signal or the process recovered manages.
Ethernet data is at ethernet mac (Medium Access Control, medium access control) layer is that unit organizes and manages with the frame, when transmitting, the PHY layer no longer includes the notion of frame, therefore the PHY layer need be encoded MAC layer data and function by special interface, be mapped to specific PHY layer signal behind the coding, when receiving terminal is received signal behind the coding,, make the receiving terminal of MAC layer can correctly discern mac frame and carry out relevant controlled function by decoding reduction MAC layer data and specific function.
In order to realize above-mentioned functions, the PHY layer is divided into data word and control word with the data of transmission.Data word data that need send or receive for the MAC layer wherein, control word can indicate receiving terminal to carry out the data of relevant action for having specific controlled function.Is the data word transmission such as the PHY layer with the mac frame digital coding, the MAC layer is carried out SOP (the Start of Packet that the frame delimitative function needs to the mac frame data, unwrap the beginning) and EOP (End of Packet, end-of-packet) signal is mapped to Start respectively and the Terminate control word is transmitted.Receiving terminal is finished the mac frame delimitative function according to data word and the Start/Terminate control word received.
It is to finish by the MII interface between MAC layer and the PHY layer that the data of MAC layer and function are mapped to the PHY layer.Signal indication on the MII interface is current to be data or certain controlled function, and the PHY layer also needs to use the specific coding mode with the signal of the conversion of signals on the MII interface for suitable PHY layer processing.
IPG (Inter-Packet Gap, Inter-packet gap) is CSMA/CD (Carrier Sense Multiple Access with CollisionDetection, the carrier sense multiple access agreement of band collision detection) down one section time-delay between packet and the packet or time slot of mechanism, purpose are to provide recovery time between the packet for the physical medium in the same collision domain and other CSMA/CD sublayer.
IPG produces when the MAC layer sends the mac frame data, under the normal condition, after the MAC layer sends a complete mac frame, need be through sending the time interval that the 96bits data need at least, could send next mac frame, this time interval that stops to send the mac frame data is called IFG (Inter-Frame Gap, frame gap) at the MAC layer, correspondingly then is called IPG at MII interface and PHY layer.When the MAC layer distributes during free of data can be sent out behind the complete mac frame, also can be regarded as the IFG frame gap, corresponding PHY layer IPG.
When the XGMII interface is mapped to the PHY layer with the frame gap of MAC layer, use the control word type to add the mode of Idle coding, the PHY layer sends the Idle control word through PCS coding back.The Idle control word is received in the opposite end, can be reduced to the IFG of MAC layer.The Idle control word promptly is considered to IPG at PHY layer and XGMII interface during transmitting.
When the MII interface sent the IFG of enable signal (TX_EN) indication MAC layer, the time encoding that the PHY layer need indicate TX_EN free of data to send became specific Idle to send, and clearly indicates opposite end MAC layer IFG.This time is considered to IPG at MII interface and PHY layer.
In the Ethernet of full duplex, owing to there is not collision domain, do not use CSMA/CD mechanism, during IFG/IPG, still transmit signal specific on the physical circuit, by signal specific the IFG/IPG gap of transmitting terminal is indicated to receiving terminal.Therefore, under the normal condition, the Idle signal that has 12 bytes in Ethernet between each mac frame at least has only only a few Idle signal to be used to carry out the digit rate difference compensation that device difference causes, and has at least the band width in physical about 0.7% to be wasted by insignificant Idle signal in transmission.Therefore, current existing a lot of technology begin to utilize the IPG gap to finish some other specific functions, such as the Idle signal is replaced with other signal specific, finish the customizing messages transmission, or by additions and deletions Idle control word, finish the data front and back and adjust function etc.
A kind of scheme of carrying out the IPG adjustment at RS (Reconciliation Sublayer, modulation sublayer) is arranged in the prior art, and this scheme is fixed on SFD (Start of Frame Delimiter, the initial command character of frame) control word in the passage one of XGMII interface.Referring to Fig. 1, XGMII is the interface of one 32 bit wide, 32 bit wides is equally divided into the passage of 48 bit wides.The mac frame data are distributed on 4 passages of XGMII interface in turn by the RS sublayer.Require the SFD of mac frame during distribution, must be on passage 0, and the SFD control word occurs being at random, if after sending the Idle control word in a complete mac frame and substitute I PG gap afterwards, the SFD control word that occurs is not at passage 0, then need to make the SFD control word appear at passage 0 by following two kinds of methods.
A kind of is that MAC layer and RS sublayer cooperate, and the MAC layer guarantees that SFD just appears at passage 0, this method be by the MAC layer adjust that the length of IFG realizes and the PHY layer to adjust IPG irrelevant;
Another kind is that a DIC (Deficit Idle Counter, loss Idle counter) is set in the RS sublayer, cooperates and finishes the IPG adjustment, and implementation step is as follows:
1) if SFD does not fall passage 0, and the value of DIC counter is then adjusted to passage 0 by deletion Idle control word with SFD less than 3.Idle control word of every deletion, the DIC counter adds 1;
2) if SFD does not fall passage 0, and the value of DIC counter is then adjusted to passage 0 by increasing the Idle control word with SFD greater than 3.Idle control word of every increase, the DIC counter subtracts 1;
3) if SFD drops on passage 0, then do not adjust.
The length (increasing or deletion Idle control word) that this method occurs by adjusting IPG has realized that the SFD control word is fixed on passage 0 and occurs, and has kept that average IPG is no less than 12 bytes between frame and the frame.
Above-mentioned technology has embodied the thought that IPG adjusts, but just the back occurs at IPG its length is adjusted, and can not adjust the moment that IPG occurs; The purpose that IPG adjusts is in order the data of transmitting to be carried out moving of front and back passage on the XGMII interface, can not to use IPG bandwidth for transmission extraneous information.
Prior art also has a kind of XAUI by Ethernet (10Gigabit Attacchment Unit Interface, 10G Attachment Unit Interface) interface to utilize IPG to carry out the method for multichannel alignment compensation.The XAUI interface can be realized the transmission of the longer distance of data as the expansion interface of XGMII interface.The XAUI interface adopts 4 channel patterns, need insert the alignment word at each passage initiating terminal of XAUI interface, uses the alignment word to finish interchannel alignment at multichannel terminal.
It is as follows that the XAUI interface utilizes IPG to carry out the method for multichannel alignment compensation:
The MAC layer data is transferred to the XGXS sublayer through the modulation of RS sublayer by the XGMII interface, is being transferred on the XAUI interface after the XGXS sub-layer processes.Wherein IPG is replaced by Idle control word (a kind of special code type) in the RS sublayer.Referring to Fig. 2, when detecting Idle control word in blocks when (the Idle control word all appears in each passage) in multichannel initiating terminal XGXS sublayer, these Idle control words are replaced with the particular data that the XAUI interface needs, for example: ' I ' replaced with ' A ' or ' R ' or ' K ', use for lower floor's functional module.Use the particular data of XAUI interface needs in multichannel terminal XGXS sublayer after, again these data are replaced with the Idle control word, form initial XGMII interface data, give back the XGMII interface.This method has reached by using IPG to provide the excessive data time slot that transmission needs and the purpose of bandwidth as lower floor's functional module.
Also have scheme like a kind of and above-mentioned technology type, this scheme is transferred to the opposite end by circuit after the Idle control word is replaced with ' A ' alignment word, by finishing the alignment operation of 4 passages and the word that will align again reverts to the Idle control word in the opposite end.Implementation method is with XAUI interface alignment mechanism.
Above-mentioned prior art only relates to the utilization of IPG, does not relate to the adjustment of IPG; The appearance of IFG is an irregularities, is not suitable for the transmission demand of the demanding extraneous information of lower floor's promptness; And the length that IFG occurs is indefinite, the transmission demand of incompatibility lower floor all lengths extraneous information.Lower floor can only adopt passive mode when using IPG to carry out the excessive data transmission, and promptly what kind of IPG the upper strata provides just how to use, if undesirablely just can not use.
Also have a kind of IPG application process in the prior art, minimum 6 bytes among this method use interframe 12 byte IPG are finished the transmission of management information as the transmission channel of management information.Yet this method only relates to the application of IPG, does not relate to IPG and adjusts, and can only utilize the information of IPG transmission set form, can't adapt to the transmission demand of various information; Management information can't be accomplished real-time transmission simultaneously, and mac frame finishes by the time, occurs after the IPG, could finish the transmission of management information by the mode of substitute I dle.
To sum up, in realizing process of the present invention, the inventor finds above-mentioned technology because the time that IPG occurs is fixing, and the time that IPG continues is the shortest has only 96bits, the longest then fixing, therefore directly utilizes IPG to carry out the extraneous information transmission at the PHY layer and has difficulties.
Summary of the invention
In order to pass through the timely transmitting additional information of IPG, the embodiment of the invention provides a kind of method, system and equipment by the Inter-packet gap transmitting additional information.Described technical scheme is as follows:
The embodiment of the invention provides a kind of method by the Inter-packet gap transmitting additional information, and described method comprises:
Transmitting terminal is by adjusting the moment and the duration that Inter-packet gap occurs, and at the transmission gap of described moment acquisition transmitting additional information, to the receiving terminal transmitting additional information, the time outside the described transmission gap is transmitted normal data at described transmission gap;
After described receiving terminal is received data, extract described extraneous information, revert to complete medium access control frame.
The embodiment of the invention provides a kind of system by the Inter-packet gap transmitting additional information, and described system comprises:
Transmitting apparatus is used for by adjusting the moment and the duration that Inter-packet gap occurs, at the transmission gap of described moment acquisition transmitting additional information, and at described transmission gap transmitting additional information, the time transmission normal data outside the described transmission gap;
Receiving equipment is used to receive the data that described transmitting apparatus sends, and extracts the extraneous information in the described data, and reverts to complete medium access control frame.
Further, the embodiment of the invention also provides a kind of transmitting apparatus, and described transmitting apparatus comprises:
The media access control layer sending module is used for the data of media access control layer are sent to lower floor;
The Inter-packet gap adjusting module is used for adjusting the moment and duration that the Inter-packet gap in the described media access control layer sending module outgoing data occurs, obtains and send the transmission gap of transmitting additional information;
Physical layer sends and receiver module, is used to receive the transmission gap that described Inter-packet gap adjusting module sends, and sends extraneous information at described transmission gap to opposite equip..
Further, the embodiment of the invention also provides a kind of receiving equipment, and described receiving equipment comprises:
Physical layer sends and receiver module, is used to receive the data that opposite equip. sends, and extracts extraneous information, and sends the data after the extraction extraneous information;
The Inter-packet gap adjusting module is used to receive described physical layer and sends the data that send with receiver module, and described data are put into buffer memory, reverts to complete medium access control frame, sends recovered data;
The media access control layer receiver module is used to receive the data that described Inter-packet gap adjusting module sends.
Technique scheme has following beneficial effect:
When the PHY layer needs transmitting additional information, by adjusting the moment and the duration that IPG occurs, obtain the transmission gap of transmitting additional information, at this transmission gap transmitting additional information, satisfied the demand of PHY layer extraneous information real-time Transmission; By adjusting the length of IPG, the extraneous information of transmitting random length for the PHY layer provides the time slot that needs simultaneously.
Description of drawings
Fig. 1 realizes in the prior art that the SFD control word is fixed on the schematic diagram of passage one appearance of XGMII interface;
Fig. 2 is the schematic diagram that in the prior art Idle control word is replaced with the particular data of XAUI interface needs;
Fig. 3 is the method flow diagram of the transmitting terminal that provides of the embodiment of the invention 1 by the Inter-packet gap transmitting additional information;
Fig. 4 is the method flow diagram between the frame data that adjusted IPG redistributed the MAC layer that provide of the embodiment of the invention 1;
Fig. 5 is the schematic diagram of Inter-packet gap adjusting module between MAC layer and PHY layer that the embodiment of the invention 1 provides;
Fig. 6 is the schematic diagram that Inter-packet gap adjusting module that the embodiment of the invention 1 provides is positioned at the MAC layer;
Fig. 7 is the schematic diagram that Inter-packet gap adjusting module that the embodiment of the invention 1 provides is positioned at the PHY layer;
Fig. 8 is the schematic diagram that Inter-packet gap adjusting module that the embodiment of the invention 1 provides is positioned at the RS sublayer;
Fig. 9 is the system construction drawing that passes through the Inter-packet gap transmitting additional information that the embodiment of the invention 2 provides;
Figure 10 is the transmitting apparatus structure chart that the embodiment of the invention 3 provides;
Figure 11 is the receiving equipment structure chart that the embodiment of the invention 4 provides.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Time and each time span that occurs that the embodiment of the invention occurs by adjusting Ethernet PHY layer IPG, the extraneous information for PHY layer transmission any type provides the time slot (bandwidth) that needs under the bandwidth situation not increasing.
Embodiment 1
The embodiment of the invention provides a kind of method by the Inter-packet gap transmitting additional information, an Inter-packet gap adjusting module is set between the MAC of transmitting terminal and receiving terminal layer and PHY layer, be buffer memory of this Inter-packet gap adjusting module configuration simultaneously, the size of transmitting terminal buffer memory is generally the number of bits of maximum external information, and the cache size of receiving terminal is generally the number of bits of the longest mac frame data.Buffer memory in the present embodiment adopts the structure of first-in first-out, as the case may be, also can adopt other structure.
Referring to Fig. 3, the step that transmitting terminal is operated is as follows:
Step 101: when the PHY layer needs transmitting additional information, to the transmission gap of Inter-packet gap adjusting module request transmitting additional information.
The size of the extraneous information that needs transmission etc. is carried in this request.
Step 102: during Inter-packet gap adjusting module operate as normal, judge by monitoring whether the PHY layer asks the transmission gap of transmitting additional information, if, execution in step 103, otherwise, execution in step 108.
Step 103: after the Inter-packet gap adjusting module is received the request of PHY layer, judge according to the size of extraneous information whether spatial cache is enough, if, execution in step 104; Otherwise, execution in step 107.
Step 104: the Inter-packet gap adjusting module suspends the data of MAC course PHY layer transmission, and the data that the MAC layer need be transferred to the PHY layer are put into buffer memory.
The data of MAC course PHY layer transmission are normal data, the Inter-packet gap adjusting module suspends the transmission of these normal data, the current data that will send are put into buffer memory, by abandoning current data and will sending the transmission gap that Inter-packet gap in the data obtains transmitting additional information later on.
Step 105: the Inter-packet gap adjusting module sends the replaceable PHY layer that is identified to.
Wherein, replaceable sign refers to make a special coding for the transmission gap that obtains, so that the PHY layer can be discerned.
After step 106:PHY layer is received replaceable sign, replaceable sign is replaced with the extraneous information that needs transmission, then extraneous information is transferred to receiving terminal.
For example, referring to table 1, suppose in 0 beginning constantly, the PHY layer needs the time slot transmitting additional information in continuous 4 moment, in the script data flow, Inter-packet gap I0, I2, I3 and I4 occur in the moment 4, the moment 7, the moment 12 and the moment 13 respectively, and are discontinuous, so are the specific codings that particular moment or length-specific all do not satisfy PHY layer needs.Normal data by the buffer memory moment 0, constantly 1, constantly 2 and constantly 3, promptly adjust the time of occurrence of IPG and the time span of appearance, draw the transmission gap I0~I3 in continuous 4 moment of PHY layer needs, and be provided with replaceable sign A0~A3, at the PHY layer replaceable sign A0~A3 is replaced with the extraneous information that needs transmission.
Table 1
Constantly | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
Before the adjustment | D0 | D1 | D2 | D3 | I0 | D4 | D5 | I1 | I2 | D6 | D7 | D8 | I3 | I4 | I5 | D9 | D10 |
After the adjustment | A0 I0 | A1 I1 | A2 I2 | A3 I3 | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | I4 | I5 | D9 | D10 |
Step 107: alarm, execution in step 108 then.
The PHY layer does not detect replaceable sign behind certain hour in this case, just thinks to send failure.Though the alarm of Inter-packet gap adjusting module, but continue to carry out the compensate function of adjusting, the Inter-packet gap in the follow-up outgoing data promptly abandoned.
Whether step 108: judging has data to be sent in the buffer memory, if having, and execution in step 109; Otherwise, execution in step 110.
Step 109: abandon the IPG data in the current data that will send, remaining data are put into buffer memory, execution in step 111 then.
If the MAC layer continues to send data to the PHY layer, then send the outgoing data in the buffer memory earlier, and the IPG data in the data of new MAC layer transmission are abandoned, remaining data are put into buffer memory; If current time is the IFG (MAC layer free of data needs to send) of MAC layer, then only send the outgoing data in the buffer memory.When not having data in the buffer memory, then directly current data that will send or IFG are sent to the PHY layer.
Step 110: current all data are put into buffer memory, and execution in step 111 then.
Do not need abandon IPG data because buffer memory is empty this moment again, and all data are all put into buffer memory.
Step 111: from buffer memory, take out data and send to the PHY layer.
Step 112:PHY layer transmits normal data gives receiving terminal.
Inter-packet gap adjusting module at receiving terminal need redistribute the IPG of transmitting terminal adjustment between the frame data of MAC layer, guarantees the IFG in minimum 96bits transmission time between frame data.
Referring to Fig. 4, the step that at receiving terminal adjusted IPG is redistributed between the frame data of MAC layer is as follows:
Step 201: after the PHY layer of receiving terminal is received the data of transmitting terminal transmission, extract the extraneous information of transmitting terminal transmission, and on the time slot that transmitting additional information is shared replaceable sign is set, it is specific coding, so that the identification of Inter-packet gap adjusting module, the data after will replacing then send to the Inter-packet gap adjusting module.
Step 202: after the Inter-packet gap adjusting module is received data, normal data is put into buffer memory, replaceable sign is abandoned, form complete MAC layer data frame.
Step 203: judge whether there is a complete mac frame in the buffer memory, if, execution in step 204; Otherwise, execution in step 206.
Step 204: the Inter-packet gap adjusting module takes out a complete mac frame from buffer memory, send to the MAC layer.
Step 205: after the Inter-packet gap adjusting module sent a complete mac frame, the Inter-packet gap that sends 96bits at least was to the MAC layer.Return step 203 then.
Step 206: the Inter-packet gap adjusting module sends the Inter-packet gap of 96bits at least to the MAC layer.Return step 203 then.
Because the time that transmitting terminal just occurs at IPG is carried out front and back adjustment, the IPG time does not reduce, therefore an IFG who satisfies 96bits transmission duration between every frame data surely.
Wherein, the position of Inter-packet gap adjusting module is unfixing in above-mentioned transmitting terminal and the receiving terminal, and referring to Fig. 5, the Inter-packet gap adjusting module can be between MAC layer and PHY layer;
Referring to Fig. 6, the Inter-packet gap adjusting module can be positioned at the MAC layer, as the sublayer of MAC layer;
Referring to Fig. 7, the Inter-packet gap adjusting module can be positioned at the PHY layer, as the sublayer of PHY layer;
Referring to Fig. 8, the Inter-packet gap adjusting module can be positioned at the RS sublayer of PHY layer, as a submodule of RS sublayer.
Embodiment 2
Referring to Fig. 9, the embodiment of the invention also provides a kind of system by the Inter-packet gap transmitting additional information, comprising:
Transmitting apparatus 301 is used for by adjusting the moment and the duration that Inter-packet gap occurs, and the moment after adjusting Inter-packet gap obtains the transmission gap of transmitting additional information, at the transmission gap transmitting additional information, and the time transmission normal data outside the transmission gap;
Receiving equipment 302 is used to receive the data that transmitting apparatus 301 sends, and extracts the extraneous information in the data, and reverts to complete medium access control frame.
Embodiment 3
Referring to Figure 10, the embodiment of the invention also provides a kind of transmitting apparatus, comprising:
Media access control layer sending module 401 is used for the data of media access control layer are sent to lower floor;
Inter-packet gap adjusting module 402 is used for adjusting the moment and duration that the Inter-packet gap in media access control layer sending module 401 outgoing data occurs, obtains and send the transmission gap of transmitting additional information;
Physical layer sends and receiver module 403, is used to receive the transmission gap that Inter-packet gap adjusting module 402 sends, and sends extraneous information at transmission gap to opposite equip..
Wherein, Inter-packet gap adjusting module 402 comprises:
Buffer unit 4021 is used for the data that buffer memory media access control layer sending module 401 is sent;
Replaceable sign generation unit 4022 is used to generate replaceable sign;
Multiplexer 4023 is used for sending the data that data, the replaceable sign in the replaceable sign generation unit 4022 or the media access control layer sending module 401 of buffer unit 4021 are sent;
Physical layer sends with receiver module 403 and comprises:
Data send and receiving element 4031, are used to receive the data that multiplexer 4023 sends, and send the data to opposite equip.;
Extraneous information transmitting element 4032 after being used to receive the replaceable sign of multiplexer 4023 transmissions, replaces with extraneous information with replaceable sign and sends to opposite equip..
Embodiment 4
Referring to Figure 11, the embodiment of the invention also provides a kind of receiving equipment, comprising:
Physical layer transmission and receiver module 501 are used to receive the data that opposite equip. sends, and extract extraneous information, and send the data after the extraction extraneous information;
Inter-packet gap adjusting module 502 is used to receive physical layer and sends the data that send with receiver module 501, and data are put into buffer memory, reverts to complete medium access control frame, sends recovered data;
Media access control layer receiver module 503 is used to receive the data that Inter-packet gap adjusting module 502 sends.
Wherein, physical layer sends with receiver module 501 and comprises:
Data Receiving and processing unit 5011 are used to receive the data that opposite equip. sends, from the extracting data extraneous information that receives;
Replace unit 5012, the extraneous information that is used for data that Data Receiving and processing unit 5011 are received replaces with replaceable sign, and sends the data after the replacement;
Inter-packet gap adjusting module 502 specifically comprises:
Buffer unit 5021 is used for buffer memory and replaces the data that unit 5012 is sent, and the replaceable sign in the data is abandoned, and transmission abandons the data after the sign;
Inter-packet gap inserts unit 5022, be used for when buffer unit 5021 sends a complete medium access control frame, transmission at least 96 bits Inter-packet gap;
Multiplexer 5023 is used for receiving and sending the data of buffer unit 5021 or the Inter-packet gap in the Inter-packet gap insertion unit 5022.
The above embodiment of the present invention has realized the real-time Transmission of PHY layer extraneous information by adjusting time and the length that IPG occurs, and the time slot that needs can be provided for the extraneous information of any type; By using the mode of post-compensation earlier, adjust the IPG that occurs later and compensate the original time slot of using of PHY layer, realized more good utilisation to IPG.
Part process among the above embodiment can realize that corresponding software can be stored on the storage medium that can read, for example in the hard disk of computer, internal memory or the CD with the mode that software and hardware combines.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (13)
1. method by the Inter-packet gap transmitting additional information is characterized in that described method comprises:
Transmitting terminal is by adjusting the moment and the duration that Inter-packet gap occurs, and at the transmission gap of described moment acquisition transmitting additional information, to the receiving terminal transmitting additional information, the time outside the described transmission gap is transmitted normal data at described transmission gap;
After described receiving terminal is received data, extract described extraneous information, revert to complete medium access control frame.
2. the method by the Inter-packet gap transmitting additional information according to claim 1 is characterized in that, described transmitting terminal is by adjusting the moment and the duration that Inter-packet gap occurs, and the step that obtains the transmission gap of transmitting additional information in the described moment comprises:
The physical layer of transmitting terminal sends the transmission gap request of transmitting additional information to the upper strata;
After the request of described physical layer is received on described upper strata, suspend media access control layer, the data that send are put into buffer memory, obtain transmission gap to the data that described physical layer sends.
3. the method by the Inter-packet gap transmitting additional information according to claim 2 is characterized in that, the described step that obtains transmission gap also comprises afterwards:
Described upper strata sends replaceable sign at described transmission gap to the physical layer of described transmitting terminal, and the time outside described transmission gap sends the physical layer of normal data to described transmitting terminal;
Correspondingly, described at described transmission gap to the receiving terminal transmitting additional information, the step of time outside described transmission gap transmission normal data comprises:
The physical layer of described transmitting terminal detects after receiving data, if detect described replaceable sign, described replaceable sign is replaced with described extraneous information, sends described extraneous information to receiving terminal; If do not detect described replaceable sign, received data are normal data, send described normal data to receiving terminal.
4. the method by the Inter-packet gap transmitting additional information according to claim 2 is characterized in that described transmission gap request comprises the size of described extraneous information.
5. the method by the Inter-packet gap transmitting additional information according to claim 2 is characterized in that the data that described handle will send are put into buffer memory, and the step that obtains transmission gap comprises:
Described upper strata is put into buffer memory to the current data that will send, by abandoning described current data and will sending the transmission gap that Inter-packet gap in the data obtains transmitting described extraneous information later on.
6. the method by the Inter-packet gap transmitting additional information according to claim 3 is characterized in that, described time transmission normal data outside described transmission gap comprises to the step of the physical layer of described transmitting terminal:
Described upper strata checks that whether buffer memory is empty, if described buffer memory is not empty, abandons the Inter-packet gap that occurs in the follow-up data of receiving, and the data behind the discarded packets gap are put into buffer memory; Otherwise, the follow-up data of receiving are put into buffer memory;
Time outside described transmission gap is extracted the data in the described buffer memory, the data of extracting is sent to the physical layer of transmitting terminal.
7. the method by the Inter-packet gap transmitting additional information according to claim 1 is characterized in that after described receiving terminal is received data, extract described extraneous information, the step that reverts to complete medium access control frame comprises:
After the physical layer of described receiving terminal is received data, extract described extraneous information, dose replaceable sign in the extraneous information position of described data, the data forwarding that will comprise replaceable sign is then given the upper strata;
After described data are received on described upper strata, abandon described replaceable sign, normal data is put into buffer memory, form complete medium access control frame;
Described complete medium access control frame is extracted on described upper strata from described buffer memory, behind the complete medium access control frame that the upper strata transmission is extracted, send the Inter-packet gap of at least 96 bits.
8. the method by the Inter-packet gap transmitting additional information according to claim 7, it is characterized in that, described complete medium access control frame is extracted on described upper strata from described buffer memory, behind the complete medium access control frame that the upper strata transmission is extracted, the step that sends the Inter-packet gap of at least 96 bits comprises:
Described upper strata judges whether there is complete medium access control frame in the described buffer memory;
If there is complete medium access control frame in the described buffer memory, described upper strata sends to media access control layer with described complete medium access control frame, and sends the Inter-packet gap of back transmission at least 96 bits that finish to described media access control layer at described complete medium access control frame; Otherwise described upper strata sends Inter-packet gap to media access control layer.
9. system by the Inter-packet gap transmitting additional information is characterized in that described system comprises:
Transmitting apparatus is used for by adjusting the moment and the duration that Inter-packet gap occurs, at the transmission gap of described moment acquisition transmitting additional information, and at described transmission gap transmitting additional information, the time transmission normal data outside the described transmission gap;
Receiving equipment is used to receive the data that described transmitting apparatus sends, and extracts the extraneous information in the described data, and reverts to complete medium access control frame.
10. a transmitting apparatus is characterized in that, described transmitting apparatus comprises:
The media access control layer sending module is used for the data of media access control layer are sent to lower floor;
The Inter-packet gap adjusting module is used for adjusting the moment and duration that the Inter-packet gap in the described media access control layer sending module outgoing data occurs, obtains and send the transmission gap of transmitting additional information;
Physical layer sends and receiver module, is used to receive the transmission gap that described Inter-packet gap adjusting module sends, and sends extraneous information at described transmission gap to opposite equip..
11. transmitting apparatus according to claim 10 is characterized in that, described Inter-packet gap adjusting module comprises:
Buffer unit is used for the data that the described media access control layer sending module of buffer memory is sent;
Replaceable sign generation unit is used to generate replaceable sign;
Multiplexer is used for sending the data that data, the replaceable sign in the described replaceable sign generation unit or the described media access control layer sending module of described buffer unit are sent;
Described physical layer sends with receiver module and comprises:
Data send and receiving element, be used to receive the data that described multiplexer sends, and described data are sent to opposite equip.;
The extraneous information transmitting element after being used to receive the replaceable sign of described multiplexer transmission, replaces with extraneous information with described replaceable sign and sends to opposite equip..
12. a receiving equipment is characterized in that, described receiving equipment comprises:
Physical layer sends and receiver module, is used to receive the data that opposite equip. sends, and extracts extraneous information, and sends the data after the extraction extraneous information;
The Inter-packet gap adjusting module is used to receive described physical layer and sends the data that send with receiver module, and described data are put into buffer memory, reverts to complete medium access control frame, sends recovered data;
The media access control layer receiver module is used to receive the data that described Inter-packet gap adjusting module sends.
13. receiving equipment according to claim 12 is characterized in that, described physical layer sends with receiver module and comprises:
Data Receiving and processing unit are used to receive the data that opposite equip. sends, from described extracting data extraneous information;
Replace the unit, the extraneous information that is used for data that described Data Receiving and processing unit are received replaces with replaceable sign, and sends the data after the replacement;
Described Inter-packet gap adjusting module comprises:
Buffer unit is used for the data that the described replacement of buffer memory unit is sent, and the replaceable sign in the data is abandoned, and transmission abandons the data after the replaceable sign;
Inter-packet gap inserts the unit, be used for when described buffer unit sends a complete medium access control frame, transmission at least 96 bits Inter-packet gap;
Multiplexer is used for receiving and sending the data of described buffer unit or the Inter-packet gap in the described Inter-packet gap insertion unit.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101306194A CN101345613B (en) | 2007-07-11 | 2007-07-11 | Method, system and device for transmitting additional information through package clearance |
PCT/CN2008/071629 WO2009006858A1 (en) | 2007-07-11 | 2008-07-11 | Method, system and device for information transmission and reception |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101306194A CN101345613B (en) | 2007-07-11 | 2007-07-11 | Method, system and device for transmitting additional information through package clearance |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101345613A true CN101345613A (en) | 2009-01-14 |
CN101345613B CN101345613B (en) | 2011-08-10 |
Family
ID=40228191
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007101306194A Expired - Fee Related CN101345613B (en) | 2007-07-11 | 2007-07-11 | Method, system and device for transmitting additional information through package clearance |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101345613B (en) |
WO (1) | WO2009006858A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102088334A (en) * | 2010-12-17 | 2011-06-08 | 天津曙光计算机产业有限公司 | 10 gigabit Ethernet data receiving and verification method based on FPGA |
CN106604055A (en) * | 2017-01-06 | 2017-04-26 | 广州四三九九信息科技有限公司 | Video smooth transmission and live broadcasting uplink method based on complex weak mobile network environment |
WO2018086266A1 (en) * | 2016-11-11 | 2018-05-17 | 盛科网络(苏州)有限公司 | Usxgmii multichannel ipg accurate compensation method and system |
CN111224760A (en) * | 2018-11-26 | 2020-06-02 | 中国电信股份有限公司 | Management information transmission method and device |
CN111294085A (en) * | 2020-01-15 | 2020-06-16 | 天津融汇微电子技术有限公司 | Implementation method using UTP on 2D5 or 5Gbase-T1 |
CN111884900A (en) * | 2016-07-06 | 2020-11-03 | 华为技术有限公司 | Method for transmitting data and forwarding device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7949782B2 (en) * | 2003-11-06 | 2011-05-24 | Qualcomm Incorporated | Extended link monitoring channel for 10 Gb/s Ethernet |
US7574594B2 (en) * | 2005-02-23 | 2009-08-11 | Dell Products Lp | Network authentication based on inter-packet gap characteristics |
WO2007002789A2 (en) * | 2005-06-29 | 2007-01-04 | Teknovus, Inc. | Accommodating different clock frequencies in an ethernet passive optical network |
-
2007
- 2007-07-11 CN CN2007101306194A patent/CN101345613B/en not_active Expired - Fee Related
-
2008
- 2008-07-11 WO PCT/CN2008/071629 patent/WO2009006858A1/en active Application Filing
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102088334A (en) * | 2010-12-17 | 2011-06-08 | 天津曙光计算机产业有限公司 | 10 gigabit Ethernet data receiving and verification method based on FPGA |
CN111884900A (en) * | 2016-07-06 | 2020-11-03 | 华为技术有限公司 | Method for transmitting data and forwarding device |
CN111884900B (en) * | 2016-07-06 | 2023-07-18 | 华为技术有限公司 | Method for transmitting data and forwarding device |
US11805053B2 (en) | 2016-07-06 | 2023-10-31 | Huawei Technologies Co., Ltd. | Data sending method and forwarding device |
WO2018086266A1 (en) * | 2016-11-11 | 2018-05-17 | 盛科网络(苏州)有限公司 | Usxgmii multichannel ipg accurate compensation method and system |
US10938502B2 (en) | 2016-11-11 | 2021-03-02 | Centec Networks (Su Zhou) Co., Ltd. | Method and system for accurate IPG compensation of USXGMII multi-channel |
CN106604055A (en) * | 2017-01-06 | 2017-04-26 | 广州四三九九信息科技有限公司 | Video smooth transmission and live broadcasting uplink method based on complex weak mobile network environment |
CN106604055B (en) * | 2017-01-06 | 2019-08-09 | 广州四三九九信息科技有限公司 | Video smoothing based on complicated weak mobile network environment sends live streaming uplink method |
CN111224760A (en) * | 2018-11-26 | 2020-06-02 | 中国电信股份有限公司 | Management information transmission method and device |
CN111294085A (en) * | 2020-01-15 | 2020-06-16 | 天津融汇微电子技术有限公司 | Implementation method using UTP on 2D5 or 5Gbase-T1 |
CN111294085B (en) * | 2020-01-15 | 2021-06-18 | 天津融汇微电子技术有限公司 | Implementation method using UTP on 2D5 or 5Gbase-T1 |
Also Published As
Publication number | Publication date |
---|---|
CN101345613B (en) | 2011-08-10 |
WO2009006858A1 (en) | 2009-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101345613B (en) | Method, system and device for transmitting additional information through package clearance | |
KR101717296B1 (en) | Ethernet apparatus and method for operating multiple lane selectively | |
US8385346B2 (en) | System and method for forming N0GBASE-T | |
US7949782B2 (en) | Extended link monitoring channel for 10 Gb/s Ethernet | |
CA2423056C (en) | Multiplex transmission system capable of using ordinary network packets to transmit a plurality of 8b/10b bit streams | |
KR102209296B1 (en) | Methods and devices for transmitting and receiving service, and network system | |
EP1179248B1 (en) | Method and apparatus for a multi-gigabit ethernet architecture | |
CN101309258B (en) | Distributing and receiving method and device of high-speed Ethernet network medium irrelevant interface | |
US9954644B2 (en) | Ethernet data processing method, physical layer chip and Ethernet equipment | |
US20040114638A1 (en) | Multiplexing relay transmission device | |
US8982697B2 (en) | Method and apparatus for sending and receiving ethernet physical-layer OAM overhead | |
WO2007104200A1 (en) | A method for transferring data from high-speed ethernet to optical transport network as well as the data interface and device thereof | |
CN101488827B (en) | Method and apparatus for implementing data error reporting | |
KR20130033059A (en) | Multi-lane based ethernet apparatus and lane operating method for dynamic lane operation | |
US11310138B2 (en) | Method and apparatus for indicating fault in flexible ethernet | |
WO2020244412A1 (en) | Ethernet data transmission method and communication device | |
CN101035143B (en) | Physical layer chip, method for transferring the signal and switcher | |
CN102685091B (en) | A kind of ten thousand mbit ethernet gearbox Fifo Read-write Catrol and tolerant systems | |
US7218648B1 (en) | Method and apparatus for communicating control data in an asynchronous communications channel | |
CN102025421A (en) | Gigabit broadband isolation pseudo-synchronous digital hierarchical (PDH) optical transmitter and receiver | |
CN101841744A (en) | Transmitting method and device of hundred gigabit Ethernet in optical transmission network | |
WO2007131405A1 (en) | A device and method for implementing transmission of multi-path multiple service convergence and de-convergence | |
CN201937592U (en) | Novel gigabit broadband isolated PDH (pseudo-synchronous digital hierarchy) optical transceiver | |
CN109039537B (en) | AMCC information transmission method and system | |
CN101359963B (en) | Dual Ethernet optical fiber transceiver, transceiving method and system |
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: 20110810 Termination date: 20170711 |