Method, device, terminal and computing device for adjusting timing advance

The method optimizes TA adjustments by comparing time intervals and values of consecutive commands, ensuring time synchronization and reducing unnecessary adjustments in wireless communication systems.

CN115426707BActive Publication Date: 2024-12-13SPREADTRUM COMMUNICATION (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211046326.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-30
Publication Date
2024-12-13
Estimated Expiration
2042-08-30

AI Technical Summary

Technical Problem

Existing methods for adjusting Timing Advance (TA) in wireless communication systems lead to repeated adjustments, which can disrupt time synchronization between user equipment and network devices, especially in dynamic environments.

Method used

A method that compares the time interval and TA values of consecutive TA adjustment commands, performing timing adjustments only when the interval is within a threshold and the values differ, and ignoring commands when the interval is within the threshold but the values are the same, thereby reducing unnecessary adjustments.

Benefits of technology

Ensures time synchronization by optimizing TA adjustments, reducing signaling overhead, and minimizing repeated timing adjustments, thus enhancing communication efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115426707B_ABST
    Figure CN115426707B_ABST
Patent Text Reader

Abstract

A method and apparatus, terminal, and computing device for adjusting timing advance, the method comprising: if the time interval between the reception time of a second TA adjustment command and the reception time of a first TA adjustment command is less than or equal to a preset threshold, and the second TA value carried by the second TA adjustment command is different from the first TA value carried by the first TA adjustment command, then timing adjustment is performed according to the second TA value; wherein the first TA adjustment command is the TA adjustment command received last time, and the second TA adjustment command is the TA adjustment command received currently. The present application provides a more optimized TA adjustment method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method and apparatus, terminal, and computing device for adjusting timing advance. Background Art

[0002] Timing Advance (TA) is used for uplink transmission of User Equipment (UE), which refers to the time that the uplink frame of the UE sends uplink data ahead of the corresponding downlink frame. In actual application scenarios, the terminal receives the TA command sent by the network device and makes timing adjustments. As the UE moves and the wireless communication environment changes, the network device sends new TA adjustment commands at regular intervals to ensure time synchronization between the terminal and the network device. However, the existing method of adjusting TA still needs to be improved. Summary of the invention

[0003] The technical purpose of this application is to provide a more optimized TA adjustment method.

[0004] In the first aspect, in order to solve the above-mentioned technical problems, an embodiment of the present application provides a method for adjusting TA, which is applied to a terminal, comprising: if the time interval between the reception time of a second TA adjustment command and the reception time of a first TA adjustment command is less than or equal to a preset threshold, and the second TA value carried by the second TA adjustment command is different from the first TA value carried by the first TA adjustment command, then performing a timing adjustment according to the second TA value; wherein the first TA adjustment command is the TA adjustment command received last time, and the second TA adjustment command is the TA adjustment command received currently.

[0005] Optionally, the adjusted TA value is the second TA value.

[0006] Optionally, the method further includes: if the time interval is greater than the preset threshold, performing timing adjustment according to the second TA value, and the adjusted TA value is the sum of the first TA value and the second TA value.

[0007] Optionally, the method further includes: if the time interval is less than or equal to the preset threshold, and the second TA value is the same as the first TA value, ignoring the second TA adjustment command.

[0008] Optionally, the method further includes: determining whether a confirmation message has been sent for the first TA adjustment command; if not, no confirmation message for the first TA adjustment command is sent.

[0009] Optionally, the first TA value and the second TA value are obtained by the network device measuring different uplink signals.

[0010] In a second aspect, an embodiment of the present application provides another method for adjusting TA, which is applied to a network device, comprising: sending a second TA adjustment command to a terminal, wherein the time interval between the sending time of the second TA adjustment command and the sending time of the first TA adjustment command is less than or equal to a preset threshold, the first TA adjustment command is the TA adjustment command sent last time, and the second TA adjustment command is the TA adjustment command sent currently; receiving a confirmation message, wherein the confirmation message is issued by the terminal in response to the second TA adjustment command when the second TA value carried by the second TA adjustment command is different from the first TA value carried by the first TA adjustment command.

[0011] Optionally, sending a second TA adjustment command to the terminal includes: if no confirmation message from the terminal for the first TA adjustment command is received within a first time period, sending the second TA adjustment command to the terminal; wherein the starting time of the first time period is the sending time of the first TA adjustment command, and the duration of the first time period is a preset duration.

[0012] Optionally, the first TA value is obtained by measuring the first uplink signal. Before sending the second TA adjustment command to the terminal, the method also includes: measuring the second uplink signal to obtain the second TA value, and the second uplink signal is different from the first uplink signal; sending the second TA adjustment command to the terminal includes: if the second TA value is different from the first TA value, sending the second TA adjustment command to the terminal.

[0013] In the third aspect, an embodiment of the present application also provides a device for adjusting TA, comprising: a timing adjustment module, for performing timing adjustment according to the second TA value if the time interval between the reception time of the second TA adjustment command and the reception time of the first TA adjustment command is less than or equal to a preset threshold, and the second TA value carried by the second TA adjustment command is different from the first TA value carried by the first TA adjustment command; wherein the first TA adjustment command is the TA adjustment command received last time, and the second TA adjustment command is the TA adjustment command received currently.

[0014] In a fourth aspect, an embodiment of the present application also provides another device for adjusting TA, the device comprising: a sending module, used to send a second TA adjustment command to a terminal, wherein the time interval between the sending time of the second TA adjustment command and the sending time of the first TA adjustment command is less than or equal to a preset threshold, the first TA adjustment command is the TA adjustment command sent last time, and the second TA adjustment command is the TA adjustment command sent currently; a receiving module, used to receive a confirmation message, the confirmation message is issued by the terminal for the second TA adjustment command when the second TA value carried by the second TA adjustment command is different from the first TA value carried by the first TA adjustment command.

[0015] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for adjusting the TA provided in the first aspect or the second aspect is executed.

[0016] In a sixth aspect, an embodiment of the present application provides a terminal, comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, and when the processor runs the computer program, the steps of the method for adjusting the TA provided in the first aspect are executed.

[0017] In a seventh aspect, an embodiment of the present application provides a network device, comprising a memory and a processor, wherein the memory stores a computer program that can be executed on the processor, and when the processor runs the computer program, the steps of the method for adjusting the TA provided in the second aspect are executed.

[0018] Compared with the prior art, the technical solution of the embodiment of the present application has the following beneficial effects:

[0019] In the scheme of the embodiment of the present application, if the time interval between the reception time of the second TA adjustment command and the reception time of the first TA adjustment command is less than or equal to the preset threshold, and the second TA value carried by the second TA adjustment command is different from the first TA value carried by the first TA adjustment command, the timing adjustment is performed according to the second TA value. Since the first TA adjustment command is the TA adjustment command received last time, and the second TA adjustment command is the TA adjustment command received currently, therefore, in the scheme of the embodiment of the present application, the time interval between the two TA adjustment commands received before and after is compared with the preset threshold, and the TA values ​​carried by the two TA adjustment commands received before and after are compared, and when the time interval does not exceed the preset threshold and the TA values ​​are different, the timing adjustment is performed according to the second TA value. The use of such a TA adjustment mechanism allows the network device to issue a new TA value within the preset threshold to correct the TA value issued last time, which is conducive to ensuring time synchronization between the network device and the terminal.

[0020] Further, in the solution of the embodiment of the present application, if the time interval is less than or equal to the preset threshold, and the second TA value is the same as the first TA value, that is, when the time interval between the two times of receiving the TA adjustment command does not exceed the preset threshold, and the two TA values ​​are the same, the TA adjustment command sent for the second time is ignored. With such a solution, repeated timing adjustments can be avoided.

[0021] Further, in the solution of the embodiment of the present application, after the timing adjustment is performed according to the second TA value, the terminal determines whether a confirmation message has been sent for the first TA adjustment command, and if not, no confirmation message for the first TA adjustment command is sent. Such a solution can reduce signaling transmission and is conducive to saving channel resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 This is a data interaction diagram of a method for adjusting TA in an embodiment of the present application;

[0023] Figure 2 It is a partial flow chart of a method for adjusting TA in an embodiment of the present application;

[0024] Figure 3 is a schematic diagram of the structure of a device for adjusting TA in an embodiment of the present application;

[0025] Figure 4 is a schematic structural diagram of another device for adjusting TA in an embodiment of the present application;

[0026] Figure 5 It is a structural diagram of a terminal in an embodiment of the present application. DETAILED DESCRIPTION

[0027] It should be noted that the communication systems applicable to the embodiments of the present application include but are not limited to the third generation system (3rd generation, referred to as 3G), long term evolution (long term evolution, referred to as LTE) system, fourth generation system (4th generation, referred to as 4G), fifth generation (5th generation, referred to as 5G) system, new radio (New Radio, referred to as NR) system, and future evolution system or multiple communication fusion systems. Among them, the 5G system can be a non-standalone (NSA) 5G system or a standalone (SA) 5G system. The solution of the embodiments of the present application can also be applicable to various new communication systems in the future, such as 6G, 7G, etc.

[0028] The terminal in the embodiments of the present application may refer to various forms of user equipment (UE), access terminal, user unit, user station, mobile station, mobile station (MS), remote station, remote terminal, mobile device, user terminal, terminal equipment (Terminal Equipment), wireless communication equipment, user agent or user device. The terminal may also be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal in a future 5G network or a terminal in a future evolved Public Land Mobile Network (PLMN), etc., and the embodiments of the present application are not limited to this.

[0029] The network device in the embodiment of the present application may also be referred to as an access network device, for example, a base station (BS for short) (also referred to as a base station device), which is a device deployed in a radio access network (RAN) to provide wireless communication functions. For example, the equipment that provides base station functions in the second-generation (2G) network includes a base transceiver station (BTS), the equipment that provides base station functions in the third-generation (3G) network includes a node B, and the equipment that provides base station functions in the fourth-generation (4G) network includes an evolved node B (eNB). In wireless local area networks (WLAN), the equipment that provides base station functions is an access point (AP), and the equipment that provides base station functions in NR is the next generation node base station (gNB) and the evolved node B (ng-eNB), where the gNB and the terminal device communicate using NR technology, and the ng-eNB and the terminal device communicate using Evolved Universal Terrestrial Radio Access (E-UTRA) technology, and both gNB and ng-eNB can be connected to the 5G core network. The network devices in the embodiments of the present application also include devices that provide base station functions in future new communication systems, etc.

[0030] As described in the background art, the existing method for adjusting TA still needs to be improved.

[0031] In the prior art, a network device usually sends a TA adjustment command, and after receiving the TA adjustment command, the UE performs timing adjustment without judgment. This solution easily leads to the problem of repeated TA adjustment.

[0032] The inventor of the present application considers that there may be a situation where the network device corrects the TA value sent last time. If the terminal directly ignores the latter TA adjustment command without judgment when receiving two TA adjustment commands sent by the network device continuously within a preset threshold, it may mistakenly ignore the TA value used for correction, which is not conducive to the time synchronization between the terminal and the network device.

[0033] In order to solve this technical problem, the embodiment of the present application provides a method for adjusting TA. In the scheme of the embodiment of the present application, the time interval between two TA adjustment commands received before and after is compared with the preset threshold value, and the TA values ​​carried by the two TA adjustment commands received before and after are compared, and when the time interval does not exceed the preset threshold and the TA values ​​are different, the timing adjustment is performed according to the second TA value. The use of such a TA adjustment mechanism allows the network device to issue a new TA value within the preset threshold to correct the TA value issued last time, which is conducive to ensuring time synchronization between the network device and the terminal.

[0034] In order to make the above-mentioned purposes, features and beneficial effects of the present application more obvious and easy to understand, the specific embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0035] Reference Figure 1 , Figure 1 It is a data interaction diagram of a method for adjusting TA in an embodiment of the present application. Figure 1 The method shown may include S11 to S14, wherein S in each step number in the present application represents a step.

