Communication device and communication method for realizing high frequency utilisation efficiency
A communication device includes a generation unit that generates error detection data and an addition unit that adds redundant data including the error detection data to one or a plurality of encoded sequences generated by encoding processing, in which the error detection data is used for error detection of the one or the plurality of encoded sequences. The generation unit generates the error detection data having different lengths according to a predetermined condition.
1 . A first communication device, comprising:
a signal processing unit configured to generate a plurality of encoded sequences based on an encoding processing operation;
an acquisition unit configured to acquire information of a first criterion, wherein the information indicates a correspondence between a length of at least one of the plurality of encoded sequences and one of a plurality of error detection methods;
a generation unit configured to:
select, based on the information of the first criterion and the length of the at least one of the plurality of encoded sequences, an error detection method from the plurality of error detection methods; and
generate error detection data based on the selected error detection method; and
an addition unit configured to add redundant data including the error detection data to the at least one of the plurality of encoded sequences, wherein
the error detection data is for error detection of the at least one of the plurality of encoded sequences, and
the generation unit is further configured to generate the error detection data having a plurality of lengths based on a specific condition.
2 . The first communication device according to claim 1 , wherein
the generation unit is further configured to:
determine a specific length from the plurality of lengths of the error detection data based on the length of the at least one of the plurality of encoded sequences; and
generate the error detection data that has the specific length.
3 . The first communication device according to claim 2 , wherein
the plurality of error detection methods includes different bit widths of the error detection data based on the length of the at least one of the plurality of encoded sequences.
4 . The first communication device according to claim 1 , wherein
the acquisition unit is further configured to acquire the information from a second communication device that is a transmission partner of the at least one of the plurality of encoded sequences.
5 . The first communication device according to claim 1 , wherein
the acquisition unit is further configured to determine the first criterion based on an error detection capability of the error detection method.
6 . The first communication device according to claim 1 , wherein
the generation unit is further configured to:
determine a specific length from the plurality of lengths of the error detection data based on an estimated error rate; and
generate the error detection data having the specific length.
7 . The first communication device according to claim 1 , wherein
the addition unit is further configured to not add the error detection data in the redundant data in a case where the length of the at least one of the plurality of encoded sequences and an estimated error rate satisfy a second criterion.
8 . The first communication device according to claim 1 , wherein
the error detection data is a value of cyclic redundancy checking (CRC).
9 . The first communication device according to claim 1 , further comprising:
a transmission unit configured to:
store the at least one of the plurality of encoded sequences in a packet together with the redundant data, and
transmit the packet, wherein
the addition unit is further configured to store, in the redundant data, information regarding storage of the at least one of the plurality of encoded sequences in the packet.
10 . The first communication device according to claim 9 , wherein
the addition unit is further configured to store restoration information to restore the at least one of the plurality of encoded sequences from the packet.
11 . The first communication device according to claim 10 , wherein
the restoration information includes information on a size of the at least one of the plurality of encoded sequences stored in the packet.
12 . The first communication device according to claim 10 , wherein
the restoration information includes at least configuration information of the packet indicating a process of storage of the at least one of the plurality of encoded sequences in the packet.
13 . The first communication device according to claim 12 , wherein
the restoration information includes information regarding handling of a margin in a case where the at least one of the plurality of encoded sequences are stored in the packet and the margin is generated to store a part of a plurality of parts of an encoded sequence of the plurality of encoded sequences.
14 . The first communication device according to claim 13 , wherein
in a case where the part of the encoded sequence of the plurality of encoded sequences is stored in the margin, the addition unit is further configured to store, in the restoration information:
a sequence number of the encoded sequence of the plurality of encoded sequences, and
information to identify which part of the plurality of parts of the encoded sequence is the part stored in the margin.
15 . A first communication device, comprising:
in a case where the first communication device communicates with a second communication device, and
the second communication device includes:
a generation unit that generates error detection data for error detection of at least one of a plurality of encoded sequences generated by encoding processing, wherein the error detection data having a plurality of lengths based on a specific condition, and
an addition unit that adds redundant data including at least the error detection data to the at least one of the plurality of encoded sequences,
a reception unit configured to receive the at least one of the plurality of encoded sequences to which the redundant data is added from the second communication device; and
an error detection unit configured to execute error detection of the at least one of the plurality of encoded sequences based on the error detection data included in the redundant data.
16 . The first communication device according to claim 15 , wherein
the second communication device generates the error detection data that is included in the redundant data based on an error detection method selected from a plurality of error detection methods having different bit widths of the error detection data,
the reception unit is further configured to acquire information regarding the error detection method used to generate the error detection data from the second communication device, and
the error detection unit is further configured to execute error detection of the at least one of the plurality of encoded sequences based on the information regarding the error detection method and the error detection data.
17 . The first communication device according to claim 16 , wherein
the information regarding the error detection method is list information of the plurality of error detection methods, and
the error detection unit is further configured to execute error detection of the at least one of the plurality of encoded sequences based on sequential execution of the error detection methods included in the list information.
18 . A communication method, comprising:
generating a plurality of encoded sequences based on an encoding processing operation;
acquiring information of a specific criterion, wherein the information indicates a correspondence between a length of at least one of the plurality of encoded sequences and one of a plurality of error detection methods;
selecting, based on the information of the specific criterion and the length of the at least one of the plurality of encoded sequences, an error detection method from the plurality of error detection methods;
generating error detection data based on the selected error detection method;
adding redundant data including the error detection data to the at least one of the plurality of encoded sequences, wherein
the error detection data is for error detection of the at least one of the plurality of encoded sequences; and
generating the error detection data having a plurality of lengths based on a specific condition.
19 . A communication method executed by a first communication device, the communication method comprising:
in a case where the first communication device communicates with a second communication device, and the second communication device includes:
a generation unit that generates error detection data for error detection of at least one of a plurality of encoded sequences generated by encoding processing, wherein
the error detection data having a plurality of lengths based on a specific condition, and
an addition unit that adds redundant data including at least the error detection data to the at least one of the plurality of encoded sequences,
receiving at least one of the plurality of encoded sequences to which the redundant data is added from the second communication device; and
executing error detection of the at least one of the plurality of encoded sequences based on the error detection data included in the redundant data.