Temperature frequency offset compensation method, device and equipment and computer storage medium

By calculating and updating the target crystal oscillator deviation and confidence in the temperature frequency deviation compensation table of the terminal, the problem of inaccurate intermediate frequency deviation compensation in the prior art is solved and the communication performance is improved.

CN119109741AActive Publication Date: 2024-12-10CHINA MOBILE M2M +2
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411488017.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-23
Publication Date
2024-12-10
Estimated Expiration
2044-10-23

AI Technical Summary

Technical Problem

The existing temperature frequency deviation compensation method cannot be updated in time, resulting in inaccurate frequency deviation compensation of frequency deviation compensation table, which affects communication performance.

Method used

By obtaining the temperature frequency deviation compensation correspondence and channel state information of the terminal, calculate the target crystal oscillator deviation and target confidence, update the temperature frequency deviation compensation table in a timely manner, and perform frequency deviation compensation on the terminal based on the target crystal oscillator deviation.

Benefits of technology

The accuracy of frequency deviation compensation is improved, the error of frequency deviation compensation is reduced, and the frequency synchronization capability between the terminal and the base station is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119109741A_ABST
    Figure CN119109741A_ABST
Patent Text Reader

Abstract

The invention discloses a temperature frequency offset compensation method, device and equipment and a computer storage medium, and belongs to the field of communication. According to the embodiment of the invention, the temperature frequency offset compensation corresponding relation of the terminal and the environment temperature are obtained, the corresponding relation comprises the corresponding relation of the temperature, the crystal oscillator deviation and the confidence coefficient, the initial crystal oscillator deviation and the initial confidence coefficient corresponding to the temperature are determined in the corresponding relation, and the channel state information of the terminal comprising the frequency offset, the signal-to-noise ratio and the Doppler frequency shift is obtained. Determining a first confidence coefficient and a first deviation based on the frequency deviation, the signal-to-noise ratio and the Doppler frequency shift, determining a target crystal oscillator deviation based on the first deviation and the initial crystal oscillator deviation, and determining a target confidence coefficient based on the first confidence coefficient and the initial confidence coefficient; and the initial crystal oscillator deviation and the initial confidence in the temperature frequency offset compensation corresponding relation are updated by using the target crystal oscillator deviation and the target confidence, and the frequency offset of the terminal is compensated based on the target crystal oscillator deviation, so that the frequency offset compensation error can be reduced, and the frequency offset compensation accuracy can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communications, and in particular, relates to a method, apparatus, device, computer-readable storage medium, and computer program product for temperature frequency offset compensation. Background Art

[0002] In a synchronous communication system, in order to carry out normal data communication, the terminal needs to maintain frequency synchronization with the base station. However, during the data communication process, due to the influence of the environment and the accuracy of the terminal components, the signal received by the terminal will have a frequency deviation. Excessive frequency deviation will lead to a deterioration of the signal-to-noise ratio and affect the communication performance. Therefore, the frequency deviation needs to be calibrated and compensated to achieve frequency synchronization between the terminal and the base station.

[0003] In the temperature frequency offset compensation method of the prior art, the frequency offset compensation value corresponding to the temperature of the terminal can be determined according to the temperature frequency offset compensation table of the terminal. The temperature frequency offset compensation table includes the corresponding relationship between the temperature and the frequency offset that has been fitted in advance, and the frequency offset of the terminal is then compensated. However, in the process of frequency offset compensation for the terminal, the temperature frequency offset compensation table cannot be updated in time, resulting in a large error in the frequency offset compensation. Therefore, the existing temperature frequency offset compensation method has the problem of inaccurate frequency offset compensation. Summary of the invention

[0004] The embodiments of the present application provide a method, apparatus, device, computer-readable storage medium, and computer program product for temperature frequency offset compensation, which can improve the accuracy of frequency offset compensation.

[0005] In a first aspect, an embodiment of the present application provides a method for temperature frequency offset compensation, the method comprising:

[0006] Obtain the temperature frequency offset compensation correspondence relationship of the terminal and the temperature of the environment in which it is located. The temperature frequency offset compensation correspondence relationship includes the correspondence relationship between temperature and crystal oscillator deviation and confidence;

[0007] In the temperature frequency deviation compensation correspondence relationship, determine the initial crystal oscillator deviation and initial confidence corresponding to the temperature;

[0008] Acquire the channel state information of the terminal, the channel state information includes frequency deviation, signal-to-noise ratio and Doppler shift;

[0009] determining a first confidence level based on the signal-to-noise ratio and the Doppler shift;

[0010] Calculate the difference between the product of the first confidence level and the Doppler frequency shift and the frequency deviation to obtain a first deviation;

[0011] Determining a target crystal oscillator deviation based on the first deviation and the initial crystal oscillator deviation;

[0012] Determining a target confidence level based on the first confidence level and the initial confidence level;

[0013] In the temperature frequency deviation compensation correspondence relationship, the values ​​of the initial crystal oscillator deviation and the initial confidence corresponding to the temperature are replaced with the values ​​of the target crystal oscillator deviation and the target confidence;

[0014] The frequency deviation of the terminal is compensated based on the target crystal oscillator deviation.

[0015] In one possible implementation, determining the first confidence level based on the signal-to-noise ratio and the Doppler frequency shift includes:

[0016] In the preset mapping relationship between the signal-to-noise ratio and the signal-to-noise ratio mapping value, a target signal-to-noise ratio mapping value corresponding to the signal-to-noise ratio is determined, and the value range of the target signal-to-noise ratio mapping value is 0 to 1;

[0017] In the preset mapping relationship between Doppler frequency shift and Doppler frequency shift mapping value, a target Doppler frequency shift mapping value corresponding to the Doppler frequency shift is determined, and the value range of the target Doppler frequency shift mapping value is 0 to 1;

[0018] A first confidence level is obtained based on a product of a target signal-to-noise ratio mapping value and a target Doppler frequency shift mapping value.

[0019] In one practicable implementation, determining a target crystal oscillator deviation based on the first deviation and the initial crystal oscillator deviation includes:

[0020] Determine the ratio of the first confidence level to the initial confidence level as the weight of the first deviation, subtract the value 1 from the weight of the first deviation to obtain the weight of the initial crystal oscillator deviation, and sum the product of the first deviation and the weight of the first deviation with the product of the initial crystal oscillator deviation and the weight of the initial crystal oscillator deviation to obtain the target crystal oscillator deviation.

