Content of the invention
For overcoming problem present in correlation technique, the present invention provides a kind of method automatically controlling radio-frequency (RF) switch and movement
Terminal.
According to embodiments of the present invention in a first aspect, a kind of method automatically controlling radio-frequency (RF) switch is provided it is characterised in that
Including:
Judge whether the radio-frequency power of radio-frequency module on mobile terminal increases to maximum;
When the radio-frequency power of radio-frequency module on described mobile terminal increases to maximum, judge described mobile terminal and base
The communication quality stood;
When described mobile terminal and the communication quality difference of base station, described radio-frequency module is controlled to enter cycle opening.
Alternatively, during described communication quality difference when described mobile terminal and base station, described radio-frequency module is controlled to enter week
Phase opening, comprising:
Control time block to open, and by described time block, the opening and closing of described radio-frequency module are timed.
Alternatively, described control opening timing module, and by described time block to the unlatching of described radio-frequency module and pass
Close and be timed, comprising:
After described time block is opened, open described radio-frequency module regular time section every the set time;
In the fixed time period opening described radio-frequency module, obtain base station signal;
Judge whether described base station signal strength meets communication requirement;
When described base station signal strength meets communication requirement, open described radio-frequency module, close described time block.
Alternatively, described control opening timing module, and by described time block to the unlatching of described radio-frequency module and pass
Close and be timed, comprising:
Judge whether described mobile terminal initiates communication operation;
When described mobile terminal initiates communication operation, control and close described time block, control simultaneously and penetrate described in opening
Frequency module is simultaneously connected with the foundation of described base station.
Alternatively, described every the set time open described radio-frequency module regular time section, comprising:
Every 5 second time, control and open the 3 second time of radio-frequency module.
Alternatively, the communication quality of described mobile terminal and base station, comprising:
Judge whether the communication between described mobile terminal and base station is smooth.
Second aspect according to embodiments of the present invention, provides a kind of mobile terminal, comprising: radio-frequency module, radio-frequency power are sentenced
Disconnected module, communication quality analysis module and radio-frequency (RF) switch control module;
Described radio-frequency module is electrically connected to power judge module and described communication quality analysis module;
Described power judge module is electrically connected to described radio-frequency (RF) switch control module;
Described communication quality analysis module is electrically connected to described radio-frequency (RF) switch control module;
Described radio-frequency (RF) switch control module is electrically connected to described radio-frequency module.
Alternatively, described mobile terminal also includes time block and base station signal analysis module;
Described time block is electrically connected with described radio-frequency (RF) switch control module;
Described radio-frequency module is electrically connected with described signal analysis module;
Described signal analysis module is electrically connected to described radio-frequency (RF) switch control module.
Alternatively, described mobile terminal also includes terminal operating status analysis module;
Described terminal operating status module is electrically connected to described radio-frequency (RF) switch control module.
The technical scheme that embodiments of the invention provide can include following beneficial effect:
Disclosed by the invention automatically control radio-frequency (RF) switch method, first, it is determined that on mobile terminal radio-frequency module radio frequency work(
Whether rate increases to maximum;When the radio-frequency power of radio-frequency module on described mobile terminal increases to maximum, judge described
Mobile terminal and the communication quality of base station;When described mobile terminal and the communication quality difference of base station, control described radio-frequency module
Entrance cycle opening.From the foregoing, when, under the control of base station or mobile terminal, the radio-frequency power of radio-frequency module increases
During to maximum, mobile terminal still, cannot be penetrated with during the proper communication of base station on the premise of radio-frequency power increases to maximum
The power consumption of frequency module increases rapidly, thus leading to endurance poor.This method in these cases, controls radio-frequency module to enter
Cycle opening, under cycle opening, radio-frequency module in a cycle does not open regular time section search base station letter
Number, when searching base station signal strength and reaching communicating requirement, control radio-frequency module to open, and timeing closing module, so may be used
Reduced with the power consumption ensureing radio-frequency module, and do not affect the communication of mobile terminal and other equipment.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not
The present invention can be limited.
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the present invention.On the contrary, they be only with such as appended
The example of the consistent apparatus and method of some aspects being described in detail in claims, the present invention.
With the development of mobile communication technology, the portable function of cell phone and mobility are increasingly by the green grass or young crops of user
Look at.Function with smart mobile phone is stronger and stronger, and its power attenuation is also increasing.Smart mobile phone mainly includes the subsystem that communicates
System, application subsystem and power management subsystem, communication subsystem includes antenna, radio-frequency module, ABB, communication process again
Device;Application subsystem includes application processor and multimedia peripherals.Wherein, in smart mobile phone power consumption larger be
Application processor and radio-frequency module.
When mobile terminal is in holding state, application processor and other multimedia peripherals in a dormant state,
But radio-frequency module is still within opening, therefore, the power consumption of mobile terminal is larger.
Radio-frequency module in mobile terminal, for receiving, sending and process high frequency radio wave.When mobile phone radio frequency module connects
When receiving the foundation connection signal that base station sends over, mobile phone radio frequency module passes through process signal, and analogue signal is converted into electricity
Signal, mobile phone is set up with base station and is connected.When mobile phone needs with other mobile communications, the signal of telecommunication is turned by the radio-frequency module of mobile phone
It is changed to analogue signal to send.In order to reach the good communication of mobile phone and base station it is desirable to the frequency of handset emissions must have foot
, when mobile phone and base station distance are nearer, mobile phone radio frequency module sends less power and just can maintain communication enough intensity,
When mobile phone and base station distance are far, mobile phone must increase the transmit power of itself, could maintain good communication.But, when
The distance of mobile phone and base station is far or when mobile phone is blocked by building, mobile phone radio frequency power requirement is sufficiently large, and now, base station is controlled
Mobile phone radio frequency power processed increases, and after increasing to maximum, mobile phone is still very poor with the communication quality of base station or cannot be normal
During connection, now the power consumption in the case of sending maximum radio-frequency power of the radio-frequency module in mobile phone is very big, thus leading to handss
Machine endurance is poor.
Method disclosed by the invention is used for controlling the switch of radio-frequency module, and when needing communication, radio-frequency module can be beaten automatically
Open the communication ensureing between mobile phone and base station, when the power of radio-frequency module reach maximum still cannot proper communication when, mobile phone control
Radio-frequency module is automatically switched off, thus ensureing mobile phone endurance.
Fig. 1 is a kind of schematic flow sheet of the method automatically controlling radio-frequency (RF) switch disclosed in the embodiment of the present invention.
Step s100, judges whether the radio-frequency power of radio-frequency module on mobile terminal increases to maximum.
The power of the radio-frequency module in existing mobile phone is automatically adjustable, or the power of radio-frequency module can pass through base station
Control passage and between mobile phone is adjusted.When mobile phone power is less do not reach communication requirement when, mobile phone can control radio-frequency module
Increase radio-frequency power it is ensured that mobile phone can search base station signal, and be connected with base station signal foundation.
The radio-frequency power of radio-frequency module on monitor in real time mobile terminal in this method, and judge that the radio-frequency power monitoring is
No increase to maximum.
Step s200, when the radio-frequency power of radio-frequency module on mobile terminal increases to maximum, judge mobile terminal with
The communication quality of base station.
In the realistic case, when the radio-frequency power of the radio-frequency module of mobile terminal increases to maximum in addition it is also necessary to judge
Mobile terminal and the communication quality of base station, because, if after radio-frequency power increases to maximum, the communication of mobile terminal and base station
When smoothly, illustrate that radio-frequency power meets the communication between mobile terminal and base station, if being now opened and closed radio-frequency module, mobile terminal
Communication and base station between will disconnect.
Mobile terminal can be to judge whether communicate smoothly between mobile terminal and base station with the communication quality of base station, example
As, if smoothly set up communication connection, or whether occur interrupting in communication process and situations such as sound is less.
Step s300, when mobile terminal and the communication quality difference of base station, controls radio-frequency module to enter cycle opening.
When the radio-frequency power meeting radio-frequency module increases to maximum, the communication quality between mobile terminal and base station simultaneously
During difference, now radio-frequency module only can cause a large amount of consumption of electricity, also still cannot ensure to communicate smooth.Therefore, now need
Close the endurance that radio-frequency module can ensure that mobile phone.But, if completely close radio-frequency module can lead to radio-frequency module again
Cannot search base station signal.
Communication quality between mobile terminal and base station, can be judged by the signal quality bit error rate, signal quality
The bit error rate is divided into 0-7 level, and when the signal quality bit error rate is more than or equal to 6, now cannot converse substantially in mobile terminal and base station.
When the radio-frequency power of radio-frequency module on mobile terminal increases to maximum, radio-frequency module is controlled to enter cycle unlatching
The scheme of state is as follows:
Due to the consumption of mobile terminal electricity can be increased when the radio-frequency power of radio-frequency module is maximum, now the penetrating of radio-frequency module
Frequency power increases to maximum, between mobile terminal and base station still cannot proper communication, if radio-frequency module is still in even
Continuous opening, only results in the continuous consumption of electricity, and therefore, controllable radio-frequency module enters cycle opening, and the cycle opens
The state of opening is discontinuous opening.
In the present embodiment, carry out timing using time block, so that radio-frequency module is periodically opened.For example, when 5 seconds
Between, make the time that radio-frequency module is opened 3 seconds.Certainly, in actual applications, can according to the battery electric quantity surpluses of mobile terminal or
Electricity consumption pattern systhesis are allocated.Therefore, the opening time of the interval time in cycle opening and radio-frequency module can be according to reality
Border situation is adjusted, can not be used as the restriction of this method protection domain.
After radio-frequency module enters cycle opening, radio-frequency module next how is controlled to enter normal operating conditions
Scheme is as follows:
Scheme one, referring to Fig. 2, is the method that another kind provided in an embodiment of the present invention automatically controls radio-frequency (RF) switch.
Step s301, opens radio-frequency module regular time section every the set time.
After radio-frequency module enters cycle opening, time block is timed, and timing calculates interval time, when timing
Between reach preset interval time after, control radio-frequency module to open, now timing in time block resets, and retimes,
After the timing of time block reaches the default opening time, radio-frequency module is controlled to close.Or, each cycle of time block
Reset once.
Step s302, in the fixed time period opening radio-frequency module, obtains base station signal.
After radio-frequency module enters cycle opening, in each cycle, after radio-frequency module is opened, radio-frequency module searches for base
Stand signal set up connection, now, obtain base station signal and simultaneously analyze base station signal.
Step s303, judges whether base station signal strength meets communication requirement.
Analyze the base station signal getting, judge whether the intensity of base station signal meets communication requirement.Open shape in the cycle
Under state, the time of radio-frequency module opening will can make processor get base station signal, and therefore, the radio-frequency module opening time is not
Can be too short, if too short, in short time period, processor side cannot get base station signal;But the radio-frequency module opening time
Nor oversize, if the time is oversize, power consumption can be led to big again.
Step s304, when base station signal strength meets communication requirement, opens radio-frequency module, timeing closing module.
If base station signal strength meets communication requirement, the base station signal strength that illustrates now ensure that radio-frequency module with
Base station smoothly communicates, and need not increase radio-frequency power again and just smoothly can communicate with base station, therefore, now opens radio-frequency module
A large amount of consumption of electricity are not resulted in yet.
After opening radio-frequency module and closing radio-frequency module, execution step s100, the radio-frequency power of monitor in real time radio-frequency module
Whether increase to the communication quality between maximum, and monitor in real time mobile terminal and base station.
From above-described embodiment, reach maximum in the radio-frequency power of radio-frequency module, and mobile terminal and base station it
Between communication quality still very poor when, if now still keeping radio-frequency module to be in opening, electric quantity consumption can be led to very
Hurry up, therefore, scheme disclosed in this method embodiment controls radio-frequency module to enter cycle opening, opens at every fixed time
Radio-frequency module, whether monitoring base station signal intensity reaches communication requirement, when reaching communication requirement, controls and opens radio-frequency module simultaneously
Timeing closing module.So, this method both can ensure that the communication between mobile terminal and base station, can play saving again
The effect of electricity.
Scheme two, referring to Fig. 3, another method automatically controlling radio-frequency (RF) switch providing for this method embodiment.
Step s305, judges whether mobile terminal initiates communication operation.
When radio-frequency module is in cycle opening, if mobile terminal user needs to carry out with other-end equipment
During communication, at this moment can affect the communication between mobile terminal and other equipment, therefore, be in cycle opening in radio-frequency module
When, need whether real-time monitoring mobile terminal initiates communication operation.Wherein, communication operation includes sending short messages, calls.
For example, when user is sent short messages, edit note press send key action be initiate communication operation, now
After processor receives initiation communication operation, radio-frequency module is controlled to open.
Step s306, when mobile terminal initiates communication operation, controls timeing closing module, controls simultaneously and open radio frequency mould
Block is simultaneously connected with base station foundation.
When terminal user needs to set up communication connection to base station, for example, when user needs to send note or beats electricity
During words, when pressing send key or dial key, terminal detects initiation communication operation, now, controls timeing closing module, same to time control
System opens radio-frequency module it is ensured that the communication of mobile terminal and base station.
Seen from the above description, the method automatically controlling radio-frequency module switch that this method embodiment provides, considers
The demand of mobile terminal user, and mobile terminal power consumption.When user needs communication, automatically control radio-frequency module and open
Open, when the radio-frequency power of radio-frequency module increases to maximum and still cannot communicate, automatically control closing radio-frequency module, but in order to
Ensure that other base stations can be set up with terminal in time to be connected, opening timing module, make radio-frequency module enter cycle opening, this
Sample both can ensure that base station can be set up with radio-frequency module and had been connected, and power consumption can be prevented excessive simultaneously again.
This method also discloses a kind of mobile terminal, referring to Fig. 4, is a kind of mobile terminal disclosed in the embodiment of the present invention.
As shown in FIG., the mobile terminal that this method embodiment provides includes radio-frequency module 702, radio-frequency (RF) switch control module
701st, power judge module 703, communication quality analysis module 705, time block 704, signal analysis module 706 and terminal work
Make block of state 707.
Wherein, radio-frequency module 702 is used for sending and receiving signal, and radio-frequency (RF) switch control module 701 is used for controlling radio frequency mould
The on off state of block 702, whether power judge module 703 is used for how many during the power judging radio-frequency module 702, and increase to
Maximum;
Communication quality analysis module 705, for judging the communication quality rank between radio-frequency module 702 and base station;
Time block 704, for when radio-frequency module 702 enters cycle opening, being that the cycle of radio-frequency module 702 opens
Open timing;
Terminal operating status module 707, for monitoring whether mobile terminal initiates communication request;
Signal analysis module 706, for analyzing the intensity of the base station signal that radio-frequency module 702 receives.
In actual use, power judge module 703 obtains the radio-frequency power of radio-frequency module 702, and judges radio frequency
Whether power increases to maximum, and meanwhile, communication quality analysis module 705 monitors the communication matter of radio-frequency module 702 and base station
Amount, power judge module 703 will determine that result is sent to radio-frequency (RF) switch control module 701, meanwhile, communication quality analysis module
Analysis result is sent to radio-frequency (RF) switch control module 701 by 705, and radio-frequency (RF) switch control module 701 is entered according to the information receiving
Row calculates and controls the switch of radio-frequency module 702.When the power of radio-frequency module 702 increases to maximum, and mobile terminal and base station
Between communication quality difference when, radio-frequency (RF) switch control module 701 control radio-frequency module 702 close, simultaneously control time block 704
Open.
After time block 704 is opened, timing regular time section, timing information is fed back to radio-frequency (RF) switch control module
701, radio-frequency (RF) switch control module 701 controls radio-frequency module 702 to open according to the timing information receiving, and radio-frequency module 702 is opened
Qi Hou, time block 704 is timed calculating, and after opening fixed time period, time block 704 sends timing information to penetrating
Frequency switch control module 701, radio-frequency (RF) switch control module 701 controls radio-frequency module 702 to close.
Under cycle opening, after radio-frequency module 702 is opened, signal analysis module 706 obtains base station signal and judges
Whether base station signal strength meets communication requirement, and will determine that result is sent to radio-frequency (RF) switch control module 701, radio-frequency (RF) switch control
Molding block 701 controls the switch of radio-frequency module 702 according to judged result.When base station signal strength difference can not meet communication requirement
When, radio-frequency (RF) switch control module 701 controls radio-frequency module 702 to open, and timeing closing module 704.
Meanwhile, under cycle opening, terminal operating status module 707 obtains mobile terminal and actively initiates communication request
Information, and the information getting is sent to radio-frequency (RF) switch control module 701.When terminal operating status control module gets shifting
During the communication request that dynamic terminal is actively initiated, solicited message is sent to radio-frequency (RF) switch control module 701, radio-frequency (RF) switch controls mould
Block 701 controls radio-frequency module 702 to open, and controls time block 704 to close it is ensured that mobile terminal is smooth with the communication of base station.
With regard to the device in above-described embodiment, wherein the concrete mode of modules execution operation is in relevant the method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
With reference to Fig. 5, mobile terminal 800 can also include following one or more assemblies: process assembly 802, memorizer
804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (i/o), sensor cluster
814, and communication component 816, wherein, the module shown in Fig. 4 is included in communication component.
The integrated operation of the usual control terminal 800 of process assembly 802, such as with display, call, data communication, phase
Machine operation and record operate associated operation.Process assembly 802 can include one or more processors 820 and refer to execute
Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 802 can include one or more modules, just
Interaction between process assembly 802 and other assemblies.For example, process assembly 802 can include multi-media module, many to facilitate
Interaction between media component 808 and process assembly 802.
Memorizer 804 is configured to store various types of data to support the operation in terminal 800.The showing of these data
Example includes the instruction for any application program of operation or method in terminal 800, contact data, telephone book data, disappears
Breath, picture, video etc..Memorizer 804 can be by any kind of volatibility or non-volatile memory device or their group
Close and realize, such as static RAM (sram), Electrically Erasable Read Only Memory (eeprom), erasable compile
Journey read only memory (eprom), programmable read only memory (prom), read only memory (rom), magnetic memory, flash
Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of terminal 800.Power supply module 806 can include power management system
System, one or more power supplys, and other generate, manage and distribute, with for terminal 800, the assembly that electric power is associated.
Multimedia groupware 808 includes the screen of one output interface of offer between described terminal 800 and user.One
In a little embodiments, screen can include liquid crystal display (lcd) and touch panel (tp).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensings
Device is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sensing touch or sliding action
Border, but also detection and described touch or slide related persistent period and pressure.In certain embodiments, many matchmakers
Body assembly 808 includes a front-facing camera and/or post-positioned pick-up head.When terminal 800 is in operator scheme, such as screening-mode or
During video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and
Post-positioned pick-up head can be the optical lens system of a fixation or have focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured to output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike
Wind (mic), when terminal 800 is in operator scheme, during as call model, logging mode and speech recognition mode, mike is joined
It is set to reception external audio signal.The audio signal being received can be further stored in memorizer 804 or via communication set
Part 816 sends.In certain embodiments, audio-frequency assembly 810 also includes a speaker, for exports audio signal.
, for providing interface between process assembly 802 and peripheral interface module, above-mentioned peripheral interface module can for i/o interface 812
To be keyboard, click wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and lock
Determine button.
Sensor cluster 814 includes one or more sensors, for providing the state of various aspects to comment for terminal 800
Estimate.For example, sensor cluster 814 can detect/the closed mode of opening of terminal 800, and the relative localization of assembly is for example described
Assembly is display and the keypad of terminal 800, and sensor cluster 814 can be with detection terminal 800 or 800 1 assemblies of terminal
Position change, user is presence or absence of with what terminal 800 contacted, terminal 800 orientation or acceleration/deceleration and terminal 800
Temperature change.Sensor cluster 814 can include proximity transducer, is configured to the detection when not having any physical contact
The presence of object nearby.Sensor cluster 814 can also include optical sensor, such as cmos or ccd imageing sensor, for becoming
Use as in application.In certain embodiments, this sensor cluster 814 can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure transducer or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between terminal 800 and other equipment.Terminal
800 can access the wireless network based on communication standard, such as wifi, 2g or 3g, or combinations thereof.In an exemplary enforcement
In example, communication component 816 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, described communication component 816 also includes near-field communication (nfc) module, to promote junction service.Example
As, RF identification (rfid) technology can be based in nfc module, Infrared Data Association (irda) technology, ultra broadband (uwb) technology,
Bluetooth (bt) technology and other technologies are realizing.
In the exemplary embodiment, terminal 800 can be by one or more application specific integrated circuits (asic), numeral letter
Number processor (dsp), digital signal processing appts (dspd), PLD (pld), field programmable gate array
(fpga), controller, microcontroller, microprocessor or other electronic components are realized, for executing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
As included the memorizer 804 instructing, above-mentioned instruction can be executed by the processor 820 of terminal 800 to complete said method.For example,
Described non-transitorycomputer readable storage medium can be rom, random access memory (ram), cd-rom, tape, floppy disk
With optical data storage devices etc..
Those skilled in the art are considering description and practice here after disclosure of the invention, will readily occur to its of the present invention
Its embodiment.The application is intended to any modification, purposes or the adaptations of the present invention, these modifications, purposes or
Person's adaptations are followed the general principle of the present invention and are included the undocumented common knowledge in the art of the present invention
Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following
Claim is pointed out.
It is described above and precision architecture illustrated in the accompanying drawings it should be appreciated that the invention is not limited in, and
And various modifications and changes can carried out without departing from the scope.The scope of the present invention only to be limited by appended claim.