A sequence generation method performed by a terminal, the method comprising: • obtaining a sequence number N ID seq, a timeslot number n s, a number l of an Orthogonal Frequency Division Multiplexing, OFDM, symbol in a timeslot corresponding to the timeslot number n s, a cell number N ID cell, and a number N CP being one in a case of a normal Cyclic Prefix, CP, and being zero in a case of an extended CP; • generating at least one candidate sequence by: ∘ generating, according to a following formula an initialization status value that is of a sequence generator and that corresponds to the at least one candidate sequence: c init = 2 10 ⋅ 7 ⋅ n S + 1 + l + 1 2 ⋅ N ID seq + 1 + 2 ⋅ N ID cell + N CP, or c init = 2 10 ⋅ 7 ⋅ n S + 1 + l + 1 2 ⋅ N ID cell + 1 + 2 ⋅ N ID seq + N CP, or c init = 2 10 ⋅ 7 ⋅ n S + 1 + l + 1 2 ⋅ N ID seq + 1 + 2 ⋅ N ID seq + N CP, wherein c init is the initialization status value that is of the sequence generator and that corresponds to the at least one candidate sequence; and ∘ generating the at least one candidate sequence according to the initialization status value; • determining in a first alternative at least two first sequences according to the at least one candidate sequence or in a second alternative determining at least one first sequence according to the at least one candidate sequence, wherein a length of the candidate sequence is less than a sequence length corresponding to a maximum available system bandwidth; • in the first alternative, connecting at least two first sequences of the at least two first sequences to generate a second sequence or in the second alternative directly using the at least one first sequence as a second sequence, and receiving a signal according to the second sequence, wherein the second sequence is at least one of a reference signal sequence or a scrambling code sequence; wherein each first sequence is a candidate sequence of the at least one candidate sequence or a sub-sequence of a candidate sequence of the at least one candidate sequence, and the sub-sequence is a part of the candidate sequence. • obtaining a sequence number N ID seq, a timeslot number n s, a number l of an Orthogonal Frequency Division Multiplexing, OFDM, symbol in a timeslot corresponding to the timeslot number n s, a cell number N ID cell, and a number N CP being one in a case of a normal Cyclic Prefix, CP, and being zero in a case of an extended CP; • generating at least one candidate sequence by: ∘ generating, according to a following formula an initialization status value that is of a sequence generator and that corresponds to the at least one candidate sequence: c init = 2 10 ⋅ 7 ⋅ n S + 1 + l + 1 2 ⋅ N ID seq + 1 + 2 ⋅ N ID cell + N CP, or c init = 2 10 ⋅ 7 ⋅ n S + 1 + l + 1 2 ⋅ N ID cell + 1 + 2 ⋅ N ID seq + N CP, or c init = 2 10 ⋅ 7 ⋅ n S + 1 + l + 1 2 ⋅ N ID seq + 1 + 2 ⋅ N ID seq + N CP, wherein c init is the initialization status value that is of the sequence generator and that corresponds to the at least one candidate sequence; and ∘ generating the at least one candidate sequence according to the initialization status value; ∘ generating, according to a following formula an initialization status value that is of a sequence generator and that corresponds to the at least one candidate sequence: c init = 2 10 ⋅ 7 ⋅ n S + 1 + l + 1 2 ⋅ N ID seq + 1 + 2 ⋅ N ID cell + N CP, or c init = 2 10 ⋅ 7 ⋅ n S + 1 + l + 1 2 ⋅ N ID cell + 1 + 2 ⋅ N ID seq + N CP, or c init = 2 10 ⋅ 7 ⋅ n S + 1 + l + 1 2 ⋅ N ID seq + 1 + 2 ⋅ N ID seq + N CP, wherein c init is the initialization status value that is of the sequence generator and that corresponds to the at least one candidate sequence; and ∘ generating the at least one candidate sequence according to the initialization status value; • determining in a first alternative at least two first sequences according to the at least one candidate sequence or in a second alternative determining at least one first sequence according to the at least one candidate sequence, wherein a length of the candidate sequence is less than a sequence length corresponding to a maximum available system bandwidth; • in the first alternative, connecting at least two first sequences of the at least two first sequences to generate a second sequence or in the second alternative directly using the at least one first sequence as a second sequence, and receiving a signal according to the second sequence, wherein the second sequence is at least one of a reference signal sequence or a scrambling code sequence; wherein each first sequence is a candidate sequence of the at least one candidate sequence or a sub-sequence of a candidate sequence of the at least one candidate sequence, and the sub-sequence is a part of the candidate sequence.