CN106656361B - Frequency synchronization method and device - Google Patents

Frequency synchronization method and device Download PDF

Info

Publication number
CN106656361B
CN106656361B CN201610892310.8A CN201610892310A CN106656361B CN 106656361 B CN106656361 B CN 106656361B CN 201610892310 A CN201610892310 A CN 201610892310A CN 106656361 B CN106656361 B CN 106656361B
Authority
CN
China
Prior art keywords
frequency
mobile terminal
channel
compensation value
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201610892310.8A
Other languages
Chinese (zh)
Other versions
CN106656361A (en
Inventor
熊先平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610892310.8A priority Critical patent/CN106656361B/en
Publication of CN106656361A publication Critical patent/CN106656361A/en
Application granted granted Critical
Publication of CN106656361B publication Critical patent/CN106656361B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/11Monitoring; Testing of transmitters for calibration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/04Speed or phase control by synchronisation signals
    • H04L7/06Speed or phase control by synchronisation signals the synchronisation signals differing from the information signals in amplitude, polarity or frequency or length
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/0035Synchronisation arrangements detecting errors in frequency or phase

Abstract

The invention discloses a frequency synchronization method and a device, wherein the method comprises the following steps: the method comprises the steps of obtaining a compensation value of automatic frequency control calibration of a mobile terminal at a reference temperature, detecting frequency error values of the mobile terminal in a preset number of channels in a base station at a target temperature, calculating a target compensation value of the automatic frequency control calibration at the target temperature through a preset algorithm according to the compensation value and the frequency error values, and compensating a local oscillation frequency of the mobile terminal by using the target compensation value when the mobile terminal runs at the target temperature so as to enable the working frequency of the mobile terminal to be synchronous with the frequency of the base station. The frequency synchronization method and the frequency synchronization device can reduce the synchronization error between the working frequency of the mobile terminal and the frequency of the base station, so that the mobile terminal can be connected with the base station more stably, the communication signal of the mobile terminal is more stable, and the mobile terminal can keep good conversation quality at a target temperature.

Description

Frequency synchronization method and device
Technical Field
The present invention belongs to the field of communications, and in particular, to a frequency synchronization method and apparatus.
Background
The Automatic Frequency Control (AFC) calibration is to keep the Frequency of the handset always synchronized to the base station when the physical location of the handset changes. The change of the external environment may affect the local oscillation frequency of the mobile phone, so that the local oscillation frequency of the mobile phone needs to be compensated by the pre-calculated compensation value for AFC calibration, so that the working frequency of the mobile phone is synchronized with the frequency of the base station.
However, in the prior art, since the local oscillation frequency of the mobile terminal changes along with the change of the external temperature, the local oscillation frequency of the mobile phone is compensated by a fixed compensation value calculated at normal temperature, which may cause an error between the working frequency of the compensated mobile phone and the frequency of the base station, and thus a situation that the mobile phone cannot be connected to the base station or is connected unstably may occur, so that the communication signal of the mobile phone is unstable, and the communication quality of the mobile phone is affected.
Disclosure of Invention
The invention provides a frequency synchronization method and a frequency synchronization device, and aims to solve the problem that communication signals of a mobile phone are unstable and the conversation quality of the mobile phone is influenced due to the fact that the mobile phone cannot be connected with a base station or is unstable in connection caused by the fact that the working frequency of the mobile phone after compensation is different from the frequency of the base station.
A first aspect of the present invention provides a frequency synchronization method, including: obtaining a compensation value of automatic frequency control calibration of the mobile terminal at a reference temperature; detecting frequency error values of the mobile terminal in a preset number of channels in a base station at a target temperature, wherein the target temperature is a temperature higher or lower than the reference temperature; calculating a target compensation value of automatic frequency control calibration at the target temperature through a preset algorithm according to the compensation value and the frequency error value; when the mobile terminal operates at the target temperature, compensating the local oscillation frequency of the mobile terminal by using the target compensation value so as to synchronize the working frequency of the mobile terminal with the frequency of the base station.
A second aspect of the present invention provides a frequency synchronization apparatus, comprising: the acquisition module is used for acquiring a compensation value of automatic frequency control calibration of the mobile terminal at a reference temperature; the detection module is used for detecting frequency error values of the mobile terminal in a preset number of channels in a base station at a target temperature, wherein the target temperature is a temperature higher than or lower than the reference temperature; the calculation module is used for calculating a target compensation value of automatic frequency control calibration at the target temperature through a preset algorithm according to the compensation value and the frequency error value; and the compensation module is used for compensating the local oscillation frequency of the mobile terminal by using the target compensation value when the mobile terminal operates at the target temperature so as to synchronize the working frequency of the mobile terminal with the frequency of the base station.
The frequency synchronization method and device provided by the invention obtain the compensation value of the automatic frequency control calibration of the mobile terminal under the reference temperature, detect the frequency error value of the mobile terminal in the preset number of channels of the base station under the target temperature, the target temperature is the temperature higher or lower than the reference temperature, according to the compensation value and the frequency error value, the target compensation value of the automatic frequency control calibration under the target temperature is calculated by the preset algorithm, when the mobile terminal operates under the target temperature, the local oscillation frequency of the mobile terminal is compensated by the target compensation value, so as to synchronize the working frequency of the mobile terminal with the frequency of the base station, therefore, the local oscillation frequency of the mobile terminal can be accurately compensated by the calculated target compensation value under the target temperature, thus the synchronous error between the working frequency of the mobile terminal and the frequency of the base station can be reduced, and then mobile terminal can be connected more stably with the base station for mobile terminal's communication signal is more stable, thereby mobile terminal can keep good speech quality under the target temperature.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention.
Fig. 1 is a block diagram of a mobile terminal;
fig. 2 is a schematic flow chart of an implementation of a frequency synchronization method according to a first embodiment of the present invention;
fig. 3 is a schematic flow chart of an implementation of a frequency synchronization method according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a frequency synchronization apparatus according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of a frequency synchronization apparatus according to a fourth embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
Fig. 1 shows a block diagram of a mobile terminal. The frequency synchronization method provided by the embodiment of the present invention may be applied to the mobile terminal 10 shown in fig. 1, where the mobile terminal 10 may include, but is not limited to: the method needs to rely on a battery to maintain normal operation, support a network, have a downloading function, and have a communication function, such as a smart phone, a tablet computer and a wearable smart device.
As shown in fig. 1, the mobile terminal 10 includes a memory 101, a memory controller 102, one or more processors 103 (only one shown), a peripheral interface 104, a radio frequency module 105, a key module 106, an audio module 107, and a touch screen 108. These components communicate with each other via one or more communication buses/signal lines 109.
It is to be understood that the configuration shown in fig. 1 is merely exemplary and is not intended to limit the configuration of the mobile terminal 10. The mobile terminal 10 may also include more or fewer components than shown in FIG. 1, or may have a different configuration than shown in FIG. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
The memory 101 may be used for storing software programs and modules, such as the frequency synchronization method in the embodiment of the present invention and program instructions/modules corresponding to the mobile terminal 10, and the processor 103 executes various functional applications and data processing by running the software programs and modules stored in the memory 101, so as to implement the frequency synchronization method.
Memory 101 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 101 may further include memory located remotely from the processor 103, which may be connected to the mobile terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. Access to the memory 101 by the processor 103 and possibly other components may be under the control of the memory controller 102.
The peripheral interface 104 couples various input/output devices to the CPU and to the memory 101. The processor 103 executes various software, instructions within the memory 101 to perform various functions of the mobile terminal 10 and to perform data processing.
In some embodiments, the peripheral interface 104, the processor 103, and the memory controller 102 may be implemented in a single chip. In other examples, they may be implemented separately from the individual chips.
The rf module 105 is used for receiving and transmitting electromagnetic waves, and implementing interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The rf module 105 may include various existing circuit elements for performing these functions, such as an antenna, an rf transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The rf module 105 may communicate with various networks such as the internet, an intranet, a preset type of wireless network, or other devices through a preset type of wireless network. The preset types of wireless networks described above may include cellular telephone networks, wireless local area networks, or metropolitan area networks. The Wireless network of the above-mentioned preset type may use various communication standards, protocols and technologies, including but not limited to Global System for mobile communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), bluetooth, Wireless Fidelity (WiFi) (e.g. IEEE802.11a, IEEE802.11 b, IEEE802.11g and/or IEEE802.11 n), Internet protocol field communication (NFC), VoIP), world wide web microwave Access (wimax), other protocols for email, instant messaging, and short messaging, and any other suitable messaging protocol.
The key module 106 provides an interface for user input to the mobile terminal, and the user may cause the mobile terminal 10 to perform different functions by pressing different keys.
Audio module 107 provides an audio interface to a user that may include one or more microphones, one or more speakers, and audio circuitry. The audio circuitry receives audio data from the peripheral interface 104, converts the audio data to electrical information, and transmits the electrical information to the speaker. The speaker converts the electrical information into sound waves that the human ear can hear. The audio circuitry also receives electrical information from the microphone, converts the electrical information to voice data, and transmits the voice data to the peripheral interface 104 for further processing. The audio data may be retrieved from the memory 101 or through the radio frequency module 105. In addition, the audio data may also be stored in the memory 101 or transmitted through the radio frequency module 105. In some examples, audio module 107 may also include a headphone jack for providing an audio interface to headphones or other devices.
The touch screen 108 provides both an output and an input interface between the mobile terminal and the user. In particular, the touch screen 108 displays video output to the user, the content of which may include text, graphics, video, and any combination thereof. Some of the output results are for some of the user interface objects. The touch screen 108 also receives user inputs, such as user clicks, swipes, and other gesture operations, for the user interface objects to respond to these user inputs. The technique of detecting user input may be based on resistive, capacitive, or any other possible touch detection technique. Specific examples of touch screen 108 display units include, but are not limited to, liquid crystal displays or light emitting polymer displays.
Referring to fig. 2, fig. 2 is a schematic diagram of a flow chart of implementing a frequency synchronization method according to a first embodiment of the present invention, which can be applied to a mobile terminal having a call function. The frequency synchronization method shown in fig. 1 mainly includes the following steps:
s201, obtaining a compensation value of automatic frequency control calibration of the mobile terminal at a reference temperature.
The mobile terminal can be a mobile phone, a tablet computer and other terminals with a communication function. The reference temperature may be any temperature, may be a temperature value, or may be a temperature range, and the preferred reference temperature in this embodiment is room temperature. The compensation value is a compensation value of AFC calibration at a reference temperature, and may be represented by an offset value, and the obtaining manner is not limited, and may be obtained locally or from a background server.
S202, detecting frequency error values of the mobile terminal in a preset number of channels in the base station at a target temperature.
The target temperature is a temperature higher or lower than the reference temperature. The target temperature may be a temperature value or a temperature range. A base station, also known as a public mobile station, is a radio transceiver station that communicates information with mobile terminals via a mobile switching center in a certain radio coverage area. Typically, a base station includes several channels. The preferred preset number of channels in this embodiment is 2 channels.
And S203, calculating a target compensation value of the automatic frequency control calibration at the target temperature through a preset algorithm according to the compensation value and the frequency error value.
If there are a plurality of target temperatures, a plurality of frequency error values may be obtained in step S202, so that a plurality of target compensation values may be obtained through a preset algorithm, wherein one target compensation value corresponds to one target temperature.
And S204, when the mobile terminal operates at the target temperature, compensating the local oscillation frequency of the mobile terminal by using the target compensation value so as to synchronize the working frequency of the mobile terminal with the frequency of the base station.
And when the mobile terminal operates at the target temperature, starting an AFC calibration method, and compensating the local oscillation frequency of the mobile terminal by using the target compensation value. The compensation mode is that the local oscillation frequency of the mobile terminal and the target compensation value are added or subtracted to synchronize the working frequency of the mobile terminal and the frequency of the base station.
It should be noted that the units of the compensation value for AFC calibration and the target compensation value in the embodiment of the present invention are the same as the units of the frequency.
In the embodiment of the invention, a compensation value of automatic frequency control calibration of a mobile terminal at a reference temperature is obtained, a frequency error value of the mobile terminal in a preset number of channels in a base station is detected at a target temperature, the target temperature is a temperature higher or lower than the reference temperature, a target compensation value of the automatic frequency control calibration at the target temperature is calculated by a preset algorithm according to the compensation value and the frequency error value, when the mobile terminal runs at the target temperature, the local oscillation frequency of the mobile terminal is compensated by using the target compensation value so as to synchronize the working frequency of the mobile terminal with the frequency of the base station, therefore, the calculated target compensation value can be used for accurately compensating the local oscillation frequency of the mobile terminal at the target temperature, thereby reducing the synchronous error between the working frequency of the mobile terminal and the frequency of the base station, and then mobile terminal can be connected more stably with the base station for mobile terminal's communication signal is more stable, thereby mobile terminal can keep good speech quality under the target temperature.
Referring to fig. 3, fig. 3 is a schematic diagram of a flow chart of implementing a frequency synchronization method according to a second embodiment of the present invention, which can be applied to a mobile terminal with a call function. The frequency synchronization method shown in fig. 3 mainly includes the following steps:
301. and acquiring a compensation value of the automatic frequency control calibration of the mobile terminal at the reference temperature.
The mobile terminal can be a mobile phone, a tablet computer and other terminals with a communication function. The compensation value is a compensation value of AFC calibration at a reference temperature, and may be represented by an offset value, and the obtaining manner is not limited, and may be obtained locally or from a background server. The reference temperature may be any temperature, may be a temperature value, or may be a temperature range, and the preferred reference temperature in this embodiment is normal temperature. In practical applications, at normal temperature, the AFC calibration usually uses a Slope (Slope) method to calculate the compensation value of the AFC calibration.
One base station comprises three cells, and one cell comprises a plurality of channels.
Optionally, before step S302, the method further includes: in the same cell of the base station, a first channel and a second channel are selected.
Optionally, before step S302, the method further includes: in two cells of the base station, the first channel and the second channel are selected, respectively.
The channel selection methods are totally two: one is to select two channels in the same cell of the base station: a first channel and a second channel; the other is to select the first channel and the second channel in two cells of the base station respectively. Two ways of selecting the channel are in an or relationship.
Optionally, after selecting the first channel and the second channel, the method further includes: the frequency of the first channel and the frequency of the second channel are detected.
302. And detecting the frequency error value of the mobile terminal in a preset number of channels in the base station at the target temperature.
The target temperature is a temperature higher or lower than the reference temperature. The target temperature may be a temperature value or a temperature range. The preset number of channels is 2 channels.
Optionally, detecting, at the target temperature, frequency error values of the mobile terminal in a preset number of channels in the base station specifically includes:
detecting the local oscillation frequency of the mobile terminal in the first channel and the local oscillation frequency of the mobile terminal in the second channel at the target temperature;
performing difference operation on the local oscillation frequency of the mobile terminal in the first channel and the frequency of the first channel to obtain a first frequency error value of the mobile terminal in the first channel; and performing difference operation on the local oscillation frequency of the mobile terminal in the second channel and the frequency of the second channel to obtain a second frequency error value of the mobile terminal in the second channel.
303. And calculating a target compensation value of the automatic frequency control calibration at the target temperature through a preset algorithm according to the compensation value and the frequency error value.
Optionally, the step of calculating a target compensation value of the automatic frequency control calibration at the target temperature by using a preset algorithm according to the compensation value and the frequency error value specifically includes:
and performing linear function operation on the compensation value and a preset ratio to obtain a target compensation value at the target temperature.
Wherein the preset ratio is a ratio between the first frequency error value and the second frequency error value. The preset ratio may be a value greater than 1 or a value less than 1. It should be noted that, when calculating the target compensation value, it is necessary to calculate with the same type of preset ratio, where the type of preset ratio includes: a value greater than 1 and a value less than 1.
If there are a plurality of target temperatures, a plurality of frequency error values may be obtained in step S202, so that a plurality of target compensation values may be obtained through a preset algorithm, wherein one target compensation value corresponds to one target temperature. In practical applications, the corresponding relationship between the target compensation value and the target temperature may be exemplified in the form of a table, where table 1 is an AFC calibration table of the mobile terminal, as shown in table 1 below. Wherein the AFC calibration table further comprises a corresponding relationship between the reference temperature and the compensation value.
TABLE 1
Temperature of Compensation value of mobile terminal
Target temperature 1 Target compensation value 1
Reference temperature Compensation value
Target temperature 2 Target compensation value 2
The following describes the above process of calculating the target compensation value by way of example, and the following is specifically described:
setting the reference temperature to be 30 ℃, the target temperature to be 50 ℃ and the compensation value at the reference temperature to be the offset value; setting the selected first channel as an A channel, setting the selected second channel as a B channel, and setting local oscillation frequencies of the mobile terminal in the A channel and the B channel as f1 and f2 respectively;
acquiring an offset value of AFC calibration of the mobile terminal at a reference temperature;
detecting a frequency F1 of an A channel and a frequency F2 of a B channel;
detecting the local oscillation frequency f1 of the mobile terminal in the A channel and the local oscillation frequency f2 of the mobile terminal in the B channel at 50 ℃;
performing difference operation on the frequency F1 and the local frequency F1 of the channel A to obtain a first frequency error value delta fH1 of the mobile terminal in the channel A, and performing difference operation on the frequency F2 and the local frequency F2 of the channel B to obtain a second frequency error value delta fH2 of the mobile terminal in the channel B;
and performing linear function operation on the compensation value offset and a preset ratio d to obtain a target compensation value offset H at 50 ℃, wherein the linear formula is represented as: offset H is offset d, where d is Δ fH2/Δ fH 1.
304. When the mobile terminal operates at the target temperature, the local oscillation frequency of the mobile terminal is compensated by using the target compensation value, so that the working frequency of the mobile terminal is synchronous with the frequency of the base station.
And when the mobile terminal operates at the target temperature, starting an AFC calibration method, and compensating the local oscillation frequency of the mobile terminal by using the target compensation value. The compensation mode is that the local oscillation frequency of the mobile terminal and the target compensation value are added or subtracted to synchronize the working frequency of the mobile terminal and the frequency of the base station.
Optionally, when the mobile terminal operates at the target temperature, compensating the local oscillation frequency of the mobile terminal by using the target compensation value, so that the synchronization between the operating frequency of the mobile terminal and the frequency of the base station specifically includes:
when the mobile terminal operates at a target temperature, acquiring the frequency of a channel where the mobile terminal is located and the local oscillation frequency of the mobile terminal;
and when the local oscillation frequency of the mobile terminal and the frequency of the channel have errors at the target temperature, compensating the local oscillation frequency of the mobile terminal by using the target compensation value so as to synchronize the working frequency of the mobile terminal with the frequency of the base station.
In the embodiment of the invention, the compensation value of AFC calibration of a mobile terminal at a reference temperature is obtained, the frequency error value of the mobile terminal in a preset number of channels in a base station is detected at a target temperature, the target compensation value of the AFC calibration at the target temperature is calculated by a preset algorithm according to the compensation value and the frequency error value, when the mobile terminal runs at the target temperature, the local oscillation frequency of the mobile terminal is compensated by using the target compensation value, so that the working frequency of the mobile terminal is synchronous with the frequency of the base station, therefore, the local oscillation frequency of the mobile terminal can be accurately compensated by using the calculated target compensation value at the target temperature, the synchronous error between the working frequency of the mobile terminal and the frequency of the base station can be reduced, and the mobile terminal can be connected with the base station more stably, so that the communication signal of the mobile terminal is more stable, therefore, the mobile terminal can keep good call quality at the target temperature.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a frequency synchronization apparatus according to a third embodiment of the present invention, and for convenience of description, only the parts related to the embodiment of the present invention are shown. The frequency synchronization apparatus illustrated in fig. 4 may be an execution subject of the frequency synchronization method provided in the foregoing embodiments illustrated in fig. 1 and fig. 2, such as a mobile terminal or a control module in the mobile terminal. The frequency synchronization apparatus illustrated in fig. 4 mainly includes: an acquisition module 401, a detection module 402, a calculation module 403 and a compensation module 404. The above functional modules are described in detail as follows:
an obtaining module 401, configured to obtain a compensation value of automatic frequency control calibration of the mobile terminal at a reference temperature;
a detecting module 402, configured to detect frequency error values of the mobile terminal in a preset number of channels in the base station at a target temperature, where the target temperature is a temperature higher than or lower than the reference temperature;
a calculating module 403, configured to calculate, according to the compensation value and the frequency error value, a target compensation value for automatic frequency control calibration at the target temperature through a preset algorithm;
a compensation module 404, configured to compensate the local oscillation frequency of the mobile terminal by using the target compensation value when the mobile terminal operates at the target temperature, so that the operating frequency of the mobile terminal is synchronized with the frequency of the base station.
For details that are not described in the present embodiment, please refer to the description of the embodiment shown in fig. 2, which is not described herein again.
It should be noted that, in the embodiment of the frequency synchronization apparatus illustrated in fig. 4, the division of each functional module is only an example, and in practical applications, the above functions may be allocated by different functional modules according to needs, for example, configuration requirements of corresponding hardware or convenience of implementation of software. In addition, in practical applications, the corresponding functional modules in this embodiment may be implemented by corresponding hardware, or may be implemented by corresponding hardware executing corresponding software. The above description principles can be applied to various embodiments provided in the present specification, and are not described in detail below.
In the embodiment of the present invention, the obtaining module 401 obtains a compensation value of AFC calibration of a mobile terminal at a reference temperature, the detecting module 402 detects a frequency error value of the mobile terminal in a preset number of channels of a base station at a target temperature, the target temperature is a temperature higher than or lower than the reference temperature, the calculating module 403 calculates a target compensation value of AFC calibration at the target temperature by a preset algorithm according to the compensation value and the frequency error value, and the compensating module 404 compensates a local oscillation frequency of the mobile terminal by using the target compensation value when the mobile terminal operates at the target temperature, so as to synchronize the operating frequency of the mobile terminal with the frequency of the base station, so that the local oscillation frequency of the mobile terminal can be accurately compensated by using the calculated target compensation value at the target temperature, thereby reducing an error between the operating frequency of the mobile terminal and the frequency of the base station, and then mobile terminal can be connected more stably with the base station for mobile terminal's communication signal is more stable, thereby mobile terminal can keep good speech quality under the target temperature.
Referring to fig. 5, a schematic structural diagram of a frequency synchronization apparatus according to a fourth embodiment of the present invention is shown, wherein for convenience of description, only the relevant portions of the fourth embodiment of the present invention are shown. The frequency synchronization apparatus illustrated in fig. 5 may be an execution subject of the frequency synchronization method provided in the foregoing embodiment illustrated in fig. 3, such as a mobile terminal or a control module in the mobile terminal. The frequency synchronization apparatus illustrated in fig. 5 mainly includes: the device comprises an acquisition module 501, a selection module 502, a detection module 503, a calculation module 504 and a compensation module 505, wherein the detection module 503 comprises: a test sub-module 5031 and an operator sub-module 5032. The above functional modules are described in detail as follows:
an obtaining module 501, configured to obtain a compensation value of automatic frequency control calibration of the mobile terminal at a reference temperature.
The mobile terminal can be a mobile phone, a tablet computer and other terminals with a communication function. The reference temperature may be any temperature, may be a temperature value, or may be a temperature range, and the preferred reference temperature in this embodiment is room temperature, and generally the room temperature is 25-30 ℃. The compensation value is a compensation value of AFC calibration at a reference temperature, and may be represented by an offset value, and the obtaining manner is not limited, and may be obtained locally by the obtaining module 502, or obtained locally by the obtaining module 501 from a background server.
One base station comprises three cells, and one cell comprises a plurality of channels.
Optionally, the apparatus further comprises: a selecting module 502 is configured to select a first channel and a second channel in the same cell of the base station.
Optionally, the selecting module 502 is further configured to select the first channel and the second channel in two cells of the base station, respectively.
The selection module 502 selects channels in two ways: one is to select two channels in the same cell of the base station: a first channel and a second channel; the other is to select the first channel and the second channel in two cells of the base station respectively. Two ways of selecting the channel are in an or relationship.
Optionally, the detecting module 503 is configured to detect a frequency of the first channel and a frequency of the second channel.
The detecting module 503 is further configured to detect frequency error values of the mobile terminal in a preset number of channels in the base station at the target temperature.
The target temperature is a temperature higher or lower than the reference temperature. The target temperature may be a temperature value or a temperature range. The preset number of channels is 2 channels.
Optionally, the detection module 503 includes: a test sub-module 5031 and an operator module 5032;
the testing sub-module 5031 is configured to detect, at the target temperature, a local oscillation frequency of the mobile terminal in the first channel and a local oscillation frequency of the mobile terminal in the second channel;
an operation submodule 5032, configured to perform a difference operation on the local oscillation frequency of the mobile terminal in the first channel and the frequency of the first channel to obtain a first frequency error value of the mobile terminal in the first channel;
the operation sub-module 5032 is further configured to perform a difference operation on the local oscillation frequency of the mobile terminal in the second channel and the frequency of the second channel to obtain a second frequency error value of the mobile terminal in the second channel.
A calculating module 504, configured to calculate, according to the compensation value and the frequency error value, a target compensation value for automatic frequency control calibration at the target temperature through a preset algorithm.
Optionally, the calculating module 504 is further configured to perform linear function operation on the compensation value and a preset ratio to obtain a target compensation value at the target temperature.
Wherein the preset ratio is a ratio between the first frequency error value and the second frequency error value. The preset ratio may be a value greater than 1 or a value less than 1. It should be noted that, when calculating the target compensation value, it is necessary to calculate with the same type of preset ratio, where the type of preset ratio includes: a value greater than 1 and a value less than 1.
If there are multiple target temperatures, the detecting module 503 may obtain multiple frequency error values, so that the calculating module 504 may obtain multiple target compensation values through a preset algorithm, where one target compensation value corresponds to one target temperature. In practical applications, the corresponding relationship between the target compensation value and the target temperature may be exemplified in the form of a table, where table 1 is an AFC calibration table of the mobile terminal, as shown in table 1 in the above embodiment. Wherein the AFC calibration table further comprises a corresponding relationship between the reference temperature and the compensation value.
And a compensation module 505, configured to compensate the local oscillation frequency of the mobile terminal by using the target compensation value when the mobile terminal operates at the target temperature, so that the operating frequency of the mobile terminal is synchronized with the frequency of the base station.
When the mobile terminal operates at the target temperature, the compensation module 505 starts an AFC calibration method, and compensates the local oscillation frequency of the mobile terminal by using the target compensation value. The compensation mode is that the local oscillation frequency of the mobile terminal and the target compensation value are added or subtracted to synchronize the working frequency of the mobile terminal and the frequency of the base station.
Optionally, the compensation module 505 comprises: a fetch sub-module 5051 and a compensation sub-module 5052;
the obtaining sub-module 5051 obtains the frequency of the channel where the mobile terminal is located and the local oscillation frequency of the mobile terminal when the mobile terminal operates at a target temperature;
when it is determined that there is an error between the local oscillation frequency of the mobile terminal and the frequency of the channel at the target temperature, the compensation submodule 5052 compensates the local oscillation frequency of the mobile terminal by using the target compensation value, so that the operating frequency of the mobile terminal is synchronized with the frequency of the base station.
For details that are not described in the present embodiment, please refer to the description of the embodiment shown in fig. 3, which is not described herein again.
In the embodiment of the present invention, the obtaining module 501 obtains a compensation value of AFC calibration of a mobile terminal at a reference temperature, the detecting module 503 detects frequency error values of the mobile terminal in a preset number of channels in a base station at a target temperature, according to the compensation value and the frequency error values, the calculating module 504 calculates a target compensation value of AFC calibration at the target temperature by using a preset algorithm, and the compensating module 505 compensates a local oscillation frequency of the mobile terminal by using the target compensation value when the mobile terminal operates at the target temperature, so as to synchronize the operating frequency of the mobile terminal with the frequency of the base station, and thus, at the target temperature, the local oscillation frequency of the mobile terminal can be accurately compensated by using the calculated target compensation value, so that an error between the operating frequency of the mobile terminal and the frequency of the base station can be reduced, and the mobile terminal can be connected with the base station more stably, the communication signal of the mobile terminal is more stable, so that the mobile terminal can keep good call quality at a target temperature.
In the embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication link may be an indirect coupling or communication link of some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. 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.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present invention is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no acts or modules are necessarily required of the invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In view of the above description of the frequency synchronization method and apparatus provided by the present invention, those skilled in the art will recognize that changes may be made in the embodiments and applications of the frequency synchronization method and apparatus provided by the present invention.

