CN109873636A - Frequency adjusting method and mobile terminal - Google Patents

Frequency adjusting method and mobile terminal Download PDF

Info

Publication number
CN109873636A
CN109873636A CN201910237828.1A CN201910237828A CN109873636A CN 109873636 A CN109873636 A CN 109873636A CN 201910237828 A CN201910237828 A CN 201910237828A CN 109873636 A CN109873636 A CN 109873636A
Authority
CN
China
Prior art keywords
change rate
frequency
frequency change
heat source
threshold value
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.)
Granted
Application number
CN201910237828.1A
Other languages
Chinese (zh)
Other versions
CN109873636B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910237828.1A priority Critical patent/CN109873636B/en
Publication of CN109873636A publication Critical patent/CN109873636A/en
Application granted granted Critical
Publication of CN109873636B publication Critical patent/CN109873636B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The present invention provides a kind of frequency adjusting method and mobile terminal, this method comprises: determining the frequency change rate of crystal oscillator;Judge the size relation of the frequency change rate Yu first frequency change rate threshold value;If the frequency change rate is greater than or equal to first frequency change rate threshold value, it is adjusted based on temperature changing speed of the frequency change rate to the target heat source in heat source, so that the frequency change rate is less than first frequency change rate threshold value.The technical solution of the embodiment of the present invention can reduce influence of the temperature change to the frequency of crystal oscillator, so as to reduce satellite capture duration and improve positioning accuracy.

Description