[0021] In one practicable implementation, determining the target confidence based on the first confidence and the initial confidence includes:

[0022] The weight of the first confidence is obtained, the value 1 is subtracted from the weight of the first confidence to obtain the weight of the initial confidence, and the product of the first confidence and the weight of the first confidence is summed with the product of the initial confidence and the weight of the initial confidence to obtain the target confidence.

[0023] In an achievable implementation, in the temperature frequency offset compensation correspondence, after determining the initial crystal oscillator deviation and the initial confidence corresponding to the temperature, the method further includes:

[0024] Identify the communication mode of the terminal;

[0025] When the communication mode of the terminal is a non-terrestrial network or a global navigation satellite system and the initial confidence is less than or equal to a preset threshold, the communication mode of the terminal is switched to a terrestrial network.

[0026] In an achievable implementation, before switching the communication mode of the terminal to a terrestrial network, the method further includes:

[0027] According to the product type of the terminal, determine whether the communication mode of the terminal allows switching to the ground network;

[0028] When the communication mode of the terminal allows switching to the terrestrial network, the communication mode of the terminal is switched to the terrestrial network.

[0029] In a second aspect, an embodiment of the present application provides a device for temperature frequency offset compensation, the device comprising:

[0030] An acquisition module is used to acquire the temperature frequency offset compensation correspondence relationship of the terminal and the temperature of the environment in which the terminal is located. The temperature frequency offset compensation correspondence relationship includes the correspondence relationship between the temperature and the crystal oscillator deviation and the confidence level.

[0031] A determination module, used to determine the initial crystal oscillator deviation and initial confidence corresponding to the temperature in the temperature frequency deviation compensation correspondence relationship;

[0032] The acquisition module is also used to acquire the channel state information of the terminal, the channel state information includes frequency deviation, signal-to-noise ratio and Doppler shift;

[0033] The determination module is further used to determine a first confidence level based on the signal-to-noise ratio and the Doppler frequency shift;

[0034] A calculation module, used for calculating the difference between the product of the first confidence level and the Doppler frequency shift and the frequency deviation to obtain a first deviation;

[0035] The determination module is further used to determine a target crystal oscillator deviation based on the first deviation and the initial crystal oscillator deviation;

[0036] The determination module is further used to determine the target confidence based on the first confidence and the initial confidence;

[0037] A replacement module, used to replace the initial crystal oscillator deviation and the initial confidence value corresponding to the temperature with the target crystal oscillator deviation and the target confidence value in the temperature frequency deviation compensation correspondence relationship;

[0038] The compensation module is used to compensate the frequency deviation of the terminal based on the target crystal oscillator deviation.

[0039] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, and a memory storing computer program instructions; the processor reads and executes the computer program instructions to implement a method for temperature frequency deviation compensation as in any one of the embodiments of the first aspect.

[0040] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, a method for temperature frequency deviation compensation as in any one of the embodiments of the first aspect is implemented.

[0041] In a fifth aspect, an embodiment of the present application provides a computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes a method for temperature frequency deviation compensation as described in any one of the embodiments of the first aspect.

[0042] The method, apparatus, device, computer-readable storage medium and computer program product for temperature frequency offset compensation of the embodiments of the present application first obtain a temperature frequency offset compensation correspondence of a terminal and the temperature of the environment in which the terminal is located, and determine an initial crystal oscillator deviation and an initial confidence level corresponding to the temperature in the temperature frequency offset compensation correspondence; then obtain channel state information of the terminal, the channel state information including frequency offset, signal-to-noise ratio and Doppler shift, determine a first confidence level based on the signal-to-noise ratio and the Doppler shift, calculate a first deviation by multiplying the first confidence level and the first Doppler shift by the first frequency offset, determine a target crystal oscillator deviation based on the first deviation and the initial crystal oscillator deviation, and determine a target confidence level based on the first confidence level and the initial confidence level; finally, in the temperature frequency offset compensation correspondence, replace the values ​​of the initial crystal oscillator deviation and the initial confidence level corresponding to the temperature with the values ​​of the target crystal oscillator deviation and the target confidence level, and compensate for the frequency offset of the terminal based on the target crystal oscillator deviation. When the terminal receives the network side signal, it obtains the crystal oscillator deviation and confidence corresponding to the current ambient temperature of the terminal, and uses the channel state information in the network side signal to timely update the crystal oscillator deviation and confidence corresponding to the current temperature, and uses the updated crystal oscillator deviation to compensate for the frequency deviation of the terminal, which can reduce the error of frequency deviation compensation and improve the accuracy of frequency deviation compensation. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0044] Figure 1 It is a flowchart of a method for temperature frequency deviation compensation provided by an embodiment of the present application;

[0045] Figure 2 is a flow chart of a method for temperature frequency deviation compensation provided by another embodiment of the present application;

[0046] Figure 3 is a flow chart of a method for temperature frequency deviation compensation provided by yet another embodiment of the present application;

[0047] Figure 4 It is a structural schematic diagram of a device for temperature frequency deviation compensation provided by an embodiment of the present application;

[0048] Figure 5 It is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0049] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0050] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0051] In a synchronous communication system, in order to carry out normal data communication, the terminal needs to maintain frequency synchronization with the base station. However, during the data communication process, due to the influence of the environment and the accuracy of the terminal components, the signal received by the terminal will have a frequency deviation. Excessive frequency deviation will lead to a deterioration of the signal-to-noise ratio and affect the communication performance. Therefore, the frequency deviation needs to be calibrated and compensated to achieve frequency synchronization between the terminal and the base station.

[0052] In the temperature frequency offset compensation method of the prior art, the frequency offset compensation value corresponding to the temperature of the terminal can be determined according to the temperature frequency offset compensation table of the terminal. The temperature frequency offset compensation table includes the corresponding relationship between the temperature and the frequency offset that has been fitted in advance, and the frequency offset of the terminal is then compensated. However, in the process of frequency offset compensation for the terminal, the temperature frequency offset compensation table cannot be updated in time, resulting in a large error in the frequency offset compensation. Therefore, the existing temperature frequency offset compensation method has the problem of inaccurate frequency offset compensation.

[0053] In order to solve the problems in the prior art, the embodiments of the present application provide a method, device, equipment, computer storage medium and computer program product for temperature frequency offset compensation. The method for temperature frequency offset compensation provided by the embodiments of the present application is first introduced below.

[0054] Figure 1 FIG. 1 is a flow chart showing a method for temperature frequency offset compensation provided by an embodiment of the present application. Figure 1 As shown, the method includes the following steps: S110 to S190.