[0036] S11, the network device sends a first TA adjustment command to the terminal;

[0037] S12, the network device sends a second TA adjustment command to the terminal;

[0038] S13, if the time interval between the time instant of receiving the second TA adjustment command and the time instant of receiving the first TA adjustment command is less than or equal to a preset threshold, and the second TA value carried by the second TA adjustment command is different from the first TA value carried by the first TA adjustment command, perform timing adjustment according to the second TA value;

[0039] S14, the terminal sends a confirmation message for the second TA adjustment command to the network device.

[0040] It can be understood that, in a specific implementation, the above method can be implemented in the form of a software program, which runs in a processor integrated inside a chip or a chip module; or, the method can be implemented in hardware or a combination of hardware and software, such as using a dedicated chip or chip module, or using a dedicated chip or chip module in combination with a software program.

[0041] In S11, the terminal receives a first TA adjustment command sent by the network device; in S12, the terminal receives a second TA adjustment command sent by the network device.

[0042] For ease of description, the moment of receiving the first TA adjustment command is recorded as the first moment T1 hereinafter, and more specifically, the first moment T1 may be time slot N. Similarly, the moment of receiving the second TA adjustment command is recorded as the second moment T2, and more specifically, the second moment T2 may be time slot M, where M>N, and both M and N are positive integers.