Claims (2)

1. A method of frequency synchronization, comprising:
obtaining a compensation value of automatic frequency control calibration of the mobile terminal at a reference temperature;
selecting a first channel and a second channel in the same cell of a preset base station, or respectively selecting the first channel and the second channel in two cells of the base station;
detecting the frequency of the first channel and the frequency of the second channel, and detecting the local oscillation frequency of the mobile terminal in the first channel and the local oscillation frequency of the mobile terminal in the second channel at a target temperature;
performing difference operation on the local oscillation frequency of the mobile terminal in the first channel and the frequency of the first channel to obtain a first frequency error value of the mobile terminal in the first channel; performing difference operation on the local oscillation frequency of the mobile terminal in the second channel and the frequency of the second channel to obtain a second frequency error value of the mobile terminal in the second channel, and performing linear function operation on the compensation value and a preset ratio to obtain a target compensation value at the target temperature, wherein the preset ratio is a ratio between the first frequency error value and the second frequency error value;
when the mobile terminal operates at the target temperature, compensating the local oscillation frequency of the mobile terminal by using the target compensation value so as to synchronize the working frequency of the mobile terminal with the frequency of the base station.
2. A frequency synchronization apparatus, characterized in that the apparatus comprises:
the acquisition module is used for acquiring a compensation value of automatic frequency control calibration of the mobile terminal at a reference temperature;
a selecting module, configured to select a first channel and a second channel in a same cell of a preset base station, or select the first channel and the second channel in two cells of the base station, respectively;
the detection module is used for detecting the frequency of the first channel and the frequency of the second channel, and detecting the local oscillation frequency of the mobile terminal in the first channel and the local oscillation frequency of the mobile terminal in the second channel at a target temperature;
the operation module is used for performing difference operation on the local oscillation frequency of the mobile terminal in the first channel and the frequency of the first channel to obtain a first frequency error value of the mobile terminal in the first channel; performing difference operation on the local oscillation frequency of the mobile terminal in the second channel and the frequency of the second channel to obtain a second frequency error value of the mobile terminal in the second channel, and performing linear function operation on the compensation value and a preset ratio to obtain a target compensation value at the target temperature, wherein the preset ratio is a ratio between the first frequency error value and the second frequency error value;
and the compensation module is used for compensating the local oscillation frequency of the mobile terminal by using the target compensation value when the mobile terminal operates at the target temperature so as to synchronize the working frequency of the mobile terminal with the frequency of the base station.
CN201610892310.8A 2016-10-12 2016-10-12 Frequency synchronization method and device Expired - Fee Related CN106656361B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610892310.8A CN106656361B (en) 2016-10-12 2016-10-12 Frequency synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610892310.8A CN106656361B (en) 2016-10-12 2016-10-12 Frequency synchronization method and device

