Method for sending random access preamble sequence, device, and system

Information

  • Patent Grant
  • 12068899
  • Patent Number
    12,068,899
  • Date Filed
    Thursday, April 1, 2021
    3 years ago
  • Date Issued
    Tuesday, August 20, 2024
    5 months ago
Abstract
This application relates to the mobile communications field, and in particular, to a random access technology in a wireless communications system. This application provides a method for receiving a random access preamble sequence, an apparatus, and a system. In this solution, a device obtains a cyclic shift value that satisfies a high-speed movement scenario and receives a random access preamble sequence corresponding to the cyclic shift value.
Description
TECHNICAL FIELD

The present invention relates to the communications field, and in particular, to a method for sending a random access preamble sequence, a device, and a system.


BACKGROUND

If a terminal device communicates with a base station in high-speed movement, there is a frequency difference between a frequency at which the terminal device transmits a signal and a receive frequency of the base station. The difference is referred to as a Doppler frequency shift fD, and fD=fv/c, where f is a carrier frequency, v is a movement speed, and c is a speed of light. The Doppler frequency shift causes mutual interference between terminal devices during random access and also causes a vagueness problem that occurs during detection when the base station detects a random access preamble sequence sent by the terminal device.


In an existing Long Term Evolution (LTE) system, a Doppler frequency shift less than one time a PRACH subcarrier spacing is specially designed, thereby eliminating mutual interference between terminal devices during uplink random access and a vagueness problem during base station detection. When an LTE system performs communication at a higher working frequency or when a terminal device has a very high movement speed, a Doppler frequency shift may be greater than one time the PRACH subcarrier spacing and less than twice the PRACH subcarrier spacing. An optimization design is made to some degree in the LTE Release 14, thereby alleviating mutual interference between terminal devices during random access and reducing a vagueness problem during base station detection.


However, for a situation in which when the LTE system performs communication at a higher working frequency or the terminal device has a very high movement speed, a Doppler frequency shift may be greater than one time the PRACH subcarrier spacing and less than twice the PRACH subcarrier spacing, mutual interference between terminal devices and a vagueness problem during base station detection still exist at present.


SUMMARY

A method for sending a random access preamble sequence, a device, and a system support a random access process at a high speed, and avoid mutual interference between terminal devices during random access in a high-speed scenario.


According to a first aspect, an embodiment of this application provides a method for sending a random access preamble sequence. The method includes:

    • sending, by a terminal device, a random access preamble sequence xu,v(n), where xu,v(n) satisfies xu,v(n)=xu((n+Cv)mod NZC), a ZC (Zadoff-Chu) sequence whose root sequence number is u is defined as:









x
u

(
n
)

=

e


-
j




π


un

(

n
+
1

)



N
ZC





,

0

n



N
ZC

-
1


,

N
ZC






is a sequence length of xu(n), mod represents a modulo operation, and Cv satisfies:







C
v

=