[0043] Specifically, the first TA adjustment command and the second TA adjustment command are TA adjustment commands sent twice by the network device. More specifically, the second TA adjustment command may refer to the TA adjustment command received currently, and the first adjustment command may refer to the TA adjustment command received last time. That is, the first TA adjustment command and the second TA adjustment command are two consecutive adjustment commands, and there is no other TA adjustment command between the two. In other words, the second TA adjustment command may be the i-th TA adjustment command received by the terminal from the network device, and the first adjustment command may be the i-1-th TA adjustment command received by the terminal from the network device. Wherein, i is a positive integer greater than 2.

[0044] In a specific example, the first TA adjustment command may be a TA command (Timing Advance Command) of a control element (CE) of a medium access control (MAC) layer, and correspondingly, the second TA adjustment command may also be a TA command of a MAC CE, but is not limited thereto. In other embodiments, the first TA adjustment command and the second TA adjustment command may also be other types of TA commands, which are not limited in the embodiments of the present application.

[0045] Further, both the first TA adjustment command and the second TA adjustment command carry a TA value. For ease of description, the TA value carried by the first TA adjustment command is hereinafter referred to as a first TA value (or Value1), and the TA value carried by the second TA adjustment command is hereinafter referred to as a second TA value (or Value2).

[0046] The first TA value and the second TA value may be the same, or the second TA value may be smaller than the first TA value, or the second TA value may be larger than the first TA value.