Publications (2)

Publication Number Publication Date
CN106656361A CN106656361A (en) 2017-05-10
CN106656361B true CN106656361B (en) 2020-09-15

Family

ID=58856922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610892310.8A Expired - Fee Related CN106656361B (en) 2016-10-12 2016-10-12 Frequency synchronization method and device

Country Status (1)

Country Link
CN (1) CN106656361B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107396439B (en) * 2017-08-16 2020-03-10 维沃移动通信有限公司 Frequency adjustment method and mobile terminal
CN108123763A (en) * 2017-12-26 2018-06-05 中国铁路信息技术中心 Frequency difference compensation method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859675A (en) * 2006-01-04 2006-11-08 华为技术有限公司 Frequency correcting method and device
CN103746720A (en) * 2013-12-30 2014-04-23 深圳市广和通实业发展有限公司 Adjusting system and adjusting method for wireless communication module

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8687748B2 (en) * 2007-11-28 2014-04-01 Mediatek Inc. Radio frequency control for communication systems

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859675A (en) * 2006-01-04 2006-11-08 华为技术有限公司 Frequency correcting method and device
CN103746720A (en) * 2013-12-30 2014-04-23 深圳市广和通实业发展有限公司 Adjusting system and adjusting method for wireless communication module

Also Published As

