CN106896896A - Electricity saving method, device and electronic equipment - Google Patents

Electricity saving method, device and electronic equipment Download PDF

Info

Publication number
CN106896896A
CN106896896A CN201710063294.6A CN201710063294A CN106896896A CN 106896896 A CN106896896 A CN 106896896A CN 201710063294 A CN201710063294 A CN 201710063294A CN 106896896 A CN106896896 A CN 106896896A
Authority
CN
China
Prior art keywords
threshold values
sensor
parameter
equipment
power dissipation
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
CN201710063294.6A
Other languages
Chinese (zh)
Other versions
CN106896896B (en
Inventor
张强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710063294.6A priority Critical patent/CN106896896B/en
Publication of CN106896896A publication Critical patent/CN106896896A/en
Application granted granted Critical
Publication of CN106896896B publication Critical patent/CN106896896B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The present invention relates to a kind of electricity saving method, device and electronic equipment, methods described includes:Equipment power dissipation parameter is obtained, the equipment power dissipation parameter refers to the parameter value of reflection equipment current power consumption;Detect that the equipment power dissipation parameter is being specified in parameter area, then proximity transducer threshold values is set into sensor fixes threshold values, and the proximity transducer threshold values refers to the threshold values for judging that object distance is far and near;Stop updating the proximity transducer threshold values.Above-mentioned electricity saving method, device and electronic equipment, save a large amount of electricity for updating and being consumed during sensor threshold values, greatly reduce the power consumption of equipment, save electricity.

Description

Electricity saving method, device and electronic equipment
Technical field
The present invention relates to field of computer technology, more particularly to electricity saving method, device and electronic equipment.
Background technology
Used as the instrument of a kind of work, study and amusement, electronic equipment could be used only in the case of power supply.It is external Power supply can be powered to electronic equipment, in the case of without external power supply, it is also possible to be carried out by the electricity of battery storage Power supply.Usual user is when outgoing, it is impossible to provides external power supply to electronic equipment, can only be powered by battery.So And, the electricity of battery storage is limited, using the unexpected interruption that may result in electronic equipment so in the case of low battery, Influence user uses.
The content of the invention
The embodiment of the present invention provides a kind of electricity saving method, device and electronic equipment, can lower the power consumption of electronic equipment, saves Save electricity.
A kind of electricity saving method, including:
Equipment power dissipation parameter is obtained, the equipment power dissipation parameter refers to the parameter value of reflection equipment current power consumption;
Detect that the equipment power dissipation parameter is being specified in parameter area, then proximity transducer threshold values is set to sensor and consolidated Determine threshold values, the proximity transducer threshold values refers to the threshold values for judging that object distance is far and near;
Stop updating the proximity transducer threshold values.
A kind of electricity saver, including:
Parameter acquisition module, for obtaining equipment power dissipation parameter, the equipment power dissipation parameter refers to the current work(of reflection equipment The parameter value of consumption;
Threshold values setup module, for detecting that the equipment power dissipation parameter is being specified in parameter area, then by proximity transducer Threshold values is set to sensor and fixes threshold values, and the proximity transducer threshold values refers to the threshold values for judging that object distance is far and near;
Stop update module, for stopping updating the proximity transducer threshold values.
A kind of electronic equipment, including memory, processor and the meter that store on a memory and can run on a processor Calculation machine program, following steps are realized during the computing device described program:
Equipment power dissipation parameter is obtained, the equipment power dissipation parameter refers to the parameter value of reflection equipment current power consumption;
Detect that the equipment power dissipation parameter is being specified in parameter area, then proximity transducer threshold values is set to sensor and consolidated Determine threshold values, the proximity transducer threshold values refers to the threshold values for judging that object distance is far and near;
Stop updating the proximity transducer threshold values.
Electricity saving method, device and electronic equipment that above-described embodiment is provided, disappear when saving a large amount of renewal sensor threshold values The electricity of consumption, greatly reduces the power consumption of equipment, saves electricity.
Brief description of the drawings
Fig. 1 is the internal structure schematic diagram of terminal in one embodiment;
Fig. 2 is the flow chart of electricity saving method in one embodiment;
Fig. 3 is the flow chart of electricity saving method in another embodiment;
Fig. 4 is the structural representation of electricity saver in one embodiment;
Fig. 5 is the structural representation of electricity saver in another embodiment;
Fig. 6 is the block diagram of the part-structure of the mobile terminal related to computer equipment provided in an embodiment of the present invention.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
It is appreciated that term " first " used in the present invention, " second " etc. can be used to describe various elements herein, But these elements should not be limited by these terms.These terms are only used for distinguishing first element and another element.Citing comes Say, without departing from the scope of the invention, the first client can be referred to as the second client, and similarly, can be by Second client is referred to as the first client.First client and the second client both client, but it is not same visitor Family end.
Fig. 1 is the internal structure schematic diagram of terminal in one embodiment.As shown in figure 1, the terminal is including total by system Processor, non-volatile memory medium, built-in storage, network interface, display screen and input unit that line is connected.Wherein, terminal Non-volatile memory medium be stored with operating system, also including a kind of electricity saver, the electricity saver is used to realize a kind of province Method for electrically.The processor is used to provide calculating and control ability, supports the operation of whole terminal.Built-in storage in terminal is non- The operation of the electricity saver in volatile storage medium provides environment, and computer-readable instruction can be stored in the built-in storage, When the computer-readable instruction is by the computing device, a kind of electricity saving method of the computing device is may be such that.Network interface For carrying out network service with server.The display screen of terminal can be LCDs or electric ink display screen etc., defeated It can be button, trace ball or the Trackpad set on the touch layer, or terminal enclosure covered on display screen to enter device, Can also be external keyboard, Trackpad or mouse etc..The terminal can be mobile phone, panel computer, personal digital assistant or wear Wear formula equipment etc..It will be understood by those skilled in the art that the structure shown in Fig. 1, the only portion related to application scheme The block diagram of separation structure, does not constitute the restriction of the terminal being applied thereon to application scheme, and specific terminal can include Than more or less part shown in figure, or some parts are combined, or arranged with different parts.
Fig. 2 is the flow chart of electricity saving method in one embodiment.As shown in Fig. 2 the electricity saving method includes step S202 extremely Step 206.Wherein:
Step S202, obtains equipment power dissipation parameter, and equipment power dissipation parameter refers to the parameter value of reflection equipment current power consumption.
In one embodiment, equipment power dissipation parameter refers to the parameter value of reflection equipment current power consumption.For example, equipment power dissipation Parameter can be one or two in the voltage value of equipment, current processor occupation rate.Wherein, equipment refers to be mounted with The electronic equipment of proximity transducer, such as equipment can be PC, mobile terminal, personal digital assistant, wearable electronic Equipment etc..
Step S204, testing equipment power consumption parameter is being specified in parameter area, then be set to proximity transducer threshold values pass Sensor fixes threshold values.
In one embodiment, specified parameter area refers to the parameter area of equipment power dissipation parameter set in advance, when setting When standby power consumption parameter is in the specified parameter area, it is believed that the state that equipment tends to exhausting in energy.For example, equipment power dissipation is joined Number can be that equipment voltage value is less than 20% specifying in parameter area, or equipment current processor occupation rate is higher than 80%.
In one embodiment, equipment passes through proximity transducer according to the object around default intermittent scanning, and determines Proximity values between equipment and object, the proximity values reflect object to the distance of equipment.
In one embodiment, proximity transducer threshold values refers to the threshold values for judging that object distance is far and near, including close to threshold values With away from threshold values.When proximity values are less than away from threshold values, judge that equipment is in the state away from object;When proximity values are more than close During threshold values, judge that equipment is in the state close to object.
In one embodiment, it refers to changeless proximity transducer threshold values set in advance that sensor fixes threshold values, When equipment power dissipation parameter is detected when specifying in parameter area, then proximity transducer threshold values is set to sensor standing valve Value.
Step S206, stops updating proximity transducer threshold values.
In one embodiment, the proximity values of the detection of device periodically ground and surrounding objects, and connecing according to each collection Close values dynamically update proximity transducer threshold values, and the proximity values for currently collecting are entered with the last proximity transducer threshold values for updating Row compares, so as to judge the far and near state of current object.When testing equipment power consumption parameter is when specifying in parameter area, then recognize For equipment is currently at the state that energy tends to exhausting, then stop dynamicalling update proximity transducer threshold values, and will be close to sensing Device threshold values is set to sensor and fixes threshold values.
Electricity saving method provided in an embodiment of the present invention, is set to proximity transducer threshold values sensor and fixes threshold values, no longer Proximity transducer threshold values is updated, a large amount of electricity for updating and being consumed during sensor threshold values are saved, the work(of equipment is greatly reduced Consumption, saves electricity.
Fig. 3 is the flow chart of electricity saving method in another embodiment.As shown in figure 3, the electricity saving method includes step S302 To step 310.Wherein:
Step S302, obtains equipment power dissipation parameter, and equipment power dissipation parameter refers to the parameter value of reflection equipment current power consumption.
In one embodiment, equipment power dissipation parameter refers to the parameter value of reflection equipment current power consumption.For example, equipment power dissipation Parameter can be one or two in the voltage value of equipment, current processor occupation rate.Wherein, equipment refers to be mounted with The electronic equipment of proximity transducer, such as equipment can be PC, mobile terminal, personal digital assistant, wearable electronic Equipment etc..
It is understood that the voltage value of equipment refers to the value of reflection equipment current electric quantity, equipment it is currently processed Device occupation rate refers to the value of the current program run of reflection equipment resource utilization within a processor.Voltage value is lower, Current processor occupation rate is higher, then the consumption of equipment current power is higher.
Step S304, testing equipment power consumption parameter exceeds specifies parameter area, then obtain the close of proximity transducer collection Value.
In one embodiment, specified parameter area refers to the parameter area of equipment power dissipation parameter set in advance, when setting When standby power consumption parameter is in the specified parameter area, then it is assumed that the state that equipment tends to exhausting in energy;When equipment power dissipation ginseng When number is beyond the specified parameter area, then it is assumed that equipment is in the sufficient state of energy.
In one embodiment, equipment passes through proximity transducer according to the object around default intermittent scanning, and determines Proximity values between equipment and object, the proximity values reflect object to the distance of equipment.Proximity transducer threshold values refers to judge The threshold values of object distance distance state, including close to threshold values and away from threshold values.When proximity values are less than away from threshold values, equipment is judged In the state away from object;When proximity values are more than close to threshold values, judge that equipment is in the state close to object.
Step S306, determines sensor dynamic thresholding, and obtain sensor according to sensor dynamic thresholding according to proximity values Fixed threshold values.
In one embodiment, the proximity values of the detection of device periodically ground and surrounding objects, when testing equipment power consumption parameter During beyond specified parameter area, it is believed that equipment is in the sufficient state of energy.Proximity values according to each collection are dynamicallyd update Proximity transducer threshold values, the proximity transducer threshold values of the renewal is sensor dynamic thresholding, while the biography that record updates every time Sensor dynamic thresholding.The proximity values that will currently collect are compared with the last sensor dynamic thresholding for updating, so as to sentence The far and near state of disconnected current object.
In one embodiment, it refers to changeless proximity transducer threshold values set in advance that sensor fixes threshold values. Specified sensor dynamic thresholding is obtained according to sensor dynamic thresholding, and according to the specified sensor dynamic thresholding and limit threshold values Obtain sensor and fix threshold values.Wherein, specified sensor dynamic thresholding refers to the sensor dynamic valve in each renewal of record Preassigned sensor dynamic thresholding in value.For example, specified sensor dynamic thresholding can be maximum sensor dynamic thresholding, Minimum sensor dynamic thresholding or average sensor dynamic thresholding etc..Limit threshold values refer to that limiting sensor fixes threshold values needs completely The condition threshold values of foot, such as limiting sensor fix threshold values can not be more than limit threshold values or can not be less than limit threshold values.
In one embodiment, equipment is obtained under away from state, and difference is less than preset difference value in preset time period Some groups of sensor dynamic thresholdings, and take maximum as specified sensor dynamic from some groups of sensor dynamic thresholdings Threshold values.
In one embodiment, the maximum sensor dynamic thresholding in sensor dynamic thresholding is obtained, the maximum is detected Sensor dynamic thresholding is less than limit threshold values, then fix threshold values using maximum sensor dynamic thresholding as sensor, otherwise will limit Threshold values processed fixes threshold values as sensor.
Minimum sensor dynamic thresholding in one embodiment, or in acquisition sensor dynamic thresholding, detection The maximum sensor dynamic thresholding is more than limit threshold values, then fix threshold values using minimum sensor dynamic thresholding as sensor, Otherwise threshold values is fixed using limit threshold values as sensor.
Step S308, testing equipment power consumption parameter is being specified in parameter area, then be set to proximity transducer threshold values pass Sensor fixes threshold values.
In one embodiment, testing equipment power consumption parameter is being specified in parameter area, then it is assumed that equipment becomes in energy In the state for exhausting.Proximity transducer threshold values is then set to sensor and fixes threshold values.The sensor fixes threshold values and is step The sensor obtained in S306 fixes threshold values.
Step S310, stops updating proximity transducer threshold values.
In one embodiment, when equipment power dissipation parameter is when specifying in parameter area, it is believed that equipment is currently at energy Tend to the state for exhausting, equipment stops dynamicalling update proximity transducer threshold values, and uses sensor to fix threshold values.When examining again Equipment power dissipation parameter is measured beyond when specifying parameter area, can be re-started and be dynamicallyd update proximity transducer threshold values.
Electricity saving method provided in an embodiment of the present invention, is detecting equipment power dissipation parameter when specifying in parameter area, sentences The state that the fixed equipment tends to exhausting in energy, is set to proximity transducer threshold values sensor and fixes threshold values, no longer updates Proximity transducer threshold values.A large amount of electricity for updating and being consumed during sensor threshold values are saved, the power consumption of equipment is greatly reduced, saved Power saving amount, extends the use time of electricity.
Fig. 4 is the structural representation of electricity saver in one embodiment.As shown in figure 4, the electricity saver is obtained including parameter Modulus block 402, threshold values setup module 404 and stopping update module 406.Wherein:
Parameter acquisition module 402, for obtaining equipment power dissipation parameter, the equipment power dissipation parameter refers to that reflection equipment is current The parameter value of power consumption.
Threshold values setup module 404, for detecting that the equipment power dissipation parameter is being specified in parameter area, then will be close to sensing Device threshold values is set to sensor and fixes threshold values, and the proximity transducer threshold values refers to the threshold values for judging that object distance is far and near.
Stop update module 406, for stopping updating the proximity transducer threshold values.
Fig. 5 is the structural representation of electricity saver in another embodiment.As shown in figure 5, the electricity saver includes parameter Acquisition module 502, proximity values acquisition module 504, threshold values acquisition module 506, threshold values setup module 508 and stopping update module 510.Wherein:
Parameter acquisition module 502, for obtaining equipment power dissipation parameter, the equipment power dissipation parameter refers to that reflection equipment is current The parameter value of power consumption.
Proximity values acquisition module 504, parameter area is specified for detecting that the equipment power dissipation parameter exceeds, then obtain described The proximity values of proximity transducer collection.
Threshold values acquisition module 506, for determining sensor dynamic thresholding according to the proximity values, and according to the sensor Dynamic thresholding obtains sensor and fixes threshold values.
Threshold values setup module 508, for detecting that the equipment power dissipation parameter is being specified in parameter area, then will be close to sensing Device threshold values is set to sensor and fixes threshold values, and the proximity transducer threshold values refers to the threshold values for judging that object distance is far and near.
Stop update module 510, for stopping updating the proximity transducer threshold values.
Electricity saver provided in an embodiment of the present invention, is set to proximity transducer threshold values sensor and fixes threshold values, no longer Proximity transducer threshold values is updated, a large amount of electricity for updating and being consumed during sensor threshold values are saved, the work(of equipment is greatly reduced Consumption, saves electricity.
Parameter acquisition module 502 is additionally operable to obtain voltage value;And the one kind in acquisition current processor occupation rate Or two kinds.
Threshold values acquisition module 506 is additionally operable to obtain specified sensor dynamic thresholding according to the sensor dynamic thresholding, and Sensor is obtained according to the specified sensor dynamic thresholding and limit threshold values and fixes threshold values.
Threshold values acquisition module 506 is additionally operable to obtain the maximum sensor dynamic thresholding in the sensor dynamic thresholding, inspection The maximum sensor dynamic thresholding is surveyed less than limit threshold values, then the maximum sensor dynamic thresholding is fixed as sensor Threshold values.
The division of modules is only used for for example, in other embodiments, can will save Denso in above-mentioned electricity saver Put and be divided into different modules as required, to complete all or part of function of above-mentioned electricity saver.
A kind of computer-readable recording medium, is stored thereon with computer program, and the program is when executed by realizing Following steps:
Equipment power dissipation parameter is obtained, the equipment power dissipation parameter refers to the parameter value of reflection equipment current power consumption;
Detect that the equipment power dissipation parameter is being specified in parameter area, then proximity transducer threshold values is set to sensor and consolidated Determine threshold values, the proximity transducer threshold values refers to the threshold values for judging that object distance is far and near;
Stop updating the proximity transducer threshold values.
A kind of electronic equipment, including memory, processor and the meter that store on a memory and can run on a processor Calculation machine program (instruction), following steps are realized during the computing device described program:
Equipment power dissipation parameter is obtained, the equipment power dissipation parameter refers to the parameter value of reflection equipment current power consumption;
Detect that the equipment power dissipation parameter is being specified in parameter area, then proximity transducer threshold values is set to sensor and consolidated Determine threshold values, the proximity transducer threshold values refers to the threshold values for judging that object distance is far and near;
Stop updating the proximity transducer threshold values.
The embodiment of the present invention additionally provides a kind of computer equipment.As shown in fig. 6, for convenience of description, illustrate only with The related part of the embodiment of the present invention, particular technique details is not disclosed, and refer to present invention method part.The calculating Machine equipment can be to include that (Personal Digital Assistant, individual digital is helped for mobile terminal, panel computer, PDA Reason), POS (Point of Sales, point-of-sale terminal), vehicle-mounted computer, any terminal device such as Wearable, set with computer For for as a example by mobile terminal:
Fig. 6 is the block diagram of the part-structure of the mobile terminal related to computer equipment provided in an embodiment of the present invention.Ginseng Fig. 6 is examined, mobile terminal 600 includes:Radio frequency (Radio Frequency, RF) circuit 610, memory 620, input block 630, Display unit 640, sensor 650, voicefrequency circuit 660, Wireless Fidelity (wireless fidelity, WiFi) module 670, place The reason part such as device 680 and power supply 690.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 6 not structure The restriction of paired mobile terminal, can include part more more or less than diagram, or combine some parts, or different Part is arranged.
Wherein, RF circuits 610 can be used to receiving and sending messages or communication process in, the reception and transmission of signal can be by base stations After downlink information is received, processed to processor 680;Can also be by up data is activation to base station.Generally, RF circuits include but Be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuits 610 can also be communicated by radio communication with network and other equipment.Above-mentioned channel radio Letter can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE)), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 620 can be used to store software program and module, and processor 680 is by running storage in memory 620 Software program and module, so as to perform various function application and the data processing of mobile terminal.Memory 620 can be main Including program storage area and data storage area, wherein, what program storage area can be needed for storage program area, at least one function should With program (application program of such as sound-playing function, application program of image player function etc.) etc.;Data storage area can be deposited Storage uses created data (such as voice data, address list etc.) etc. according to mobile terminal.Additionally, memory 620 can be with Including high-speed random access memory, nonvolatile memory, for example, at least one disk memory, flash memory can also be included Device or other volatile solid-state parts.
Input block 630 can be used to receive the numeral or character information of input, and produce the user with mobile terminal 600 Set and the relevant key signals of function control are input into.Specifically, input block 630 may include contact panel 631 and other Input equipment 632.Contact panel 631, alternatively referred to as touch-screen, user can be collected thereon or neighbouring touch operation (such as User uses the behaviour of any suitable object or annex on contact panel 631 or near contact panel 631 such as finger, stylus Make), and corresponding attachment means are driven according to formula set in advance.In one embodiment, contact panel 631 may include to touch Touch two parts of detection means and touch controller.Wherein, touch detecting apparatus detect the touch orientation of user, and detect touch The signal that operation brings, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, And contact coordinate is converted into, then processor 680 is given, and the order sent of receiving processor 680 and can be performed.This Outward, contact panel 631 can be realized using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except touch-control Panel 631, input block 630 can also include other input equipments 632.Specifically, other input equipments 632 can include but It is not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.) etc..
Display unit 640 can be used to showing by user input information or be supplied to the information and mobile terminal of user Various menus.Display unit 640 may include display panel 641.In one embodiment, liquid crystal display can be used (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode, ) etc. OLED form configures display panel 641.In one embodiment, contact panel 631 can cover display panel 641, when tactile Control panel 631 is detected thereon or after neighbouring touch operation, sends processor 680 to determine the type of touch event, Corresponding visual output is provided on display panel 641 according to the type of touch event with preprocessor 680.Although in figure 6, Contact panel 631 and display panel 641 are input and the input function that mobile terminal is realized as two independent parts, but It is in some embodiments it is possible to by contact panel 631 and display panel 641 input and output integrated and that realize mobile terminal Function.
Mobile terminal 600 may also include at least one sensor 650, such as optical sensor, motion sensor and other Sensor.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can basis The light and shade of ambient light adjusts the brightness of display panel 641, and proximity transducer can close when mobile terminal is moved in one's ear Display panel 641 and/or backlight.Motion sensor may include acceleration transducer, and each is can detect by acceleration transducer The size of acceleration on direction, can detect that size and the direction of gravity when static, can be used to recognize answering for mobile terminal attitude With (such as horizontal/vertical screen switching), Vibration identification correlation function (such as pedometer, percussion) etc.;Additionally, mobile terminal can also configure Other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor etc..
Voicefrequency circuit 660, loudspeaker 661 and microphone 662 can provide the COBBAIF between user and mobile terminal.Sound Electric signal after the voice data conversion that frequency circuit 660 will can be received, is transferred to loudspeaker 661, is converted to by loudspeaker 661 Voice signal is exported;On the other hand, the voice signal of collection is converted to electric signal by microphone 662, is received by voicefrequency circuit 660 After be converted to voice data, then after voice data output processor 680 is processed, another shifting can be sent to through RF circuits 610 Dynamic terminal, or voice data is exported to memory 620 so as to subsequent treatment.
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 670 Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 6 shows Go out WiFi module 670, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal 600, can be as needed And omit.
Processor 680 is the control centre of mobile terminal, using each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing software program and/or module of the storage in memory 620, and calls storage in storage Data in device 620, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal. In one embodiment, processor 680 may include one or more processing units.In one embodiment, processor 680 can be integrated Application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program Deng;Modem processor mainly processes radio communication.It is understood that above-mentioned modem processor can not also be integrated To in processor 680.
Mobile terminal 600 also includes the battery 690 powered to all parts, it is preferred that battery can be by battery management System is logically contiguous with processor 680, so as to realize management charging, electric discharge and power managed etc. by battery management system Function.
In one embodiment, mobile terminal 600 can also be including camera, bluetooth module etc..
In embodiments of the present invention, the processor 680 included by the mobile terminal 600 also has following functions:
Equipment power dissipation parameter is obtained, the equipment power dissipation parameter refers to the parameter value of reflection equipment current power consumption;
Detect that the equipment power dissipation parameter is being specified in parameter area, then proximity transducer threshold values is set to sensor and consolidated Determine threshold values, the proximity transducer threshold values refers to the threshold values for judging that object distance is far and near;
Stop updating the proximity transducer threshold values.
One of ordinary skill in the art will appreciate that all or part of flow in realizing above-described embodiment method, can be The hardware of correlation is instructed to complete by computer program, described program can be stored in a non-volatile computer and can read In storage medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage is situated between Matter can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) etc..
Embodiment described above only expresses several embodiments of the invention, and its description is more specific and detailed, but simultaneously Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Shield scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (11)

1. a kind of electricity saving method, it is characterised in that including:
Equipment power dissipation parameter is obtained, the equipment power dissipation parameter refers to the parameter value of reflection equipment current power consumption;
Detect that the equipment power dissipation parameter is being specified in parameter area, then proximity transducer threshold values is set to sensor standing valve Value, the proximity transducer threshold values refers to the threshold values for judging that object distance is far and near;
Stop updating the proximity transducer threshold values.
2. electricity saving method according to claim 1, it is characterised in that after the acquisition equipment power dissipation parameter step, The detection equipment power dissipation parameter also included before step in specified parameter area:
Detect that the equipment power dissipation parameter exceeds and specify parameter area, then obtain the proximity values of the proximity transducer collection;
Determine sensor dynamic thresholding according to the proximity values, and sensor standing valve is obtained according to the sensor dynamic thresholding Value.
3. electricity saving method according to claim 2, it is characterised in that described acquisition according to the sensor dynamic thresholding passes Sensor fixes threshold values to be included:
Specified sensor dynamic thresholding is obtained according to the sensor dynamic thresholding, and according to the specified sensor dynamic thresholding Sensor is obtained with limit threshold values fix threshold values.
4. electricity saving method according to claim 3, it is characterised in that described acquisition according to the sensor dynamic thresholding passes Sensor fixes threshold values to be included:
The maximum sensor dynamic thresholding in the sensor dynamic thresholding is obtained, detects that the maximum sensor dynamic thresholding is small In limit threshold values, then threshold values is fixed using the maximum sensor dynamic thresholding as sensor.
5. electricity saving method as claimed in any of claims 1 to 4, it is characterised in that the acquisition equipment power dissipation ginseng Number step includes:
Obtain voltage value;And
Obtain current processor occupation rate in one or two.
6. a kind of electricity saver, it is characterised in that including:
Parameter acquisition module, for obtaining equipment power dissipation parameter, the equipment power dissipation parameter refers to reflection equipment current power consumption Parameter value;
Threshold values setup module, for detecting that the equipment power dissipation parameter is being specified in parameter area, then by proximity transducer threshold values It is set to sensor and fixes threshold values, the proximity transducer threshold values refers to the threshold values for judging that object distance is far and near;
Stop update module, for stopping updating the proximity transducer threshold values.
7. electricity saver according to claim 6, it is characterised in that described device also includes:
Proximity values acquisition module, parameter area is specified for detecting that the equipment power dissipation parameter exceeds, then obtain described close to biography The proximity values of sensor collection;
Threshold values acquisition module, for determining sensor dynamic thresholding according to the proximity values, and according to sensor dynamic valve Value obtains sensor and fixes threshold values.
8. electricity saver according to claim 7, it is characterised in that the threshold values acquisition module is additionally operable to according to the biography Sensor dynamic thresholding obtains specified sensor dynamic thresholding, and is obtained according to the specified sensor dynamic thresholding and limit threshold values Sensor fixes threshold values.
9. electricity saver according to claim 8, it is characterised in that the threshold values acquisition module is additionally operable to obtain the biography Maximum sensor dynamic thresholding in sensor dynamic thresholding, detects that the maximum sensor dynamic thresholding is less than limit threshold values, then Threshold values is fixed using the maximum sensor dynamic thresholding as sensor.
10. the electricity saver according to any one in claim 6 to 9, it is characterised in that the parameter acquisition module is also For obtaining voltage value;And obtain current processor occupation rate in one or two.
11. a kind of electronic equipment, including memory, processor and the calculating that store on a memory and can run on a processor Machine program, following steps are realized during the computing device described program:
Equipment power dissipation parameter is obtained, the equipment power dissipation parameter refers to the parameter value of reflection equipment current power consumption;
Detect that the equipment power dissipation parameter is being specified in parameter area, then proximity transducer threshold values is set to sensor standing valve Value, the proximity transducer threshold values refers to the threshold values for judging that object distance is far and near;
Stop updating the proximity transducer threshold values.
CN201710063294.6A 2017-02-03 2017-02-03 Electricity saving method, device and electronic equipment Expired - Fee Related CN106896896B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710063294.6A CN106896896B (en) 2017-02-03 2017-02-03 Electricity saving method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710063294.6A CN106896896B (en) 2017-02-03 2017-02-03 Electricity saving method, device and electronic equipment