[0055] S110: Acquire a temperature frequency offset compensation correspondence relationship of the terminal and the temperature of the environment in which the terminal is located. The temperature frequency offset compensation correspondence relationship includes a correspondence relationship between the temperature and the crystal oscillator deviation and the confidence level.

[0056] In an embodiment of the present application, the terminal may include a digital controlled crystal oscillator (DCXO), and the temperature frequency deviation compensation correspondence refers to a certain temperature in the temperature frequency deviation compensation table and the frequency deviation of the crystal oscillator at the corresponding temperature, which can be called crystal deviation or DCXO deviation. The crystal deviation is a compensation standard for frequency deviation compensation of the crystal oscillator. The temperature frequency deviation compensation table may also include the confidence corresponding to the frequency deviation of the crystal oscillator at the temperature, which can also be regarded as the confidence corresponding to the temperature, that is, the temperature frequency deviation compensation table includes the corresponding crystal deviation and confidence, wherein the confidence is obtained through historical data such as historical temperature, crystal deviation, confidence and channel state information, and therefore can also be regarded as a historical confidence (Confidence_Level_His), and the historical confidence is used to measure whether the temperature and crystal deviation corresponding to the historical confidence in the temperature frequency deviation compensation table are reliable, that is, whether the error of the crystal deviation at the temperature in the temperature frequency deviation compensation table is too large. Among them, the corresponding relationship between temperature and crystal deviation and historical confidence is shown in Table 1 Temperature Frequency Deviation Compensation Table.

[0057]

[0058] Table 1

[0059] In one embodiment, multiple crystals can be selected as samples, and the crystal oscillator deviation values ​​between -40 degrees and 80 degrees can be measured in an incubator. A set of frequency values ​​can be measured at intervals of M degrees, and a fitting curve can be obtained based on an algorithm as the initial value of the temperature frequency deviation compensation table.

[0060] In one embodiment, during production on the production line, the DCXO deviation of the crystal oscillator is calibrated at room temperature, and the entire temperature frequency deviation compensation table is adjusted synchronously based on the calibration value to eliminate individual differences in the crystal oscillator. Due to cost factors, it is not possible to calibrate all temperatures on the production line, and the temperature frequency deviation compensation table has a large residual error.

[0061] The corresponding relationship between temperature, crystal oscillator deviation and confidence is obtained in the created temperature frequency deviation compensation table, and the temperature sensor is used to obtain the temperature of the current environment of the terminal, that is, the ambient temperature of the crystal oscillator in the terminal. At the same time, the channel status information is obtained from the network side signal received by the terminal, and the channel status information may include frequency deviation, signal-to-noise ratio, Doppler frequency shift and other information.

[0062] S120: In the temperature-frequency deviation compensation correspondence, determine an initial crystal oscillator deviation and an initial confidence level corresponding to the temperature.

[0063] In the temperature frequency deviation compensation table, the crystal oscillator deviation and historical confidence (Confidence_Level_His) of the crystal oscillator corresponding to the current ambient temperature are determined based on the temperature frequency deviation compensation correspondence, that is, the initial crystal oscillator deviation and initial confidence are determined, and the initial confidence is the historical confidence (Confidence_Level_His).

[0064] S130: Acquire channel state information of the terminal, where the channel state information includes frequency deviation, signal-to-noise ratio, and Doppler shift.

[0065] Channel state information includes frequency offset, signal-to-noise ratio and Doppler shift. Channel state information (CSI) is an important concept in the field of wireless communications. It describes the characteristics of the communication channel and is crucial for optimizing communication quality and improving data transmission efficiency. Channel state information usually contains multiple parameters, among which frequency offset, signal-to-noise ratio and Doppler shift are several key indicators. Frequency offset refers to the difference between the carrier frequency received by the receiver and the carrier frequency sent by the transmitter. Signal-to-noise ratio (SNR) refers to the ratio of signal power to noise power, which is an important indicator for measuring the quality of a communication link. Doppler shift value refers to the frequency change caused by the relative motion between the signal source (or receiver) and the scatterer.

[0066] The channel state information is obtained from the network side signal received by the terminal. The channel state information may include information such as frequency deviation, signal-to-noise ratio and Doppler frequency shift.

[0067] S140: Determine a first confidence level based on the signal-to-noise ratio and the Doppler shift.

[0068] A first confidence level can be determined from the signal-to-noise ratio and the Doppler shift in the channel state information received by the terminal. The first confidence level can be used to represent the reliability of the estimated crystal oscillator deviation of the current crystal oscillator, and can also be regarded as the current confidence level (Confidence_Level_Cur). A high current confidence level means a high reliability of the estimated crystal oscillator deviation of the current crystal oscillator.

[0069] S150: Calculate the difference between the product of the first confidence level and the Doppler shift and the frequency offset to obtain a first deviation.

[0070] By subtracting the product of the first confidence level and the Doppler shift from the frequency offset in the channel state information, an estimated crystal oscillator deviation of a crystal oscillator can be obtained. To distinguish it from the crystal oscillator deviation corresponding to the temperature of the current environment, that is, the initial crystal oscillator deviation in this embodiment, the initial crystal oscillator deviation can be expressed as deviation Error1. The estimated crystal oscillator deviation of a crystal oscillator obtained by subtracting the product of the first confidence level and the Doppler shift from the frequency offset in the channel state information is the first deviation in this embodiment, and the first deviation is expressed as deviation Error2. The calculation process of deviation Error2 is as follows: deviation Error2 = F2("frequency offset", "Doppler shift"), specifically Error2 = "frequency offset" - Factor2 * "Doppler shift", where 0 < Factor2 < 1. The specific value of Factor2 is determined by the first confidence level, that is, obtained from the current confidence level (Confidence_Level_Cur), and is in a direct proportional relationship with the current confidence level. The larger the current confidence level, the larger the value of Factor2. Based on the first confidence level, Factor2 can be obtained through a mapping relationship. Factor2 is equal to the product of a preset coefficient and the first confidence level. When the "Doppler shift" is small, the value of Factor2 * "Doppler shift" is small, and the value of Error2 is close to the "frequency offset".

[0071] S160: Determine the target crystal oscillator deviation based on the first deviation and the initial crystal oscillator deviation.

