Timing control method, electronic device, and storage medium
The disclosure provides a timing control method, a timing control apparatus, an electronic device, a chip, and a storage medium. The method includes: tracking, with a first subcarrier spacing, a reference signal sent by a network device, to obtain a timing offset; adjusting a time unit corresponding to a second subcarrier spacing according to the timing offset; and performing carry system counting on a time unit corresponding to the first subcarrier spacing when a length of the time unit corresponding to the second subcarrier spacing is reached. Therefore, time units corresponding to different subcarrier spacings may be adjusted and counted associatively and it may also be used to solve the problem of slot misalignment caused by ATC adjustments of different subcarrier spacings as well as the problem of complex or impossible conversion of slot numbers corresponding to different subcarrier spacings when performing handovers on the subcarrier spacings.
1 . A timing control method, performed by a terminal, the method comprising:
tracking, with a first subcarrier spacing, a reference signal sent by a network device, to obtain a timing offset;
adjusting a time unit corresponding to a second subcarrier spacing according to the timing offset; and
performing carry system counting on a time unit corresponding to the first subcarrier spacing when a length of the time unit corresponding to the second subcarrier spacing is reached.
2 . The method according to claim 1 , wherein tracking, with the first subcarrier spacing, the reference signal sent by the network device, to obtain the timing offset, comprises:
receiving, with the first subcarrier spacing, the reference signal sent by the network device;
determining a sample point deviation corresponding to the reference signal; and
determining the timing offset according to the sample point deviation.
3 . The method according to claim 1 , wherein the timing offset comprises one or more timing offsets obtained on one or more time units corresponding to the first subcarrier spacing.
4 . The method according to claim 1 , wherein adjusting the time unit corresponding to the second subcarrier spacing according to the timing offset comprises:
determining an adjustment effective duration for the terminal; and
adjusting the time unit corresponding to the second subcarrier spacing according to the timing offset during the adjustment effective duration.
5 . The method according to claim 1 , wherein adjusting the time unit corresponding to the second subcarrier spacing according to the timing offset comprises:
adjusting a first time unit and/or a second time unit corresponding to the second subcarrier spacing according to the timing offset,
wherein the first time unit is a current time unit and the second time unit is a time unit after the first time unit.
6 . The method according to claim 1 , wherein performing carry system counting on the time unit corresponding to the first subcarrier spacing when the length of the time unit corresponding to the second subcarrier spacing is reached comprises:
determining an association relationship between a length of each time unit corresponding to the first subcarrier spacing and a length of each time unit corresponding to the second subcarrier spacing; and
performing carry system counting on the time unit corresponding to the first subcarrier spacing according to the association relationship when the length of the time unit corresponding to the second subcarrier spacing as adjusted is reached.
7 . The method according to claim 1 , further comprising:
adjusting the time unit corresponding to the first subcarrier spacing according to the timing offset.
8 . The method according to claim 1 , further comprising:
performing carry system counting on the time unit corresponding to the second subcarrier spacing when the length of the time unit corresponding to the second subcarrier spacing is reached.
9 . The method according to claim 1 , further comprising:
obtaining first information,
wherein the first information is configured to indicate to perform a handover from the first subcarrier spacing to the second subcarrier spacing.
10 . A chip comprising an interface circuit and a processor, wherein the interface circuit is configured to receive code instructions and transmit the code instructions to the processor, and the processor is configured to execute the code instructions to perform the method according to claim 1 .
11 . A communication device, comprising:
a transceiver;
a memory for storing computer-executable instructions; and
a processor, configured to:
track, with a first subcarrier spacing, a reference signal sent by a network device, to obtain a timing offset;
adjust a time unit corresponding to a second subcarrier spacing according to the timing offset; and
perform carry system counting on a time unit corresponding to the first subcarrier spacing when a length of the time unit corresponding to the second subcarrier spacing is reached.
12 . The device according to claim 11 , wherein the processor is further configured to:
receive, with the first subcarrier spacing, the reference signal sent by the network device;
determine a sample point deviation corresponding to the reference signal; and
determine the timing offset according to the sample point deviation.
13 . The device according to claim 11 , wherein the timing offset comprises one or more timing offsets obtained on one or more time units corresponding to the first subcarrier spacing.
14 . The device according to claim 11 , wherein the processor is further configured to:
determine an adjustment effective duration for the communication device; and
adjust the time unit corresponding to the second subcarrier spacing according to the timing offset during the adjustment effective duration.
15 . The device according to claim 11 , wherein the processor is further configured to:
adjust a first time unit and/or a second time unit corresponding to the second subcarrier spacing according to the timing offset,
wherein the first time unit is a current time unit and the second time unit is a time unit after the first time unit.
16 . The device according to claim 11 , wherein the processor is further configured to:
determine an association relationship between a length of each time unit corresponding to the first subcarrier spacing and a length of each time unit corresponding to the second subcarrier spacing; and
perform carry system counting on the time unit corresponding to the first subcarrier spacing according to the association relationship when the length of the time unit corresponding to the second subcarrier spacing as adjusted is reached.
17 . The device according to claim 11 , wherein the processor is further configured to:
adjust the time unit corresponding to the first subcarrier spacing according to the timing offset.
18 . The device according to claim 11 , wherein the processor is further configured to:
perform carry system counting on the time unit corresponding to the second subcarrier spacing when the length of the time unit corresponding to the second subcarrier spacing is reached.
19 . The device according to claim 11 , wherein the processor is further configured to:
obtain first information,
wherein the first information is configured to indicate to perform a handover from the first subcarrier spacing to the second subcarrier spacing.
20 . A non-transitory computer-readable storage medium having stored therein computer instructions that cause a computer to perform:
tracking, with a first subcarrier spacing, a reference signal sent by a network device, to obtain a timing offset;
adjusting a time unit corresponding to a second subcarrier spacing according to the timing offset; and
performing carry system counting on a time unit corresponding to the first subcarrier spacing when a length of the time unit corresponding to the second subcarrier spacing is reached.