Publications (2)

Publication Number Publication Date
CN106896896A true CN106896896A (en) 2017-06-27
CN106896896B CN106896896B (en) 2019-10-25

Family

ID=59198486

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710063294.6A Expired - Fee Related CN106896896B (en) 2017-02-03 2017-02-03 Electricity saving method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106896896B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI739338B (en) * 2020-03-11 2021-09-11 崑山科技大學 Environment-aware wisdom triggers power-saving methods

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902010A (en) * 2012-12-26 2014-07-02 联想(北京)有限公司 Method for reducing power consumption and electronic equipment
CN104570144A (en) * 2013-10-24 2015-04-29 展讯通信(上海)有限公司 Self-adaptive induction threshold adjusting system and method for proximity sensor
CN104683598A (en) * 2015-03-25 2015-06-03 深圳市欧珀通信软件有限公司 Proximity sensor threshold adjusting method and device and intelligent device
CN105629184A (en) * 2014-11-20 2016-06-01 苹果公司 Electronic device and mixed magnetometer sensor suite used for same
CN106055076A (en) * 2016-05-31 2016-10-26 广东欧珀移动通信有限公司 Method and device for closing sensors
CN106095078A (en) * 2016-05-31 2016-11-09 广东欧珀移动通信有限公司 The threshold values method to set up of a kind of sensor and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902010A (en) * 2012-12-26 2014-07-02 联想(北京)有限公司 Method for reducing power consumption and electronic equipment
CN104570144A (en) * 2013-10-24 2015-04-29 展讯通信(上海)有限公司 Self-adaptive induction threshold adjusting system and method for proximity sensor
CN105629184A (en) * 2014-11-20 2016-06-01 苹果公司 Electronic device and mixed magnetometer sensor suite used for same
CN104683598A (en) * 2015-03-25 2015-06-03 深圳市欧珀通信软件有限公司 Proximity sensor threshold adjusting method and device and intelligent device
CN106055076A (en) * 2016-05-31 2016-10-26 广东欧珀移动通信有限公司 Method and device for closing sensors
CN106095078A (en) * 2016-05-31 2016-11-09 广东欧珀移动通信有限公司 The threshold values method to set up of a kind of sensor and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI739338B (en) * 2020-03-11 2021-09-11 崑山科技大學 Environment-aware wisdom triggers power-saving methods

Also Published As

Publication number Publication date
CN106896896B (en) 2019-10-25

Similar Documents

Publication Publication Date Title
KR101978590B1 (en) Message updating method, device and terminal
CN107256129A (en) Switch method, device and its relevant device of application under span mode
CN105005909A (en) Method and device for predicting lost users
CN104093123B (en) The information-pushing method of application program, device and system, mobile terminal
CN106331359B (en) A kind of speech signal collection method, device and terminal
CN104954402A (en) Application recommending method, system and apparatus
CN106293308A (en) A kind of unlocking screen method and device
CN105307242A (en) Wi-Fi network application method and terminal
CN106775828A (en) Application program installation method and device, computer equipment
CN107817988A (en) The management method and Related product of PUSH message
CN107977261A (en) Method, equipment, mobile terminal and the computer-readable storage medium of limiting process
CN105807908A (en) Working mode switching method and device
CN104901992A (en) Resource transfer method and device
CN107766351B (en) File directory identification method and device
CN109688611A (en) A kind of configuration method, device, terminal and the storage medium of frequency range parameter
CN104244448B (en) Reduce the method and system of data transmission delay
CN107423123A (en) Method for scheduling task, device, storage medium and electronic equipment
CN106792651A (en) Mobile terminal self-destruction method, device and mobile terminal
CN104702643A (en) A webpage access method, device and system
CN107632985A (en) Webpage preloads method and device
CN104615451B (en) A kind of method and device starting application
CN106254673A (en) Terminal fall detection method and device
CN103034319B (en) A kind of the method for display and control, control device and terminal are carried out to terminal
CN108269223B (en) Webpage graph drawing method and terminal
CN106896896B (en) Electricity saving method, device and electronic equipment

Legal Events

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

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

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

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

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

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

Granted publication date: 20191025

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