[0072] The first confidence is the current confidence (Confidence_Level_Cur), and the initial confidence is the historical confidence (Confidence_Level_His). According to the current confidence (Confidence_Level_Cur) and the historical confidence (Confidence_Level_His), the weights of deviation Error1 and deviation Error2 can be determined. Based on deviation Error1, deviation Error2, the weight of deviation Error1 and the weight of deviation Error2, the target crystal oscillator deviation can be determined, that is, the crystal oscillator deviation obtained by adjusting the channel state information obtained from the network side signal received by the terminal, which is used to update the crystal oscillator deviation corresponding to the temperature of the current environment in the temperature frequency deviation compensation table.

[0073] S170: Determine a target confidence level based on the first confidence level and the initial confidence level.

[0074] The initial confidence corresponding to the current temperature obtained from the temperature frequency deviation compensation table, that is, the historical confidence (Confidence_Level_His) corresponding to the current temperature, the first confidence can be used to indicate the reliability of the estimated crystal deviation of the current crystal oscillator, and can also be regarded as the current confidence (Confidence_Level_Cur). The weights of the current confidence (Confidence_Level_Cur) and the historical confidence (Confidence_Level_His) are obtained, and the weights of the current confidence (Confidence_Level_Cur) and the historical confidence (Confidence_Level_His) can be user-preset values. The target confidence can be determined based on the current confidence (Confidence_Level_Cur), the historical confidence (Confidence_Level_His), the weight of the current confidence (Confidence_Level_Cur) and the weight of the historical confidence (Confidence_Level_His), that is, the confidence obtained by adjusting the channel state information obtained from the network side signal received by the terminal, which is used to update the historical confidence corresponding to the temperature of the current environment in the temperature frequency offset compensation table.

[0075] S180: In the temperature-frequency offset compensation correspondence, the initial crystal oscillator deviation and the initial confidence value corresponding to the temperature are replaced with the target crystal oscillator deviation and the target confidence value.

[0076] In the temperature frequency offset compensation table, according to the temperature frequency offset compensation correspondence, the initial crystal oscillator deviation and initial confidence values ​​corresponding to the previous environment temperature are replaced with the target crystal oscillator deviation and target confidence values, that is, the deviation Error1 and the historical confidence (Confidence_Level_His) values ​​are replaced with the deviation Error2 and the current confidence (Confidence_Level_Cur) values, and the update of the initial crystal oscillator deviation and initial confidence corresponding to the temperature in the temperature frequency offset compensation table at the current environment temperature is completed, so that the terminal can be used for subsequent frequency offset compensation according to the latest updated temperature frequency offset compensation correspondence.

[0077] S190: Compensating for the frequency deviation of the terminal based on the target crystal oscillator deviation.

[0078] Based on the determined target crystal oscillator deviation, that is, the updated crystal oscillator deviation corresponding to the current environment temperature in the temperature frequency deviation compensation table, a crystal oscillator control word is generated and configured to the crystal oscillator of the terminal, that is, the crystal oscillator in the terminal is compensated based on the crystal oscillator deviation corresponding to the current environment temperature.

[0079] The method, apparatus, device, computer-readable storage medium and computer program product for temperature frequency offset compensation of the embodiments of the present application first obtain a temperature frequency offset compensation correspondence of a terminal and the temperature of the environment in which the terminal is located, and determine an initial crystal oscillator deviation and an initial confidence level corresponding to the temperature in the temperature frequency offset compensation correspondence; then obtain channel state information of the terminal, the channel state information including frequency offset, signal-to-noise ratio and Doppler shift, determine a first confidence level based on the signal-to-noise ratio and the Doppler shift, calculate a first deviation by multiplying the first confidence level and the first Doppler shift by the first frequency offset, determine a target crystal oscillator deviation based on the first deviation and the initial crystal oscillator deviation, and determine a target confidence level based on the first confidence level and the initial confidence level; finally, in the temperature frequency offset compensation correspondence, replace the values ​​of the initial crystal oscillator deviation and the initial confidence level corresponding to the temperature with the values ​​of the target crystal oscillator deviation and the target confidence level, and compensate for the frequency offset of the terminal based on the target crystal oscillator deviation. When the terminal receives the network side signal, it obtains the crystal oscillator deviation and confidence corresponding to the current ambient temperature of the terminal, and uses the channel state information in the network side signal to timely update the crystal oscillator deviation and confidence corresponding to the current temperature, and uses the updated crystal oscillator deviation to compensate for the frequency deviation of the terminal, which can reduce the error of frequency deviation compensation and improve the accuracy of frequency deviation compensation.

[0080] As another implementation of the present application, step S140: determining a first confidence level based on the signal-to-noise ratio and the Doppler frequency shift, including: determining a target signal-to-noise ratio mapping value corresponding to the signal-to-noise ratio in a preset mapping relationship between the signal-to-noise ratio and the signal-to-noise ratio mapping value, wherein the target signal-to-noise ratio mapping value has a value range of 0 to 1; determining a target Doppler frequency shift mapping value corresponding to the Doppler frequency shift in a preset mapping relationship between the Doppler frequency shift and the Doppler frequency shift mapping value, wherein the target Doppler frequency shift mapping value has a value range of 0 to 1; and obtaining a first confidence level based on the product of the target signal-to-noise ratio mapping value and the target Doppler frequency shift mapping value.

[0081] The first confidence level, namely the current confidence level (Confidence_Level_Cur), is the confidence level of the estimated crystal oscillator deviation Error2 of the current crystal oscillator. The current confidence level (Confidence_Level_Cur) = Confi ("Signal-to-Noise Ratio") * Confi ("Doppler Shift"). Through the mapping relationship between the signal-to-noise ratio and the signal-to-noise ratio mapping value, that is, through the function Confi ("Signal-to-Noise Ratio"), the signal-to-noise ratio mapping value corresponding to the signal-to-noise ratio can be obtained. The value of Confi ("Signal-to-Noise Ratio") is between 0 and 1. Confi ("Signal-to-Noise Ratio") is a monotonically increasing function of the "Signal-to-Noise Ratio". When the "Signal-to-Noise Ratio" is high, it means that the reliability of the estimation of "Doppler Shift" and "Frequency Deviation" is high, that is, the reliability of the deviation Error2 obtained by "Doppler Shift" and "Frequency Deviation" is high; on the contrary, when the "Signal-to-Noise Ratio" is low, it means that the reliability of the estimation of "Doppler Shift" and "Frequency Deviation" is low, that is, the reliability of the deviation Error2 obtained by "Doppler Shift" and "Frequency Deviation" is low. Through the mapping relationship between Doppler frequency shift and Doppler frequency shift mapping value, that is, through the function Confi("Doppler frequency shift"), the Doppler frequency shift mapping value corresponding to the Doppler frequency shift can be obtained. The value of Confi("Doppler frequency shift") is between 0 and 1. Confi("Doppler frequency shift") is a monotonically decreasing function of "Doppler frequency shift". When the "Doppler frequency shift" is small, it means that the channel changes slowly. When the value of Confi("Doppler frequency shift") is large, the reliability of deviation Error2 is high. When the "Doppler frequency shift" is large, it means that the channel changes quickly. When the value of Confi("Doppler frequency shift") is small, the reliability of deviation Error2 is low.

