CN103188043A - System and method of achieving error detection and resending based on enable signal line feedback - Google Patents

System and method of achieving error detection and resending based on enable signal line feedback Download PDF

Info

Publication number
CN103188043A
CN103188043A CN2011104606619A CN201110460661A CN103188043A CN 103188043 A CN103188043 A CN 103188043A CN 2011104606619 A CN2011104606619 A CN 2011104606619A CN 201110460661 A CN201110460661 A CN 201110460661A CN 103188043 A CN103188043 A CN 103188043A
Authority
CN
China
Prior art keywords
data
enable signal
signal line
recipient
unit
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
Application number
CN2011104606619A
Other languages
Chinese (zh)
Other versions
CN103188043B (en
Inventor
孟真
阎跃鹏
于进勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Microelectronics of CAS
Original Assignee
Institute of Microelectronics of CAS
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 Institute of Microelectronics of CAS filed Critical Institute of Microelectronics of CAS
Priority to CN201110460661.9A priority Critical patent/CN103188043B/en
Publication of CN103188043A publication Critical patent/CN103188043A/en
Application granted granted Critical
Publication of CN103188043B publication Critical patent/CN103188043B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a system and a method of achieving error detection and resending based on enable signal line feedback. The system comprises a sender, a receiver, an enable signal line and a data transmission line, wherein the enable signal line is connected between the sender and the receiver. Changes of high-low level parameters on the enable signal line are utilized by the system so as to ensure that error resending information is transmitted to the sender through the receiver. The sender has a sender logical input and output unit, and the receiver has a receiving part logical input and output unit, wherein output of the enable signal line is a low level when the output of the sending part logical input and output unit or the output of the receiving part logical input and output unit is a low level so as to ensure that the receiver transmits the error resending information to the sender. Due to the adoption of the system and the method of achieving error detection and resending based on the enable signal line feedback, edges of high-low level changes are adopted to conduct error resending information feedback and conduct direct triggering on the resending process using the edges of high-low level changes, and therefore work efficiency of an error detection and resending mode is improved.

Description

Realize the system and method that error detection is retransmitted based on enable signal line feedback
Technical field
The present invention relates to technical field of data transmission, relate in particular to a kind of system and method for realizing the error detection repeating transmission based on enable signal line feedback.
Background technology
It is a kind of error control method commonly used in the transfer of data that error detection is retransmitted, effective when serious to burst error and channel disturbance, is widely used in Computer Data Communication, can realize very high error rate index.
When adopting error detection repeating transmission mode to work, after transmitting terminal sends one group of data, receiving terminal checks the data that receive spontaneous sending end, if detect and occur mistake in the transfer of data, then require transmitting terminal to resend this group data by feedback channel, errorless up to the receiving terminal inspection, transmitting terminal just can carry out transmission of next group data.
Mode is retransmitted in error detection can realize very high error rate index, but because this mode need be carried out the process of error feedback and data re-transmitting, therefore can cause its operating efficiency lower.And the time that error detection repeating transmission mode spends is divided into 3 parts, part 1 is the transmission time of numeric data code and error detection code, part 2 is the repeating transmission time of numeric data code and error detection code when the recipient detects mistake, and the 3rd part is when the recipient detects mistake and transmit leg communication time of feeding back.Wherein preceding 2 parts belong to the required time of transfer of data, and under the transmission conditions of determining, the time of this 2 part will determine that the operating efficiency that therefore improves error detection repeating transmission mode can only reduce the described communication time that feeds back of the 3rd part.
And all general more complicated of encoding in the existing feedback communication, decode, and the extra time that coding, decoding all need to take outside the transfer of data carries out, thereby cause aforesaid the 3rd part to expend the long time, thereby the operating efficiency that causes error detection to retransmit mode reduce.If can reduce the complexity of coding, decoding; Perhaps carry out feedback communication on the backstage, feedback encoding, decoding and transfer of data are carried out synchronously; Then can reduce the error feedback time, thereby effectively increase the operating efficiency that mode is retransmitted in error detection.
Summary of the invention
(1) technical problem that will solve
In view of this, main purpose of the present invention is to provide a kind of and realizes the system and method that error detection is retransmitted based on enable signal line feedback, to improve the operating efficiency that mode is retransmitted in error detection.
(2) technical scheme
For achieving the above object, the invention provides a kind of system that realizes the error detection repeating transmission based on enable signal line feedback, comprise transmit leg, the recipient, and be connected in enable signal line and data line between this transmit leg and this recipient, this system utilizes the variation of high-low level parameter on this enable signal line that wrong retransmission of information is transferred to transmit leg by the recipient, wherein this transmit leg has transmit leg logical AND input-output unit, this recipient has recipient's logical AND input-output unit, when transmit leg logical AND input-output unit and recipient's logical AND input-output unit the two one of them are output as low level, this enable signal line is output as low level, so that the recipient should the mistake retransmission of information be transferred to transmit leg, and carry out in background synchronization when the feedback procedure of wrong retransmission of information is set in transfer of data, make wrong retransmission of information feedback need not to take time outside the transfer of data.
In the such scheme, this transmit leg comprises transmit leg enable signal line level control module, packet grouping module, error detection code coding module and data transmitter register, and this transmit leg enable signal line level control module comprises the described transmit leg logical AND input-output unit that sends data bit counting unit, data transmission enable signal tag unit, mistake repeating transmission detecting unit and be connected with this enable signal line; Wherein, this packet grouping module, this error detection code coding module and this data transmitter register are connected successively, this packet grouping module and this data transmitter register all are connected in this transmission data bit counting unit, this transmission data bit counting unit, these data send the enable signal tag unit and this transmit leg logical AND input-output unit connects successively, and this transmit leg logical AND input-output unit, this mistake repeating transmission detecting unit and this transmission data bit counting unit connect successively.
In the such scheme, this transmit leg enable signal line level control module for generation of high-low level stop sending for this recipient, initial, transmission and termination message, and receive wrong retransmission of information from this recipient; This packet grouping module be used for to receive data to be transmitted, and is transferred to this error detection code coding module after under the control of this transmissions data bit counting unit this data to be transmitted being divided into groups; This error detection code coding module is used for the data to be transmitted after the grouping is carried out the error detection code coding, and the data to be transmitted after will encoding is sent to this data transmitter register; The data to be transmitted that this data transmitter register is used for after will encoding successively under the control of this transmission data bit counting unit is sent to this recipient by this data line.
In the such scheme, this recipient comprises recipient's enable signal line level control module, data receiving register, error detection code decoder module and packet recombination module, and this recipient's enable signal line level control module comprises described recipient's logical AND input-output unit that data transmission enable signal detection unit, accepting state probe unit, mistake repeating transmission enable unit, recipient's clock unit and be connected with this enable signal line; Wherein, this data receiving register, this error detection code decoder module is connected successively with this packet recombination module, these data send the enable signal detection unit and are connected with this recipient's logical AND input-output unit and this accepting state probe unit, this accepting state probe unit and this data send the enable signal detection unit, this error detection code decoder module, this data receiving register and this recipient's clock unit are connected, this recipient's clock unit and this data receiving register, this accepting state probe unit enables the unit with this mistake repeating transmission and is connected, this mistake is retransmitted and is enabled unit and this error detection code decoder module, this recipient's clock unit is connected with this recipient's logical AND input-output unit, this data receiving register and this accepting state probe unit, this recipient's clock unit is connected with this error detection code decoder module, this error detection code decoder module and this data receiving register, this accepting state probe unit, this mistake repeating transmission enables the unit and links to each other with this packet recombination module.
In the such scheme, this recipient's enable signal line level control module is for detection of the high-low level on this enable signal line, to receive stopping from this transmit leg, initial, transmission and termination message, and the half period clock level when being fixed against last data bit that wrong data group occurs receiving under transmission state changes the level that the edge drags down this enable signal line constantly and comes to this transmit leg error of transmission retransmission of information, in transfer of data in backstage feedback error retransmission of information, thereby the time outside the transfer of data of can not taking carry out mistake and retransmit feedback communication; This data receiving register is used for receiving the data that transmit by data line under the control of this accepting state probe unit, this recipient's clock unit, and sends it to this error detection code decoder module; Whether this error detection code decoder module exists mistake for detection of the grouped data that receives, clock level variation edge moment half period when the appearance mistake when last data bit of the data group that mistake occurs receives informs that with error message this accepting state probe unit and the repeating transmission of this mistake enable the unit, change the edge with the half period clock level when last data bit that wrong data group occurs receives and produce wrong retransmission of information constantly, when inerrancy, correct grouped data is sent to this packet recombination module; This packet recombination module is used for correct grouped data reorganization is reverted to the initial data of this transmit leg.
In the such scheme, this enable signal line is reversible line, be connected between transmit leg logical AND input-output unit and the recipient's logical AND input-output unit, utilize the variation of its high-low level parameter that wrong retransmission of information is transferred to transmit leg by the recipient, when transmit leg logical AND input-output unit and recipient's logical AND input-output unit the two one of them are output as low level, this enable signal line is output as low level, when the output of transmit leg logical AND input-output unit and recipient's logical AND input-output unit was high level, this enable signal line was output as high level.When transfer of data, this transmit leg utilizes this enable signal line to send the stopping of transfer of data, initial, transmission and termination message, detects the wrong retransmission of information that this recipient sends at this enable signal line simultaneously; This recipient utilizes this enable signal line to send wrong retransmission of information, detects this transmit leg simultaneously and sends the stopping of transfer of data, initial, transmission and termination message at this enable signal line.
For achieving the above object, the present invention also provides a kind of and has realized the method that error detection is retransmitted based on enable signal line feedback, when transfer of data, this method utilizes the variation of high-low level parameter on the enable signal line that wrong retransmission of information is transferred to transmit leg by the recipient, when transmit leg logical AND input-output unit and recipient's logical AND input-output unit the two one of them are output as low level, this enable signal line is output as low level, so that the recipient should the mistake retransmission of information be transferred to transmit leg.
In the such scheme, describedly utilize the variation of high-low level parameter on the enable signal line that wrong retransmission of information is transferred to transmit leg by the recipient, also comprise: when the output of transmit leg logical AND input-output unit and recipient's logical AND input-output unit is high level, this enable signal line is output as high level, and transfer of data is normal.
In the such scheme, this enable signal line is reversible line, describedly utilize the variation of high-low level parameter on the enable signal line that wrong retransmission of information is transferred to transmit leg by the recipient, also comprise: transmit leg utilizes this enable signal line to send the stopping of transfer of data, initial, transmission and termination message, detects the wrong retransmission of information that the recipient sends at this enable signal line simultaneously; The recipient utilizes this enable signal line to send wrong retransmission of information, detects transmit leg simultaneously and sends the stopping of transfer of data, initial, transmission and termination message at this enable signal line.
In the such scheme, it is described before the variation that utilizes high-low level parameter on the enable signal line is transferred to the step of transmit leg with wrong retransmission of information by the recipient, also comprise: the packet grouping module receives data to be transmitted, and will be transferred to the error detection code coding module after this data to be transmitted grouping; The error detection code coding module carries out the error detection code coding to the data to be transmitted after dividing into groups, and the data to be transmitted after will encoding is sent to the data transmitter register; Data to be transmitted after the data transmitter register will be encoded successively is sent to the data receiving register by data line; The data receiving register receives the data that transmit by data line, and sends it to this error detection code decoder module; The error detection code decoder module detects the grouped data that receives and whether has mistake, when mistake occurring error message is informed that this accepting state probe unit and the repeating transmission of this mistake enable the unit, to produce wrong retransmission of information.
(3) beneficial effect
From technique scheme as can be seen, the present invention has following beneficial effect:
1, the system and method for realizing the error detection repeating transmission based on enable signal line feedback provided by the invention, adopt the enable signal line to carry out wrong retransmission of information feedback, transmit leg and recipient can be changed by the single level under the different condition on the enable signal line substitute coding and carry out bidirectional transfer of information, and wrong retransmission of information level feed-back process is carried out in background synchronization when the transfer of data.Because this error detection is retransmitted the error feedback communication process of mode and be need not to take any extra time, can with the time all for transfer of data, thereby the raising of very big degree the operating efficiency of wrong error detection repeating transmission mode.
2, the system and method for realizing the error detection repeating transmission based on enable signal line feedback provided by the invention, need not to adopt complicated coding, decoding to transmit feedback information, the edge that adopts the high-low level on the enable signal line to change carries out wrong retransmission of information feedback, directly the edge that utilizes high-low level to change in the backstage of transfer of data triggers retransmission process, with the time all for transfer of data, thereby greatly the raising of degree wrong error detection retransmit the operating efficiency of mode.
3, the system and method for realizing the error detection repeating transmission based on enable signal line feedback provided by the invention, be used for transmitting the edge that the high-low level of wrong retransmission of information changes is to produce synchronously in last the bit transfer process that wrong every group code occurs, thereby place the backstage of transfer of data to carry out fully wrong retransmission of information feedback, need not to take the time outside the transfer of data.
Description of drawings
Fig. 1 is the schematic diagram of realizing the system that error detection is retransmitted according to the embodiment of the invention based on enable signal line feedback;
Fig. 2 utilizes the system shown in Figure 1 course of work schematic diagram during no error code in transmission course according to the embodiment of the invention;
Fig. 3 is the course of work schematic diagram when utilizing system shown in Figure 1 error code to occur in transmission course according to the embodiment of the invention;
Fig. 4 is the error feedback schematic diagram when utilizing system shown in Figure 1 error code to occur in transmission course according to the embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, and with reference to accompanying drawing, the present invention is described in more detail.
The system and method for realizing the error detection repeating transmission based on enable signal line feedback provided by the invention, adopt enable signal line and this two signal line of data line to work in coordination with to carry out transfer of data, wherein the enable signal line is reversible line, and the present invention utilizes the variation of high-low level parameter on this enable signal line that wrong retransmission of information is transferred to transmit leg by the recipient.
As shown in Figure 1, Fig. 1 is the schematic diagram of realizing the system that error detection is retransmitted according to the embodiment of the invention based on enable signal line feedback, this system comprises transmit leg, the recipient, and be connected in enable signal line and data line between this transmit leg and this recipient, this system utilizes the variation of high-low level parameter on this enable signal line that wrong retransmission of information is transferred to transmit leg by the recipient, wherein this transmit leg has transmit leg logical AND input-output unit, this recipient has recipient's logical AND input-output unit, when transmit leg logical AND input-output unit and recipient's logical AND input-output unit the two one of them are output as low level, this enable signal line is output as low level, so that the recipient should the mistake retransmission of information be transferred to transmit leg.
Transmit leg comprises transmit leg enable signal line level control module, packet grouping module, error detection code coding module and data transmitter register, and this transmit leg enable signal line level control module comprises the transmit leg logical AND input-output unit that sends data bit counting unit, data transmission enable signal tag unit, mistake repeating transmission detecting unit and be connected with this enable signal line.Wherein, this packet grouping module, this error detection code coding module and this data transmitter register are connected successively, this packet grouping module and this data transmitter register all are connected in this transmission data bit counting unit, this transmission data bit counting unit, these data send the enable signal tag unit and this transmit leg logical AND input-output unit connects successively, and this transmit leg logical AND input-output unit, this mistake repeating transmission detecting unit and this transmission data bit counting unit connect successively.
The recipient comprises recipient's enable signal line level control module, data receiving register, error detection code decoder module and packet recombination module, and this recipient's enable signal line level control module comprises recipient's logical AND input-output unit that data transmission enable signal detection unit, accepting state probe unit, mistake repeating transmission enable unit, recipient's clock unit and be connected with this enable signal line.Wherein, this data receiving register, this error detection code decoder module is connected successively with this packet recombination module, these data send the enable signal detection unit and are connected with this recipient's logical AND input-output unit and this accepting state probe unit, this accepting state probe unit and this data send the enable signal detection unit, this error detection code decoder module, this data receiving register and this recipient's clock unit are connected, this recipient's clock unit and this data receiving register, this accepting state probe unit enables the unit with this mistake repeating transmission and is connected, this mistake is retransmitted and is enabled unit and this error detection code decoder module, this recipient's clock unit is connected with this recipient's logical AND input-output unit, this data receiving register and this accepting state probe unit, this recipient's clock unit is connected with this error detection code decoder module, this error detection code decoder module and this data receiving register, this accepting state probe unit, this mistake repeating transmission enables the unit and links to each other with this packet recombination module.
The enable signal line is reversible line, be connected between transmit leg logical AND input-output unit and the recipient's logical AND input-output unit, utilize the variation of its high-low level parameter that wrong retransmission of information is transferred to transmit leg by the recipient, when transmit leg logical AND input-output unit and recipient's logical AND input-output unit the two one of them are output as low level, this enable signal line is output as low level, when the output of transmit leg logical AND input-output unit and recipient's logical AND input-output unit was high level, this enable signal line was output as high level.When transfer of data, this transmit leg utilizes this enable signal line to send the stopping of transfer of data, initial, transmission and termination message, detects the wrong retransmission of information that this recipient sends at this enable signal line simultaneously; This recipient utilizes this enable signal line to send wrong retransmission of information, detects this transmit leg simultaneously and sends the stopping of transfer of data, initial, transmission and termination message at this enable signal line.
Data line is unidirectional transmission line, is connected between this data transmitter register and this data receiving register, is used for by these recipient's one-way transmission data of this sending direction.
With reference to Fig. 1, this transmit leg enable signal line level control module for generation of high-low level stop sending for this recipient, initial, transmission and termination message, and receive wrong retransmission of information from this recipient.This packet grouping module be used for to receive data to be transmitted, and is transferred to this error detection code coding module after under the control of this transmissions data bit counting unit this data to be transmitted being divided into groups.This error detection code coding module is used for the data to be transmitted after the grouping is carried out the error detection code coding, and the data to be transmitted after will encoding is sent to this data transmitter register.The data to be transmitted that this data transmitter register is used for after will encoding successively under the control of this transmission data bit counting unit is sent to this recipient by this data line.
In this transmit leg enable signal line level control module, this transmission data bit counting unit is after this transmit leg packet grouping module is treated transmission of data packets, control this data to be transmitted and send into this error detection code coding module successively by group, and control this data transmitter register and send data bit according to count value.This mistake is retransmitted detecting unit and is connected with this transmission data bit counting unit and this transmit leg logical AND input-output unit, judges wrong retransmission of information from the recipient according to the count value of this transmission data bit counting unit and the detected level value of this transmit leg logical AND input-output unit.These data send the enable signal tag unit and are connected with this transmit leg logical AND input-output unit with this transmission data bit counting unit, send the count value of data bit counting unit according to this, send to this recipient by this transmit leg logical AND input-output unit stop, initial, transmission and termination message.
Refer again to Fig. 1, this recipient's enable signal line level control module is for detection of the high-low level on this enable signal line, to receive from the stopping of this transmit leg, initial, transmission and termination message, and under transmission state, rely on the level that drags down this enable signal line to come to this transmit leg error of transmission retransmission of information, this mistake retransmission of information is that back half this recipient's clock unit after every group of last data bit that wrong data occur receives fed back in clock cycle of producing, does not additionally take data transmission period.This data receiving register is used for receiving and storing the data that transmit by data line under the control of this accepting state probe unit, this recipient's clock unit, level when data are stored according to the half period in this each cycle of recipient's clock unit changes the edge to be triggered, and it is sent to this error detection code decoder module synchronously.Whether this error detection code decoder module exists mistake for detection of the grouped data that receives, when mistake occurring, changing the edge at every group of clock level that last data bit storage of wrong data occurs informs error message that this accepting state probe unit and this mistake are retransmitted constantly and enables the unit, this mistake is retransmitted enable units synchronization with the backstage in transfer of data to produce wrong retransmission of information and export this recipient's logical AND input-output unit to, when inerrancy, correct grouped data is sent to this packet recombination module.This packet recombination module is used for correct grouped data reorganization is reverted to the initial data of this transmit leg.
In this recipient's enable signal line level control module, these data send the enable signal detection unit for detection of the level variation of this enable signal line, offer this accepting state probe unit.This accepting state probe unit is used for according to the residing state of this recipient of integrated information real-time judge that sends enable signal detection unit, this error detection code decoder module from these data controlling this recipient's clock unit respectively and to be in work and halted state when normal reception and non-accepting state for stopping, initial, transmission, stopping still wrong the repeating transmission.This recipient's clock unit is used for controlling this data receiving register and adopts the level edge of half period to change as triggering to receive data bit according to clock frequency when normal accepting state, and controls this mistake and retransmit and enable the half period clock level of unit when last data bit that wrong data group occurs receives and change the edge and send wrong retransmission of information constantly when producing wrong retransmission of information.This mistake is retransmitted and is enabled the unit for after this error detection code decoder module discovery error message, is sending wrong retransmission of information by clock level variation edge moment half period of this recipient's logical AND input-output unit when last data bit that wrong data group occurs receives to this enable signal line under the clock control of this recipient's clock unit.
Realize the system that error detection is retransmitted based on shown in Figure 1 based on enable signal line feedback, the present invention also provides a kind of and has realized the method that error detection is retransmitted based on enable signal line feedback, when transfer of data, this method utilizes the variation of high-low level parameter on the enable signal line that wrong retransmission of information is transferred to transmit leg by the recipient, specifically comprise: when transmit leg logical AND input-output unit and recipient's logical AND input-output unit the two one of them are output as low level, this enable signal line is output as low level, so that the recipient should the mistake retransmission of information be transferred to transmit leg; When the output of transmit leg logical AND input-output unit and recipient's logical AND input-output unit was high level, this enable signal line was output as high level, and transfer of data is normal.
Wherein, this enable signal line is reversible line, describedly utilize the variation of high-low level parameter on the enable signal line that wrong retransmission of information is transferred to transmit leg by the recipient, also comprise: transmit leg utilizes this enable signal line to send the stopping of transfer of data, initial, transmission and termination message, detects the wrong retransmission of information that the recipient sends at this enable signal line simultaneously; The recipient utilizes this enable signal line to send wrong retransmission of information, detects transmit leg simultaneously and sends the stopping of transfer of data, initial, transmission and termination message at this enable signal line.
It is described before the variation that utilizes high-low level parameter on the enable signal line is transferred to the step of transmit leg with wrong retransmission of information by the recipient, also comprise: the packet grouping module receives data to be transmitted, and will be transferred to the error detection code coding module after this data to be transmitted grouping; The error detection code coding module carries out the error detection code coding to the data to be transmitted after dividing into groups, and the data to be transmitted after will encoding is sent to the data transmitter register; Data to be transmitted after the data transmitter register will be encoded successively is sent to the data receiving register by data line; The data receiving register receives the data that transmit by data line, and sends it to this error detection code decoder module; The error detection code decoder module detects the grouped data that receives and whether has mistake, when mistake occurring, error message is informed that this accepting state probe unit and the repeating transmission of this mistake enable the unit, change the edge with the half period clock level when last data bit reception of wrong data group occurring and produce wrong retransmission of information constantly; If mistake do not occur, then correct grouped data is sent to this packet recombination module, this packet recombination module reverts to correct grouped data reorganization sender's initial data.
Be the course of work of a packet of transmission under the situation that no error code occurs in the example explanation data transmission procedure below with Fig. 2.In the transfer of data of present embodiment, transmit leg packet grouping module has been carried out the grouping of equal length to packet.When not carrying out the halted state of transfer of data, the transmit leg data send enable signal tag unit output low level, this moment is not because the recipient detects error code information, therefore recipient's mistake is retransmitted and is enabled the unit and be output as high level, so enable signal line level on the control of two ends logical AND input-output unit is rolled off the production line is dragged down and is low level state.
When input imports data to be transmitted into, data to be transmitted at first enters the packet grouping module, the packet grouping module carries out after the isometric grouping each group data being sent into the error detection code coding module successively under the control that sends data bit counting unit to data to be transmitted, grouping information is sent into sent data bit counting unit simultaneously.Send data bit counting unit in conjunction with grouping information and corresponding error detection code coded system, calculating every group of length behind the data coding is k.It is to be transmitted that the error detection code coding module carries out sending each group data into behind the error detection code coding data transmitter register etc.
When transfer of data is initial, data send the enable signal tag unit and produce rising edge, the output high level, this moment is not because the recipient detects error code information, therefore wrong repeating transmission enables the unit and is output as high level, so the enable signal line still is high level under the control of two ends logical AND input-output unit.In enable signal line electrical level rising edge, send data bit counting unit control data transmitter register successively serial send packet behind the coding, when the whole transmissions of packet finished, data sent enable signal tag unit output low level again, and the enable signal line is dragged down; Simultaneously, send the zero clearing of data bit counting unit.The recipient, data send the level that the enable signal monitoring means is monitored the enable signal line in real time, when transfer of data is initial, data send the enable signal monitoring means and have monitored high level, with this information notification accepting state probe unit, the information of the error detection code decoder module that the accepting state probe unit receives at this moment occurs for no error code, judges that therefore the state of this moment is the transmission initial state, and namely the notification data receiving register begins to receive data.
The error detection code decoder module is decoded to the data of respectively organizing that receive successively, and the data before will encoding behind definite no error code are stored to the packet recombination module successively.Finish until transfer of data, data send the enable signal monitoring means and have monitored low level, with this information notification accepting state probe unit, the information of the error detection code decoder module that the accepting state probe unit receives at this moment occurs for no error code, judges that therefore the state of this moment is the transmission ending state.The raw data packets that can obtain transmit in the packet recombination module this moment.
When occurring error code in the transmission of data packets and need retransmit, as shown in Figure 3.In Fig. 3 when being transferred to the 2nd group of data, error code has appearred in the transmission course.This moment, during the trailing edge of recipient's clock, the data receiving register was stored last bit of the 2nd group of data as shown in Figure 4, and the error detection circuit of error detection code decoder module also detects simultaneously in the 2nd group of transfer of data and mistake occurred.Therefore the error detection code decoder module produces rising edge synchronously at the trailing edge of clock and exports the high level marking signal error message is passed to wrong retransmission unit, and keeps behind the high level of half clock cycle output low level again again.Mistake is retransmitted and to be enabled also output low level immediately of unit, and keeps exporting high level again after the low level of half clock cycle.
Mistake is retransmitted when enabling the unit output low level, because transmit leg is in data and normally sends state, therefore data send the enable signal tag unit and are output as high level at this moment, therefore enable signal line level under the control of two ends logical AND input-output unit is dragged down, and produces trailing edge on the enable signal line.At this moment, the mistake of transmit leg is retransmitted monitoring means and is monitored enable signal line level step-down, and detecting the count value that sends data bit counting unit simultaneously is 2k.Therefore and the total bit number behind the data packet coding is nk, illustrates that packet does not send to finish, and therefore the wrong monitoring means of retransmitting judges that the state of this moment is wrong retransmission state.
Mistake is retransmitted monitoring means wrong retransmission of information is informed transmission data bit counting unit.After half clock cycle, because mistake retransmits and to enable the unit and recover the output high level, so the enable signal line also reverts to high level simultaneously, so transmission course reverts to transmission state again.Transmit leg will resend one group of data when ensuing normal transmission state, as shown in Figure 3, send data bit counting unit this moment and stop counting, keep the count value of 2k constant, data after the data transmitter register is with the 2nd group coding resend and finish, and begin to continue counting again.
The recipient, the accepting state probe unit monitors low level signal too, this moment, the accepting state monitoring means received the error code information that the error detection code decoder module provides simultaneously, judged that therefore this moment, state was not the transmission ending state, but wrong retransmission state.When therefore after the half period low level finishes, recovering high level again, on the 2nd group of data before one group of data that next the data receiving register will receive cover, finish the reception of the 2nd group of data of repeating transmission.So far finish the overall process of the mistake repeating transmission of a data group.After the mistake retransmission process finishes, send data bit counting unit and restart counting from 2k, equally finish the transmission of whole packet with process shown in Figure 2.
Above-described specific embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is specific embodiments of the invention; be not limited to the present invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (17)

1. realize the system that error detection is retransmitted based on enable signal line feedback for one kind, comprise transmit leg, the recipient, and be connected in enable signal line and data line between this transmit leg and this recipient, it is characterized in that, this system utilizes the variation of high-low level parameter on this enable signal line that wrong retransmission of information is transferred to transmit leg by the recipient, wherein this transmit leg has transmit leg logical AND input-output unit, this recipient has recipient's logical AND input-output unit, when transmit leg logical AND input-output unit and recipient's logical AND input-output unit the two one of them are output as low level, this enable signal line is output as low level, so that the recipient should the mistake retransmission of information be transferred to transmit leg.
2. according to claim 1ly realize the system that error detection is retransmitted based on enable signal line feedback, it is characterized in that, this transmit leg comprises transmit leg enable signal line level control module, packet grouping module, error detection code coding module and data transmitter register, and this transmit leg enable signal line level control module comprises the described transmit leg logical AND input-output unit that sends data bit counting unit, data transmission enable signal tag unit, mistake repeating transmission detecting unit and be connected with this enable signal line;
Wherein, this packet grouping module, this error detection code coding module and this data transmitter register are connected successively, this packet grouping module and this data transmitter register all are connected in this transmission data bit counting unit, this transmission data bit counting unit, these data send the enable signal tag unit and this transmit leg logical AND input-output unit connects successively, and this transmit leg logical AND input-output unit, this mistake repeating transmission detecting unit and this transmission data bit counting unit connect successively.
3. the system of retransmitting based on enable signal line feedback realization error detection according to claim 2 is characterized in that,
This transmit leg enable signal line level control module for generation of high-low level stop sending for this recipient, initial, transmission and termination message, and receive wrong retransmission of information from this recipient;
This packet grouping module be used for to receive data to be transmitted, and is transferred to this error detection code coding module after under the control of this transmissions data bit counting unit this data to be transmitted being divided into groups;
This error detection code coding module is used for the data to be transmitted after the grouping is carried out the error detection code coding, and the data to be transmitted after will encoding is sent to this data transmitter register;
The data to be transmitted that this data transmitter register is used for after will encoding successively under the control of this transmission data bit counting unit is sent to this recipient by this data line.
4. according to claim 3ly realize the system that error detection is retransmitted based on enable signal line feedback, it is characterized in that, this transmission data bit counting unit is after this transmit leg packet grouping module is treated transmission of data packets, control this data to be transmitted and send into this error detection code coding module successively by group, and control this data transmitter register and send data bit according to count value.
5. according to claim 3ly realize the system that error detection is retransmitted based on enable signal line feedback, it is characterized in that, this mistake is retransmitted detecting unit and is connected with this transmission data bit counting unit and this transmit leg logical AND input-output unit, judges wrong retransmission of information from the recipient according to the count value of this transmission data bit counting unit and the detected level value of this transmit leg logical AND input-output unit.
6. according to claim 3ly realize the system that error detection is retransmitted based on enable signal line feedback, it is characterized in that, these data send the enable signal tag unit and are connected with this transmit leg logical AND input-output unit with this transmission data bit counting unit, send the count value of data bit counting unit according to this, send to this recipient by this transmit leg logical AND input-output unit stop, initial, transmission and termination message.
7. according to claim 1ly realize the system that error detection is retransmitted based on enable signal line feedback, it is characterized in that, this recipient comprises recipient's enable signal line level control module, data receiving register, error detection code decoder module and packet recombination module, and this recipient's enable signal line level control module comprises described recipient's logical AND input-output unit that data transmission enable signal detection unit, accepting state probe unit, mistake repeating transmission enable unit, recipient's clock unit and be connected with this enable signal line;
Wherein, this data receiving register, this error detection code decoder module is connected successively with this packet recombination module, these data send the enable signal detection unit and are connected with this recipient's logical AND input-output unit and this accepting state probe unit, this accepting state probe unit and this data send the enable signal detection unit, this error detection code decoder module, this data receiving register and this recipient's clock unit are connected, this recipient's clock unit and this data receiving register, this accepting state probe unit enables the unit with this mistake repeating transmission and is connected, this mistake is retransmitted and is enabled unit and this error detection code decoder module, this recipient's clock unit is connected with this recipient's logical AND input-output unit, this data receiving register and this accepting state probe unit, this recipient's clock unit is connected with this error detection code decoder module, this error detection code decoder module and this data receiving register, this accepting state probe unit, this mistake repeating transmission enables the unit and links to each other with this packet recombination module.
8. the system of retransmitting based on enable signal line feedback realization error detection according to claim 7 is characterized in that,
This recipient's enable signal line level control module is for detection of the high-low level on this enable signal line, to receive from the stopping of this transmit leg, initial, transmission and termination message, and under transmission state, rely on the level that drags down this enable signal line to come to this transmit leg error of transmission retransmission of information, this mistake retransmission of information is that back half this recipient's clock unit after every group of last data bit that wrong data occur receives fed back in clock cycle of producing, does not additionally take data transmission period;
This data receiving register is used for receiving and storing the data that transmit by data line under the control of this accepting state probe unit, this recipient's clock unit, level when data are stored according to the half period in this each cycle of recipient's clock unit changes the edge to be triggered, and it is sent to this error detection code decoder module synchronously;
Whether this error detection code decoder module exists mistake for detection of the grouped data that receives, when mistake occurring, changing the edge at every group of clock level that last data bit storage of wrong data occurs informs error message that this accepting state probe unit and this mistake are retransmitted constantly and enables the unit, this mistake is retransmitted enable units synchronization with the backstage in transfer of data to produce wrong retransmission of information and export this recipient's logical AND input-output unit to, when inerrancy, correct grouped data is sent to this packet recombination module;
This packet recombination module is used for correct grouped data reorganization is reverted to the initial data of this transmit leg.
9. the system of retransmitting based on enable signal line feedback realization error detection according to claim 8 is characterized in that,
These data send the enable signal detection unit for detection of the level variation of this enable signal line, offer this accepting state probe unit;
This accepting state probe unit is used for according to the residing state of this recipient of integrated information real-time judge that sends enable signal detection unit, this error detection code decoder module from these data controlling this recipient's clock unit respectively and to be in work and halted state when normal reception and non-accepting state for stopping, initial, transmission, stopping still wrong the repeating transmission;
This recipient's clock unit is used for controlling this data receiving register and adopts the level edge of half period to change as triggering to receive data bit according to clock frequency when normal accepting state, and controls this mistake and retransmit and enable the half period clock level of unit when last data bit that wrong data group occurs receives and change the edge and send wrong retransmission of information constantly when producing wrong retransmission of information;
This mistake is retransmitted and is enabled the unit for after this error detection code decoder module discovery error message, is sending wrong retransmission of information by clock level variation edge moment half period of this recipient's logical AND input-output unit when last data bit that wrong data group occurs receives to this enable signal line under the clock control of this recipient's clock unit.
10. according to claim 1ly realize the system that error detection is retransmitted based on enable signal line feedback, it is characterized in that, this enable signal line is reversible line, be connected between transmit leg logical AND input-output unit and the recipient's logical AND input-output unit, utilize the variation of its high-low level parameter that wrong retransmission of information is transferred to transmit leg by the recipient, when transmit leg logical AND input-output unit and recipient's logical AND input-output unit the two one of them are output as low level, this enable signal line is output as low level, so that the recipient should the mistake retransmission of information be transferred to transmit leg; When the output of transmit leg logical AND input-output unit and recipient's logical AND input-output unit was high level, this enable signal line was output as high level, and transfer of data is normal.
11. the system that realizes the error detection repeating transmission based on enable signal line feedback according to claim 10, it is characterized in that, when transfer of data, this transmit leg utilizes this enable signal line to send the stopping of transfer of data, initial, transmission and termination message, detects the wrong retransmission of information that this recipient sends at this enable signal line simultaneously; This recipient utilizes this enable signal line to send wrong retransmission of information, detects this transmit leg simultaneously and sends the stopping of transfer of data, initial, transmission and termination message at this enable signal line.
12. the system that realizes the error detection repeating transmission based on enable signal line feedback according to claim 1, it is characterized in that, this data line is unidirectional transmission line, is connected between this data transmitter register and this data receiving register, is used for by these recipient's one-way transmission data of this sending direction.
13. method that realizes the error detection repeating transmission based on enable signal line feedback, be applied to each described system in the claim 1 to 12, it is characterized in that, when transfer of data, this method utilizes the variation of high-low level parameter on the enable signal line that wrong retransmission of information is transferred to transmit leg by the recipient, when transmit leg logical AND input-output unit and recipient's logical AND input-output unit the two one of them are output as low level, this enable signal line is output as low level, so that the recipient should the mistake retransmission of information be transferred to transmit leg.
14. according to claim 13ly realize the method that error detection is retransmitted based on enable signal line feedback, it is characterized in that, describedly utilize the variation of high-low level parameter on the enable signal line that wrong retransmission of information is transferred to transmit leg by the recipient, also comprise:
When the output of transmit leg logical AND input-output unit and recipient's logical AND input-output unit was high level, this enable signal line was output as high level, and transfer of data is normal.
15. the method that realizes the error detection repeating transmission based on enable signal line feedback according to claim 14, it is characterized in that, this enable signal line is reversible line, describedly utilizes the variation of high-low level parameter on the enable signal line that wrong retransmission of information is transferred to transmit leg by the recipient, also comprises:
Transmit leg utilizes this enable signal line to send the stopping of transfer of data, initial, transmission and termination message, detects the wrong retransmission of information that the recipient sends at this enable signal line simultaneously;
The recipient utilizes this enable signal line to send wrong retransmission of information, detects transmit leg simultaneously and sends the stopping of transfer of data, initial, transmission and termination message at this enable signal line.
16. the method that realizes the error detection repeating transmission based on enable signal line feedback according to claim 15, it is characterized in that, described before the variation that utilizes high-low level parameter on the enable signal line is transferred to the step of transmit leg with wrong retransmission of information by the recipient, also comprise:
The packet grouping module receives data to be transmitted, and will be transferred to the error detection code coding module after this data to be transmitted grouping;
The error detection code coding module carries out the error detection code coding to the data to be transmitted after dividing into groups, and the data to be transmitted after will encoding is sent to the data transmitter register;
Data to be transmitted after the data transmitter register will be encoded successively is sent to the data receiving register by data line;
The data receiving register receives the data that transmit by data line, and sends it to this error detection code decoder module;
The error detection code decoder module detects the grouped data that receives and whether has mistake, when mistake occurring error message is informed that this accepting state probe unit and the repeating transmission of this mistake enable the unit, to produce wrong retransmission of information.
17. the method that realizes the error detection repeating transmission based on enable signal line feedback according to claim 16, it is characterized in that, whether described error detection code decoder module detects the grouped data that receives and exists in the wrong step, if mistake do not occur, then correct grouped data is sent to this packet recombination module, this packet recombination module reverts to correct grouped data reorganization sender's initial data.
CN201110460661.9A 2011-12-31 2011-12-31 The system and method for auto repeat require is realized based on enable signal line feedback Active CN103188043B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110460661.9A CN103188043B (en) 2011-12-31 2011-12-31 The system and method for auto repeat require is realized based on enable signal line feedback

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110460661.9A CN103188043B (en) 2011-12-31 2011-12-31 The system and method for auto repeat require is realized based on enable signal line feedback

Publications (2)

Publication Number Publication Date
CN103188043A true CN103188043A (en) 2013-07-03
CN103188043B CN103188043B (en) 2016-03-30

Family

ID=48679021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110460661.9A Active CN103188043B (en) 2011-12-31 2011-12-31 The system and method for auto repeat require is realized based on enable signal line feedback

Country Status (1)

Country Link
CN (1) CN103188043B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106385304A (en) * 2016-08-31 2017-02-08 华为技术有限公司 Data transmission method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN86101893A (en) * 1985-02-28 1986-11-05 佳能株式会社 Data communications equipment
CN1156929A (en) * 1995-12-30 1997-08-13 大宇通信株式会社 Error detection apparatus for in transmission system
EP1569408A2 (en) * 2004-02-27 2005-08-31 Fujitsu Limited Communication-processing apparatus and its method
CN101404556A (en) * 2008-10-24 2009-04-08 伊玛精密电子(苏州)有限公司 One-wire bus communication method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN86101893A (en) * 1985-02-28 1986-11-05 佳能株式会社 Data communications equipment
CN1156929A (en) * 1995-12-30 1997-08-13 大宇通信株式会社 Error detection apparatus for in transmission system
EP1569408A2 (en) * 2004-02-27 2005-08-31 Fujitsu Limited Communication-processing apparatus and its method
CN101404556A (en) * 2008-10-24 2009-04-08 伊玛精密电子(苏州)有限公司 One-wire bus communication method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106385304A (en) * 2016-08-31 2017-02-08 华为技术有限公司 Data transmission method, device and system
CN106385304B (en) * 2016-08-31 2019-10-25 华为技术有限公司 Data transmission method, equipment and system

Also Published As

Publication number Publication date
CN103188043B (en) 2016-03-30

Similar Documents

Publication Publication Date Title
EP2924907B1 (en) Concept for combining coded data packets with robust header protection
WO2012119394A1 (en) Wireless communication system and wakeup method thereof
US9451543B2 (en) Wireless communication method for transmitting message to slave devices from master devices
JP2007508750A5 (en)
TW200629788A (en) Implementing a physical layer automatic repeat request for a subscriber unit
CN103428830A (en) Wireless communication system and method
CN102957511B (en) Adaptive deceleration method of data transmission
CN102299784B (en) Data transmission method and equipment
CN101610139A (en) A kind of hybrid automatic repeat request method of underwater sound MODEM
CN104852788A (en) Data broadcast ARQ method based on maximum-minimum network encoding
CN103944689B (en) A kind of pipeline method of suitable physical layer no rate coding transmission
CN102148665A (en) Decoding method for LT (language translation) codes
CN103188043B (en) The system and method for auto repeat require is realized based on enable signal line feedback
CN102546096B (en) Real-time multicasting self-adaptation optimization method based on unequal error protection
CN203025931U (en) Singlechip-based wireless encoding and decoding remote controller
CN105391518B (en) A kind of document transmission method towards deep space network
CN204498118U (en) A kind of power carrier wave communication device
KR101562309B1 (en) Unidirectional data transmitting/receiving device capable of re-transmitting data through plurality of communication lines, and method of transferring data using the same
CN102263683B (en) Secure communication method for double loop field bus in numerical control system
CN103021149A (en) Wireless encoding and decoding remote controller based on singlechip
US9451541B2 (en) System and method for wireless communication
CN104821843A (en) Satellite communication segmental congestion control method based on packet loss ratio
CN103229159A (en) Smart aging retry buffer
CN102130763B (en) Device and method for adjusting line sequences in Ethernet transmission
US8416717B2 (en) Signals communication apparatus

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