Timing advance adjustment method, device, electronic device and storage medium
By comparing the ID value and TA value of the timing advance command between the terminal device and the base station, and avoiding repeated adjustments, the problem of unreliable communication between the base station and the terminal device is solved, and the reliability of communication and the accuracy of uplink transmission time is achieved.
Patent Information
- Application Number
- CN202211288886.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-20
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2042-10-20
AI Technical Summary
In a long-term evolution system, synchronous communication between the base station and the terminal device is susceptible to timing offsets caused by repeated timing advance commands, resulting in unreliable communication.
The terminal device and the base station compare the ID value and TA value of the timing advance command to determine whether it is a duplicate command. If the same is true, it refuses to adjust or adjusts according to the difference value to avoid duplicate adjustments and ensures the reliability of synchronous communication.
It effectively avoids timing offset caused by repeated timing advance commands, and ensures the reliability of synchronous communication between the base station and the terminal device and the accuracy of uplink transmission time.
Smart Images

Figure CN115643633B_ABST
Abstract
Description
Technical field
[0001] The embodiments of the present application relate to the field of communication technologies, and in particular to a method, device, electronic device, and storage medium for adjusting a timing advance. [Background Technology]
[0002] In the Long Term Evolution (LTE) system, when a base station and a terminal device are in a Radio Resource Control (RRC) connection, to avoid signal interference, the base station and the terminal device must ensure uplink and downlink synchronization. This means that the downlink signal sent by the base station reaches the terminal device at approximately the same time as the uplink signal sent by the terminal device reaches the base station. However, the uplink signal transmission rate is typically slower than the downlink signal transmission rate, which means that the uplink signal must be sent before the downlink signal. In other words, the uplink signal has a timing advance (TA) compared to the downlink signal.
[0003] In the prior art, upon receiving a timing advance command from a base station, a terminal device adjusts its uplink transmission time based on the TA carried in the timing advance command and sends an acknowledgement of the adjusted time to the base station. If, due to environmental factors, the base station does not receive the acknowledgement, this triggers the base station's retransmission mechanism. This means the base station will resend the same timing advance command, causing the terminal device to adjust its uplink transmission time again, resulting in loss of synchronous communication between the base station and the terminal. [Summary of the invention]
[0004] The embodiments of the present application provide a timing advance adjustment method, device, electronic device and storage medium, which can avoid the terminal device from making repeated adjustments based on the same timing advance command, thereby ensuring the reliability of synchronous communication between the base station and the terminal device.
[0005] In a first aspect, an embodiment of the present application provides a method for adjusting a timing advance, applied to a terminal device, the method comprising:
[0006] receiving an i-th timing advance command, where the i-th timing advance command carries a corresponding timing advance amount TA and an ID value corresponding to the i-th timing advance command, where i is a positive integer not less than 2;
[0007] If the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command received historically, and the TA corresponding to the i-th timing advance command is the same as the TA corresponding to the i-1-th timing advance command, refuse to adjust the uplink transmission time based on the TA corresponding to the i-th timing advance command.
[0008] In an embodiment of the present application, the timing advance command received by the terminal device carries at least a corresponding TA and a corresponding ID value. When the TA and the corresponding ID value received by the terminal device this time are the same as the TA and the corresponding ID value carried in the timing advance command received by the terminal device last time, it can be considered that the timing advance command received by the terminal device at this time is a repeated command. The terminal device will refuse to adjust the uplink transmission time based on this TA, avoid the generation of timing offset caused by repeated adjustment, and thus ensure the reliability of synchronous communication between the base station and the terminal device.
[0009] Optionally, after receiving the i-th advance command, the method includes:
[0010] If the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command, and the TA corresponding to the i-th timing advance command is different from the TA corresponding to the i-1-th timing advance command, the uplink transmission time is adjusted based on the difference between the TA corresponding to the i-th timing advance command and the TA corresponding to the i-1-th timing advance command.
[0011] In an embodiment of the present application, the timing advance command currently received by the terminal device carries the corresponding TA and the corresponding ID value, and the timing advance command received by the terminal device for the last adjacent time carries the corresponding TA and the corresponding ID value. If the ID value corresponding to the timing advance command currently received is the same as the ID value corresponding to the timing advance command received for the last adjacent time, and the TA corresponding to the timing advance command currently received is different from the TA corresponding to the timing advance command received for the last adjacent time, it can be considered that this timing advance command is not a repeated issuance of the last adjacent timing advance command. Therefore, at this time, the terminal device can adjust the uplink transmission time based on the difference between the TA corresponding to the timing advance command currently received and the TA corresponding to the timing advance command for the last adjacent time, thereby improving the accuracy of the uplink transmission time of the terminal device.
[0012] Optionally, after receiving the i-th advance command, the method includes:
[0013] If the ID value corresponding to the i-th timing advance command is different from the ID value corresponding to the (i-1)-th timing advance command, the uplink transmission time is adjusted based on the TA corresponding to the i-th timing advance command.
[0014] In an embodiment of the present application, the timing advance command currently received by the terminal device carries the corresponding TA and the corresponding ID value, and the timing advance command received by the terminal device for the last time carries the corresponding TA and the corresponding ID value. If the ID value corresponding to the timing advance command currently received is different from the ID value corresponding to the last timing advance command, it can be considered that the current timing advance command is not a repeated issuance of the last timing advance command. Therefore, at this time, the terminal device can adjust the uplink transmission time based on the TA corresponding to the timing advance command currently received, thereby improving the reliability of the timing advance adjustment.
[0015] In a second aspect, the present application provides a method for adjusting a timing advance, applied to a base station, the method comprising:
[0016] Sending an (i-1)th timing advance command to the terminal device, where the (i-1)th timing advance command carries the corresponding TA and the ID value corresponding to the (i-1)th timing advance command, where i is a positive integer not less than 2;
[0017] If the target confirmation character is not received and the TA between the terminal device and the terminal device is not re-determined, the i-th timing advance command is sent to the terminal device, and the i-th timing advance command carries the corresponding TA and the ID value corresponding to the i-th timing advance command. When the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command, and the TA corresponding to the i-th timing advance command is the same as the TA corresponding to the i-1-th timing advance command, it indicates that the terminal device does not need to adjust the uplink transmission time based on the received TA corresponding to the i-th timing advance command, and the target confirmation character is used to indicate that the terminal device has received the i-1-th timing advance command.
[0018] In an embodiment of the present application, the timing advance command sent by the base station to the terminal device carries the corresponding TA and the corresponding ID value. When the base station does not receive the target confirmation character used to indicate that the terminal device has received the adjacent last timing advance command, the base station will send the timing advance command to the terminal device again. The parameters carried by the timing advance command sent again are exactly the same as the timing advance command sent last time, so that the terminal device determines that the timing advance command received this time is a repeated issuance of the timing advance command received last time, and refuses to adjust the transmission time again based on the TA in the timing advance command at this time, thereby ensuring the reliability of synchronous communication between the base station and the terminal device.
[0019] Optionally, after sending the (i-1)th timing advance command, the method includes:
[0020] If the target confirmation character is not received and the TA between the terminal device and the terminal device is re-determined, an i-th timing advance command is sent to the terminal device, and the i-th timing advance command carries the re-determined TA and the ID value corresponding to the i-th timing advance command. When the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command, and the TA corresponding to the i-th timing advance command is different from the TA value corresponding to the i-1-th timing advance command, it indicates that the terminal device will adjust the uplink transmission time based on the difference between the TA corresponding to the received i-th timing advance command and the TA corresponding to the i-1-th timing advance command.
[0021] In an embodiment of the present application, the timing advance command sent by the base station to the terminal device carries a TA and a corresponding ID value. When the base station does not receive a target confirmation character indicating that the terminal device has received the above-mentioned timing advance command, the base station will send the timing advance command to the terminal device again. The TA in the timing advance command sent again is the TA obtained by the base station by measuring the above-mentioned terminal device again, so that when the TA value carried in the timing advance command received again by the terminal device is different from the TA received last time, the uplink transmission time can be adjusted based on the difference between this TA and the TA corresponding to the last adjacent timing advance command, thereby improving the accuracy of the uplink transmission time of the terminal device.
[0022] Optionally, after sending the (i-1)th timing advance command, the method includes:
[0023] If the target confirmation character is received and the TA between the terminal device and the terminal device is re-determined, the i-th timing advance command is sent to the terminal, and the i-th timing advance command carries the re-determined TA and the ID value corresponding to the i-th timing advance command. When the ID value corresponding to the i-th timing advance command is different from the ID value corresponding to the i-1-th timing advance command, it indicates that the terminal device will adjust the uplink transmission time based on the TA corresponding to the received i-th timing advance command.
[0024] In an embodiment of the present application, the timing advance command sent by the base station to the terminal device carries a TA and a corresponding ID value. After the base station receives a target confirmation character indicating that the terminal device has received the above-mentioned timing advance command, if the base station sends a timing advance command to the terminal device again, the TA in the timing advance command sent again is the TA obtained by the base station through another measurement of the above-mentioned terminal device, and there is a difference in the ID value corresponding to the above-mentioned TA, so that when the TA value and the corresponding ID value carried in the timing advance command received again by the terminal device are different from the TA and the corresponding ID value received last time, the uplink transmission time can be adjusted based on this TA, thereby improving the accuracy of the uplink transmission time of the terminal device.
[0025] In a third aspect, an embodiment of the present application provides a terminal device, the terminal device comprising:
[0026] a receiving unit, configured to receive an i-th timing advance command, where the i-th timing advance command carries a corresponding timing advance amount TA and an ID value corresponding to the i-th timing advance command, where i is a positive integer not less than 2;
[0027] a processing unit, configured to refuse to adjust the uplink transmission time based on the TA corresponding to the i-th timing advance command, if the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command received historically, and the TA corresponding to the i-th timing advance command is the same as the TA corresponding to the i-1-th timing advance command.
[0028] Optionally, the processing unit is further used to adjust the uplink transmission time based on the difference between the TA corresponding to the i-th timing advance command and the TA corresponding to the i-1-th timing advance command if the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command, and the TA corresponding to the i-th timing advance command is different from the TA corresponding to the i-1-th timing advance command.
[0029] Optionally, the processing unit is further used to adjust the uplink transmission time based on the TA corresponding to the i-th timing advance command if the ID value corresponding to the i-th timing advance command is different from the ID value corresponding to the i-1-th timing advance command.
[0030] In a fourth aspect, an embodiment of the present application provides a base station, comprising:
[0031] a sending unit, configured to send an i-1th timing advance command to a terminal device, where the i-1th timing advance command carries a corresponding TA and an ID value corresponding to the i-1th timing advance command, where i is a positive integer not less than 2;
[0032] A processing unit is configured to send an i-th timing advance command to the terminal device if a target confirmation character is not received and the TA between the terminal device and the terminal device is not re-determined, the i-th timing advance command carrying the corresponding TA and the ID value corresponding to the i-th timing advance command, wherein when the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command, and the TA corresponding to the i-th timing advance command is the same as the TA corresponding to the i-1-th timing advance command, it indicates that the terminal device does not need to adjust the uplink transmission time based on the received TA corresponding to the i-th timing advance command, and the target confirmation character is used to indicate that the terminal device has received the i-1-th timing advance command.
[0033] Optionally, the processing unit is further used to send an i-th timing advance command to the terminal device if the target confirmation character is not received and the TA between the terminal device and the terminal device is re-determined, the i-th timing advance command carrying the re-determined TA and the ID value corresponding to the i-th timing advance command, wherein, when the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command, and the TA corresponding to the i-th timing advance command is different from the TA value corresponding to the i-1-th timing advance command, it indicates that the terminal device will adjust the uplink transmission time based on the difference between the TA corresponding to the received i-th timing advance command and the TA corresponding to the i-1-th timing advance command.
[0034] Optionally, the processing unit is further used to send the i-th timing advance command to the terminal if the target confirmation character is received and the TA between the terminal device and the terminal device is re-determined, and the i-th timing advance command carries the re-determined TA and the ID value corresponding to the i-th timing advance command, wherein, when the ID value corresponding to the i-th timing advance command is different from the ID value corresponding to the i-1-th timing advance command, it indicates that the terminal device will adjust the uplink transmission time based on the TA corresponding to the received i-th timing advance command.
[0035] In a fifth aspect, an embodiment of the present invention provides an electronic device, comprising a processor and a memory, wherein the processor is configured to implement the steps of the method described in any embodiment of the first aspect or the second aspect when executing a computer program stored in the memory.
[0036] In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in any embodiment of the first aspect or the second aspect.
[0037] It should be understood that the second to sixth aspects of the embodiments of the present invention are consistent with the technical solutions of the first aspect of the embodiments of the present invention, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar, which will not be repeated here.
Brief Description of the Drawings
[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0039] Figure 1 A diagram of a timing advance adjustment method provided in an embodiment of the present application;
[0040] Figure 2 A diagram of another timing advance adjustment method provided in an embodiment of the present application;
[0041] Figure 3 A diagram of another timing advance adjustment method provided in an embodiment of the present application;
[0042] Figure 4 A timing advance adjustment device provided in an embodiment of the present application;
[0043] Figure 5 A timing advance adjustment device provided in an embodiment of the present application;
[0044] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0045] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. [Specific implementation method]
[0046] In order to better understand the technical solutions of this specification, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0047] It should be clear that the embodiments described are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this specification.
[0048] The terms used in the examples of this application are for the purpose of describing specific embodiments only and are not intended to limit this specification. The singular forms "a," "an," "the," and "the" used in the examples of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0049] In the Long Term Evolution (LTE) system, to avoid signal interference, it is necessary to ensure that the downlink signal sent by the base station reaches the terminal device at approximately the same time as the uplink signal sent by the terminal device reaches the base station. Therefore, the base station sends a timing advance command to the terminal device. The terminal device adjusts the uplink transmission time according to the command to ensure the synchronization of uplink and downlink signals.
[0050] The applicant's research has revealed that, in the prior art, upon receiving a timing advance command from a base station, a terminal device adjusts its uplink transmission time based on the TA carried in the timing advance command and sends an acknowledgement character of the adjusted time to the base station. However, if, due to environmental factors, the base station fails to receive the acknowledgement character, the base station's retransmission mechanism may be triggered. This means the base station will reissue the same timing advance command, causing the terminal device to adjust its uplink transmission time again, resulting in loss of synchronous communication between the base station and the terminal.
[0051] In view of this, an embodiment of the present application provides a method for adjusting the timing advance amount, in which the timing advance command received by the terminal device carries at least a TA and an ID value corresponding to the TA. When the TA and the corresponding ID value received by the terminal device this time are the same as the TA and the corresponding ID value carried in the timing advance command received by the terminal device last time, it can be considered that the timing advance command received by the terminal device at this time is a repeated command, and the terminal device will refuse to adjust the uplink transmission time based on this TA, avoiding the generation of timing offset caused by repeated adjustment, thereby ensuring the reliability of synchronous communication between the base station and the terminal device.
[0052] The following describes the technical solutions provided by the embodiments of the present invention in conjunction with the accompanying drawings. Figure 1 An embodiment of the present invention provides a method for adjusting a timing advance. The process of the method is described as follows:
[0053] Step 101: The base station sends the (i-1)th timing advance command to the terminal device.
[0054] Step 102: The terminal device sends a target confirmation character to the base station.
[0055] Step 103: If the base station does not receive the target confirmation character and does not re-determine the TA between itself and the terminal device, it sends the i-th timing advance command to the terminal device.
[0056] In the embodiment of the present application, the base station first sends the i-1th timing advance command to the terminal device. The i-1th command carries the corresponding TA and the ID value corresponding to the i-1th timing advance command. After receiving the i-1th timing advance command, the terminal device can be considered to have adjusted its own uplink transmission time based on the corresponding TA carried in the i-th command. On the other hand, the terminal device also feeds back a target confirmation character to the base station to indicate that the terminal device has received the i-1th timing advance command sent by the base station. It should be understood that i is a positive integer not less than 2.
[0057] If the base station does not receive the target confirmation character, it will assume that the terminal device has not received the previously sent (i-1) timing advance command. The base station will then resend the i-th timing advance command to the terminal device based on its own retransmission mechanism. For example, the i-th timing advance command carries the corresponding TA and the ID value corresponding to the i-th timing advance command.
[0058] Step 104: If the terminal device determines that the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command received in the past, and the TA corresponding to the i-th timing advance command is the same as the TA corresponding to the i-1-th timing advance command, refuse to adjust the uplink transmission time based on the TA corresponding to the i-th timing advance command.
[0059] In an embodiment of the present application, after receiving the i-th timing advance command, the terminal device can determine whether the i-th timing advance command is the same as the i-1-th timing advance command by comparing whether the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command, and whether the TA corresponding to the i-th timing advance command is the same as the TA corresponding to the i-1-th timing advance command.
[0060] If the terminal device determines that the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command, and the TA corresponding to the i-th timing advance command is the same as the TA corresponding to the i-1-th timing advance command, then the i-th timing advance command and the i-1-th timing advance command can be considered to be the same timing advance command. Since it can be considered that the terminal has historically adjusted its own uplink transmission time based on the TA corresponding to the i-1-th timing advance command, the current terminal device can refuse to adjust its own uplink transmission time again based on the TA corresponding to the i-th timing advance command that is the same as the TA corresponding to the i-1-th timing advance command, thereby ensuring the reliability of synchronous communication between the base station and the terminal device.
[0061] For example, the ID value carried in the i-1th timing advance command received by the terminal device is 1 and the corresponding TA is TA1, and the ID value carried in the i-th timing advance command received is 1 and the corresponding TA is TA1. At this time, the ID value carried in the i-1th timing advance command is the same as the ID value carried in the i-th timing advance command, and the TA carried in the i-1th timing advance command is the same as the TA carried in the i-th timing advance command. It can be considered that the i-th timing advance command is a repeated issuance of the i-1th timing advance command, so the terminal device refuses to adjust the uplink transmission time again based on TA1 carried by the i-th timing advance command.
[0062] See Figure 2 Another timing advance adjustment method provided by an embodiment of the present invention is described as follows:
[0063] Step 201: The base station sends the (i-1)th timing advance command to the terminal device.
[0064] Step 202: The terminal device sends a target confirmation character to the base station.
[0065] Step 203: If the base station does not receive the target confirmation character and redetermines the TA between the base station and the terminal device, the base station sends the i-th timing advance command to the terminal device.
[0066] In the embodiment of the present application, the base station first sends the i-1th timing advance command to the terminal device. The i-1th command carries the corresponding TA and the ID value corresponding to the i-1th timing advance command. After receiving the i-1th timing advance command, the terminal device can be considered to have adjusted its own uplink transmission time based on the corresponding TA carried in the i-th command. On the other hand, the terminal device also feeds back a target confirmation character to the base station to indicate that the terminal device has received the i-1th timing advance command sent by the base station. It should be understood that i is a positive integer not less than 2.
[0067] Considering that, if the base station does not receive the target confirmation character corresponding to the (i-1)th timing advance command for a long time, the terminal device may have changed its location, causing the corresponding timing advance amount to change and no longer be the TA corresponding to the (i-1)th timing advance command. Therefore, for example, if the base station re-determines a new TA between itself and the terminal device, then when sending the (i)th timing advance command to the terminal device, it can be considered to carry the above-mentioned new TA and the ID value corresponding to the (i)th timing advance command.
[0068] It should be understood that since the base station did not receive the target confirmation character, when sending the i-th timing advance command, the ID value it carries should be the same as the ID value carried in the (i-1)-th timing advance command. Since the TA value is updated, the i-th timing advance command carries the updated TA, that is, the TA corresponding to the i-th timing advance command.
[0069] Step 204: If the terminal device determines that the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command, and the TA corresponding to the i-th timing advance command is different from the TA corresponding to the i-1-th timing advance command, the uplink transmission time will be adjusted based on the difference between the TA corresponding to the i-th timing advance command and the TA corresponding to the i-1-th timing advance command.
[0070] In an embodiment of the present application, after the terminal device receives the ID value corresponding to the i-th timing advance command and the TA corresponding to the i-th timing advance command, the terminal device can determine whether the i-th timing advance command is the same as the i-1-th timing advance command by comparing whether the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command, and whether the TA corresponding to the i-th timing advance command is the same as the TA corresponding to the i-1-th timing advance command.
[0071] If the terminal device determines that the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command, and the TA corresponding to the i-th timing advance command is different from the TA corresponding to the i-1-th timing advance command, then it can be considered that the i-th timing advance command and the i-1-th timing advance command are not the same timing advance command, so it can be considered that the i-th timing advance command is adjusted based on the adjustment based on the i-1-th timing advance command. Therefore, the current terminal device can adjust its own uplink transmission time again based on the difference between the TA corresponding to the i-th timing advance command and the TA corresponding to the i-1-th timing advance command, thereby ensuring the reliability of synchronous communication between the base station and the terminal device.
[0072] For example, the ID value carried in the i-1th timing advance command received by the terminal device is 1 and the corresponding TA is TA1, and the ID value carried in the i-th timing advance command received is 1 and the corresponding TA is TA2. At this time, the ID value carried in the i-1th timing advance command is the same as the ID value carried in the i-th timing advance command, and the TA carried in the i-1th timing advance command is different from the TA carried in the i-th timing advance command. It can be considered that the i-th timing advance command is adjusted based on the adjustment of the i-1th timing advance command, so the terminal device adjusts the uplink transmission time based on the difference between the received TA2 and TA1.
[0073] See Figure 3 Another timing advance adjustment method provided by an embodiment of the present invention is described as follows:
[0074] Step 301: The base station sends the (i-1)th timing advance command to the terminal device.
[0075] Step 302: The terminal device sends a target confirmation character to the base station.
[0076] Step 303: If the base station receives the target confirmation character and redetermines the TA between the base station and the terminal device, the base station sends the i-th timing advance command to the terminal device.
[0077] In the embodiment of the present application, the base station first sends the i-1th timing advance command to the terminal device. The i-1th command carries the corresponding TA and the ID value corresponding to the i-1th timing advance command. After receiving the i-1th timing advance command, the terminal device can be considered to have adjusted its own uplink transmission time based on the corresponding TA carried in the i-th command. On the other hand, the terminal device also feeds back a target confirmation character to the base station to indicate that the terminal device has received the i-1th timing advance command sent by the base station. It should be understood that i is a positive integer not less than 2.
[0078] If the base station receives the above-mentioned target confirmation character, then the base station will consider that the i-1th timing advance command sent in the past has been received by the terminal device. At this time, if the base station re-determines the new TA between the base station and the terminal device, then in order to ensure the reliability of synchronous communication between the base station and the terminal device, it is necessary to adjust the uplink transmission time of the terminal device, that is, the base station needs to send the i-th timing advance command to the terminal device. Then, when sending the i-th timing advance command to the terminal device, it can be considered to carry the above-mentioned new TA and the ID value corresponding to the i-th timing advance command, that is, the above-mentioned new TA is used as the TA corresponding to the i-th timing advance command.
[0079] It should be understood that since the base station has received the target confirmation character, when sending the i-th timing advance command, the ID value it carries is different from the ID value carried in the (i-1)-th timing advance command. Since the TA value is updated, the i-th timing advance command carries the updated TA, that is, the TA corresponding to the i-th timing advance command.
[0080] Step 304: If the terminal device determines that the ID value corresponding to the i-th timing advance command is different from the ID value corresponding to the (i-1)-th timing advance command, it adjusts the uplink transmission time based on the TA corresponding to the i-th timing advance command.
[0081] In an embodiment of the present application, after the terminal device receives the corresponding ID value carried by the i-th timing advance command and the TA corresponding to the i-th timing advance command, the terminal device can determine whether the i-th timing advance command is the same as the i-1-th timing advance command by comparing whether the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command, and whether the TA corresponding to the i-th timing advance command is the same as the TA corresponding to the i-1-th timing advance command.
[0082] If the terminal device determines that the ID value corresponding to the i-th timing advance command is different from the ID value corresponding to the i-1-th timing advance command, it can be considered that the i-th timing advance command and the i-1-th timing advance command are not the same timing advance command, so it can be considered that the i-th timing advance command is adjusted based on the adjustment based on the i-1-th timing advance command. Therefore, the current terminal device can adjust its own uplink transmission time again based on the TA corresponding to the i-th timing advance command, thereby ensuring the reliability of synchronous communication between the base station and the terminal device.
[0083] For example, the ID value carried in the i-1th timing advance command received by the terminal device is 1 and the corresponding TA is TA1, and the ID value carried in the i-th timing advance command received is 2 and the corresponding TA is TA2. At this time, the ID value carried in the i-1th timing advance command is different from the ID value carried in the i-th timing advance command. It can be considered that the i-th timing advance command is adjusted based on the adjustment of the i-1th timing advance command, so the terminal device adjusts the uplink transmission time based on TA2 carried by the i-th timing advance command.
[0084] See Figure 4 Based on the same inventive concept, an embodiment of the present application provides a timing advance adjustment device, which includes: a receiving unit 401 and a processing unit 402.
[0085] The receiving unit 401 is configured to receive an i-th timing advance command, where the i-th timing advance command carries a corresponding timing advance amount TA and an ID value corresponding to the i-th timing advance command, where i is a positive integer not less than 2;
[0086] The processing unit 402 is configured to refuse to adjust the uplink transmission time based on the TA corresponding to the i-th timing advance command if the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command received historically, and the TA corresponding to the i-th timing advance command is the same as the TA corresponding to the i-1-th timing advance command.
[0087] Optionally, the processing unit 402 is further used to adjust the uplink transmission time based on the difference between the TA corresponding to the i-th timing advance command and the TA corresponding to the i-1-th timing advance command if the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command, and the TA corresponding to the i-th timing advance command is different from the TA corresponding to the i-1-th timing advance command.
[0088] Optionally, the processing unit 402 is further configured to adjust the uplink transmission time based on the TA corresponding to the i-th timing advance command if the ID value corresponding to the i-th timing advance command is different from the ID value corresponding to the (i-1)-th timing advance command.
[0089] See Figure 5 Based on the same inventive concept, an embodiment of the present application provides a timing advance adjustment device, which includes: a sending unit 501 and a processing unit 502.
[0090] A sending unit 501 is configured to send an (i-1)th timing advance command to a terminal device, where the (i-1)th timing advance command carries a corresponding TA and an ID value corresponding to the (i-1)th timing advance command, where i is a positive integer not less than 2.
[0091] Processing unit 502 is configured to, if a target confirmation character is not received and the TA between the terminal device and the terminal device is not re-determined, send an i-th timing advance command to the terminal device, where the i-th timing advance command carries the corresponding TA and the ID value corresponding to the i-th timing advance command, wherein when the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command, and the TA corresponding to the i-th timing advance command is the same as the TA corresponding to the i-1-th timing advance command, it indicates that the terminal device does not need to adjust the uplink transmission time based on the TA corresponding to the received i-th timing advance command. The target confirmation character is used to indicate that the terminal device has received the i-1-th timing advance command.
[0092] Optionally, the processing unit 502 is further used to send an i-th timing advance command to the terminal device if the target confirmation character is not received and the TA between the terminal device and the terminal device is re-determined, the i-th timing advance command carrying the re-determined TA and the ID value corresponding to the i-th timing advance command, wherein, when the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command, and the TA corresponding to the i-th timing advance command is different from the TA value corresponding to the i-1-th timing advance command, it indicates that the terminal device will adjust the uplink transmission time based on the difference between the TA corresponding to the received i-th timing advance command and the TA corresponding to the i-1-th timing advance command.
[0093] Optionally, the processing unit 502 is further used to send an i-th timing advance command to the terminal if a target confirmation character is received and the TA between the terminal device and the terminal device is re-determined, where the i-th timing advance command carries the re-determined TA and the ID value corresponding to the i-th timing advance command, wherein when the ID value corresponding to the i-th timing advance command is different from the ID value corresponding to the i-1-th timing advance command, it indicates that the terminal device will adjust the uplink transmission time based on the TA corresponding to the received i-th timing advance command.
[0094] See Figure 6 Based on the same inventive concept, the embodiment of the present application further provides an electronic device 100, which may include at least one processor, the at least one processor being configured to execute a computer program stored in a memory to implement the embodiment of the present application. Figure 1-3 The steps of the timing advance adjustment method are shown.
[0095] Optionally, the processor may specifically be a central processing unit, a specific ASIC, or one or more integrated circuits for controlling program execution.
[0096] Optionally, the electronic device 100 may further include a memory connected to at least one processor, and the memory may include ROM, RAM, and disk storage. The memory is used to store data required by the processor when it is running, that is, it stores instructions that can be executed by at least one processor. At least one processor executes the instructions stored in the memory to execute the following operations: Figure 1-3 The method shown in FIG.
[0097] The physical devices corresponding to the receiving unit 401 and the processing unit 402 can both be the aforementioned processors. Figure 1 Therefore, for the functions that can be realized by each functional module in the electronic device, please refer to Figure 1-3The corresponding description in the illustrated embodiment will not be repeated here.
[0098] The electronic device 100 may be a smart electronic device such as a smartphone or a tablet computer. This embodiment does not limit the form of the electronic device.
[0099] Instance, Figure 6 The structural diagram of the electronic device 100 is shown by taking a terminal device as an example. Figure 6 As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0100] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0101] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0102] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0103] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly retrieve it from the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0104] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.
[0105] The charging management module 140 is configured to receive charging input from a charger.
[0106] The power management module 141 is used to connect the battery 142 , the charging management module 140 and the processor 110 .
[0107] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that electronic device 100 can communicate with a network and other devices via wireless communication technology. Wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. GNSS may include the global positioning system (GPS), the global navigation satellite system (GLONASS), the Beidou navigation satellite system (BDS), the quasi-zenith satellite system (QZSS) and / or the satellite based augmentation system (SBAS).
[0108] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor.
[0109] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel.
[0110] The ISP is used to process data fed back by the camera 193 .
[0111] The camera 193 is used to capture still images or videos.
[0112] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0113] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. This allows electronic device 100 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.
[0114] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0115] The internal memory 121 can be used to store computer executable program codes, and the executable program codes include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.
[0116] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, and the application processor.
[0117] The audio module 170 is used to convert digital audio information into analog audio signals for output, and is also used to convert analog audio input into digital audio signals.
[0118] The speaker 170A, also called a "horn", is used to convert audio electrical signals into sound signals.
[0119] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals.
[0120] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals.
[0121] The buttons 190 include a power button, a volume button, and the like.
[0122] Motor 191 can generate vibration prompts.
[0123] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.
[0124] The SIM card interface 195 is used to connect a SIM card. In some embodiments, the electronic device 100 uses an eSIM, or embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0125] The embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores computer instructions, which, when executed on a computer, cause the computer to execute the following Figure 1-3 method.
[0126] See Figure 7 Based on the same inventive concept, an embodiment of the present application provides an electronic device 200, which includes at least one processor 601, and the processor 601 is used to execute a computer program stored in a memory to implement the embodiment of the present application. Figure 1-3 The steps of the timing advance adjustment method shown in FIG.
[0127] Optionally, the processor 601 may specifically be a central processing unit, a specific ASIC, or one or more integrated circuits for controlling program execution.
[0128] Optionally, the electronic device 200 may further include a memory 602 connected to the at least one processor 601. The memory 602 may include ROM, RAM, and disk storage. The memory 602 is used to store data required by the processor 601 when it is running, that is, it stores instructions that can be executed by the at least one processor 601. The at least one processor 601 executes the instructions stored in the memory 602 to execute the following operations: Figure 1 The method shown. The number of the memory 602 is one or more. The memory 602 is Figure 7 It is shown together with the above, but it should be noted that the memory 602 is not a required functional module, so Figure 7 Shown in dashed lines.
[0129] The physical devices corresponding to the sending unit 501 and the processing unit 502 can both be the aforementioned processor 601. The electronic device can be used to execute Figure 1-3 Therefore, for the functions that can be realized by each functional module in the electronic device, please refer to Figure 1-3 The corresponding description in the illustrated embodiment will not be repeated here.
[0130] The embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores computer instructions, which, when executed on a computer, cause the computer to execute the following Figure 1-3 method.
[0131] The above are only preferred embodiments of this specification and are not intended to limit this specification. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this specification should be included in the scope of protection of this specification.
Claims
1. A method for adjusting timing advance, characterized in that: Applied to a terminal device, the method includes: receiving an i-th timing advance command, where the i-th timing advance command carries a corresponding timing advance amount TA and an ID value corresponding to the i-th timing advance command, where i is a positive integer not less than 2; If the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command received historically, and the TA corresponding to the i-th timing advance command is the same as the TA corresponding to the i-1-th timing advance command, refuse to adjust the uplink transmission time based on the TA corresponding to the i-th timing advance command.
2. The method according to claim 1, characterized in that After receiving the i-th advance command, the method includes: If the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command, and the TA corresponding to the i-th timing advance command is different from the TA corresponding to the i-1-th timing advance command, the uplink transmission time is adjusted based on the difference between the TA corresponding to the i-th timing advance command and the TA corresponding to the i-1-th timing advance command.
3. The method according to claim 1, characterized in that After receiving the i-th advance command, the method includes: If the ID value corresponding to the i-th timing advance command is different from the ID value corresponding to the (i-1)-th timing advance command, the uplink transmission time is adjusted based on the TA corresponding to the i-th timing advance command.
4. A method for adjusting timing advance, characterized in that: Applied to a base station, the method includes: Sending an (i-1)th timing advance command to the terminal device, where the (i-1)th timing advance command carries the corresponding TA and the ID value corresponding to the (i-1)th timing advance command, where i is a positive integer not less than 2; If the target confirmation character is not received and the TA between the terminal device and the terminal device is not re-determined, the i-th timing advance command is sent to the terminal device, and the i-th timing advance command carries the corresponding TA and the ID value corresponding to the i-th timing advance command. When the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command, and the TA corresponding to the i-th timing advance command is the same as the TA corresponding to the i-1-th timing advance command, it indicates that the terminal device does not need to adjust the uplink transmission time based on the TA corresponding to the received i-th timing advance command, and the target confirmation character is used to indicate that the terminal device has received the i-1-th timing advance command.
5. The method according to claim 4, characterized in that The method comprises: If the target confirmation character is not received and the TA between the terminal device and the terminal device is re-determined, an i-th timing advance command is sent to the terminal device, and the i-th timing advance command carries the re-determined TA and the ID value corresponding to the i-th timing advance command. When the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command, and the TA corresponding to the i-th timing advance command is different from the TA value corresponding to the i-1-th timing advance command, it indicates that the terminal device will adjust the uplink transmission time based on the difference between the TA corresponding to the received i-th timing advance command and the TA corresponding to the i-1-th timing advance command.
6. The method according to claim 4, characterized in that The method comprises: If the target confirmation character is received and the TA between the terminal device and the terminal device is re-determined, the i-th timing advance command is sent to the terminal, and the i-th timing advance command carries the re-determined TA and the ID value corresponding to the i-th timing advance command. When the ID value corresponding to the i-th timing advance command is different from the ID value corresponding to the i-1-th timing advance command, it indicates that the terminal device will adjust the uplink transmission time based on the TA corresponding to the received i-th timing advance command.
7. A timing advance adjustment device, characterized in that: The device comprises: a receiving unit, configured to receive an i-th timing advance command, where the i-th timing advance command carries a corresponding timing advance amount TA and an ID value corresponding to the i-th timing advance command, where i is a positive integer not less than 2; a processing unit, configured to refuse to adjust the uplink transmission time based on the TA corresponding to the i-th timing advance command, if the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command received historically, and the TA corresponding to the i-th timing advance command is the same as the TA corresponding to the i-1-th timing advance command.
8. A timing advance adjustment device, characterized in that: The device comprises: a sending unit, configured to send an i-1th timing advance command to a terminal device, where the i-1th timing advance command carries a corresponding TA and an ID value corresponding to the i-1th timing advance command, where i is a positive integer not less than 2; A processing unit, configured to send an i-th timing advance command to the terminal device if a target confirmation character is not received and the TA between the terminal device and the terminal device is not re-determined, the i-th timing advance command carrying the corresponding TA and the ID value corresponding to the i-th timing advance command, wherein when the ID value corresponding to the i-th timing advance command is the same as the ID value corresponding to the i-1-th timing advance command, and the TA corresponding to the i-th timing advance command is the same as the TA corresponding to the i-1-th timing advance command, it indicates that the terminal device does not need to adjust the uplink transmission time based on the received TA corresponding to the i-th timing advance command, and the target confirmation character is used to indicate that the terminal device has received the i-1-th timing advance command.
9. An electronic device, characterized in that: The electronic device includes at least one processor and a memory connected to the at least one processor, and the at least one processor is configured to implement the steps of the method according to any one of claims 1-3 or 4-6 when executing a computer program stored in the memory.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 or 4 to 6 are implemented.
Citation Information
Patent Citations
Method and system for adjusting timing advance
CN102111257A
Beam specific timing advance command parameters
CN111492701A