[0082] This embodiment converts the signal-to-noise ratio and the Doppler frequency shift into a target mapping value through a preset mapping relationship, and calculates the product of the target signal-to-noise ratio mapping value and the target Doppler frequency shift mapping value to obtain the first confidence level. Considering the influence of the signal-to-noise ratio and the Doppler frequency shift, it is possible to more accurately determine whether the received signal is reliable, and then determine whether the adjustment of the temperature frequency offset compensation corresponding relationship through the signal is reliable, thereby improving the effectiveness of the frequency offset compensation.

[0083] As another implementation method of the present application, step S160: determining the target crystal oscillator deviation based on the first deviation and the initial crystal oscillator deviation, including: determining the ratio of the first confidence level to the initial confidence level as the weight of the first deviation, subtracting the value 1 from the weight of the first deviation to obtain the weight of the initial crystal oscillator deviation, and summing the product of the first deviation and the weight of the first deviation with the product of the initial crystal oscillator deviation and the weight of the initial crystal oscillator deviation to obtain the target crystal oscillator deviation.

[0084] The crystal oscillator deviation corresponding to the temperature in the temperature frequency offset compensation table can be updated by using IIR filtering, that is, the target crystal oscillator deviation for updating the crystal oscillator deviation corresponding to the temperature of the current environment in the temperature frequency offset compensation table is calculated by IIR filtering. The target crystal oscillator deviation can be expressed as deviation Error3. The calculation formula of Error3 is shown in formula (1).

[0085] Error3= (1-Alpha) * Error1 + Alpha * Error2 (1)

[0086] Among them, Alpha is the filter coefficient, and the filter coefficient Alpha can be determined by the confidence. Alpha = F3 (Confidence_Level_Cur, Confidence_Level_His), F3 is a monotonically increasing function of (Confidence_Level_Cur / Confidence_Level_His), and Confidence_Level_Cur / Confidence_Level_His refers to the ratio of the current confidence (Confidence_Level_Cur) to the historical confidence (Confidence_Level_His), that is, the ratio of the first confidence to the initial confidence. Alpha indicates which deviation Error2 and Error1 have higher reliability. If Confidence_Level_Cur / Confidence_Level_His>1, it means that Error2 is more reliable, and Error2 can be multiplied by a larger weight factor. The weight factor of Error1 is equal to the value 1 minus the weight factor of Error2.

[0087] In scenarios with high signal-to-noise ratio, low Doppler shift, and small frequency deviation, the current estimated DCXO error is small, and the table will be updated with a larger weight. In addition, for TN networks and TNT high-orbit satellite scenarios, when the terminal is not moving at high speed, it is easier to accurately estimate the DCXO deviation, update the data to the temperature frequency deviation compensation table, and use the data in NTN low-orbit scenarios, which helps improve performance in low-orbit scenarios.

[0088] This embodiment takes into account the first confidence level and the initial confidence level when determining the target crystal oscillator deviation, determines the weight of the first deviation by calculating the ratio of the two, and further calculates the weight of the initial crystal oscillator deviation. Finally, the first target crystal oscillator deviation is obtained by weighted summation of the first deviation and the initial crystal oscillator deviation. This can more accurately reflect the reliability of crystal oscillator deviations from different sources, thereby giving a higher weight to a more reliable crystal oscillator deviation when calculating the target crystal oscillator deviation, thereby improving the accuracy of the final target crystal oscillator deviation result, thereby improving the accuracy of adjusting the temperature-frequency deviation compensation correspondence, and improving the accuracy of frequency deviation compensation.

[0089] As another implementation method of the present application, step S170: determining the target confidence based on the first confidence and the initial confidence, including: obtaining the weight of the first confidence, subtracting the value 1 from the weight of the first confidence to obtain the weight of the initial confidence, and summing the product of the first confidence and the weight of the first confidence with the product of the initial confidence and the weight of the initial confidence to obtain the target confidence.

[0090] The target confidence is used to update the historical confidence corresponding to the temperature of the current environment in the temperature frequency offset compensation table. The target confidence is the updated historical confidence (Confidence_Level_His). The calculation method of the updated historical confidence (Confidence_Level_His) is shown in formula (2).

[0091] Confidence_Level_His = Beta * Confidence_Level_Cur + (2)

[0092] (1-Beta)*Confidence_Level_His

[0093] Among them, Beta is a coefficient, Beta is a preset fixed value, the value of Beta is 1 / N, and N is an integer. The weight of the current confidence level (Confidence_Level_Cur) is Beta, and the weight of the historical confidence level (Confidence_Level_His) is 1-Beta.

[0094] This embodiment assigns weights to the current confidence and the historical confidence respectively, calculates the target confidence based on the weighted average method, assigns different weights to the confidences from different sources, and gives higher weights to more reliable confidences, thereby improving the accuracy of the final target confidence, and further improving the accuracy of frequency offset compensation.

[0095] As another implementation of this application, Figure 2A flow chart of a method for temperature frequency offset compensation provided by another embodiment of the present application is shown. In step S120: in the temperature frequency offset compensation correspondence, after determining the initial crystal oscillator deviation and initial confidence corresponding to the temperature, the method further includes steps S210 to S250.

[0096] S210: Identify the communication mode of the terminal.

[0097] The communication mode of the terminal may include a terrestrial network (TN), a non-terrestrial network (NTN) and a global navigation satellite system (GNSS). After determining the initial crystal oscillator deviation and initial confidence corresponding to the temperature, the communication mode of the current terminal working state is determined.

[0098] S220: When the communication mode of the terminal is not a terrestrial network or a global navigation satellite system and the initial confidence level is less than or equal to a preset threshold, switch the communication mode of the terminal to a terrestrial network.

