Disclosure of Invention
The application provides an uplink synchronization method, a terminal and a base station, and aims to solve the problem that the receiving time of the base station to the uplink data of the same uplink scheduling information is not aligned in a communication system.
In order to achieve the above object, the present application provides the following technical solutions:
an uplink synchronization method includes:
a terminal acquires a time length, wherein the time length is determined according to the difference between a first time length and a second time length, the first time length is the time length for a preset signal to be transmitted from the terminal to a satellite, the second time length is the time length for the preset signal to be transmitted from the terminal at the farthest point to the satellite, and the farthest point is the point which is farthest from the satellite in the coverage range of a cell where the terminal is located;
and after receiving the uplink scheduling information, the terminal delays the time length and sends the uplink data of the uplink scheduling information.
Optionally, the method for calculating the difference between the first duration and the second duration includes:
acquiring the position information of the farthest point;
calculating a distance difference, wherein the distance difference is a difference between a first distance and a second distance, the first distance is a distance between a terminal at the farthest point and the satellite, the second distance is a distance between the terminal and the satellite, and the first distance is determined according to the position information of the farthest point; and calculating the quotient of the distance difference and the light speed to obtain the difference between the first time length and the second time length.
Optionally, the obtaining duration includes:
taking twice the difference between the first and second durations as the duration; or,
and taking the sum of twice of the difference between the first time length and the second time length and the processing time delay of the terminal at the farthest point as the time length.
Optionally, the acquiring the position information of the farthest point includes:
receiving the position information of the farthest point transmitted by the base station; or,
calculating the position information of the farthest point according to the following mode: acquiring the position information of the satellite according to the ephemeris information of the satellite; calculating to obtain a curve equation of the coverage area of the cell according to the antenna inclination angle and the wave beam range of the satellite; and calculating the coordinates of the points farthest from the satellite on the curve equation according to the position information of the satellite.
An uplink synchronization method includes:
a base station acquires a time length, wherein the time length is determined according to a third time length and a fourth time length, the third time length is the time length for a preset signal to be transmitted from a terminal at the farthest point to a satellite, the farthest point is the point farthest from the satellite in the coverage range of a cell where the terminal is located, and the fourth time length is the time length for the preset signal to be transmitted from the satellite to the base station;
and after the base station sends the uplink scheduling information, delaying the time length and receiving the uplink data of the uplink scheduling information.
Optionally, the method for obtaining the third duration includes:
acquiring the position information of the farthest point;
calculating the distance between the terminal at the farthest point and the satellite according to the position information;
calculating the quotient of the distance and the light speed to obtain the third duration;
the method for acquiring the fourth duration comprises the following steps:
and calculating the quotient of the distance between the satellite and the base station and the light speed to obtain the fourth time length.
Optionally, the obtaining duration includes:
taking the sum of twice the third duration and twice the fourth duration as the duration; or,
and taking the sum of twice the third time length, twice the fourth time length and the processing time delay of the terminal at the farthest point as the time length.
Optionally, the acquiring the position information of the farthest point includes:
acquiring the position information of the satellite according to the ephemeris information of the satellite;
calculating to obtain a curve equation of the coverage area of the cell according to the antenna inclination angle and the wave beam range of the satellite;
and calculating the coordinates of the points farthest from the satellite on the curve equation according to the position information of the satellite.
A terminal comprises a memory and a processor, wherein the memory is used for storing programs, and the processor is used for operating the programs so as to execute the uplink synchronization method.
A base station comprises a memory and a processor, wherein the memory is used for storing programs, and the processor is used for operating the programs so as to execute the uplink synchronization method.
According to the technical scheme, the terminal obtains the time length, the time length is determined according to the difference between the first time length and the second time length, the first time length is the time length for the transmission of the preset signal from the terminal to the satellite, the second time length is the time length for the transmission of the preset signal from the terminal at the farthest point to the satellite, and the farthest point is the point farthest from the satellite in the coverage range of the cell where the terminal is located. And after receiving the uplink scheduling information, the terminal delays the time length and sends the uplink data of the uplink scheduling information. The base station acquires a time length, the time length is determined according to a third time length and a fourth time length, the third time length is the time length used by a preset signal to be transmitted to a satellite from a terminal located at the farthest point, the farthest point is the point which is farthest from the satellite in the coverage range of a cell where the terminal is located, and the fourth time length is the time length used by the preset signal to be transmitted to the satellite from the base station. And after the base station sends the uplink scheduling information, delaying the time length and receiving uplink data corresponding to the uplink scheduling information.
Therefore, in the wireless communication cell, except for the terminal farthest from the satellite, after receiving the uplink scheduling information, other terminals all use the uplink data transmission time of the terminal farthest from the satellite as a reference, so that the transmission time is prolonged, uplink data transmitted by all terminals can be simultaneously received by the satellite, and the base station can receive uplink data corresponding to the same uplink scheduling information in a time range. In addition, the base station also estimates the receiving time of the uplink data according to the time length of the uplink data sent by the terminal at the farthest point as a reference, so that the uplink data can be accurately received under the condition that the terminal adjusts an uplink data uploading mechanism.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As is known from the background art, since the distances from the satellites are different for each terminal and the time for each terminal to receive the uplink scheduling information is different, the time for transmitting uplink data is different based on the uplink scheduling information, and the time for transmitting uplink data to reach the satellites and the base station is also different.
In order to ensure that a base station receives uplink data corresponding to the same uplink scheduling information synchronously in a high-latency communication system, the embodiments of the present application respectively provide an uplink synchronization method for a terminal and a base station, so that the receiving time of the base station for the uplink data of the same uplink scheduling information is aligned.
As shown in fig. 2, an uplink synchronization method provided in this embodiment of the present application is applied to a terminal (hereinafter referred to as a first terminal), and includes the following steps:
s201: the first terminal obtains the duration.
The duration is determined according to a difference between a first duration and a second duration, the first duration is a duration used by a preset signal to be transmitted from a first terminal to a satellite, the second duration is a duration used by the preset signal to be transmitted from a terminal (hereinafter referred to as a second terminal) located at a farthest point to the satellite, and the farthest point is a point farthest from the satellite in a coverage area of a cell where the first terminal is located.
It should be noted that the second terminal may be a virtual terminal, i.e. a terminal that does not exist in reality, and it is assumed that a terminal for signal transmission with a satellite exists at the position of the farthest point. Of course, the second terminal may also be a real terminal, i.e. the terminal happens to be present at the farthest point.
In addition, when the second terminal processes the uplink data of the uplink scheduling information, there may be a processing delay.
Therefore, optionally, the duration is determined not only according to the difference between the first duration and the second duration, but also according to the processing delay of the second terminal.
It should be noted that the processing delay of the second terminal may be set by a technician according to actual situations, for example, the average processing delay of other terminals in the same wireless communication cell is used as the processing delay of the second terminal.
It is emphasized that the time period for the transmission of the predetermined signal from the first terminal to the satellite may be determined based on the distance between the first terminal and the satellite and the signal transmission speed (the transmission speed of the wireless signal is generally equivalent to the speed of light). Of course, other existing techniques may be used to obtain the time duration for signal transmission between the first terminal and the satellite, for example, the time duration may be measured by a timestamp measurement method.
In addition, the time duration for one pass of the signal from the first terminal to the satellite is preset, that is, the time duration for one pass of the signal from the satellite to the first terminal is preset.
Therefore, optionally, the manner of acquiring the duration by the first terminal includes: and taking twice of the difference between the first time length and the second time length as the time length, or taking the sum of twice of the difference between the first time length and the second time length and the processing time delay of the second terminal as the time length.
In the embodiment of the present application, the specific calculation process of the difference between the first time length and the second time length can be referred to the following steps shown in fig. 3, and the corresponding explanation of the steps.
S202: and after receiving the uplink scheduling information, the first terminal delays the acquired duration and sends uplink data corresponding to the uplink scheduling information.
The base station issues uplink scheduling information to the first terminal through satellite communication, and the first terminal sends uplink data of the uplink scheduling information to the base station through satellite communication after receiving the uplink scheduling information issued by the satellite, which is common general knowledge familiar to those skilled in the art. Since the first terminal delays the acquired duration after receiving the uplink scheduling information, uplink data transmitted by the first terminal and uplink data transmitted by the second terminal can be simultaneously received by the satellite. And then, the satellite simultaneously sends the uplink data sent by the first terminal and the second terminal to the base station, so that the base station can synchronously receive the uplink data sent by the first terminal and the second terminal, namely the base station can synchronously receive the uplink data sent by each terminal in the communication cell where the first terminal is located.
In this embodiment of the present application, a first terminal obtains a time duration, the time duration is determined according to a difference between the first time duration and a second time duration, the first time duration is a time duration used by a preset signal to be transmitted from the first terminal to a satellite, the second time duration is a time duration used by the preset signal to be transmitted from a second terminal to the satellite, and a farthest point is a point farthest from the satellite in a coverage area of a cell where the first terminal is located. And after receiving the uplink scheduling information, the first terminal delays the time length and sends uplink data corresponding to the uplink scheduling information. Therefore, in the wireless communication cell, except for the second terminal farthest from the satellite, after receiving the uplink scheduling information, other terminals correspondingly extend the time length to transmit the uplink data, so that the uplink data transmitted by all the terminals can be simultaneously received by the satellite, and the satellite simultaneously transmits the uplink data to the base station, so that the base station can synchronously receive the uplink data transmitted by each terminal.
Optionally, as shown in fig. 3, a schematic diagram of a specific implementation manner of obtaining the duration by the terminal provided in the embodiment of the present application includes the following steps:
s301: the position information of the farthest point is acquired.
The position information of the farthest point (the farthest point may have a real terminal or a virtual terminal, that is, the second terminal described in this application) may be determined based on ephemeris information of the satellite, an antenna tilt angle, and a beam range, and of course, not only the position information of the second terminal but also the position information of the first terminal itself may be determined. It should be noted that the ephemeris information specifically refers to: the satellite is scheduled to be in position at any time. The antenna tilt and the beam range are well known to those skilled in the art and will not be described further herein.
In addition, the position information of the second terminal transmitted by the base station can be received.
It should be noted that, for a specific implementation of obtaining the location information of the farthest point, reference may be made to the following steps shown in fig. 4 and corresponding explanations of the steps.
S302: the distance difference is calculated.
The distance difference is the difference between a first distance and a second distance, the first distance is the distance between the second terminal and the satellite, the second distance is the distance between the first terminal and the satellite, and the first distance is determined according to the position information of the farthest point.
It should be noted that the first distance is determined according to the position information of the second terminal and the position information of the satellite, and specifically, in the preset coordinate system, the distance between the position coordinate of the second terminal and the position coordinate of the satellite is the first distance. And the distance between the position coordinate of the first terminal and the position coordinate of the satellite is a second distance. The calculation process of the difference between the first distance and the second distance is shown in equation (1).
In equation (1), Dmax is the first Distance, Distancex->sIs a second distance, (x)0,y0,z0) Is the coordinate of the satellite, (x)1,y1,z1) Is the coordinate of the second terminal, (x)2,y2,z2) Are coordinates of the first terminal.
S303: and calculating the quotient of the distance difference and the light speed to obtain the difference between the first time length and the second time length.
The process of calculating the quotient of the distance difference and the speed of light is shown in formula (2) in combination with formula (1).
In equation (2), Δ t is the difference between the first and second time periods, and c is the speed of light.
It should be emphasized that the calculation method for obtaining the difference between the first time duration and the second time duration in the embodiment of the present application is not limited to the specific implementation processes shown in S302 and S303, and the first time duration may be obtained by calculating a quotient of the first distance and the speed of light, the second time duration may be obtained by calculating a quotient of the second distance and the speed of light, and then Δ t may be obtained by calculating a difference between the first time duration and the second time duration.
S304: and taking the sum of two times of the difference between the first time length and the second time length and the processing time delay as the time length.
Wherein twice the difference between the first duration and the second duration represents: the difference between the time required for the signal to travel from the first terminal to the satellite and the time required for the signal to travel from the second terminal to the satellite is predetermined. In addition, the specific value of the processing delay is set by the technician according to the actual situation, and the calculation process of the duration is shown in formula (3).
s=2Δt+k (3)
In formula (3), s is the duration, and k is the processing delay.
It should be emphasized that the duration acquired by the first terminal is not limited to the duration obtained in S304, and twice the difference between the first duration and the second duration may be directly used as the duration acquired by the first terminal.
In the embodiment of the present application, a distance difference is calculated by obtaining the position information of the farthest point, where the distance difference is a difference between a first distance and a second distance, the first distance is a distance between the second terminal and the satellite, the second distance is a distance between the first terminal and the satellite, and the first distance is determined according to the position information of the second terminal. And calculating the quotient of the distance difference and the light speed to obtain the difference between the first time length and the second time length. And taking the sum of two times of the difference between the first time length and the second time length and the processing time delay as the time length. Therefore, according to the respective position information of the first terminal, the satellite and the second terminal, and in combination with the processing delay of the second terminal, the time length required for delaying the uplink data transmission after the uplink scheduling information is received by the first terminal can be obtained, so that the uplink data transmitted by the first terminal and the uplink data transmitted by the second terminal can be simultaneously received by the satellite.
It should be emphasized that, in the above step shown in fig. 3, the time duration obtained by the first terminal is only approximately calculated, and when there is an inclination angle between the satellite orbit and the radius of the wireless communication cell (that is, there is an inclination angle between the plane where the wireless communication cell is located and the ground), the distance between the satellite and the plane where the wireless communication cell is located (which is equal to the distance between the satellite and the ground) needs to be calculated according to the angle of the satellite orbit, so that the time duration is calculated again according to the step shown in fig. 3. Of course, the specific implementation process of calculating the distance between the satellite and the plane where the wireless communication cell is located according to the angle of the satellite orbit is common knowledge familiar to those skilled in the art, and is not described herein again.
Optionally, the process of calculating the difference between the first duration and the second duration may also be to calculate a quotient of the first distance and the speed of light, a quotient of the second distance and the speed of light, and then calculate a difference therebetween, and use a sum of twice the difference and the processing delay as the duration.
Optionally, as shown in fig. 4, a schematic diagram of a specific implementation manner for acquiring location information of a farthest point provided in an embodiment of the present application includes the following steps:
s401: and acquiring the position information of the satellite according to the ephemeris information of the satellite.
The process of obtaining the position information of the satellite according to the ephemeris information is common knowledge familiar to those skilled in the art, and will not be described herein again.
S402: and calculating to obtain a curve equation of the coverage area of the cell according to the antenna inclination angle and the beam range of the satellite.
Wherein, the antenna inclination angle and the beam range of the satellite can be configured in advance by technicians according to actual conditions. Since the beam range of the satellite is elliptical, that is, the curve equation of the coverage area of the cell is actually an elliptical curve equation.
Specifically, referring to fig. 5, the satellite is 1175km away from the ground, coordinates of a connection line between the satellite and the earth center are (0,0,0), coordinates of the satellite are (0,0,1175), an antenna inclination angle of the satellite is 0 °, a specific shape of a beam range is an ellipse, coordinates of a beam center (center of the ellipse) are (450,0,0), a width of beam scanning is 1000km in an east-west direction, a length of the beam scanning is 60km in a north-south direction, two vertex coordinates of a minor axis of the ellipse are a (-420,0,0) and B (-480,0,0), and two vertex coordinates of a major axis are C (-450,60,0) and D (-450, -60,0), respectively. The curve equation of the coverage area of the cell is the curve equation of the ellipse, and the curve equation is shown in formula (4).
It should be noted that the above specific implementation process is only used for illustration, and the specific position information of the satellite, the antenna tilt angle and the beam range may be configured according to the actual situation.
S403: and calculating the coordinates of the point farthest from the satellite on the curve equation according to the position information of the satellite.
The coordinates of the point farthest from the satellite on the curve equation are calculated, and the coordinates of the point farthest from the satellite on the curve equation of the satellite beam range (ellipse) are actually obtained.
Specifically, in combination with the specific example of the curve equation shown in the above S402, the distance from any point on the ellipse to the satellite is shown in formula (5), and further, derivation is performed on formula (5), and the specific process of derivation is shown in formula (6), so as to obtain two points E0(-466.8, -414.2,0) and E1(-466.8,414.2,0), respectively. The distances from E0 and E1 to the satellite (0, 1175) respectively were calculated to yield a distance of 1300.5km between the satellite and both points. And respectively calculating the distances between two vertexes A (-420,0,0) and B (-480,0,0) of the short axis on the ellipse and the satellite to obtain the distance between the point A and the satellite as 1247.8km and the distance between the point B and the satellite as 1269.3 km. By comparing the distances from the satellites to E0, E1, a and B, respectively, E0 and E1 are the farthest points, and the distance from the farthest point to the satellite is 1300.5 km.
In the formula (6), the derivative is 0, and x is-466.8 km and y is ± 414.2 km.
It should be noted that the above specific implementation process is only for illustration.
In the embodiment of the application, the first terminal acquires the position information of the satellite according to the ephemeris information of the satellite. And calculating to obtain a curve equation of the coverage area of the cell according to the antenna inclination angle and the beam range of the satellite. From the position information of the satellite, the coordinates of the point on the curve equation farthest from the satellite (i.e., the coordinates of the second terminal described in this application) are calculated. Therefore, the first terminal can calculate the position information of the second terminal based on the position information of the satellite, the antenna inclination angle and the beam range which are configured in advance.
As shown in fig. 6, an uplink synchronization method provided in the embodiment of the present application is applied to a base station, and includes the following steps:
s601: the base station acquires the duration.
The time length is determined according to a third time length and a fourth time length, the third time length is the time length used for transmitting a preset signal from a terminal (namely, the second terminal) at the farthest point to a satellite, the farthest point is the point farthest from the satellite in the coverage range of the cell where the first terminal is located, and the fourth time length is the time length used for transmitting the preset signal from the base station to the satellite.
Since the position information of the satellite and the position information of the base station can be set by a technician according to actual conditions, the distance between the base station and the satellite can be calculated, and therefore, a first quotient value can be obtained by calculating the quotient of the distance between the base station and the satellite and the light speed, and the first quotient value is taken as a third duration. Similarly, the quotient of the distance between the second terminal and the satellite and the light speed is obtained as a second quotient, and the second quotient is used as the fourth duration.
In addition, when the second terminal transmits uplink data corresponding to the uplink scheduling information, there may be a processing delay.
Therefore, optionally, the time length obtained by the base station is determined not only according to the third time length and the fourth time length, but also according to the processing time delay of the second terminal.
It should be noted that the processing delay of the second terminal may be set by a technician according to actual situations, for example, the average processing delay of other terminals in the same wireless communication cell is used as the processing delay of the second terminal.
It is emphasized that the time period for the transmission of the preset signal from the satellite to the base station can be determined based on the distance between the satellite and the base station and the signal transmission speed (the transmission speed of the wireless signal is generally equivalent to the speed of light). Of course, other existing techniques may be used to obtain the time duration for signal transmission between the satellite and the base station, for example, the time duration may be measured by a time stamp measurement method.
In addition, the time length for one way of signal transmission from the satellite to the base station is preset, that is, the time length for one way of signal transmission from the base station to the satellite is preset.
Therefore, optionally, the sum of twice the third time length and twice the fourth time length is taken as the time length; or taking the sum of twice the third time length, twice the fourth time length and the processing time delay of the second terminal as the time length.
It should be noted that, for a specific implementation manner of the base station acquiring time length and a specific acquiring method of the third time length and the fourth time length, refer to the following steps shown in fig. 7 and corresponding explanations of the steps.
S602: and after the base station sends the uplink scheduling information, delaying the acquired duration and receiving uplink data corresponding to the uplink scheduling information.
The base station sends uplink scheduling information to each terminal through satellite communication, and each terminal sends uplink data corresponding to the uplink scheduling information to the base station through satellite communication. After the base station sends the uplink scheduling information, the time is delayed according to the time required by the preset signal transmitted from the second terminal to the satellite and transmitted to the base station again, and the uplink data sent by the second terminal is received.
It should be emphasized that, in the embodiment of the present application, the uplink data transmitted by the first terminal and the second terminal are simultaneously received by the satellite, and the uplink data transmitted by the first terminal and the second terminal are synchronously transmitted to the base station by the satellite. Therefore, after the base station delays for a long time, the uplink data sent by the first terminal and the uplink data sent by the second terminal can be synchronously received, that is, the uplink data sent by each terminal in the communication cell where the first terminal is located can be synchronously received.
In the embodiment of the present application, the base station obtains a time length, the time length is determined according to a third time length and a fourth time length, the third time length is a time length used by the preset signal to be transmitted from the second terminal to the satellite, the second terminal is a terminal corresponding to a point farthest from the satellite in a coverage area of a cell where the first terminal is located, and the fourth time length is a time length used by the preset signal to be transmitted from the base station to the satellite. And after the base station sends the uplink scheduling information, delaying the time length and receiving uplink data corresponding to the uplink scheduling information. It can be seen that, in the wireless communication cell, except for the second terminal farthest from the satellite, after the first terminal (including other terminals in the communication cell) receives the uplink scheduling information, the transmission time of the uplink data is correspondingly prolonged, so that the uplink data transmitted by all terminals can be simultaneously received by the satellite, and the base station can receive the uplink data corresponding to the same uplink scheduling information in a time range. The base station estimates the receiving time of the uplink data according to the time length of the uplink data sent by the second terminal, so that the uplink data can be accurately received under the condition that the first terminal adjusts an uplink data uploading mechanism.
Optionally, as shown in fig. 7, a schematic diagram of a specific implementation manner of obtaining the duration for the base station provided in the embodiment of the present application includes the following steps:
s701: and acquiring the position information of the second terminal.
The position information of the second terminal may be determined based on ephemeris information of the satellite, an antenna tilt angle, and a beam range, and of course, both the position information of the base station itself and the position information of the satellite may be set by a technician according to an actual situation.
It should be noted that, for a specific implementation of acquiring the location information of the second terminal, reference may be made to the following steps shown in fig. 8 and corresponding explanations of the steps.
S702: and calculating the distance between the second terminal and the satellite according to the position information.
The process of calculating the distance based on the coordinates of the second terminal and the coordinates of the satellite is common knowledge familiar to those skilled in the art, and will not be described herein again.
S703: and calculating the quotient of the distance and the light speed to obtain a third duration.
The quotient of the calculated distance and the light speed is common knowledge familiar to those skilled in the art, and will not be described herein again.
S704: and calculating the quotient of the distance between the satellite and the base station and the light speed to obtain a fourth time length.
The calculation process of the distance between the satellite and the base station and the calculation process of the quotient of the distance and the speed of light are common knowledge familiar to those skilled in the art, and are not described herein again.
S705: and taking the sum of twice of the third time length and twice of the processing time delay and the fourth time length as the time length.
The processing delay is the time required between the second terminal receiving the uplink scheduling information and the uplink data transmission, and can be set by a technician according to the actual situation. Therefore, the duration is the third duration × 2+ the processing delay + the fourth duration × 2.
It should be emphasized that the time duration acquired by the base station is not limited to the time duration obtained in S705, and the sum of twice the third time duration and twice the fourth time duration may be directly used as the time duration acquired by the base station.
In the embodiment of the present application, the position information of the farthest point is acquired. And calculating the distance between the second terminal and the satellite according to the position information. And calculating the quotient of the distance and the light speed to obtain a third duration. And calculating the quotient of the distance between the satellite and the base station and the light speed to obtain a fourth time length. And taking the sum of twice of the third time length and twice of the processing time delay and the fourth time length as the time length. Therefore, the base station can calculate the time length of the required delay based on the position information of the farthest point, the position information of the base station and the position information of the satellite.
It should be emphasized that, in the step shown in fig. 7, the time duration obtained by the base station is only approximately calculated, and when there is an inclination between the satellite orbit and the radius of the wireless communication cell (that is, there is an inclination between the plane of the wireless communication cell and the ground), the distance between the satellite and the plane of the wireless communication cell (which is equal to the distance between the satellite and the ground) needs to be calculated according to the angle of the satellite orbit, so as to recalculate the time duration according to the step shown in fig. 7. Of course, the specific implementation process of calculating the distance between the satellite and the plane where the wireless communication cell is located according to the angle of the satellite orbit is common knowledge familiar to those skilled in the art, and is not described herein again.
Optionally, as shown in fig. 8, a schematic diagram of a specific implementation manner for a base station to acquire location information of a second terminal provided in the embodiment of the present application includes the following steps:
s801: and acquiring the position information of the satellite according to the ephemeris information of the satellite.
The specific implementation process and implementation principle of S801 are consistent with the specific implementation process and implementation principle of S401 shown in fig. 4, and are not described herein again.
S802: and calculating to obtain a curve equation of the coverage area of the cell according to the antenna inclination angle and the beam range of the satellite.
The specific implementation process and implementation principle of S802 are consistent with the specific implementation process and implementation principle of S402 shown in fig. 4, and are not described herein again.
S803: and calculating the coordinates of the point farthest from the satellite on the curve equation according to the position information of the satellite.
The specific implementation process and implementation principle of S803 are consistent with the specific implementation process and implementation principle of S403 shown in fig. 4, and are not described herein again.
In the embodiment of the application, the base station acquires the position information of the satellite according to the ephemeris information of the satellite. And calculating to obtain a curve equation of the coverage area of the cell according to the antenna inclination angle and the beam range of the satellite. The coordinates of the point on the curve equation farthest from the satellite (i.e., the coordinates of the second terminal) are calculated based on the position information of the satellite. Therefore, the base station can calculate the position information of the second terminal based on the position information of the satellite, the antenna inclination angle and the beam range which are configured in advance.
It should be noted that, the base station may calculate the location information of the second terminal and send the calculated location information to the first terminal, in this case, the first terminal may not calculate the location information of the second terminal by itself. Of course, the first terminal may also calculate the location information of the second terminal by itself, and the embodiment of the present application is not limited.
Corresponding to the uplink synchronization method provided in the embodiment of the present application, an uplink synchronization apparatus is further provided in the embodiment of the present application, which can be applied to a terminal, as shown in fig. 9, and includes:
the acquiring unit 100 is configured to acquire a time duration, where the time duration is determined according to a difference between a first time duration and a second time duration, the first time duration is a time duration for a preset signal to be transmitted from a first terminal to a satellite, the second time duration is a time duration for the preset signal to be transmitted from a terminal (i.e., a second terminal) located at a farthest point to the satellite, and the farthest point is a point farthest from the satellite in a coverage area of a cell where the first terminal is located.
A sending unit 200, configured to delay the duration after receiving the uplink scheduling information, and send uplink data of the uplink scheduling information.
The specific implementation manner of the obtaining unit 100 obtaining the duration further includes: and taking twice of the difference between the first duration and the second duration as the duration, or taking the sum of twice of the difference between the first duration and the second duration and the processing delay of the second terminal as the duration.
The specific implementation manner of the obtaining unit 100 calculating the difference between the first duration and the second duration includes: the position information of the farthest point, i.e. the second terminal, is acquired. And calculating a distance difference, wherein the distance difference is the difference between a first distance and a second distance, the first distance is the distance between the second terminal and the satellite, the second distance is the distance between the first terminal and the satellite, and the first distance is determined according to the position information of the second terminal. And calculating the quotient of the distance difference and the light speed to obtain the difference between the first time length and the second time length.
The specific implementation manner of the obtaining unit 100 for obtaining the location information of the second terminal includes: receiving the position information of the second terminal sent by the base station, or calculating the position information of the second terminal according to the following method: and acquiring the position information of the satellite according to the ephemeris information of the satellite. And calculating to obtain a curve equation of the coverage area of the cell according to the antenna inclination angle and the beam range of the satellite. The coordinates of the point on the curve equation farthest from the satellite (i.e., the coordinates of the second terminal) are calculated based on the position information of the satellite.
In this embodiment, a first terminal obtains a time duration, where the time duration is determined according to a difference between the first time duration and a second time duration, the first time duration is a time duration for a preset signal to be transmitted from the first terminal to a satellite, the second time duration is a time duration for a preset signal to be transmitted from a terminal (i.e., a second terminal) located at a farthest point to the satellite, and the farthest point is a point farthest from the satellite within a coverage area of a cell where the first terminal is located. And after receiving the uplink scheduling information, the first terminal delays the acquired duration and sends uplink data corresponding to the uplink scheduling information. It can be seen that, in the wireless communication cell, except for the second terminal farthest from the satellite, after the first terminal (including other terminals in the communication cell) receives the uplink scheduling information, the transmission time of the uplink data is correspondingly prolonged, so that the uplink data transmitted by all terminals can be simultaneously received by the satellite, and the base station can receive the uplink data corresponding to the same uplink scheduling information in a time range.
As shown in fig. 10, a schematic diagram of another uplink synchronization apparatus provided in the embodiment of the present application is applied to a base station, and includes:
the obtaining unit 300 is configured to obtain a time duration, where the time duration is determined according to a third time duration and a fourth time duration, the third time duration is a time duration used by a preset signal to be transmitted to a satellite from a terminal (i.e., a second terminal described herein) located at a farthest point, the farthest point is a point farthest from the satellite in a coverage area of a cell where the first terminal is located, and the fourth time duration is a time duration used by the preset signal to be transmitted to a base station from the satellite.
The receiving unit 400 is configured to delay the time length after sending the uplink scheduling information, and receive uplink data of the uplink scheduling information.
The specific implementation manner of the obtaining unit 300 for obtaining the duration includes: and taking the sum of two times of the third duration and two times of the fourth duration as the duration, or taking the sum of two times of the third duration, two times of the fourth duration and the processing delay of the second terminal as the duration.
The specific implementation manner of the obtaining unit 300 for obtaining the third duration and the fourth duration includes: the position information of the farthest point, i.e. the second terminal, is acquired. And calculating the distance between the second terminal and the satellite according to the position information. And calculating the quotient of the distance and the light speed to obtain a third duration. And calculating the quotient of the distance between the satellite and the base station and the light speed to obtain a fourth time length.
The specific implementation manner of the obtaining unit 300 for obtaining the position information of the farthest point includes: and acquiring the position information of the satellite according to the ephemeris information of the satellite. And calculating to obtain a curve equation of the coverage area of the cell according to the antenna inclination angle and the beam range of the satellite. The coordinates of the point on the curve equation farthest from the satellite (i.e., the coordinates of the second terminal) are calculated based on the position information of the satellite.
In this embodiment of the present application, the base station obtains a time duration, the time duration is determined according to a third time duration and a fourth time duration, the third time duration is a time duration used by the preset signal to be transmitted from the second terminal to the satellite, a farthest point is a point farthest from the satellite in a coverage area of a cell where the first terminal is located, and the fourth time duration is a time duration used by the preset signal to be transmitted from the satellite to the base station. And after the base station sends the uplink scheduling information, delaying the time length and receiving uplink data corresponding to the uplink scheduling information. It can be seen that, in the wireless communication cell, except for the second terminal farthest from the satellite, after the first terminal (including other terminals in the communication cell) receives the uplink scheduling information, the transmission time of the uplink data is correspondingly prolonged, so that the uplink data transmitted by all terminals can be simultaneously received by the satellite, and the base station can receive the uplink data corresponding to the same uplink scheduling information in a time range. In addition, the base station estimates the receiving time of the uplink data according to the time length of the uplink data sent by the second terminal, so that the uplink data can be accurately received under the condition that the first terminal adjusts an uplink data uploading mechanism.
Further, an embodiment of the present application further provides a terminal, which includes a memory and a processor, where the memory is used for storing a program, and the processor is used for executing the program to execute the uplink synchronization method executed by the terminal provided in the embodiment of the present application.
The embodiment of the present application further provides a base station, which includes a memory and a processor, where the memory is used for storing a program, and the processor is used for running the program to execute the uplink synchronization method executed by the base station provided in the embodiment of the present application.
The functions described in the method of the embodiment of the present application, if implemented in the form of software functional units and sold or used as independent products, may be stored in a storage medium readable by a computing device. Based on such understanding, part of the contribution to the prior art of the embodiments of the present application or part of the technical solution may be embodied in the form of a software product stored in a storage medium and including several instructions for causing a computing device (which may be a personal computer, a server, a mobile computing device or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.