[0047] In a specific implementation, the first TA value may be obtained by measuring the first uplink signal by the network device.

[0048] Specifically, before S11, the network device may measure the first uplink signal and generate a first TA value according to the measurement result. More specifically, when the measurement result indicates that the timing offset is greater than or equal to a preset offset threshold, the network device may generate the first TA value and execute S11.

[0049] After S11 and before S12, the network device may measure the second uplink signal to obtain a second TA value.

[0050] In the first specific example, the network device periodically measures the uplink signal, obtains the TA value according to each measurement result, and sends a TA adjustment command.

[0051] In the second specific example, after S11, the network device does not receive a confirmation message sent by the terminal in response to the first TA adjustment command within the first time period, and the network device sends a second TA adjustment command.

[0052] Specifically, after receiving the first TA adjustment command, the terminal can perform a timing adjustment according to the first TA value. After the adjustment is completed, the terminal can send a confirmation message for the first TA adjustment command to the network device to inform the network device that the first TA adjustment command has been received. For ease of description, the confirmation message sent by the terminal for the first TA adjustment command is referred to as the first confirmation message below.

[0053] It should be noted that the confirmation message in the embodiment of the present application may be an Acknowledgement message (ACK message for short) in an existing protocol. In other embodiments, the confirmation message may be other types of messages, which are not limited in the present embodiment.

[0054] However, in actual applications, the network device may not be able to receive the first confirmation message in time, for example, due to a complex wireless environment, etc. In order to ensure that the terminal can make timing adjustments in time to ensure normal transmission of uplink data, the network device will send a TA adjustment command again. That is, the network device executes S12.

[0055] Specifically, if the network device does not receive the first confirmation message within the first time period, the network device sends a second TA adjustment command, wherein the first time period is the time when the first TA adjustment command is sent, and the duration of the first time period is a preset duration.