[0099] When the communication mode of the terminal is NTN or GNSS, determine whether the initial confidence is less than or equal to the preset threshold, which can also be called the confidence threshold, that is, determine whether the corresponding confidence in the temperature frequency compensation table at the current temperature is less than or equal to the threshold value. If the confidence is less than or equal to the threshold value, it means that the crystal oscillator deviation in the temperature frequency deviation compensation table is unreliable. In TN mode, the Doppler shift is lower, and it is easier to get the accurate crystal oscillator deviation rate at the current temperature. In TN mode, update the temperature frequency deviation compensation table and use the data in the NTN low-orbit scenario, which helps to improve the performance in the low-orbit scenario. In dual-card or dual-mode strategies, it can be configured through at commands or nv. Among them, the confidence threshold is related to the specific terminal product type.

[0100] When the communication mode of the terminal is a non-terrestrial network or a global navigation satellite system and the initial confidence is less than or equal to a preset threshold, that is, the historical confidence (Confidence_Level_His) corresponding to the current temperature is less than or equal to the preset threshold, the communication mode of the terminal is switched to a terrestrial network, and the channel state information of the terminal is obtained. The channel state information in the terminal network side signal obtained by the communication mode of the terrestrial network is combined with the obtained initial crystal oscillator deviation and the initial confidence, and the temperature frequency deviation compensation is updated and the frequency deviation compensation of the terminal is compensated in the manner described in steps S130 to S190.

[0101] In one embodiment, when it is identified that the communication mode of the terminal is a terrestrial network, that is, when the current communication mode of the terminal is a TN mode, the communication mode of the terminal is not changed, the channel state information in the terminal network side signal under the current communication mode is obtained, and combined with the obtained initial crystal oscillator deviation and initial confidence, the update of the temperature frequency deviation compensation and the frequency deviation compensation of the terminal are completed in the manner described in steps S130 to S190.

[0102] In one embodiment, when the initial confidence is greater than a preset threshold, that is, when the historical confidence (Confidence_Level_His) corresponding to the current temperature is greater than the preset threshold, the channel state information in the terminal network side signal under the current communication mode is obtained, and combined with the obtained initial crystal oscillator deviation and initial confidence, the temperature frequency deviation compensation is updated and the frequency deviation compensation for the terminal is compensated in the manner described in steps S130 to S190.

[0103] That is, when the historical confidence (Confidence_Level_His) corresponding to the current temperature is greater than the preset threshold, no matter which communication mode the terminal is currently in, TN, NTN or GNSS, the channel state information in the terminal network side signal under the current communication mode continues to be obtained, and the initial crystal oscillator deviation and initial confidence are obtained. The temperature frequency deviation compensation is updated and the frequency deviation compensation for the terminal is compensated in the manner described in steps S130 to S190.

[0104] In TN mode, the Doppler frequency shift is lower, and it is easier to get the accurate DCXO deviation rate at the current temperature. For high-orbit satellite scenarios of TN networks and TNT networks, when the terminal is not moving at high speed, it is easier to accurately estimate the DCXO deviation, update the data to the temperature frequency deviation compensation table, and use the data in NTN low-orbit scenarios, which helps improve performance in low-orbit scenarios.

[0105] In one embodiment, when the communication mode of the terminal is a non-terrestrial network or a global navigation satellite system and the historical confidence (Confidence_Level_His) corresponding to the current temperature is less than or equal to a preset threshold, the communication mode of the terminal is switched to a terrestrial network, and after the temperature frequency offset compensation table is updated using the data in the terrestrial network communication mode of the terminal, the method further includes: switching the communication mode of the terminal back to the original non-terrestrial network or global navigation satellite system, and updating the terminal based on the updated temperature frequency offset compensation table.

[0106] In this embodiment, when the terminal communication mode is NTN or GNSS, and the initial confidence is less than or equal to the preset threshold, the terminal communication mode is switched to TN, and the temperature frequency offset compensation table is updated using the channel state information of the network side signal in the TN mode, and then the terminal is compensated for the frequency offset based on the updated temperature frequency offset compensation table. In the TN, NTN and GNSS modes, a crystal oscillator and a temperature frequency offset compensation table are shared, and the temperature frequency offset compensation table is updated uniformly, which reduces the use cost and maintenance cost as well as the error of the temperature frequency offset compensation table. In particular, for the NTN or GNSS mode, in order to ensure a more accurate frequency offset compensation value, the data in the TN mode can be reused to update the temperature frequency offset compensation data, which further reduces the error of the temperature frequency offset compensation table and is conducive to improving the terminal performance and the accuracy of the frequency offset compensation.

[0107] As another implementation of the present application, in step S230: before switching the communication mode of the terminal to a terrestrial network, the method further includes: judging whether the communication mode of the terminal allows switching to a terrestrial network according to the product type of the terminal; if the communication mode of the terminal allows switching to a terrestrial network, switching the communication mode of the terminal to a terrestrial network.

[0108] When the communication mode of the terminal is non-terrestrial network or global navigation satellite system, and whether the corresponding confidence in the temperature frequency compensation table at the current temperature is less than or equal to the threshold value, first determine whether the communication mode of the terminal allows switching to the terrestrial network. Whether it allows switching to the terrestrial network depends on the specific terminal product type. When the communication mode of the terminal allows switching to the terrestrial network, switch the communication mode of the terminal to the terrestrial network.

[0109] This embodiment determines whether the communication mode of the terminal can be switched to the terrestrial network according to the product type of the terminal. This method ensures that different types of devices can use the most appropriate communication method under appropriate conditions, thereby enhancing the compatibility and flexibility of the system.

[0110] As another implementation of this application, Figure 3 A flow chart of a method for temperature frequency offset compensation provided in another embodiment of the present application is shown. The method includes steps S301 to S314.

[0111] S301: Measure multiple DCXOs, fit a temperature frequency deviation fitting table according to statistical characteristics, and write the temperature frequency deviation fitting table into the terminal NV.

[0112] S302: Calibrate the terminal using an instrument on the production line, and use the calibration value to adjust the temperature frequency deviation fitting table to obtain a temperature frequency deviation compensation table.

[0113] S303: The terminal is powered on and enters a working state, and the current communication mode of the terminal is identified. The communication modes include TN, NTN and GNSS.

[0114] S304: When the terminal communication mode is TN, use a temperature sensor to read the current ambient temperature of the terminal.

[0115] S305: querying a temperature frequency deviation compensation table according to the temperature, and configuring a DCXO to perform frequency deviation compensation on the terminal according to the crystal oscillator deviation corresponding to the temperature.

