Data transmission method, data modulation method, and electronic device and storage medium
A data transmission method includes transmitting to-be-transmitted data in N frequency domain resource blocks, where each of the N frequency domain resource blocks includes K(n) subcarriers, where n=1, 2, . . . , N, N is greater than or equal to 1, and K(n) is greater than or equal to 1; performing inverse Fourier transform and an upsampling operation on the to-be-transmitted data in each of the N frequency domain resource blocks to form N groups of data sequences; and transmitting the N groups of data sequences.
1 . A data transmission method, comprising:
transmitting to-be-transmitted data in N frequency domain resource blocks, wherein an n-th frequency domain resource block of the N frequency domain resource blocks comprises K(n) subcarriers, wherein n=1, 2, . . . , N, N is greater than or equal to 1, and the K(n) is greater than or equal to 1;
performing an inverse Fourier transform and an upsampling operation on to-be-transmitted data in each of the N frequency domain resource blocks to form N groups of data sequences; and
transmitting the N groups of data sequences;
after performing the inverse Fourier transform and the upsampling operation on the to-be-transmitted data in each of the N frequency domain resource blocks, the method further comprises: performing filtering on the N groups of data sequences, wherein the filtering comprises time domain convolution filtering; and
after performing the filtering on the N groups of data sequences, the method further comprises: performing a dot multiply operation on the N groups of data sequences, wherein a to-be-multiplied sequence which is multiplied by the N groups of data sequences in the dot multiply operation comprises a sequence of data of which modulo are equal and phases sequentially change by a same value θ(n), wherein different blocks of the N frequency domain resource blocks correspond to different values of θ(n).
2 . The method of claim 1 , wherein filtering function parameters used by different ones of the N frequency domain resource blocks are different.
3 . The method of claim 1 , wherein a function for the filtering is multiplied, and a to-be-multiplied sequence comprises the sequence of data of which modulo are equal and phases sequentially change by the same value θ(n), wherein different blocks of the N frequency domain resource blocks use different values of θ(n).
4 . The method of claim 1 , wherein transmitting the N groups of data sequences comprises:
in a case where N is greater than 1, adding the N groups of data sequences as a first data sequence; and
transmitting the first data sequence.
5 . The method of claim 1 , wherein the method further comprises one of:
a ratio of numbers of subcarriers of any two of the N frequency domain resource blocks satisfies 2 to a power of i, wherein i is an integer; or
a number of inverse Fourier transform points of the inverse Fourier transform is less than or equal to a sum of numbers of subcarriers comprised in the N frequency domain resource blocks.
6 . The method of claim 1 , wherein a number K(n) of subcarriers on at least one of the N frequency domain resource blocks does not satisfy 2 to a power of i, and oversampling inverse Fourier transform is used so that a number of inverse Fourier transform points is 2 to a power of i, and the N frequency domain resource blocks use a same number of inverse Fourier transform points.
7 . The method of claim 1 , wherein performing the inverse Fourier transform on the to-be-transmitted data on each of the N frequency domain resource blocks comprises:
in a case where adjacent subcarrier spacings of the N frequency domain resource blocks are equal, but numbers of subcarriers comprised in the N frequency domain resource blocks are not equal, oversampling inverse Fourier transform is used so that a number of inverse Fourier transform points is 2 to a power of i, and the N frequency domain resource blocks use a same number of inverse Fourier transform points.
8 . An electronic device, comprising:
at least one processor; and
a memory configured to store at least one program;
wherein when executed by the at least one processor, the at least one program causes the at least one processor to perform the data transmission method of claim 1 .
9 . A non-transitory computer-readable storage medium, storing at least one program executable by at least one processor to perform the data transmission method of claim 1 .
10 . A data modulation method, comprising:
dividing to-be-transmitted data into N groups of data sets, wherein an n-th group of the N groups of data sets comprises K(n) pieces of to-be-transmitted data, wherein n=1, 2, . . . , N, a value of N is greater than or equal to 1, and a value of K(n) is greater than or equal to 1;
performing an inverse Fourier transform and an upsampling operation on each of the N groups of data sets to form N groups of data sequences; and
transmitting the N groups of data sequences;
after performing the inverse Fourier transform and the upsampling operation on each of the N groups of data sets, the method further comprises: performing filtering on the N groups of data sequences, wherein the filtering comprises time domain convolution filtering; and
after performing the filtering on the N groups of data sequences, the method further comprises: performing a dot multiply operation on the N groups of data sequences, wherein a to-be-multiplied sequence which is multiplied by the N groups of data sequences in the dot multiply operation comprises a sequence of data of which modulo are equal and phases sequentially change by a same value θ(n), wherein different data sets of the N groups of data sets correspond to different values of θ(n).
11 . The method of claim 10 , wherein a function for the filtering is multiplied, and a to-be-multiplied sequence comprises the sequence of data of which modulo are equal and phases sequentially change by the same value θ(n), wherein different data sets of the N groups of data sets use different values of θ(n).
12 . The method of claim 10 , wherein transmitting the N groups of data sequences comprises:
in a case where N is greater than 1, adding the N groups of data sequences as a first data sequence; and
transmitting the first data sequence.
13 . The method of claim 10 , wherein the method further comprises one of:
the N groups of data sets comprise different numbers of pieces of to-be-transmitted data; or
a number of pieces of to-be-transmitted data comprised in at least one group of the N groups of data sets does not satisfy 2 to a power of i, and oversampling inverse Fourier transform is used so that a number of inverse Fourier transform points is 2 to a power of i, and the N groups of data sets use a same number of inverse Fourier transform points.
14 . An electronic device, comprising:
at least one processor; and
a memory configured to store at least one program;
wherein when executed by the at least one processor, the at least one program causes the at least one processor to perform the data modulation method of claim 10 .
15 . A data transmission method, comprising:
transmitting to-be-transmitted data in N frequency domain resource blocks, wherein an n-th frequency domain resource block of the N frequency domain resource blocks comprises K(n) subcarriers, wherein n=1, 2, . . . , N, a value of N is greater than or equal to 1, and a value of the K(n) is greater than or equal to 1;
performing an inverse Fourier transform on to-be-transmitted data in each of the N frequency domain resource blocks to form N groups of data sequences; and
transmitting the N groups of data sequences;
wherein a number K(n) of subcarriers on at least one of the N frequency domain resource blocks does not satisfy 2 to a power of i, and oversampling inverse Fourier transform is used so that a number of inverse Fourier transform points is 2 to the power of i, and the N frequency domain resource blocks use a same number of inverse Fourier transform points, wherein i is an integer, and the number of inverse Fourier transform points is less than or equal to a sum of numbers of subcarriers comprised in the N frequency domain resource blocks.
16 . An electronic device, comprising:
at least one processor; and
a memory configured to store at least one program;
wherein when executed by the at least one processor, the at least one program causes the at least one processor to perform the data transmission method of claim 15 .