Frequency adjusting method and mobile terminal
Technical field
The present invention relates to field of terminal more particularly to a kind of frequency adjusting methods and mobile terminal.
Background technique
Currently, all built-in positioning device, positioning device such as GPS in many mobile terminals such as mobile phone, vehicle-mounted computer The application of (Global Positioning System, global positioning system) is also more and more extensive, needs in positioning device steady Fixed local clock pulses could be positioned accurately.
In a kind of technical solution, mobile terminal provides local clock pulses using quartz oscillator.However, quartzy Crystal oscillator has the inherent characteristic of " temperature drift ", i.e. the frequency of crystal oscillator changes with the variation of temperature.Therefore, exist In this technical solution, since the frequency of crystal oscillator changes with the variation of temperature, the meeting in the case where there is the scene that temperature becomes Cause the satellite capture time of positioning device elongated or loses star.
Summary of the invention
The purpose of the embodiment of the present invention is that providing a kind of frequency adjusting method and mobile terminal, solve due to crystal oscillator Frequency the problem of changing with the variation of temperature, cause the satellite capture time of positioning device elongated or lose star.
In order to solve the above technical problems, the embodiments of the present invention are implemented as follows:
In a first aspect, being applied to mobile whole the embodiment of the invention provides a kind of frequency adjusting method of crystal oscillator End, the mobile terminal include the crystal oscillator and heat source, and the frequency adjusting method comprises determining that the crystal vibration Swing the frequency change rate of device;Judge the size relation of the frequency change rate Yu first frequency change rate threshold value;If the frequency Change rate is greater than or equal to the first frequency change rate threshold value, then based on the frequency change rate to the target in the heat source The temperature changing speed of heat source is adjusted, so that the frequency change rate is less than the first frequency change rate threshold value.
Second aspect, the embodiment of the invention provides a kind of mobile terminal, the mobile terminal include crystal oscillator with And heat source, the mobile terminal further include: frequency deviation determining module, for determining the frequency change rate of the crystal oscillator;Sentence Disconnected module, for judging the size relation of the frequency change rate Yu first frequency change rate threshold value;Module is adjusted, if being used for institute Frequency change rate is stated more than or equal to the first frequency change rate threshold value, then based on the frequency change rate in the heat source The temperature changing speed of target heat source be adjusted so that the frequency change rate is less than the first frequency change rate threshold Value.
The third aspect, the embodiment of the invention provides a kind of mobile terminals, comprising: memory, processor and is stored in institute The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor The step of realizing the frequency adjusting method as described in above-mentioned first aspect.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage It is stored with computer program on medium, the frequency as described in above-mentioned first aspect is realized when the computer program is executed by processor The step of rate method of adjustment.
Technical solution according to an embodiment of the present invention, on the one hand, be greater than or equal in the frequency change rate of crystal oscillator When first frequency change rate threshold value, it is adjusted, can be dropped based on temperature changing speed of the frequency change rate to target heat source Low temperature changes the influence to the frequency of crystal oscillator, so as to reduce satellite capture duration and improve positioning accuracy; On the other hand, due to the analog to digital conversion circuit without temperature sensitive crystal and integrated thermistor, so as to reduce cost.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The some embodiments recorded in invention, for those of ordinary skill in the art, in the premise of not making the creative labor property Under, it is also possible to obtain other drawings based on these drawings.
Fig. 1 shows the schematic block of the application scenarios of the frequency adjusting method provided according to some embodiments of the present invention Figure;
Fig. 2 shows the flow diagrams of the frequency adjusting method provided according to some embodiments of the present invention;
Fig. 3 shows the flow diagram for the frequency adjusting method that other embodiments according to the present invention provide;
Fig. 4 shows the flow diagram for the frequency adjusting method that other embodiment according to the present invention provides;
Fig. 5 shows the flow diagram for the frequency adjusting method that still other embodiments according to the present invention provide;
Fig. 6 shows the schematic block diagram of the mobile terminal provided according to some embodiments of the present invention;And
Fig. 7 shows the schematic block diagram of the mobile terminal provided according to some embodiments of the present invention.
Specific embodiment
Technical solution in order to enable those skilled in the art to better understand the present invention, below in conjunction with of the invention real The attached drawing in example is applied, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described implementation Example is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is common Technical staff's every other embodiment obtained without creative efforts, all should belong to protection of the present invention Range.
Fig. 1 shows the schematic block of the application scenarios of the frequency adjusting method provided according to some embodiments of the present invention Figure.Shown in referring to Fig.1, which is applied to mobile terminal 100, which includes crystal oscillator 110 And heat source, heat source include CPU120, power amplifier 130 and charging module 140.Crystal oscillator 110 can generate frequency Rate signal, for providing local clock pulses, the heat that heat source such as CPU120, power amplifier 130 or charging module 140 generate Amount can make the temperature of crystal oscillator 110 change, and the frequency for the frequency signal for causing crystal oscillator 110 to generate becomes Change.
It should be noted that the mobile terminal of Fig. 1 include but is not limited to mobile phone, tablet computer, computer, wearable device, The intelligent terminals such as car-mounted computer.Below with reference to the application scenarios of Fig. 1, it is described with reference to Figure 2 exemplary reality according to the present invention Apply the frequency adjusting method of example.It should be noted that above-mentioned application scenarios are merely for convenience of understanding spirit and original of the invention It manages and shows, the embodiment of the present invention is unrestricted in this regard.On the contrary, the embodiment of the present invention can be applied to be applicable in Any scene.
Fig. 2 shows the flow diagrams of the frequency adjusting method provided according to some embodiments of the present invention.The frequency Method of adjustment includes step S210 to step S230, can be applied to the mobile terminal of Fig. 1, which includes crystal oscillation Device and heat source.The frequency input method in the example embodiment of Fig. 2 is described in detail below.
Referring to shown in Fig. 2, in step S210, the frequency change rate of the crystal oscillator is determined.
In the exemplary embodiment, before being positioned, the frequency change rate Δ f of crystal oscillator, crystal oscillation are detected The frequency change rate of device indicates unit time frequency variation for example per second, unit ppb/s.
It should be noted that in the exemplary embodiment, crystal oscillator can be ordinary crystal oscillators, voltage type Crystal oscillator, or other crystal oscillators appropriate such as temp.-compensation type crystal oscillator, digit compensated crystalline substance Oscillation body device, the present invention is to this without particular determination.
In step S220, the size relation of the frequency change rate Yu first frequency change rate threshold value is judged.
In the exemplary embodiment, after the frequency change rate of crystal oscillator has been determined, judge the frequency of crystal oscillator Whether rate change rate is greater than or equal to first frequency change rate threshold value Δ f0.The first frequency change rate threshold value is positioning device example Such as the frequency change rate threshold value that GPS (Global Positioning System, global positioning system) allows, i.e. positioning device Can work normally permitted frequency change rate, the frequency stability of first frequency change rate threshold value and crystal oscillator and The positioning accuracy of positioning device is related.
It should be noted that in the exemplary embodiment, the frequency that first frequency change rate threshold value can allow for positioning device Rate change rate threshold value might be less that the frequency change rate threshold value that positioning device allows, this is equally in protection scope of the present invention It is interior.
In step S230, if the frequency change rate is greater than or equal to the first frequency change rate threshold value, it is based on The frequency change rate is adjusted the temperature changing speed of the target heat source in the heat source, so that the frequency change rate Less than the first frequency change rate threshold value.
In the exemplary embodiment, if the frequency change rate of crystal oscillator is greater than or equal to the first frequency change rate threshold Value, then be adjusted based on temperature changing speed of the frequency change rate to the target heat source in the heat source of mobile terminal, so that The frequency change rate of crystal oscillator is less than the first frequency change rate threshold value, so as to fast Acquisition satellite and accurately into Row positioning.Target heat source in the heat source of mobile terminal may include CPU (Central Processing Unit, central processing Unit), radio-frequency power amplifier, at least one of charging module, target heat source also may include other heat source examples appropriate Such as bluetooth module or WiFi (Wireless-Fidelity, Wireless Fidelity) module, this is same within the scope of the present invention.
Specifically, when the frequency change rate of crystal oscillator is greater than or equal to first frequency change rate threshold value, if mesh Marking heat source includes CPU, then the working frequency of the frequency change rate adjustment CPU based on crystal oscillator;And/or if target heat source Including radio-frequency power amplifier, then the frequency change rate based on crystal oscillator adjusts the transmitting function of the radio-frequency power amplifier Rate;And/or if target heat source includes charging module, the frequency change rate based on crystal oscillator adjusts the charging module Charging current.
The frequency adjusting method in example embodiment according to fig. 2, on the one hand, big in the frequency change rate of crystal oscillator When first frequency change rate threshold value, adjusted based on temperature changing speed of the frequency change rate to target heat source It is whole, it can reduce influence of the temperature change to the frequency of crystal oscillator, so as to reduce satellite capture duration and raising Positioning accuracy;On the other hand, due to the analog to digital conversion circuit without temperature sensitive crystal and integrated thermistor, so as to reduce into This.
CPU, radio-frequency power amplifier or charging module, which are illustrated, to be included the case where to target heat source separately below.In mesh In the case that mark heat source includes CPU, in the exemplary embodiment, if the frequency change rate of crystal oscillator is negative value, reducing should The working frequency of CPU;If or the frequency change rate of crystal oscillator is positive value, increases the working frequency of the CPU.
In the case where target heat source includes radio-frequency power amplifier, in the exemplary embodiment, if the frequency of crystal oscillator Rate change rate is negative value, then reduces the transmission power of the radio-frequency power amplifier;Or if the frequency change rate of crystal oscillator is Positive value then increases the transmission power of radio-frequency power amplifier.
Target heat source include charging module please under, in the exemplary embodiment, if the frequency change rate of crystal oscillator For negative value, then the charging current of the charging module is reduced;If or the frequency change rate of crystal oscillator is positive value, increases this and fills The charging current of electric module.
In addition, if crystal oscillator frequency change rate when just below first frequency change rate threshold value, just stop The temperature changing speed of target heat source is adjusted, will lead to and continually target heat source is adjusted, influence mobile terminal Normal operation.Therefore, in the exemplary embodiment, if the frequency change rate of crystal oscillator is less than first frequency change rate threshold Value, it is determined that whether the frequency change rate of the crystal oscillator is less than second frequency change rate threshold value;If the crystal oscillator Frequency change rate is less than the second frequency change rate threshold value, then stops being adjusted the heat source, the second frequency change rate Threshold value is less than the first frequency change rate threshold value, the frequency stability of the second frequency change rate threshold value and crystal oscillator and The positioning accuracy of positioning device is related.By the way that second frequency change rate threshold value is arranged, continually adjustment target heat source can be avoided Temperature changing speed, improve regulated efficiency.
Fig. 3 shows the flow diagram for the frequency adjusting method that other embodiments according to the present invention provide.
Referring to shown in Fig. 3, in step s310, according to layout scenarios of the crystal oscillator in mobile terminal, preset more The warm variable field scape of kind i.e. heating scene and the scene that cools down, for example, heating scene includes that CPU starts big load operation, radio frequency PA (Power Amplifier, power amplifier) starts transmitting, charging module at least one of starts to charge scene;Cool down field Scape includes that CPU stops big load operation, radio frequency PA stops transmitting, charging module stops at least one of charging scene.
In step s 320, first frequency change rate threshold value Δ f is set0, which is positioning dress The frequency for setting such as GPS permission changes, i.e., positioning device can work normally permitted frequency variation, first frequency change rate Threshold value is related with the positioning accuracy of the frequency stability of crystal oscillator and positioning device.By adjusting first frequency change rate The size of threshold value, being capable of the response speed that is adjusted to heat source of dynamic regulation.
In step S330, determine that the frequency change rate Δ f of crystal oscillator, the frequency change rate of crystal oscillator indicate single Position time frequency variation for example per second.
In step S340, judge whether the frequency change rate Δ f of crystal oscillator is less than first frequency change rate threshold value Δf0If being less than first frequency change rate threshold value Δ f0, then carry out to step S350;If more than or equal to first frequency change rate Threshold value Δ f0, then carry out to step S360.
In step S360, judge that the value of the frequency change rate Δ f of crystal oscillator is positive value or negative value, if being negative Value, then it represents that the frequency change rate of crystal oscillator is the variation of negative sense frequency, and explanation is heating scene, then carries out to step S370;If positive value, then it represents that the frequency change rate of crystal oscillator be positive frequencies variation, explanation be cooling scene, then into It goes to step S380.
In step S370, the heating rate of heat source is reduced, for example, the hair for reducing the working frequency of CPU, reducing radio frequency PA It penetrates power or reduces the charging current of charging module, alleviate the temperature of crystal oscillator by reducing the heating rate of heat source Variability;
In step S380, the cooling rate of heat source is reduced, for example, the hair for improving the working frequency of CPU, improving radio frequency AP It penetrates power or increases the charging current etc. of charging module, alleviate crystal oscillator by reducing the cooling rate of heat source Warm variability.
In step S390, specific time T1 such as 3s is waited to go to step S330, continues to determine crystal oscillator Frequency change rate Δ f.
In embodiments of the present invention, after waiting the first scheduled duration such as 3S, frequency change rate, judgement are reacquired The size relation of the frequency change rate and the first frequency change rate threshold value that newly obtain.
Fig. 4 shows the flow diagram for the frequency adjusting method that other embodiment according to the present invention provides.
Referring to shown in Fig. 4, in step S410, second frequency change rate threshold value Δ f is set1, the second frequency change rate Threshold value is less than above-mentioned first frequency change rate threshold value Δ f0, second frequency change rate threshold value Δ f1Indicate the normal of crystal oscillator Frequency variation, if the frequency change rate of crystal oscillator is in ± Δ f1In the range of when, do not need to the temperature change of heat source speed Degree is adjusted.
In step S415, determine that the frequency change rate Δ f of crystal oscillator, the frequency change rate of crystal oscillator are indicated Unit time frequency variation for example per second.
In the step s 420, judge whether the frequency change rate Δ f of crystal oscillator is less than first frequency change rate threshold value Δf0If being less than first frequency change rate threshold value Δ f0, then carry out to step S440;If more than or equal to first frequency change rate Threshold value Δ f0, then carry out to step S425.
In step S425, judge that the value of the frequency change rate Δ f of crystal oscillator is positive value or negative value, if being negative Value, then it represents that the frequency variation of crystal oscillator is that negative sense frequency changes, and explanation is heating scene, then carries out to step S430; If positive value, then it represents that the frequency variation of crystal oscillator is that positive frequencies change, and explanation is cooling scene, then carries out to step S435。
In step S430, the heating rate of heat source is reduced, for example, the hair for reducing the working frequency of CPU, reducing radio frequency PA It penetrates power or reduces the charging current of charging module, alleviate the temperature of crystal oscillator by reducing the heating rate of heat source Variability;
In step S435, the cooling rate of heat source is reduced, for example, the hair for improving the working frequency of CPU, improving radio frequency AP It penetrates power or increases the charging current etc. of charging module, alleviate crystal oscillator by reducing the cooling rate of heat source Warm variability.
In step S440, positioning device such as GPS carries out tenacious tracking to satellite-signal and captures, based on capture Satellite-signal positions mobile terminal.
In step S445, the frequency change rate Δ f of crystal oscillator is determined.
In step S450, judge whether the frequency change rate Δ f of crystal oscillator is less than second frequency change rate threshold value Δf1If being less than second frequency change rate threshold value, carry out to step S455;If being not less than second frequency change rate threshold value, It carries out to step S460.
In step S455, cancel the heating and cooling measure to heat source, such as stops reducing or increasing the working frequency of CPU.
In step S460, specific time T1 such as 3s is waited to go to step S415, continues to determine crystal oscillator Frequency change rate Δ f.
Fig. 5 shows the flow diagram for the frequency adjusting method that still other embodiments according to the present invention provide.
Referring to Figure 5, in step S510, judge that the frequency change rate Δ f of crystal oscillator and first frequency change Rate threshold value Δ f0Size relation, if the frequency change rate Δ f of crystal oscillator be less than first frequency change rate threshold value Δ f0, then It carries out to step S520;If the frequency change rate Δ f of crystal oscillator is greater than or equal to first frequency change rate threshold value Δ f0, then It carries out to step S530.
In step S520, the GPS module fast Acquisition satellite-signal of mobile terminal simultaneously positions mobile terminal.
In step S530, the temperature changing speed of the target heat source in the heat source of mobile terminal is adjusted, for example, By adjusting the working frequency of CPU or the transmitting function of radio frequency PA to input control signals such as target heat source such as CPU, radio frequency PA Rate.
In step S540, the temperature changing speed of target heat source changes.
In step S550, the temperature changing speed of crystal oscillator changes.
In step S560, the frequency variation of crystal oscillator is determined.
In step S570, determines the frequency change rate Δ f of crystal oscillator, then advance to step S510, be formed with The closed-loop control of effect, in allowed limits by the frequency variation control of crystal oscillator.
Fig. 6 shows the schematic block diagram of the mobile terminal provided according to some embodiments of the present invention.Referring to shown in Fig. 6, The mobile terminal 600 comprises determining that module 610, first judgment module 620 and adjustment module 630.Wherein it is determined that module 610 For determining the frequency change rate of the crystal oscillator;First judgment module 620 is for judging the frequency change rate and the The size relation of one frequency change rate threshold value;It is greater than or equal to described first for the frequency change rate if adjusting module 630 Frequency change rate threshold value is then adjusted based on temperature changing speed of the frequency change rate to the target heat source in the heat source It is whole, so that the frequency change rate is less than the first frequency change rate threshold value.
In some embodiments of the invention, be based on above scheme, the target heat source include central processing unit CPU, At least one of radio-frequency power amplifier, charging module;Wherein, the adjustment module includes: CPU adjustment unit, if for The target heat source includes the CPU, then the working frequency of the CPU is adjusted based on the frequency change rate;And/or radio frequency tune Whole unit, if including the radio-frequency power amplifier for the target heat source, based on described in frequency change rate adjustment The transmission power of radio-frequency power amplifier;And/or charging adjustment unit, if including the charging mould for the target heat source Block then adjusts the charging current of the charging module based on the frequency change rate.
In some embodiments of the invention, it is based on above scheme, the CPU adjustment unit includes: lower frequency unit, is used for If the frequency change rate is negative value, the working frequency of the CPU is reduced;Or higher frequency unit, if changing for the frequency Rate is positive value, then increases the working frequency of the CPU.
In some embodiments of the invention, it is based on above scheme, the radio frequency adjustment unit includes: that power reduces list Member reduces the transmission power of the radio-frequency power amplifier if being negative value for the frequency change rate;Or, power increases Unit increases the transmission power of the radio-frequency power amplifier if being positive value for the frequency change rate.
In some embodiments of the invention, it is based on above scheme, the charging adjustment unit includes: drop stream unit, is used If being negative value in the frequency change rate, the charging current of the charging module is reduced;And/or up-flow unit, if being used for institute Stating frequency change rate is positive value, then increases the charging current of the charging module.
In some embodiments of the invention, above scheme, the mobile terminal are based on further include: the second judgment module, If the frequency change rate is less than the first frequency change rate threshold value, it is determined that whether the frequency change rate is less than the second frequency Rate change rate threshold value, the second frequency change rate threshold value are less than the first frequency change rate threshold value;Stop adjustment unit, uses If being less than the second frequency change rate threshold value in the frequency change rate, stopping is adjusted the heat source.
In some embodiments of the invention, it is based on above scheme, to the temperature change of the target heat source in the heat source After speed is adjusted, the first judgment module 620 is configured as: after the first scheduled duration, rejudging frequency The size relation of change rate and the first frequency change rate threshold value.
Fig. 7 is a kind of hardware structural diagram for mobile terminal that one embodiment of the invention provides, as shown in fig. 7, the shifting Dynamic terminal 700 includes but is not limited to: radio frequency unit 701, audio output unit 703, input unit 704, passes network module 702 Sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, processor 710 and power supply 711 equal components.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 7 is not constituted to mobile terminal It limits, mobile terminal may include perhaps combining certain components or different component cloth than illustrating more or fewer components It sets.In embodiments of the present invention, mobile terminal includes but is not limited to mobile phone, tablet computer, laptop, palm PC, vehicle Mounted terminal, wearable device and pedometer etc..
Wherein, the mobile terminal further includes crystal oscillator and heat source, and computer journey is stored in memory 709 Sequence can be realized following below scheme when the computer program is executed by processor 710: determine that the frequency of the crystal oscillator becomes Rate;Judge the size relation of the frequency change rate Yu first frequency change rate threshold value;If the frequency change rate be greater than or Equal to the first frequency change rate threshold value, then become based on temperature of the frequency change rate to the target heat source in the heat source Change speed to be adjusted, so that the frequency change rate is less than the first frequency change rate threshold value.
Optionally, the target heat source include central processing unit CPU, radio-frequency power amplifier, in charging module extremely Few one kind;The computer program by processor 810 execute when, it is described based on the frequency change rate to the target in the heat source The temperature changing speed of heat source is adjusted, comprising: if the target heat source includes the CPU, is changed based on the frequency Rate adjusts the working frequency of the CPU;If and/or the target heat source includes the radio-frequency power amplifier, is based on described Frequency change rate adjusts the transmission power of the radio-frequency power amplifier;If and/or the target heat source includes the charging mould Block then adjusts the charging current of the charging module based on the frequency change rate.
Optionally, it is described based on described in the frequency change rate adjustment when which is executed by processor 810 The working frequency of CPU, comprising: if the frequency change rate is negative value, reduce the working frequency of the CPU;If or the frequency Rate change rate is positive value, then increases the working frequency of the CPU.
Optionally, it is described that the radio frequency is adjusted based on the frequency variation when which is executed by processor 810 The transmission power of power amplifier, comprising: if the frequency change rate is negative value, reduce the hair of the radio-frequency power amplifier Penetrate power;If or the frequency change rate is positive value, increases the transmission power of the radio-frequency power amplifier.
Optionally, it is described to be based on filling described in the frequency change rate adjustment when which is executed by processor 810 If the charging current of electric module includes: that the frequency change rate is negative value, the charging current of the charging module is reduced;If or The frequency change rate is positive value, then increases the charging current of the charging module.
Optionally, when which is executed by processor 810, the frequency adjusting method further include: if the frequency Rate change rate is less than the first frequency change rate threshold value, it is determined that whether the frequency change rate is less than second frequency change rate Threshold value, the second frequency change rate threshold value are less than the first frequency change rate threshold value;If the frequency change rate is less than institute Second frequency change rate threshold value is stated, then stops being adjusted the temperature changing speed of the target heat source in the heat source.
Optionally, when which is executed by processor 810, to the temperature change of the target heat source in the heat source After speed is adjusted, the frequency adjusting method further include: after waiting the first scheduled duration, rejudge the frequency The size relation of rate change rate and the first frequency change rate threshold value.
It should be understood that the embodiment of the present invention in, radio frequency unit 701 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 710 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 701 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 701 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 702 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 703 can be received by radio frequency unit 701 or network module 702 or in memory 709 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 703 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 700 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 703 includes loudspeaker, buzzer and receiver etc..
Input unit 704 is for receiving audio or video signal.Input unit 704 may include graphics processor (Graphics Processing Unit, GPU) 7041 and microphone 7042, graphics processor 7041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 706.Through graphics processor 7041, treated that picture frame can be deposited Storage is sent in memory 709 (or other storage mediums) or via radio frequency unit 701 or network module 702.Mike Wind 7042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 701 is converted in the case where telephone calling model.
Mobile terminal 700 further includes at least one sensor 705, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 7061, and proximity sensor can close when mobile terminal 700 is moved in one's ear Display panel 7061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 705 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 706 is for showing information input by user or being supplied to the information of user.Display unit 706 can wrap Display panel 7061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 7061.
User input unit 707 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 707 include touch panel 7071 and Other input equipments 7072.Touch panel 7071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 7071 or in touch panel 7071 Neighbouring operation).Touch panel 7071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 710, receiving area It manages the order that device 710 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 7071.In addition to touch panel 7071, user input unit 707 can also include other input equipments 7072.Specifically, other input equipments 7072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 7071 can be covered on display panel 7061, when touch panel 7071 is detected at it On or near touch operation after, send processor 710 to determine the type of touch event, be followed by subsequent processing device 710 according to touching The type for touching event provides corresponding visual output on display panel 7061.Although touch panel 7071 and display panel 7061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 7071 and display panel 7061 is integrated, is not done herein specifically It limits.
Interface unit 708 is the interface that external device (ED) is connect with mobile terminal 700.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 708 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 700 or can be used in 700 He of mobile terminal Data are transmitted between external device (ED).
Memory 709 can be used for storing software program and various data.Memory 709 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 709 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 710 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 709, and calls and is stored in storage Data in device 709 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 710 may include one or more processing units;Preferably, processor 710 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 710.
Mobile terminal 700 can also include the power supply 711 (such as battery) powered to all parts, it is preferred that power supply 711 Can be logically contiguous by power-supply management system and processor 710, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 700 includes some unshowned functional modules, details are not described herein.
Mobile terminal in the embodiment of the present application can be realized each process of aforementioned frequencies method of adjustment, and reach identical Effect and function, be not repeated herein.
Further, the embodiment of the present invention also provides a kind of computer readable storage medium, computer readable storage medium On be stored with computer program, when which is executed by processor realize said frequencies method of adjustment embodiment it is each Process, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage Medium, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in the above embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (15)