[0116] S306: Accessing the network signal received by the TN network, synchronously estimating the current frequency offset, signal-to-noise ratio and Doppler, and updating the temperature frequency offset compensation table based on the current frequency offset, signal-to-noise ratio and Doppler.

[0117] S307: When the terminal communication mode is NTN or GNSS, use a temperature sensor to read the current ambient temperature of the terminal.

[0118] S308: querying a temperature frequency deviation compensation table according to the temperature to obtain a corresponding crystal oscillator deviation and confidence.

[0119] S309: Determine whether the confidence level is greater than a threshold.

[0120] S310: When the confidence level is greater than a threshold, configure a DCXO according to a crystal oscillator deviation corresponding to the temperature to perform frequency deviation compensation on the terminal.

[0121] S311: Access the network signal received by the NTN or GNSS network, synchronously estimate the current frequency offset, signal-to-noise ratio and Doppler, and update the temperature frequency offset compensation table based on the current frequency offset, signal-to-noise ratio and Doppler.

[0122] S312: If the confidence level is less than or equal to the threshold, determine whether the terminal is allowed to enter the TN mode. If the terminal is not allowed to enter the TN mode, access the network signal received by the NTN or GNSS network.

[0123] S313: When the terminal is allowed to enter the TN mode, switch to the TN mode to access the service, synchronously estimate the current frequency offset, signal-to-noise ratio and Doppler, and update the temperature frequency offset compensation table based on the current frequency offset, signal-to-noise ratio and Doppler.

[0124] S314: Determine whether the current confidence level is greater than a threshold. If the confidence level is greater than the threshold, switch the communication mode of the terminal back to NTN or GNSS.

[0125] Based on the same concept, the embodiment of the present application provides a temperature frequency offset compensation device. Figure 4 The device for temperature frequency offset compensation provided in the embodiment of the present application is described in detail.

[0126] Figure 4 It is a structural block diagram of a device for temperature frequency offset compensation shown in an embodiment of the present application.

[0127] like Figure 4 As shown, the device for compensating for temperature frequency deviation may include:

[0128] The acquisition module 410 is used to acquire the temperature frequency offset compensation correspondence relationship of the terminal and the temperature of the environment in which the terminal is located, wherein the temperature frequency offset compensation correspondence relationship includes the correspondence relationship between the temperature and the crystal oscillator deviation and the confidence level;

[0129] A determination module 420, configured to determine an initial crystal oscillator deviation and an initial confidence level corresponding to a temperature in a temperature-frequency deviation compensation correspondence relationship;

[0130] The acquisition module 410 is further used to acquire the channel state information of the terminal, where the channel state information includes frequency deviation, signal-to-noise ratio and Doppler shift;

[0131] The determination module 420 is further configured to determine a first confidence level based on the signal-to-noise ratio and the Doppler shift;

[0132] A calculation module 430 is used to calculate a difference between a product of a first confidence level and a Doppler frequency shift and a frequency deviation to obtain a first deviation;

[0133] The determination module 420 is further configured to determine a target crystal oscillator deviation based on the first deviation and the initial crystal oscillator deviation;

[0134] The determination module 420 is further configured to determine a target confidence level based on the first confidence level and the initial confidence level;

[0135] A replacement module 440 is used to replace the initial crystal oscillator deviation and the initial confidence value corresponding to the temperature with the target crystal oscillator deviation and the target confidence value in the temperature frequency deviation compensation correspondence relationship;

[0136] The compensation module 450 is used to compensate the frequency deviation of the terminal based on the target crystal oscillator deviation.

[0137] In one embodiment, the determination module 420 is specifically used to determine a target signal-to-noise ratio mapping value corresponding to the first signal-to-noise ratio in a preset mapping relationship between the signal-to-noise ratio and the signal-to-noise ratio mapping value, wherein the target signal-to-noise ratio mapping value ranges from 0 to 1; determine a target Doppler frequency shift mapping value corresponding to the first Doppler frequency shift in a preset mapping relationship between the Doppler frequency shift and the Doppler frequency shift mapping value, wherein the target Doppler frequency shift mapping value ranges from 0 to 1; and obtain a first confidence level based on the product of the target signal-to-noise ratio mapping value and the target Doppler frequency shift mapping value.

[0138] In one embodiment, the determination module 420 is specifically used to determine the ratio of the first confidence level to the initial confidence level as the weight of the first deviation, subtract the value 1 from the weight of the first deviation to obtain the weight of the initial crystal oscillator deviation, and sum the product of the first deviation and the weight of the first deviation with the product of the initial crystal oscillator deviation and the weight of the initial crystal oscillator deviation to obtain the target crystal oscillator deviation.

[0139] In one embodiment, the determination module 420 is specifically used to obtain the weight of the first confidence, subtract the value 1 from the weight of the first confidence to obtain the weight of the initial confidence, and sum the product of the first confidence and the weight of the first confidence with the product of the initial confidence and the weight of the initial confidence to obtain the target confidence.

[0140] In one embodiment, the determination module 420 is specifically configured to identify the communication mode of the terminal after determining the initial crystal oscillator deviation and the initial confidence corresponding to the temperature in the temperature frequency deviation compensation correspondence relationship;

[0141] When the communication mode of the terminal is a non-terrestrial network or a global navigation satellite system and the initial confidence is less than or equal to a preset threshold, the communication mode of the terminal is switched to a terrestrial network, and channel state information of the terminal is obtained.

[0142] In one embodiment, the determination module 420 is specifically used to determine whether the communication mode of the terminal allows switching to the terrestrial network based on the product type of the terminal before switching the communication mode of the terminal to the terrestrial network; when the communication mode of the terminal allows switching to the terrestrial network.

[0143] Figure 4 Each module in the device shown has the function of realizing Figure 1 , Figure 2 and Figure 3 The functions of each step in the process can achieve the corresponding technical effects, which will not be described in detail here for the sake of brevity.

[0144] Figure 5 A schematic diagram of the hardware structure of an electronic device provided in one embodiment of the present application is shown.

[0145] The electronic device may include a processor 510 and a memory 520 storing computer program instructions.

[0146] Specifically, the processor 510 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0147] The memory 520 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 520 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 520 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 520 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 520 is a non-volatile solid-state memory.

[0148] The memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to the first aspect of the present disclosure.

