CN104184543A - Data transmission method, device and system - Google Patents

Data transmission method, device and system Download PDF

Info

Publication number
CN104184543A
CN104184543A CN201310198792.3A CN201310198792A CN104184543A CN 104184543 A CN104184543 A CN 104184543A CN 201310198792 A CN201310198792 A CN 201310198792A CN 104184543 A CN104184543 A CN 104184543A
Authority
CN
China
Prior art keywords
data
ecc
transmission
waiting
packet head
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
CN201310198792.3A
Other languages
Chinese (zh)
Other versions
CN104184543B (en
Inventor
董建波
侯锐
李花芳
江涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Institute of Computing Technology of CAS
Original Assignee
Huawei Technologies Co Ltd
Institute of Computing Technology 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 Huawei Technologies Co Ltd, Institute of Computing Technology of CAS filed Critical Huawei Technologies Co Ltd
Priority to CN201310198792.3A priority Critical patent/CN104184543B/en
Publication of CN104184543A publication Critical patent/CN104184543A/en
Application granted granted Critical
Publication of CN104184543B publication Critical patent/CN104184543B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

The invention provides a data transmission method, device and system so that data detection repeatability in link transmission can be reduced, link transmission overhead caused by retransmission is reduced and work efficiency of the system is enhanced. The concrete method comprises the steps that data to be transmitted are acquired, the data to be transmitted comprise information of a sending target, and the sending target is confirmed according to the information of the sending target; a data packet header is packaged for the data to be transmitted, an error checking and correcting code is calculated for the data packet header, and the data with the data packet header are sent; and when the data are received, the packaged data are received, the data with the error checking and correcting code are unpacked and the received data are detected, and when an error exists, the error of the data is corrected according to the checking bit of the error checking and correcting code, and a data retransmission request is performed via the preset error tolerance setting if error correcting of the data cannot be completed via the error checking and correcting code. The data transmission method is used for data transmission.

Description

A kind of methods, devices and systems of transfer of data
Technical field
The present invention relates to computer realm, relate in particular to a kind of methods, devices and systems of transfer of data.
Background technology
Conventionally in link transmission, to the data that will transmit, use CRC (CRC, Cyclic Redundancy Check) mode to protect.But because CRC only has error detection function, and there is no error correction, therefore, when using CRC, also need to take retransmission mechanism to guarantee to transmit the accuracy of data.In server, the transfer of data of internal memory can be used error detection and correction code (ECC, Error Correction Code) to detect the accuracy of data, and can carry out certain reparation to mistake.
In existing link transmission technology, in the process of data to be sent transmit port from memory to node computer, use ECC as the safeguard measure of data; And transmitting procedure from sending node computer to receiving node computer, by the mode of CRC, detect the correctness of transfer of data.Use the transmission means of CRC and ECC to strengthen the repeatability of Data Detection so simultaneously; while is because CRC protection is a whole packet; when wrong in packet being detected; can only reach by retransmission data packet may the object of eliminating error; can make like this expense of whole link transmission increase, seriously reduce the operating efficiency of system.
Summary of the invention
The invention provides a kind of methods, devices and systems of transfer of data, can reduce the repeatability of Data Detection in link transmission, reduced the link transmission expense causing due to re-transmission, improved the operating efficiency of system.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, provides a kind of data transmission method, and described method comprises:
Obtain data waiting for transmission, described packet waiting for transmission is containing the information that sends target;
According to the information of described transmission target, determine the transmission target of described data waiting for transmission;
For described data encapsulation data packet head waiting for transmission, and be that described data packet head calculates error detection and correction code ECC, send the data with data packet head ECC.
In the possible implementation of the first, in conjunction with first aspect, described is described data encapsulation data packet head waiting for transmission, and is that described data packet head calculates ECC, and the data that send with data packet head ECC comprise:
When described data waiting for transmission need to be sent to remote computer, be described data encapsulation data packet head waiting for transmission, and calculate described data packet head ECC;
Transmission comprises the data of described data packet head ECC.
Second aspect, provides a kind of data transmission method, and described method comprises;
When forward node receives the described data packet head with ECC, if when the destination node forwarding has the packet that can store described data packet head, described packet is directly forwarded.
The third aspect, provides a kind of method of transfer of data, and described method comprises:
Receive the data that comprise error detection and correction code ECC after encapsulating, the data after described encapsulation comprise data packet head error detection and correction code HECC;
According to the data that contain ECC described in described HECC deblocking, and according to described ECC, the data of described reception are detected;
If there is mistake in the data of described reception, according to the check digit of described ECC, described data are carried out to error correction, if can not complete the error correction to described data by ECC, by default fault-tolerant setting, carry out request data retransmission.
In the possible implementation of the first, in conjunction with second aspect, described according to the data that contain ECC described in described HECC deblocking, and according to described ECC, the data of described reception are detected and comprised:
By HECC described in deblocking, the data that receive described in determining are the data that transmitting terminal sends;
ECC in the data that receive described in deblocking, and according to described ECC, the described correctness by data is detected.
In the possible implementation of the second, in conjunction with second aspect, if the data of described reception exist mistake, by ECC, carry out error correction and comprise:
If obtain the data of described reception by error detection computing, there is mistake, according to the check digit of ECC, carry out error correction computing.
In the third possible implementation, in conjunction with second aspect, if described, by ECC, can not complete and correct a mistake, by fault-tolerant design request data retransmission, comprise:
When the check digit by described ECC can not complete the error correction of described data, by default fault-tolerant setting, to transmitting terminal request data retransmission.
Fourth aspect, the device that provides a kind of data to transmit, based on sending node computer, described device comprises:
Data capture unit, for obtaining data waiting for transmission, described packet waiting for transmission is containing the information that sends target;
Target determining unit, for according to the information of described transmission target, determines the transmission target of described data waiting for transmission;
Data transmission unit, is used to described data encapsulation data packet head waiting for transmission, and is that described data packet head calculates error detection and correction code ECC, sends the data with data packet head ECC.
In the possible implementation of the first, in conjunction with the third aspect, described data transmission unit comprises:
Packet header encapsulation unit, for when described data waiting for transmission need to be sent to remote computer, is described data encapsulation data packet head waiting for transmission, and calculates described data packet head ECC;
Data transmission unit, for sending the data that comprise described data packet head ECC.
The 5th aspect, provides a kind of device of transfer of data, and described device comprises:
Retransmission unit, when receiving the described data packet head with ECC, if when the destination node forwarding has the packet that can store described data packet head, described packet is directly forwarded when forward node.
The 6th aspect, provides a kind of device of transfer of data, and described device comprises:
Data receiver unit, for receiving the data that comprise error detection and correction code ECC after encapsulation, the data after described encapsulation comprise data packet head error detection and correction code HECC;
Data Detection unit, for according to the data that contain ECC described in described HECC deblocking, and detects the data of described reception according to described ECC;
Mistake processing unit, if the data of described reception exist mistake, carries out error correction according to the check digit of described ECC to described data, if can not complete the error correction to described data by ECC, by default fault-tolerant setting, carries out request data retransmission.
In the possible implementation of the first, in conjunction with fourth aspect, described Data Detection unit is used for:
By HECC described in deblocking, the data that receive described in determining are the data that transmitting terminal sends;
ECC in the data that receive described in deblocking, and according to described ECC, the described correctness by data is detected.
In the possible implementation of the second, in conjunction with fourth aspect, described wrong processing unit is used for:
If obtain the data of described reception by error detection computing, there is mistake, according to the check digit of ECC, carry out error correction computing.
In the third possible implementation, in conjunction with fourth aspect, described wrong processing unit also for:
When the check digit by described ECC can not complete the error correction of described data, by default fault-tolerant setting, to transmitting terminal request data retransmission.
The 7th aspect, provides a kind of system of transfer of data, and described system comprises;
Transmitting terminal as described in first aspect and fourth aspect;
Retransmission unit as described in second aspect and the 5th aspect;
Receiving terminal as described in the third aspect and the 6th aspect.
The embodiment of the present invention provides a kind of methods, devices and systems of transfer of data, and by obtaining data waiting for transmission, described packet waiting for transmission, containing the information that sends target, according to the information that sends target, is determined and sent target; For data encapsulation data packet head waiting for transmission, and be that described data packet head calculates error detection and correction code, send the data with data packet head; When receiving data, receive the data after encapsulation, the data that deblocking contains error detection and correction code, and the data that receive are detected, when there is mistake, according to the check digit of error detection and correction code, described data are carried out to error correction, if can not complete the error correction to described data by error detection and correction code, by default fault-tolerant setting, carry out request data retransmission.Can reduce the repeatability of Data Detection in link transmission, reduce the link transmission expense causing due to re-transmission, improve the operating efficiency of system.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The schematic diagram of the method for a kind of transfer of data that Fig. 1 provides for the embodiment of the present invention;
The schematic diagram of the method for a kind of transfer of data that Fig. 2 provides again for the embodiment of the present invention;
The schematic diagram of the method for a kind of transfer of data that Fig. 3 provides for the embodiment of the present invention;
The comparison diagram of data packet format before and after the encapsulation that Fig. 4 provides for the embodiment of the present invention;
Particular content in the communication data packet of the PCI-E bus before the data packet format that Fig. 5 provides for the embodiment of the present invention is revised;
Particular content in the communication data packet of the amended PCI-E bus of data packet format that Fig. 6 provides for the embodiment of the present invention;
Fig. 7 provides a kind of schematic diagram of method of transfer of data for the embodiment of the present invention;
Fig. 8 provides a kind of schematic diagram of method of transfer of data for the embodiment of the present invention;
Fig. 9 provides a kind of schematic diagram of concrete grammar of transfer of data for the embodiment of the present invention;
Figure 10 provides a kind of structural representation of device of transfer of data for another embodiment of the present invention;
Figure 11 provides a kind of structural representation of device of transfer of data for another embodiment of the present invention;
Figure 12 provides a kind of structural representation of device of transfer of data for another embodiment of the present invention;
Figure 13 provides a kind of structural representation of device of transfer of data for another embodiment of the present invention;
Figure 14 provides a kind of schematic diagram of system of transfer of data for the embodiment of the present invention;
Figure 15 provides a kind of structural representation of device of transfer of data for the embodiment of the present invention;
Figure 16 provides a kind of structural representation of device of transfer of data for the embodiment of the present invention;
Figure 17 embodiment of the present invention provides a kind of structural representation of device of transfer of data.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method of transfer of data, and as shown in Figure 1, the method comprises:
101, obtain data waiting for transmission, described packet waiting for transmission is containing the information that sends target.
102,, according to the information of described transmission target, determine the transmission target of described data waiting for transmission.
103, be described data encapsulation data packet head waiting for transmission, and be that described data packet head calculates error detection and correction code ECC, send the data with data packet head ECC.
Corresponding, the embodiment of the present invention provides again a kind of method of transfer of data, and as shown in Figure 2, the method comprises:
201, the data that comprise error detection and correction code ECC after reception encapsulation, the data after described encapsulation comprise data packet head error detection and correction code HECC.
202, according to the data that contain ECC described in described HECC deblocking, and according to described ECC, the data of described reception are detected.
If there is mistake in the data of 203 described receptions, according to the check digit of described ECC, described data are carried out to error correction, if can not complete the error correction to described data by ECC, by default fault-tolerant setting, carry out request data retransmission.
The embodiment of the present invention provides a kind of method of transfer of data, and by obtaining data waiting for transmission, described packet waiting for transmission, containing the information that sends target, according to the information that sends target, is determined and sent target; For data encapsulation data packet head waiting for transmission, and be that described data packet head calculates error detection and correction code, send the data with data packet head; When receiving data, receive the data after encapsulation, the data that deblocking contains error detection and correction code, and the data that receive are detected, when there is mistake, according to the check digit of error detection and correction code, described data are carried out to error correction, if can not complete the error correction to described data by error detection and correction code, by default fault-tolerant setting, carry out request data retransmission.Can reduce the repeatability of Data Detection in link transmission, reduce the link transmission expense causing due to re-transmission, improve the operating efficiency of system.
In order to make those skilled in the art can more clearly understand the technical scheme that the embodiment of the present invention provides, below by specific embodiment, the method for a kind of transfer of data that the embodiment of the present invention is provided is elaborated, and the method comprises:
301, obtain data waiting for transmission, described packet waiting for transmission is containing the information that sends target.
302,, according to the information of described transmission target, determine the transmission target of described data waiting for transmission.
303, be described data encapsulation data packet head waiting for transmission, and be that described data packet head calculates error detection and correction code ECC, send the data with data packet head ECC.
Wherein, as shown in Figure 3, step 303 specifically comprises:
3031,, when described data waiting for transmission need to be sent to remote computer, be described data encapsulation data packet head waiting for transmission, and calculate described data packet head ECC.
3032, send the data that comprise described data packet head ECC.
Concrete; the contrast of the amended packet after data packet format during original use CRC and encapsulation HECC as shown in Figure 4; in Fig. 4, can clearly find out; compare the packet of original use CRC; the part that amended packet has added HECC before using the data of ECC protection; make like this, when receiving, can first pass through the encapsulation format of HECC part identification data bag, guarantee using correctly reading of ECC protection data partly in packet.
In Fig. 4, the effect of sequence number part is that check data wraps in point-to-point transmission whether have packet loss, if there is packet loss phenomenon in transmitting procedure, activates the data re-transmission of point-to-point;
Exemplary, the process that data packet format is modified is as shown in Figure 5 and Figure 6.
In Fig. 5, it is the particular content not carrying out in the communication data packet of the PCI-E bus before data packet format modification.
Accordingly; in Fig. 6; it is the PCI-E bus data bag having added after ECC protected field; can obviously find out; in shadow region, added the field of packet header protection, when the numerical value in the protected field of packet header is 11, illustrated that this data packet head will protect; concrete, in packet, increase the DW ECC field of dash area.
The specific implementation of this step is:
If described data waiting for transmission send to remote node computer, described data waiting for transmission are not carried out to deblocking, directly described data waiting for transmission are sent to transmit port;
If described data waiting for transmission are sent to other modules of node computer itself, described data waiting for transmission are carried out to solution and be honored as a queen, be sent in buffer memory, to described data waiting for transmission are sent to described other modules.
Further, if described data waiting for transmission send to remote node computer, described data waiting for transmission are not carried out to deblocking, directly described data waiting for transmission are sent to transmit port and comprise:
If send to remote node computer during described data waiting for transmission,
Described data waiting for transmission are sent to transmit port.
If described data waiting for transmission are sent to other modules of node computer itself, described data waiting for transmission are carried out to solution and be honored as a queen, be sent in buffer memory, to being sent to described other modules, described data waiting for transmission comprise:
If described data waiting for transmission are other modules that are sent to node computer itself,
ECC described in deblocking in data waiting for transmission, and obtain the data that solution is honored as a queen;
The data that described solution is honored as a queen are sent to the buffer memory of described node computer, and then are sent to other modules of described node computer itself.
Further, described data waiting for transmission are encapsulated, after calculating ECC, send described data waiting for transmission and comprise:
For calculating ECC in the packet header of described data waiting for transmission;
Described data waiting for transmission are encapsulated, and send the data after described encapsulation.
The embodiment of the present invention provides a kind of method of transfer of data, and by obtaining data waiting for transmission, described packet waiting for transmission, containing the information that sends target, according to the information that sends target, is determined and sent target; For data encapsulation data packet head waiting for transmission, and be that described data packet head calculates error detection and correction code, send the data with data packet head; When receiving data, receive the data after encapsulation, the data that deblocking contains error detection and correction code, and the data that receive are detected, when there is mistake, according to the check digit of error detection and correction code, described data are carried out to error correction, if can not complete the error correction to described data by error detection and correction code, by default fault-tolerant setting, carry out request data retransmission.Can reduce the repeatability of Data Detection in link transmission, reduce the link transmission expense causing due to re-transmission, improve the operating efficiency of system.
The embodiment of the present invention provides a kind of method of transfer of data, and the method comprises:
401, the data that comprise error detection and correction code ECC after reception encapsulation, the data after described encapsulation comprise data packet head error detection and correction code HECC.
402, according to the data that contain ECC described in described HECC deblocking, and according to described ECC, the data of described reception are detected.
If there is mistake in the data of 403 described receptions, according to the check digit of described ECC, described data are carried out to error correction, if can not complete the error correction to described data by ECC, by default fault-tolerant setting, carry out request data retransmission.
Wherein, as shown in Figure 7, step 402 comprises:
4021,, by HECC described in deblocking, the data that receive described in determining are the data that transmitting terminal sends.
4022, the ECC in the data that receive described in deblocking, and according to described ECC, the described correctness by data is detected.
As shown in Figure 8, step 403 comprises:
If 4031 data that obtain described reception by error detection computing exist mistake, according to the check digit of ECC, carry out error correction computing.
4032, when the check digit by described ECC, can not complete the error correction of described data, by default fault-tolerant setting, to transmitting terminal request data retransmission.
Exemplary, according to above-mentioned steps, the process of carrying out once complete transfer of data can represent by following examples, concrete steps as shown in Figure 9:
501, receive the request of data that other modules of local computer or remote computer send, make Memory Controller Hub from ECC internal memory, read the data that contain ECC, described in contain ECC packet containing the information that sends target.
502, Memory Controller Hub judges the described processing mode that contains ECC data according to the information of described transmission target.
503, when other modules that described transmission target is local computer, by the described data that contain ECC in Memory Controller Hub by ECC deblocking, and the data that solution is honored as a queen are stored in shared buffer memory or Installed System Memory, so that corresponding module is directly obtained the data that need.
504, when described transmission target is other remote computers, the data of the described ECC of containing are sent to transmit port, encapsulation of data packet header in transmit port, and in the ECC maker in transmit port, be data packet head interpolation ECC, finally, the data that are packaged with ECC data packet head are sent to corresponding remote computer.
505, the receiving port of remote computer, after receiving the packet of transmitting terminal transmission, carries out deblocking to the data that contain data packet head ECC in the ECC of receiving port maker.
506, the ECC being honored as a queen in data according to solution carries out data check, when finding to have mistake, according to the data in ECC, carries out error correction.
507,, in the time error correction cannot being carried out according to the data in ECC, to data sending terminal, send data re-transmission request, to regain data.
The embodiment of the present invention provides a kind of method of transfer of data, and by obtaining data waiting for transmission, described packet waiting for transmission, containing the information that sends target, according to the information that sends target, is determined and sent target; For data encapsulation data packet head waiting for transmission, and be that described data packet head calculates error detection and correction code, send the data with data packet head; When receiving data, receive the data after encapsulation, the data that deblocking contains error detection and correction code, and the data that receive are detected, when there is mistake, according to the check digit of error detection and correction code, described data are carried out to error correction, if can not complete the error correction to described data by error detection and correction code, by default fault-tolerant setting, carry out request data retransmission.Can reduce the repeatability of Data Detection in link transmission, reduce the link transmission expense causing due to re-transmission, improve the operating efficiency of system.
The embodiment of the present invention provides a kind of device 01 of transfer of data, and as shown in figure 10, this device 01 comprises:
Data capture unit 011, for obtaining data waiting for transmission, described packet waiting for transmission is containing the information that sends target.
Target determining unit 012, for according to the information of described transmission target, determines the transmission target of described data waiting for transmission.
Data transmission unit 013, is used to described data encapsulation data packet head waiting for transmission, and is that described data packet head calculates error detection and correction code ECC, sends the data with data packet head ECC.
Wherein, as shown in figure 11, data transmission unit 013 comprises:
Packet header encapsulation unit 0131, for when described data waiting for transmission need to be sent to remote computer, is described data encapsulation data packet head waiting for transmission, and calculates described data packet head ECC.
Data transmission unit 0132, for sending the data that comprise described data packet head ECC.
The embodiment of the present invention provides a kind of device of transfer of data, and by obtaining data waiting for transmission, described packet waiting for transmission, containing the information that sends target, according to the information that sends target, is determined and sent target; For data encapsulation data packet head waiting for transmission, and be that described data packet head calculates error detection and correction code, send the data with data packet head; When receiving data, receive the data after encapsulation, the data that deblocking contains error detection and correction code, and the data that receive are detected, when there is mistake, according to the check digit of error detection and correction code, described data are carried out to error correction, if can not complete the error correction to described data by error detection and correction code, by default fault-tolerant setting, carry out request data retransmission.Can reduce the repeatability of Data Detection in link transmission, reduce the link transmission expense causing due to re-transmission, improve the operating efficiency of system.
The embodiment of the present invention provides a kind of device 02 of transfer of data, and as shown in figure 12, described device 02 comprises:
Retransmission unit 021, when receiving the described data packet head with ECC, if when the destination node forwarding has the packet that can store described data packet head, described packet is directly forwarded when forward node.
The embodiment of the present invention provides a kind of device of transfer of data, and by obtaining data waiting for transmission, described packet waiting for transmission, containing the information that sends target, according to the information that sends target, is determined and sent target; For data encapsulation data packet head waiting for transmission, and be that described data packet head calculates error detection and correction code, send the data with data packet head; When receiving data, receive the data after encapsulation, the data that deblocking contains error detection and correction code, and the data that receive are detected, when there is mistake, according to the check digit of error detection and correction code, described data are carried out to error correction, if can not complete the error correction to described data by error detection and correction code, by default fault-tolerant setting, carry out request data retransmission.Can reduce the repeatability of Data Detection in link transmission, reduce the link transmission expense causing due to re-transmission, improve the operating efficiency of system.
The embodiment of the present invention provides a kind of device 03 of transfer of data, and as shown in figure 13, described device 03 comprises:
Data receiver unit 031, for receiving the data that comprise error detection and correction code ECC after encapsulation, the data after described encapsulation comprise data packet head error detection and correction code HECC.
Data Detection unit 032, for according to the data that contain ECC described in described HECC deblocking, and detects the data of described reception according to described ECC.
Mistake processing unit 033, if the data of described reception exist mistake, carries out error correction according to the check digit of described ECC to described data, if can not complete the error correction to described data by ECC, by default fault-tolerant setting, carries out request data retransmission.
Wherein, described Data Detection unit 032 for:
By HECC described in deblocking, the data that receive described in determining are the data that transmitting terminal sends;
ECC in the data that receive described in deblocking, and according to described ECC, the described correctness by data is detected.
Further, described wrong processing unit 033 for:
If obtain the data of described reception by error detection computing, there is mistake, according to the check digit of ECC, carry out error correction computing.
Described wrong processing unit 033 also for:
When the check digit by described ECC can not complete the error correction of described data, by default fault-tolerant setting, to transmitting terminal request data retransmission.
The embodiment of the present invention provides a kind of device of transfer of data, and by obtaining data waiting for transmission, described packet waiting for transmission, containing the information that sends target, according to the information that sends target, is determined and sent target; For data encapsulation data packet head waiting for transmission, and be that described data packet head calculates error detection and correction code, send the data with data packet head; When receiving data, receive the data after encapsulation, the data that deblocking contains error detection and correction code, and the data that receive are detected, when there is mistake, according to the check digit of error detection and correction code, described data are carried out to error correction, if can not complete the error correction to described data by error detection and correction code, by default fault-tolerant setting, carry out request data retransmission.Can reduce the repeatability of Data Detection in link transmission, reduce the link transmission expense causing due to re-transmission, improve the operating efficiency of system.
The embodiment of the present invention also provides a kind of system 04 of transfer of data, and as shown in figure 14, this system comprises:
As installed the transmitting terminal 041 as described in 01 in embodiment.
As installed the retransmission unit 042 as described in 02 in embodiment.
As installed the receiving terminal 043 as described in 03 in embodiment.
The embodiment of the present invention provides a kind of system of transfer of data, and by obtaining data waiting for transmission, described packet waiting for transmission, containing the information that sends target, according to the information that sends target, is determined and sent target; For data encapsulation data packet head waiting for transmission, and be that described data packet head calculates error detection and correction code, send the data with data packet head; When receiving data, receive the data after encapsulation, the data that deblocking contains error detection and correction code, and the data that receive are detected, when there is mistake, according to the check digit of error detection and correction code, described data are carried out to error correction, if can not complete the error correction to described data by error detection and correction code, by default fault-tolerant setting, carry out request data retransmission.Can reduce the repeatability of Data Detection in link transmission, reduce the link transmission expense causing due to re-transmission, improve the operating efficiency of system.
The embodiment of the present invention also provides a kind of device 05 of transfer of data, and as shown in figure 15, this device 05 comprises: bus 051; And the processor 052, memory 053, reflector 054 and the receiver 055 that are connected to bus 051, wherein memory 053 is for storing instruction, and this processor 052 is for obtaining data waiting for transmission, and described packet waiting for transmission is containing the information that sends target; This processor 052, for according to the information of described transmission target, is determined the transmission target of described data waiting for transmission; This processor 052 is used to described data encapsulation data packet head waiting for transmission, and is that described data packet head calculates error detection and correction code ECC, sends the data with data packet head ECC.
In embodiments of the present invention, optional, this processor is carried out this instruction and is used to described data encapsulation data packet head waiting for transmission, and is that described data packet head calculates ECC, and the data that send with data packet head ECC comprise:
When described data waiting for transmission need to be sent to remote computer, be described data encapsulation data packet head waiting for transmission, and calculate described data packet head ECC;
Transmission comprises the data of described data packet head ECC.
Therefore, the device of embodiment of the present invention transfer of data, by obtaining data waiting for transmission, described packet waiting for transmission, containing the information that sends target, according to the information that sends target, is determined and is sent target; For data encapsulation data packet head waiting for transmission, and be that described data packet head calculates error detection and correction code, send the data with data packet head; When receiving data, receive the data after encapsulation, the data that deblocking contains error detection and correction code, and the data that receive are detected, when there is mistake, according to the check digit of error detection and correction code, described data are carried out to error correction, if can not complete the error correction to described data by error detection and correction code, by default fault-tolerant setting, carry out request data retransmission.Can reduce the repeatability of Data Detection in link transmission, reduce the link transmission expense causing due to re-transmission, improve the operating efficiency of system.
The embodiment of the present invention also provides a kind of device 06 of transfer of data, and as shown in figure 16, this device 06 comprises: bus 061; And the processor 062, memory 063, reflector 064 and the receiver 065 that are connected to bus 061, wherein memory 063 is for storing instruction, this processor 062 is when receiving the described data packet head with error detection and correction code ECC when forward node, if when the destination node forwarding has the packet that can store described data packet head, described packet is directly forwarded.
Therefore, the device of embodiment of the present invention transfer of data, by obtaining data waiting for transmission, described packet waiting for transmission, containing the information that sends target, according to the information that sends target, is determined and is sent target; For data encapsulation data packet head waiting for transmission, and be that described data packet head calculates error detection and correction code, send the data with data packet head; When receiving data, receive the data after encapsulation, the data that deblocking contains error detection and correction code, and the data that receive are detected, when there is mistake, according to the check digit of error detection and correction code, described data are carried out to error correction, if can not complete the error correction to described data by error detection and correction code, by default fault-tolerant setting, carry out request data retransmission.Can reduce the repeatability of Data Detection in link transmission, reduce the link transmission expense causing due to re-transmission, improve the operating efficiency of system.
The embodiment of the present invention also provides a kind of device 07 of transfer of data, and as shown in figure 17, this device 07 comprises: bus 071; And the processor 072, memory 073, reflector 074 and the receiver 075 that are connected to bus 071, wherein memory 073 is for storing instruction, this processor 072 is for receiving the data that comprise error detection and correction code ECC after encapsulation, and the data after described encapsulation comprise data packet head error detection and correction code HECC; This processor 072 is for according to the data that contain ECC described in described HECC deblocking, and according to described ECC, the data of described reception detected; If there is mistake for the data of described reception in this processor 072, according to the check digit of described ECC, described data are carried out to error correction, if can not complete the error correction to described data by ECC, by default fault-tolerant setting, carry out request data retransmission.
In embodiments of the present invention, optional, this processor is carried out this instruction for according to the data that contain ECC described in described HECC deblocking, and according to described ECC, the data of described reception is detected and comprised:
By HECC described in deblocking, the data that receive described in determining are the data that transmitting terminal sends;
ECC in the data that receive described in deblocking, and according to described ECC, the described correctness by data is detected.
In embodiments of the present invention, optional, if carrying out this instruction, this processor there is mistake for the data of described reception, by ECC, carry out error correction and comprise:
If obtain the data of described reception by error detection computing, there is mistake, according to the check digit of ECC, carry out error correction computing.
In embodiments of the present invention, optional, if this processor is carried out this instruction for not completed and be corrected a mistake by ECC, by fault-tolerant design request data retransmission, comprise:
When the check digit by described ECC can not complete the error correction of described data, by default fault-tolerant setting, to transmitting terminal request data retransmission.
Therefore, the device of embodiment of the present invention transfer of data, by obtaining data waiting for transmission, described packet waiting for transmission, containing the information that sends target, according to the information that sends target, is determined and is sent target; For data encapsulation data packet head waiting for transmission, and be that described data packet head calculates error detection and correction code, send the data with data packet head; When receiving data, receive the data after encapsulation, the data that deblocking contains error detection and correction code, and the data that receive are detected, when there is mistake, according to the check digit of error detection and correction code, described data are carried out to error correction, if can not complete the error correction to described data by error detection and correction code, by default fault-tolerant setting, carry out request data retransmission.Can reduce the repeatability of Data Detection in link transmission, reduce the link transmission expense causing due to re-transmission, improve the operating efficiency of system.
In the several embodiment that provide in the application, should be understood that, disclosed system, apparatus and method, can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, during actual realization, can have other dividing mode, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit comprises, also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that also can adopt hardware to add SFU software functional unit realizes.
The integrated unit that the above-mentioned form with SFU software functional unit realizes, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprise some instructions with so that computer equipment (can be personal computer, server, or the network equipment etc.) carry out the part steps of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (Read-Only Memory, be called for short ROM), the various media that can be program code stored such as random access memory (Random Access Memory is called for short RAM), magnetic disc or CD.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (15)

1. a data transmission method, is characterized in that, described method comprises:
Obtain data waiting for transmission, described packet waiting for transmission is containing the information that sends target;
According to the information of described transmission target, determine the transmission target of described data waiting for transmission;
For described data encapsulation data packet head waiting for transmission, and be that described data packet head calculates error detection and correction code ECC, send the data with data packet head ECC.
2. method according to claim 1, is characterized in that, described is described data encapsulation data packet head waiting for transmission, and is that described data packet head calculates ECC, and the data that send with data packet head ECC comprise:
When described data waiting for transmission need to be sent to remote computer, be described data encapsulation data packet head waiting for transmission, and calculate described data packet head ECC;
Transmission comprises the data of described data packet head ECC.
3. a method for transfer of data, is characterized in that, described method comprises:
When forward node receives the described data packet head with error detection and correction code ECC, if when the destination node forwarding has the packet that can store described data packet head, described packet is directly forwarded.
4. a method for transfer of data, is characterized in that, described method comprises:
Receive the data that comprise error detection and correction code ECC after encapsulating, the data after described encapsulation comprise data packet head error detection and correction code HECC;
According to the data that contain ECC described in described HECC deblocking, and according to described ECC, the data of described reception are detected;
If there is mistake in the data of described reception, according to the check digit of described ECC, described data are carried out to error correction, if can not complete the error correction to described data by ECC, by default fault-tolerant setting, carry out request data retransmission.
5. method according to claim 4, is characterized in that, described according to the data that contain ECC described in described HECC deblocking, and according to described ECC, the data of described reception is detected and comprised:
By HECC described in deblocking, the data that receive described in determining are the data that transmitting terminal sends;
ECC in the data that receive described in deblocking, and according to described ECC, the described correctness by data is detected.
6. method according to claim 4, is characterized in that, if the data of described reception exist mistake, by ECC, carries out error correction and comprises:
If obtain the data of described reception by error detection computing, there is mistake, according to the check digit of ECC, carry out error correction computing.
7. method according to claim 4, is characterized in that, if described, by ECC, can not be completed and be corrected a mistake, and by fault-tolerant design request data retransmission, comprises:
When the check digit by described ECC can not complete the error correction of described data, by default fault-tolerant setting, to transmitting terminal request data retransmission.
8. a device for transfer of data, is characterized in that, described device comprises:
Data capture unit, for obtaining data waiting for transmission, described packet waiting for transmission is containing the information that sends target;
Target determining unit, for according to the information of described transmission target, determines the transmission target of described data waiting for transmission;
Data transmission unit, is used to described data encapsulation data packet head waiting for transmission, and is that described data packet head calculates error detection and correction code ECC, sends the data with data packet head ECC.
9. device according to claim 8, is characterized in that, described data transmission unit comprises:
Packet header encapsulation unit, for when described data waiting for transmission need to be sent to remote computer, is described data encapsulation data packet head waiting for transmission, and calculates described data packet head ECC;
Data transmission unit, for sending the data that comprise described data packet head ECC.
10. a device for transfer of data, is characterized in that, described device comprises:
Retransmission unit, when receiving the described data packet head with ECC, if when the destination node forwarding has the packet that can store described data packet head, described packet is directly forwarded when forward node.
The device of 11. 1 kinds of transfer of data, is characterized in that, described device comprises:
Data receiver unit, for receiving the data that comprise error detection and correction code ECC after encapsulation, the data after described encapsulation comprise data packet head error detection and correction code HECC;
Data Detection unit, for according to the data that contain ECC described in described HECC deblocking, and detects the data of described reception according to described ECC;
Mistake processing unit, if the data of described reception exist mistake, carries out error correction according to the check digit of described ECC to described data, if can not complete the error correction to described data by ECC, by default fault-tolerant setting, carries out request data retransmission.
12. devices according to claim 11, is characterized in that, described Data Detection unit is used for:
By HECC described in deblocking, the data that receive described in determining are the data that transmitting terminal sends;
ECC in the data that receive described in deblocking, and according to described ECC, the described correctness by data is detected.
13. devices according to claim 11, is characterized in that, described wrong processing unit is used for:
If obtain the data of described reception by error detection computing, there is mistake, according to the check digit of ECC, carry out error correction computing.
14. devices according to claim 11, is characterized in that, described wrong processing unit also for:
When the check digit by described ECC can not complete the error correction of described data, by default fault-tolerant setting, to transmitting terminal request data retransmission.
The system of 15. 1 kinds of transfer of data, is characterized in that, described system comprises:
As claim 1 to 2, the transmitting terminal described in 8 to 9;
Retransmission unit as described in claim 3,10;
As claim 4 to 7, the receiving terminal described in 11 to 14.
CN201310198792.3A 2013-05-24 2013-05-24 A kind of methods, devices and systems of data transmission Active CN104184543B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310198792.3A CN104184543B (en) 2013-05-24 2013-05-24 A kind of methods, devices and systems of data transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310198792.3A CN104184543B (en) 2013-05-24 2013-05-24 A kind of methods, devices and systems of data transmission

Publications (2)

Publication Number Publication Date
CN104184543A true CN104184543A (en) 2014-12-03
CN104184543B CN104184543B (en) 2018-10-30

Family

ID=51965316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310198792.3A Active CN104184543B (en) 2013-05-24 2013-05-24 A kind of methods, devices and systems of data transmission

Country Status (1)

Country Link
CN (1) CN104184543B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017012389A1 (en) * 2015-07-22 2017-01-26 深圳市中兴微电子技术有限公司 Link detection method, receiving device and computer storage medium
WO2019109239A1 (en) * 2017-12-05 2019-06-13 深圳市汇顶科技股份有限公司 Data transmission method, transmitting end device and receiving end device
CN110515646A (en) * 2019-07-26 2019-11-29 华为技术有限公司 A kind of difference upgrade method and relevant device
CN111427832A (en) * 2020-04-17 2020-07-17 展讯通信(上海)有限公司 Data transmission method and communication device of serial bus
CN111541518A (en) * 2020-04-17 2020-08-14 展讯通信(上海)有限公司 Data transmission method and communication device of serial bus
CN113918487A (en) * 2021-10-22 2022-01-11 北京灵汐科技有限公司 Data packet processing method and data packet processing device
CN115567167A (en) * 2022-12-06 2023-01-03 芯动微电子科技(珠海)有限公司 Bus transmission data error correction method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01223844A (en) * 1988-03-03 1989-09-06 Ricoh Co Ltd Data transmission system
CN1813412A (en) * 2003-02-19 2006-08-02 哈里公司 Mobile ad-hoc network (manet) including forward error correction (fec), interleaving, and multi-route communication features and related methods
CN101312387A (en) * 2007-05-24 2008-11-26 富士施乐株式会社 Data transmission apparatus, data transmission device, data reception device and data transmission system
US20090245400A1 (en) * 2008-03-25 2009-10-01 Ralink Technology Corporation Method for selection of error-correction code in mimo wireless communication systems
CN101675706A (en) * 2007-12-12 2010-03-17 松下电器产业株式会社 Data transmission/reception system, terminal, relay device, and data transmission method
CN102394112A (en) * 2006-06-30 2012-03-28 英特尔公司 Reliability, availability, and serviceability in a memory device
CN103036646A (en) * 2012-12-05 2013-04-10 清华大学 ECC (error correction code) decoding controlling method used for data communication

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01223844A (en) * 1988-03-03 1989-09-06 Ricoh Co Ltd Data transmission system
CN1813412A (en) * 2003-02-19 2006-08-02 哈里公司 Mobile ad-hoc network (manet) including forward error correction (fec), interleaving, and multi-route communication features and related methods
CN102394112A (en) * 2006-06-30 2012-03-28 英特尔公司 Reliability, availability, and serviceability in a memory device
CN101312387A (en) * 2007-05-24 2008-11-26 富士施乐株式会社 Data transmission apparatus, data transmission device, data reception device and data transmission system
CN101675706A (en) * 2007-12-12 2010-03-17 松下电器产业株式会社 Data transmission/reception system, terminal, relay device, and data transmission method
US20090245400A1 (en) * 2008-03-25 2009-10-01 Ralink Technology Corporation Method for selection of error-correction code in mimo wireless communication systems
CN103036646A (en) * 2012-12-05 2013-04-10 清华大学 ECC (error correction code) decoding controlling method used for data communication

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
任大鹏: ""HDMI芯片中的音频信号处理及实现"", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
温浪明: ""基于MIPI-DSI协议的LCD驱动接口设计"", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017012389A1 (en) * 2015-07-22 2017-01-26 深圳市中兴微电子技术有限公司 Link detection method, receiving device and computer storage medium
WO2019109239A1 (en) * 2017-12-05 2019-06-13 深圳市汇顶科技股份有限公司 Data transmission method, transmitting end device and receiving end device
CN110121850A (en) * 2017-12-05 2019-08-13 深圳市汇顶科技股份有限公司 Method, transmitting end equipment and the receiving device of data transmission
CN110121850B (en) * 2017-12-05 2022-05-31 深圳市汇顶科技股份有限公司 Data transmission method, transmitting terminal equipment and receiving terminal equipment
CN110515646A (en) * 2019-07-26 2019-11-29 华为技术有限公司 A kind of difference upgrade method and relevant device
CN111427832A (en) * 2020-04-17 2020-07-17 展讯通信(上海)有限公司 Data transmission method and communication device of serial bus
CN111541518A (en) * 2020-04-17 2020-08-14 展讯通信(上海)有限公司 Data transmission method and communication device of serial bus
CN113918487A (en) * 2021-10-22 2022-01-11 北京灵汐科技有限公司 Data packet processing method and data packet processing device
CN115567167A (en) * 2022-12-06 2023-01-03 芯动微电子科技(珠海)有限公司 Bus transmission data error correction method and device
CN115567167B (en) * 2022-12-06 2023-03-31 芯动微电子科技(珠海)有限公司 Bus transmission data error correction method and device

Also Published As

Publication number Publication date
CN104184543B (en) 2018-10-30

Similar Documents

Publication Publication Date Title
CN104184543A (en) Data transmission method, device and system
CN111641474A (en) FLIT-based parallel forward error correction and parity checking
US7810013B2 (en) Memory device that reflects back error detection signals
TWI546814B (en) Memory device having error correction logic
CN104699576B (en) Serial communication testing device, system comprising same and method thereof
US9191030B2 (en) Memory controller, data storage device, and memory controlling method
US8607121B2 (en) Selective error detection and error correction for a memory interface
US7725805B2 (en) Method and information apparatus for improving data reliability
JP2007300619A (en) Method, apparatus, and program for maintaining integrity of data in case of switching between different data protection method
KR20190043540A (en) Link error correction in memory system
KR20120064462A (en) Memory controller and method for correcting error the same, and memory system having the same
CN105474190A (en) Response control for memory modules that include or interface with non-compliant memory technologies
KR20160018987A (en) Interface circuit and packet transmission method thereof
CN102103558A (en) Multi-channel NANDflash controller with write retransmission function
KR20140147218A (en) Memory device and system including the same
TWI564904B (en) Data managing method, memory control circuit unit and memory storage apparatus
US11106533B2 (en) Memory systems and writing methods of the memory systems
CN103531246A (en) Quick memory error correction method with reading replacing writing
JP2008090442A (en) Memory control device
US8868517B2 (en) Scatter gather list for data integrity
EP3065323B1 (en) Transmission method and device based on management data input/output multi-source agreements
KR20110003726A (en) Crc mamagement method for sata interface and data storage device thereof
US11726665B1 (en) Memory extension with error correction
KR102535563B1 (en) Method for multiple uart communications using can bus, recording medium and device for performing the method
TW201729103A (en) Computing system with communication mechanism and method of operation thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant