Summary of the invention
At the above-mentioned defective of prior art, the embodiment of the invention provides a kind of mobile phone energy-saving processing method and device.
First aspect, the embodiment of the invention provide a kind of mobile phone energy-saving processing method, comprising:
Increase the first information that is used for the reflection audio signal characteristic to sent audio signal, and outwards export the audio signal that carries the described first information by receiver;
The described audio signal that reception collects by microphone, and obtain for second information that reflects described audio signal characteristic;
If know satisfied the pre-conditioned of screen background lamp of closing by contrasting the described first information and described second information, then described screen background lamp is closed in control.
In conjunction with first aspect, in first kind of possible implementation, before the described first information that increases to sent audio signal for the reflection audio signal characteristic, described method also comprises:
Detect the voice signal whether partner is arranged, if, then with described voice signal as described audio signal, otherwise, generate and meet default described microphone and the carrier signal of described receiver frequency, and with described carrier signal as described audio signal.
In conjunction with first aspect, in second kind of possible implementation,
If described audio signal characteristic is the time, the time when then the described first information is described audio signal from described receiver output, described second information is the time that described microphone receives described audio signal;
If described audio signal characteristic is intensity, the intensity when then the described first information is described audio signal from described receiver output, described second information is the intensity that described microphone receives described audio signal.
In conjunction with first aspect, in the third possible implementation, after described screen background lamp was closed in described control, described method also comprised:
If know dissatisfied the pre-conditioned of screen background lamp of closing by contrasting the described first information and described second information, then described screen background lamp is opened in control.
In the above-mentioned arbitrary possible implementation of first aspect, in the 4th kind of possible implementation, before the described first information that increases to sent audio signal for the reflection audio signal characteristic, described method also comprises:
Opening voice control automatic energy saving function.
Second aspect, the embodiment of the invention provide a kind of mobile phone energy-efficient treatment device, comprising:
Pretreatment module is used for increasing the first information that is used for the reflection audio signal characteristic to sent audio signal, and carries the audio signal of the described first information by the outside output of receiver;
Acquisition module is used for receiving the described audio signal that collects by microphone, and obtains second information for the described audio signal characteristic of reflection;
Control module is used for if know satisfied the pre-conditioned of screen background lamp of closing by contrasting the described first information and described second information, and then described screen background lamp is closed in control.
In conjunction with second aspect, in first kind of possible implementation, before the described first information that increases to sent audio signal for the reflection audio signal characteristic, described pretreatment module also is used for:
Detect the voice signal whether partner is arranged, if, then with described voice signal as described audio signal, otherwise, generate and meet default described microphone and the carrier signal of described receiver frequency, and with described carrier signal as described audio signal.
In conjunction with second aspect, in second kind of possible implementation,
If described audio signal characteristic is the time, the time when then the described first information is described audio signal from described receiver output, described second information is the time that described microphone receives described audio signal;
If described audio signal characteristic is intensity, the intensity when then the described first information is described audio signal from described receiver output, described second information is the intensity that described microphone receives described audio signal.
In conjunction with second aspect, in the third possible implementation, after described screen background lamp was closed in described control, described control module also was used for:
If know dissatisfied the pre-conditioned of screen background lamp of closing by contrasting the described first information and described second information, then described screen background lamp is opened in control.
In conjunction with the above-mentioned arbitrary possible implementation of second aspect, in the 4th kind of possible implementation, before the described first information that increases to sent audio signal for the reflection audio signal characteristic, described control module also is used for:
Opening voice control automatic energy saving function.
Mobile phone energy-saving processing method and device that the embodiment of the invention provides, connect in the process of making a phone call the user, by increase the first information that is used for the reflection audio signal characteristic to sent audio signal, and by the outside audio signal that carries the first information of exporting of receiver, the audio signal that reception collects by microphone, and obtain for second information that reflects audio signal characteristic, if know satisfied the pre-conditioned of screen background lamp of closing by the contrast first information and second information, then the screen background lamp is closed in control.Thereby reducing mobile telephone power consumption, in the time of prolongs standby time, than existing power-saving technology, the present invention utilizes existing mobile phone device to realize distance detection function, reduce the complex structural designs degree and save cost, and by using sound wave to replace light wave, long wave replaces shortwave, the risk of having avoided the infrared light in the sunlight to disturb has improved anti-interference.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The flow chart of the mobile phone energy-saving processing method that Fig. 1 provides for the embodiment of the invention, as shown in Figure 1, this method comprises:
Step 100 increases the first information that is used for the reflection audio signal characteristic to sent audio signal, and outwards exports the audio signal that carries the described first information by receiver;
All have the receiver of output partner voice and the microphone that receives user speech on the present mobile phone, microphone is usually in the left side of receiver or right side or above receiver.Connect in the process of making a phone call the user, mobile phone energy-efficient treatment device carries out preliminary treatment to sent audio signal, obtain the first information for the reflection audio signal characteristic, and the first information is carried in the audio signal outwards exports by receiver, thereby the audio signal of carrying the first information is propagated in air.Wherein, the particular content of audio signal characteristic can be selected according to the application needs of reality, illustrate as follows: if audio signal characteristic is the time, then according to the system time in the mobile phone obtain audio signal from the output time of receiver output as the first information; If audio signal characteristic is intensity, then detect the strength information of current audio signal to be sent as the first information by sonic sensor.
Need to prove, the content of the handled audio signal to be sent of mobile phone energy-efficient treatment device is a lot, be specially: mobile phone energy-efficient treatment device detects the voice signal whether partner is arranged, if partner is being spoken, can be with the voice signal of partner as audio signal, when if partner is spoken, can by signal generator generate default meet the carrier signal (user can not experience this carrier signal by people's ear in connecing the process of making a phone call) of microphone and receiver frequency on the mobile phone and with it as audio signal.
Step 101 receives the described audio signal that collects by microphone, and obtains second information for the described audio signal characteristic of reflection;
After the audio signal that the reception of mobile phone energy-efficient treatment device collects by microphone, obtain second information for the reflection audio signal characteristic, illustrate: if audio signal characteristic is the time, the time when then obtaining the microphone received audio signal by system time is as second information of this audio signal characteristic; If audio signal characteristic is intensity, the intensity when then detecting the microphone received audio signal by sonic sensor is as second information of this audio signal characteristic.
Step 102, if know satisfied the pre-conditioned of screen background lamp of closing by contrasting the described first information and described second information, then described screen background lamp is closed in control.
Mobile phone energy-efficient treatment device will reflect that the first information of audio signal characteristic and second information compare, and close the pre-conditioned of screen background lamp on the mobile phone to judge whether to satisfy, and know and satisfy pre-conditionedly that then the screen background lamp is closed in control if judge.Because the particular content difference of audio signal characteristic, concrete pre-conditioned difference is the example explanation with the temporal characteristics, and the implementation process of other features is similar, repeats no more.Be specially: when the first information is the time of audio signal when exporting from receiver, during time when second information is the microphone received audio signal, the time difference of obtaining this audio signal according to the time of time of receiver output audio signal and microphone received audio signal, should the time difference and preset threshold value compare, wherein, preset threshold value comprises first thresholding and second thresholding, first thresholding is less than second thresholding, wherein, first thresholding is the time that the interferencing propagation path of direct arrival microphone consumed after audio signal was exported from receiver, the time that second thresholding arrives microphone for people's face of presetting according to the application scenarios of reality near the corresponding audio signal of exporting from receiver of the maximum distance of mobile phone after unusually face reflects reflected propagation paths consumes.Therefore, if judge and know that this time difference is smaller or equal to first thresholding, think that then this audio signal directly arrives microphone by receiver output back, it is not the transmission path through remarkable face reflection, but because the sound interference that the distance of receiver and microphone causes, the time difference is identified the action that people's face approaches thus; If judge and know this time difference greater than first thresholding and smaller or equal to second thresholding, think that then this audio signal arrives microphone by receiver output by remarkable face reflection, the time difference is identified the action that people's face approaches thus; If judge and to know this time difference greater than second thresholding, think that then this audio signal is to arrive microphones by other positions reflections through other objects or human body after the receiver output, to identify people's face approaching inadequately with mobile phone the time difference thus.Through above-mentioned analysis, when judgement knows that the time difference is greater than first thresholding and smaller or equal to second thresholding, think that then this audio signal arrives microphone by receiver output by remarkable face reflection, time difference is identified the action that people's face approaches thus, thereby the screen background lamp of mobile phone is closed in control.
The mobile phone energy-saving processing method that present embodiment provides, connect in the process of making a phone call the user, by increase the first information that is used for the reflection audio signal characteristic to sent audio signal, and by the outside audio signal that carries the first information of exporting of receiver, the audio signal that reception collects by microphone, and obtain for second information that reflects audio signal characteristic, if know satisfied the pre-conditioned of screen background lamp of closing by the contrast first information and second information, then the screen background lamp is closed in control.Thereby reducing mobile telephone power consumption, in the time of prolongs standby time, than existing power-saving technology, the present invention utilizes existing mobile phone device to realize distance detection function, reduce the complex structural designs degree and save cost, and by using sound wave to replace light wave, long wave replaces shortwave, the risk of having avoided the infrared light in the sunlight to disturb has improved anti-interference.
Further, after described screen background lamp is closed in the control of mobile phone energy-efficient treatment device, close the pre-conditioned of screen background lamp if the first information by contrast reflection audio signal characteristic and second information are known not satisfy, then control the screen background lamp on the starting hand-set.
Further, before mobile phone energy-efficient treatment device increases the first information that is used for the reflection audio signal characteristic to sent audio signal, described method also comprises: opening voice control automatic energy saving function, thereby can control the automatic energy saving function according to the voice that user's needs are opened or closed on the mobile phone, such as the control of opening voice under normal conditions automatic energy saving function, close this function under the situation of special requirement having.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
The structural representation of the mobile phone energy-efficient treatment device that Fig. 2 provides for the embodiment of the invention, as shown in Figure 2, this device comprises: pretreatment module 11, acquisition module 12 and control module 13, wherein, pretreatment module 11 is used for increasing the first information that is used for the reflection audio signal characteristic to sent audio signal, and carries the audio signal of the described first information by the outside output of receiver; Acquisition module 12 is used for receiving the described audio signal that collects by microphone, and obtains second information for the described audio signal characteristic of reflection; Control module 13 is used for if know satisfied the pre-conditioned of screen background lamp of closing by contrasting the described first information and described second information, and then described screen background lamp is closed in control.
Particularly, the concrete manifestation form of audio signal characteristic is a lot, such as: if described audio signal characteristic is the time, the time when then the described first information is described audio signal from described receiver output, described second information is the time that described microphone receives described audio signal; If described audio signal characteristic is intensity, the intensity when then the described first information is described audio signal from described receiver output, described second information is the intensity that described microphone receives described audio signal.
Function and the handling process of each module in the mobile phone energy-efficient treatment device that present embodiment provides can be referring to above-mentioned method embodiment shown in Figure 1, and its realization principle and technique effect are similar, repeat no more herein.
Further, before the described first information that increases to sent audio signal for the reflection audio signal characteristic, pretreatment module 11 also is used for: detect the voice signal whether partner is arranged, if, then with described voice signal as described audio signal, otherwise, generate and to meet default described microphone and the carrier signal of described receiver frequency, and with described carrier signal as described audio signal.
Further, after described screen background lamp was closed in described control, control module 13 also was used for: if know dissatisfied the pre-conditioned of screen background lamp of closing by contrasting the described first information and described second information, then described screen background lamp is opened in control.
Further, before the described first information that increases to sent audio signal for the reflection audio signal characteristic, control module 13 also is used for: opening voice control automatic energy saving function.
The hardware configuration schematic diagram of the mobile phone energy-efficient treatment device that Fig. 3 provides for the embodiment of the invention, as shown in Figure 3, described mobile phone 300 comprises: processor 301, memory 302, communication interface 303 and bus 304.Wherein, connect by bus 304 between described processor 301, memory 302 and the communication interface 303.Bus 304 can be isa bus, pci bus or eisa bus etc.Described bus can be divided into address bus, data/address bus, control bus etc.For ease of expression, only represent with a thick line among Fig. 3, but do not represent only to have the bus of a bus or a type.
Memory 302 is used for depositing program code, comprises computer-managed instruction in the described program code.Memory 302 can be the high speed random asccess memory, also can be nonvolatile memory (non-volatile memory), for example at least one magnetic disc store.
Processor 301 is carried out described program code, is used for:
Increase the first information that is used for the reflection audio signal characteristic to sent audio signal, and outwards export the audio signal that carries the described first information by receiver;
The described audio signal that reception collects by microphone, and obtain for second information that reflects described audio signal characteristic;
If know satisfied the pre-conditioned of screen background lamp of closing by contrasting the described first information and described second information, then described screen background lamp is closed in control.
Further, before the described first information that increases to sent audio signal for the reflection audio signal characteristic, processor 301 also is used for:
Detect the voice signal whether partner is arranged, if, then with described voice signal as described audio signal, otherwise, generate and meet default described microphone and the carrier signal of described receiver frequency, and with described carrier signal as described audio signal.
Further, after described screen background lamp was closed in described control, processor 301 also was used for:
If know dissatisfied the pre-conditioned of screen background lamp of closing by contrasting the described first information and described second information, then described screen background lamp is opened in control.
Further, before the described first information that increases to sent audio signal for the reflection audio signal characteristic, processor 301 also is used for:
Opening voice control automatic energy saving function.
The handling process of the program code in the mobile phone energy-efficient treatment device that present embodiment provides in the processor execute store can be referring to the method embodiment shown in above-mentioned, and it realizes that principle and technique effect are similar, repeats no more herein.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.