[0056] As described above, the time when the terminal receives the first TA adjustment command is time slot N, and accordingly, the time when the first TA adjustment command is sent is also time slot N. After the terminal adjusts the TA according to the first TA value, it can send the first confirmation message in time slot N+K1. Correspondingly, if the network device does not receive the first confirmation message before time slot N+K2, the network device can send the second TA adjustment command in time slot M. Wherein, K2≥K1, K2<M, K1 and K2 are both positive integers.

[0057] More specifically, in the second specific example, the second TA value and the first TA value may be the same. That is, S12 may be a retransmission of the TA adjustment command by the network device. For example, the network device does not measure the second uplink signal after S11 and before S12.

[0058] Alternatively, the second TA value and the first TA value may be different. Specifically, after S11 and before S12, the network device measures the second uplink signal and generates the second TA value based on the measurement result of the second uplink signal. Since the first uplink signal and the second uplink signal are sent at different times, the wireless environment may have changed, so the second TA value generated based on the second uplink signal may be different from the first TA value.

[0059] In the third specific example, after the network device sends the first TA adjustment command, it measures the second uplink signal, generates a second TA value according to the measurement result of the second uplink signal, and sends the second TA adjustment command when there is a difference between the second TA value and the first TA value.

[0060] For example, regardless of whether the network device receives the first confirmation message, as long as the generated second TA value is different from the first TA value, S12 is executed. That is, for the latest generated TA value, as long as the TA value is different from the most recently issued TA value, the network device will send the latest generated TA value to the terminal.

[0061] In a non-limiting example, the network device may detect the uplink signal according to a preset detection period. The detection time of the first uplink signal may be recorded as t1, and the detection period may be recorded as t0. When the first uplink signal is an uplink signal other than a sounding reference signal (SRS), for example, a physical uplink control channel (PUCCH) or a physical uplink shared channel (PUSCH), if the network device receives the SRS signal before (t1+t0), it may measure the SRS signal before (t1+t0) to obtain a second TA value, that is, the SRS signal is the second uplink signal. Further, if the second TA value is different from the first TA value, or the absolute value of the difference between the second TA value and the first TA value is greater than a preset threshold, the network device may send a second TA adjustment command to the terminal.

[0062] Considering that the accuracy of the TA value obtained by measuring the SRS signal is usually higher than the accuracy of the TA value obtained by measuring other uplink signals, if the network device receives a second uplink signal within the detection period, and the second uplink signal is an SRS signal, the network device can measure the second uplink signal to determine whether the first TA value is accurate. Further, if the second TA value is different from the first TA value, or the absolute value of the difference between the second TA value and the first TA value is greater than a preset threshold, the network device sends a second TA adjustment command to the terminal to correct the first TA value.

[0063] In the case where the first uplink signal is an SRS signal, even if the network device receives the SRS signal before (t1+t0), it may not measure the SRS signal received later.

[0064] In the specific implementation of S13, after receiving the second TA adjustment command, if T2-T1≥ΔT and Value1=Value2, the terminal can make a timing adjustment according to Value2, and the adjusted TA value can be Value2, where ΔT is a preset threshold.

[0065] For more information about S13, please refer to the following Figure 2 The relevant description will not be repeated here.

[0066] In a non-limiting example, after receiving the second TA adjustment command, the terminal may first determine whether a confirmation message has been sent for the first TA adjustment command. If not, the terminal will not send the first confirmation message.

[0067] Reference Figure 2 , Figure 2 It is a partial flow chart of a method for adjusting TA in an embodiment of the present application. Figure 2 The steps shown may be executed by the terminal. More specifically, after receiving the second TA adjustment command, the terminal may execute Figure 2 S21, S25 shown, or, executing Figure 2 S21, S22 and S23 shown, or, executing Figure 2 S21, S22 and S24 are shown.

[0068] S21, the terminal determines whether the time interval between the time of receiving the second TA adjustment command and the time of receiving the first TA adjustment command is less than or equal to a preset threshold. If yes, execute S22, otherwise execute S25.

[0069] In a specific implementation, the terminal calculates the difference between the second moment and the first moment, and compares the difference with a preset threshold. The preset threshold may be configured by a network device or defined by a protocol, and this embodiment does not limit this. In a non-limiting example, the preset threshold may range from 5ms to 15ms.