1. a kind of frequency adjusting method, is applied to mobile terminal, the mobile terminal includes crystal oscillator and heat source, spy Sign is that the frequency adjusting method includes:
Determine the frequency change rate of the crystal oscillator;
Judge the size relation of the frequency change rate Yu first frequency change rate threshold value;
If the frequency change rate is greater than or equal to the first frequency change rate threshold value, based on the frequency change rate to institute The temperature changing speed for stating the target heat source in heat source is adjusted, so that the frequency change rate becomes less than the first frequency Rate threshold value.
2. frequency adjusting method according to claim 1, which is characterized in that the target heat source includes central processing unit At least one of CPU, radio-frequency power amplifier, charging module;
It is wherein, described to be adjusted based on temperature changing speed of the frequency change rate to the target heat source in the heat source, Include:
If the target heat source includes the CPU, the working frequency of the CPU is adjusted based on the frequency change rate;And/or
If the target heat source includes the radio-frequency power amplifier, the radio-frequency power is adjusted based on the frequency change rate The transmission power of amplifier;And/or
If the target heat source includes the charging module, the charging of the charging module is adjusted based on the frequency change rate Electric current.
3. frequency adjusting method according to claim 2, which is characterized in that described to adjust institute based on the frequency change rate State the working frequency of CPU, comprising:
If the frequency change rate is negative value, the working frequency of the CPU is reduced;Or
If the frequency change rate is positive value, the working frequency of the CPU is increased.
4. frequency adjusting method according to claim 2, which is characterized in that described to adjust institute based on the frequency change rate State the transmission power of radio-frequency power amplifier, comprising:
If the frequency change rate is negative value, the transmission power of the radio-frequency power amplifier is reduced;Or
If the frequency change rate is positive value, the transmission power of the radio-frequency power amplifier is increased.
5. frequency adjusting method according to claim 2, which is characterized in that described to adjust institute based on the frequency change rate The charging current for stating charging module includes:
If the frequency change rate is negative value, the charging current of the charging module is reduced;Or
If the frequency change rate is positive value, the charging current of the charging module is increased.
6. frequency adjusting method according to claim 1, which is characterized in that the frequency adjusting method further include:
If the frequency change rate is less than the first frequency change rate threshold value, it is determined that whether the frequency change rate is less than the Two frequency change rate threshold values, the second frequency change rate threshold value are less than the first frequency change rate threshold value;
If the frequency change rate is less than the second frequency change rate threshold value, stop to the target heat source in the heat source Temperature changing speed is adjusted.
7. frequency adjusting method according to any one of claim 1 to 6, which is characterized in that the mesh in the heat source After the temperature changing speed of mark heat source is adjusted, the frequency adjusting method further include:
After the first scheduled duration, the size relation of frequency change rate Yu the first frequency change rate threshold value is rejudged.
8. a kind of mobile terminal, the mobile terminal includes crystal oscillator and heat source, which is characterized in that the mobile terminal Further include:
Determining module, for determining the frequency change rate of the crystal oscillator;
First judgment module, for judging the size relation of the frequency change rate Yu first frequency change rate threshold value;
Module is adjusted, if being greater than or equal to the first frequency change rate threshold value for the frequency change rate, based on described Frequency change rate is adjusted the temperature changing speed of the target heat source in the heat source, so that the frequency change rate is less than The first frequency change rate threshold value.
9. mobile terminal according to claim 8, which is characterized in that the target heat source include central processing unit CPU, At least one of radio-frequency power amplifier, charging module;
Wherein, the adjustment module includes:
CPU adjustment unit adjusts the CPU based on the frequency change rate if including the CPU for the target heat source Working frequency;And/or
Radio frequency adjustment unit is changed if including the radio-frequency power amplifier for the target heat source based on the frequency Rate adjusts the transmission power of the radio-frequency power amplifier;And/or
Charge adjustment unit, if including the charging module for the target heat source, is adjusted based on the frequency change rate The charging current of the charging module.
10. mobile terminal according to claim 9, which is characterized in that the CPU adjustment unit includes:
Lower frequency unit reduces the working frequency of the CPU if being negative value for the frequency change rate;Or
Higher frequency unit increases the working frequency of the CPU if being positive value for the frequency change rate.
11. mobile terminal according to claim 9, which is characterized in that the radio frequency adjustment unit includes:
Power reduces unit, if being negative value for the frequency change rate, reduces the transmitting function of the radio-frequency power amplifier Rate;Or,
Power elevation unit increases the transmitting function of the radio-frequency power amplifier if being positive value for the frequency change rate Rate.
12. mobile terminal according to claim 9, which is characterized in that the charging adjustment unit includes:
Drop stream unit reduces the charging current of the charging module if being negative value for the frequency change rate;Or
Up-flow unit increases the charging current of the charging module if being positive value for the frequency change rate.
13. mobile terminal according to claim 8, which is characterized in that the mobile terminal further include:
Second judgment module, if being less than the first frequency change rate threshold value for the frequency change rate, it is determined that the frequency Whether rate change rate is less than second frequency change rate threshold value, and the second frequency change rate threshold value changes less than the first frequency Rate threshold value;
Stop adjustment unit, if being less than the second frequency change rate threshold value for the frequency change rate, stops to described The temperature changing speed of target heat source in heat source is adjusted.
14. a kind of mobile terminal characterized by comprising memory, processor and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 7 is realized when the computer program is executed by the processor Any one of described in frequency adjusting method the step of.
15. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the frequency adjusting method as described in any one of claims 1 to 7 when the computer program is executed by processor The step of.
CN201910237828.1A 2019-03-27 2019-03-27 Frequency adjustment method and mobile terminal Active CN109873636B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910237828.1A CN109873636B (en) 2019-03-27 2019-03-27 Frequency adjustment method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910237828.1A CN109873636B (en) 2019-03-27 2019-03-27 Frequency adjustment method and mobile terminal

