Embodiment
In following a plurality of embodiment of the present invention; Some embodiment provides a kind of condition control method of portable terminal device, and some embodiment provides a kind of portable terminal device, and said portable terminal device comprises first processor and second processor; Second processor detects the state variation value that use at first of said terminal; When the state variation value of said first application surpasses the threshold value that is provided with in advance, obtain the state of said first processor, when said first processor is in first state; Notify said first processor with said state variation value; When said first processor is in second state, keep second state of said first processor, the power consumption of said first processor when said first state is greater than the power consumption when said second state.
In order to make those skilled in the art person understand the technical scheme in the embodiment of the invention better; And make the above-mentioned purpose of the embodiment of the invention, feature and advantage can be more obviously understandable, below in conjunction with accompanying drawing technical scheme in the embodiment of the invention done further detailed explanation.
Portable terminal in the embodiment of the invention comprises the first processor and second processor; In actual application; First processor can be specially the AP processor, i.e. X86 architecture processor, and second processor can be specially the CP processor; Be the ARM architecture processor, but be merely exemplary description here.Particular type according to portable terminal is different; In fact the first processor and second processor can be the ARM architecture processor; Or be the X86 architecture processor, or be other architecture processors etc., promptly the combination embodiment of the invention to the variety classes processor does not limit.
The first embodiment flow process of the condition control method of portable terminal device of the present invention is as shown in Figure 1:
Step 101: the state variation value that first of the second processor sense terminals is used.
Wherein, first uses some low promptnesses that can be specially in the terminal uses, and promptly when first processor is in low power consumpting state, can carry out the application that application state upgrades.Can comprise: second processor detects the state of the wireless signal at said terminal; Or said second processor detects the state of the network registry at said terminal.
Concrete, second processor detects first first state value used constantly first, detects first second state value used constantly second, obtains this first state variation value of using according to the one the second processors and second state value.
Step 102: when the state variation value of first application surpasses the threshold value that is provided with in advance, obtain the state of first processor.
Step 103: judge the operating state of first processing, if first state, then execution in step 104; If second state, then execution instep 105, and wherein the power consumption of first processor when said first state be greater than the power consumption when said second state.
Step 104: second processor finishes current flow process with state variation value notice first processor.
Step 105: keep second state of first processor, finish current flow process.
The second embodiment flow process of the condition control method of portable terminal device of the present invention is as shown in Figure 2, and this embodiment shows portable terminal device and initially starts shooting behind the signal strength signal intensity informing function of open communication processor, wireless signal is shown the process of control:
Step 201: after the portable terminal device start, communication processor start signal intensity informing function.
Step 202: judge the state of application processor, if operating state, then execution instep 203; If power down mode, then execution instep 206.
Wherein, operating state can comprise: display module is in illuminating state; Or need the state of shows signal intensity; Power down mode can comprise: display module is in dark screen state; Or display module is in the screen protection state; Or do not need the state of shows signal intensity.
Step 203: the state variation value that communication processor detects wireless signal surpasses the threshold value that is provided with in advance.
For example, the change in signal strength of wireless signal reaches and changes the degree that signal strength signal intensity shows, such as becoming 75% from 100%.
Step 204: communication processor sends to application processor through the signal strength signal intensity informing function with wireless signal.
Communication processor is with the port of detected transmission of wireless signals to communication processor, and the port of communication processor carries out alternately transmission of wireless signals being arrived application processor through the port with application processor.
Step 205: application processor shows this wireless signal according to the wireless signal control display module that receives, finishes current flow process.
After application processor receives new wireless signal,, make the portable terminal device user can recognize the situation of change of wireless signal in real time with the original wireless signal that shows of this new wireless signal update displayed module.
Step 206: the state variation value that communication processor detects wireless signal surpasses the threshold value that is provided with in advance.
Step 207: communication processor sends to application processor and is used to trigger the order that application processor gets into operating state.
Though this moment, application processor was in power down mode; But because the initial signal intensity informing function is opened; Therefore after communication processor detects the wireless signal that changes; Need wake application processor up, promptly the power management module to application processor sends trigger command, makes application processor get into operating state.The application processor that is waken up will get into power down mode once more after satisfying the condition that gets into power down mode.
Step 208: when the number of times of communication processor transmission order surpassed the threshold value that is provided with in advance in Preset Time, application processor sent the order of shutdown signal intensity informing function to communication processor.
For example, the threshold value that is provided with in advance in this Preset Time can be per minute 2 times, and the number of times per minute that sends order when communication processor is during greater than 2 times, and then application processor sends the order of shutdown signal intensity informing function to communication processor.
Step 209: communication processor stops detected wireless signals after receiving the order of shutdown signal intensity informing function, finishes current flow process.
In addition;Step 209 also can be for after communication processor receives the order of shutdown signal intensity informing function, and the changing value that detects above the wireless signal of threshold value is preserved, and do not issue application processor; And finish current flow process; The follow-up application processor that waits is waken up because of other reasons, and after getting into operating state, the state variation value that surpasses threshold value that will preserve in advance again sends to application processor.
Use the foregoing description; Owing to when application processor gets into power down mode, can pass through control communication processor shutdown signal intensity informing function, thereby when the wireless signal frequent variations; Application processor need not the real-time update wireless signal and shows, has reduced the power consumption of portable terminal device.
The 3rd embodiment flow process of the condition control method of portable terminal device of the present invention is as shown in Figure 3, and this embodiment shows portable terminal device and initially starts shooting behind the signal strength signal intensity informing function of communication close processor, wireless signal is shown the process of control:
Step 301: after the portable terminal device start, communication processor shutdown signal intensity informing function.
Step 302: judge the state of application processor, if operating state, then execution instep 303; If power down mode, then execution instep 309.
Wherein, operating state can comprise: display module is in illuminating state; Or need the state of shows signal intensity; Power down mode can comprise: display module is in dark screen state; Or display module is in the screen protection state; Or do not need the state of shows signal intensity.
Step 303: application processor sends the order of start signal intensity informing function to communication processor.
Step 304: the state variation value that communication processor detects wireless signal surpasses the threshold value that is provided with in advance.
Step 305: communication processor sends to application processor through the signal strength signal intensity informing function with wireless signal.
Step 306: application processor shows wireless signal according to wireless signal control display module.
Step 307: judge whether application processor will get into power down mode, if then execution instep 308; Otherwise, returnstep 306.
Step 308: first processor sends the order of shutdown signal intensity informing function to second processor.
Step 309: second processor stops wireless signal being sent to first processor, finishes current flow process.
In the foregoing description; (for example get into power down mode at application processor; Dormancy) time, the arousal function that control is used (for example, wireless signal strength shows) with the low promptness of communication processor is all closed; When application processor is in running order, reinforms communication processor and open this arousal function.Wherein, low promptness is used and can be comprised multiple application, and the inventory that this low promptness is used can be stored in application processor in advance, sends many closing informations when getting into power down mode by application processor respectively and gives communication processor; The inventory that perhaps low promptness is used also can be stored in communication processor in advance, and application processor only sends a closing information to communication processor, closes every application by communication processor voluntarily according to inventory.
Use the foregoing description, owing to after the initial start of portable terminal device, get into battery saving mode usually, so initial setting up shutdown signal intensity informing function, to practice thrift the portable terminal device power consumption; And since at application processor when operating state gets into power down mode; Can be through control communication processor shutdown signal intensity informing function; Thereby when the wireless signal frequent variations, application processor need not the real-time update wireless signal and shows, has reduced the power consumption of portable terminal device.
The structural representation of a kind of smart mobile phone of the condition control method embodiment of application the invention described above portable terminal device is as shown in Figure 4; This smart mobile phone is made up of first processor (is example with AP) and second processor (is example with CP); First processor connects display unit (not shown among Fig. 4), and the information demonstration of portable terminal device need be carried out under the control of first processor.CP is used for the variation of detected wireless signals; Send signal through power management module and wake not in running order AP up to AP; And the situation of change of sending wireless signal to AP, CP can select to get into resting state when not detecting wireless signal variation simultaneously; When AP operates the user, can select to get into resting state, just get into a kind of non operating state, and can after the situation of change of the wireless signal that receives the CP transmission, upgrade the demonstration of wireless signal according to this situation of change.When describe in detail realizing wireless signal display control method embodiment of the present invention below, the concrete structure of CP and AP reaches the reciprocal process between each module.
Wherein, AP comprises power management module, signal reading module, signal display module, state monitoring module, signal controlling module and AP port.
Signal reading module is used to read the wireless signal from the AP port; Signal display module is used for when the user checks wireless signal, shows the wireless signal that receives from signal reading module; Whether state detection module is used to detect the user need check signal; Whether promptly detect smart mobile phone is in signal and checks state; When signal reading module receives signal; If state detection module detects this moment and is not in signal and checks state, then the wireless signal strength informing function is closed in the control of notification signal control module; The signal controlling module is used for will closing wireless signal transmission order through the AP port and sends to CP; The AP port is used for communicating with the CP port, realizes mutual between AP and the CP, and this interface can be serial port, USB interface, shared drive interface etc.; Power management module is used for the operating state of AP is managed, and receives operation or interrupt signal from user or CP, gets into power down mode according to signal controlling AP, perhaps gets into operating state from power down mode.
Wherein, CP comprises signal detection module, signal controlling module, interruption controls module and CP port.The signal controlling module is used for receiving the order from AP signal controlling module through the CP port; And when wireless signal variation; Wireless signal On/Off according to AP signal controlling module is sent is notified; Whether wake AP up through the interruption controls module controls, and whether need wireless signal be sent to AP; Signal detection module is used for the monitoring wireless signal, and according to the state of signal controlling module, selects whether new wireless signal is sent to AP through the CP port; The interruption controls module is used for the control command according to the signal controlling module, sends interrupt signal to the AP power management module, after the AP power management module is received this signal, will wake AP up, and AP will get into running status; The CP port is used for communicating with the AP port, realizes mutual between CP and the AP, and this interface can be serial port, USB interface, shared drive interface etc.
Corresponding with the condition control method of portable terminal device of the present invention, the present invention also provides the embodiment of portable terminal device.The related content of the embodiment of portable terminal device can be with reference to the embodiment of aforesaid state control method.
The first embodiment block diagram of portable terminal device of the present invention is as shown in Figure 5, and this portable terminal device comprises: thefirst processor 510 andsecond processor 520.
Wherein,second processor 520 comprises:
Detectingunit 521 is used to detect the state variation value that use at said terminal first, and wherein, said first is applied as low promptness uses;
Acquiringunit 522 is used for when the state variation value of said first application surpasses the threshold value that is provided with in advance, obtaining the state of saidfirst processor 510;
Notification unit 523 is used for when saidfirst processor 510 is in first state, notifying saidfirst processor 510 with said state variation value;
Whenfirst processor 510 is in second state, makefirst processor 510 keep said second state, the power consumption of saidfirst processor 510 when said first state is greater than the power consumption when said second state.
Wherein, When detectingunit 521 specifically is used for the state of wireless signal of sense terminals;First processor 510 can also comprise (not shown among Fig. 5): display unit, be used for when in running order, and the wireless signal that saidsecond processor 520 is sent shows; Control unit is used for when being in power down mode, controls saidsecond processor 520 and stops to send wireless signal.
Wherein,second processor 520 can also comprise (not shown among Fig. 5): open the unit, be used for said terminal initial start after, start signal intensity informing function; Saidnotification unit 523 specifically is used for; With the port of detected transmission of wireless signals tosecond processor 520, the port of saidsecond processor 520 carries out alternately said transmission of wireless signals being arrived saidfirst processor 510 through the port withfirst processor 510; Perhaps,second processor 520 can also comprise (not shown among Fig. 5): closing unit, be used for the start of said terminal initial after, said second processor, 520 shutdown signal intensity informing functions; Saidnotification unit 523 specifically is used for; After the order of the start signal intensity informing function that receptionfirst processor 510 sends; With the port of detected transmission of wireless signals tosecond processor 520, the port of saidsecond processor 520 carries out alternately said transmission of wireless signals being arrived saidfirst processor 510 through the port withfirst processor 510;
Wherein, display unit specifically is used for, and according to said wireless signal control display module said wireless signal is shown;
Wherein, Control unit specifically is used for; The order of the entering operating state of sending to saidfirst processor 510 when receivingsecond processor 520 and detecting the wireless signal that changes; When the number of times of the order of the said entering operating state of sending whensecond processor 520 surpasses the threshold value that is provided with in advance in Preset Time, send the order of closing said signal strength signal intensity informing function to saidsecond processor 520; Or
Said control unit specifically is used for, when saidfirst processor 510 when operating state gets into power down mode, the order of sending shutdown signal intensity informing functions to saidsecond processor 520.
Description through above execution mode can be known; Portable terminal device of the present invention comprises the first processor and second processor, and second processor detects the state variation value that use at first of said terminal, when the state variation value of first application surpasses the threshold value that is provided with in advance; Obtain the state of first processor; When first processor is in first state, with state variation value notice first processor, when first processor is in second state; Keep second state of first processor, the power consumption of first processor when first state is greater than the power consumption when second state.Because the embodiment of the invention need not when the application state variation at terminal, to upgrade second state of first processor; Therefore work as portable terminal device in moving process; Particularly during the wireless signal frequent variations,, then need not to upgrade according to the frequent variations of wireless signal if first processor is not in running order; Just first processor need not to be waken up repeatedly the entering operating state, the power consumption of therefore having practiced thrift portable terminal device.Similarly; Portable terminal device is influenced by external interference in moving process, and the network registry state is the possibility frequent variations also; If first processor is not in running order; Then need not frequent variations and carry out display update, just first processor need not to be waken up repeatedly the entering operating state, therefore same power consumption of practicing thrift portable terminal device.
The technology that those skilled in the art can be well understood in the embodiment of the invention can realize by the mode that software adds essential general hardware platform.Based on such understanding; The part that technical scheme in the embodiment of the invention contributes to prior art in essence in other words can be come out with the embodied of software product; This computer software product can be stored in the storage medium, like ROM/RAM, magnetic disc, CD etc., comprises that some instructions are with so that a computer equipment (can be a personal computer; Server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
Above-described embodiment of the present invention does not constitute the qualification to protection range of the present invention.Any modification of within spirit of the present invention and principle, being done, be equal to replacement and improvement etc., all should be included within protection scope of the present invention.