[0070] When the time interval is less than or equal to the preset threshold, the uplink timing adjustment decision protection mechanism may be triggered. The uplink timing adjustment decision protection mechanism may include steps S22, S23 and S24.

[0071] S22, the terminal determines whether the second TA value is different from the first TA value. If so, execute S23, otherwise execute S24.

[0072] S23, the terminal performs timing adjustment according to the second TA value, and the adjusted TA value is the second TA value.

[0073] In a specific implementation, if the terminal has performed a timing adjustment based on the first TA value before S23, that is, the TA value is adjusted to the first TA value, the terminal can adjust the difference between the second TA value and the first TA value in S23 to adjust the TA value from the first TA value to the second TA value.

[0074] S24: The terminal ignores the second TA adjustment command.

[0075] Ignoring the second TA adjustment command may be deleting or discarding the second TA adjustment command. That is, when the second TA value is the same as the first TA value, the terminal will not perform timing adjustment according to the second TA value. Such a solution can avoid repeated timing adjustment.

[0076] S25, the terminal performs timing adjustment according to the second TA value, and the adjusted TA value is the sum of the first TA value and the second TA value.

[0077] Specifically, when the time interval between the second moment and the first moment is greater than the preset threshold, the terminal may not perform the decision protection mechanism of uplink timing adjustment. That is, the terminal directly adjusts according to the second TA value, and the adjusted TA value is the sum of the first TA value and the second TA value.

[0078] Continue to refer to Figure 1 In the specific implementation of S14, the network device receives a confirmation message for the second TA adjustment command sent by the terminal. For ease of description, the confirmation message for the second TA adjustment command is referred to as a second confirmation message below.

[0079] That is, if the terminal performs timing adjustment according to the second TA value, the terminal sends a second confirmation message to the network device. More specifically, the terminal may send the second confirmation message in the time slot M+K1.

[0080] In a non-limiting example, if the terminal receives a third TA adjustment command sent by the network device after S12, and the time interval between the reception time of the third TA adjustment command and the reception time of the first TA adjustment command is also less than or equal to the preset threshold, the terminal can ignore the third TA adjustment command. More specifically, in this case, the TA value carried by the third TA adjustment command and the first TA value and the second TA value may not be judged, and the third TA adjustment command may be directly ignored. In other words, the network device may be allowed to perform only one correction within the preset threshold to avoid the terminal from frequently performing timing adjustments, thereby achieving the problem of avoiding repeated adjustments as much as possible under the current premise of correction.

[0081] Reference Figure 3 , Figure 3 is a schematic diagram of the structure of a device for adjusting TA in an embodiment of the present application, Figure 3 The device for adjusting TA shown can be deployed in the above-mentioned terminal. Figure 3 The apparatus shown may include:

[0082] a timing adjustment module 31, configured to perform timing adjustment according to the second TA value if the time interval between the time instant of receiving the second TA adjustment command and the time instant of receiving the first TA adjustment command is less than or equal to a preset threshold, and the second TA value carried by the second TA adjustment command is different from the first TA value carried by the first TA adjustment command;

[0083] The first TA adjustment command is the TA adjustment command received last time, and the second TA adjustment command is the TA adjustment command received currently.

[0084] In the specific implementation, Figure 3 The device for adjusting TA shown may correspond to a chip with a communication function in a terminal; or correspond to a chip or chip module with a communication function in a terminal, or correspond to a terminal.

[0085] Reference Figure 4 , Figure 4 is a schematic diagram of the structure of a device for adjusting TA in an embodiment of the present application, Figure 4 The device for adjusting TA shown can be deployed in the above network equipment. Figure 4 The apparatus shown may include:

[0086] A sending module 41, configured to send a second TA adjustment command to the terminal, wherein the time interval between the sending time of the second TA adjustment command and the sending time of the first TA adjustment command is less than or equal to a preset threshold, the first TA adjustment command is the TA adjustment command sent last time, and the second TA adjustment command is the TA adjustment command sent currently;