Publication number Publication date
CN106656361A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
US10659587B2 (en) Incoming call management method and apparatus
US10805708B2 (en) Headset sound channel control method and system, and related device
US8862078B2 (en) Communication method and apparatus for multi-standby mode in a communication terminal
CN107948055B (en) Method, apparatus and computer readable storage medium for masking messages sent by group members
EP3716665A1 (en) Transmission configuration method and apparatus
CN106888495B (en) Network access method and terminal
US11284398B2 (en) Communication link configuration method and device
KR101034554B1 (en) Method and apparatus for controlling voice quality of portable device
CN107871015B (en) Log data processing method and device, terminal and readable storage medium
KR20190032263A (en) Information transmitting and receiving method, apparatus and system
CN108769401B (en) Signal detection method and related product
CN106254791A (en) The startup method of photographic head and mobile terminal
US11323144B2 (en) Method and device for indicating inter-modulation distortion, base station, and user equipment
CN106656361B (en) Frequency synchronization method and device
CN107682553B (en) Call signal sending method and device, mobile terminal and storage medium
CN108990144B (en) Reference signal measurement method, user equipment and network equipment
US20220360416A1 (en) Method and device for indication of in-device coexistence interference
US8121551B2 (en) GSM mobile terminal and noise suppression method for the same
CN108377298B (en) Method and device for switching answering mode, mobile terminal and computer readable storage medium
US10199727B2 (en) Variable capacitor-based antenna adjustment method and related apparatus
CN106304287B (en) Method for reducing standby power consumption of mobile terminal and mobile terminal
CN108282852B (en) WiFi bridging management method and device, mobile terminal and computer readable storage medium
KR101670259B1 (en) Mobile terminal and method for transmitting message thereof
JP2015076798A (en) Radio communication device and program
JP2015076799A (en) Radio communication device and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200915

CF01 Termination of patent right due to non-payment of annual fee