Publications (2)

Publication Number Publication Date
CN109873636A true CN109873636A (en) 2019-06-11
CN109873636B CN109873636B (en) 2023-05-05

Family

ID=66921374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910237828.1A Active CN109873636B (en) 2019-03-27 2019-03-27 Frequency adjustment method and mobile terminal

Country Status (1)

Country Link
CN (1) CN109873636B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110277987A (en) * 2019-06-27 2019-09-24 Oppo广东移动通信有限公司 Temperature-compensation method and device, electronic equipment, the storage medium of crystal oscillator
CN112422084A (en) * 2019-08-20 2021-02-26 Oppo广东移动通信有限公司 Temperature compensation method and device for crystal oscillator, electronic device and storage medium
CN112859994A (en) * 2021-01-11 2021-05-28 湖南国科微电子股份有限公司 Voltage regulation method, device, equipment and medium of integrated chip
US11764731B2 (en) * 2020-02-21 2023-09-19 STMicroelectronics (Alps) SAS Drift compensation

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006170673A (en) * 2004-12-13 2006-06-29 Epson Toyocom Corp Temperature-compensating piezoelectric oscillator and receiving device using it
CN101295961A (en) * 2007-04-25 2008-10-29 泰艺电子股份有限公司 Temperature compensation type oscillator capable of remaining constant temperature
CN102868363A (en) * 2011-07-05 2013-01-09 富士通半导体股份有限公司 System and method for reducing temperature-dependent and process-dependent frequency variation of a crystal oscillator circuit
CN103546148A (en) * 2012-07-09 2014-01-29 日本电波工业株式会社 Oven controlled crystal oscillator
US20140201550A1 (en) * 2011-12-21 2014-07-17 Stefan Rusu Apparatus, method, and system for adaptive compensation of reverse temperature dependence
CN104954303A (en) * 2014-03-28 2015-09-30 联发科技股份有限公司 Handheld device and frequency tracking method thereof
CN105743498A (en) * 2016-02-01 2016-07-06 江汉大学 Time reference system and apparatus, and method and device for time reference
CN107134995A (en) * 2016-02-29 2017-09-05 日本电波工业株式会社 The crystal oscillator of attached thermostat
CN109039574A (en) * 2018-08-21 2018-12-18 维沃移动通信有限公司 A kind of method and its terminal device reducing frequency deviation

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006170673A (en) * 2004-12-13 2006-06-29 Epson Toyocom Corp Temperature-compensating piezoelectric oscillator and receiving device using it
CN101295961A (en) * 2007-04-25 2008-10-29 泰艺电子股份有限公司 Temperature compensation type oscillator capable of remaining constant temperature
CN102868363A (en) * 2011-07-05 2013-01-09 富士通半导体股份有限公司 System and method for reducing temperature-dependent and process-dependent frequency variation of a crystal oscillator circuit
US20140201550A1 (en) * 2011-12-21 2014-07-17 Stefan Rusu Apparatus, method, and system for adaptive compensation of reverse temperature dependence
CN203759687U (en) * 2011-12-21 2014-08-06 英特尔公司 Adaptive compensation device and system applied to reverse temperature dependence
CN103546148A (en) * 2012-07-09 2014-01-29 日本电波工业株式会社 Oven controlled crystal oscillator
CN104954303A (en) * 2014-03-28 2015-09-30 联发科技股份有限公司 Handheld device and frequency tracking method thereof
CN105743498A (en) * 2016-02-01 2016-07-06 江汉大学 Time reference system and apparatus, and method and device for time reference
CN107134995A (en) * 2016-02-29 2017-09-05 日本电波工业株式会社 The crystal oscillator of attached thermostat
CN109039574A (en) * 2018-08-21 2018-12-18 维沃移动通信有限公司 A kind of method and its terminal device reducing frequency deviation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
徐泽雨,黄可: "一种新的晶体振荡器自动稳频技术", 《电子科技大学学报》 *
赵岩等: "晶体振荡器的频率稳定度和老化特性研究", 《时间频率学报》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110277987A (en) * 2019-06-27 2019-09-24 Oppo广东移动通信有限公司 Temperature-compensation method and device, electronic equipment, the storage medium of crystal oscillator
CN112422084A (en) * 2019-08-20 2021-02-26 Oppo广东移动通信有限公司 Temperature compensation method and device for crystal oscillator, electronic device and storage medium
CN112422084B (en) * 2019-08-20 2024-04-19 Oppo广东移动通信有限公司 Temperature compensation method and device for crystal oscillator, electronic equipment and storage medium
US11764731B2 (en) * 2020-02-21 2023-09-19 STMicroelectronics (Alps) SAS Drift compensation
CN112859994A (en) * 2021-01-11 2021-05-28 湖南国科微电子股份有限公司 Voltage regulation method, device, equipment and medium of integrated chip

