CN116112119A - Method and device for processing data - Google Patents
Method and device for processing data Download PDFInfo
- Publication number
- CN116112119A CN116112119A CN202111331219.6A CN202111331219A CN116112119A CN 116112119 A CN116112119 A CN 116112119A CN 202111331219 A CN202111331219 A CN 202111331219A CN 116112119 A CN116112119 A CN 116112119A
- Authority
- CN
- China
- Prior art keywords
- data
- node
- groups
- group
- data group
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 165
- 238000012545 processing Methods 0.000 title claims abstract description 105
- 230000008569 process Effects 0.000 claims abstract description 38
- 230000015654 memory Effects 0.000 claims description 52
- 238000004590 computer program Methods 0.000 claims description 19
- 230000008878 coupling Effects 0.000 claims description 4
- 238000010168 coupling process Methods 0.000 claims description 4
- 238000005859 coupling reaction Methods 0.000 claims description 4
- 238000004891 communication Methods 0.000 description 24
- 238000012937 correction Methods 0.000 description 21
- 230000006870 function Effects 0.000 description 17
- 238000010586 diagram Methods 0.000 description 14
- 230000005540 biological transmission Effects 0.000 description 12
- 238000013461 design Methods 0.000 description 6
- 230000001360 synchronised effect Effects 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 3
- 239000000872 buffer Substances 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 230000002776 aggregation Effects 0.000 description 2
- 238000004220 aggregation Methods 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0009—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0041—Arrangements at the transmitter end
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
Description
技术领域technical field
本申请实施例涉及通信领域,并且,更具体地,涉及处理数据的方法和装置。The embodiments of the present application relate to the communication field, and, more specifically, to a method and an apparatus for processing data.
背景技术Background technique
在当前的数据中心网络(data center networks,DCN)以及其他一些交换网络中,大多采用多层交换架构,在该架构下,一般采用“报头+载荷”的方式进行数据交换,例如以太协议。其中,载荷为传输的数据,报头包括路由信息和控制信息,报头能够使得载荷中的数据顺利通过中间的各个交换节点最终传输到目的节点。In the current data center networks (data center networks, DCN) and some other switching networks, most of them adopt a multi-layer switching architecture. Under this architecture, the "header + payload" method is generally used for data exchange, such as the Ethernet protocol. Wherein, the payload is the data to be transmitted, and the header includes routing information and control information, and the header can make the data in the payload smoothly pass through each switching node in the middle and finally be transmitted to the destination node.
在数据交换过程中,中间交换节点根据报头中的路由信息和控制信息存储转发收到的数据包,并配置缓存来避免端口拥塞,例如多个数据包需要同时从同一个端口发出的情况。During the data exchange process, the intermediate switching node stores and forwards the received data packets according to the routing information and control information in the header, and configures the cache to avoid port congestion, such as the situation that multiple data packets need to be sent from the same port at the same time.
但是交换节点处的缓存资源是有限的,在缓存占用到达上限时,交换节点会丢弃额外的数据包,造成丢包。在接收节点发现数据包丢失后,会通知发送节点重新发送丢失的数据包,即重传机制,重传会导致毫秒级别的交换延时,影响数据交换效率。However, the cache resource at the switching node is limited, and when the buffer usage reaches the upper limit, the switching node will discard extra data packets, resulting in packet loss. After the receiving node finds that the data packet is lost, it will notify the sending node to resend the lost data packet, that is, the retransmission mechanism. Retransmission will cause a millisecond-level exchange delay and affect the data exchange efficiency.
发明内容Contents of the invention
本申请实施例提供一种处理数据的方法和装置,可以有效避免数据交换过程中的丢包问题,从而提升数据交换的效率。Embodiments of the present application provide a data processing method and device, which can effectively avoid packet loss during data exchange, thereby improving data exchange efficiency.
第一方面,提供了一种处理数据的方法,该方法应用于数据交换网络。该方法包括:In a first aspect, a method for processing data is provided, and the method is applied to a data exchange network. The method includes:
第一节点将第一数据分成K个数据组,K为大于1的整数,该第一数据为发送至第二节点的数据,第一节点对该K个数据组使用第一编码方案编码,得到第二数据,该第二数据包括M1个第一码字,该第一码字是对从该K个数据组的每个数据组中选取的部分数据使用第一编码方案编码生成的码字,M1为大于1的整数,第一节点向第二节点发送第二数据。The first node divides the first data into K data groups, K is an integer greater than 1, the first data is the data sent to the second node, and the first node encodes the K data groups using the first coding scheme to obtain The second data, the second data includes M1 first codewords, the first codewords are codewords generated by encoding partial data selected from each of the K data groups using a first coding scheme, M1 is an integer greater than 1, and the first node sends the second data to the second node.
基于上述方案,在生成第一码字的过程中,选取了每个数据组中的数据,因此在第二数据的接收端,若丢失了属于第二数据的数据组,可以根据第一码字译码找回丢失的数据组,从而提升数据交换的效率。Based on the above scheme, in the process of generating the first codeword, the data in each data group is selected, so at the receiving end of the second data, if the data group belonging to the second data is lost, the first codeword can be used to Decoding retrieves lost data groups, thereby improving the efficiency of data exchange.
结合第一方面,在第一方面的某些实现方式中,该M1个第一码字包括N个数据组,该N个数据组中的第一数据组包括位置信息,该位置信息指示第一数据组在该N个数据组中的位置,第一数据组为N个数据组中的任一数据组,N为大于K的整数。With reference to the first aspect, in some implementations of the first aspect, the M1 first codewords include N data groups, and the first data group in the N data groups includes position information, and the position information indicates the first The position of the data group in the N data groups, the first data group is any data group in the N data groups, and N is an integer greater than K.
基于上述方案,在使用第一编码方案编码后的数据组中添加位置信息,可以使得第二数据的接收端根据接收到的每个数据组中的位置信息,恢复使用第一编码方案编码后的数据组的排列,从而确定第一码字,用以恢复丢失的数据组。Based on the above scheme, adding position information to the data group encoded using the first coding scheme can make the receiving end of the second data recover the data encoded using the first coding scheme according to the received position information in each data group. The arrangement of the data groups, so as to determine the first codeword for recovering the lost data groups.
结合第一方面,在第一方面的某些实现方式中,该N个数据组的长度相同。With reference to the first aspect, in some implementation manners of the first aspect, the N data groups have the same length.
结合第一方面,在第一方面的某些实现方式中,使用第一编码方案编码生成该第一码字时,在该K个数据组的每个数据组中选取的承载数据的符号的数量相同。With reference to the first aspect, in some implementations of the first aspect, when the first codeword is generated by encoding using the first encoding scheme, the number of symbols carrying data selected in each of the K data groups same.
结合第一方面,在第一方面的某些实现方式中,使用第一编码方案编码生成该第一码字时,在该K个数据组的每个数据组中选取的承载数据的符号的位置相同。With reference to the first aspect, in some implementations of the first aspect, when the first codeword is generated by encoding using the first encoding scheme, the position of the symbol carrying the data selected in each of the K data groups same.
结合第一方面,在第一方面的某些实现方式中,该M1个第一码字包括N个数据组,N为大于K的整数,第一节点对该N个数据组使用第二编码方案编码,生成第三数据,该第三数据包括M2个第二码字,该第二码字是对U个数据组的全部数据使用该第二编码方案编码生成的码字,该U个数据组选自该N个数据组,1≤U≤N,1≤M2≤N,向第二节点发送该第三数据。With reference to the first aspect, in some implementations of the first aspect, the M1 first codewords include N data groups, where N is an integer greater than K, and the first node uses the second encoding scheme for the N data groups Encoding to generate third data, the third data includes M2 second codewords, the second codewords are codewords generated by encoding all the data of U data groups using the second coding scheme, and the U data groups Select the N data groups, 1≤U≤N, 1≤M2≤N, and send the third data to the second node.
基于上述方案,在使用第一编码方案的基础上,使用第二编码方案对N个数据组再次编码,可以使得每个数据组被准确的传输,避免数据组在交换的过程中的乱码,错码。Based on the above scheme, on the basis of using the first encoding scheme, use the second encoding scheme to encode the N data groups again, so that each data group can be transmitted accurately, and avoid garbled characters and errors during the exchange of data groups. code.
结合第一方面,在第一方面的某些实现方式中,该N个数据组的每个数据组包括表征该第二数据的标识。With reference to the first aspect, in some implementation manners of the first aspect, each of the N data groups includes an identifier representing the second data.
基于上述方案,第二节点接收到数据组后,可以通过该标识区分属于第二数据的数据组,从而更加准确的判断第二数据在数据交换的过程中有无丢失数据组。Based on the above solution, after the second node receives the data group, it can distinguish the data group belonging to the second data through the identifier, so as to more accurately judge whether there is a missing data group in the process of data exchange of the second data.
结合第一方面,在第一方面的某些实现方式中,第一编码方案包括前向纠错编码FEC。With reference to the first aspect, in some implementation manners of the first aspect, the first coding scheme includes forward error correction coding (FEC).
结合第一方面,在第一方面的某些实现方式中,第二编码方案包括前向纠错编码FEC。With reference to the first aspect, in some implementation manners of the first aspect, the second coding scheme includes forward error correction coding (FEC).
第二方面,提供了一种处理数据的方法,该方法应用于数据交换网络。该方法包括:第二节点接收来自第一节点的属于第二数据的数据组,该第二数据包括M1个第一码字,该第一码字是对从K个数据组的每个数据组中选取的部分数据使用第一编码方案编码生成的码字,K和M1为大于1的整数。In a second aspect, a method for processing data is provided, and the method is applied to a data exchange network. The method includes: the second node receives a data group belonging to the second data from the first node, the second data includes M1 first codewords, and the first codeword is for each data group from the K data groups Part of the data selected in is encoded using the first encoding scheme to generate codewords, and K and M1 are integers greater than 1.
基于上述方案,由于第一节点在生成第一码字的过程中,选取了每个数据组中的数据,因此第二节点可以在丢失了第二数据的数据组的情况下,对第一码字译码找回丢失的数据组,从而提升数据交换的效率。Based on the above scheme, since the first node selects the data in each data group during the process of generating the first codeword, the second node can, in the case of losing the data group of the second data, update the first codeword Word decoding retrieves lost data groups, thereby improving the efficiency of data exchange.
结合第二方面,在第二方面的某些实现方式中,该M1个第一码字包括N个数据组,N为大于K的整数,第二节点在接收到属于第二数据的第一个数据组开始开启计时器,若在计时器结束前,第二节点接收的属于第二数据的数据组的个数小于N,则确定第二数据有丢失数据组,若在计时器结束前,第二节点接收的属于该第二数据的数据组的个数等于N,则确定第二数据没有丢失数据组。With reference to the second aspect, in some implementations of the second aspect, the M1 first codewords include N data groups, where N is an integer greater than K, and the second node receives the first The data group begins to start the timer. If the number of data groups belonging to the second data received by the second node is less than N before the timer ends, it is determined that the second data has a missing data group. If the number of data groups belonging to the second data received by the second node is equal to N, it is determined that the second data does not have a missing data group.
基于上述方案,可以人为设定一个时间段,并在该时间段内判断数据是否存在丢包问题,从而避免判断延时。Based on the above solution, a time period can be set artificially, and whether there is a packet loss problem in the data can be judged within the time period, so as to avoid judgment delay.
结合第二方面,在第二方面的某些实现方式中,第二节点缓存接收到的数据组,在确定该第二数据有丢失数据组的情况下,第二节点根据接收到的属于该第二数据的数据组恢复丢失的数据组。With reference to the second aspect, in some implementations of the second aspect, the second node caches the received data group, and when it is determined that the second data has a missing data group, the second node according to the received The data set of the second data restores the lost data set.
结合第二方面,在第二方面的某些实现方式中,该N个数据组中的第一数据组包括位置信息,第一数据组为N个数据组中的任一数据组,第二节点根据接收到的属于该第二数据的数据组以及数据组中的位置信息确定M1个第一码字,并对该M1个第一码字使用第一译码恢复丢失的数据组。With reference to the second aspect, in some implementations of the second aspect, the first data group in the N data groups includes location information, the first data group is any data group in the N data groups, and the second node Determining M1 first codewords according to the received data groups belonging to the second data and the position information in the data groups, and using the first decoding to recover the lost data groups for the M1 first codewords.
基于上述方案,第二节点通过第一节点在使用第一编码方案编码后的数据组中添加的位置信息,恢复第一节点使用第一编码方案编码后的数据组的排列,从而确定可以恢复丢失的数据组的第一码字。Based on the above scheme, the second node restores the arrangement of the data group encoded by the first node using the first coding scheme through the position information added by the first node in the data group encoded using the first coding scheme, so as to determine that the lost The first codeword of the data group.
结合第二方面,在第二方面的某些实现方式中,清除缓存的第二数据的数据组。With reference to the second aspect, in some implementation manners of the second aspect, the cached data group of the second data is cleared.
基于上述方案,通过清除缓存提升第二节点处的缓存容量。Based on the foregoing solution, the cache capacity at the second node is increased by clearing the cache.
结合第二方面,在第二方面的某些实现方式中,该N个数据组的长度相同。With reference to the second aspect, in some implementation manners of the second aspect, the N data groups have the same length.
结合第二方面,在第二方面的某些实现方式中,该第一码字是对从该K个数据组中的每个数据组中选取的相同数量的符号上的数据使用第一编码方案编码生成的码字。With reference to the second aspect, in some implementations of the second aspect, the first codeword uses the first encoding scheme for the data on the same number of symbols selected from each of the K data groups Encode the generated codeword.
结合第二方面,在第二方面的某些实现方式中,上述相同数量的符号在K个数据组的每个数据组中的位置相同。With reference to the second aspect, in some implementation manners of the second aspect, the above symbols of the same number have the same position in each of the K data groups.
结合第二方面,在第二方面的某些实现方式中,该N个数据组的每个数据组包括表征第二数据的标识。With reference to the second aspect, in some implementation manners of the second aspect, each of the N data groups includes an identifier representing the second data.
基于上述方案,第二节点接收到数据组后,可以通过该标识区分属于第二数据的数据组,从而更加准确的判断第二数据有无丢失数据组。Based on the above scheme, after receiving the data group, the second node can use the identifier to distinguish the data group belonging to the second data, so as to more accurately judge whether there is a missing data group in the second data.
结合第二方面,在第二方面的某些实现方式中,该M1个第一码字包括N个数据组,第二节点接收来自该第一节点的第三数据,该第三数据包括M2个第二码字,该第二码字是对U个数据组的全部数据使用该第二编码方案编码生成的码字,1≤U≤N,1≤M2≤N,该U个数据组选自该N个数据组,第二节点对该M2个第二码字使用第二译码,生成第二数据。With reference to the second aspect, in some implementations of the second aspect, the M1 first codewords include N data groups, and the second node receives third data from the first node, and the third data includes M2 The second codeword, the second codeword is a codeword generated by encoding all the data of the U data groups using the second encoding scheme, 1≤U≤N, 1≤M2≤N, and the U data groups are selected from For the N data groups, the second node uses the second decoding for the M2 second codewords to generate second data.
基于上述方案,因第二数据经过了两次编码,第二节点可以通过第二译码准确的接收每个数据组(若其中有数据组在传输过程中出现错误,第二节点可通过第二译码对该数据组进行纠错),并且可以通过第一译码恢复丢失的数据组。Based on the above scheme, because the second data has been encoded twice, the second node can accurately receive each data group through the second decoding (if any data group has an error during transmission, the second node can pass the second Decoding performs error correction on the data group), and the lost data group can be recovered through the first decoding.
结合第二方面,在第二方面的某些实现方式中,第一译码包括前向纠错编码FEC对应的译码。With reference to the second aspect, in some implementation manners of the second aspect, the first decoding includes decoding corresponding to a forward error correction code (FEC).
结合第二方面,在第二方面的某些实现方式中,第二译码包括前向纠错编码FEC对应的译码。With reference to the second aspect, in some implementation manners of the second aspect, the second decoding includes decoding corresponding to a forward error correction code (FEC).
第三方面,提供了一种处理数据的装置,该装置为数据交换网络中的装置。该装置包括:处理单元和收发单元,该处理单元用于将第一数据分成K个数据组,K为大于1的整数,该第一数据为发送至第二节点的数据,该处理单元还用于对该K个数据组使用第一编码方案编码,得到第二数据,该第二数据包括M1个第一码字,该第一码字是对从该K个数据组的每个数据组中选取的部分数据使用第一编码方案编码生成的码字,M1为大于1的整数;该收发单元用于向第二节点发送该第二数据。In a third aspect, a device for processing data is provided, and the device is a device in a data exchange network. The device includes: a processing unit and a transceiver unit, the processing unit is used to divide the first data into K data groups, K is an integer greater than 1, the first data is data sent to the second node, and the processing unit also uses Encoding the K data groups using the first encoding scheme to obtain second data, the second data includes M1 first codewords, and the first codewords are for each data group from the K data groups The selected part of the data is encoded using the first encoding scheme to generate a codeword, M1 is an integer greater than 1; the transceiver unit is used to send the second data to the second node.
基于上述方案,在生成第一码字的过程中,选取了每个数据组中的数据,因此在第二数据的接收端(第二节点),若丢失了属于第二数据的数据组,可以根据第一码字译码找回丢失的数据组,从而提升数据交换的效率。Based on the above scheme, in the process of generating the first codeword, the data in each data group is selected, so at the receiving end (second node) of the second data, if the data group belonging to the second data is lost, it can be The lost data group is retrieved according to the decoding of the first codeword, thereby improving the efficiency of data exchange.
结合第三方面,在第三方面的某些实现方式中,该M1个第一码字包括N个数据组,该N个数据组中的第一数据组包括位置信息,该位置信息指示该第一数据组在该N个数据组中的位置,该第一数据组为该N个数据组中的任一数据组,N为大于K的整数。With reference to the third aspect, in some implementations of the third aspect, the M1 first codewords include N data groups, and the first data group in the N data groups includes position information, and the position information indicates that the first data group The position of a data group in the N data groups, the first data group is any data group in the N data groups, and N is an integer greater than K.
基于上述方案,在使用第一编码方案编码后的数据组中添加位置信息,可以使得第二数据的接收端根据接收到的每个数据组中的位置信息,恢复使用第一编码方案编码后的数据组的排列,从而确定第一码字,用以恢复丢失的数据组。Based on the above scheme, adding position information to the data group encoded using the first coding scheme can make the receiving end of the second data recover the data encoded using the first coding scheme according to the received position information in each data group. The arrangement of the data groups, so as to determine the first codeword for recovering the lost data groups.
结合第三方面,在第三方面的某些实现方式中,该N个数据组的长度相同。With reference to the third aspect, in some implementation manners of the third aspect, the N data groups have the same length.
结合第三方面,在第三方面的某些实现方式中,该处理单元使用第一编码方案编码生成该第一码字时,在该K个数据组的每个数据组中选取的承载数据的符号的数量相同。With reference to the third aspect, in some implementation manners of the third aspect, when the processing unit encodes and generates the first codeword using the first coding scheme, the data carrying data selected in each of the K data groups The number of symbols is the same.
结合第三方面,在第三方面的某些实现方式中,该处理单元使用第一编码方案编码生成该第一码字时,在该K个数据组的每个数据组中选取的承载数据的符号的位置相同。With reference to the third aspect, in some implementation manners of the third aspect, when the processing unit encodes and generates the first codeword using the first coding scheme, the data carrying data selected in each of the K data groups The positions of the symbols are the same.
结合第三方面,在第三方面的某些实现方式中,该M1个第一码字包括N个数据组,N为大于K的整数,该处理单元还用于对该N个数据组使用第二编码方案编码,生成第三数据,该第三数据包括M2个第二码字,该第二码字是对U个数据组的全部数据使用第二编码方案编码生成的码字,该U个数据组选自该N个数据组,1≤U≤N,1≤M2≤N,该收发单元,用于向第二节点发送该第三数据。With reference to the third aspect, in some implementations of the third aspect, the M1 first codewords include N data groups, where N is an integer greater than K, and the processing unit is further configured to use the first codeword for the N data groups The second encoding scheme is encoded to generate the third data, the third data includes M2 second codewords, the second codewords are codewords generated by using the second encoding scheme to encode all the data of the U data groups, the U The data group is selected from the N data groups, 1≤U≤N, 1≤M2≤N, and the transceiver unit is used to send the third data to the second node.
基于上述方案,在使用第一编码的基础上,使用第二编码对N个数据组再次编码,可以使得每个数据组被准确的传输,避免数据组在传输的过程中的乱码,错码。Based on the above scheme, on the basis of using the first encoding, the second encoding is used to encode the N data groups again, so that each data group can be transmitted accurately, and garbled and wrong codes during the transmission of the data groups can be avoided.
结合第三方面,在第三方面的某些实现方式中,该N个数据组的每个数据组包括表征该第二数据的标识。With reference to the third aspect, in some implementation manners of the third aspect, each of the N data groups includes an identifier representing the second data.
基于上述方案,第二节点接收到数据组后,可以通过该标识区分属于第二数据的数据组,从而更加准确的判断第二数据在数据交换过程中有无丢失数据组。Based on the above solution, after the second node receives the data group, it can use the identifier to distinguish the data group belonging to the second data, so as to more accurately judge whether there is a missing data group in the second data during the data exchange process.
结合第三方面,在第三方面的某些实现方式中,第一编码方案包括前向纠错编码FEC。With reference to the third aspect, in some implementation manners of the third aspect, the first coding scheme includes forward error correction coding (FEC).
结合第三方面,在第三方面的某些实现方式中,第二编码方案包括前向纠错编码FEC。With reference to the third aspect, in some implementation manners of the third aspect, the second coding scheme includes forward error correction coding (FEC).
第四方面,提供了一种处理数据的装置,该装置为数据交换网络中的装置。该装置包括:收发单元和处理单元,该收发单元用于接收来自第一节点的属于第二数据的数据组,该第二数据包括M1个第一码字,该第一码字是对从K个数据组的每个数据组中选取的部分数据使用第一编码方案编码生成的码字,K和M1为大于1的整数。In a fourth aspect, a device for processing data is provided, and the device is a device in a data exchange network. The device includes: a transceiver unit and a processing unit, the transceiver unit is used to receive a data group belonging to the second data from the first node, the second data includes M1 first codewords, and the first codeword is for the slave K Part of the data selected in each data group of the three data groups is encoded using the first coding scheme to generate codewords, and K and M1 are integers greater than 1.
基于上述方案,由于第一节点在生成第一码字的过程中,选取了每个数据组中的数据,因此第二节点可以在丢失了第二数据的数据组的情况下,对第一码字译码找回丢失的数据组,从而提升数据交换的效率。Based on the above scheme, since the first node selects the data in each data group during the process of generating the first codeword, the second node can, in the case of losing the data group of the second data, update the first codeword Word decoding retrieves lost data groups, thereby improving the efficiency of data exchange.
结合第四方面,在第四方面的某些实现方式中,该M1个第一码字包括N个数据组,N为大于K的整数,该处理单元用于,在收发单元接收到属于第二数据的第一个数据组开始开启计时器,若在计时器结束前,该收发单元接收的属于第二数据的数据组的个数小于N,则确定第二数据有丢失数据组,若在该计时器结束前,该收发单元接收的属于第二数据的数据组的个数等于N,则确定第二数据没有丢失数据组。With reference to the fourth aspect, in some implementations of the fourth aspect, the M1 first codewords include N data groups, where N is an integer greater than K, and the processing unit is used to, when the transceiver unit receives the second The first data group of the data begins to start the timer, if before the end of the timer, the number of data groups belonging to the second data received by the transceiver unit is less than N, then it is determined that the second data has a missing data group. Before the timer expires, if the number of data groups belonging to the second data received by the transceiver unit is equal to N, it is determined that the second data has no missing data groups.
基于上述方案,可以人为设定一个时间段,并在该时间段内判断数据是否存在丢包问题,从而避免判断延时。Based on the above solution, a time period can be set artificially, and whether there is a packet loss problem in the data can be judged within the time period, so as to avoid judgment delay.
结合第四方面,在第四方面的某些实现方式中,该装置还包括存储单元:该存储单元,用于缓存接收到的数据组,该处理单元,还用于在确定第二数据有丢失数据组的情况下,根据该收发单元接收到的属于第二数据的数据组恢复丢失的数据组。With reference to the fourth aspect, in some implementation manners of the fourth aspect, the device further includes a storage unit: the storage unit is configured to cache the received data group, and the processing unit is also configured to determine that the second data is lost In the case of a data group, the lost data group is recovered according to the data group received by the transceiver unit belonging to the second data.
结合第四方面,在第四方面的某些实现方式中,该第二数据包括N个数据组,该N个数据组中的第一数据组包括位置信息,该第一数据组为该N个数据组中的任一数据组,该处理单元,还用于根据该收发单元接收到的属于该第二数据的数据组以及数据组中的位置信息确定该第一码字,对该第一码字使用第一译码恢复丢失的数据组。With reference to the fourth aspect, in some implementations of the fourth aspect, the second data includes N data groups, the first data group in the N data groups includes location information, and the first data group is the N data groups For any data group in the data group, the processing unit is further configured to determine the first code word according to the data group received by the transceiver unit belonging to the second data and the position information in the data group, and the first code word word using the first decoding to recover the lost data set.
基于上述方案,第二节点通过第一节点在使用第一编码方案编码后的数据组中添加的位置信息,恢复第一节点使用第一编码方案编码后的数据组的排列,从而确定可以恢复丢失的数据组的第一码字。Based on the above scheme, the second node restores the arrangement of the data group encoded by the first node using the first coding scheme through the position information added by the first node in the data group encoded using the first coding scheme, so as to determine that the lost The first codeword of the data group.
结合第四方面,在第四方面的某些实现方式中,该处理单元还用于清除存储单元中缓存的第二数据的数据组。With reference to the fourth aspect, in some implementation manners of the fourth aspect, the processing unit is further configured to clear the data group of the second data cached in the storage unit.
基于上述方案,通过清除缓存提升第二节点处的缓存容量。Based on the foregoing solution, the cache capacity at the second node is increased by clearing the cache.
结合第四方面,在第四方面的某些实现方式中,该N个数据组的长度相同。With reference to the fourth aspect, in some implementation manners of the fourth aspect, the N data groups have the same length.
结合第四方面,在第四方面的某些实现方式中,该第一码字是对从K个数据组中的每个数据组中选取的相同数量的符号上的数据使用第一编码方案编码生成的码字。With reference to the fourth aspect, in some implementations of the fourth aspect, the first codeword is to encode the data on the same number of symbols selected from each of the K data groups using the first coding scheme Generated codewords.
结合第四方面,在第四方面的某些实现方式中,该相同数量的符号在K个数据组的每个数据组中的位置相同。With reference to the fourth aspect, in some implementation manners of the fourth aspect, the symbols of the same number have the same position in each of the K data groups.
结合第四方面,在第四方面的某些实现方式中,该N个数据组的每个数据组包括表征该第二数据的标识。With reference to the fourth aspect, in some implementation manners of the fourth aspect, each of the N data groups includes an identifier representing the second data.
基于上述方案,第二节点接收到数据组后,可以通过该标识区分属于第二数据的数据组,从而更加准确的判断第二数据有无丢失数据组。Based on the above scheme, after receiving the data group, the second node can use the identifier to distinguish the data group belonging to the second data, so as to more accurately judge whether there is a missing data group in the second data.
结合第四方面,在第四方面的某些实现方式中,该M1个第一码字包括N个数据组,该收发单元,用于接收来自第一节点的第三数据,该第三数据包括M2个第二码字,该第二码字是对U个数据组的全部数据使用该第二编码方案编码生成的码字,1≤U≤N,1≤M2≤N,该U个数据组选自该N个数据组,该处理单元还用于对该M2个第二码字使用第二译码,生成第二数据。With reference to the fourth aspect, in some implementations of the fourth aspect, the M1 first codewords include N data groups, and the transceiver unit is configured to receive third data from the first node, the third data includes M2 second codewords, the second codewords are codewords generated by encoding all the data of the U data groups using the second coding scheme, 1≤U≤N, 1≤M2≤N, the U data groups Selected from the N data groups, the processing unit is further configured to use second decoding on the M2 second codewords to generate second data.
基于上述方案,因第二数据经过了两次编码,第二节点可以通过第二译码准确的接收每个数据组(若其中有数据组在传输过程中出现错误,第二节点可通过第二译码对该数据组进行纠错),并且可以通过第一译码恢复丢失的数据组。Based on the above scheme, because the second data has been encoded twice, the second node can accurately receive each data group through the second decoding (if any data group has an error during transmission, the second node can pass the second Decoding performs error correction on the data group), and the lost data group can be recovered through the first decoding.
结合第四方面,在第四方面的某些实现方式中,第一译码包括前向纠错编码FEC对应的译码。With reference to the fourth aspect, in some implementation manners of the fourth aspect, the first decoding includes decoding corresponding to a forward error correction code (FEC).
结合第四方面,在第四方面的某些实现方式中,第二译码包括前向纠错编码FEC对应的译码。With reference to the fourth aspect, in some implementation manners of the fourth aspect, the second decoding includes decoding corresponding to a forward error correction code (FEC).
第五方面,提供一种处理数据的装置,该装置包括处理器,该处理器与存储器耦合,可用于执行存储器中的指令,以实现上述第一方面或,第一方面中任一种可能实现方式中的方法。可选地,该装置还包括存储器,该存储器与处理器可能是分离部署的,也可能是集中部署的。可选地,该装置还包括通信接口,处理器与通信接口耦合。In the fifth aspect, there is provided a device for processing data, the device includes a processor, the processor is coupled with the memory, and can be used to execute instructions in the memory, so as to realize the above first aspect or any possible realization of the first aspect methods in methods. Optionally, the device further includes a memory, and the memory and the processor may be deployed separately or in a centralized manner. Optionally, the device further includes a communication interface, and the processor is coupled to the communication interface.
在一种实现方式中,该通信接口可以是收发器,或,输入/输出接口。In one implementation, the communication interface may be a transceiver, or an input/output interface.
在另一种实现方式中,该装置为数据交换网络中的装置,该装置可以为芯片时,该通信接口可以是该芯片或芯片系统上的输入/输出接口、接口电路、输出电路、输入电路、管脚或相关电路等。该处理器也可以体现为处理电路或逻辑电路。In another implementation, the device is a device in a data exchange network. When the device can be a chip, the communication interface can be an input/output interface, an interface circuit, an output circuit, or an input circuit on the chip or chip system. , pins or related circuits, etc. The processor may also be embodied as a processing circuit or logic circuit.
可选地,该收发器可以为收发电路。可选地,所述输入/输出接口可以为输入/输出电路。Optionally, the transceiver may be a transceiver circuit. Optionally, the input/output interface may be an input/output circuit.
在具体实现过程中,上述处理器可以为一个或多个芯片,输入电路可以为输入管脚,输出电路可以为输出管脚,处理电路可以为晶体管、门电路、触发器和各种逻辑电路等。输入电路所接收的输入的信号可以是但不限于接收器接收并输入的,输出电路所输出的信号可以是但不限于输出给发射器并由发射器发射的,且输入电路和输出电路可以是同一电路,该电路在不同的时刻分别用作输入电路和输出电路。本申请实施例对处理器及各种电路的具体实现方式不做限定。In the specific implementation process, the above-mentioned processor can be one or more chips, the input circuit can be an input pin, the output circuit can be an output pin, and the processing circuit can be a transistor, a gate circuit, a flip-flop and various logic circuits, etc. . The input signal received by the input circuit may be received and input by the receiver, but the signal output by the output circuit may be but not limited to be output to the transmitter and transmitted by the transmitter, and the input circuit and the output circuit may be The same circuit, which is used as an input circuit and an output circuit at different times. The embodiment of the present application does not limit the specific implementation manners of the processor and various circuits.
第六方面,提供一种处理数据的装置,该装置包括处理器,该处理器与存储器耦合,可用于执行存储器中的指令,以实现上述第二方面,或第二方面中任一种可能实现方式中的方法。可选地,该装置还包括存储器,该存储器与处理器可能是分离部署的,也可能是集中部署的。可选地,该装置还包括通信接口,处理器与通信接口耦合。In the sixth aspect, there is provided a device for processing data, the device includes a processor, the processor is coupled with the memory, and can be used to execute instructions in the memory, so as to realize the above second aspect, or any possible realization of the second aspect methods in methods. Optionally, the device further includes a memory, and the memory and the processor may be deployed separately or in a centralized manner. Optionally, the device further includes a communication interface, and the processor is coupled to the communication interface.
在一种实现方式中,该通信接口可以是收发器,或,输入/输出接口。In one implementation, the communication interface may be a transceiver, or an input/output interface.
在另一种实现方式中,该装置为数据交换网络中的装置,该装置可以为芯片时,该通信接口可以是该芯片或芯片系统上的输入/输出接口、接口电路、输出电路、输入电路、管脚或相关电路等。该处理器也可以体现为处理电路或逻辑电路。In another implementation, the device is a device in a data exchange network. When the device can be a chip, the communication interface can be an input/output interface, an interface circuit, an output circuit, or an input circuit on the chip or chip system. , pins or related circuits, etc. The processor may also be embodied as a processing circuit or logic circuit.
可选地,该收发器可以为收发电路。可选地,所述输入/输出接口可以为输入/输出电路。Optionally, the transceiver may be a transceiver circuit. Optionally, the input/output interface may be an input/output circuit.
在具体实现过程中,上述处理器可以为一个或多个芯片,输入电路可以为输入管脚,输出电路可以为输出管脚,处理电路可以为晶体管、门电路、触发器和各种逻辑电路等。输入电路所接收的输入的信号可以是但不限于接收器接收并输入的,输出电路所输出的信号可以是但不限于输出给发射器并由发射器发射的,且输入电路和输出电路可以是同一电路,该电路在不同的时刻分别用作输入电路和输出电路。本申请实施例对处理器及各种电路的具体实现方式不做限定。In the specific implementation process, the above-mentioned processor can be one or more chips, the input circuit can be an input pin, the output circuit can be an output pin, and the processing circuit can be a transistor, a gate circuit, a flip-flop and various logic circuits, etc. . The input signal received by the input circuit may be received and input by the receiver, but the signal output by the output circuit may be but not limited to be output to the transmitter and transmitted by the transmitter, and the input circuit and the output circuit may be The same circuit, which is used as an input circuit and an output circuit at different times. The embodiment of the present application does not limit the specific implementation manners of the processor and various circuits.
第七方面,提供一种处理数据的装置,该装置包括逻辑电路,该逻辑电路用于与输入/输出接口耦合,通过该输入/输出接口传输数据,以执行上述第一方面至第二方面中的任一方面,以及第一方面至第二方面中任一种可能实现方式中的方法。In a seventh aspect, there is provided a device for processing data, the device includes a logic circuit, the logic circuit is used to couple with an input/output interface, and transmit data through the input/output interface, so as to perform the above-mentioned first aspect to the second aspect any aspect, and the method in any possible implementation manner of the first aspect to the second aspect.
第八方面,提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序(也可以称为代码,或指令)当其在计算机上运行时,使得计算机执行上述第一方面至第二方面中的任一方面,以及第一方面至第二方面中任一种可能实现方式中的方法。In an eighth aspect, a computer-readable storage medium is provided, and the computer-readable storage medium stores a computer program (also referred to as code, or an instruction) which, when running on a computer, causes the computer to perform the above-mentioned first to Any aspect in the second aspect, and the method in any possible implementation manner in the first aspect to the second aspect.
第九方面,提供了一种计算机程序产品,该计算机程序产品包括:计算机程序(也可以称为代码,或指令),当该计算机程序被运行时,使得计算机执行上述第一方面至第二方面中的任一方面,以及第一方面至第二方面中任一种可能实现方式中的方法。In a ninth aspect, a computer program product is provided, and the computer program product includes: a computer program (also referred to as code, or an instruction), which, when the computer program is executed, causes the computer to perform the above-mentioned first aspect to the second aspect any one of the aspects, and the method in any one of the possible implementations of the first aspect to the second aspect.
上述第五方面至第九方面带来的有益效果具体可以参考第一方面至第二方面中有益效果的描述,此处不再赘述。For the beneficial effects brought about by the above-mentioned fifth aspect to the ninth aspect, reference may be made to the description of the beneficial effects in the first aspect to the second aspect, and details are not repeated here.
附图说明Description of drawings
图1是本申请实施例提供的数据交换架构示意图。FIG. 1 is a schematic diagram of a data exchange architecture provided by an embodiment of the present application.
图2示出了一种在中间交换节点处的处理数据的方法。Figure 2 shows a method of processing data at an intermediate switching node.
图3为本申请实施例提供的发送节点处理数据的方法流程图。FIG. 3 is a flowchart of a method for processing data by a sending node provided in an embodiment of the present application.
图4为本申请实施例提供的一种在物理层处理数据的流程示意图。FIG. 4 is a schematic flow chart of processing data at a physical layer provided by an embodiment of the present application.
图5为本申请实施例提供的使用第一编码方案编码前的数据组的示意图。FIG. 5 is a schematic diagram of a data group before encoding using a first encoding scheme provided by an embodiment of the present application.
图6为本申请实施例提供的使用第一编码方案编码后的数据组的示意图。FIG. 6 is a schematic diagram of a data group encoded using a first encoding scheme provided by an embodiment of the present application.
图7为本申请实施例提供的另一种在物理层处理数据的流程示意图。FIG. 7 is another schematic flowchart of processing data at the physical layer provided by the embodiment of the present application.
图8为本申请实施例提供的使用两次编码处理后的数据的示意图。FIG. 8 is a schematic diagram of data processed by two encodings provided by the embodiment of the present application.
图9是本申请实施例提供的一种处理数据的装置的示意性框图。Fig. 9 is a schematic block diagram of an apparatus for processing data provided by an embodiment of the present application.
图10是本申请实施例提供的另一种处理数据的装置的示意性框图。Fig. 10 is a schematic block diagram of another device for processing data provided by an embodiment of the present application.
图11是本申请实施例提供的一种处理数据的装置的结构示意图。Fig. 11 is a schematic structural diagram of an apparatus for processing data provided by an embodiment of the present application.
图12是本申请实施例提供的另一种处理数据的装置的结构示意图。Fig. 12 is a schematic structural diagram of another device for processing data provided by an embodiment of the present application.
图13是本申请实施例提供的又一种处理数据的装置的结构示意图。Fig. 13 is a schematic structural diagram of another device for processing data provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
本申请实施例的技术方案可以应用于各种存在数据交换的通信系统,例如:全球移动通讯(global system of mobile communication,GSM)系统、码分多址(codedivision multiple access,CDMA)系统、宽带码分多址(wideband code divisionmultiple access,WCDMA)系统、通用分组无线业务(general packet radio service,GPRS)、长期演进(long term evolution,LTE)系统、LTE频分双工(frequency divisionduplex,FDD)系统、LTE时分双工(time division duplex,TDD)、通用移动通信系统(universal mobile telecommunication system,UMTS)、全球互联微波接入(worldwideinteroperability for microwave access,WiMAX)通信系统、第五代(5th generation,5G)或未来的系统或新无线(new radio,NR)等。The technical solutions of the embodiments of the present application can be applied to various communication systems with data exchange, such as: global system of mobile communication (GSM) system, code division multiple access (CDMA) system, wideband code Division multiple access (wideband code division multiple access, WCDMA) system, general packet radio service (general packet radio service, GPRS), long term evolution (long term evolution, LTE) system, LTE frequency division duplex (frequency division duplex, FDD) system, LTE Time Division Duplex (TDD), Universal Mobile Telecommunications System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) Communication System, 5th Generation (5G) Or future systems or new radio (new radio, NR), etc.
图1为本申请实施例提供的数据交换架构示意图。FIG. 1 is a schematic diagram of a data exchange architecture provided by an embodiment of the present application.
图1示出了数据交换网络中的一种多层交换架构,该架构包括中心交换(centralswitching,CSW)节点(例如内网交换机),汇聚交换(aggregation switching,ASW)节点(例如接入层交换机),机架顶(top of rack,TOR),以及服务器(或计算单元阵列)等节点,在该架构下,不同层级的交换节点之间的分布距离不同。具体地,各交换节点根据报头中的路由信息和控制信息存储并转发收到的数据包,当多个数据包需要同时从同一个端口发出的情况下,需要配置缓存避免端口拥塞,但每个节点处的缓存资源是有限的,在缓存占用到达上限时,该节点会丢弃额外的数据包,造成丢包。当某一节点接收数据包时发现丢包后会开启重传机制,即接收节点发送消息使发送节点重新传输该数据包,该过程有一定的时延,会影响数据交换的效率。Figure 1 shows a multi-layer switching architecture in a data switching network, which includes central switching (central switching, CSW) nodes (such as intranet switches), aggregation switching (aggregation switching, ASW) nodes (such as access layer switches ), top of rack (TOR), and servers (or computing unit arrays) and other nodes, under this architecture, the distribution distances between switching nodes at different levels are different. Specifically, each switching node stores and forwards received data packets according to the routing information and control information in the header. When multiple data packets need to be sent from the same port at the same time, it is necessary to configure buffers to avoid port congestion, but each The cache resource at the node is limited. When the cache usage reaches the upper limit, the node will discard extra data packets, resulting in packet loss. When a node receives a data packet and finds that the packet is lost, it will start the retransmission mechanism, that is, the receiving node sends a message to make the sending node retransmit the data packet. This process has a certain delay, which will affect the efficiency of data exchange.
图2示出了一种在中间交换节点处的处理数据的方法。Figure 2 shows a method of processing data at an intermediate switching node.
在发送节点处,将待发送数据进行分组,将分组后的数据(数据组)按照网络七层协议从上层到下层依次进行封装,在物理层对封装后的数据使用前向纠错编码(forwarderror coding,FEC)编码后发送,在此编码过程中,只进行了一次编码,并且在编码时是以一个封装后的数据组或多个数据组为单元,假设以一个封装后的数据组为单元,即对一个封装后的数据组中的全部数据进行FEC编码,生成一个码字。假设以多个封装后的数据组为单元,即对多个封装后的数据组中的全部数据进行FEC编码,生成一个码字。因此该编码过程可以提高每个数据组传输的准确性,但不能避免丢失数据组的问题。At the sending node, the data to be sent is grouped, and the grouped data (data group) is encapsulated sequentially from the upper layer to the lower layer according to the seven-layer network protocol, and forward error correction code (forward error correction) is used for the encapsulated data at the physical layer. coding, FEC) and send after encoding. In this encoding process, only one encoding is performed, and one encapsulated data group or multiple data groups are used as a unit during encoding, assuming that one encapsulated data group is used as a unit , that is, perform FEC encoding on all the data in an encapsulated data group to generate a codeword. It is assumed that multiple encapsulated data groups are used as a unit, that is, FEC encoding is performed on all data in the multiple encapsulated data groups to generate a codeword. Therefore, this encoding process can improve the accuracy of transmission of each data group, but cannot avoid the problem of missing data groups.
在接收节点,按照发送节点的逆过程对接收到的数据进行译码和解封装,获取相应用户的数据。并在某一数据层,例如在传输控制协议层(transmission controlprotocol,TCP)检测接收到的数据是否完整(即接收到的数据组个数是否和发送节点将待发送数据分成的组数一致),即检测有没有丢包,如果发现有数据组丢失,则通知发送节点重新发送上述待发送数据。在该过程中,从发现有数据丢失到再次接收到重新传输的数据会有毫秒量级的延时,极大影响网络的数据交换效率。At the receiving node, the received data is decoded and decapsulated according to the reverse process of the sending node, and the data of the corresponding user is obtained. And at a certain data layer, such as at the transmission control protocol layer (transmission control protocol, TCP) to detect whether the received data is complete (that is, whether the number of received data groups is consistent with the number of groups that the sending node divides the data to be sent into) , that is, to detect whether there is any packet loss, and if a data group is found to be lost, the sending node is notified to resend the above-mentioned data to be sent. In this process, there will be a millisecond-level delay from the discovery of data loss to the re-reception of retransmitted data, which greatly affects the data exchange efficiency of the network.
鉴于此,本申请实施例提供一种在物理层处理数据的方法和装置,可以有效避免数据交换过程中的丢包问题,从而提升数据交换的效率。In view of this, the embodiments of the present application provide a method and device for processing data at the physical layer, which can effectively avoid the problem of packet loss during data exchange, thereby improving the efficiency of data exchange.
图3为本申请实施例提供的发送节点处理数据的方法流程图。图3所示的方法300包括:FIG. 3 is a flowchart of a method for processing data by a sending node provided in an embodiment of the present application. The
步骤S310,第一节点将第一数据分成K个数据组,K为大于1的整数,该第一数据为发送至第二节点的数据。Step S310, the first node divides the first data into K data groups, K is an integer greater than 1, and the first data is data sent to the second node.
应理解,第一节点,和第二节点为数据交换网络中的节点,第一节点和第二节点可以是中间节点,第一节点也可以是发送第一数据的起始节点,本申请对此不做限制。It should be understood that the first node and the second node are nodes in the data exchange network, the first node and the second node may be intermediate nodes, and the first node may also be the starting node for sending the first data. No restrictions.
示例地,第一节点,和第二节点可以是数据交换网络中的设备,例如TOR、电脑、单个中央处理器(central processing unit,CPU),或者图形处理器(graphics processingunit,GPU)。Exemplarily, the first node and the second node may be devices in a data exchange network, such as TOR, a computer, a single central processing unit (central processing unit, CPU), or a graphics processing unit (graphics processing unit, GPU).
可选地,K个数据组中每个数据组的长度相同,也可以描述为K个数据组中每个数据组占用的符号,或比特的数量相同,后文类似的描述同此处理解,后文不再赘述。Optionally, the length of each data group in the K data groups is the same, which can also be described as the symbol occupied by each data group in the K data groups, or the number of bits is the same. Similar descriptions below are understood here, I won't repeat them later.
示例地,如图4所示,第一节点将待发送数据(第一数据)分组,分为K个数据组,该K个数据组中的每个数据组的长度相同。For example, as shown in FIG. 4 , the first node groups the data to be sent (first data) into K data groups, and each data group in the K data groups has the same length.
步骤S320,第一节点对所述K个数据组使用第一编码方案编码,得到第二数据,第二数据包括M1个第一码字,其中,第一码字是对从该K个数据组的每个数据组中选取的部分数据使用第一编码方案编码生成的,M1为大于1的整数。Step S320, the first node encodes the K data groups using the first coding scheme to obtain second data, the second data includes M1 first codewords, wherein the first codewords are the data from the K data groups Part of the data selected in each data group is generated by encoding using the first encoding scheme, and M1 is an integer greater than 1.
应理解,使用第一编码方案编码生成一个第一码字的过程中,第一节点在K个数据组中的每一个数据组中选取的部分数据,可以是每一个数据组中的部分符号,或者部分比特上承载的数据。It should be understood that in the process of generating a first codeword using the first coding scheme, the partial data selected by the first node in each of the K data groups may be part of the symbols in each data group, Or the data carried on some bits.
可选地,M1个第一码字包括N个数据组,该N个数据组中的第一数据组包括位置信息,该位置信息指示该第一数据组在该N个数据组中的位置,第一数据组为N个数据组中的任一数据组N为大于K的整数。Optionally, the M1 first codewords include N data groups, the first data group in the N data groups includes position information, and the position information indicates the position of the first data group in the N data groups, The first data group is any one of the N data groups, and N is an integer greater than K.
应理解,第二数据包括M1个第一码字,还可以描述为第二数据包括N个数据组,或者M1个第一码字包括N个数据组。N个数据组包括编码后的K个数据组和Q个编码生成的开销数据组,即N=K+Q。It should be understood that the second data includes M1 first codewords, which may also be described as that the second data includes N data groups, or that the M1 first codewords include N data groups. The N data groups include encoded K data groups and Q encoded overhead data groups, that is, N=K+Q.
可选地,N个数据组的长度相同。Optionally, the lengths of the N data groups are the same.
可选地,第一码字是对从K个数据组中的每个数据组中选取相同数量的符号上的数据使用第一编码方案编码生成的。也就是说,生成一个第一码字的过程中,第一节点从K个数据组中的每个数据组中选取的数据占用的符号或比特的数量相同。Optionally, the first codeword is generated by encoding the data on the same number of symbols selected from each of the K data groups using the first coding scheme. That is to say, in the process of generating a first codeword, the data selected by the first node from each of the K data groups occupies the same number of symbols or bits.
可选地,第一码字是对从K个数据组中的每个数据组中选取相同位置的符号上的数据使用第一编码方案编码生成的。也就是说,生成一个第一码字的过程中,第一节点从K个数据组中的每个数据组中选取的数据占用的符号或比特的位置相同。Optionally, the first codeword is generated by using the first encoding scheme to encode and generate the data on symbols at the same position selected from each of the K data groups. That is to say, in the process of generating a first codeword, the symbols or bits occupied by the data selected by the first node from each of the K data groups are the same.
可选地,第一码字是对从K个数据组的每个数据组中的相同位置上选取相同数量的符号上的数据使用第一编码方案编码生成的。也就是说,生成一个第一码字的过程中,第一节点从K个数据组的每个数据组的相同位置选取相同数量的符号或比特上的数据。Optionally, the first codeword is generated by encoding the data on the same number of symbols selected from the same position in each of the K data groups using the first coding scheme. That is to say, in the process of generating a first codeword, the first node selects data on the same number of symbols or bits from the same position in each of the K data groups.
可选地,N个数据组的每个数据组包括表征第二数据的标识。Optionally, each of the N data groups includes an identifier representing the second data.
即第二节点接收到数据组后,可通过数据组中的标识判断哪些数据组是属于第二数据的数据组。That is, after the second node receives the data groups, it can judge which data groups belong to the data groups of the second data through the identification in the data groups.
应理解,第二数据是对第一数据编码生成的,因此表征第二数据的标识,也可以表征第一数据。It should be understood that the second data is generated by encoding the first data, so the identifier representing the second data may also represent the first data.
步骤S330,第一节点向第二节点发送第二数据,对应的,第二节点接收该第二数据。In step S330, the first node sends the second data to the second node, and correspondingly, the second node receives the second data.
下面结合图4-图6举例说明第一数据使用第一编码方案编码,生成第二数据的过程。The process of encoding the first data using the first encoding scheme to generate the second data will be illustrated below with reference to FIGS. 4-6 .
示例地,如图4所示,第一节点将第一数据分为K个数据组,然后将K个数据组进行纵向排布,排布后的数据组1,数据组2,…,数据组K如图5所示,每个数据组在横向上由数据单元组成,数据单元可以是符号,也可以是比特。纵向上的一个虚线框在每个数据组中占据的数据单元是该数据组的最小编码单元,在不同域中的最小编码单元不同,例如,在二元域中,最小的编码单元为1比特,在有限域中,最小编码单元为1符号,本申请对此不作限制。For example, as shown in FIG. 4, the first node divides the first data into K data groups, and then arranges the K data groups vertically. After the arrangement,
对第一数据使用第一编码方案编码的过程中,假设K个数据组的长度相同,编码后生成了图6所示的第二数据,第二数据包括N个数据组,N个数据组的长度相同,N为大于K的整数,使用第一编码方案编码后多出来的数据组为编码的开销。In the process of encoding the first data using the first encoding scheme, assuming that the K data groups have the same length, the second data shown in Figure 6 is generated after encoding, the second data includes N data groups, and the N data groups The lengths are the same, N is an integer greater than K, and the extra data group after encoding using the first encoding scheme is encoding overhead.
第二数据包括M1个第一码字(第二数据的一列为一个第一码字),对于一个第一码字而言,例如图6所示的最左边的第一码字,该第一码字可以是对选取自图5所示的K个数据组中的每个数据组的一个数据单元中的数据使用第一编码方案得到的,在选取数据单元的过程中,在每个数据组选取的数据单元的数量相同,在每个数据组选取的数据单元的位置可以相同(例如,在K个数据组都取第1列数据单元),也可以不同(例如交织编码,在数据组1选第1列数据单元,在数据组2选第2列数据单元,在数据组3选第1列数据单元,在数据组4选第2列数据单元,以此类推,在数据组K-1选第1列数据单元,在数据组K选第2列数据单元)。应理解,生成不同的第一码字的过程中,在K个数据组中选取的数据单元的数量可以不同。例如第一码字#1是对选自每个数据组的一个数据单元中的数据使用第一编码方案得到的,第一码字#2是对选自每个数据组的2个数据单元中的数据使用第一编码方案得到的。The second data includes M1 first codewords (a column of the second data is a first codeword), for a first codeword, for example the leftmost first codeword shown in Figure 6, the first codeword The codeword can be obtained by using the first encoding scheme to select the data in a data unit of each data group in the K data groups shown in Figure 5, and in the process of selecting the data unit, each data The number of data units selected by the groups is the same, and the positions of the data units selected in each data group can be the same (for example, the first row of data units is taken in K data groups), or different (for example, interleaved coding, in the
应理解,第二数据包括的每个数据组中都包括位置信息,该位置信息为该数据组在第二数据中的位置,例如,图6中的数据组4包括位置信息,该位置信息指示数据组4在第二数据的第四行的位置。数据的接收节点(第二节点)可以根据该位置信息恢复第二数据,并确定M1个第一码字。或者,第二数据包括的数据组中可以不包括位置信息,第一节点根据N个数据组中每个数据组在纵向上的排列位置,依次发送该N个数据组,第二节点可根据接收数据组的先后顺序恢复出如图6所示的第二数据。It should be understood that each data group included in the second data includes position information, and the position information is the position of the data group in the second data. For example,
还应理解,上述关于图6的描述仅为举例,对本申请不构成限制。It should also be understood that the above description about FIG. 6 is only an example and does not limit the present application.
对第一数据使用第一编码方案编码完成后,对第二数据可采用3种方式处理:After encoding the first data using the first encoding scheme, the second data can be processed in three ways:
方式1(不进行第二次编码)Method 1 (without second encoding)
如图4所示,第一节点对上述使用第一编码方案编码生成的属于第二数据的N个数据组中的每个数据组添加报头,该报头包括路由信息和控制信息,用于中间交换节点转发数据。As shown in Figure 4, the first node adds a header to each of the N data groups belonging to the second data generated by encoding using the first encoding scheme, and the header includes routing information and control information for intermediate switching Nodes forward data.
第一节点为添加报头后的N个数据组添加用于定界的前导码。The first node adds a preamble for delimitation to the N data groups after the header is added.
示例地,一个数据组可以添加一个前导码,或者多个数据组添加同一个前导码,本申请对此不做限制。For example, a preamble may be added to one data group, or the same preamble may be added to multiple data groups, which is not limited in this application.
步骤S330替换为,第一节点向第二节点发送第二数据,其中,第二数据包括添加了前导码和报头的N个数据组。对应的,第二节点接收该第二数据。Step S330 is replaced by the first node sending the second data to the second node, wherein the second data includes N data groups added with a preamble and a header. Correspondingly, the second node receives the second data.
对于第二节点而言,第二节点接收数据(包括第二数据)后,根据前导码定界,识别数据组,并确定属于第二数据的数据组,判断第二数据是否有丢失数据组的情况。For the second node, after receiving the data (including the second data), the second node identifies the data group according to the delimitation of the preamble, and determines the data group belonging to the second data, and judges whether the second data has a missing data group Condition.
应理解,第二数据包括M1个第一码字,还可以描述为第二数据包括N个数据组,或者M1个第一码字包括N个数据组。如图6所示,第二数据在横向上划分,每一行为一个数据组;第二数据在纵向上划分,每一列为一个第一码字。第一节点向第二节点发送第二数据时,是以数据组的形式发送的,对应的,第二节点接收第二数据时,也是以数据组的形式接收的。第二节点可以根据接收到的数据组和数据组中包括的位置信息,将接收到的属于第二数据的数据组进行纵向排列,排列后如图6所示,因此纵向排列后可确定M1个第一码字,若有丢失数据组的情况,可对第一码字译码恢复丢失的数据组。It should be understood that the second data includes M1 first codewords, which may also be described as that the second data includes N data groups, or that the M1 first codewords include N data groups. As shown in FIG. 6 , the second data is divided horizontally, and each row is a data group; the second data is divided vertically, and each column is a first codeword. When the first node sends the second data to the second node, it is sent in the form of a data group, and correspondingly, when the second node receives the second data, it is also received in the form of a data group. The second node can longitudinally arrange the received data groups belonging to the second data according to the received data groups and the location information included in the data groups, as shown in Figure 6 after the arrangement, so M1 can be determined after the vertical arrangement For the first codeword, if there is a lost data group, the lost data group can be restored by decoding the first codeword.
可选地,第二节点在接收到属于第二数据的第一个数据组开始开启计时器,若在该计时器结束前,第二节点接收的属于该第二数据的数据组的个数小于N,则确定第二数据有丢失数据组;若在该计时器结束前,第二节点接收的属于第二数据的数据组的个数等于N,则确定第二数据没有丢失数据组。Optionally, the second node starts a timer after receiving the first data group belonging to the second data, if before the timer ends, the number of data groups belonging to the second data received by the second node is less than N, it is determined that the second data has a missing data group; if the number of data groups belonging to the second data received by the second node is equal to N before the timer expires, it is determined that the second data has no missing data group.
示例地,第二数据包括10个数据组,若在计时器结束前,只接收到属于该第二数据的9个数据组,则认为第二数据有丢失数据组。若在计时器结束前,接收到属于该第二数据的10个数据组,则认为第二数据没有丢失数据组。For example, the second data includes 10 data groups, and if only 9 data groups belonging to the second data are received before the timer expires, it is considered that there is a missing data group in the second data. If 10 data groups belonging to the second data are received before the timer expires, it is considered that the second data has no missing data groups.
应理解,上述计时器可以是人为设定的一个时间段。It should be understood that the above-mentioned timer may be a period of time set artificially.
可选地,第二节点缓存接收到的数据组,在确定第二数据有丢失数据组的情况下,第二节点根据缓存的属于第二数据的数据组恢复丢失的数据组。Optionally, the second node caches the received data group, and if it is determined that the second data has a missing data group, the second node restores the missing data group according to the cached data group belonging to the second data.
可选地,属于第二数据的数据组包括位置信息,第二节点根据接收到的属于第二数据的数据组以及该数据组中的位置信息确定第一码字,对该第一码字使用第一译码恢复丢失的数据组。Optionally, the data group belonging to the second data includes position information, and the second node determines a first code word according to the received data group belonging to the second data and the position information in the data group, and uses the first code word The first decoding recovers the lost data set.
应理解,第一译码是第一编码对应的译码,例如,第一译码为FEC对应的译码,本申请对此不做限制。It should be understood that the first decoding is decoding corresponding to the first encoding, for example, the first decoding is decoding corresponding to FEC, which is not limited in the present application.
可选地,第二节点接收的数据组中包括表征第二数据的标识。Optionally, the data group received by the second node includes an identifier representing the second data.
应理解,第二节点可根据数据组中的标识,区分数据组是否属于第二数据。It should be understood that the second node can distinguish whether the data group belongs to the second data according to the identifier in the data group.
可选地,第二节点清除缓存的数据组。Optionally, the second node clears the cached data group.
示例地,如果在设定时间段内,例如在计时器结束前,第二数据被第二节点完整接收,则确定数据传输过程中第二数据没有丢包发生,此时可以停止计时并清除缓存的属于第二数据的数据组。For example, if the second data is completely received by the second node within a set period of time, for example, before the timer expires, it is determined that no packet loss occurs for the second data during data transmission, and at this time, the timing can be stopped and the cache can be cleared The data group belonging to the second data.
如果在设定时间段内,例如在计时器结束前,第二数据没有被第二节点完整接收,也就是说传输第二数据的过程中有丢包发生,此时根据上文提及的方法恢复丢失的数据组,恢复完成后,将完整的第二数据交于上层处理,然后将缓存的属于第二数据的数据组清除。If the second data is not completely received by the second node within the set time period, for example, before the timer expires, that is to say, packet loss occurs during the transmission of the second data, then according to the method mentioned above The lost data group is restored. After the restoration is completed, the complete second data is handed over to the upper layer for processing, and then the cached data group belonging to the second data is cleared.
如果根据上文提及的方法恢复丢失的数据组时,恢复数据组失败,此时也可以将缓存的属于第二数据的数据组清除。在此过程中,物理层尝试恢复丢包失败,将数据交由上层处理,上层可以通知第一节点重新发送第二数据。If restoring the lost data group according to the method mentioned above fails to restore the data group, the cached data group belonging to the second data may also be cleared at this time. During this process, the physical layer fails to recover the lost packets, and the data is handed over to the upper layer for processing, and the upper layer may notify the first node to resend the second data.
应理解,由于数据交换网络中的交换节点处的缓存资源是有上限的,因此清除缓存可以释放交换节点(第二节点)处的缓存资源,也可以避免因交换节点的缓存达到上限时造成的丢包,从而提升数据传输的性能。It should be understood that since the cache resource at the switch node in the data exchange network has an upper limit, clearing the cache can release the cache resource at the switch node (the second node), and also avoid failures caused when the cache of the switch node reaches the upper limit. Packet loss, thereby improving the performance of data transmission.
方式2(进行第二次编码,报头和载荷共同编码):Method 2 (encoding for the second time, header and payload are encoded together):
如图4所示,第一节点对上述使用第一编码方案编码生成的N个数据组中的每个数据组添加报头,该报头包括路由信息和控制信息,用于中间交换节点转发数据。As shown in FIG. 4 , the first node adds a header to each of the N data groups encoded and generated using the first encoding scheme, and the header includes routing information and control information for forwarding data by the intermediate switching node.
第一节点对添加报头的N个数据组使用第二编码方案编码生成第三数据,第三数据包括M2个第二码字,该第二码字是对U个数据组的全部数据以及报头使用第二编码方案编码生成的,1≤U≤N,1≤M2≤N。The first node uses the second encoding scheme to encode the N data groups added with headers to generate third data, and the third data includes M2 second codewords, which are used for all data of U data groups and headers Generated by encoding in the second encoding scheme, 1≤U≤N, 1≤M2≤N.
应理解,使用第二编码方案编码生成的第三数据包括N个数据组,也就是说,使用第二编码方案编码的过程中,编码前和编码后的数据组的数量没有发生变化,只不过,使用第二编码方案编码时,一个第二码字是基于至少一个数据组的全部数据生成的。It should be understood that the third data generated by encoding using the second encoding scheme includes N data groups, that is, during the encoding process using the second encoding scheme, the number of data groups before encoding and after encoding does not change, but , when encoding using the second encoding scheme, a second codeword is generated based on all data in at least one data group.
还应理解,第三数据包括M2个第二码字,还可以描述为第三数据包括N个数据组,或M2个第二码字包括N个数据组。It should also be understood that the third data includes M2 second codewords, which may also be described as the third data including N data groups, or the M2 second codewords including N data groups.
示例地,第二数据包括10个数据组,使用第二编码方案编码生成的第三数据也包括10个数据组,第三数据还可以描述为包括5个第二码字(将第二数据中的2个数据组作为一个整体使用第二编码方案编码生成一个第二码字,因此第三数据还可以描述为包括5个第二码字)。Exemplarily, the second data includes 10 data groups, and the third data generated by encoding using the second encoding scheme also includes 10 data groups, and the third data can also be described as including 5 second codewords (the
U个数据组是第二编码的编码单元,假设U=1,可以理解为,对添加报头后的N个数据组中的1个数据组的全部数据,使用第二编码方案编码生成一个第二码字,此时,M2=N,即第三数据包括N个第二码字。假设U=2,可以理解为,对添加报头后的N个数据组中的2个数据组的全部数据,使用第二编码方案编码生成一个第二码字,此时,若N为偶数,则M2=N/2,即第三数据包括N/2个第二码字;若N为奇数,则M2=(N+1)/2,即第三数据包括(N+1)/2个第二码字。The U data groups are the coding units of the second encoding. Assuming U=1, it can be understood that, for all the data of one data group in the N data groups after adding the header, use the second coding scheme to encode to generate a second codewords, at this time, M2=N, that is, the third data includes N second codewords. Assuming U=2, it can be understood that, for all the data of the two data groups in the N data groups after adding the header, use the second encoding scheme to encode and generate a second codeword. At this time, if N is an even number, then M2=N/2, that is, the third data includes N/2 second code words; if N is an odd number, then M2=(N+1)/2, that is, the third data includes (N+1)/2 second code words Two code words.
应理解,方式2中,如图4所示,对数据组(载荷)和报头采用同一编码(第二编码)进行编码生成第二码字,也就是说生成第三数据。It should be understood that in
之后,第一节点为第三数据中的第二码字添加用于定界的前导码。Afterwards, the first node adds a preamble for delimitation to the second codeword in the third data.
示例地,一个第二码字(可以是一个数据组编码生成的,也可以是多个数据组编码生成的)可以添加一个前导码,或者多个第二码字添加同一个前导码,本申请对此不做限制。Exemplarily, a second codeword (which may be generated by encoding one data group, or generated by encoding multiple data groups) may be added with a preamble, or multiple second codewords may be added with the same preamble. There is no restriction on this.
步骤S330替换为,第一节点向第二节点发送第三数据,其中,第三数据包括前导码和报头。对应的,第二节点接收该第三数据。Step S330 is replaced by the first node sending third data to the second node, where the third data includes a preamble and a header. Correspondingly, the second node receives the third data.
对于第二节点而言,第二节点接收到数据(包括第三数据)后,根据前导码定界,识别数据组,并确定属于第三数据的数据组。For the second node, after receiving the data (including the third data), the second node identifies the data group according to the delimitation of the preamble, and determines the data group belonging to the third data.
第二节点可以通过对M2个第二码字(包括载荷和报头,因第一节点是将数据组和报头一起通过第二编码方案编码生成的第二码字)使用第二译码,生成第二数据和报头。The second node can use the second decoding to M2 second codewords (including the payload and the header, because the first node encodes the data group and the header together through the second codeword generated by the second encoding scheme) to generate the second codeword Two data and header.
生成第二数据后,判断第二数据是否有丢失数据组的情况。After the second data is generated, it is judged whether there is a missing data group in the second data.
具体地,第二节点判断第二数据是否丢失数据组的方法,以及在确定第二数据丢失了数据组的情况下,第二节点如果找回丢失数据组的方法,以及第二节点的其它操作,可参考方式1中对第二节点的具体操作步骤的描述,为简洁,在此不做赘述。Specifically, the method for the second node to judge whether the second data has lost a data group, and in the case of determining that the second data has lost a data group, the method for the second node to retrieve the lost data group, and other operations of the second node , you can refer to the description of the specific operation steps of the second node in
方式3(进行第二次编码,报头和载荷分别编码):Method 3 (encoding for the second time, header and payload are encoded separately):
如图7所示,第一节点对使用第一编码方案编码生成的N个数据组使用第二编码方案编码生成第三数据,第三数据包括M2个第二码字,该第二码字是对U个数据组的全部数据使用第二编码方案编码生成的,1≤U≤N,M2为大于1的整数。As shown in Figure 7, the first node uses the second encoding scheme to encode the N data groups generated using the first encoding scheme to encode the third data, the third data includes M2 second codewords, and the second codewords are All the data in the U data groups are generated by encoding using the second encoding scheme, 1≤U≤N, and M2 is an integer greater than 1.
U个数据组是第二编码的编码单元,假设U=1,可以理解为,对N个数据组中的1个数据组的全部数据,使用第二编码方案编码生成一个第二码字,此时,M2=N,即第三数据包括N个第二码字。假设U=2,可以理解为,对N个数据组中的2个数据组的全部数据,使用第二编码方案编码生成一个第二码字,此时,若N为偶数,则M2=N/2,即第三数据包括N/2个第二码字;若N为奇数,则M2=(N+1)/2,即第三数据包括(N+1)/2个第二码字。The U data groups are the coding units of the second encoding. Assuming U=1, it can be understood that, for all the data of one data group in the N data groups, use the second coding scheme to encode and generate a second codeword, here , M2=N, that is, the third data includes N second codewords. Assuming U=2, it can be understood that, for all the data of the two data groups in the N data groups, use the second encoding scheme to encode and generate a second code word. At this time, if N is an even number, then M2=N/ 2, that is, the third data includes N/2 second codewords; if N is an odd number, then M2=(N+1)/2, that is, the third data includes (N+1)/2 second codewords.
接下来,第一节点为第三数据中的每个第二码字添加报头,该报头包括路由信息和控制信息,该报头采用第三编码方案编码生成报头码字。Next, the first node adds a header to each second codeword in the third data, where the header includes routing information and control information, and the header is encoded using a third encoding scheme to generate a header codeword.
应理解,方式3中,对数据组(载荷)和报头采用不同编码分别进行编码。It should be understood that in
对数据组和报头分别编码后,第一节点为添加了报头的第三数据添加用于定界的前导码。After respectively encoding the data group and the header, the first node adds a preamble for delimitation to the third data to which the header is added.
示例地,对第三数据包括的第二码字添加前导码时,一个第二码字可以添加一个前导码,或者多个第二码字添加同一个前导码,本申请对此不做限制。For example, when adding a preamble to the second codeword included in the third data, one preamble may be added to one second codeword, or the same preamble may be added to multiple second codewords, which is not limited in this application.
步骤S330可以替换为,第一节点向第二节点发送第三数据,第三数据包括前导码和报头。对应的,第二节点接收该第三数据。Step S330 may be replaced by the first node sending the third data to the second node, where the third data includes a preamble and a header. Correspondingly, the second node receives the third data.
对于第二节点而言,第二节点接收到数据(包括第三数据)后,根据前导码定界,识别数据组,并确定属于第三数据的数据组。For the second node, after receiving the data (including the third data), the second node identifies the data group according to the delimitation of the preamble, and determines the data group belonging to the third data.
第二节点对报头码字使用第三译码,生成报头,对M2个第二码字(包括载荷,因第二码字是第一节点将数据组使用第二编码方案编码生成的)使用第二译码,生成第二数据。The second node uses the third decoding for the header codeword to generate the header, and uses the first decoding method for the M2 second codewords (including the load, because the second codeword is generated by the first node encoding the data group using the second coding scheme). Second decoding to generate second data.
生成第二数据后,判断第二数据是否有丢失数据组的情况。After the second data is generated, it is judged whether there is a missing data group in the second data.
具体地,第二节点判断第二数据是否丢失数据组的方法,以及在确定第二数据丢失了数据组的情况下,第二节点如果找回丢失数据组的方法,以及第二节点的其它操作,可参考方式1中对第二节点的具体操作步骤的描述,为简洁,在此不做赘述。Specifically, the method for the second node to judge whether the second data has lost a data group, and in the case of determining that the second data has lost a data group, the method for the second node to retrieve the lost data group, and other operations of the second node , you can refer to the description of the specific operation steps of the second node in
在方式1,2,和3中,第二节点可根据报头中包括的路由信息和控制信息接收或转发数据,对于本节点的数据,在数据组中提取出载荷后交于上层处理即可。In
可选地,上述实施例中的第一编码方案,第二编码方案,或第三编码方案包括FEC。Optionally, the first coding scheme, the second coding scheme, or the third coding scheme in the foregoing embodiments include FEC.
可选地,上述实施例中的第一译码,第二译码,或第三译码包括FEC对应的译码。Optionally, the first decoding, the second decoding, or the third decoding in the foregoing embodiment includes decoding corresponding to FEC.
图8为本申请实施例提供的使用两次编码处理后的数据的示意图。FIG. 8 is a schematic diagram of data processed by two encodings provided by the embodiment of the present application.
图8时是将待发送数据(前文的第一数据)使用第一编码(纵向编码)和第二编码(横向编码)编码后的数据(前文的第三数据)的具体示例,使用第一编码和第二编码方案编码后的第三数据包括98个数据组,2个开销数据组(使用第一编码方案编码过程中产生的开销),即上文提及的将第一数据分成K个数据组,对K个数据组使用第一编码生成N个数据组,N个数据组包括编码后的K个数据组和Q个开销数据组,其中在图8中示例的K=98,Q=2,N=100,两次编码后的每个数据组的报头占据9个符号或比特,每个数据组中的位置信息占据1个符号或比特,每个数据组中的载荷占据504个符号或比特,对每个数据组使用第二编码方案编码的开销占据30个符号或比特,上述符号或比特数量仅为举例,不对本申请造成限制。Figure 8 is a specific example of the data to be sent (the first data above) encoded using the first code (vertical code) and the second code (horizontal code) (the third data above), using the first code The third data encoded by the second encoding scheme includes 98 data groups and 2 overhead data groups (the overhead generated during the encoding process using the first encoding scheme), that is, the above-mentioned first data is divided into K data group, using the first code to generate N data groups for K data groups, and N data groups include encoded K data groups and Q overhead data groups, where K=98 and Q=2 in the example shown in FIG. 8 , N=100, the header of each data group after two encodings occupies 9 symbols or bits, the position information in each data group occupies 1 symbol or bit, and the load in each data group occupies 504 symbols or bits Bits, the overhead of encoding each data group using the second encoding scheme occupies 30 symbols or bits, and the above number of symbols or bits is only an example and does not limit the present application.
在本申请提供的实施例中,第二编码方案采用KP4 FEC,即里德-所罗门码(ReedSolomon,RS)(544,514),它基于伽罗华域(Galois field,GF)(210)构造,纠错能力为15个域内符号。In the embodiment provided in this application, the second coding scheme adopts KP4 FEC, that is, Reed-Solomon code (ReedSolomon, RS) (544, 514), which is constructed based on Galois field (Galois field, GF) (2 10 ), The error correction capability is 15 in-field symbols.
对于本申请提供的方案,在第二编码方案(横向)的基础上额外添加了第一编码方案(纵向),为了使数据分配简便,第一编码方案可以采用基于GF(210)上构造的RS(100,98)码字,该RS码字在用于纠错纠删时可以恢复任意两个丢失的域内符号所承载的数据。For the scheme provided by this application, the first coding scheme (vertical) is additionally added on the basis of the second coding scheme (horizontal), in order to make data distribution easy, the first coding scheme can be constructed based on GF(2 10 ) The RS (100,98) codeword, when the RS codeword is used for error correction and erasure correction, can restore the data carried by any two lost symbols in the domain.
应理解,第一码字可以根据需求任意设计,以平衡找回能力与开销、延时、缓存等指标,本申请对此不作限制。It should be understood that the first codeword can be arbitrarily designed according to requirements, so as to balance the retrieval capability and indicators such as overhead, delay, and cache, and this application does not limit this.
采用上述图8示例的实施例中,额外付出2%的开销,可以允许100个数据组中的任意小于等于两个数据组在数据交换中被丢弃,在接收节点(第二节点)可以完整找回丢失的数据组。In the above-mentioned embodiment illustrated in FIG. 8 , an additional 2% overhead can be allowed to allow any of the 100 data groups less than or equal to two data groups to be discarded during data exchange, and the receiving node (second node) can completely find Return the lost data set.
采用本申请实施例提供的方法,在有丢包的情况下,通过第一码字找回丢失数据组的延时可以理解为完整收集数据组的延时和纠删译码延时之和。相比上层从发现丢包开始开启重传机制到重新接收到完整数据组的延时而言,本申请实施例提供的方法可以降低交换数据的延时。Using the method provided by the embodiment of the present application, in the case of packet loss, the delay of retrieving the lost data group through the first codeword can be understood as the sum of the delay of completely collecting the data group and the delay of erasure correction decoding. Compared with the delay from when the upper layer discovers the packet loss and starts the retransmission mechanism to when the complete data group is received again, the method provided by the embodiment of the present application can reduce the delay of exchanging data.
应理解,本申请实施例提供的方法可以单独使用,也可以结合使用,本申请对此不做限制。It should be understood that the methods provided in the embodiments of the present application may be used alone or in combination, which is not limited in the present application.
需注意的是,上述方法实施例中提及的执行主体仅为示例,该执行主体也可以是支持该执行主体实现上述方法实施例的芯片、芯片系统、或处理器,本申请对此不作限制。It should be noted that the execution subject mentioned in the above method embodiment is only an example, and the execution subject may also be a chip, a chip system, or a processor that supports the execution subject to implement the above method embodiment, and this application does not limit this .
上文结合附图描述了本申请实施例的方法实施例,下面描述本申请实施例的装置实施例。可以理解,方法实施例的描述与装置实施例的描述可以相互对应,因此,未描述的部分可以参见前面方法实施例。The method embodiments of the embodiments of the present application are described above with reference to the accompanying drawings, and the device embodiments of the embodiments of the present application are described below. It can be understood that the descriptions of the method embodiments and the descriptions of the device embodiments may correspond to each other, therefore, the undescribed parts may refer to the foregoing method embodiments.
可以理解的是,上述各个方法实施例中,由第一节点实现的方法和操作,也可以由可用于第一节点的部件(例如芯片或者电路)实现,由第二节点实现的方法和操作,也可以由可用于第二节点的部件(例如芯片或者电路)实现。It can be understood that, in the above method embodiments, the methods and operations implemented by the first node may also be implemented by components (such as chips or circuits) that can be used for the first node, and the methods and operations implemented by the second node, It can also be implemented by components (such as chips or circuits) available for the second node.
上述主要从节点之间交互的角度对本申请实施例提供的方案进行了介绍。可以理解的是,各个网元,例如发射端设备或者接收端设备,为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solution provided by the embodiment of the present application from the perspective of interaction between nodes. It can be understood that each network element, such as a transmitting end device or a receiving end device, includes a corresponding hardware structure and/or software module for performing each function in order to realize the above functions. Those skilled in the art should be aware that, in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
本申请实施例可以根据上述方法示例对发射端设备或者接收端设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。下面以采用对应各个功能划分各个功能模块为例进行说明。The embodiment of the present application can divide the functional modules of the transmitting end device or the receiving end device according to the above method example, for example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module middle. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation. In the following, description will be made by taking the division of each functional module corresponding to each function as an example.
图9是本申请实施例提供的处理数据的装置的示意性框图。该装置400包括收发单元410和处理单元420。收发单元410可以与外部进行通信,处理单元420用于进行数据处理。收发单元410还可以称为通信接口或通信单元。Fig. 9 is a schematic block diagram of an apparatus for processing data provided by an embodiment of the present application. The
可选地,该装置400还可以包括存储单元,该存储单元可以用于存储指令或者和/或数据,处理单元420可以读取存储单元中的指令或者和/或数据。Optionally, the
在一种设计中,该装置400可以为数据交换网络中的第一节点,收发单元410用于执行上文方法实施例中第一节点的接收或发送的操作,处理单元420用于执行上文方法实施例中第一节点内部处理的操作。In one design, the
在另一种设计中,该装置400可以为包括第一节点的设备。或者,该装置400可以为配置在第一节点中的部件,例如,第一节点中的芯片。这种情况下,收发单元410可以为接口电路、管脚等。具体地,接口电路可以包括输入电路和输出电路,处理单元420可以包括处理电路。In another design, the
一种可能的实现方式,该处理单元420用于将第一数据分成K个数据组,K为大于1的整数,该第一数据为发送至第二节点的数据,该处理单元420还用于对该K个数据组使用第一编码方案编码,得到第二数据,该第二数据包括M1个第一码字,该第一码字是对从该K个数据组的每个数据组中选取的部分数据使用第一编码方案编码生成的码字,M1为大于1的整数;该收发单元410用于向第二节点发送该第二数据。In a possible implementation manner, the processing unit 420 is configured to divide the first data into K data groups, K is an integer greater than 1, the first data is data sent to the second node, and the processing unit 420 is further configured to Encoding the K data groups using the first coding scheme to obtain second data, the second data includes M1 first code words, and the first code words are selected from each data group of the K data groups Part of the data is encoded using the first encoding scheme to generate codewords, M1 is an integer greater than 1; the transceiver unit 410 is configured to send the second data to the second node.
基于上述方案,在生成第一码字的过程中,选取了每个数据组中的数据,因此在第二数据的接收端(第二节点),若丢失了属于第二数据的数据组,可以根据第一码字译码找回丢失的数据组,从而提升数据交换的效率。Based on the above scheme, in the process of generating the first codeword, the data in each data group is selected, so at the receiving end (second node) of the second data, if the data group belonging to the second data is lost, it can be The lost data group is retrieved according to the decoding of the first codeword, thereby improving the efficiency of data exchange.
一种可能的实现方式,该M1个第一码字包括N个数据组,该N个数据组中的第一数据组包括位置信息,该位置信息指示该第一数据组在该N个数据组中的位置,该第一数据组为该N个数据组中的任一数据组,N为大于K的整数。In a possible implementation manner, the M1 first codewords include N data groups, and the first data group in the N data groups includes position information, and the position information indicates that the first data group is within the N data groups The position in , the first data group is any data group in the N data groups, and N is an integer greater than K.
基于上述方案,在使用第一编码方案编码后的数据组中添加位置信息,可以使得第二数据的接收端根据接收到的每个数据组中的位置信息,恢复使用第一编码方案编码后的数据组的排列,从而确定第一码字,用以恢复丢失的数据组。Based on the above scheme, adding position information to the data group encoded using the first coding scheme can make the receiving end of the second data recover the data encoded using the first coding scheme according to the received position information in each data group. The arrangement of the data groups, so as to determine the first codeword for recovering the lost data groups.
一种可能的实现方式,该N个数据组的长度相同。In a possible implementation manner, the lengths of the N data groups are the same.
一种可能的实现方式,处理单元420使用第一编码方案编码生成该第一码字时,在该K个数据组的每个数据组中选取的承载数据的符号的数量相同。In a possible implementation manner, when the processing unit 420 encodes and generates the first codeword using the first encoding scheme, the number of symbols carrying data selected in each of the K data groups is the same.
一种可能的实现方式,处理单元420使用第一编码方案编码生成该第一码字时,在该K个数据组的每个数据组中选取的承载数据的符号的位置相同。In a possible implementation manner, when the processing unit 420 encodes and generates the first codeword using the first encoding scheme, the positions of the symbols carrying data selected in each of the K data groups are the same.
一种可能的实现方式,该M1个第一码字包括N个数据组,N为大于K的整数,该处理单元420还用于对该N个数据组使用第二编码方案编码,生成第三数据,该第三数据包括M2个第二码字,该第二码字是对U个数据组的全部数据使用第二编码方案编码生成的码字,该U个数据组选自该N个数据组,1≤U≤N,1≤M2≤N,该收发单元410,用于向第二节点发送该第三数据。In a possible implementation, the M1 first codewords include N data groups, where N is an integer greater than K, and the processing unit 420 is further configured to encode the N data groups using a second encoding scheme to generate a third data, the third data includes M2 second codewords, the second codewords are codewords generated by encoding all the data of the U data groups using the second coding scheme, and the U data groups are selected from the N data groups group, 1≤U≤N, 1≤M2≤N, the transceiver unit 410 is configured to send the third data to the second node.
基于上述方案,在使用第一编码方案的基础上,使用第二编码方案对N个数据组再次编码,可以使得每个数据组被准确的传输,避免数据组在传输的过程中的乱码,错码。Based on the above scheme, on the basis of using the first encoding scheme, use the second encoding scheme to encode the N data groups again, so that each data group can be transmitted accurately, avoiding garbled characters and errors during the transmission of the data groups. code.
一种可能的实现方式,该N个数据组的每个数据组包括表征该第二数据的标识。In a possible implementation manner, each of the N data groups includes an identifier representing the second data.
基于上述方案,第二节点接收到数据组后,可以通过该标识区分属于第二数据的数据组,从而更加准确的判断第二数据在数据交换过程中有无丢失数据组。Based on the above solution, after the second node receives the data group, it can use the identifier to distinguish the data group belonging to the second data, so as to more accurately judge whether there is a missing data group in the second data during the data exchange process.
一种可能的实现方式,第一编码方案包括前向纠错编码FEC。In a possible implementation manner, the first coding scheme includes forward error correction coding (FEC).
一种可能的实现方式,第二编码方案包括前向纠错编码FEC。In a possible implementation manner, the second coding scheme includes forward error correction coding (FEC).
图10是本申请实施例提供的处理数据的装置的示意性框图。该装置500包括收发单元510和处理单元520。收发单元510可以与外部进行通信,处理单元520用于进行数据处理。收发单元510还可以称为通信接口或通信单元。Fig. 10 is a schematic block diagram of an apparatus for processing data provided by an embodiment of the present application. The
可选地,该装置500还可以包括存储单元530,该存储单元530可以用于存储指令或者和/或数据,处理单元520可以读取存储单元530中的指令或者和/或数据。Optionally, the
在一种设计中,该装置500可以为数据交换网络中的第二节点,收发单元510用于执行上文方法实施例中第二节点的接收或发送的操作,处理单元520用于执行上文方法实施例中第二节点内部处理的操作。In one design, the
在另一种设计中,该装置500可以为包括第二节点的设备。或者,该装置500可以为配置在第二节点中的部件,例如,第二节点中的芯片。这种情况下,收发单元510可以为接口电路、管脚等。具体地,接口电路可以包括输入电路和输出电路,处理单元520可以包括处理电路。In another design, the
一种可能的实现方式,该收发单元510用于接收来自第一节点的属于第二数据的数据组,该第二数据包括M1个第一码字,该第一码字是对从K个数据组的每个数据组中选取的部分数据使用第一编码方案编码生成的码字,K和M1为大于1的整数。In a possible implementation manner, the transceiver unit 510 is configured to receive a data group belonging to the second data from the first node, the second data includes M1 first codewords, and the first codeword is a pair of K data Part of the data selected in each data group of the group is encoded using the first encoding scheme to generate a codeword, and K and M1 are integers greater than 1.
基于上述方案,由于第一节点在生成第一码字的过程中,选取了每个数据组中的数据,因此第二节点可以在丢失了第二数据的数据组的情况下,对第一码字译码找回丢失的数据组,从而提升数据交换的效率。Based on the above scheme, since the first node selects the data in each data group during the process of generating the first codeword, the second node can, in the case of losing the data group of the second data, update the first codeword Word decoding retrieves lost data groups, thereby improving the efficiency of data exchange.
一种可能的实现方式,该M1个第一码字包括N个数据组,N为大于K的整数,该处理单元520用于,在收发单元510接收到属于第二数据的第一个数据组开始开启计时器,若在计时器结束前,该收发单元510接收的属于第二数据的数据组的个数小于N,则处理单元520确定第二数据有丢失数据组,若在该计时器结束前,该收发单元510接收的属于第二数据的数据组的个数等于N,则处理单元520确定第二数据没有丢失数据组。In a possible implementation manner, the M1 first codewords include N data groups, where N is an integer greater than K, and the processing unit 520 is configured to receive the first data group belonging to the second data at the transceiver unit 510 Begin to open the timer, if before the timer ends, the number of data groups belonging to the second data received by the transceiver unit 510 is less than N, then the processing unit 520 determines that the second data has missing data groups, if the timer ends Before, the number of data groups belonging to the second data received by the transceiver unit 510 is equal to N, and the processing unit 520 determines that there is no missing data group of the second data.
基于上述方案,可以人为设定一个时间段,并在该时间段内判断数据是否存在丢包问题,从而避免判断延时。Based on the above solution, a time period can be set artificially, and whether there is a packet loss problem in the data can be judged within the time period, so as to avoid judgment delay.
一种可能的实现方式,存储单元530用于缓存接收到的数据组,该处理单元520还用于在确定第二数据有丢失数据组的情况下,根据该收发单元510接收到的属于第二数据的数据组恢复丢失的数据组。In a possible implementation manner, the storage unit 530 is used to buffer the received data group, and the processing unit 520 is also used to determine that the second data has a missing data group, according to the data received by the transceiver unit 510 belonging to the second The data set of data restores the lost data set.
一种可能的实现方式,该第二数据包括N个数据组,该N个数据组中的第一数据组包括位置信息,该第一数据组为该N个数据组中的任一数据组,该处理单元520还用于,根据收发单元510接收到的属于该第二数据的数据组以及数据组中的位置信息确定该第一码字,对该第一码字使用第一译码恢复丢失的数据组。In a possible implementation manner, the second data includes N data groups, the first data group in the N data groups includes position information, and the first data group is any data group in the N data groups, The processing unit 520 is also configured to determine the first codeword according to the data group belonging to the second data received by the transceiver unit 510 and the position information in the data group, and use the first decoding to restore the lost codeword to the first codeword. data group.
基于上述方案,第二节点通过第一节点在使用第一编码方案编码后的数据组中添加的位置信息,恢复第一节点使用第一编码方案编码后的数据组的排列,从而确定可以恢复丢失的数据组的第一码字。Based on the above scheme, the second node restores the arrangement of the data group encoded by the first node using the first coding scheme through the position information added by the first node in the data group encoded using the first coding scheme, so as to determine that the lost The first codeword of the data group.
一种可能的实现方式,该处理单元520还用于清除存储单元530中缓存的第二数据的数据组。In a possible implementation manner, the processing unit 520 is further configured to clear the data group of the second data cached in the storage unit 530 .
基于上述方案,通过清除缓存提升第二节点处的缓存容量。Based on the foregoing solution, the cache capacity at the second node is increased by clearing the cache.
一种可能的实现方式,该N个数据组的长度相同。In a possible implementation manner, the lengths of the N data groups are the same.
一种可能的实现方式,该第一码字是对从K个数据组中的每个数据组中选取的相同数量的符号上的数据使用第一编码方案编码生成的码字。In a possible implementation manner, the first codeword is a codeword generated by encoding the data on the same number of symbols selected from each of the K data groups using the first coding scheme.
一种可能的实现方式,该相同数量的符号在K个数据组的每个数据组中的位置相同。In a possible implementation manner, the symbols of the same number have the same position in each of the K data groups.
一种可能的实现方式,该N个数据组的每个数据组包括表征该第二数据的标识。In a possible implementation manner, each of the N data groups includes an identifier representing the second data.
基于上述方案,第二节点接收到数据组后,可以通过该标识区分属于第二数据的数据组,从而更加准确的判断第二数据有无丢失数据组。Based on the above scheme, after receiving the data group, the second node can use the identifier to distinguish the data group belonging to the second data, so as to more accurately judge whether there is a missing data group in the second data.
一种可能的实现方式,该M1个第一码字包括N个数据组,该收发单元510用于接收来自第一节点的第三数据,该第三数据包括M2个第二码字,该第二码字是对U个数据组的全部数据使用该第二编码方案编码生成的码字,1≤U≤N,1≤M2≤N,该U个数据组选自该N个数据组,该处理单元520还用于对该M2个第二码字使用第二译码,生成第二数据。In a possible implementation manner, the M1 first codewords include N data groups, the transceiver unit 510 is configured to receive third data from the first node, the third data includes M2 second codewords, and the first The second codeword is a codeword generated by encoding all the data of the U data groups using the second coding scheme, 1≤U≤N, 1≤M2≤N, the U data groups are selected from the N data groups, the The processing unit 520 is further configured to use second decoding on the M2 second codewords to generate second data.
基于上述方案,因第二数据经过了两次编码,第二节点可以通过第二译码准确的接收每个数据组(若其中有数据组在传输过程中出现错误,第二节点可通过第二译码对该数据组进行纠错),并且可以通过第一译码恢复丢失的数据组。Based on the above scheme, because the second data has been encoded twice, the second node can accurately receive each data group through the second decoding (if any data group has an error during transmission, the second node can pass the second Decoding performs error correction on the data group), and the lost data group can be recovered through the first decoding.
一种可能的实现方式,第一译码包括前向纠错编码FEC对应的译码。In a possible implementation manner, the first decoding includes decoding corresponding to a forward error correction code (FEC).
一种可能的实现方式,第二译码包括前向纠错编码FEC对应的译码。In a possible implementation manner, the second decoding includes decoding corresponding to a forward error correction code (FEC).
如图11所示,本申请实施例还提供一种处理数据的装置600。该装置600包括处理器610,处理器610与存储器620耦合,存储器620用于存储计算机程序或指令或者和/或数据,处理器610用于执行存储器620存储的计算机程序或指令和/或者数据,使得上文方法实施例中的方法被执行。As shown in FIG. 11 , the embodiment of the present application further provides an
可选地,该装置600包括的处理器610为一个或多个。Optionally, the
可选地,如图11所示,该装置600还可以包括存储器620。Optionally, as shown in FIG. 11 , the
可选地,该装置600包括的存储器620可以为一个或多个。Optionally, the
可选地,该存储器620可以与该处理器610集成在一起,或者分离设置。Optionally, the memory 620 may be integrated with the processor 610, or set separately.
可选地,如图11所示,该装置600还可以包括收发器630和/或通信接口,收发器630和/或通信接口用于信号的接收和/或发送。例如,处理器610用于控制收发器630和/或通信接口进行信号的接收和/或发送。Optionally, as shown in FIG. 11 , the
作为一种方案,该装置600用于实现上文方法实施例中由第一节点执行的操作。例如,处理器610用于实现上文方法实施例中由第一节点内部执行的操作,收发器630用于实现上文方法实施例中由第一节点执行的接收或发送的操作。装置400中的处理单元420可以为图11中的处理器,收发单元410可以为图11中的收发器。处理器610执行的操作具体可以参见上文对处理单元420的说明,收发器630执行的操作可以参见对收发单元410的说明,这里不再赘述。As a solution, the
如图12所示,本申请实施例还提供一种处理数据的装置700。该装置700包括处理器710,处理器710与存储器720耦合,存储器720用于存储计算机程序或指令或者和/或数据,处理器710用于执行存储器720存储的计算机程序或指令和/或者数据,使得上文方法实施例中的方法被执行。As shown in FIG. 12 , the embodiment of the present application further provides an
可选地,该装置700包括的处理器710为一个或多个。Optionally, the
可选地,如图12所示,该装置700还可以包括存储器720。Optionally, as shown in FIG. 12 , the
可选地,该装置700包括的存储器720可以为一个或多个。Optionally, the
可选地,该存储器720可以与该处理器710集成在一起,或者分离设置。Optionally, the memory 720 may be integrated with the processor 710, or set separately.
可选地,如图12所示,该装置700还可以包括收发器730和/或通信接口,收发器730和/或通信接口用于信号的接收和/或发送。例如,处理器710用于控制收发器730进行信号的接收和/或发送。Optionally, as shown in FIG. 12 , the
作为一种方案,该装置700用于实现上文方法实施例中由第二节点执行的操作。As a solution, the
例如,处理器710用于实现上文方法实施例中由第二节点内部执行的操作,收发器730用于实现上文方法实施例中由第二节点执行的接收或发送的操作。装置500中的处理单元520可以为图12中的处理器,收发单元510可以为图12中的收发器和/或通信接口。处理器710执行的操作具体可以参见上文对处理单元520的说明,收发器730执行的操作可以参见对收发单元510的说明,这里不再赘述。For example, the processor 710 is configured to implement the operations performed internally by the second node in the above method embodiments, and the transceiver 730 is configured to implement the receiving or sending operations performed by the second node in the above method embodiments. The processing unit 520 in the
本申请实施例还提供了一种处理数据的装置,包括处理器,该处理器与输入/输出接口耦合,通过该输入/输出接口传输数据,该处理器用于执行上述任一方法实施例中的方法。The embodiment of the present application also provides a device for processing data, including a processor, the processor is coupled with the input/output interface, and the data is transmitted through the input/output interface, and the processor is used to execute the method in any one of the above method embodiments. method.
如图13,本申请实施例还提供了一种处理数据的装置800。该装置800包括逻辑电路810以及输入/输出接口(input/output interface)820。As shown in FIG. 13 , the embodiment of the present application also provides an
其中,逻辑电路810可以为装置800中的处理电路。逻辑电路810可以耦合连接存储单元,调用存储单元中的指令,使得装置800可以实现本申请各实施例的方法和功能。输入/输出接口820,可以为装置800中的输入输出电路,将装置800处理好的信息输出,或将待处理的数据或信令信息输入装置800进行处理。Wherein, the logic circuit 810 may be a processing circuit in the
作为一种方案,该装置800用于实现上文各个方法实施例中由第一节点执行的操作。As a solution, the
例如,逻辑电路810用于实现上文方法实施例中由第一节点执行的处理相关的操作,输入/输出接口820用于实现上文方法实施例中由第一节点执行的发送和/或接收相关的操作。逻辑电路810执行的操作具体可以参见上文对处理单元420的说明,输入/输出接口820执行的操作可以参见上文对收发单元410的说明,这里不再赘述。For example, the logic circuit 810 is used to implement the processing-related operations performed by the first node in the above method embodiments, and the input/output interface 820 is used to implement the sending and/or reception performed by the first node in the above method embodiments related operations. For the operations performed by the logic circuit 810 , refer to the above description of the processing unit 420 , and for the operations performed by the input/output interface 820 , refer to the above description for the transceiver unit 410 , which will not be repeated here.
作为另一种方案,该装置800用于实现上文各个方法实施例中由第二节点执行的操作。As another solution, the
例如,逻辑电路810用于实现上文方法实施例中由第二节点执行的处理相关的操作,输入/输出接口820用于实现上文方法实施例中由第二节点执行的发送和/或接收相关的操作。逻辑电路810执行的操作具体可以参见上文对处理单元520的说明,输入/输出接口820执行的操作可以参见上文对收发单元510的说明,这里不再赘述。For example, the logic circuit 810 is used to implement the processing-related operations performed by the second node in the above method embodiments, and the input/output interface 820 is used to implement the sending and/or reception performed by the second node in the above method embodiments related operations. For the operations performed by the logic circuit 810 , refer to the above description of the processing unit 520 , and for the operations performed by the input/output interface 820 , refer to the above description for the transceiver unit 510 , which will not be repeated here.
应理解,上述装置可以是一个或多个芯片。例如,该装置可以是现场可编程门阵列(field programmable gate array,FPGA),可以是专用集成芯片(application specificintegrated circuit,ASIC),还可以是系统芯片(system on chip,SoC),还可以是中央处理器(central processor unit,CPU),还可以是网络处理器(network processor,NP),还可以是数字信号处理电路(digital signal processor,DSP),还可以是微控制器(microcontroller unit,MCU),还可以是可编程控制器(programmable logic device,PLD)或其他集成芯片。It should be understood that the above-mentioned device may be one or more chips. For example, the device may be a field programmable gate array (field programmable gate array, FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), or a central The processor (central processor unit, CPU), can also be a network processor (network processor, NP), can also be a digital signal processing circuit (digital signal processor, DSP), can also be a microcontroller (microcontroller unit, MCU) , and can also be a programmable logic device (programmable logic device, PLD) or other integrated chips.
在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software. The steps of the methods disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware. To avoid repetition, no detailed description is given here.
应注意,本申请实施例中的处理器可以是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。It should be noted that the processor in the embodiment of the present application may be an integrated circuit chip, which has a signal processing capability. In the implementation process, each step of the above-mentioned method embodiments may be completed by an integrated logic circuit of hardware in a processor or instructions in the form of software. The above-mentioned processor may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components . Various methods, steps, and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.
可以理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rateSDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(directrambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory in the embodiments of the present application may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the non-volatile memory can be read-only memory (read-only memory, ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically programmable Erases programmable read-only memory (electrically EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, many forms of RAM are available such as static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) And direct memory bus random access memory (directrambus RAM, DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but not be limited to, these and any other suitable types of memory.
本申请实施例还提供一种数据交换系统,该系统包括第一节点和第二节点。An embodiment of the present application also provides a data exchange system, and the system includes a first node and a second node.
根据本申请实施例提供的方法,本申请还提供一种计算机可读介质,该计算机可读介质存储有程序代码,当该程序代码在计算机上运行时,使得该计算机执行上文实施例的方法。例如,该计算机程序被计算机执行时,使得该计算机可以实现上述方法实施例中由第一节点执行的方法,或由第二节点执行的方法。According to the method provided by the embodiment of the present application, the present application also provides a computer-readable medium, the computer-readable medium stores program code, and when the program code is run on the computer, the computer is made to execute the method of the above-mentioned embodiment . For example, when the computer program is executed by a computer, the computer can implement the method executed by the first node or the method executed by the second node in the above method embodiments.
本申请实施例还提供一种包含指令的计算机程序产品,该指令被计算机执行时使得该计算机实现上述方法实施例中由第一节点执行的方法,或由第二节点执行的方法。The embodiment of the present application also provides a computer program product including instructions, which, when executed by a computer, enable the computer to implement the method executed by the first node or the method executed by the second node in the above method embodiments.
上述提供的任一种数据处理装置中相关内容的解释及有益效果均可参考上文提供的对应的方法实施例,此处不再赘述。For explanations and beneficial effects of relevant content in any data processing device provided above, reference may be made to the corresponding method embodiments provided above, and details are not repeated here.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,高密度数字视频光盘(digital video disc,DVD))、或者半导体介质(例如,固态硬盘(solid state disc,SSD))等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a high-density digital video disc (digital video disc, DVD)), or a semiconductor medium (for example, a solid state disk (solid state disc, SSD)) etc.
上述各个装置实施例中的网络设备和终端设备与方法实施例中的网络设备和终端设备对应,由相应的模块或单元执行相应的步骤,例如通信单元(收发器)执行方法实施例中接收或发送的步骤,除发送、接收外的其它步骤可以由处理单元(处理器)执行。具体单元的功能可以参考相应的方法实施例。其中,处理器可以为一个或多个。The network equipment and terminal equipment in the above-mentioned various apparatus embodiments correspond to the network equipment and terminal equipment in the method embodiments, and corresponding steps are performed by corresponding modules or units, for example, the communication unit (transceiver) performs the receiving or receiving in the method embodiments. In the sending step, other steps besides sending and receiving may be performed by a processing unit (processor). For the functions of the specific units, reference may be made to the corresponding method embodiments. Wherein, there may be one or more processors.
在本说明书中使用的术语“部件”、“模块”、“系统”等用于表示计算机相关的实体、硬件、固件、硬件和软件的组合、软件、或执行中的软件。例如,部件可以是但不限于,在处理器上运行的进程、处理器、对象、可执行文件、执行线程、程序和/或计算机。通过图示,在计算设备上运行的应用和计算设备都可以是部件。一个或多个部件可驻留在进程和/或执行线程中,部件可位于一个计算机上和/或分布在两个或更多个计算机之间。此外,这些部件可从在上面存储有各种数据结构的各种计算机可读介质执行。部件可例如根据具有一个或多个数据分组(例如来自与本地系统、分布式系统和/或网络间的另一部件交互的二个部件的数据,例如通过信号与其它系统交互的互联网)的信号通过本地和/或远程进程来通信。The terms "component", "module", "system" and the like are used in this specification to refer to a computer-related entity, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component may be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a computing device and the computing device can be components. One or more components can reside within a process and/or thread of execution and a component can be localized on one computer and/or distributed between two or more computers. In addition, these components can execute from various computer readable media having various data structures stored thereon. A component may, for example, be based on a signal having one or more packets of data (e.g., data from two components interacting with another component between a local system, a distributed system, and/or a network, such as the Internet via a signal interacting with other systems). Communicate through local and/or remote processes.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application. Should be covered within the protection scope of this application. Therefore, the protection scope of the present application should be determined by the protection scope of the claims.
Claims (27)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111331219.6A CN116112119A (en) | 2021-11-11 | 2021-11-11 | Method and device for processing data |
PCT/CN2022/125804 WO2023082950A1 (en) | 2021-11-11 | 2022-10-18 | Method and apparatus for processing data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111331219.6A CN116112119A (en) | 2021-11-11 | 2021-11-11 | Method and device for processing data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116112119A true CN116112119A (en) | 2023-05-12 |
Family
ID=86253203
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111331219.6A Pending CN116112119A (en) | 2021-11-11 | 2021-11-11 | Method and device for processing data |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN116112119A (en) |
WO (1) | WO2023082950A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119172455A (en) * | 2023-06-20 | 2024-12-20 | 华为技术有限公司 | Information transmission method and related equipment |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7151754B1 (en) * | 2000-09-22 | 2006-12-19 | Lucent Technologies Inc. | Complete user datagram protocol (CUDP) for wireless multimedia packet networks using improved packet level forward error correction (FEC) coding |
US8230316B2 (en) * | 2008-01-25 | 2012-07-24 | Nevion Usa, Inc. | Forward error correction for burst and random packet loss for real-time multi-media communication |
CN110324115B (en) * | 2019-06-10 | 2022-01-04 | 普联技术有限公司 | Data transmission method and device, storage medium and terminal equipment |
CN111555855B (en) * | 2020-05-22 | 2022-11-11 | 乐鑫信息科技(上海)股份有限公司 | Wireless transmission method and device |
CN113258936B (en) * | 2021-06-03 | 2021-10-15 | 成都信息工程大学 | A Construction Method of Double Coding Based on Cyclic Shift |
-
2021
- 2021-11-11 CN CN202111331219.6A patent/CN116112119A/en active Pending
-
2022
- 2022-10-18 WO PCT/CN2022/125804 patent/WO2023082950A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2023082950A1 (en) | 2023-05-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6963620B2 (en) | Concatenated polar code with interleaving | |
KR101937547B1 (en) | Polar code rate-matching method and rate-matching device | |
US9118353B2 (en) | System and method for communicating with low density parity check codes | |
EP3079287B1 (en) | Polar code processing method and system | |
WO2021209037A1 (en) | Data recovery method and apparatus | |
CN108173621B (en) | Data transmission method, transmitting device, receiving device and communication system | |
WO2019062145A1 (en) | Polar encoding method and encoding apparatus, and decoding method and decoding apparatus | |
JP2022174079A (en) | Coding method, decoding method, device, and equipment | |
WO2015143593A1 (en) | Rate matching method and rate matching apparatus for polar codes | |
WO2018141240A1 (en) | Information processing method and device, communication device and communication system | |
WO2020048537A1 (en) | Method and device for cascade coding | |
CN108737021B (en) | Polar code transmission method and device | |
JP7408152B2 (en) | Self-adaptive system code FEC encoding and decoding method, apparatus, system and medium based on media content | |
CN108282259A (en) | A kind of coding method and device | |
WO2023082950A1 (en) | Method and apparatus for processing data | |
CN112636879B (en) | Method and device for code block processing based on hybrid automatic repeat request | |
JP2023535500A (en) | Retransmission method and device | |
US20230224082A1 (en) | Retransmission method and apparatus | |
JP2024543197A (en) | Data packet processing method, communication device, and communication system | |
CN109756307B (en) | Data retransmission method and device | |
WO2018103638A1 (en) | Data transmission method, sending device, receiving device and communication system | |
CN108631928B (en) | Data transmission method, sending equipment and receiving equipment | |
WO2021136539A1 (en) | Convolutional code rate matching method and wireless communication apparatus | |
TW202207642A (en) | Additional bit freezing for polar coding | |
TWI707566B (en) | Channel coding method and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |