CN106802711A - Electronic equipment electricity saving method and system - Google Patents
Electronic equipment electricity saving method and system Download PDFInfo
- Publication number
- CN106802711A CN106802711A CN201710044629.XA CN201710044629A CN106802711A CN 106802711 A CN106802711 A CN 106802711A CN 201710044629 A CN201710044629 A CN 201710044629A CN 106802711 A CN106802711 A CN 106802711A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- threshold value
- module
- predetermined registration
- registration operation
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3287—Power saving characterised by the action undertaken by switching off individual functional units in the computer system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3212—Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3296—Power saving characterised by the action undertaken by lowering the supply or operating voltage
Abstract
The present invention provides a kind of electronic equipment electricity saving method, and methods described includes:Obtain the distance between the electronic equipment and user value;Judge the distance value whether less than predeterminable range threshold value;When it is determined that the distance value is less than the predeterminable range threshold value, camera mode is rapidly entered when default quick instruction is received;Judge whether the first predetermined registration operation is received in Preset Time;When it is determined that being not received by first predetermined registration operation in the Preset Time, current camera mode is switched into default battery saving mode.The present invention also provides a kind of electronic equipment electricity-saving system.The present invention can save the kwh loss of electronic equipment, extend electricity use time, improve shooting duration of video.
Description
Technical field
The present invention relates to technical field of electronic equipment, and in particular to a kind of electronic equipment electricity saving method and system.
Background technology
With the development of electronic technology, increasing user depends on electronic equipment to shoot the photograph in daily life
Piece.But because the electricity of electric device battery is not very persistently, to add now for experience of easily being taken pictures to user, in electronics
Camera function can quickly be opened by shortcuts such as a left side stroke or right strokes when equipment screen locking.
The mode of this fast opening camera, brings to user easily experience to a certain extent, but the opposing party
Face easily causes many maloperations, or even can be more fatal because maloperation causes to delete the critically important photo of user, such as
The multiple maloperation of fruit also results in the electric quantity consumption of electronic equipment quickly.Although having the method for such as preventing maloperation at present,
But the degree of accuracy is not very high.In addition, if user without camera or screen locking is actively closed in time, phase chance is constantly in work
State and waste substantial amounts of electricity.
The content of the invention
In view of the foregoing, it is necessary to propose a kind of electronic equipment electricity saving method, the electricity that can save electronic equipment is damaged
Consumption, extends electricity use time, improves shooting duration of video.
A kind of electronic equipment electricity saving method, methods described includes:
Obtain the distance between the electronic equipment and user value;
Judge the distance value whether less than predeterminable range threshold value;
When it is determined that the distance value is less than the predeterminable range threshold value, quickly enter when default quick instruction is received
Enter camera mode;
Judge whether the first predetermined registration operation is received in Preset Time;
When it is determined that being not received by first predetermined registration operation in the Preset Time, current camera mode is cut
It is changed to default battery saving mode.
According to a preferred embodiment of the present invention, methods described also includes:
When it is determined that receiving first predetermined registration operation in the Preset Time, call and first predetermined registration operation
Corresponding function.
According to a preferred embodiment of the present invention, it is described receive default quick instruction when rapidly enter camera mould
After formula, it is described judge whether to receive the first predetermined registration operation in Preset Time before, methods described also includes:
One text box of display, to receive Preset Time described in user input.
According to a preferred embodiment of the present invention, determine that the distance value is less than the predeterminable range threshold value described
Afterwards, methods described also includes:
Obtain the azimuth information that the electronic equipment is presently in position;
Judge the azimuth information whether in pre-configured orientation threshold value;
When it is determined that the azimuth information is in the pre-configured orientation threshold value, judge whether to receive default rapidly entering
The quick instruction of camera mode.
According to a preferred embodiment of the present invention, methods described also includes:
When the second predetermined registration operation is received, the default battery saving mode is switched back into the camera mode.
In view of the foregoing, there is a need to proposition a kind of electronic equipment electricity-saving system, the electricity of electronic equipment can be saved
Loss, extends electricity use time, improves shooting duration of video.
A kind of electronic equipment electricity-saving system, the system includes:
Acquisition module, for obtaining the distance between the electronic equipment and user value;
First judge module, for judging the distance value whether less than predeterminable range threshold value;
Opening module, for first judge module determine the distance value be less than the predeterminable range threshold value when,
Camera mode is rapidly entered when default quick instruction is received;
Second judge module, for judging whether the first predetermined registration operation is received in Preset Time;
Handover module, for determining to be not received by described first in the Preset Time when second judge module
During predetermined registration operation, current camera mode is switched into default battery saving mode.
According to a preferred embodiment of the present invention, the system also includes:
Calling module, for determining that described first is received in the Preset Time presets when second judge module
During operation, function corresponding with first predetermined registration operation is called.
According to a preferred embodiment of the present invention, the system also includes:
Setup module, for showing a text box, to receive Preset Time described in user input.
According to a preferred embodiment of the present invention,
The acquisition module, is additionally operable to determine that the distance value is less than the predeterminable range threshold in first judge module
The azimuth information that the electronic equipment is presently in position is obtained during value;
Whether first judge module, be additionally operable to judge the azimuth information in pre-configured orientation threshold value;
First judge module, is additionally operable to when it is determined that the azimuth information is in the pre-configured orientation threshold value, judge
Whether the default quick instruction that rapidly enters camera mode is received.
According to a preferred embodiment of the present invention, the handover module is additionally operable to:
When the second predetermined registration operation is received, the default battery saving mode is switched back into the camera mode.
Compared to prior art, electronic equipment electricity saving method of the present invention and system can correctly judge that user is
It is no truly to need to open camera.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, embodiment will be described below needed for be used
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area
For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
It is the method flow diagram of electronic equipment electricity saving method preferred embodiment of the present invention shown in Fig. 1.
It is the schematic diagram of the preferred embodiment of display screen prompting user input Preset Time shown in Fig. 2.
It is the structural representation of the preferred embodiment of the electronic equipment for realizing electronic equipment electricity saving method of the present invention shown in Fig. 3
Figure.
It is the functional block diagram of electronic equipment electricity-saving system preferred embodiment of the present invention shown in Fig. 4.
Main element symbol description
Specific embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with the drawings and specific embodiments,
Technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only the present invention
A part of embodiment, rather than whole embodiments.Moreover, it will be appreciated that specific embodiments described herein, is only used to
The present invention is explained, is not intended to limit the present invention.
Based on the embodiment in the present invention, those of ordinary skill in the art institute on the premise of creative work is not made
The every other embodiment for obtaining, belongs to the scope of protection of the invention.
It is the flow chart of electronic equipment electricity saving method preferred embodiment of the present invention with reference to shown in Fig. 1.The preferred embodiment
In method as performed by electronic equipment.
In the present embodiment, the electronic equipment can be, for example, smart mobile phone, panel computer, digital camera and its
His imaging device.The electronic equipment at least includes display screen and camera.
According to different demands, the execution sequence in flow chart shown in Fig. 1 can change, and some can be omitted.
S11, obtains the distance between electronic equipment and user value.
In certain embodiments, the electronic equipment is built-in with range sensor, such as infrared distance sensor, by institute
Stating range sensor can obtain the distance between the electronic equipment and user value.In the present embodiment, the range sensor
The distance between the mainly electronic equipment and user's upper part of the body that obtain value.
Whether S12, electronic equipment judges the distance value less than predeterminable range threshold value.
In certain embodiments, the electronic equipment pre-sets a distance threshold, and predeterminable range threshold value can be electricity
What system default, or according to user the demand of sub- equipment was voluntarily set, for example, 1.5 meters.In other embodiment
In, the predeterminable range threshold value can also be modified and adjusted according to different occasions of taking pictures.
When the distance between the electronic equipment and user are in predeterminable range threshold range, i.e., when the electronic equipment
When in customer-centric, the border circular areas formed by radius with the predeterminable range threshold value, just think that user really anticipates
Need to open camera in justice.
In certain embodiments, when electronic equipment determines that the distance value is less than the predeterminable range threshold value, perform
S13;Otherwise, when electronic equipment determines that the distance value is more than or equal to the predeterminable range threshold value, can continue executing with
S11。
In other embodiments, when electronic equipment determines that the distance value is more than or equal to predeterminable range threshold value, may be used also
Directly to terminate flow.
S13, electronic equipment rapidly enters camera mode when default quick instruction is received.
In certain embodiments, user can in the electronic device set the quick quick finger for opening camera function in advance
Order, the quick instruction can be, for example, when the display screen of electronic equipment is in locking screen interface, sliding to the left described aobvious
Display screen curtain, or the display screen is slided to the right, or tap described display screen etc. twice in Preset Time.
Electronic equipment is quick to start camera task when the default quick instruction is received, into camera mode.
S14, electronic equipment judges whether the first predetermined registration operation is received in Preset Time.
In certain embodiments, when the electronic equipment be in camera mode when, with camera function, shoot function or
Continuous shooting function etc..And the loss ratio in a camera mode to the electric device battery electricity is higher.Especially user is for a long time
When not carrying out first predetermined registration operation, the electricity of electric device battery can be wasted.
In certain embodiments, first predetermined registration operation can include, but not limited to touch camera button, touch and shoot
Key, default voice of taking pictures, default shooting voice.
In certain embodiments, the display screen of the electronic equipment is not received by any operation of user for a long time,
Or other any regions on the display screen in addition to the camera button or the shooting key receive the touch of user
Operation, pressing operation, clicking operation etc. are regarded as the invalid operation of user.
In certain embodiments, when the electronic equipment determines that described first is not received by the Preset Time is pre-
If during operation, performing S15;When the electronic equipment determines to receive first predetermined registration operation in the Preset Time,
Perform S16.
Current camera mode is switched to default battery saving mode by S15, electronic equipment.
In certain embodiments, default battery saving mode can need to pre-set according to user, described default
Battery saving mode can also be changed and edited.Under default battery saving mode, the camera function in camera mode can be retained, closed
Focus function, closes live view function repeatedly, closes flash lamp function, closes human face detection and recognition function, closes electronics
Function that the back LCDs of equipment is taken pictures using only optical finder etc..In this way, in described default power saving
Can ensure that neither influence is taken pictures, and can to greatest extent extend the use duration of electronic equipment dump energy again under pattern.
It should be noted that it is the shooting for instigating the electronic equipment that electronic equipment enters described default battery saving mode
Head enters holding state, rather than closes the camera, it is to avoid weight when user needs to perform camera function using the camera
It is new to start camera task and more electricity are lost.
S16, electronic equipment calls function corresponding with first predetermined registration operation.
In certain embodiments, when electronic equipment detects user touches the operation of camera button, described touch is called to clap
According to the function that the corresponding photographing instruction of key, execution are taken pictures;When electronic equipment detects user touches the operation for shooting key, call
Described touch shoots the corresponding shooting instruction of key, performs the function of shooting.
Further, after the S15, the electronic equipment electricity saving method can also include:Electronic equipment is being received
During to the second predetermined registration operation, the default battery saving mode is switched back into the camera mode.
In certain embodiments, when electronic equipment is in the default battery saving mode, if user need to switch to it is described
Camera mode, then need to only perform second predetermined registration operation.Second predetermined registration operation can be that the percussion electronic equipment back side is pre-
If number of times rocks electronic equipment preset times etc..
Further, after the S13, and before the S14, the electronic equipment electricity saving method can also be wrapped
Include:A text box is shown on the display screen, to receive Preset Time described in user input.
In certain embodiments, when the electronic equipment enters camera mode, in the current interface of the display screen
The scene of the camera capture is shown, and text box can also be shown in current interface, point out user's setting to receive institute
The Preset Time of the first predetermined registration operation is stated, as shown in Figure 2.Point out user defeated by when electronic equipment enters camera mode
Enter the Preset Time, can allow user's Preset Time according to current scene sets itself, default setting institute can be avoided
The inconvenient problem stated Preset Time and bring.For example, under the simple scene of background, as long as can set being connect in 3 seconds
First predetermined registration operation of user is received, and under the complicated scene of background, it may be necessary to it is set in 5 seconds and receives user
The first predetermined registration operation.
Perform the default quick instruction and rapidly entered camera mould to further avoid the maloperation of user
Formula, can also include before the S13:Obtain electronic equipment and be presently in the azimuth information of position, and judge the orientation
Whether information when it is determined that the azimuth information is in the pre-configured orientation threshold value, further determines whether in pre-configured orientation threshold value
Receive the default quick instruction for rapidly entering camera mode.
In certain embodiments, the electronic equipment supports positioning function, for example, compass functional etc., by compass
Electronic equipment described in functional localization is presently in the azimuth information of position.
In certain embodiments, the electronic equipment pre-sets an orientation threshold value, and pre-configured orientation threshold value can be electricity
What system default, or according to user the demand of sub- equipment was voluntarily set.In other embodiments, can also basis
Different occasions of taking pictures are modified and are adjusted to the orientation threshold value.
In certain embodiments, the electronic equipment is presently in the azimuth information of position and refers to the electronic equipment phase
For the positive azimuth information of user.The orientation threshold value refers to the triangle formed centered on the front of user
Shape region.
When electronic equipment determines the distance value less than predeterminable range threshold value, and the azimuth information is in the pre-configured orientation
When in threshold value, above-mentioned S13 is performed;Otherwise, when electronic equipment determines the distance value more than or equal to predeterminable range threshold value, or
When the azimuth information is not in the pre-configured orientation threshold value, the distance between the electronic equipment and user can be reacquired
Value and electronic equipment are presently in the azimuth information of position.
In sum, electronic equipment electricity saving method of the present invention, obtains the distance between electronic equipment and user value,
Whether the distance value is judged less than predeterminable range threshold value, when it is determined that the distance value is less than the predeterminable range threshold value and is connecing
Camera mode is rapidly entered when receiving default quick instruction, the first predetermined registration operation judges whether is received in Preset Time
One predetermined registration operation, when it is determined that being not received by first predetermined registration operation in the Preset Time, by current camera mould
Formula switches to default battery saving mode.The kwh loss of electronic equipment can be saved by the present invention, extends electricity use time,
Improve shooting duration of video.In addition, the electronic equipment is also obtained while the distance value between electronic equipment and user is obtained working as
The azimuth information of preceding present position, when the distance value less than the predeterminable range threshold value and the azimuth information in pre-configured orientation
In threshold value, camera mode is just rapidly entered when default quick instruction is received, so can correctly judge whether user is true
Need to open camera in positive meaning.Further, when the electronic equipment enters camera mode, user's setting is also pointed out to receive
The Preset Time of first predetermined registration operation, can allow user according to current scene sets itself Preset Time, it is to avoid silent
Recognize the inconvenient problem for the Preset Time being set and being brought.
The above, is only specific embodiment of the invention, but protection scope of the present invention is not limited thereto, for
For one of ordinary skill in the art, without departing from the concept of the premise of the invention, improvement, but these can also be made
Belong to protection scope of the present invention.
With reference to the 3rd~4 figure, respectively to realize the electronic equipment of above-mentioned electronic equipment electricity saving method hardware configuration and
Functional module is introduced.
It should be appreciated that the embodiment is only purposes of discussion, do not limited by this structure in patent claim.
As shown in figure 3, being the hardware architecture diagram of the electronic equipment for realizing electronic equipment electricity saving method of the present invention.
In present pre-ferred embodiments, the electronic equipment 1 includes memory 11, at least one processor 12, at least
One communication bus 13, display screen 14, at least one camera 15, range sensor 16 and locating module 17.
It will be understood by a person skilled in the art that the structure of the electronic equipment shown in Fig. 3 does not constitute the embodiment of the present invention
Limit, both can be bus type structure, or star structure, the electronic equipment 1 can also include than illustrate it is more or
Less other hardware or software, or different part arrangements.
In certain embodiments, the electronic equipment 1 include it is a kind of can be according to the instruction being previously set or store, automatically
Carry out the electronic equipment of numerical computations and/or information processing, its hardware include but is not limited to microprocessor, application specific integrated circuit,
Programmable gate array, digital processing unit, embedded device etc..The electronic equipment 1 may also include user equipment, and the user sets
Standby including but not limited to any one can be carried out with user by modes such as keyboard, mouse, remote control, touch pad or voice-operated devices
The electronic product of man-machine interaction, for example, personal computer, panel computer, smart mobile phone, digital camera etc. are any to possess camera
15 imaging device etc..
It should be noted that the electronic equipment 1 is only for example, other electronic products that are existing or being likely to occur from now on
The present invention is such as adaptable to, should be also included within protection scope of the present invention, and be incorporated herein by reference.
In certain embodiments, the memory 11 is used for store program codes and various data, such as installed in described
Electronic equipment electricity-saving system in electronic equipment 1, and high speed is realized in the running of electronic equipment 1, journey is automatically completed
The access of sequence or data.The memory 11 includes read-only storage (Read-Only Memory, ROM), random access memory
(Random Access Memory, RAM), programmable read only memory (Programmable Read-Only Memory,
PROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read-Only Memory, EPROM), one
Secondary programmable read only memory (One-time Programmable Read-Only Memory, OTPROM), electronics erasing type
Can make carbon copies read-only storage (Electrically-Erasable Programmable Read-Only Memory, EEPROM),
Read-only optical disc (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic
Tape storage or can be used in carry or data storage computer-readable any other medium.
In the present embodiment, predeterminable range threshold value, default quick instruction are previously stored with the memory 11, are preset
Time, pre-configured orientation threshold value, the first predetermined registration operation and second predetermined registration operation etc..
In certain embodiments, at least one processor 12 can be made up of integrated circuit, for example can be by single
The integrated circuit of encapsulation is constituted, or is made up of the integrated circuit that multiple identical functions or difference in functionality are encapsulated, and is wrapped
Include one or more central processing unit (Central Processing unit, CPU), microprocessor, digital processing chip,
Combination of graphic process unit and various control chips etc..At least one processor 12 is the control core of the electronic equipment 1
The heart (Control Unit), using various interfaces and all parts of the whole electronic equipment 1 of connection, by running or performing
Program or module in the memory 11 are stored, and calls data of the storage in the memory 11, to perform
The various functions and processing data of electronic equipment 1, for example, perform electronic equipment electricity-saving system.
In certain embodiments, at least one communication bus 13 be arranged to realize the memory 11, it is described extremely
Few processor 12, the display screen 14, at least one camera 15, the range sensor 16 and the positioning
Connection communication between the grade of module 17.
In certain embodiments, the display screen 14 can be used for display by the information of beholder's input or be supplied to viewing
The information of person and the various figure beholder interfaces of electronic equipment 1, these figures beholder interface can by figure, text,
Icon, video and its any combination are constituted.The display screen 14 may include display panel, optionally, can use liquid crystal
Display screen (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting
Diode, OLED) etc. form configure display panel.
The display screen 14 can also include touch panel.If the display screen 14 includes touch panel, described
Display screen 14 may be implemented as touch-screen, to receive the input signal from beholder.Touch panel includes one or many
Individual touch sensor is with the gesture on sensing touch, slip and touch panel.Above-mentioned touch sensor can not only sensing touch
Or the border of sliding action, but also detect duration and the pressure related to above-mentioned touch or slide.The display
Panel can realize input and input function with the touch panel as two independent parts, but in some embodiments
In, can the display panel and the touch panel be carried out integrated and realize input and output function.
In certain embodiments, at least one camera 15 is set just like Charged Couple (charge-coupled
Device, CCD) formula photo-sensitive cell, the photo-sensitive cell can be used for sense enter camera in light.In some embodiments
In, at least one camera 15 can be fixed camera, or the camera of rotary type.
The electronic equipment 1 can include two cameras 15.In certain embodiments, two cameras 15 can divide
Not Wei electronic equipment 1 front camera and rear camera.In certain embodiments, two cameras 15 can set side by side
Put in the same side of the electronic equipment 1, the effect for realizing for example shooting wide-angle photo.
In other embodiments, at least one camera 15 can also be without being arranged on the electronic equipment 1, but
Be individually present, by it is wired or wirelessly with the electronic equipment 1 communicate be connected.
In certain embodiments, the range sensor 16 can be infrared distance sensor, launch infrared ray, be used to feel
Survey the distance between user and described electronic equipment.
In certain embodiments, the locating module 17 can be compass functional etc., be used to position the electronic equipment
It is presently in the azimuth information of position.
Although not shown, the electronic equipment 1 can also include the power supply (such as battery) powered to all parts, preferably
, power supply can be logically contiguous with least one processor 12 by power-supply management system, so as to pass through power management system
System realizes the functions such as management charging, electric discharge and power managed.Power supply can also include one or more direct current or friendship
Stream power supply, recharging system, power failure detection circuit, power supply changeover device or inverter, power supply status indicator etc. are any
Component.The electronic equipment 1 can also will not be repeated here including multiple sensors, bluetooth module, Wi-Fi module etc..
It should be appreciated that the embodiment is only purposes of discussion, do not limited by this structure in patent claim.
Refering to shown in Fig. 4, be electronic equipment electricity-saving system 10 of the present invention preferred embodiment in functional block diagram.
In certain embodiments, during the electronic equipment electricity-saving system 10 runs on the electronic equipment 1.The electronics sets
Standby electricity-saving system 10 can include multiple functional modules being made up of program code segments.In the electronic equipment electricity-saving system 10
The program code of each program segment can be stored in the memory 11, and held by least one processor 12
OK, the power saving with execution (referring to Fig. 1 to describe) to electronic equipment.
In the present embodiment, function of the electronic equipment electricity-saving system 10 according to performed by it can be divided into multiple
Functional module.The functional module can include:Acquisition module 100, the first judge module 101, opening module 102, second are sentenced
Disconnected module 103, handover module 104, calling module 105, setup module 106.Module alleged by the present invention refers to that one kind can be by
The series of computation machine program segment that is performed and can completing fixing function of at least one processor 12, its storage is deposited described
In reservoir 11.In the present embodiment, the function on each module will be described in detail in follow-up embodiment.
The acquisition module 100, for obtaining the distance between electronic equipment and user value.
In certain embodiments, the electronic equipment is built-in with range sensor, such as infrared distance sensor, described to obtain
Modulus block 100 can obtain the distance between the electronic equipment 1 and user value by the range sensor 16.The present embodiment
In, what the range sensor 16 was obtained is mainly the distance between the electronic equipment 1 and user's upper part of the body value.
Whether first judge module 101, be used to judge the distance value less than predeterminable range threshold value.
In certain embodiments, the electronic equipment 1 pre-sets a distance threshold, and predeterminable range threshold value can be electricity
What system default, or according to user the demand of sub- equipment 1 was voluntarily set, for example, 1.5 meters.In other embodiment
In, the predeterminable range threshold value can also be modified and adjusted according to different occasions of taking pictures.
When the distance between the electronic equipment 1 and user are in predeterminable range threshold range, i.e., when the electronics sets
During for 1 in customer-centric, the border circular areas formed by radius with the predeterminable range threshold value, just think that user is real
Need to open camera in meaning.
In certain embodiments, when first judge module 101 determines that the distance value is less than the predeterminable range threshold
During value, the opening module 102 is performed;Otherwise, when first judge module 101 determines that the distance value is more than or equal to institute
When stating predeterminable range threshold value, the acquisition module 100 can be continued executing with.
In other embodiments, when first judge module 101 determines that the distance value is more than or equal to predeterminable range
During threshold value, can also directly terminate flow.
The opening module 102, to rapidly enter camera mode when default quick instruction is received.
In certain embodiments, user can in the electronic device 1 set the quick quick finger for opening camera function in advance
Order, the quick instruction can be, for example, when the display screen 14 of electronic equipment 1 is in locking screen interface, sliding to the left described
Display screen 14, or the display screen 14 is slided to the right, or tap the display screen 14 twice in Preset Time
Deng.
The opening module 102 is quick to start camera task when the default quick instruction is received, into camera
Pattern.
Second judge module 103, is used to judge whether the first predetermined registration operation is received in Preset Time.
In certain embodiments, when the electronic equipment 1 be in camera mode when, with camera function, shoot function or
Person's continuous shooting function etc..And the loss ratio in a camera mode to the battery electric quantity of the electronic equipment 1 is higher.When especially using the head of a household
Between when not carrying out the first predetermined registration operation, the electricity of the battery of electronic equipment 1 can be wasted.
In certain embodiments, first predetermined registration operation can include, but not limited to touch camera button, touch and shoot
Key, default voice of taking pictures, default shooting voice.
In certain embodiments, the long-time of display screen 14 of the electronic equipment 1 is not received by any behaviour of user
Make, or other any regions on the display screen 14 in addition to the camera button or the shooting key receive user's
Touch operation, pressing operation, clicking operation etc. are regarded as the invalid operation of user.
In certain embodiments, when second judge module 103 determines to be not received by institute in the Preset Time
When stating the first predetermined registration operation, the handover module 104 is performed;When second judge module 103 is determined in the Preset Time
When inside receiving first predetermined registration operation, the calling module 105 is performed.
The handover module 104, for current camera mode to be switched into default battery saving mode.
In certain embodiments, default battery saving mode can need to pre-set according to user, described default
Battery saving mode can also be changed and edited.Under default battery saving mode, the camera function in camera mode can be retained, closed
Focus function, closes live view function repeatedly, closes flash lamp function, closes human face detection and recognition function, closes electronics
Function that the back LCDs of equipment 1 is taken pictures using only optical finder etc..In this way, in described default power saving
Can ensure that neither influence is taken pictures, and can to greatest extent extend the use duration of the dump energy of electronic equipment 1 again under pattern.
It should be noted that it is to instigate taking the photograph for the electronic equipment 1 that electronic equipment 1 enters described default battery saving mode
Enter holding state as first 15, rather than close the camera 15, it is to avoid user is needed to be performed using the camera 15 and taken pictures
Camera task is restarted during function and more electricity are lost.
The calling module 105, is used to call function corresponding with first predetermined registration operation.
In certain embodiments, when the calling module 105 detects user touches the operation of camera button, call described
Touch the corresponding photographing instruction of camera button, the function that execution is taken pictures;Shooting key is touched when the calling module 105 detects user
Operation when, call it is described touch shoot key it is corresponding shoot instruction, perform shoot function.
Further, the handover module 104 is additionally operable to:When the second predetermined registration operation is received, by the default province
Power mode switches back into the camera mode.
In certain embodiments, when electronic equipment 1 is in the default battery saving mode, if user need to switch to it is described
Camera mode, then need to only perform second predetermined registration operation.Second predetermined registration operation can be that percussion electronic equipment 1 back side is pre-
If number of times rocks preset times of electronic equipment 1 etc..
Further, the electronic equipment electricity-saving system 10 can also include setup module 106:For in the unlatching mould
Block 102 receives when default quick instruction rapidly enters camera mode and a text box is shown on the display screen, with
Receive Preset Time described in user input.
In certain embodiments, when the electronic equipment 1 enters camera mode, the current interface of the display screen 14
On show the scene of the capture of the camera 15, and text box can also be shown in current interface, point out user's setting to connect
The Preset Time of first predetermined registration operation is received, as shown in Figure 2.Pointed out by when electronic equipment 1 enters camera mode
Preset Time described in user input, can allow user's Preset Time according to current scene sets itself, can avoid acquiescence
The inconvenient problem for the Preset Time being set and being brought.For example, under the simple scene of background, as long as can set at 3 seconds
First predetermined registration operation of user is received in clock, and under the complicated scene of background, it may be necessary to it is set in 5 seconds and connects
Receive first predetermined registration operation of user.
Perform the default quick instruction and rapidly entered camera mould to further avoid the maloperation of user
Formula, the acquisition module 100 is additionally operable to:The azimuth information that electronic equipment is presently in position is obtained, corresponding described first sentences
Disconnected module 101 is additionally operable to:Judge the azimuth information whether in pre-configured orientation threshold value.First judge module 101 is also used
In:When it is determined that the azimuth information is in the pre-configured orientation threshold value, judges whether to receive and default rapidly enter camera
The quick instruction of pattern.
In certain embodiments, the electronic equipment 1 supports positioning function, for example, compass functional etc., by compass
Electronic equipment 1 is presently in the azimuth information of position described in functional localization.
In certain embodiments, the electronic equipment 1 pre-sets an orientation threshold value, and pre-configured orientation threshold value can be electricity
What system default, or according to user the demand of sub- equipment 1 was voluntarily set.In other embodiments, can be with root
The orientation threshold value is modified and adjusted according to different occasions of taking pictures.
In certain embodiments, the electronic equipment 1 is presently in the azimuth information of position and refers to the electronic equipment
Relative to the positive azimuth information of user.The orientation threshold value refers to three formed centered on the front of user
Angular domain.
When first judge module 101 determines the distance value less than predeterminable range threshold value, and determine the orientation letter
When breath is in the pre-configured orientation threshold value, the opening module 102 is performed;Otherwise, when first judge module 101 determines institute
Distance value is stated more than or equal to predeterminable range threshold value, or the azimuth information not in the pre-configured orientation threshold value when, it is described
Acquisition module 100 can reacquire the distance between the electronic equipment and user value and electronic equipment is presently in position
Azimuth information.
In sum, electronic equipment electricity-saving system 10 of the present invention, the acquisition module 100 obtain electronic equipment with
The distance between user is worth, and whether first judge module 101 judges the distance value less than predeterminable range threshold value, when described
First judge module 101 determine the distance value less than the predeterminable range threshold value and the opening module 102 receive it is pre-
If quick instruction when rapidly enter camera mode, the predetermined registration operation of second judge module 103 first is judged in Preset Time
Whether the first predetermined registration operation is inside received, when second judge module 103 determines to be not received by the Preset Time
During first predetermined registration operation, current camera mode is switched to default battery saving mode by the handover module 104.By this
Invention can save the kwh loss of electronic equipment, extend electricity use time, improve shooting duration of video.In addition, the acquisition mould
Block 100 also obtains the side that the electronic equipment is presently in position while the distance value between electronic equipment and user is obtained
Position information, when first judge module 101 determines that the distance value is less than the predeterminable range threshold value and the azimuth information
In pre-configured orientation threshold value, the ability of the opening module 102 rapidly enters camera mode when default quick instruction is received, such as
This can correctly judge whether user truly needs to open camera.Further, camera is entered in the electronic equipment
During pattern, the setup module 106 also points out user to set the Preset Time for receiving first predetermined registration operation, can allow user
According to current scene sets itself Preset Time, it is to avoid Preset Time described in default setting and the inconvenient problem brought.
The above-mentioned integrated unit realized in the form of software function module, can store and be deposited in an embodied on computer readable
In storage media.Above-mentioned software function module storage is in a storage medium, including some instructions are used to so that a computer
It is each that equipment (can be personal computer, electronic equipment, or network equipment etc.) or processor (processor) perform the present invention
The part of individual embodiment methods described.
In a further embodiment, with reference to Fig. 3, at least one processor 12 can perform the electronic equipment 1
Operating system and the types of applications program of installation (electronic equipment electricity-saving system 10 as mentioned), program code etc., for example, on
The modules stated, including acquisition module 100, the first judge module 101, opening module 102, the second judge module 103, switching
Module 104, calling module 105, setup module 106.
Have program stored therein code in the memory 11, and at least one processor 12 can call the memory 11
The program code of middle storage with perform correlation function.For example, the modules described in Fig. 4 (acquisition module 100, first are sentenced
Disconnected module 101, opening module 102, the second judge module 103, handover module 104, calling module 105, setup module 106) be
The program code in the memory 11 is stored, and as performed by least one processor 12, it is described each so as to realize
The function of individual module saves the purpose of electricity to reach.
In one embodiment of the invention, the memory 11 storage multiple instruction, the multiple instruction by it is described extremely
A few processor 12 is performed to save electricity with realization.Specifically, at least one processor 12 is to the multiple finger
The execution of order includes:
Obtain the distance between the electronic equipment and user value;
Judge the distance value whether less than predeterminable range threshold value;
When it is determined that the distance value is less than the predeterminable range threshold value, quickly enter when default quick instruction is received
Enter camera mode;
Judge whether the first predetermined registration operation is received in Preset Time;
When it is determined that being not received by first predetermined registration operation in the Preset Time, current camera mode is cut
It is changed to default battery saving mode.
In a preferred embodiment, execution of at least one processor 12 to the multiple instruction is further wrapped
Include:
When it is determined that receiving first predetermined registration operation in the Preset Time, call and first predetermined registration operation
Corresponding function.
In a preferred embodiment, it is described receive default quick instruction when rapidly enter camera mode after,
It is described judge whether to receive the first predetermined registration operation in Preset Time before, at least one processor 12 is to the multiple
The execution of instruction is further included:
One text box of display, is used to receive Preset Time described in user input.
In a preferred embodiment, it is described determine the distance value less than the predeterminable range threshold value after, it is described extremely
Execution of few processor 12 to the multiple instruction is further included:
Obtain the azimuth information that the electronic equipment is presently in position;
Judge the azimuth information whether in pre-configured orientation threshold value;
When it is determined that the azimuth information is in the pre-configured orientation threshold value, judge whether to receive default rapidly entering
The quick instruction of camera mode.
In a preferred embodiment, execution of at least one processor 12 to the multiple instruction is further wrapped
Include:
When the second predetermined registration operation is received, the default battery saving mode is switched back into the camera mode.
Specifically, at least one processor 12 refers to Fig. 1 correspondence implementations to the concrete methods of realizing of above-mentioned instruction
The description of correlation step, will not be described here in example.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the module
Divide, only a kind of division of logic function there can be other dividing mode when actually realizing.
The module that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as module
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of module therein can be according to the actual needs selected to realize the mesh of this embodiment scheme
's.
In addition, during each functional module in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list
Unit can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of software function module to realize.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie
In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be in other specific forms realized.Therefore, no matter
From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power
Profit requires to be limited rather than described above, it is intended that all in the implication and scope of the equivalency of claim by falling
Change is included in the present invention.Any reference in claim should not be considered as the claim involved by limitation.This
Outward, it is clear that " including " word is not excluded for other units or, odd number is not excluded for plural number.The multiple units stated in system claims
Or device can also be realized by a unit or device by software or hardware.The first, the second grade word is used for representing name
Claim, and be not offered as any specific order.
Finally it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, although reference
Preferred embodiment has been described in detail to the present invention, it will be understood by those within the art that, can be to of the invention
Technical scheme is modified or equivalent, without deviating from the spirit and scope of technical solution of the present invention.
Claims (10)
1. a kind of electronic equipment electricity saving method, it is characterised in that methods described includes:
Obtain the distance between the electronic equipment and user value;
Judge the distance value whether less than predeterminable range threshold value;
When it is determined that the distance value is less than the predeterminable range threshold value, phase is rapidly entered when default quick instruction is received
Machine pattern;
Judge whether the first predetermined registration operation is received in Preset Time;
When it is determined that being not received by first predetermined registration operation in the Preset Time, current camera mode is switched to
Default battery saving mode.
2. electronic equipment electricity saving method as claimed in claim 1, it is characterised in that methods described also includes:
When it is determined that receiving first predetermined registration operation in the Preset Time, call corresponding to first predetermined registration operation
Function.
3. electronic equipment electricity saving method as claimed in claim 1, it is characterised in that receive default quick instruction described
When rapidly enter camera mode after, it is described judge whether to receive the first predetermined registration operation in Preset Time before, the side
Method also includes:
One text box of display, to receive Preset Time described in user input.
4. the electronic equipment electricity saving method as described in claims 1 to 3 any one, it is characterised in that described in the determination
Less than after the predeterminable range threshold value, methods described also includes distance value:
Obtain the azimuth information that the electronic equipment is presently in position;
Judge the azimuth information whether in pre-configured orientation threshold value;
When it is determined that the azimuth information is in the pre-configured orientation threshold value, judges whether to receive and default rapidly enter camera
The quick instruction of pattern.
5. the electronic equipment electricity saving method as described in claims 1 to 3 any one, it is characterised in that methods described also includes:
When the second predetermined registration operation is received, the default battery saving mode is switched back into the camera mode.
6. a kind of electronic equipment electricity-saving system, it is characterised in that the system includes:
Acquisition module, for obtaining the distance between the electronic equipment and user value;
First judge module, for judging the distance value whether less than predeterminable range threshold value;
Opening module, for when first judge module determines that the distance value is less than the predeterminable range threshold value, when connecing
Camera mode is rapidly entered when receiving default quick instruction;
Second judge module, for judging whether the first predetermined registration operation is received in Preset Time;
Handover module, for determining that described first is not received by the Preset Time presets when second judge module
During operation, current camera mode is switched into default battery saving mode.
7. electronic equipment electricity-saving system as claimed in claim 6, it is characterised in that the system also includes:
Calling module, for determining to receive first predetermined registration operation in the Preset Time when second judge module
When, call function corresponding with first predetermined registration operation.
8. electronic equipment electricity-saving system as claimed in claim 6, it is characterised in that the system also includes:
Setup module, for showing a text box, to receive Preset Time described in user input.
9. the electronic equipment electricity-saving system as described in claim 6 to 8 any one, it is characterised in that
The acquisition module, is additionally operable to when first judge module determines that the distance value is less than the predeterminable range threshold value
Obtain the azimuth information that the electronic equipment is presently in position;
Whether first judge module, be additionally operable to judge the azimuth information in pre-configured orientation threshold value;
First judge module, is additionally operable to when it is determined that the azimuth information is in the pre-configured orientation threshold value, judge whether
Receive the default quick instruction for rapidly entering camera mode.
10. the electronic equipment electricity-saving system as described in claim 6 to 8 any one, it is characterised in that the handover module is also
For:
When the second predetermined registration operation is received, the default battery saving mode is switched back into the camera mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710044629.XA CN106802711A (en) | 2017-01-19 | 2017-01-19 | Electronic equipment electricity saving method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710044629.XA CN106802711A (en) | 2017-01-19 | 2017-01-19 | Electronic equipment electricity saving method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106802711A true CN106802711A (en) | 2017-06-06 |
Family
ID=58987003
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710044629.XA Pending CN106802711A (en) | 2017-01-19 | 2017-01-19 | Electronic equipment electricity saving method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106802711A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI782125B (en) * | 2017-11-10 | 2022-11-01 | 新加坡商雷蛇(亞太)私人有限公司 | Method, non-transitory computer-readable medium, and apparatus for power management |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103605419A (en) * | 2013-10-29 | 2014-02-26 | 厦门美图网科技有限公司 | Energy saving and protecting method and device for mobile device camera |
CN104714642A (en) * | 2015-03-02 | 2015-06-17 | 惠州Tcl移动通信有限公司 | Mobile terminal and gesture recognition processing method and system thereof |
CN104811554A (en) * | 2015-04-29 | 2015-07-29 | 努比亚技术有限公司 | Method and terminal for switching camera modes |
CN105205377A (en) * | 2015-10-13 | 2015-12-30 | 广东欧珀移动通信有限公司 | Device, method and mobile terminal for preventing mistakenly starting of camera |
CN105827796A (en) * | 2015-07-28 | 2016-08-03 | 维沃移动通信有限公司 | Processing method and device of mobile terminal application |
CN106126015A (en) * | 2016-06-17 | 2016-11-16 | 广东欧珀移动通信有限公司 | A kind of application program launching control method and terminal |
CN106250025A (en) * | 2016-08-04 | 2016-12-21 | 北京奇虎科技有限公司 | The method of camera, device and mobile terminal is called under screen lock state |
-
2017
- 2017-01-19 CN CN201710044629.XA patent/CN106802711A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103605419A (en) * | 2013-10-29 | 2014-02-26 | 厦门美图网科技有限公司 | Energy saving and protecting method and device for mobile device camera |
CN104714642A (en) * | 2015-03-02 | 2015-06-17 | 惠州Tcl移动通信有限公司 | Mobile terminal and gesture recognition processing method and system thereof |
CN104811554A (en) * | 2015-04-29 | 2015-07-29 | 努比亚技术有限公司 | Method and terminal for switching camera modes |
CN105827796A (en) * | 2015-07-28 | 2016-08-03 | 维沃移动通信有限公司 | Processing method and device of mobile terminal application |
CN105205377A (en) * | 2015-10-13 | 2015-12-30 | 广东欧珀移动通信有限公司 | Device, method and mobile terminal for preventing mistakenly starting of camera |
CN106126015A (en) * | 2016-06-17 | 2016-11-16 | 广东欧珀移动通信有限公司 | A kind of application program launching control method and terminal |
CN106250025A (en) * | 2016-08-04 | 2016-12-21 | 北京奇虎科技有限公司 | The method of camera, device and mobile terminal is called under screen lock state |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI782125B (en) * | 2017-11-10 | 2022-11-01 | 新加坡商雷蛇(亞太)私人有限公司 | Method, non-transitory computer-readable medium, and apparatus for power management |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108701495B (en) | Method for integrating and providing data collected from a plurality of devices and electronic device for implementing the method | |
KR102171616B1 (en) | Method and device for preventing incorrect contact of terminal | |
US20220223154A1 (en) | Voice interaction method and apparatus | |
RU2677595C2 (en) | Application interface presentation method and apparatus and electronic device | |
CN104503691B (en) | Apparatus control method, device and intelligent terminal | |
CN104219388B (en) | Sound control method and device | |
RU2636693C2 (en) | Method and device for managing terminal screen state and also electronic device | |
CN107544810B (en) | Method and device for controlling application program | |
KR102114613B1 (en) | Mobile terminal and method for controlling the same | |
CN107544809A (en) | The method and apparatus for showing the page | |
CN106133667A (en) | For managing the system and method for the operator scheme of electronic equipment | |
CN110377195B (en) | Method and device for displaying interaction function | |
EP3136206B1 (en) | Method and apparatus for setting threshold | |
CN110413148B (en) | False touch prevention detection method, device, equipment and storage medium | |
CN106055458A (en) | Charging reminding method, device and mobile device | |
EP4280058A1 (en) | Information display method and electronic device | |
CN109189953A (en) | A kind of selection method and device of multimedia file | |
CN105022955A (en) | Locking method and mobile terminal of application program | |
CN104602275B (en) | Client identification module SIM card switching method and device | |
CN107562356B (en) | Fingerprint identification positioning method and device, storage medium and electronic equipment | |
CN110225180A (en) | A kind of content input method and terminal device | |
CN107340996A (en) | Screen lights method and device | |
CN105933689A (en) | Image processing method and electronic device supporting the same | |
CN109992119A (en) | A kind of display methods of interface of input method, device and equipment | |
CN107203264A (en) | The control method of display pattern, device, electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170606 |
|
RJ01 | Rejection of invention patent application after publication |