[0087] The receiving module 42 is configured to receive a confirmation message, where the confirmation message is sent by the terminal in response to the second TA adjustment command when the second TA value carried by the second TA adjustment command is different from the first TA value carried by the first TA adjustment command.

[0088] In the specific implementation, Figure 4 The device for adjusting TA shown may correspond to a chip with communication function in a network device; or correspond to a chip or chip module with communication function in a network device, or correspond to a network device.

[0089] For more information about the working principle, working method, beneficial effects, etc. of the device for adjusting TA in the embodiment of the present application, please refer to the above description of the method for adjusting TA, which will not be repeated here.

[0090] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned method for adjusting TA is executed. The computer-readable storage medium may include ROM, RAM, a disk or an optical disk, etc. The storage medium may also include a non-volatile memory (non-volatile) or a non-transitory memory, etc.

[0091] The embodiment of the present application also provides a terminal, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor executes the steps of the above-mentioned method for adjusting the TA when running the computer program. The terminal includes but is not limited to terminal devices such as mobile phones, computers, and tablet computers. The terminal can be a mobile phone, a computer, a tablet computer, a vehicle-mounted terminal, a wearable device, etc., but is not limited thereto.

[0092] Reference Figure 5 , Figure 5 It is a structural diagram of a terminal in an embodiment of the present application. Figure 5The terminal shown includes a memory 51 and a processor 52. The processor 52 and the memory 51 are coupled. The memory 51 can be located inside the terminal or outside the terminal. The memory 51 and the processor 52 can be connected via a communication bus. The memory 51 stores a computer program that can be run on the processor 52. When the processor 52 runs the computer program, the steps in the method for adjusting the TA provided in the above embodiment are performed.

[0093] An embodiment of the present application further provides a network device, including a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor executes the steps of the above-mentioned method for adjusting the TA when running the computer program.

[0094] For the structure of the network device, please refer to Figure 5 The relevant description will not be repeated here.

[0095] It should be understood that in the embodiments of the present application, the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0096] It should also be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM) and direct rambus RAM (DR RAM).

[0097] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented using software, the above embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer program may be stored in a computer-readable storage medium, or may be transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired or wireless means.

[0098] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0099] In the several embodiments provided in the present application, it should be understood that the disclosed methods, devices and systems can be implemented in other ways. For example, the device embodiments described above are merely schematic; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0100] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0101] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units. For example, for each device or product applied to or integrated in a chip, each module / unit contained therein may be implemented in the form of hardware such as circuits, or at least some of the modules / units may be implemented in the form of software programs, which run on a processor integrated inside the chip, and the remaining (if any) modules / units may be implemented in the form of hardware such as circuits; for each device or product applied to or integrated in a chip module, each module / unit contained therein may be implemented in the form of hardware such as circuits, and different modules / units may be located in the same component (such as a chip, circuit module, etc.) or different components of the chip module, or at least some of the modules / units may be implemented in the form of software programs. The software programs may run on a processor integrated inside the chip, and the remaining (if any) modules / units may be implemented in the form of hardware such as circuits. The element can be implemented in the form of a software program, which runs on a processor integrated inside the chip module, and the remaining (if any) modules / units can be implemented in the form of hardware such as circuits; for various devices and products applied to or integrated in the terminal, the various modules / units contained therein can be implemented in the form of hardware such as circuits, and different modules / units can be located in the same component (for example, chip, circuit module, etc.) or in different components in the terminal, or, at least some modules / units can be implemented in the form of a software program, which runs on a processor integrated inside the terminal, and the remaining (if any) modules / units can be implemented in the form of hardware such as circuits.

[0102] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store program codes.

[0103] It should be understood that the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article indicates that the associated objects before and after are in an "or" relationship.

[0104] The "plurality" appearing in the embodiments of the present application refers to two or more.

[0105] The first, second, etc. descriptions appearing in the embodiments of the present application are only used for illustration and distinction of the description objects. There is no order, nor do they indicate any special limitation on the number of devices in the embodiments of the present application, and cannot constitute any limitation on the embodiments of the present application.

[0106] Although the present application is disclosed as above, the present application is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application. Therefore, the protection scope of the present application shall be subject to the scope defined by the claims.

Claims