Also Published As

Publication number Publication date
CN109873636B (en) 2023-05-05

Similar Documents

Publication Publication Date Title
CN109873636A (en) Frequency adjusting method and mobile terminal
CN110266930A (en) Light compensation method, mobile terminal and the light adjusting method of image taking
CN108111729B (en) A kind of camera module, control method and mobile terminal
CN110881212B (en) Method and device for saving power of equipment, electronic equipment and medium
CN109981009A (en) A kind of control method and mobile terminal of stepper motor
CN109888867A (en) A kind of charging method and mobile terminal
CN108984066A (en) A kind of application icon display methods and mobile terminal
CN110113528A (en) A kind of parameter acquiring method and terminal device
CN109548117A (en) A kind of network selecting method and mobile terminal
CN109413726A (en) Power consumption control method and mobile terminal
CN107888765A (en) A kind of method of handoff scenario pattern, mobile terminal
CN110399000A (en) A kind of mobile terminal temperature control method mobile terminal
CN109388223A (en) One kind putting out screen display method, apparatus and terminal
CN108541015A (en) A kind of signal strength reminding method and mobile terminal
CN108920067A (en) A kind of camera focusing method and mobile terminal
CN107733016A (en) A kind of mobile terminal charging control method and mobile terminal
CN109192153A (en) A kind of terminal and terminal control method
CN109491230A (en) A kind of clocking method and electronic equipment
CN109413264A (en) A kind of background picture method of adjustment and terminal device
CN109101151A (en) A kind of information display processing method and terminal device
CN109474747A (en) A kind of information cuing method and mobile terminal
CN108879856A (en) A kind of charging method and terminal
CN108924911A (en) A kind of starting wifi hotspot shares the method and device of network
CN108810284A (en) A kind of mode switching method and electronic equipment of camera
CN107819957A (en) A kind of electricity based reminding method, mobile terminal

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
GR01 Patent grant
GR01 Patent grant