[0149] The processor 510 implements any one of the temperature frequency offset compensation methods in the above embodiments by reading and executing computer program instructions stored in the memory 520 .

[0150] In one example, the electronic device may further include a communication interface 530 and a bus 540. Figure 5 As shown, the processor 510, the memory 520, and the communication interface 530 are connected via a bus 540 and communicate with each other.

[0151] The communication interface 530 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0152] Bus 540 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 540 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.

[0153] The electronic device can execute the temperature frequency deviation compensation method in the embodiment of the present application, thereby realizing the combination Figure 1 , Figure 2 and Figure 3 A method of temperature frequency offset compensation is described.

[0154] In addition, in combination with the temperature frequency offset compensation method in the above embodiment, the embodiment of the present application can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the temperature frequency offset compensation methods in the above embodiment is implemented.

[0155] An embodiment of the present application further provides a computer program product, including a computer program, which implements any one of the temperature frequency offset compensation methods in the above embodiments when the computer program is processed and executed.

[0156] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0157] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0158] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0159] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and / or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.

[0160] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A method for temperature frequency deviation compensation, It is characterized in that The method comprises: Acquire a temperature frequency offset compensation correspondence relationship of the terminal and the temperature of the environment in which the terminal is located, wherein the temperature frequency offset compensation correspondence relationship includes a correspondence relationship between the temperature and the crystal oscillator deviation and the confidence level; In the temperature-frequency deviation compensation correspondence, determining an initial crystal oscillator deviation and an initial confidence level corresponding to the temperature; Acquiring channel state information of the terminal, the channel state information including frequency deviation, signal-to-noise ratio, and Doppler shift; determining a first confidence level based on the signal-to-noise ratio and the Doppler shift; Calculating a difference between a product of the first confidence level and the Doppler frequency shift and the frequency deviation to obtain a first deviation; Determine a target crystal oscillator deviation based on the first deviation and the initial crystal oscillator deviation; Determining a target confidence level based on the first confidence level and the initial confidence level; In the temperature-frequency offset compensation correspondence, the values ​​of the initial crystal oscillator deviation and the initial confidence corresponding to the temperature are replaced with the values ​​of the target crystal oscillator deviation and the target confidence; The frequency deviation of the terminal is compensated based on the target crystal oscillator deviation.

2. The method according to claim 1, It is characterized in that The determining a first confidence level based on the signal-to-noise ratio and the Doppler frequency shift comprises: In a preset mapping relationship between a signal-to-noise ratio and a signal-to-noise ratio mapping value, determining a target signal-to-noise ratio mapping value corresponding to the signal-to-noise ratio, wherein the target signal-to-noise ratio mapping value ranges from 0 to 1; In a preset mapping relationship between Doppler frequency shift and Doppler frequency shift mapping value, determining a target Doppler frequency shift mapping value corresponding to the Doppler frequency shift, wherein the value range of the target Doppler frequency shift mapping value is 0 to 1; The first confidence level is obtained based on a product of the target signal-to-noise ratio mapping value and the target Doppler frequency shift mapping value.

3. The method according to claim 1, It is characterized in that The determining a target crystal oscillator deviation based on the first deviation and the initial crystal oscillator deviation comprises: Determine the ratio of the first confidence level to the initial confidence level as the weight of the first deviation, subtract the value 1 from the weight of the first deviation to obtain the weight of the initial crystal oscillator deviation, and sum the product of the first deviation and the weight of the first deviation with the product of the initial crystal oscillator deviation and the weight of the initial crystal oscillator deviation to obtain the target crystal oscillator deviation.

4. The method according to claim 1, It is characterized in that The determining of the target confidence based on the first confidence and the initial confidence comprises: Obtain the weight of the first confidence, subtract the value 1 from the weight of the first confidence to obtain the weight of the initial confidence, and sum the product of the first confidence and the weight of the first confidence with the product of the initial confidence and the weight of the initial confidence to obtain the target confidence.

5. The method according to claim 1, It is characterized in that In the temperature-frequency deviation compensation correspondence, after determining the initial crystal oscillator deviation and the initial confidence corresponding to the temperature, the method further includes: identifying a communication mode of the terminal; When the communication mode of the terminal is a non-terrestrial network or a global navigation satellite system and the initial confidence is less than or equal to a preset threshold, the communication mode of the terminal is switched to a terrestrial network.

6. The method according to claim 5, It is characterized in that Before switching the communication mode of the terminal to a terrestrial network, the method further includes: According to the product type of the terminal, determining whether the communication mode of the terminal allows switching to a terrestrial network; In a case where the communication mode of the terminal allows switching to the terrestrial network, the communication mode of the terminal is switched to the terrestrial network.

7. A device for compensating temperature frequency deviation, It is characterized in that The device comprises: An acquisition module, used to acquire a temperature frequency offset compensation correspondence relationship of the terminal and the temperature of the environment in which the terminal is located, wherein the temperature frequency offset compensation correspondence relationship includes a correspondence relationship between temperature and crystal oscillator deviation and confidence; A determination module, used to determine the initial crystal oscillator deviation and initial confidence corresponding to the temperature in the temperature-frequency deviation compensation correspondence relationship; The acquisition module is further used to acquire the channel state information of the terminal, wherein the channel state information includes frequency deviation, signal-to-noise ratio and Doppler shift; A determination module, further configured to determine a first confidence level based on the signal-to-noise ratio and the Doppler frequency shift; A calculation module, used for calculating a difference between a product of the first confidence level and the Doppler frequency shift and the frequency deviation to obtain a first deviation; The determination module is further used to determine a target crystal oscillator deviation based on the first deviation and the initial crystal oscillator deviation; The determination module is further used to determine a target confidence based on the first confidence and the initial confidence; A replacement module, used to replace the initial crystal oscillator deviation and the initial confidence value corresponding to the temperature with the target crystal oscillator deviation and the target confidence value in the temperature-frequency offset compensation correspondence; A compensation module is used to compensate for the frequency deviation of the terminal based on the target crystal oscillator deviation.

8. An electronic device, It is characterized in that The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the method for temperature frequency offset compensation as described in any one of claims 1-6 is implemented.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method for temperature frequency offset compensation according to any one of claims 1 to 6 is implemented.

10. A computer program product, It is characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the method for temperature frequency offset compensation as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Frequency offset compensation method and system, electronic equipment and computer readable storage medium

    CN110855590A

  • Crystal oscillator frequency offset determination method and device and communication system

    CN113115429A

  • Frequency offset correction

    US20240223415A1