1. A method for adjusting a timing advance TA, characterized in that: The method is applied to a terminal, comprising: If the time interval between the reception time of the second TA adjustment command and the reception time of the first TA adjustment command is less than or equal to the preset threshold, and the second TA value carried by the second TA adjustment command is different from the first TA value carried by the first TA adjustment command, performing timing adjustment according to the second TA value, and the adjusted TA value is the second TA value; The first TA adjustment command is the TA adjustment command received last time, and the second TA adjustment command is the TA adjustment command received currently; Wherein, the method further comprises: If the time interval is greater than the preset threshold, a timing adjustment is performed according to the second TA value, and the adjusted TA value is the sum of the first TA value and the second TA value.

2. The method for adjusting TA according to claim 1, characterized in that: The method further includes: if the time interval is less than or equal to the preset threshold, and the second TA value is the same as the first TA value, ignoring the second TA adjustment command.

3. The method for adjusting TA according to claim 1, characterized in that: The method further includes: determining whether a confirmation message has been sent for the first TA adjustment command, and if not, no confirmation message for the first TA adjustment command is sent.

4. The TA adjustment method according to claim 1, characterized in that: The first TA value and the second TA value are obtained by measuring different uplink signals by the network device.

5. A method for adjusting timing advance TA, characterized in that: The method is applied to a network device, comprising: If no confirmation message of the terminal for the first TA adjustment command is received within the first time period, or if the second TA value is different from the first TA value, sending a second TA adjustment command to the terminal, wherein the time interval between the sending time of the second TA adjustment command and the sending time of the first TA adjustment command is less than or equal to a preset threshold, the first TA adjustment command is the TA adjustment command sent last time, and the second TA adjustment command is the TA adjustment command sent currently; receiving a confirmation message, wherein the confirmation message is sent by the terminal for the second TA adjustment command when the second TA value carried by the second TA adjustment command is different from the first TA value carried by the first TA adjustment command; The starting time of the first time period is the sending time of the first TA adjustment command, the duration of the first time period is a preset duration, the first TA value is obtained by measuring the first uplink signal, and the second TA value is obtained by measuring the second uplink signal.

6. The method for adjusting TA according to claim 5, characterized in that: The second uplink signal is different from the first uplink signal.

7. A device for adjusting a timing advance TA, characterized in that: The device comprises: a timing adjustment module, configured to perform timing adjustment according to the second TA value if the time interval between the time instant of receiving the second TA adjustment command and the time instant of receiving the first TA adjustment command is less than or equal to a preset threshold, and the second TA value carried by the second TA adjustment command is different from the first TA value carried by the first TA adjustment command, and the adjusted TA value is the second TA value; The first TA adjustment command is the TA adjustment command received last time, and the second TA adjustment command is the TA adjustment command received currently; The timing adjustment module is further configured to perform timing adjustment according to the second TA value if the time interval is greater than the preset threshold, and the adjusted TA value is the sum of the first TA value and the second TA value.

8. A device for adjusting a timing advance TA, characterized in that: include: a sending module, configured to send a second TA adjustment command to the terminal if no confirmation message for the first TA adjustment command is received from the terminal within a first time period, or if the second TA value is different from the first TA value, wherein the time interval between the sending time of the second TA adjustment command and the sending time of the first TA adjustment command is less than or equal to a preset threshold, the first TA adjustment command is the TA adjustment command sent last time, and the second TA adjustment command is the TA adjustment command sent currently; a receiving module, configured to receive a confirmation message, where the confirmation message is sent by the terminal in response to the second TA adjustment command when the second TA value carried by the second TA adjustment command is different from the first TA value carried by the first TA adjustment command; The starting time of the first time period is the sending time of the first TA adjustment command, the duration of the first time period is a preset duration, the first TA value is obtained by measuring the first uplink signal, and the second TA value is obtained by measuring the second uplink signal.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for adjusting TA according to any one of claims 1 to 4 or the method for adjusting TA according to claim 5 or 6 is executed.

10. A terminal comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor runs the computer program, the processor performs the steps of the method for adjusting the TA according to any one of claims 1 to 4.

11. A network device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor runs the computer program, the processor performs the steps of the method for adjusting TA according to claim 5 or 6.