{





d
start






v
/

n
shift
RA


+


(

v

mod


n
shift
RA


)



N
CS









v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
_

shift
RA

-
1










d
_

_

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+



n
_

_

shift
RA

-
1











d
_

_

_

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA

-



n
_

_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA

+



n
_

_

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+



n
_

_

shift
RA

+




n
_

_

_

shift
RA

-
1

,










where NCS is an integer; and

    • for










N

Z

C


+

N

C

S



4



d
u

<


2
7



N

Z

C




,

n

s

h

i

f

t


R

A


,

d
start

,


n

g

r

o

u

p


R

A





n
¯


s

h

i

f

t


R

A



,



n
¯

¯

shift

R

A


,




n
¯

¯

¯

shift

R

A


,









d
_

_

start

,

and






d
_

_

_

start







satisfy:









n
shift
RA

=





4


d
u


-

N
ZC



N
CS














d
start

=


4


d
u


-

N
ZC

+


n
shift
RA

·

N
CS













n
group
RA

=




d
u


d
start















n
_

shift
RA

=

max

(






N
ZC

-

3


d
u


-


n
group
RA

·

d
start




N
CS




,
0

)













n
_

_

shift
RA

=




min

(



d
u

-


n
group
RA

·

d
start



,


4


d
u


-

N
ZC

-



n
_

shift
RA



N
ZC




)

/

N
CS
















d
_

_

start

=


N
ZC

-

3


d
u


+


n
group
RA

·

d
start


+



n
_

shift
RA



N
CS














n
_

_

_

shift
RA

=





(



(

1
-

min

(

1
,


n
_

shift
RA


)


)



(


d
u

-


n
group
RA

·

d
start



)


+


min

(

1
,


n
_

shift
RA


)



(


4


d
u


-

N
ZC

-



n
_

shift
RA



N
CS



)



)

/

N
CS




-



n
_

_

shift
RA















d
_

_

_

start

=


N
ZC

-

2


d
u


+


n
group
RA

·

d
start


+




n
_

_

shift
RA



N
CS




;







    • for












2
7



N

Z

C





d
u





N

Z

C


-

N

C

S



3


,

n

s

h

i

f

t


R

A


,

d
start

,

n

g

r

o

u

p


R

A


,


n
¯


s

h

i

f

t


R

A


,



n
¯

¯

shift

R

A


,




n
¯

¯

¯

shift

R

A


,









d
_

_

start

,

and






d
_

_

_

start







satisfy:







n
shift
RA

=





N
ZC

-

3


d
u




N
CS











d
start

=


N
ZC

-

3


d
u


+


n
shift
RA

·

N
CS










n
group
RA

=




d
u


d
start












n
_

shift
RA

=

max

(






4


d
u


-

N
ZC

-


n
group
RA

·

d
start




N
CS




,
0

)










n
_

_

shift
RA

=




min

(



d
u

-


n
group
RA

·

d
start



,


N
ZC

-

3


d
u


-



n
_

shift
RA



N
CS




)

/

N
CS













d
_

_

start

=


d
u

+


n
group
RA

·

d
start


+



n
_

shift
RA



N
CS














n
_

_

_

shift
RA

=
0

,






d
_

_

_

start

=
0

;







    • for













N

Z

C


+

N

C

S



3



d
u

<


2


N

Z

C



5


,

n

s

h

i

f

t


R

A


,

d
start

,

n
group
RA

,


n
_

shift
RA

,



n
_

_

shift
RA

,




n
_

_

_

shift
RA

,









d
_

_

start

,

and






d
_

_

_

start







satisfy:







n
shift
RA

=





3


d
u


-

N
ZC



N
CS











d
start

-

3


d
u


-

N
ZC

+


n
shift
RA

·

N
CS









n
group
RA

=





d
u


d
start






or









n
_

shift
RA

=

max

(






N
ZC

-

2


d
u


-


n
group
RA

·

d
start




N
CS




,
0

)












n
_

_

shift
RA

=
0

,




d
_

_

start

=
0

,





n
_

_

_

shift
RA

=
0

,






d
_

_

_

start

=
0

;







    • for












2


N
ZC


5



d
u





N
ZC

-

N
CS


2


,

n

s

h

i

f

t


R

A


,

d

s

t

a

r

t


,

n

g

r

o

u

p


R

A


,


n
¯


s

h

i

f

t


R

A


,



n
_

_

shift
RA

,




n
_

_

_

shift
RA

,



d
_

_

start

,

and






d
_

_

_

start







satisfy







n
shift
RA

=





N
ZC

-

2


d
u




N
CS











d
start

=


2


(


N
ZC

-

2


d
u



)


+


n
shift
RA

·

N
CS










n
group
RA

=





N
ZC

-

d
u



d
start












n
_

shift
RA

=

max

(






3


d
u


-

N
ZC

-


n
group
RA

·

d
start




N
CS




,
0

)











n
_

_

shift
RA

=
0

,




d
_

_

start

=
0

,





n
_

_

_

shift
RA

=
0

,





d
_

_

_

start

=
0

,






    • where du satisfies:










d
u

=

{




p



0

p
<


N
ZC

/
2








N
ZC

-
p




othe

r

w

i

s

e



(

o

t

h

e

r

w

i

s

e

)





,







and

    • p is defined as a smallest nonnegative integer that satisfies (p×u)mod NZC=1.


When the terminal device sends the random access preamble sequence according to the foregoing method, a success rate of random access can be improved.


According to a second aspect, an embodiment of this application provides a method for receiving a random access preamble sequence. The method includes:

    • receiving, by a base station, a random access preamble sequence signal based on a random access preamble sequence xu,v(n), where xu,v(n) satisfies xu,v(n)=xu((n+Cv)mod NZC), a ZC (Zadoff-Chu) sequence whose root sequence number is u is defined as:









x
u

(
n
)

=

e


-
j




π


un

(

n
+
1

)



N
ZC





,

0

n



N
ZC

-
1


,

N
ZC






is a sequence length of xu(n), mod represents a modulo operation, and Cv satisfies:







C
v

=

{






d
start





v
/

n
shift
RA





+


(

v

mod


n
shift
RA


)



N
CS







v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
_

shift
RA

-
1










d
_

_

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+



n
_

_

shift
RA

-
1











d
_

_

_

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA

-



n
_

_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA

+



n
_

_

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+



n
_

_

shift
RA

+




n
_

_

_

shift
RA

-
1

,










where NCS is an integer; and

    • for










N
ZC

+

N
CS


4



d
u

<


2
7



N
ZC



,

n
shift
RA

,

d
start

,

n
group
RA

,


n
_

shift
RA

,



n
_

_

shift
RA

,




n
_

_

_

shift
RA

,



d
_

_

start

,

and






d
_

_

_

start







satisfy:









n
shift
RA

=





4


d
u


-

N
ZC



N
CS














d
start

=


4


d
u


-

N
ZC

+


n
shift
RA

·

N
CS













n
group
RA

=




d
u


d
start















n
_

shift
RA

=

max

(






N
ZC

-

3


d
u


-


n
group
RA

·

d
start




N
CS




,
0

)













n
_

_

shift
RA

=




min

(



d
u

-


n
group
RA

·

d
start



,


4


d
u


-

N
ZC

-



n
_

shift
RA



N
CS




)

/

N
CS
















d
_

_

start

=


N
ZC

-

3


d
u


+


n
group
RA

·

d
start


+



n
_

shift
RA



N
CS














n
_

_

_

shift
RA

=





(



(

1
-

min

(

1
,


n
_

shift
RA


)


)



(


d
u

-


n
group
RA

·

d
start



)


+


min

(

1
,


n
_

shift
RA


)



(


4


d
u


-

N
ZC

-



n
_

shift
RA



N
CS



)



)

/

N
CS




-



n
_

_

shift
RA















d
_

_

_

start

=


N
ZC

-

2


d
u


+


n
group
RA

·

d
start


+




n
_

_

shift
RA



N
CS




;







    • for












2
7



N

Z

C





d
u





N

Z

C


-

N

C

S



3


,

n

s

h

i

f

t


R

A


,

d

s

t

a

r

t


,

n

g

r

o

u

p


R

A


,


n
¯


s

h

i

f

t


R

A


,



n
¯

¯

shift

R

A


,




n
¯

¯

¯

shift

R

A


,



d
_

_

start

,

and






d
_

_

_

start







satisfy:







n
shift
RA

=





N
ZC

-

3


d
u




N
CS











d
start

=


N
ZC

-

3


d
u


+


n
shift
RA

·

N
CS










n
group
RA

=




d
u


d
start












n
_

shift
RA

=

max

(






4


d
u


-

N
ZC

-


n
group
RA

·

d
start




N
CS




,
0

)










n
_

_

shift
RA

=




min

(



d
u

-


n
group
RA

·

d
start



,


N
ZC

-

3


d
u


-



n
_

shift
RA



N
CS




)

/

N
CS













d
_

_

start

=


d
u

+


n
group
RA

·

d
start


+



n
_

shift
RA



N
CS














n
_

_

_

shift
RA

=
0

,






d
_

_

_

start

=
0

;







    • for













N

Z

C


+

N

C

S



3



d
u

<


2


N

Z

C



5


,

n

s

h

i

f

t


R

A


,

d

s

t

a

r

t


,

n

g

r

o

u

p


R

A


,


n
¯


s

h

i

f

t


R

A


,



n
¯

¯

shift

R

A


,




n
¯

¯

¯

shift

R

A


,



d
_

_

start

,

and






d
_

_

_

start







satisfy:







n
shift
RA

=





3


d
u


-

N
ZC



N
CS











d
start

=


3


d
u


-

N
ZC

+


n
shift
RA

·

N
CS










n
group
RA

=





d
u


d
start






or









n
_

shift
RA

=

max

(






N
ZC

-

2


d
u


-


n
group
RA

·

d
start




N
CS




,
0

)











n
_

_

shift
RA

=
0

,




d
_

_

start

=
0

,





n
_

_

_

shift
RA

=
0

,






d
_

_

_

start

=
0

;







    • for












2


N
ZC


5



d
u





N
ZC

-

N
CS


2


,

n

s

h

i

f

t


R

A


,

d
start

,

n

g

r

o

u

p


R

A


,


n
_

shift
RA

,



n
_

_

shift
RA

,




n
_

_

_

shift
RA

,



d
_

_

start

,

and






d
_

_

_

start







satisfy:







n
shift
RA

=





N
ZC

-

2


d
u




N
CS











d
start

=


2


(


N
ZC

-

2


d
u



)


+


n
shift
RA

·

N
CS










n
group
RA

=





N
ZC

-

d
u



s
start












n
_

shift
RA

=

max

(






3


d
u


-

N
ZC

-


n
group
RA

·

d
start




N
CS




,
0

)











n
_

_

shift
RA

=
0

,




d
_

_

start

=
0

,





n
_

_

_

shift
RA

=
0

,





d
_

_

_

start

=
0

,






    • where du satisfies:










d
u

=

{



p



0

p
<


N
ZC

/
2








N
ZC

-
p




othe

r

w

i

s

e



(

o

t

h

e

r

w

i

s

e

)











and

    • p is defined as a smallest nonnegative integer that satisfies (p×u)mod NZC=1.


The base station receives the random access preamble sequence according to the foregoing method. Therefore, when different terminal devices simultaneously send random access preamble sequences and the random access preamble sequences of the different terminal devices correspond to different Cv, mutual interference between the terminal devices can be avoided, thereby improving a success rate of random access.


According to a third aspect, an embodiment of this application provides a terminal device. The terminal device has a function of implementing behavior of the terminal device in the foregoing method. The function may be implemented by hardware or may be implemented by hardware by executing corresponding software. The hardware or software includes one or more modules corresponding to the foregoing function. The modules may be software and/or hardware.


The Terminal Device Includes:






    • a processing unit, configured to determine a random access preamble sequence xu,v(n), where xu,v(n) satisfies xu,v(n)=xu((n+Cv)mod NZC), a ZC (Zadoff-Chu) sequence whose root sequence number is u is defined as:












x
u

(
n
)


=


-
j




π


un

(

n
+
1

)



N
ZC





,

0

n



N
ZC

-
1


,

N
ZC






is a sequence length of xu(n), mod represents a modulo operation, and Cv satisfies:







C
v

=

{








d
start





v
/

n
shift
RA





+

v

mod


n
shift
RA



)



N
CS






v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
_

shift
RA

-
1









d
=

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA

-
1









d


start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA

-


n
=

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA

+


n


shift
RA

-
1

,










where NCS is an integer; and

    • for










N
ZC

+

N
CS


4



d
u

<


2
7



N

Z

C




,

n
shift

R

A


,

d
start

,

n
group

R

A


,


n
¯

shift

R

A


,


n
=

shift

R

A


,


n


shift

R

A


,


d
=

start

,

and




d


start







satisfy:









n
shift
RA

=





4


d
u


-

N
ZC



N
CS














d
start

=


4


d
u


-

N
ZC

+


n
shift
RA

·

N
CS













n
group
RA

=




d
u


d
start















n
_

shift
RA

=

max

(






N
ZC

-

3


d
u


-


n
group
RA

·

d
start




N
CS




,
0

)












n
=

shift
RA

=




min

(



d
u

-


n
group
RA

·

d
start



,


4


d
u


-

N
ZC

-



n
_

shift
RA



N
CS




)

/

N
CS















d
=

start

=


N
ZC

-

3


d
u


+


n
group
RA

·

d
start


+



n
_

shift
RA



N
CS












n


shift

R

A


=





(



(

1
-

min

(

1
,


n
_

shift
RA


)


)



(


d
u

-


n
group
RA

·

d
start



)


+


min

(

1
,


n
_

shift
RA


)



(


4


d
u


-

N
ZC

-



n
_

shift
RA



N
CS



)



)

/

N
CS




-


n
=

shift
RA











d


start

=


N
ZC

-

2


d
u


+


n
group
RA

·

d
start


+



n
=

shift
RA



N
CS




;






    • for












2
7



N

Z

C





d
u





N

Z

C


-

N

C

S



3


,

n
shift

R

A


,

d
start

,

n
group

R

A


,


n
¯

shift

R

A


,


n
=

shift

R

A


,


n


shift

R

A


,


d
=

start

,

and




d


start







satisfy:







n
shift
RA

=





N
ZC

-

3


d
u




N
CS











d
start

=


N
ZC

-

3


d
u


+


n
shift
RA

·

N
CS










n
group
RA

=




d
u


d
start












n
_

shift
RA

=

max

(






4


d
u


-

N
ZC

-


n
group
RA

·

d
start




N
CS




,
0

)









n
=

shift
RA

=




min

(



d
u

-


n
group
RA

·

d
start



,


N
ZC

-

3


d
u


-



n
_

shift
RA



N
CS




)

/

N
CS












d
=

start

=


d
u

+


n
group
RA

·

d
start


+



n
_

shift
RA



N
CS












n


shift

R

A


=
0

,




d


start

=
0

;







    • for













N

Z

C


+

N

C

S



3



d
u

<


2


N

Z

C



5


,

n
shift

R

A


,

d
start

,

n
group

R

A


,


n
¯

shift

R

A


,


n
=

shift

R

A


,


n


shift

R

A


,


d
=

start

,

and




d


start







satisfy:







n
shift
RA

=





2


d
u


-

N
ZC



N
CS











d
start

=


3


d
u


-

N
ZC

+


n
shift
RA

·

N
CS










n
group
RA

=





d
u


d
start






or









n
_

shift
RA

=

max

(






N
ZC

-

2


d
u


-


n
group
RA

·

d
start




N
CS




,
0

)










n
=

shift

R

A


=
0

,



d
=

start

=
0

,



n


shift

R

A


=
0

,




d


start

=
0

;







    • for












2


N
ZC


5



d
u





N
ZC

-

N
CS


2


,

n
shift

R

A


,

d
start

,

n
group

R

A


,


n
¯

shift

R

A


,


n
=

shift

R

A


,


n


shift

R

A


,


d
=

start

,

and




d


start







satisfy:







n
shift
RA

=





N
ZC

-

2


d

u






N
CS











d
start

=


2


(


N
ZC

-

2


d
u



)


+


n
shift
RA

·

N
CS










n
group
RA

=





N
ZC

-

d

u





d
start












n
¯

shift

R

A


=

max

(






3


d
u


-

N
ZC

-


n
shift
RA

·

d
start




N
CS




,
0

)










n
=

shift

R

A


=
0

,



d
=

start

=
0

,



n


shift
RA

=
0

,



d


start

=
0

,






    • where du satisfies:










d
u

=

{




p



0

p
<


N
ZC

/
2








N
ZC

-
p




otherwise

(

ot

herwise

)




,








    • p is defined as a smallest nonnegative integer that satisfies (p×u)mod NZC=1; and

    • a sending unit, configured to send xu,v(n).





According to a fourth aspect, an embodiment of this application provides a base station. The base station has a function of implementing behavior of the base station in the foregoing method. The function may be implemented by hardware or may be implemented by hardware by executing corresponding software. The hardware or software includes one or more modules corresponding to the foregoing function.


The Base Station Includes:






    • a receiving unit, configured to receive a random access preamble sequence signal; and

    • a processing unit, configured to process the random access preamble sequence signal based on a random access preamble sequence xu,v(n), where xu,v(n) satisfies xu,v(n)=xu((n+Cv)mod NZC), a ZC (Zadoff-Chu) sequence whose root sequence number is u is defined as:












x
u

(
n
)

=

e


-
j




π


un

(

n
+
1

)



N
ZC





,

0

n



N
ZC

-
1


,

N
ZC






is a sequence length of xu(n), mod represents a modulo operation, and Cv satisfies:







C
v

=

{








d
start





v
/

n
shift
RA





+

v

mod


n
shift
RA



)



N
CS






v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
_

shift
RA

-
1









d
=

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA

-
1









d


start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA

-


n
=

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA

+


n


shift
RA

-
1

,










where NCS is an integer; and

    • for










N

Z

C


+

N

C

S



4



d
u

<


2
7



N

Z

C




,

n
shift

R

A


,

d
start

,

n
group

R

A


,


n
¯

shift

R

A


,


n
=

shift

R

A


,


n


shift

R

A


,


d
=

start

,

and




d


start







satisfy:









n
shift
RA

=





4


d
u


-

N
ZC



N
CS














d
start

=


4


d
u


-

N
ZC

+


n
shift
RA

·

N
CS













n
group
RA

=




d
u


d
start















n
_

shift
RA

=

max

(






N
ZC

-

3


d
u


-


n
group
RA

·

d
start




N
CS




,
0

)












n
=

shift
RA

=




min

(



d
u

-


n
group
RA

·

d
start



,


4


d
u


-

N
ZC

-



n
_

shift
RA



N
CS




)

/

N
CS















d
=

start

=


N
ZC

-

3


d
u


+


n
group
RA

·

d
start


+



n
_

shift
RA



N
CS












n


shift

R

A


=





(



(

1
-

min

(

1
,


n
_

shift
RA


)


)



(


d
u

-


n
group
RA

·

d
start



)


+


min

(

1
,


n
_

shift
RA


)



(


4


d
u


-

N
ZC

-



n
_

shift
RA



N
CS



)



)

/

N
CS




-


n
=

shift
RA













d


start

=


N
ZC

-

2


d
u


+


n
group
RA

·

d
start


+



n
=

shift
RA



N
CS




;







    • for












2
7



N

Z

C





d
u





N

Z

C


-

N

C

S



3


,

n
shift

R

A


,

d
start

,

n
group

R

A


,


n
¯

shift

R

A


,


n
=

shift

R

A


,


n


shift

R

A


,


d
=

start

,

and




d


start







satisfy:







n
shift
RA

=





N
ZC

-

3


d
u




N
CS











d

s

t

a

r

t


=


N

Z

C


-

3


d
u


+


n
shift
RA

·

N

C

S











n
group

R

A


=




d
u


d

s

t

a

r

t













n
¯

shift

R

A


=

max

(






4


d
u


-

N

Z

C


-


n
group

R

A


·

d

s

t

a

r

t





N
CS




,
0

)










n
¯

¯

shift

R

A


=




min

(



d
u

-


n
group

R

A


·

d
start




,


N

Z

C


-



n
¯

shift

R

A




N

C

S





)

/

N

C

S














d
_

_

start

=


d
u

+


n
group

R

A


·

d

s

t

a

r

t



+



n
¯

shift

R

A




N

C

S















n
¯

¯

_

shift

R

A


=
0

,






d
_

_

_


s

t

a

r

t


=
0

;







    • for













N

Z

C


+

N

C

S



3



d
u

<


2


N

Z

C



5


,

n
shift

R

A


,

d
start

,

n
group

R

A


,


n
¯

shift

R

A


,



n
¯

¯

shift
RA

,




n
¯

¯

¯

shift

R

A


,







d
start

,

and






d
_

_

_

start







satisfy:







n
shift
RA

=





3


d
u


-

N
ZC



N
CS











d

s

t

a

r

t


=


3


d
u


-

N

Z

C


+


n
shift

R

A


·

N

C

S











n
group

R

A


=





d
u


d

s

t

a

r

t







or









n
¯

shift
RA

=

max

(






N

Z

C


-

2


d
u


-


n
group

R

A


·

d

s

t

a

r

t





N
CS




,
0

)











n
¯

¯

shift

R

A


=
0

,




d
_

_

start

=
0

,





n
¯

¯

¯

shift

R

A


=
0

,






d
_

_

_

start

=
0

;







    • for












2


N
ZC


5



d
u





N
ZC

-

N
CS


2


,

n
shift

R

A


,

d
start

,


n
group

R

A





n
¯

shift

R

A



,



n
¯

¯

shift
RA

,




n
¯

¯

¯

shift

R

A


,







d
start

,

and






d
_

_

_

start







satisfy:







n
shift
RA

=





N

Z

C


-

2


d
u




N
CS











d
start

=


2


(


N
ZC

-

2


d
u



)


+


n
shift
RA

·

N

C

S











n
group

R

A


=





N

Z

C


-

d
u



d
start













n
¯

shift
RA

=

max

(






3


d
u


-

N

Z

C


-


n
group

R

A


·

d

s

t

a

r

t





N
CS




,
0

)











n
¯

¯

shift

R

A


=
0

,




d
_

_

start

=
0

,





n
¯

¯

¯

shift

R

A


=
0

,





d
_

_

_

start

=
0

,






    • where du satisfies:










d
u

=

{



p



0

p
<


N
ZC

/
2








N
ZC

-
p




otherwise

(
otherwise
)










and

    • p is defined as a smallest nonnegative integer that satisfies (p×u) mod NZC=1.


According to a fifth aspect, an embodiment of this application provides a method for sending a random access preamble sequence. The method includes:

    • sending, by a terminal device, a random access preamble sequence xu,v(n), where xu,v(n) satisfies xu,v(n)=xu((n+Cv)mod NZC), a ZC (Zadoff-Chu) sequence whose root sequence number is u is defined as:









x
u

(
n
)

=

e


-
j




π

u


n

(

n
+
1

)



N
ZC





,

0

n



N
ZC

-
1


,

N
ZC






is a sequence length of xu(n), mod represents a modulo operation, and

    • Cv satisfies:







C
v

=

{






d
start





v
/

n
shift
RA





+


(

v

mod


n
shift
RA


)



N
CS







v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
¯

shift
RA

-
1










d
_

_

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
¯

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
¯

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
¯

shift
RA

+



n
¯

¯

shift

R

A


-
1











d
_

_

_

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
¯

shift
RA

-



n
¯

¯

shift

R

A



)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
¯

shift
RA

+



n
¯

¯

shift

R

A




,


,



n
shift
RA



n
group
RA


+


n
¯

shift
RA

+



n
¯

¯

shift

R

A


+




n
¯

¯

_

shift

R

A


-
1

,










where NCS is an integer; and

    • if










N

Z

C


+

N

C

S



4



d
u

<


2
7



N

Z

C




,

n
shift

R

A


,

d
start

,


n
group

R

A





n
¯

shift

R

A



,



n
¯

¯

shift
RA

,




n
¯

¯

¯

shift

R

A


,







d
start

,

and






d
_

_

_

start







satisfy:









n
shift

R

A


=





4


d
u


-

N
ZC



N
CS














d
start

=


4


d
u


-

N

Z

C


+


n
shift

R

A


·

N

C

S














n
group

R

A


=




d
u


d
start















n
¯

shift
RA

=

max

(






N

Z

C


-

3


d
u


-


n
group

R

A


·

d
start




N
CS




,
0

)













n
¯

¯

shift

R

A


=




min

(


d
u

-



n
group

R

A


·

d
start




4


d
u


-

N

Z

C


-



n
¯

shift

R

A




N

C

S




)

/

N

C

S















d
start

=


N

Z

C


-

3


d
u


+


n
group

R

A


·

d
start


+



n
¯

shift

R

A




N

C

S















n
¯

¯

_

shift

R

A


=





(



(

1
-

min

(

1
,


n
¯

shjft

R

A



)


)



(


d
u

-


n
group

R

A


·

d
start



)


+


min

(

1
,


n
¯

shift

R

A



)



(


4


d
u


-

N

Z

C


-



n
¯

shift

R

A




N

C

S




)



)

/

N

C

S





-



n
¯

¯

shift

R

A
















d
_

_

_

start

=


N

Z

C


-

2


d
u


+


n
group

R

A


·

d
start


+




n
¯

¯

shift

R

A




N

C

S





,







    • where du satisfies:










d
u

=

{



p



0

p
<


N
ZC

/
2








N
ZC

-
p




otherwise

(

othe

r

w

ise

)










and

    • p is defined as a smallest nonnegative integer that satisfies (p×u)mod NZC=1.


When the terminal device sends the random access preamble sequence according to the foregoing method, a success rate of random access can be improved.


According to a sixth aspect, an embodiment of this application provides a method for receiving a random access preamble sequence. The method includes:

    • receiving, by a base station, a random access preamble sequence signal based on a random access preamble sequence xu,v(n), where xu,v(n) satisfies xu,v(n)=xu((n+Cv)mod NZC), a ZC (Zadoff-Chu) sequence whose root sequence number is u is defined as:









x
u

(
n
)

=

e


-
j




π

u


n

(

n
+
1

)



N
ZC





,

0

n



N
ZC

-
1


,

N
ZC






is a sequence length of xu(n), mod represents a modulo operation, and

    • Cv satisfies:







C
v

=

{






d
start





v
/

n
shift
RA





+


(

v

mod


n
shift
RA


)



N
CS







v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
¯

shift
RA

-
1










d
_

_

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
¯

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
¯

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
¯

shift
RA

+



n
¯

¯

shift

R

A


-
1











d
_

_

_

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
¯

shift
RA

-



n
¯

¯

shift

R

A



)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
¯

shift
RA

+



n
¯

¯

shift

R

A




,


,



n
shift
RA



n
group
RA


+


n
¯

shift
RA

+



n
¯

¯

shift

R

A


+




n
¯

¯

_

shift

R

A


-
1

,










where NCS is an integer; and

    • for










N

Z

C


+

N

C

S



4



d
u

<


2
7



N

Z

C




,

n
shift

R

A


,

d
start

,

n
group

R

A


,


n
¯

shift

R

A


,



n
¯

¯

shift
RA

,




n
¯

¯

¯

shift

R

A


,







d
start

,

and






d
_

_

_

start







satisfy:









n
shift

R

A


=





4


d
u


-

N
ZC



N
CS














d
start

=


4


d
u


-

N

Z

C


+


n
shift

R

A


·

N

C

S














n
group

R

A


=




d
u


d
start















n
¯

shift
RA

=

max

(






N

Z

C


-

3


d
u


-


n
group

R

A


·

d
start




N
CS




,
0

)













n
¯

¯

shift

R

A


=




min

(



d
u

-


n
group

R

A


·

d
start




,


4


d
u


-

N

Z

C


-



n
¯

shift

R

A




N

C

S





)

/

N

C

S

















d
_

_

start

=


N

Z

C


-

3


d
u


+


n
group

R

A


·

d
start


+



n
¯

shift

R

A




N

C

S















n
¯

¯

_

shift

R

A


=





(



(

1
-

min

(

1
,


n
¯

shjft

R

A



)


)



(


d
u

-


n
group

R

A


·

d
start



)


+


min

(

1
,


n
¯

shift

R

A



)



(


4


d
u


-

N

Z

C


-



n
¯

shift

R

A




N

C

S




)



)

/

N

C

S





-



n
¯

¯

shift

R

A
















d
_

_

_

start

=


N

Z

C


-

2


d
u


+


n
group

R

A


·

d
start


+




n
¯

¯

shift

R

A




N

C

S





,







    • where du satisfies:










d
u

=

{




p



0

p
<


N
ZC

/
2








N
ZC

-
p




otherwise

(
otherwise
)




,








    • p is defined as a smallest nonnegative integer that satisfies (p×u)mod NZC=1.





The base station receives the random access preamble sequence according to the foregoing method. Therefore, when different terminal devices simultaneously send random access preamble sequences and the random access preamble sequences of the different terminal devices correspond to different Cv, mutual interference between the terminal devices can be avoided, thereby improving a success rate of random access.


According to a seventh aspect, an embodiment of this application provides a terminal device. The terminal device has a function of implementing behavior of the terminal device in the foregoing method. The function may be implemented by hardware or may be implemented by hardware by executing corresponding software. The hardware or software includes one or more modules corresponding to the foregoing function. The modules may be software and/or hardware.


The Terminal Device Includes:






    • a processing unit, configured to determine a random access preamble sequence xu,v(n), where xu,v(n) satisfies xu,v(n)=xu((n+Cv)mod NZC), a ZC (Zadoff-Chu) sequence whose root sequence number is u is defined as:












x
u

(
n
)

=

e


-
j




π


un

(

n
+
1

)



N
ZC





,

0

n



N
ZC

-
1


,

N
ZC






is a sequence length of xu(n), mod represents a modulo operation, and

    • Cv satisfies:







C
v

=

{






d
start





v
/

n
shift
RA





+


(

v


mod



n
shift
RA


)



N
CS







v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
_

shift
RA

-
1









d
=

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+



n
_

_

shift
RA

-
1











d
_

_

_

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA

-


n
=

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA

+




n
_

_

_

shift
RA

-
1

,










where NCS is an integer; and

    • for










N

Z

C


+

N

C

S



4



d
u

<


2
7



N

Z

C




,

n

s

h

i

f

t


R

A


,

d
start

,

n
group
RA

,


n
_

shift
RA

,


n
=

shift
RA

,




n
_

_

_

shift
RA

,


d
=

start

,

and






d
_

_

_

start







satisfy:









n
shift
RA

=





4


d
u


-

N
ZC



N
CS














d
start

=


4


d
u


-

N
ZC

+


n
shift
RA

·

N
CS













n
group
RA

=




d
u


d
start















n
_

shift
RA

=

max

(






N
ZC

-

3


d
u


-


n
group
RA

·

d
start




N
CS




,
0

)












n
=

shift
RA

=




min

(



d
u

-


n
group
RA

·

d
start



,


4


d
u


-

N
ZC

-



n
_

shift
RA



N
CS




)

/

N
CS















d
=

start

=


N
ZC

-

3


d
u


+


n
group
RA

·

d
start


+



n
_

start
RA



N
CS














n
_

_

_

shift
RA

=





(



(

1
-

min

(

1
,


n
_

shift
RA


)


)



(


d
u

-


n
group
RA

·

d
start



)


+


min

(

1
,


n
_

start
RA


)



(


4


d
u


-

N
ZC

-



n
_

shift
RA



N
CS



)



)

/

N
CS




-


n
=

shift
RA















d
_

_

_

start

=


N
ZC

-

2


d
u


+


n
group
RA

·

d
start


+



n
=

shift
RA



N
CS




,







    • where du satisfies:










d
u

=

{




p



0

p
<


N
ZC

/
2








N
ZC

-
p




otherwise

(
otherwise
)




,







and

    • p is defined as a smallest nonnegative integer that satisfies (p×u)mod NZC=1; and
    • a sending unit, configured to send xu,v(n).


According to an eighth aspect, an embodiment of this application provides a base station. The base station has a function of implementing behavior of the base station in the foregoing method. The function may be implemented by hardware or may be implemented by hardware by executing corresponding software. The hardware or software includes one or more modules corresponding to the foregoing function.


The Base Station Includes:






    • a receiving unit, configured to receive a random access preamble sequence signal; and

    • a processing unit, configured to process the random access preamble sequence signal based on a random access preamble sequence xu,v(n), where xu,v(n) satisfies xu,v(n)=xu((n+Cv)mod NZC), a ZC (Zadoff-Chu) sequence whose root sequence number is u is defined as:












x
u

(
n
)

=

e


-
j




π


un

(

n
+
1

)



N
ZC





,

0

n



N
ZC

-
1


,

N
ZC






is a sequence length of xu(n), mod represents a modulo operation, and

    • Cv satisfies:







C
v

=

{






d
start





v
/

n
shift
RA





+


(

v


mod



n
shift
RA


)



N
CS







v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
_

shift
RA

-
1









d
=

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+



n
_

_

shift
RA

-
1











d
_

_

_

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA

-


n
=

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA

+




n
_

_

_

shift
RA

-
1

,










where NCS is an integer; and

    • for










N

Z

C


+

N

C

S



4



d
u

<


2
7



N

Z

C




,

n

s

h

i

f

t


R

A


,

d
start

,

n
group
RA

,


n
_

shift
RA

,


n
=

shift
RA

,




n
_

_

_

shift
RA

,


d
=

start

,

and






d
_

_

_

start







satisfy:









n
shift
RA

=





4


d
u


-

N
ZC



N
CS














d
start

=


4


d
u


-

N
ZC

+


n
shift
RA

·

N
CS













n
group
RA

=




d
u


d
start















n
_

shift
RA

=

max

(






N
ZC

-

3


d
u


-


n
group
RA

·

d
start




N
CS




,
0

)












n
=

shift
RA

=




min

(



d
u

-


n
group
RA

·

d
start



,


4


d
u


-

N
ZC

-



n
_

shift
RA



N
CS




)

/

N
CS















d
=

start

=


N
ZC

-

3


d
u


+


n
group
RA

·

d
start


+



n
_

start
RA



N
CS














n
_

_

_

shift
RA

=





(



(

1
-

min

(

1
,


n
_

shift
RA


)


)



(


d
u

-


n
group
RA

·

d
start



)


+


min

(

1
,


n
_

start
RA


)



(


4


d
u


-

N
ZC

-



n
_

shift
RA



N
CS



)



)

/

N
CS




-


n
=

shift
RA















d
_

_

_

start

=


N
ZC

-

2


d
u


+


n
group
RA

·

d
start


+



n
=

shift
RA



N
CS




,







    • where du satisfies:










d
u

=

{




p



0

p
<


N
ZC

/
2








N
ZC

-
p




otherwise

(
otherwise
)




,







and

    • p is defined as a smallest nonnegative integer that satisfies (p×u)mod NZC=1.


According to a ninth aspect, an embodiment of this application provides a method for sending a random access preamble sequence. The method includes:

    • sending, by a terminal device, a random access preamble sequence xu,v(n), where xu,v(n) satisfies xu,v(n)=xu((n+Cv)mod NZC), a ZC (Zadoff-Chu) sequence whose root sequence number is u is defined as:









x
u

(
n
)

=

e


-
j




π


un

(

n
+
1

)



N
ZC





,

0

n



N
ZC

-
1


,

N
ZC






is a sequence length of xu(n), mod represents a modulo operation, and

    • Cv satisfies:







C
v

=

{






d
start





v
/

n
shift
RA





+


(

v


mod



n
shift
RA


)



N
CS







v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
_

shift
RA

-
1









d
=

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+



n
_

_

shift
RA

-
1











d
_

_

_

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA

-


n
=

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA

+




n
_

_

_

shift
RA

-
1

,










where NCS is an integer; and

    • for









2
7



N
ZC




d
u





N
ZC

-

N
CS


3


,

n
shift
RA

,

d
start

,

n
group
RA

,


n
_

shift
RA

,



n
_

_

shift
RA

,




n
_

_

_

shift
RA

,



d
_

_

start

,

and






d
_

_

_

start







satisfy:







n
shift
RA

=





N
ZC

-

3


d
u




N
CS









where du satisfies:







d
start

=


N
ZC

-

3


d
u


+


n
shift
RA

·

N
CS










n
group
RA

=




d
u


d
start














n
_

shift
RA

=

max

(





4


d
u


-

N
ZC

-


n
group
RA

·

d
start




N
CS




)


,
0

)









n
_

_

shift
RA

=




min

(



d
u

-


n
group
RA

·

d
start



,


N
ZC

-

3


d
u


-



n
_

shift
RA



N
CS




)

/

N
CS













d
_

_

start

=


d
u

+


n
group
RA

·

d
start


+



n
_

shift
RA



N
CS














n
_

_

_

shift
RA

=
0

,





d
_

_

_

start

=
0

,









d
u

=

{



p



0

p
<


N
ZC

/
2








N
ZC

-
p




otherw

is


e

(

othe

r

w

ise

)











and

    • p is defined as a smallest nonnegative integer that satisfies (p×u)mod NZC=1.


When the terminal device sends the random access preamble sequence according to the foregoing method, a success rate of random access can be improved.


According to a tenth aspect, an embodiment of this application provides a method for receiving a random access preamble sequence. The method includes:

    • receiving, by a base station, a random access preamble sequence signal based on a random access preamble sequence xu,v(n), where xu,v(n) satisfies xu,v(n)=xu((n+Cv)mod NZC), a ZC (Zadoff-Chu) sequence whose root sequence number is u is defined as:









x
u

(
n
)

=

e


-
j




π


un

(

n
+
1

)



N
ZC





,

0

n



N
ZC

-
1


,

N
ZC






is a sequence length of xu(n), mod represents a modulo operation, and

    • Cv satisfies:







C
v

=

{






d
start





v
/

n
shift
RA





+


(

v

mod


n
shift
RA


)



N
CS







v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
_

shift
RA

-
1










d
_

_

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA



,


,



n
group
RA



n
group
RA


+


n
_

shift
RA

+



n
_

_

shift
RA

-
1











d
_

_

_

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA

-



n
_

_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA

+



n
_

_

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+



n
_

_

shift
RA

+




n
_

_

_

shift
RA

-
1

,










where NCS is an integer; and

    • for









2
7



N

Z

C





d
u





N

Z

C


-

N

C

S



3


,

n

s

h

i

f

t


R

A


,

d
start

,

n

g

r

o

u

p


R

A


,


n
¯


s

h

i

f

t


R

A


,



n
¯

¯

shift

R

A


,




n
¯

¯

¯

shift

R

A


,



d
_

_

start

,

and






d
_

_

_

start







satisfy:







n
shift

R

4


=





N

Z

C


-

3


d
u




N
CS









where du satisfies:







d
start

=


N
ZC

-

3


d
u


+


n
shift
RA

·

N
CS










n
group
RA

=




d
u


d
start














n
_

shift
RA

=

max

(





4


d
u


-

N
ZC

-


n
group
RA

·

d
start




N
CS




)


,
0

)









n
_

_

shift
RA

=




min

(



d
u

-


n
group
RA

·

d
start



,


N
ZC

-

3


d
u


-



n
_

shift
RA



N
CS




)

/

N
CS













d
_

_

start

=


d
u

+


n
group
RA

·

d
start


+



n
_

shift
RA



N
CS














n
_

_

_

shift
RA

=
0

,





d
_

_

_

start

=
0

,









d
u

=

{



p



0

p
<


N
ZC

/
2








N
ZC

-
p




otherw

is


e

(

othe

r

w

ise

)











and

    • p is defined as a smallest nonnegative integer that satisfies (p×u) mod NZC=1.


The base station receives the random access preamble sequence according to the foregoing method. Therefore, when different terminal devices simultaneously send random access preamble sequences and the random access preamble sequences of the different terminal devices correspond to different Cv, mutual interference between the terminal devices can be avoided, thereby improving a success rate of random access.


According to an eleventh aspect, an embodiment of this application provides a terminal device. The terminal device has a function of implementing behavior of the terminal device in the foregoing method. The function may be implemented by hardware or may be implemented by hardware by executing corresponding software. The hardware or software includes one or more modules corresponding to the foregoing function. The modules may be software and/or hardware.


The terminal device includes: a processing unit, configured to determine a random access preamble sequence xu,v(n), where xu,v(n) satisfies xu,v(n)=xu((n+Cv)mod NZC), a ZC (Zadoff-Chu) sequence whose root sequence number is u is defined as:









x
u

(
n
)

=

e


-
j




π


un

(

n
+
1

)



N
ZC





,

0

n



N
ZC

-
1


,

N
ZC






is a sequence length of xu(n), mod represents a modulo operation, and

    • Cv satisfies:







C
v

=

{






d
start





v
/

n
shift
RA





+


(

v

mod


n
shift
RA


)



N
CS







v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
_

shift
RA

-
1










d
_

_

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA



,


,



n
group
RA



n
group
RA


+


n
_

shift
RA

+



n
_

_

shift
RA

-
1











d
_

_

_

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA

-



n
_

_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA

+



n
_

_

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+



n
_

_

shift
RA

+




n
_

_

_

shift
RA

-
1

,










where NCS is an integer; and

    • for









2
7



N

Z

C





d
u





N

Z

C


-

N

C

S



3


,

n

s

h

i

f

t


R

A


,

d
start

,

n
group
RA

,


n
¯


s

h

i

f

t


R

A


,



n
¯

¯

shift

R

A


,




n
¯

¯

¯

shift

R

A


,



d
_

_

start

,

and






d
_

_

_

start







satisfy:







n
shift

R

4


=





N

Z

C


-

3


d
u




N
CS









where du satisfies:







d
start

=


N
ZC

-

3


d
u


+


n
shift
RA

·

N
CS










n
group
RA

=




d
u


d
start














n
_

shift
RA

=

max

(





4


d
u


-

N
ZC

-


n
group
RA

·

d
start




N
CS




)


,
0

)









n
_

_

shift
RA

=




min

(



d
u

-


n
group
RA

·

d
start



,


N
ZC

-

3


d
u


-



n
_

shift
RA



N
CS




)

/

N
CS













d
_

_

start

=


d
u

+


n
group
RA

·

d
start


+



n
_

shift
RA



N
CS














n
_

_

_

shift
RA

=
0

,





d
_

_

_

start

=
0

,









d
u

=

{



p



0

p
<


N
ZC

/
2








N
ZC

-
p




otherw

is


e

(

othe

r

w

ise

)











and

    • p is defined as a smallest nonnegative integer that satisfies (p×u) mod NZC=1; and
    • a sending unit, configured to send xu,v(n).


According to a twelfth aspect, an embodiment of this application provides a base station. The base station has a function of implementing behavior of the base station in the foregoing method. The function may be implemented by hardware or may be implemented by hardware by executing corresponding software. The hardware or software includes one or more modules corresponding to the foregoing function.


The Base Station Includes:






    • a receiving unit, configured to receive a random access preamble sequence signal; and

    • a processing unit, configured to process the random access preamble sequence signal based on a random access preamble sequence xu,v(n), where xu,v(n) satisfies xu,v(n)=xu((n+Cv)mod NZC), a ZC (Zadoff-Chu) sequence whose root sequence number is u is defined as:












x
u

(
n
)

=

e


-
j




π


un

(

n
+
1

)



N
ZC





,

0

n



N
ZC

-
1


,

N
ZC






is a sequence length of xu(n), mod represents a modulo operation, and

    • Cv satisfies:







C
v

=

{






d
start





v
/

n
shift
RA





+


(

v

mod


n
shift
RA


)



N
CS







v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
_

shift
RA

-
1









d
=

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA

-
1









d


start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA

-


n
=

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA

+


n


shift
RA

-
1

,










where NCS is an integer; and

    • for









2
7



N

Z

C





d
u





N

Z

C


-

N

C

S



3


,

n
shift

R

A


,

d
start

,

n
group

R

A


,


n
¯

shift

R

A


,


n
=

shift
RA

,


n


shift
RA

,


d
=

start

,

and




d


start







satisfy:







n
shift

R

4


=





N

Z

C


-

3


d
u




N
CS









where du satisfies:







d
start

=


N
ZC

-

3


d
u


+


n
shift
RA

·

N
CS










n
group
RA

=




d
u


d
start












n
_

shift
RA

=

max

(






4


d
u


-

N
ZC

-


n
group
RA

·

d
start




N
CS




,
0

)









n
=

shift
RA

=




min

(



d
u

-


n
group
RA

·

d
start



,


N
ZC

-

3


d
u


-



n
¯

shift

R

A




N
CS




)

/

N
CS












d
=

start

=


d
u

+


n
group
RA

·

d
start


+



n
¯

shift

R

A




N
CS












n


shift
RA

=
0

,



d


start

=
0

,









d
u

=

{




p



0

p
<


N
ZC

/
2








N
ZC

-
p




othe



rwise

(
otherwise
)





,







and

    • p is defined as a smallest nonnegative integer that satisfies (p×u) mod NZC=1.


According to a thirteenth aspect, an embodiment of this application provides a method for sending a random access preamble sequence. The method includes:

    • sending, by a terminal device, a random access preamble sequence xu,v(n), where xu,v(n) satisfies xu,v(n)=xu((n+Cv)mod NZC), a ZC (Zadoff-Chu) sequence whose root sequence number is u is defined as:









x
u

(
n
)

=

e


-
j




π


un

(

n
+
1

)



N
ZC





,

0

n



N
ZC

-
1


,

N
ZC






is a sequence length of xu(n), mod represents a modulo operation, and Cv satisfies:







C
v

=

{






d
start





v
/

n
shift
RA





+


(

v

mod


n
shift
RA


)



N
CS







v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
_

shift
RA

-
1









d
=

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA

-
1









d


start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA

-


n
=

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA

+


n


shift
RA

-
1

,










where NCS is an integer; and

    • for










N

Z

C


-

N

C

S



3



d
u

<


2


N
ZC


5


,

n
shift

R

A


,

d
start

,


n
group

R

A





n
¯

shift

R

A



,


n
=

shift
RA

,


n


shift
RA

,


d
=

start

,

and




d


start







satisfy:







n
shift
RA

=





3


d
u


-

N
ZC



N
CS











d
start

=


3


d
u


-

N
ZC

+


n
shift
RA

·

N
CS










n
group
RA

=




d
u


d
start












n
_

shift
RA

=

max

(






N
ZC

-

2


d
u


-


n
group
RA

·

d
start




N
CS




,
0

)










n
=

shift
RA

=
0

,



d
=

start

=
0

,



n


shift
RA

=
0

,



d


start

=
0

,





where du satisfies:







d
u

=

{



p



0

p
<


N
ZC

/
2








N
ZC

-
p




othe



rwise

(
otherwise
)











and

    • p is defined as a smallest nonnegative integer that satisfies (p×u)mod NZC=1.


When the terminal device sends the random access preamble sequence according to the foregoing method, a success rate of random access can be improved.


According to a fourteenth aspect, an embodiment of this application provides a method for receiving a random access preamble sequence. The method includes:

    • receiving, by a base station, a random access preamble sequence signal based on a random access preamble sequence xu,v(n), where xu,v(n) satisfies xu,v(n)=xu((n+Cv)mod NZC), a ZC (Zadoff-Chu) sequence whose root sequence number is u is define as:









x
u

(
n
)

=

e


-
j




π


un

(

n
+
1

)



N
ZC





,

0

n



N
ZC

-
1


,

N
ZC






is a sequence length of xu(n), mod represents a modulo operation, and Cv satisfies:







C
v

=

{






d
start





v
/

n
shift
RA





+


(

v

mod


n
shift
RA


)



N
CS







v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
_

shift
RA

-
1









d
=

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA

-
1









d


start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA

-


n
=

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA

+


n


shift
RA

-
1

,










where NCS is an integer; and

    • for










N

Z

C


-

N

C

S



3



d
u

<


2


N
ZC


5


,

n
shift

R

A


,

d
start

,


n
group

R

A





n
¯

shift

R

A



,


n
=

shift
RA

,


n


shift
RA

,


d
=

start

,

and




d


start







satisfy:







n
shift
RA

=





3


d
u


-

N
ZC



N
CS











d
start

=


3


d
u


-

N
ZC

+


n
shift
RA

·

N
CS










n
group
RA

=




d
u


d
start












n
_

shift
RA

=

max

(






N
ZC

-

2


d
u


-


n
group
RA

·

d
start




N
CS




,
0

)










n
=

shift
RA

=
0

,



d
=

start

=
0

,



n


shift
RA

=
0

,



d


start

=
0

,






    • where du satisfies:










d
u

=

{




p



0

p
<


N
ZC

/
2








N
ZC

-
p




othe



rwise

(
otherwise
)





,








    • p is defined as a smallest nonnegative integer that satisfies (p×u) mod NZC=1.





The base station receives the random access preamble sequence according to the foregoing method. Therefore, when different terminal devices simultaneously send random access preamble sequences and the random access preamble sequences of the different terminal devices correspond to different Cv, mutual interference between the terminal devices can be avoided, thereby improving a success rate of random access.


According to a fifteenth aspect, an embodiment of this application provides a terminal device. The terminal device has a function of implementing behavior of the terminal device in the foregoing method. The function may be implemented by hardware or may be implemented by hardware by executing corresponding software. The hardware or software includes one or more modules corresponding to the foregoing function. The modules may be software and/or hardware.


The Terminal Device Includes:






    • a processing unit, configured to determine a random access preamble sequence xu,v(n), where xu,v(n) satisfies xu,v(n)=xu((n+Cv)mod NZC), a ZC (Zadoff-Chu) sequence whose root sequence number is u is defined as:












x
u

(
n
)

=

e


-
j




π

u


n

(

n
+
1

)




N
ZC





,

0

n



N
ZC

-
1


,

N
ZC






is a sequence length of xu(n), mod represents a modulo operation, and Cv satisfies:







C
v

=

{






d
start





v
/

n
shift
RA





+


(

v

mod


n
shift
RA


)



N
CS







v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
_

shift
RA

-
1









d

_
_


start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n

_
_


shift
RA

-
1









d


start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA

-


n

_
_


shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n

_
_


shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n

_
_


shift
RA

+


n


shift
RA

-
1

,










where NCS is an integer; and

    • for










N
ZC

+

N
CS


3



d
u

<


2


N
ZC


5


,

n
shift

R

A


,

d
start

,

n
group

R

A


,


n
¯

shift

R

A


,


n

_
_


shift

R

A


,


n


shift

R

A


,


d
=

start

,

and




d


start







satisfy:







n
shift

R

A


=





3


d
u


-

N
ZC



N
CS











d
start

=


3


d
u


-

N

Z

C


+


n
shift

R

A


·

N

C

S











n
group
RA

=




d
u


d
start












n
¯

shift

R

A


=

max

(






N

Z

C


-

2


d
u


-


n

group


R

A




d
start




N
CS




,
0

)










n

_
_


shift

R

A


=
0

,



d
=

start

=
0

,



n


shift

R

A


=
0

,



d


start

=
0

,






    • where du satisfies:










d
u

=

{




p



0

p
<


N
ZC

/
2








N
ZC

-
p




otherwise

(
otherwise
)




,







and

    • p is defined as a smallest nonnegative integer that satisfies (p×u)mod NZC=1; and
    • a sending unit, configured to send xu,v(n).


According to a sixteenth aspect, an embodiment of this application provides a base station. The base station has a function of implementing behavior of the base station in the foregoing method. The function may be implemented by hardware or may be implemented by hardware by executing corresponding software. The hardware or software includes one or more modules corresponding to the foregoing function.


The Base Station Includes:






    • a receiving unit, configured to receive a random access preamble sequence signal; and

    • a processing unit, configured to process the random access preamble sequence signal based on a random access preamble sequence xu,v(n), where xu,v(n) satisfies xu,v(n)=xu((n+Cv)mod NZC), a ZC (Zadoff-Chu) sequence whose root sequence number is u is defined as:












x
u

(
n
)

=

e


-
j




π

u


n

(

n
+
1

)




N
ZC





,

0

n



N
ZC

-
1


,

N
ZC






is a sequence length of xu(n), mod represents a modulo operation, and Cv satisfies:







C
v

=

{






d
start





v
/

n
shift
RA





+


(

v

mod


n
shift
RA


)



N
CS







v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
_

shift
RA

-
1









d

_
_


start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n

_
_


shift
RA

-
1









d


start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA

-


n

_
_


shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n

_
_


shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n

_
_


shift
RA

+


n


shift
RA

-
1

,










where NCS is an integer; and

    • for










N
ZC

+

N
CS


3



d
u

<


2


N
ZC


5


,

n
shift

R

A


,

d
start

,

n
group

R

A


,


n
¯

shift

R

A


,


n

_
_


shift

R

A


,


n


shift

R

A


,


d
=

start

,

and




d


start







satisfy:







n
shift

R

A


=





3


d
u


-

N
ZC



N
CS











d
start

=


3


d
u


-

N

Z

C


+


n
shift

R

A


·

N

C

S











n
group
RA

=




d
u


d
start












n
¯

shift

R

A


=

max

(






N

Z

C


-

2


d
u


-


n

group


R

A




d
start




N
CS




,
0

)










n

_
_


shift

R

A


=
0

,



d
=

start

=
0

,



n


shift

R

A


=
0

,



d


start

=
0

,






    • where du satisfies:










d
u

=

{




p



0

p
<


N
ZC

/
2








N
ZC

-
p




otherwise

(
otherwise
)




,







and

    • p is defined as a smallest nonnegative integer that satisfies (p×u)mod NZC=1.


According to a seventeenth aspect, an embodiment of this application provides a method for sending a random access preamble sequence. The method includes:

    • sending, by a terminal device, a random access preamble sequence xu,v(n), where xu,v(n) satisfies xu,v(n)=xu((n+Cv)mod NZC), a ZC (Zadoff-Chu) sequence whose root sequence number is u is defined as:









x
u

(
n
)

=

e


-
j




π

u


n

(

n
+
1

)




N
ZC





,

0

n



N
ZC

-
1


,

N
ZC






is a sequence length of xu(n), mod represents a modulo operation, and Cv satisfies:







C
v

=

{






d
start





v
/

n
shift
RA





+


(

v

mod


n
shift
RA


)



N
CS







v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
_

shift
RA

-
1









d

_
_


start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n

_
_


shift
RA

-
1









d


start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA

-


n

_
_


shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n

_
_


shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n

_
_


shift
RA

+


n


shift
RA

-
1

,










where NCS is an integer; and

    • for










N
ZC

+

N
CS


3



d
u

<


2


N
ZC


5


,

n
shift

R

A


,

d
start

,

n
group

R

A


,


n
¯

shift

R

A


,


n

_
_


shift

R

A


,


n


shift

R

A


,


d
=

start

,

and




d


start







satisfy







n
shift

R

A


=





3


d
u


-

N
ZC



N
CS











d
start

=


2


(


N

Z

C


+

2


d
u



)


+


n
shift

R

A


·

N

C

S











n
group
RA

=





N
ZC

-

d
u



d
start












n
¯

shift

R

A


=

max

(






3


d
u


-

N

Z

C


-


n

group


R

A


·

d
start




N
CS




,
0

)










n

_
_


shift

R

A


=
0

,



d
=

start

=
0

,



n


shift

R

A


=
0

,



d


start

=
0

,






    • where du satisfies:










d
u

=

{




p



0

p
<


N
ZC

/
2








N
ZC

-
p




otherwise

(
otherwise
)




,







and

    • p is defined as a smallest nonnegative integer that satisfies (p×u)mod NZC=1.


When the terminal device sends the random access preamble sequence according to the foregoing method, a success rate of random access can be improved.


According to an eighteenth aspect, an embodiment of this application provides a method for receiving a random access preamble sequence. The method includes:

    • receiving, by a base station, a random access preamble sequence signal based on a random access preamble sequence xu,v(n), where xu,v(n) satisfies xu,v(n)=xu((n+Cv)mod NZC), a ZC (Zadoff-Chu) sequence whose root sequence number is u is defined as:









x
u

(
n
)

=

e


-
j




π


un

(

n
+
1

)



N
ZC





,

0

n



N
ZC

-
1


,

N
ZC






is a sequence length of xu(n), mod represents a modulo operation, and Cv satisfies:







C
v

=

{







d
start





v
/

n
shift
RA





+


(

v


mod



n
shift
RA


)



N
CS







v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
_

shift
RA

-
1









d
=

start

+


(

v
-


n
start
RA



n
group
RA


-


n
_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA

-
1









d

_

_
_



start

+


(

v
-


n
start
RA



n
group
RA


-


n
_

shift
RA

-


n
=

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA

+


n

_

_
_



shift

RA


-
1





,







where NCS is an integer; and

    • for









2


N
ZC


5



d
u





N
ZC

-

N
CS


2


,

n

s

h

i

f

t


R

A


,

d
start

,

n
group
RA

,


n
_

shift
RA

,


n
=

shift
RA

,


n

-

-
-



shift

RA


,


d
=

start

,

and




d

-

-
-



start







satisfy:







n
shift
RA

=





N
ZC

-

2


d
u




N
CS











d
start

=


2


(


N
ZC

-

2


d
u



)


+


n
shift
RA

·

N
CS










n
group
RA

=





N
ZC

-

d
u



d
start












n
-

shift
RA

=

max

(






3


d
u


-

N
ZC

-


n
group
RA

·

d
start




N
CS




,
0

)










n
=

shift
RA

=
0

,



d
=

start

=
0

,



n

_

_
_



shift

RA


=
0

,



d

_

_
_



start

=
0

,






    • where du satisfies:










d
u

=

{




p



0

p
<


N
ZC

/
2








N
ZC

-
p




othe

r

w

i

s


e

(

o

t

h

e

r

w

ise

)





,







and

    • p is defined as a smallest nonnegative integer that satisfies (p×u)mod NZC=1.


The base station receives the random access preamble sequence according to the foregoing method. Therefore, when different terminal devices simultaneously send random access preamble sequences and the random access preamble sequences of the different terminal devices correspond to different Cv, mutual interference between the terminal devices can be avoided, thereby improving a success rate of random access.


According to a nineteenth aspect, an embodiment of this application provides a terminal device. The terminal device has a function of implementing behavior of the terminal device in the foregoing method. The function may be implemented by hardware or may be implemented by hardware by executing corresponding software. The hardware or software includes one or more modules corresponding to the foregoing function. The modules may be software and/or hardware.


The terminal device includes: a processing unit, configured to determine a random access preamble sequence xu,v(n), where xu,v(n) satisfies xu,v(n)=xu((n+Cv)mod NZC), a ZC (Zadoff-Chu) sequence whose root sequence number is u is defined as:









x
u

(
n
)

=

e


-
j




π


un

(

n
+
1

)



N
ZC





,

0

n



N
ZC

-
1


,

N
ZC






is a sequence length of xu(n), mod represents a modulo operation, and Cv satisfies:







C
v

=

{







d
start





v
/

n
shift
RA





+


(

v


mod



n
shift
RA


)



N
CS







v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
_

shift
RA

-
1









d
=

start

+


(

v
-


n
start
RA



n
group
RA


-


n
_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA

-
1









d

_

_
_



start

+


(

v
-


n
start
RA



n
group
RA


-


n
_

shift
RA

-


n
=

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA

+


n

_

_
_



shift

RA


-
1





,







where NCS is an integer; and

    • for









2


N
ZC


5



d
u





N
ZC

-

N
CS


2


,

n

s

h

i

f

t


R

A


,

d
start

,

n
group
RA

,


n
_

shift
RA

,


n
=

shift
RA

,


n

_

_
_



shift

RA


,


d
=

start

,

and




d

_

_
_



start







satisfy:







n
shift
RA

=





N
ZC

-

2


d
u




N
CS











d
start

=


2


(


N
ZC

-

2


d
u



)


+


n
shift
RA

·

N
CS










n
group
RA

=





N
ZC

-

d
u



d
start












n
-

shift
RA

=

max

(






3


d
u


-

N
ZC

-


n
group
RA

·

d
start




N
CS




,
0

)










n
=

shift
RA

=
0

,



d
=

start

=
0

,



n

_

_
_



shift

RA


=
0

,



d

_

_
_



start

=
0

,






    • where du satisfies:










d
u

=

{




p



0

p
<


N
ZC

/
2








N
ZC

-
p




othe

r

w

i

s


e

(

o

t

h

e

r

w

ise

)





,








    • p is defined as a smallest nonnegative integer that satisfies (p×u)mod NZC=1; and

    • a sending unit, configured to send xu,v(n).





According to a twentieth aspect, an embodiment of this application provides a base station. The base station has a function of implementing behavior of the base station in the foregoing method. The function may be implemented by hardware or may be implemented by hardware by executing corresponding software. The hardware or software includes one or more modules corresponding to the foregoing function.


The Base Station Includes:






    • a receiving unit, configured to receive a random access preamble sequence signal; and

    • a processing unit, configured to process the random access preamble sequence signal based on a random access preamble sequence xu,v(n), where xu,v(n) satisfies xu,v(n)=xu((n+Cv)mod NZC), a ZC (Zadoff-Chu) sequence whose root sequence number is u is define as:












x
u

(
n
)

=

e


-
j




π


un

(

n
+
1

)



N
ZC





,

0

n



N
ZC

-
1


,

N
ZC






is a sequence length of xu(n), mod represents a modulo operation, and Cv satisfies:







C
v

=

{







d
start





v
/

n
shift
RA





+


(

v


mod



n
shift
RA


)



N
CS







v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
_

shift
RA

-
1









d
=

start

+


(

v
-


n
start
RA



n
group
RA


-


n
_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA

-
1









d

_

_
_



start

+


(

v
-


n
start
RA



n
group
RA


-


n
_

shift
RA

-


n
=

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA

+


n

_

_
_



shift

RA


-
1





,







where NCS is an integer; and

    • for









2


N
ZC


5



d
u





N
ZC

-

N
CS


2


,

n

s

h

i

f

t


R

A


,

d
start

,

n
group
RA

,


n
_

shift
RA

,


n
=

shift
RA

,


n

_

_
_



shift

RA


,


d
=

start

,

and




d

_

_
_



start







satisfy:







n
shift
RA

=





N
ZC

-

2


d
u




N
CS











d
start

=


2


(


N
ZC

-

2


d
u



)


+


n
shift
RA

·

N
CS










n
group
RA

=





N
ZC

-

d
u



d
start












n
-

shift
RA

=

max

(






3


d
u


-

N
ZC

-


n
group
RA

·

d
start




N
CS




,
0

)










n
=

shift
RA

=
0

,



d
=

start

=
0

,



n

_

_
_



shift

RA


=
0

,



d

_

_
_



start

=
0

,






    • where du satisfies:










d
u

=

{




p



0

p
<


N
ZC

/
2








N
ZC

-
p




othe

r

w

i

s


e

(

o

t

h

e

r

w

ise

)





,







and

    • p is defined as a smallest nonnegative integer that satisfies (p×u)mod NZC=1.


In the third aspect, the fourth aspect, the seventh aspect, the eighth aspect, the tenth aspect, the twelfth aspect, the fifteenth aspect, the sixteenth aspect, the nineteenth aspect, and the twentieth aspect, the sending unit may be a transmitter, the receiving unit may be a receiver, and the processing unit may be a processor.


An embodiment of the present invention further provides a system. The system includes the terminal device and the base station in the foregoing embodiments.


Compared with the prior art, when the terminal device performs uplink random access, mutual interference caused due to impact of a Doppler frequency shift can be avoided by using the solutions provided in this application. When the base station detects the received random access preamble sequence, a vagueness problem during detection can be avoided by using the solutions provided in this application. In this way, the solutions provided in this application can improve a success rate of random access and reduce a random access time.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a schematic diagram of a communications system according to an embodiment of the present invention;



FIG. 2a is a schematic diagram of a terminal device cyclic shift obtained according to the prior art when u=220 and Ncs=15;



FIG. 2b is a schematic diagram of a terminal device cyclic shift obtained according to an embodiment of the present invention when u=220 and Ncs=15;



FIG. 3 is a schematic flowchart of a method for sending a random access preamble sequence according to an embodiment of the present invention;



FIG. 4 is a schematic block diagram of a terminal device according to an embodiment of the present invention;



FIG. 5 is a schematic block diagram of a base station according to an embodiment of the present invention;



FIG. 6 is a schematic block diagram of a terminal device according to another embodiment of the present invention; and



FIG. 7 is a schematic block diagram of a base station according to another embodiment of the present invention.





DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS

A network architecture and a service scenario that are described in the embodiments of the present invention are intended to describe the technical solutions in the embodiments of the present invention more clearly, and do not constitute any limitation on the technical solutions provided in the embodiments of the present invention. A person of ordinary skill in the art may learn that with evolution of network architectures and emergence of new service scenarios, the technical solutions provided in the embodiments of the present invention are also applicable to similar technical problems.


It should be understood that the technical solutions in the embodiments of the present invention may be applied to various communications systems, for example, a Long Term Evolution (LTE) system, an LTE frequency division duplex (FDD) system, and an LTE time division duplex (TDD) communications system.


It should also be understood that in the embodiments of the present invention, a terminal device may be referred to as a terminal, user equipment (UE), a mobile station (MS), a mobile terminal, a laptop computer, or the like. The terminal device may communicate with one or more core networks by using a radio access network (RAN). For example, the terminal device may be a mobile phone (also referred to as a “cellular” phone) or a computer with a mobile terminal. For example, the terminal device may also be a portable, pocket-sized, handheld, computer built-in, or in-vehicle mobile apparatus, which exchanges voice and/or data with the radio access network.


In the embodiments of the present invention, a base station may be an evolved NodeB (evolved NodeB, “eNB” or “e-NodeB”) in an LTE system, or another base station, or an access network device such as a relay. This is not limited in the present invention.


An embodiment of the present invention provides a solution based on a communications system shown in FIG. 1, to improve uplink random access performance of a terminal device, for example, improve a success rate of random access and reduce a random access time. This embodiment of the present invention provides a communications system 100. The communications system 100 includes at least one base station and a plurality of terminal devices. The plurality of terminal devices communicate with the base station. Using FIG. 1 as an example, a base station 20 communicates with a terminal device 10. In downlink, the base station communicates with the terminal device at least by using a common channel and a downlink service channel. In uplink, the terminal device communicates with the base station by using an uplink random access channel, an uplink control channel, and an uplink service channel. The downlink is a direction in which the base station sends data to the terminal device, and the uplink is a direction in which the terminal device sends data to the base station.


To implement uplink synchronization, the terminal device sends a random access preamble sequence on a physical random access channel (PRACH). The base station identifies the terminal device and obtains transmission timing of the terminal device by detecting the random access preamble sequence sent by the terminal device. The random access preamble sequence sent by the terminal device is a random access preamble sequence randomly selected from a random access preamble sequence set, or the base station notifies the terminal device of a specific random access preamble sequence to be used. The random access preamble sequence is obtained by performing a cyclic shift on one or more Zadoff-Chu sequences. For the random access preamble sequence randomly selected by the terminal device, because the sequence is unknown to the base station, the base station detects, by using a detection method, each random access preamble sequence in the random access preamble sequence set and the received random access preamble sequence sent by the terminal device, to determine the random access preamble sequence sent by the terminal device.


In a high-speed scenario, when a Doppler frequency shift is greater than one time a PRACH subcarrier spacing and less than twice the PRACH subcarrier spacing, during receiving of the base station, for a random access preamble sequence xu(n) whose root sequence number is u, peak values may be generated at five shift positions: −du, −2du, 0, du, and 2du.

    • du satisfies:







d
u

=

{




p



0

p
<


N
ZC

/
2








N
ZC

-
p




otherwise

(
otherwise
)




.








    • p is defined as a smallest nonnegative integer that satisfies (p×u) mod NZC=1. A ZC (Zadoff-Chu) sequence whose root sequence number is u is defined as:












x
u

(
n
)

=

e


-
j




π

u


n

(

n
+
1

)



N
ZC





,

0

n



N
ZC

-
1


,

N
ZC






is a sequence length of xu(n), and mod represents a modulo operation.


In a discussion about the LTE Release 14, in the R1-1609349 proposal, to avoid mutual interference between a plurality of terminal devices, the following design is provided:


When sending the random access preamble sequence, the terminal device obtains the random access preamble sequence based on a formula xu,v(n)−xu((n+Cv)mod NZC). The ZC (Zadoff-Chu) sequence whose root sequence number is U is defined as:









x
u

(
n
)

=

e


-
j




π

u


n

(

n
+
1

)



N
ZC





,

0

n



N

Z

C


-
1


,

N
ZC






is the sequence length of xu(n), and the terminal device selects a shift sequence number V within a range from 0 to (nshiftRAngroupRA+nshiftRA+nshiftRA+custom character−1), where a relationship between v and a cyclic shift value Cv satisfies:







C
v

=

{







d
start





v
/

n
shift
RA





+


(

v

mod


n
shift
RA


)



N
CS







v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
¯

shift

R

A


-
1










d
_

_

start

+


(

v
-


n
shift
RA



n
group
RA


+


n
¯

shift

R

A



)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
¯

shift

R

A




,


,



n
shift
RA



n
group
RA


+


n
¯

shift

R

A


+



n
¯

_

shift

R

A


-
1











d
¯

_

_

start

+


(

v
-


n
shift
RA



n
group
RA


+


n
¯

shift

R

A


+



n
¯

_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
¯

shift

R

A


+



n
¯

_

shift

R

A




,


,



n
shift
RA



n
group
RA


+


n
¯

shift

R

A


+



n
¯

_

shift
RA

+




n
¯

_

_

shift
RA

-
1





.






That is, when 0≤v≤(nshiftRAngroupRA+nshiftRA−1a), the cyclic shift value Cv satisfies:

Cv=dstart└v/nshiftRA┘+(vmodnshiftRA)NCS.


When (nshiftRAngroupRA+nshiftRA−1)<v≤(nshiftRAngroupRA+nshiftRA+nshiftRA−1, the cyclic shift value Cv satisfies a formula:

Cv=dstart+(v−nshiftRAngroupRA+nshiftRA)NCS.


When (nshiftRAngroupRA+nshiftRA+nshiftRA−1)<v≤(nshiftRAngroupRA+nshiftRA+nshiftRA+custom character−1, the cyclic shift value Cv satisfies:

Cv=custom character+(v−nshiftRAngroupRA+nshiftRA+nshiftRA)NCS.


When NCS≤du<NZC/5, nshiftRA, dstart, ngroupRA, and nshiftRA satisfy a formula:







n
shift

R

A


=




d
u

/

N

C

S












d

s

t

a

r

t


=


4


d
u


+


n
shift

R

A




N

C

S











n

g

r

o

u

p


R

A


=




N
ZC

/

d
Start












n
¯

shift

R

A


=


max

(





(


N
ZC

-

4


d
u


-


n

g

r

o

u

p


R

A




d

s

t

a

r

t




)

/

N

C

S





,
0

)

.





When, NZC/5≤du≤(NZC−NCS)/4, nshiftRA, dstart, ngroupRA, and nshiftRA satisfy a formula:







n
shift

R

A


=




(


N
ZC

-

4


d
u



)

/

N

C

S












d
start

=


N
ZC

-

4


d
u


+


n
shift

R

A




N
CS










n

g

r

o

u

p


R

A


=




d
u

/

d
start












n
¯

shift

R

A


=


min

(


max

(





(


d
u

-


n

g

r

o

u

p


R

A




d
start



)

/

N
CS




,
0

)

,

n
shift

R

A



)

.





When










N

Z

C


+

N

C

S



4



d
u

<


2
7



N
ZC



,

n
shift

R

A


,

d
start

,







n

g

r

o

u

p


R

A


,


n
¯

shift

R

A


,



n
_

_

shift

R

A


,




n
_

_

_

shift

R

A


,



d
_

_


s

t

a

r

t


,

and






d
_

_

_


s

t

a

r

t








satisfy a formula:









n
shift

R

A


=





4


d
u


-

N
ZC



N
CS














d
start

=


4


d
u


-

N

Z

C


+


n
shift

R

A


·

N

C

S














n
group

R

A


=




d
u


d
start















n
¯

shift

R

A


=

max
(






N

Z

C


-

3


d
u


-


n
group

R

A


·

d
start




N
CS




,
0

)













n
_

_

shift

R

A


=




min

(



d
u

-


n
group

R

A


·

d
start



,


4


d
u


-

N

Z

C


-



n
¯

shift

R

A




N

C

S





)

/

N

C

S

















d
_

_


s

t

a

r

t


=


N

Z

C


-

3


d
u


+


n
group

R

A


·

d
start


+



n
¯

shift

R

A




N

C

S















n
_

_

_

shift

R

A


=





(



(

1
-

min

(

1
,


n
¯

shift

R

A



)


)



(


d
u

-


n
group

R

A


·

d
start



)


+


min

(

1
,


n
¯

shift

R

A



)



(


4


d
u


-

N
ZC

-



n
¯

shift

R

A




N

C

S




)



)

/

N
CS




-



n
_

_

shift

R

A















d
_

_

_


s

t

a

r

t


=


N

Z

C


-

2


d
u


+


n
group

R

A


·

d
start


+




n
_

_

shift

R

A





N

C

S


.








When









2
7



N

Z

C





d
u





N

Z

C


-

N

C

S



3


,

n
shift

R

A


,

d
start

,

n

g

r

o

u

p


R

A


,








n
¯

shift

R

A


,



n
_

_

shift

R

A


,




n
_

_

_

shift

R

A


,



d
_

_


s

t

a

r

t


,

and






d
_

_

_


s

t

a

r

t








satisfy a formula:







n
shift

R

A


=





N

Z

C


-

3


d
u




N
CS











d
start

=


N
ZC

-

3


d
u


+


n
shift

R

A


·

N

C

S











n

g

r

o

u

p


R

A


=




d
u


d
start












n
¯

shift

R

A


=

max
(






4


d
u


-

N

Z

C


-


n

g

r

o

u

p


R

A


·

d
start




N
CS




,
0

)










n
¯

¯

shift

R

A


=




min

(



d
u

-


n

g

r

o

u

p


R

A


·

d
start



,


N
ZC

-

3


d
u


-



n
¯

shift

R

A




N

C

S





)

/

N

C

S














d
_

_


s

t

a

r

t


=


d
u

+


n

g

r

o

u

p


R

A


·

d
start


+



n
¯

shift

R

A




N

C

S















n
_

_

_

shift

R

A


=
0

,





d
_

_

_


s

t

a

r

t


=
0.





When










N

Z

C


+

N

C

S



3



d
u

<


2


N

Z

C



5


,

n
shift

R

A


,

d
start

,







n

g

r

o

u

p


R

A


,


n
¯

shift

R

A


,



n
_

_

shift

R

A


,




n
_

_

_

shift

R

A


,



d
_

_


s

t

a

r

t


,

and






d
_

_

_


s

t

a

r

t








satisfy a formula:







n
shift

R

A


=





3


d
u


-

N
ZC



N
CS











d
start

=


3


d
u


-

N

Z

C


+


n
shift

R

A


·

N

C

S











n

g

r

o

u

p


R

A


=




d
u


d
start












n
¯

shift

R

A


=

max

(






N

Z

C


-

2


d
u


-


n

g

r

o

u

p


R

A


·

d
start




N
CS




,
0

)











n
_

_

shift

R

A


=
0

,




d
_

_


s

t

a

r

t


=
0

,





n
_

_

_

shift

R

A


=
0

,






d
_

_

_


s

t

a

r

t


=
0.





When









2


N

Z

C



5



d
u





N

Z

C


-

N

C

S



2


,

n
shift

R

A


,

d
start

,







n

g

r

o

u

p


R

A


,


n
¯

shift

R

A


,



n
_

_

shift

R

A


,




n
_

_

_

shift

R

A


,



d
_

_


s

t

a

r

t


,

and






d
_

_

_


s

t

a

r

t








satisfy a formula:







n
shift

R

A


=





N
ZC

-

2


d
u




N
CS











d
start

=


2


(


N
ZC

-

2


d
u



)


+


n
shift

R

A


·

N

C

S











n
group

R

A


=





N
ZC

-

d
u



d
start












n
¯

shift

R

A


=

max

(






3


d
u


-

N

Z

C


-


n
group

R

A


·

d
start




N
CS




,
0

)











n
_

_

shift

R

A


=
0

,




d
_

_


s

t

a

r

t


=
0

,





n
_

_

_

shift

R

A


=
0

,






d
_

_

_


s

t

a

r

t


=
0.





The terminal device selects one random access preamble sequence from the random access preamble sequence set and sends the random access preamble sequence to the base station. The base station generates a random access preamble sequence by using the same method. All sequences in the random access preamble sequence set and the received random access preamble sequence are detected by using a detection method.


When Cv satisfies the following condition 1 or condition 2, mutual interference between terminal devices is caused, and as a result, random access performance is degraded.


Condition 1: When (nshiftRAngroupRA+nshiftRA−1)<v≤(nshiftRAngroupRA+nshiftRA+nshiftRA−1), the cyclic shift value Cv satisfies a formula:

Cv=dstart+(v−nshiftRAngroupRA+nshiftRA)NCS.


Condition 2: When (nshiftRAngroupRA+nshiftRA+nshiftRA−1)<v≤(nshiftRAngroupRA+nshiftRA+nshiftRA+custom character−1, the cyclic shift value Cv satisfies:

Cv=custom character+(v−nshiftRAngroupRA+nshiftRAnshiftRA)NCS.


For example, parameters of the random access preamble sequence are u=220 and NCS=15. As shown in FIG. 2a, a cyclic shift value satisfying the condition 1 is Cv=0, 15, 30, 45, 121, 136, 375, 390 in this case, du=225. When the base station detects a random access preamble sequence whose cyclic shift value is 0, a peak value may occur at positions of 15 shift values starting from a cyclic shift value 389, 614, 0, 225, or 450. When the base station detects a random access preamble sequence whose cyclic shift value is 390, a peak value may occur at positions of 15 shift values starting from a cyclic shift value 779, 165, 390, 615, or 1. The base station cannot learn which random access preamble sequence generates peak values that occur at 14 shift values starting from 390. Consequently, vagueness during detection of the base station and mutual interference between terminal devices are caused. There are a plurality of cases for the mutual interference between the terminal devices. Other cases are similar to the example in which u=220 and NCS=15 and are not described in detail again.


The foregoing method is improved during implementation of the present invention. Cv=dstart+(v−nshiftRAngroupRA+nshiftRA)NCS is modified to Cv=dstart+(v−nshiftRAngroupRAnshiftRA)NCS, and Cv=custom character+(v−nshiftRAngroupRA+nshiftRA+nshiftRA)NCS is modified to Cv=custom character+(v−nshiftRAngroupRAnshiftRAnshiftRA)NCS, to overcome the foregoing problem. Implementations of the present invention are provided in detail below.


An embodiment of the present invention provides a method for sending a random access preamble sequence. FIG. 3 is a schematic diagram of a method for sending a random access preamble sequence according to an embodiment of the present invention. A base station in FIG. 3 may be the base station 20 in FIG. 1. A terminal device in FIG. 3 may be the terminal device 10 in FIG. 1, namely, a terminal device 10A or a terminal device 10B. As shown in FIG. 3, the method includes the following steps.


Step 301: The base station sends indication information to the terminal device. The indication information may include any one or two of the following two types of indication information: an Ncs index and a logic root sequence number.


Step 301 is an optional step.


Optionally, the indication information is used to indicate an Ncs index used when the terminal device obtains a random access preamble sequence. The indication information indicates the used Ncs index by using signaling zeroCorrelationZoneConfig-r14. A value range of the Ncs index is 0 to 12. A mapping relationship between an Ncs index and an Ncs value is shown in Table 1, Table 2, or Table 3. Using Table 1 as an example, if an Ncs index in notification signaling of the base station is 6, a target Ncs value is 46.









TABLE 1







Mapping table of Ncs indexes and Ncs










Ncs index
Ncs














0
15



1
18



2
22



3
26



4
32



5
38



6
46



7
55



8
68



9
82



10
100



11
128



12
158










Using Table 2 as an example, if a target Ncs index in the notification signaling of the base station is 12, a target Ncs value is 137.









TABLE 2







Mapping table of Ncs indexes and Ncs










Ncs index
Ncs














0
15



1
18



2
22



3
26



4
32



5
38



6
46



7
55



8
68



9
82



10
100



11
128



12
137










Using Table 3 as an example, if an Ncs index carried in the notification signaling of the base station is 11, Ncs is 118.









TABLE 3







Mapping table of Ncs indexes and Ncs










Ncs index
Ncs














0
15



1
18



2
22



3
26



4
32



5
38



6
46



7
55



8
68



9
82



10
100



11
118



12
137










Optionally, the indication information is used to instruct to obtain a starting logic root sequence number of the random access preamble sequence.


Optionally, the notification signaling indicates a logic root sequence number used by the terminal device by using signaling rootSequenceIndex-r14. There is a one-to-one mapping relationship between the logic root sequence number (rootSequenceIndex-r14) and a physical root sequence number u. For example, a logic root sequence number 0 corresponds to a physical root sequence number u=129, and a logic root sequence number 837 corresponds to a physical root sequence number u=610.


Step 302: The terminal device sends a random access preamble sequence.


In step 302, the terminal device sends a random access preamble sequence xu,v(n).


In this embodiment of the present invention, max represents that a maximum value is selected, for example, max(0,1)=1, and max(4,5)=5. min represents that a smallest value is selected, for example, min(0,1)=0, and min(4,5)=4. └γ┘ represents rounding down Y to the nearest integer. That is, if γ is equal to 2.5, └γ┘ is equal to 2. For example, └v/nshiftRA┘ represents rounding down v/nshiftRA to the nearest integer. mod represents a modulo operation, for example, 4 mod 2=0, and 5 mod 2=1.


Optionally, the terminal device obtains the Ncs value and the physical root sequence number based on the indication information of the base station. The terminal device determines xu,v(n) based on the Ncs value and the physical root sequence number.

    • xu,v(n)=xu((n+Cv)mod NZC). A ZC (Zadoff-Chu) sequence whose root sequence number is u is defined as:









x
u

(
n
)

=

e


-
j




π

u


n

(

n
+
1

)



N
ZC





,

0

n



N

Z

C


-
1


,

N
ZC






is a sequence length of xu(n), and the terminal device selects a shift sequence number v within a range from 0 to (nshiftRAngroupRA+nshiftRA+nshiftRA, custom character−1). A relationship between v and a cyclic shift value Cv satisfies:







C
v

=

{







d
start





v
/

n
shift
RA





+


(

v

mod


n
shift
RA


)



N
CS







v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
_

shift
RA

-
1









d
=

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA



,


,



n
shift
RA



n
group
RA


+

n
shift
RA

+


n
=

shift
RA

-
1









d


start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA

-


n
=

shift
RA


)



N
CS







v
=



n
shift
RA



n
group

RA




+


n
_

shift
RA

+


n
=

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

group
RA

+


n


shift
RA

-
1





.






It is equivalent to that when 0≤v≤(nshiftRAngroupRA+nshiftRA−1), the cyclic shift value Cv satisfies a formula (1):

Cv=dstart└v/nshiftRA┘+(vmodnshiftRA)NCS  (1)


When (nshiftRAngroupRA+nshiftRA−1)<v≤(nshiftRAngroupRA+nshiftRA+nshiftRA−1), the cyclic shift value Cv satisfies a formula (2):

Cv=dstart+(v−nshiftRAngroupRAnshiftRA)NCS  (2)


When (nshiftRAngroupRA+nshiftRAnshiftRA−1)<v≤(nshiftRAngroupRA+nshiftRA+nshiftRA+custom character−1), the cyclic shift value Cv satisfies a formula (3):

Cv=custom character+(v−nshiftRAngroupRAnshiftRAnshiftRA)NCS  (3)

where NCS is an integer.

    • p is defined as a smallest nonnegative integer that satisfies (p×u)mod NZC=1.











d
u


satisfies




d
u


=

{




p



0

p
<


N

Z

C


/
2








N
ZC

-
p




otherwise

(

o

t

h

e

r

w

i

s

e

)




.








    • xu,v(n) has different implementations.





Implementation 1:


For










N
ZC

+

N
CS


4



d
u

<


2
7



N

Z

C




,

n
shift

R

A


,

d

s

tart


,

n
group

R

A


,


n
¯

shift

R

A


,


n
=

shift
RA

,


n


shift
RA

,


d
=

start

,


and




d


start







satisfy formulas (4) to (11):












n
shift

R

A


=





4


d
u


-

N
ZC



N
CS









(
4
)















d

s

t

a

r

t


=


4


d
u


-

N

Z

C


+


n
shift

R

A


·

N

C

S









(
5
)















n
group

R

A


=




d
u


d

s

t

a

r

t










(
6
)
















n
¯

shift

R

A


=

max

(






N

Z

C


-

3


d
u


-


n

g

r

o

u

p


R

A


·

d

s

t

a

r

t





N
CS




,

0

)






(
7
)
















n
=

shift
RA

=




min

(



d
u

-


n
group
RA

·

d
start



,


4


d
u


-

N
ZC

-



n
_

shift
RA



N
CS




)

/

N
CS









(
8
)
















d
=

start

=


N
ZC

-

3


d
u


+


n
group
RA

·

d
start


+



n
_

shift
RA



N
CS








(
9
)
















n


shift
RA

=





(



(

1
-

min

(

1
,


n
¯

shift

R

A



)


)



(


d
u

-


n
group

R

A


·

d
start



)


+


min

(

1
,


n
¯

shift

R

A



)



(


4


d
u


-

N
ZC

-



n
¯

shift

R

A




N
CS



)



)

/

N
CS




-


n
=

shift
RA







(
10
)
















d


start

=


N
ZC

-

2


d
u


+


n
group

R

A


·

d
start


+



n
=

shift
RA



N
CS








(
11
)







Implementation 2:


For









2
7



N

Z

C





d
u





N
ZC

-

N
CS


3


,

n
shift

R

A


,

d
start

,

n

g

r

o

u

p


R

A


,


n
¯

shift

R

A


,


n
=

shift
RA

,


n


shift
RA

,


d
=

start

,


and




d


start







satisfy formulas (12) to (19):










n
shift

R

A


=





N
ZC

-

3


d
u




N
CS








(
12
)













d

s

t

a

r

t


=


N

Z

C


-

3


d
u


+


n
shift

R

A


·

N

C

S








(
13
)













n
group

R

A


=




d
u


d

s

t

a

r

t









(
14
)














n
¯

shift

R

A


=

max

(






4


d
u


-

N

Z

C


-


n
group

R

A


·

d

s

t

a

r

t





N
CS




,

0

)





(
15
)














n
=

shift

R

A


=




min

(



d
u

-


n

g

r

o

u

p


R

A


·

d

s

t

a

r

t




,


N

Z

C


-

3


d
u


-



n
¯

shift

R

A




N

C

S





)

/

N

C

S









(
16
)














d
=


s

t

a

r

t


=


d
u

+


n
group

R

A


·

d

s

t

a

r

t



+



n
¯

shift

R

A




N

C

S








(
17
)














n


shift

R

A


=
0




(
18
)














d



s

t

a

r

t


=
0




(
19
)







Implementation 3:


For










N

z

c


+

N

c

s



3



d
u

<


2


N
ZC


5


,

n
shift

R

A


,

d

s

tart


,

n
group

R

A


,


n
¯

shift

R

A


,


n
=

shift
RA

,


n


shift
RA

,


d
=

start

,


and




d


start







satisfy formulas (20) to (27):










n
shift

R

A


=





3


d
u


-

N
ZC



N
CS








(
20
)













d

s

t

a

r

t


=


3


d
u


-

N

Z

C


+


n
shift

R

A


·

N

C

S








(
21
)













n
group

R

A


=




d
u


d

s

t

a

r

t









(
22
)














n
¯

shift

R

A


=

max

(






N

Z

C


-

2


d
u


-


n

group


R

A


·

d

s

t

a

r

t





N
CS




,
0

)





(
23
)














n
=

shift
RA

=
0




(
24
)














d
=

start

=
0




(
25
)














n


shift
RA

=
0




(
26
)














d



s

t

a

r

t


=
0




(
27
)







Implementation 4:


For









2


N
ZC


5



d
u





N
ZC

-

N

C

S



2


,

n
shift

R

A


,

d

s

tart


,

n
group

R

A


,


n
¯

shift

R

A


,


n
=

shift
RA

,


n


shift
RA

,


d
=

start

,


and




d


start







satisfy formulas (28) to (35):










n
shift

R

A


=





N
ZC

-

2


d
u




N
CS








(
28
)













d

s

t

a

r

t


=


2


(


N

Z

C


-

2


d
u



)


+


n
shift

R

A


·

N

C

S








(
29
)













n
group

R

A


=





N
ZC

-

d
u



d
start








(
30
)














n
¯

shift

R

A


=

max

(






3


d
u


-

N

Z

C


-


n
group

R

A


·

d

s

t

a

r

t





N
CS




,
0

)





(
31
)














n
=

shift
RA

=
0




(
32
)














d
=

start

=
0




(
33
)














n


shift
RA

=
0




(
34
)














d


start

=
0




(
35
)







When the terminal device sends the random access preamble sequence according to the foregoing method, a success rate of random access can be improved.


For Implementation 1 to Implementation 4, the terminal device may implement any one of Implementation 1 to Implementation 4 only. Alternatively, the terminal device may implement any combination of Implementation 1 to Implementation 4. For example, the terminal device implements only Implementation 1. When the terminal device sends xu,v(n), nshiftRA, dstart, ngroupRA, nshiftRA, nshiftRA, custom charactershiftRA, dstart, and custom character that correspond to xu,v(n) satisfy the formulas (4) to (11). Alternatively, the terminal device implements Implementation 1 to Implementation 4.


Step 303: The base station detects a received random access preamble sequence signal.


In step 303, the base station detects the received random access preamble sequence signal sent by the terminal device. First, the base station receives the random access preamble sequence signal sent by the terminal device, and then detects the received random access preamble sequence signal based on xu,v(n) For expressions and explanations of xu,v(n), refer to step 302. Details are not described again.


The base station may detect the received random access preamble sequence signal in the following optional manners.


Optionally, the base station sequentially selects and traverses shift sequence numbers v within a range from 0 to (nshiftRAngroupRA+nshiftRA+nshiftRA+custom character−1), to obtain corresponding xu,v(n)=xu((n+Cv)mod NZC). The base station detects the received random access preamble sequence signal based on each obtained xu,v(n) Optionally, the base station performs, based on the obtained xu,v(n), related detection on the random access preamble sequence sent by the terminal device. The related detection may be performed in time domain, or the detection may be performed in frequency domain based on a frequency domain detection manner corresponding to a time domain related detection manner.


For Implementation 1 to Implementation 4 in step 302, the base station device may implement any one of Implementation 1 to Implementation 4 only. Alternatively, the base station device may implement any combination of Implementation 1 to Implementation 4. For example, the base station implements only Implementation 1. nshiftRA, dstart, ngroupRA, nshiftRA, nshiftRA, custom character, dstart, and custom character that correspond to xu,v(n) satisfy the formulas (4) to (11). Alternatively, the base station implements Implementation 1 to Implementation 4.


The base station detects the received random access preamble sequence signal. Therefore, when different terminal devices simultaneously send random access preamble sequences and the random access preamble sequences of the different terminal devices correspond to different Cv, mutual interference between the terminal devices can be avoided, thereby improving a success rate of random access.


The method in the embodiments of the present invention is described in detail above with reference to FIG. 3. A terminal device and a base station in the embodiments of the present invention are described in detail below with reference to FIG. 4 and FIG. 5.


As shown in FIG. 4, an embodiment of the present invention provides the terminal device 10 shown in FIG. 1. The terminal device 10 may be a terminal device 10A or a terminal device 10B and includes: a processing unit 401, configured to determine a random access preamble sequence xu,v(n), where xu,v(n) satisfies xu,v(n)=xu((n+Cv)mod NZC), a ZC (Zadoff-Chu) sequence whose root sequence number is u is defined as:









x
u

(
n
)

=

e


-
j




π

u


n

(

n
+
1

)



N
ZC





,

0

n



N
ZC

-
1


,

N
ZC






is a sequence length of xu(n), mod represents a modulo operation, and Cv satisfies:







C
v

=

{






d
start





v
/

n
shift
RA





+


(

v

mod


n
shift
RA


)



N
CS







v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
_

shift
RA

-
1









d
=

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

shift
RA

-
1









d


start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA

-


n
=

shift
RA


)



N
CS







v
=



n
shift
RA



n
group

RA




+


n
_

shift
RA

+


n
=

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+


n
=

group
RA

+


n


shift
RA

-
1

,











    • where NCS is an integer; and

    • for













N
ZC

+

N
CS


4



d
u

<


2
7



N

Z

C




,

n
shift

R

A


,

d

s

tart


,

n
group

R

A


,


n
¯

shift

R

A


,


n
=

shift
RA

,


n


shift
RA

,


d
=

start

,


and




d


start







satisfy:










n
shift

R

A


=





4


d
u


-

N
ZC



N
CS











d

s

t

a

r

t


=


4


d
u


-

N

Z

C


+


n
shift

R

A


·

N

C

S











n
group

R

A


=




d
u


d

s

t

a

r

t













n
¯

shift

R

A


=

max


(






N

Z

C


-

3


d
u


-


n

g

r

o

u

p


R

A


·

d

s

t

a

r

t





N
CS




,

0

)










n
=

shift
RA

=



min


(



d
u

-


n
group
RA

·

d
start



,


4


d
u


-

N
ZC

-



n
_

shift
RA



N
CS




)

/

N
CS












d
=

start

=


N
ZC

-

3


d
u


+


n
group
RA

·

d
start


+



n
_

shift
RA



N
CS











d
=

start

=


N
ZC

-

3


d
u


+


n
group
RA

·

d
start


+



n
_

shift
RA



N
CS











n


shift
RA

=





(



(

1
-

min


(

1
,


n
¯

shift

R

A



)



)



(


d
u

-


n
group

R

A


·

d
start



)


+


min

(

1
,


n
¯

shift

R

A



)



(


4


d
u


-

N
ZC

-



n
¯

shift

R

A




N
CS



)



)

/

N
CS




-


n
=

shift
RA










d


start

=


N
ZC

-

2


d
u


+


n
group

R

A


·

d
start


+



n
=

shift
RA



N
CS












    • for












2
7



N

Z

C





d
u





N
ZC

-

N
CS


3


,

n
shift

R

A


,

d
start

,

n

g

r

o

u

p


R

A


,


n
¯

shift

R

A


,


n
=

shift
RA

,


n


shift
RA

,


d
=

start

,


and




d


start







satisfy:







n
shift

R

A


=





N

Z

C


-

3


d
u




N
CS











d

s

t

a

r

t


=


N

Z

C


-

3


d
u


+


n
shift

R

A


·

N

C

S











n
group

R

A


=




d
u


d

s

t

a

r

t













n
¯

shift

R

A


=

max

(






4


d
u


-

N

Z

C


-


n
group

R

A


·

d

s

t

a

r

t





N
CS




,
0

)










n
¯

¯

shift

R

A


,

=




min

(



d
u

-


n
group

R

A


·

d

s

t

a

r

t




,


N

Z

C


-

3


d
u


-


n
¯

shift

R

A



,

N

C

S



)

/

N

C

S

















d
_

_

_

start

=


d
u

+


n
group

R

A


·

d

s

t

a

r

t



+


n
¯

shift

R

A




,

N

C

S













n
_

_

_

shift
RA

=
0

,






d
_

_

_

start

=
0

;







    • for













N
ZC

+

N
CS


3



d
u

<



2


N
ZC


5



n
shift

R

A




,

d
start

,

n
group

R

A


,


n
¯

shift

R

A


,



n
¯

_

shift

R

A


,




n
¯

¯

¯

shift

R

A


,









d
_

_

start



and






d
_

_

_

start






satisfy:







n
shift
RA

=





3


d
u


-

N
ZC



N
CS











d

s

t

a

r

t


=


3


d
u


-

N

Z

C


+


n
shift

R

A


·

N

C

S











n
group

R

A


=




d
u


d

s

t

a

r

t















n

_


shift
RA

=

max

(






N

Z

C


-

2


d
u


-


n
group

R

A


·

d

s

t

a

r

t





N
CS




,
0

)














n

_


_


shift
RA

=
0

,






d
_


_



s

t

a

r

t


=
0

,




n
_

_

_

shift
RA

,

=
0

,






d
_

_

_


s

t

a

r

t


=
0

;






or

    • for









2


N
ZC


5



d
u






N
ZC

-

N

C

S



2



n
shift

R

A




,

d

s

tart


,

n
group
RA

,


n
¯

shift

R

A


,



n
¯

_

shift

R

A


,




n
¯

¯

¯

shift

R

A


,









d
_

_

start



and






d
_

_

_

start






satisfy:







n
shift

R

A


=





N

Z

C


-

2


d
u




N
CS











d
start

=


2


(


N
ZC

-

2


d
u



)


+


n
shift

R

A


·

N

C

S











n

g

r

o

u

p


R

A


=





N

Z

C


-

d
u



d
start












n
¯

shift

R

A


=

max

(






3


d
u


-

N

Z

C


-


n
group

R

A


·

d
start




N
CS




,
0

)











n
_

_

shift
RA

=
0

,




d
¯

¯

start

=
0

,





n
¯

¯

¯

shift

R

A


=
0

,





d
¯

¯

¯

start

=
0

,






    • where du satisfies:










d
u

=

{




p



0

p
<


N
ZC

/
2








N
ZC

-
p




otherwise

(

othe

r

wise

)




,







and

    • p is defined as a smallest nonnegative integer that satisfies (p×u)mod NZC=1; and
    • a sending unit 402, configured to send xu,v(n).


For







C
v

=

{







d
start





v
/

n
shift

R

A






+


(

v

mod


n
shift

R

A



)



N

C

S








v
=
0

,
1
,


,



n
group

R

A




n
shift

R

A



+


n
_

shift
RA

-
1










d
_

_

start

+


(

v
-


n
shift

R

A




n
group
RA


-


n
_

shift

R

A



)



N

C

S








v
=



n
shift

R

A




n
group
RA


+


n
_

shift

R

A




,


,



n
shift

R

A




n
group
RA


+


n
_

shift

R

A


+



n
_

_

shift
RA

-
1











d
¯

¯

¯

start

+


(

v
-


n
shift

R

A




n
group
RA


-


n
_

shift

R

A


-



n
_

_

shift

R

A



)



N

C

S








v
=



n
shift

R

A




n
group
RA


+


n
_

shift

R

A


+



n
_

_

shift

R

A




,


,



n
shift

R

A




n
group
RA


+


n
_

shift

R

A


+



n
_

_

shift

R

A


+




n
_

_

_

shift
RA

-
1

,




,







during implementation of the present invention, when nshiftRA=0 and custom character≠0,







C
v

=

{







d
start





v
/

n
shift

R

A






+


(

v

mod


n
shift

R

A



)



N

C

S








v
=
0

,
1
,


,



n
group

R

A




n
shift

R

A



+


n
_

shift
RA

-
1











d
¯

¯

¯

start

+


(

v
-


n
shift

R

A




n
group
RA


-


n
_

shift

R

A


-



n
_

_

shift

R

A



)



N

C

S








v
=



n
shift

R

A




n
group
RA


+


n
_

shift

R

A


+



n
_

_

shift

R

A




,


,



n
shift

R

A




n
group
RA


+


n
_

shift

R

A


+



n
_

_

shift

R

A


+




n
_

_

_

shift
RA

-
1

,




.






When nshiftRA≠0 and custom character=0,







C
v

=

{







d
start





v
/

n
shift

R

A






+


(

v

mod


n
shift

R

A



)



N

C

S








v
=
0

,
1
,


,



n
group

R

A




n
shift

R

A



+


n
_

shift
RA

-
1










d
_

_

start

+


(

v
-


n
shift

R

A




n
group
RA


-


n
_

shift

R

A



)



N

C

S








v
=



n
shift

R

A




n
group
RA


+


n
_

shift

R

A




,


,



n
shift

R

A




n
group
RA


+


n
_

shift

R

A


+



n
_

_

shift

R

A


-
1





.






When nshiftRA=0 and custom character=0,







C
v

=

{







d
start





v
/

n
shift

R

A






+


(

v

mod


n
shift

R

A



)



N

C

S








v
=
0

,
1
,


,



n
group

R

A




n
shift

R

A



+


n
_

shift
RA

-
1





.






When the terminal device performs random access, a success rate of random access in a high-speed movement environment can be improved.


For four implementations of









N
ZC

+

N
CS


4



d
u

<


2
7



N

Z

C








(corresponding to Implementation 1 in step 302),








2
7



N

Z

C





d
u





N
ZC

-

N
CS


3






(corresponding to Implementation 2 in step 302),









N
ZC

+

N
CS


3



d
u

<


2


N
ZC


5






(corresponding to Implementation 3 in step 302), and








2


N
ZC


5



d
u





N
ZC

-

N
CS


2






(corresponding to Implementation 4 in step 302), the processing unit 401 may be configured to implement any one of Implementation 1 to Implementation 4 only. Alternatively, the processing unit 401 may perform processing based on any combination of Implementation 1 to Implementation 4. For example, the processing unit 401 implements only Implementation 1. When the processing unit 401 determines xu,v(n), nshiftRA, dstart, ngroupRA, nshiftRA, nshiftRA, custom character, dstart, and custom character that correspond to xu,v(n) satisfy the formulas (4) to (11). Alternatively, the processing unit 401 implements Implementation 1 to Implementation 4.


As shown in FIG. 5, an embodiment of the present invention provides the base station 20 shown in FIG. 1. The base station 20 includes: a receiving unit 501, configured to receive a random access preamble sequence signal; and a processing unit 502, configured to process the received random access preamble sequence signal based on a random access preamble sequence xu,v(n), where xu,v(n) satisfies (±, a ZC (Zadoff-Chu) sequence whose root sequence number is u is defined as:









x
u

(
n
)

=

e


-
j




π

u


n

(

n
+
1

)



N
ZC





,

0

n



N
ZC

-
1


,

N
ZC






is a sequence length of xu(n) mod represents a modulo operation, and Cv satisfies:







C
v

=

{






d
start





v
/

n
shift
RA





+


(

v

mod


n
shift
RA


)



N
CS







v
=
0

,
1
,


,



n
group
RA



n
shift
RA


+


n
_

shift
RA

-
1










d
_

_

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+



n
_

_

shift
RA

-
1











d
_

_

_

start

+


(

v
-


n
shift
RA



n
group
RA


-


n
_

shift
RA

-



n
_

_

shift
RA


)



N
CS







v
=



n
shift
RA



n
group
RA


+


n
_

shift
RA

+



n
_

_

shift
RA



,


,



n
shift
RA



n
group
RA


+


n
_

shift
RA

+



n
_

_

shift
RA

+




n
_

_

_

shift
RA

-
1

,










where NCS is an integer; and

    • for













N

Z

C


+

N

C

S



4



d
u

<


2
7



N
ZC



,

n
shift

R

A


,

d
start

,







n
group

R

A


,


n
¯

shift

R

A


,



n
_

_

shift
RA

,




n
_

_

_

shift
RA

,



d
_

_


s

t

a

r

t


,

and






d
_

_

_

start










satisfy:









n
shift

R

A


=





4


d
u


-

N
ZC



N
CS














d
start

=


4


d
u


-

N

Z

C


+


n
shift

R

A


·

N

C

S














n
group

R

A


=




d
u


d
start















n
¯

shift

R

A


=

max


(






N

Z

C


-

3


d
u


-


n

group


R

A


·

d
start




N
CS




,
0

)














n
¯

¯

shift

R

A


=




min

(



d
u

-


n

group


R

A


·

d
start



,


4


d
u


-

N

Z

C


-



n
¯

shift

R

A




N

C

S





)

/

N

C

S

















d
_

_

start

=


N

Z

C


-

3


d
u


+


n

group


R

A


·

d
start


+



n
¯

shift

R

A




N

C

S















n
_

_

_

shift

R

A


=





(



(

1
-

min

(

1
,


n
¯

shift

R

A



)


)



(


d
u

-


n

group


R

A


·

d
start



)


+


min

(

1
,


n
¯

shift

R

A



)



(


4


d
u


-

N

Z

C


-



n
¯

shift

R

A




N

C

S




)



)

/

N

C

S





-



n
_

_

shift

R

A















d
_

_

_

start

=


N

Z

C


-

2


d
u


+


n

group


R

A


·

d
start


+




n
¯

¯

shift

R

A




N

C

S











    • for















2
7



N
ZC




d
u





N

Z

C


-

N

C

S



3


,

n
shift

R

A


,

d

s

tart


,







n
group

R

A


,


n
¯

shift

R

A


,



n
_

_

shift

R

A


,




n
_

_

_

shift
RA

,



d
_

_

start

,

and






d
_

_

_

start










satisfy:










n
shift

R

A


=





N
ZC

-

3


d
u




N
CS











d
start

=


N

Z

C


-

3


d
u


+


n
shift

R

A


·

N

C

S











n

group


R

A


=




d
u


d
start












n
¯

shift

R

A


=

max
(






4


d
u


-

N

Z

C


-


n

group


R

A


·

d
start




N
CS




,
0

)










n
¯

¯

shift

R

A


=



min


(



d
u

-


n

group


R

A


·

d
start



,



N

Z

C


-

3


d
u


-



n
¯

shift

R

A




N

C

S





)

/

N

C

S














d
_

_

start

=


d
u

+


n

group


R

A


·

d
start


+



n
¯

shift

R

A




N

C

S















n
_

_

_

shift

R

A


=
0

,






d
_

_

_

start

=
0

;










    • for
















N

Z

C


+

N

C

S



3



d
u

<


2


N
ZC


5


,

n
shift

R

A


,

d
start

,







n
group

R

A


,


n
¯

shift

R

A


,



n
_

_

shift
RA

,




n
_

_

_

shift
RA

,



d
_

_


s

t

a

r

t


,


and






d
_

_

_

start










satisfy:










n
shift

R

A


=





3


d
u


-

N
ZC



N
CS











d
start

=


3


d
u


-

N

Z

C


+


n
shift

R

A


·

N

C

S











n

group


R

A


=





d
u


d
start






or









n
¯

shift

R

A


=

max
(






N

Z

C


-

2


d
u


-


n

group


R

A


·

d
start




N
CS




,
0

)











n
_

_

shift

R

A


=
0

,




d
_

_

start

=
0

,





n
_

_

_

shift
RA

=
0

,






d
_

_

_

start

=
0

;










    • for















2


N

Z

C



5



d
u





N

Z

C


-

N

C

S



2


,

n
shift

R

A


,

d

s

tart


,







n
shift
RA

,


n
¯

shift

R

A


,



n
_

_

shift
RA

,




n
_

_

_

shift
RA

,



d
_

_


s

t

a

r

t


,


and






d
_

_

_

start










satisfy:










n
shift

R

A


=





N
ZC

-

2


d
u




N
CS











d
start

=


2


(


N

Z

C


-

2


d
u



)


+


n
shift

R

A


·

N

C

S











n

group


R

A


=





N
ZC

-

d
u



d
start













n
¯

shift

R

A


=

max
(






3


d
u


-

N

Z

C


-


n

group


R

A


·

d
start




N
CS




,
0

)











n
_

_

shift

R

A


=
0

,




d
_

_

start

=
0

,





n
_

_

_

shift
RA

=
0

,





d
_

_

_

start

=
0

,









    • where du satisfies:










d
u

=

{




p



0

p
<


N
ZC

/
2








N
ZC

-
p




otherwise

(
otherwise
)




,







and

    • p is defined as a smallest nonnegative integer that satisfies (p×u)mod NZC=1.


When the base station receives the random access preamble sequence, mutual interference between terminal devices can be avoided in a high-speed movement environment, thereby improving a success rate of random access. For example, parameters of the random access preamble sequence are u=220 and NCS=15. As shown in FIG. 2b, a cyclic shift value satisfying the condition 1 is Cv=0, 15, 30, 45, 121, 136, 315, 330, this case, du=225 When the base station detects a random access preamble sequence whose cyclic shift value is 0, a peak value may occur at positions of 15 shift values starting from a cyclic shift value 389, 614, 0, 225, or 450. When the base station detects a random access preamble sequence whose cyclic shift value is 330, a peak value may occur at positions of 15 shift values starting from a cyclic shift value 719, 105, 330, 555, or 780. The peak values that the two sequences may have do not overlap, thereby avoiding vagueness during base station detection and mutual interference between terminal devices.


For four implementations of









N
ZC

+

N
CS


4



d
u

<


2
7



N

Z

C








(corresponding to Implementation 1 in step 302),








2
7



N

Z

C





d
u





N
ZC

-

N
CS


3






(corresponding to Implementation 2 in step 302),









N
ZC

+

N
CS


3



d
u

<


2


N
ZC


5






(corresponding to Implementation 3 in step 302), and








2


N
ZC


5



d
u





N
ZC

-

N
CS


2






(corresponding to Implementation 4 in step 302), the processing unit 502 may be configured to implement any one of Implementation 1 to Implementation 4 only. Alternatively, the processing unit 502 may perform processing based on any combination of Implementation 1 to Implementation 4. For example, the processing unit 502 implements only Implementation 1. When the processing unit 502 determines xu,v(n), nshiftRA, dstart, ngroupRA, nshiftRA, nshiftRA, custom character, dstart, and custom character that correspond to xu,v(n) satisfy the formulas (4) to (11). Alternatively, the processing unit 502 implements Implementation 1 to Implementation 4.


The terminal device 10 including a processor 601, a transmitter 602, and a receiver 603 is shown in FIG. 6. The base station 20 including a processor 702, a transmitter 703, and a receiver 701 is shown in FIG. 7.


The processing unit 401 may be specifically the processor 601. The sending unit 402 may be specifically the transmitter 602. The receiving unit 403 may be specifically the receiver 603. The processing unit 502 may be specifically the processor 702. The sending unit 503 may be specifically the transmitter 703. The receiving unit 501 may be specifically the receiver 701.


It should be understood that in this embodiment of the present invention, the processors 601 and 702 may be a central processing unit (CPU), or the processors 601 and 702 may be another general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or another programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, or the like. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor or the like.


The objectives, technical solutions, and beneficial effects of the present invention are further described in detail in the foregoing specific implementations. It should be understood that the foregoing descriptions are merely specific implementations of the present invention, but are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made based on the technical solutions of the present invention shall fall within the protection scope of the present invention.

Claims
  • 1. A method, performed by a device for communication system or a processor for the device, comprising: sending indication information to a terminal device, the indication information indicating an NCS value, andreceiving, from the terminal device, a random access preamble sequence xu,v(n), wherein xu,v(n) is based on a sequence with a root sequence number u and a sequence length NZC, the sequence is represented by xu(n), and wherein xu,v(n)=xu((n+Cv)mod NZC), mod represents a modulo operation, and Cv is a cyclic shift that satisfies:
  • 2. The method according to claim 1, wherein for
  • 3. The method according to claim 1, wherein for
  • 4. The method according to claim 1, wherein for
  • 5. The method according to claim 1, wherein for NCS≤du<NZC/5, nshiftRA, dstart, ngroupRA, and nshiftRA satisfy: nshiftRA=└du/NCS┘dstart=4du+nshiftRANCS ngroupRA=└NZC/dstart┘nshiftRA=max(└(NZC−4du−ngroupRAdstart)/NCS┘,0); andfor NZC/5≤du≤(NZC−NCS)/4, nshiftRA, dstart, ngroupRA, and nshiftRA satisfy: nshiftRA=└(NZC−4du)/NCS┘dstart=NZC−4du+nshiftRANCS ngroupRA=└du/dstart┘nshiftRA=min(max(└(du−ngroupRAdstart)/NCS┘,0),nshiftRA).
  • 6. The method according to claim 5, wherein for
  • 7. The method according to claim 1, wherein for
  • 8. The method according to claim 1, wherein the indication information includes an Ncs index.
  • 9. The method according to claim 8, wherein a mapping relationship between the Ncs index and a value of Ncs is as follows:
  • 10. The method according to claim 1, wherein the sequence with the root sequence number u and the sequence length NZC satisfies:
  • 11. The method according to claim 1, further comprising: indicating a logic root sequence number, wherein the logic root sequence number is associated with the root sequence number u.
  • 12. A device for communications system, comprising: one or more processors, configured to execute program instructions stored in a memory, wherein the program instructions, when executed by the one or more processors, cause the device to:send indication information to a terminal device, the indication information indicating an NCS value, andreceive, from the terminal device, a random access preamble sequence xu,v(n), wherein xu,v(n) is based on a sequence with a root sequence number u and a sequence length NZC, the sequence is represented by xu(n), and wherein xu,v(n)=xu((n+Cv)mod NZC), mod represents a modulo operation, and Cv is a cyclic shift that satisfies:
  • 13. The device according to claim 12, wherein for
  • 14. The device according to claim 12, wherein for
  • 15. The device according to claim 4, wherein for
  • 16. The device according to claim 12, wherein for NCS≤du<NZC/5, nshiftRA, dstart, ngroupRA, and nshiftRA satisfy: nshiftRA=└du/NCS┘dstart=4du+nshiftRANCS ngroupRA=└NZC/dstart┘nshiftRA=max(└(NZC−4du−ngroupRAdstart)/NCS┘,0); andfor NZC/5≤du≤(NZC−NCS)/4, nshiftRA, dstart, ngroupRA, and nshiftRA satisfy: nshiftRA=└(NZC−4du)/NCS┘dstart=NZC−4du+nshiftRANCS ngroupRA=└du/dstart┘nshiftRA=min(max(└(du−ngroupRAdstart)/NCS┘,0),nshiftRA).
  • 17. The device according to claim 16, wherein for
  • 18. The device according to claim 12, wherein for
  • 19. The device according to claim 12, wherein the indication information includes an Ncs index.
  • 20. The device according to claim 19, wherein a mapping relationship between the Ncs index and a value of Ncs is as follows:
  • 21. The device according to claim 12, wherein the sequence with the root sequence number u and the sequence length NZC satisfies:
  • 22. The device according to claim 12, wherein the program instructions, when executed by the one or more processors, cause the device further to: indicate a logic root sequence number, wherein the logic root sequence number is associated with the root sequence number u.
CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 16/345,148, filed on Apr. 25, 2019, which a national stage of International Application No. PCT/CN2016/103403, filed on Oct. 26, 2016. All of the afore-mentioned patent applications are hereby incorporated by reference in their entireties.

US Referenced Citations (9)
Number Name Date Kind
20120045011 Lee et al. Feb 2012 A1
20140301345 Kim et al. Jan 2014 A1
20150163829 Li et al. Jun 2015 A1
20150236883 Yoon Aug 2015 A1
20150365977 Tabet et al. Dec 2015 A1
20160302187 Kim et al. Oct 2016 A1
20160353479 Wang Dec 2016 A1
20180220466 Park Aug 2018 A1
20190028243 Kim et al. Jan 2019 A1
Foreign Referenced Citations (5)
Number Date Country
101605397 Dec 2009 CN
101820301 Sep 2010 CN
102387599 Mar 2012 CN
104471885 Mar 2015 CN
2572585 Jan 2016 RU
Non-Patent Literature Citations (18)
Entry
“Evolved Universal Terrestrial Radio Access (E-UTRA); Physical channels and modulation,” 3rd Generation Partnership Project, Technical Specification Group Radio Access Network, 3GPP TS 36.211, V14.0.0, Sep. 2016, 170 pages.
Huawei, “On the new restricted sets of cyclic shifts for PRACH for high speed,” 3GPPTSG RAN WGI Meeting #88, R1-1703084, Feb. 13-17, 2017, 5 pages, Athens, Greece.
Huawei: “Restricted sets of cyclic shifts for PRACH in high speed scenario,” 3GPP TSG RAN WG1 Meeting #86bis, Agenda Item: 7.2.11, R1-1609349, Oct. 10-14, 2016, 13 pages, Lisbon, Portugal.
Huawei: “On the support for legacy UEs in high speed cells,” 3GPP TSG RAN WG1 Meeting #86bis, Agenda Item: 7.2.11, R1-1609350, Oct. 10-14, 2016, 4 pages, Lisbon, Portugal.
Huawei: “Introduction of PRACH enhancement for high speed scenario,” 3GPP TSG RAN WG1 Meeting #86bis, R1-1609929, Oct. 10-14, 2016, 5 pages, version 14.0.0 Lisbon, Portugal.
Qualcomm Incorporated: “PRACH enhancements,” 3GPP TSG RAN WG1 #86bis, Agenda Item: 7.2.11, R1-1610013, Oct. 10-14, 2016, 1 page, Lisbon, Portugal.
Nokia, Alcatel-Lucent Shanghai Bell: “PRACH for very high speed scenario,” 3GPP TSG RAN WG1 Meeting #86bis, Agenda Item: 7.2.11, R1-1610223, Oct. 10-14, 2016, 2 pages, Lisbon, Portugal.
Session Chairman (Qualcomm Inc.): “Chairman's Notes of Agenda Item 7.2.11 Performance enhancements for high speed scenario,” 3GPP TSG RAN WG1 Meeting #86bis, Agenda Item: 7.2.11, R1-1610874, Oct. 9-13, 2016, 1 page, Lisbon, Portugal.
Huawei, Hisilicon, Nokia, ASB, NTT, DOCOMO et al.: “WF on Performance enhancements for high speed scenario,” 3GPP TSG RAN WG1 Meeting #86bis, Agenda Item: 7.2.11, R1-1610903, Oct. 10-14, 2016, 2 pages, Lisbon, Portugal.
Huawei, Hisilicon: “PRACH enhancement in high speed scenario,” 3GPP TSG RAN WG1 Meeting #84bis, Agenda Item: 5, R1-162619, Apr. 11-15, 2016, 7 pages, Busan, Korea.
Qualcomm Incorporated: “PRACH enhancements,” 3GPP TSG RAN WG1 #86, Agenda Item: 7.2.13, R1-166315, Aug. 22-26, 2016, 1 page, Gothenburg, Sweden.
Huawei: “Introduction of PRACH enhancement for high speed scenario,” 3GPP TSG RAN WG1 Meeting #86, Version 13.2.0, R1-167416, Aug. 22-26, 2016, 5 pages, Gothenburg, Sweden.
Nokia, Alcatel-Lucent Shanghai Bell:“PRACH for very high speed UEs,” 3GPP TSG RAN WG1 Meeting #86, Agenda Item: 7.2.13, R1-167773, Aug. 22-26, 2016, 2 pages, Gothenburg, Sweden.
Huawei: “PRACH enhancement in high speed scenario,” 3GPP TSG RAN WG1 Meeting #86, Agenda Item: 7.2.13, R1-168354, Aug. 22-26, 2016, 10 pages, Gothenburg, Sweden.
Session Chairman (Qualcomm Inc.): “Chairman's Notes of Agenda Item 7.2.13 on Performance enhancements for high speed scenario,” 3GPP TSG RAN WG1 Meeting #86, Agenda Item: 7.2.13, R1-168414, Aug. 22-26, 2016, 1 page, Gothenburg, Sweden.
Huawei, Hisilicon: “BS performance evaluation under new scenarios,” 3GPP TSG-RAN WG4 Meeting #75, Agenda Item: 9.2.5, R4-152604, May 25-29, 2015, 4 pages, Fukuoka, Japan.
Ericsson: “Physical layer limits for Doppler frequency management,” 3GPP TSG-RAN WG4 Meeting #75, Agenda Item: 9.2.5, R4-152961, May 25-29, 2015, 2 pages, Fukuoka, Japan.
Alcatel Lucent: “A New Cyclic Shift Restriction Set for Very High Speed Cells,” 3GPP TSG-RAN WG4 Meeting #76, Agenda Item: 9.4.5, R4-154364, Aug. 24-28, 2015, 7 pages, Beijing, China.
Related Publications (1)
Number Date Country
20210234627 A1 Jul 2021 US
Continuations (1)
Number Date Country
Parent 16345148 US
Child 17220731 US