CN103870290B - A kind of switching method and equipment - Google Patents
A kind of switching method and equipment Download PDFInfo
- Publication number
- CN103870290B CN103870290B CN201210530592.9A CN201210530592A CN103870290B CN 103870290 B CN103870290 B CN 103870290B CN 201210530592 A CN201210530592 A CN 201210530592A CN 103870290 B CN103870290 B CN 103870290B
- Authority
- CN
- China
- Prior art keywords
- state
- acquisition module
- described image
- image acquisition
- module
- 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.)
- Active
Links
Landscapes
- Studio Devices (AREA)
- Stored Programmes (AREA)
- Telephone Function (AREA)
Abstract
The present invention relates to image processing field, more particularly to a kind of switching method and equipment, the electronic equipment has image capture module, and described image acquisition module has first state and the second state, described image acquisition module also has the third state, and methods described includes:Detect first triggering command;Described image acquisition module is switched to by the third state from first state according to the first triggering command;Detect the second triggering command;Described image acquisition module is switched to by first state from the third state according to second triggering command;Wherein, described image acquisition module switches to time of first state from the third state and is less than the time that described image acquisition module switches to from the second state first state.Method provided by the invention improves the response speed that electronic equipment starts image collecting function, can realize the quick startup of image collecting function, improve Consumer's Experience.
Description
Technical field
The present invention relates to image processing field, more particularly to a kind of switching method and equipment.
Background technology
With the fast development of mobile communication technology and smart mobile phone, the disposal ability of cell phone system is obviously improved, mobile phone
Application it is also increasingly abundanter.Wherein, the image collecting function such as take pictures or image becomes the critical function of mobile phone.With setting about
The development of machine optical sensor, mobile phone shooting quality more and more higher, image-capable are constantly lifted.And how quickly to start
The camera model of mobile phone, with highlight the quick startup of mobile phone and portability feature become one it is important the problem of.
In the prior art, when user wants to use mobile phone photograph, it will usually click on take pictures menu icon or click
Take pictures shortcut, to trigger the startup of camera model, at this moment, system can call camera application program, and carry out electricity on hardware, solid
Part(firmware)Loading, parameter configuration etc. operate, until entering image preview interface.Clicked on from user and take pictures menu to start
Program of taking pictures normally shows stabilization to preview interface, and this process generally wants 2s or so time.And user exits take pictures every time
After program, if it is desired to take pictures, it is necessary to repeat said process, take longer again.Particularly in user in certain time
When inside needing the continuous several times to shoot, said process just seems very cumbersome, response time length, reduces the experience of user.
The content of the invention
In order to solve the above technical problems, the embodiments of the invention provide a kind of switching method and equipment, can quickly start
The image collecting function of electronic equipment, improves system response time.Technical scheme is as follows:
According to the first aspect of the invention, there is provided a kind of switching method, applied to electronic equipment, the electronic equipment tool
There is image capture module, described image acquisition module has first state and the second state, and described image acquisition module also has
The third state, wherein, power consumption of the described image acquisition module under the third state is less than described image acquisition module in institute
The power consumption under first state is stated, more than the power consumption of described image acquisition module in said second condition, methods described includes:
Detect first triggering command;
Described image acquisition module is switched to by the third state from first state according to the first triggering command;
Detect the second triggering command;
Described image acquisition module is switched to by first state from the third state according to second triggering command;
Wherein, described image acquisition module switches to the time of first state less than described image collection mould from the third state
Block switches to the time of first state from the second state.
It is preferred that the mode of operation of the electronic equipment comprises at least the first mode of operation and the second mode of operation, examining
Survey after first triggering command, methods described also includes:
The mode of operation of the electronic equipment is obtained, obtains the first acquisition result;
It is then described that described image acquisition module is switched to by the third state from first state according to the first triggering command
For:
When the described first acquisition result shows that the electronic equipment is in the second mode of operation, according to the described first triggering
Described image acquisition module is switched to the third state by instruction from first state.
It is preferred that methods described also includes:
When the described first acquisition result shows that the electronic equipment is in the first mode of operation, according to the described first triggering
Described image acquisition module is switched to the second state by instruction from first state.
It is preferred that after the second triggering command is detected, methods described also includes:
Obtain the current state of described image acquisition module;
It is then described that described image acquisition module is switched to by first state from the third state according to second triggering command
For:
When the current state for judging described image acquisition module is in the second work for the third state or the electronic equipment
During operation mode, described image acquisition module is switched into first state from the third state.
It is preferred that methods described also includes:
When the current state for judging described image acquisition module is in the first work for the second state or the electronic equipment
During operation mode, described image acquisition module is switched into first state from the second state.
It is preferred that described image acquisition module includes application program loading submodule, firmware loads submodule, parameter configuration
Submodule,
It is then described that described image acquisition module is switched to by the third state from first state according to the first triggering command
Specially:
Application program loading submodule is closed, firmware loads submodule, parameter configuration submodule are arranged to resting state,
Complete switching of the described image acquisition module from first state to the third state.
It is preferred that described image acquisition module includes application program loading submodule, firmware loads submodule, parameter configuration
Submodule,
It is then described that described image acquisition module is switched to by first state from the third state according to second triggering command
Specially:
Start application program loading submodule, firmware loads submodule, parameter configuration submodule are set from resting state
For wake-up states, to complete switching of the described image acquisition module from the third state to first state.
It is preferred that described image acquisition module includes application program loading submodule, firmware loads submodule, parameter configuration
Submodule, then it is described described image acquisition module is switched into the second state from first state to be specially:
Application program loading submodule, firmware loads submodule, parameter configuration submodule are closed, completes described image collection
Module is from first state to the switching of the second state;
It is then described described image acquisition module is switched into first state from the second state to be specially:
Start application program loading submodule, firmware loads submodule, parameter configuration submodule, added with performing application program
Load, firmware loads, parameter configuration operation, complete switching of the described image acquisition module from the second state to first state.
It is preferred that described image acquisition module is being switched to by the 3rd shape from first state according to the first triggering command
After state, methods described also includes:
Start timer, when meeting preset time conditions and being not detected by the second triggering command, by IMAQ mould
Block switches to the second state from the third state.
Image capture module is switched into the second state from the third state it is specially it is preferred that described:
Firmware loads submodule, parameter configuration submodule are switched into closed mode from resting state.
It is preferred that the second triggering command of the detection includes:
Operation is rocked in detection, when it is described rock operation and meet default condition when, the second triggering command of generation, with control figure
As acquisition module is switched to the first working condition.
Second aspect according to embodiments of the present invention, there is provided there is image to adopt for a kind of electronic equipment, the electronic equipment
Collecting module, described image acquisition module has first state and the second state, and described image acquisition module also has the third state,
Wherein, power consumption of the described image acquisition module under the third state is less than described image acquisition module in the first state
Under power consumption, more than the power consumption of described image acquisition module in said second condition, the electronic equipment includes:
First detection module, for detecting first triggering command;
First handover module, for being switched described image acquisition module from first state according to the first triggering command
To the third state;
Second detection module, for detecting the second triggering command;
Second handover module, for being switched described image acquisition module from the third state according to second triggering command
To first state;
Wherein, described image acquisition module switches to the time of first state less than described image collection mould from the third state
Block switches to the time of first state from the second state.
It is preferred that the mode of operation of the electronic equipment comprises at least the first mode of operation and the second mode of operation, it is described
Electronic equipment also includes:
First acquisition module, for obtaining the mode of operation of the electronic equipment, obtain the first acquisition result;;
Then first handover module is specifically used for receiving the first of the first acquisition module and obtains result, obtains when described first
When taking the result to show that the electronic equipment is in the second mode of operation, described image is gathered by mould according to the first triggering command
Block switches to the third state from first state.
It is preferred that first handover module be additionally operable to receive the first acquisition module first obtain result, when described the
When one acquisition result shows that the electronic equipment is in the first mode of operation, described image is adopted according to the first triggering command
Collection module switches to the second state from first state.
It is preferred that the electronic equipment also includes:
Second acquisition module, for obtaining the current state of described image acquisition module;
Then the second handover module is specifically used for the acquisition result for receiving the first acquisition module or the second acquisition module, when sentencing
When the current state of disconnected described image acquisition module is in the second mode of operation for the third state or the electronic equipment, by institute
State image capture module and switch to first state from the third state.
It is preferred that second handover module is additionally operable to receive the acquisition knot of the first acquisition module or the second acquisition module
Fruit, when the current state for judging described image acquisition module is in the first mode of operation for the second state or the electronic equipment
When, described image acquisition module is switched into first state from the second state.
It is preferred that described image acquisition module includes application program loading submodule, firmware loads submodule, parameter configuration
Submodule,
Then the first handover module is specifically used for closing application program loading submodule, and firmware loads submodule, parameter are matched somebody with somebody
Put submodule and be arranged to resting state, complete switching of the described image acquisition module from first state to the third state.
It is preferred that described image acquisition module includes application program loading submodule, firmware loads submodule, parameter configuration
Submodule,
Then second handover module is specifically used for starting application program loading submodule, by firmware loads submodule, ginseng
Number configuration submodule is arranged to wake-up states from resting state, to complete described image acquisition module from the third state to the first shape
The switching of state.
It is preferred that described image acquisition module includes application program loading submodule, firmware loads submodule, parameter configuration
Submodule, then first handover module be specifically additionally operable to receive the first acquisition module first obtain result, when described first
When acquisition result shows that the electronic equipment is in the first mode of operation, application program loading submodule, firmware loads are closed
Module, parameter configuration submodule, described image acquisition module is completed from first state to the switching of the second state;
Then second handover module is specifically additionally operable to receive the acquisition knot of the first acquisition module or the second acquisition module
Fruit, when the current state for judging described image acquisition module is in the first mode of operation for the second state or the electronic equipment
When, start application program loading submodule, firmware loads submodule, parameter configuration submodule, loaded with performing application program, be solid
Part loading, parameter configuration operation, complete switching of the described image acquisition module from the second state to first state.
It is preferred that the electronic equipment also includes:
Timer, for after first state switches to the third state, image capture module to be started into clocking capability;
3rd handover module, for when meeting preset time conditions and being not detected by the second triggering command, by image
Acquisition module switches to the second state from the third state.
It is preferred that the 3rd handover module is specifically used for firmware loads submodule, parameter configuration submodule from dormancy
State switches to closed mode.
It is preferred that the electronic equipment also includes angular-rate sensor and acceleration transducer, then described second mould is detected
Block is specifically used for rocking operation using the angular-rate sensor and acceleration transducer detection, and operation satisfaction is rocked in advance when described
If condition when, generate the second triggering command, to control image capture module to be switched to the first working condition.
The one side of the embodiment of the present invention has the beneficial effect that:In embodiments of the present invention, electronic equipment has image
Acquisition module, described image acquisition module have first state, the second state and the third state, wherein, described image collection mould
The power consumption of block in a third condition is less than the power consumption of described image acquisition module in the first state, and mould is gathered more than described image
The power consumption of block in the second condition.When receiving the instruction for closing image capture module, it is different from image in the prior art
Acquisition module switches to the processing of the second state from first state, and the present invention will switch to image capture module from first state
The third state.When receiving the second triggering command, image capture module is switched into first state from the third state.Due to figure
As acquisition module from the third state switches to time of first state much smaller than the time that first state is switched to from the second state,
Therefore the response speed that electronic equipment starts image collecting function is improved, the quick startup of image collecting function can be realized,
Improve Consumer's Experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments described in invention, for those of ordinary skill in the art, on the premise of not paying creative work,
Other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is switching method first embodiment schematic diagram provided in an embodiment of the present invention;
Fig. 2 is switching method second embodiment schematic diagram provided in an embodiment of the present invention;
Fig. 3 is switching method 3rd embodiment schematic diagram provided in an embodiment of the present invention;
Fig. 4 is the embodiment schematic diagram of electronic equipment one provided in an embodiment of the present invention.
Embodiment
The embodiments of the invention provide a kind of switching method and equipment, it can quickly start the IMAQ work(of electronic equipment
Can, improve system response time.
In order that those skilled in the art more fully understand the technical scheme in the present invention, below in conjunction with of the invention real
The accompanying drawing in example is applied, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described implementation
Example only part of the embodiment of the present invention, rather than whole embodiments.It is common based on the embodiment in the present invention, this area
The every other embodiment that technical staff is obtained under the premise of creative work is not made, should all belong to protection of the present invention
Scope.
It is switching method first embodiment flow chart provided by the invention referring to Fig. 1.
The switching method that first embodiment of the invention provides, applied to electronic equipment, there is the electronic equipment image to adopt
Collect module.The electronic equipment, which is specifically as follows similar mobile phone, camera, PAD etc., has camera model(Image capture module)'s
Electronic equipment.Wherein, described image acquisition module has first state and the second state, especially, described image acquisition module
Also there is the third state, wherein, the power consumption of described image acquisition module in a third condition exists less than described image acquisition module
Power consumption under first state, more than the power consumption of described image acquisition module in the second condition.
Methods described includes:
S101, detect first triggering command.
When electronic equipment be in screening-mode or in shooting standby mode when, image capture module is in the first shape
State.During specific implementation, first state is normal operating conditions.At this moment, detection user sets to the electronics with image capture module
The first standby operation, obtains first triggering command.Wherein, the first triggering command is used to cause electronic equipment to exit shooting mould
Formula is converted to from shooting standby mode and exits screening-mode.During specific implementation, first triggering command is that user closes image
Control instruction corresponding to acquisition module or the operation performed when exiting screening-mode.
S102, described image acquisition module is switched to by the third state from first state according to the first triggering command.
When detecting first triggering command, image capture module is switched into the third state from first state.In this hair
In bright embodiment, image capture module is in addition to first state and the second state, also with the third state.Described image is adopted
The power consumption of collection module in a third condition is less than the power consumption of described image acquisition module in the first state, is adopted more than described image
Collect the power consumption of module in the second condition.
S103, detect the second triggering command.
During specific implementation, second operation of the detection user to the electronic equipment with image capture module, obtain second and touch
Send instructions.Wherein, second triggering command is used to electronic equipment entering screening-mode or enters shooting standby mode.Tool
When body is realized, the second triggering command is that user opens image capture module or entered corresponding to the operation performed during screening-mode
Control instruction.
S104, described image acquisition module is switched to by first state from the third state according to second triggering command.
When detecting the second triggering command, image capture module is switched into the third state from first state.Wherein, institute
State image capture module and switch to time of first state from the third state and cut less than described image acquisition module from the second state
Shift to the time of first state.
In the first embodiment of the invention, electronic equipment has an image capture module, and described image acquisition module has the
One state, the second state and the third state, wherein, the power consumption of image capture module in a third condition gathers less than described image
The power consumption of module in the first state, more than the power consumption of described image acquisition module in the second condition.When receiving closing figure
As acquisition module instruction when, be different from and in the prior art switch to image capture module at the second state from first state
Image capture module will be switched to the third state by reason, the present invention from first state.When receiving the second triggering command, will scheme
As acquisition module from the third state switches to first state.Because image capture module from the third state switches to first state
Time is much smaller than the time that first state is switched to from the second state, therefore improves electronic equipment and start image collecting function
Response speed, the quick startup of image collecting function can be realized, improves Consumer's Experience.
It is switching method first embodiment flow chart provided by the invention referring to Fig. 2.
In second embodiment of the invention, the mode of operation of electronic equipment comprises at least the first mode of operation and the second work
Pattern.
S201, detect first triggering command.
First operation of the user to the electronic equipment with image capture module is detected, obtains first triggering command.Wherein,
The first triggering command is used to cause electronic equipment exits screening-mode or is converted to from shooting standby mode to exit shooting
Pattern.During specific implementation, first triggering command is that user closes image capture module or exits the behaviour performed during screening-mode
Control instruction corresponding to work.
S202, the mode of operation of the electronic equipment is obtained, obtain the first acquisition result.When the described first acquisition result table
When bright first electronic equipment is in the first mode of operation, into step S203;Described in showing when the described first acquisition result
When first electronic equipment is in the second mode of operation, into step S204.
In second embodiment of the invention, electronic equipment has at least two mode of operations, is the first mode of operation respectively
With the second mode of operation.When electronic equipment is in the first mode of operation, the image capture module of electronic equipment at least has two
Kind state, including first state and the second state.Wherein, the image capture module of electronic equipment is more than in the power consumption of first state
Power consumption of the described image acquisition module in the second state.When electronic equipment is in the second mode of operation, the image of electronic equipment
Acquisition module at least has three kinds of states, including first state, the second state and the third state.Wherein, image capture module exists
Power consumption under the third state is less than the power consumption of described image acquisition module in the first state, exists more than described image acquisition module
Power consumption under second state.During concrete application, the first state of the image capture module of electronic equipment is wake-up or normal work
State, the second state of image capture module is closed mode, and the third state of image capture module is holding state.
When user applies the electronic equipment with image capture module to take pictures or image, when user is needed in a timing
, can be by setting mode of operation either to click on button or the execution of relative users operation interface during interior continuous several times shooting
The mode of default trigger action, the second mode of operation is arranged in by electronic equipment.When user usually operates or not short
During the demand continuously taken pictures in the time, electronic equipment can be arranged to the first mode of operation as needed.Especially, system or
First mode of operation or the second mode of operation can be arranged to default mode of operation by person user with self-defined.Electronic equipment provides
Such application, electronic equipment can be conveniently realized and switched between the first mode of operation and the second mode of operation.
S203, described image acquisition module is switched to by the second state from first state according to the first triggering command.
When the first acquisition result shows that the electronic equipment is in the second mode of operation, according to the first triggering command
Described image acquisition module is switched into the third state from first state.
During specific implementation, the image capture module of electronic equipment includes application program loading submodule, firmware loads submodule
Block, parameter configuration submodule, wherein, described image acquisition module is switched to from first state according to the first triggering command
Third state specific implementation is:Application program loading submodule is closed, by firmware loads submodule, parameter configuration submodule
Resting state is arranged to, completes switching of the described image acquisition module from first state to the third state.Due in the prior art,
If when receiving user's closing image capture module or exiting the first triggering command of screening-mode, directly image is adopted
Collect module to close, specific perform closes application program loading submodule, firmware(Firmware)Load submodule, parameter configuration
During the operation of module, when user needs to be again started up the image collecting function of image capture module, then need to start and apply journey
Sequence loads, and re-powers loading firmware loading submodule, carries out parameter configuration using parameter configuration submodule, said process is at least
2S or so time is needed, adds the stand-by period of user, it is impossible to realizes the quick startup of image capture module.And at this
In invention, when receiving closing image capture module or exiting the first triggering command of screening-mode, then by IMAQ
Module is converted to standby resting state, and firmware loads submodule, parameter configuration submodule are arranged into resting state.So, when
Electricity reloads when user needs to be again started up the image collecting function of image capture module, on wireless progress firmware matches somebody with somebody with parameter
Put, significantly reduce the time for starting image capture module during configuration again, improve toggle speed, meet the candid photograph of user
Demand.
S204, described image acquisition module is switched to by the third state from first state according to the first triggering command.
When the described first acquisition result shows that the electronic equipment is in the first mode of operation, according to the described first triggering
Described image acquisition module is switched to the second state by instruction from first state.During specific implementation, referred to according to the described first triggering
Described image acquisition module is switched to the second state from first state and is specially by order:Close application program loading submodule, consolidate
Part loading submodule, parameter configuration submodule, complete described image acquisition module from first state to the switching of the second state.
S205, detect the second triggering command.
Second operation of the user to the electronic equipment with image capture module is detected, obtains the second triggering command.Wherein,
Second triggering command is used to electronic equipment entering screening-mode or enters shooting standby mode.During specific implementation, the
Two triggering commands are that user opens image capture module or enters control instruction corresponding to the operation performed during screening-mode.
It is preferred that the electronic equipment also includes angular-rate sensor and acceleration transducer, the second triggering command is detected
Concrete implementation mode is:Operation is rocked in detection, when it is described rock operation and meet default condition when, generation second, which triggers, to be referred to
Order, to control image capture module to be switched to the first working condition.The angular-rate sensor is specifically as follows gyroscope.Example
Such as, the angular speed and motion state of the gyroscope and acceleration transducer detection electronic equipment in electronic equipment can be coordinated, can
To set electronic equipment then to generate the second triggering command when vertical direction is rocked and enters transverse horizontal direction.So can be with
Realization is rapidly shot again.
S206, when electronic equipment is in the first mode of operation, described image is gathered according to second triggering command
Module switches to first state from the second state.
It is described described image acquisition module is switched into first state from the second state to be specially during specific implementation:Start
Application program loading submodule, firmware loads submodule, parameter configuration submodule, with perform application program loading, firmware loads,
Parameter configuration operates, and completes switching of the described image acquisition module from the second state to first state.
S207, when electronic equipment is in the second mode of operation, described image is gathered according to second triggering command
Module switches to first state from the third state.
Wherein, described image acquisition module switches to the time of first state less than described image collection mould from the third state
Block switches to the time of first state from the second state.
It is described to be switched to described image acquisition module from the third state according to second triggering command during specific implementation
First state is specially:Start application program loading submodule, by firmware loads submodule, parameter configuration submodule from dormancy shape
State is arranged to wake-up states, to complete switching of the described image acquisition module from the third state to first state.Due to without weight
It is new to carry out electricity loading on firmware, parameter configuration operation, substantially increase the toggle speed of image capture module.
It is switching method 3rd embodiment flow chart provided by the invention referring to Fig. 3.
In third embodiment of the invention, the mode of operation of electronic equipment comprises at least the first mode of operation and the second work
Pattern.
S301, detect first triggering command.
First operation of the user to the electronic equipment with image capture module is detected, obtains first triggering command.Wherein,
The first triggering command is used to cause electronic equipment exits screening-mode or is converted to from shooting standby mode to exit shooting
Pattern.During specific implementation, first triggering command is that user closes image capture module or exits the behaviour performed during screening-mode
Control instruction corresponding to work.
S302, the mode of operation of the electronic equipment is obtained, obtain the first acquisition result.When the described first acquisition result table
When bright first electronic equipment is in the first mode of operation, into step S303;Described in showing when the described first acquisition result
When first electronic equipment is in the second mode of operation, into step S304.
In second embodiment of the invention, electronic equipment has at least two mode of operations, is the first mode of operation respectively
With the second mode of operation.When electronic equipment is in the first mode of operation, the image capture module of electronic equipment at least has two
Kind state, including first state and the second state.Wherein, the image capture module of electronic equipment is more than in the power consumption of first state
Power consumption of the described image acquisition module in the second state.When electronic equipment is in the second mode of operation, the image of electronic equipment
Acquisition module at least has three kinds of states, including first state, the second state and the third state.
S303, described image acquisition module is switched to by the second state from first state according to the first triggering command.
When the first acquisition result shows that the electronic equipment is in the second mode of operation, according to the first triggering command
Described image acquisition module is switched into the third state from first state.
During specific implementation, the image capture module of electronic equipment includes application program loading submodule, firmware loads submodule
Block, parameter configuration submodule, wherein, described image acquisition module is switched to from first state according to the first triggering command
Third state specific implementation is:Application program loading submodule is closed, by firmware loads submodule, parameter configuration submodule
Resting state is arranged to, completes switching of the described image acquisition module from first state to the third state.
S304, described image acquisition module is switched to by the third state from first state according to the first triggering command.
When the described first acquisition result shows that the electronic equipment is in the first mode of operation, according to the described first triggering
Described image acquisition module is switched to the second state by instruction from first state.During specific implementation, referred to according to the described first triggering
Described image acquisition module is switched to the second state from first state and is specially by order:Close application program loading submodule, consolidate
Part loading submodule, parameter configuration submodule, complete described image acquisition module from first state to the switching of the second state.
It is preferred that in third embodiment of the invention, according to the first triggering command by described image acquisition module
After first state switches to the third state, method provided by the invention can further include:
S305, start timer, when meeting preset time conditions and being not detected by the second triggering command, image is adopted
Collection module switches to the second state from the third state.
In third embodiment of the invention, when electronic equipment is in the second mode of operation, when the bat by electronic equipment
After opening image capture module according to menu or shortcut of taking pictures or enter screening-mode, after user completes to take pictures, it is desirable to clap
During according to screening-mode, image capture module does not close firmware loads submodule and parameter configuration submodule at once, but will figure
As acquisition module is arranged to the third state, i.e. dormancy wait state, specifically, by firmware loads submodule and parameter configuration submodule
Block is arranged to resting state.Meanwhile system starts timer.Refer to when meeting preset time conditions and be not detected by the second triggering
When making, image capture module is switched into the second state from the third state, specifically, by firmware loads submodule, parameter configuration
Submodule switches to closed mode from resting state.So, image capture module can be substantially reduced and be in dormancy wait state
Under power consumption.The specific preset time can set as needed, such as 10 minutes, 20 minutes or 30 minutes etc., the present invention
To this without limiting.
S306, detect the second triggering command.
Second operation of the user to the electronic equipment with image capture module is detected, obtains the second triggering command.Wherein,
Second triggering command is used to electronic equipment entering screening-mode or enters shooting standby mode.During specific implementation, the
Two triggering commands are that user opens image capture module or enters control instruction corresponding to the operation performed during screening-mode.
S307, obtain the current state of described image acquisition module.
When image capture module is currently at the second state, into step S308;When the current shape of image capture module
When state is the third state, into step S309.
S308, when the current state for judging described image acquisition module is the second state, referred to according to the described second triggering
Described image acquisition module is switched to first state by order from the second state.
It is described described image acquisition module is switched into first state from the second state to be specially during specific implementation:Start
Application program loading submodule, firmware loads submodule, parameter configuration submodule, with perform application program loading, firmware loads,
Parameter configuration operates, and completes switching of the described image acquisition module from the second state to first state.
S309, when the current state for judging described image acquisition module is the third state, referred to according to the described first triggering
Described image acquisition module is switched to first state by order from the third state.
Wherein, described image acquisition module switches to the time of first state less than described image collection mould from the third state
Block switches to the time of first state from the second state.
It is described to be switched to described image acquisition module from the third state according to second triggering command during specific implementation
First state is specially:Start application program loading submodule, by firmware loads submodule, parameter configuration submodule from dormancy shape
State is arranged to wake-up states, to complete switching of the described image acquisition module from the third state to first state.Due to without weight
It is new to carry out electricity loading on firmware, parameter configuration operation, substantially increase the toggle speed of image capture module.
It is electronic equipment schematic diagram provided in an embodiment of the present invention referring to Fig. 4.
The electronic equipment has image capture module(Not shown in figure), described image acquisition module has first state
With the second state, described image acquisition module also has the third state, wherein, described image acquisition module is in the third state
Under power consumption be less than the power consumption of described image acquisition module in said first condition, more than described image acquisition module described
Power consumption under second state, the electronic equipment include:
First detection module 401, for detecting first triggering command.
First handover module 402, for according to the first triggering command by described image acquisition module from first state
Switch to the third state.
Second detection module 403, for detecting the second triggering command.
Second handover module 404, for according to second triggering command by described image acquisition module from the third state
Switch to first state.
Wherein, described image acquisition module switches to the time of first state less than described image collection mould from the third state
Block switches to the time of first state from the second state.
Preferably, the mode of operation of the electronic equipment comprises at least the first mode of operation and the second mode of operation, described
Electronic equipment also includes:
First acquisition module, for obtaining the mode of operation of the electronic equipment, obtain the first acquisition result;;
Then first handover module is specifically used for receiving the first of the first acquisition module and obtains result, obtains when described first
When taking the result to show that the electronic equipment is in the second mode of operation, described image is gathered by mould according to the first triggering command
Block switches to the third state from first state.
Preferably, first handover module is additionally operable to receive the first of the first acquisition module and obtains result, when described the
When one acquisition result shows that the electronic equipment is in the first mode of operation, described image is adopted according to the first triggering command
Collection module switches to the second state from first state.
Preferably, the electronic equipment also includes:
Second acquisition module, for obtaining the current state of described image acquisition module;
Then the second handover module is specifically used for the acquisition result for receiving the first acquisition module or the second acquisition module, when sentencing
When the current state of disconnected described image acquisition module is in the second mode of operation for the third state or the electronic equipment, by institute
State image capture module and switch to first state from the third state.
Preferably, second handover module is additionally operable to receive the acquisition knot of the first acquisition module or the second acquisition module
Fruit, when the current state for judging described image acquisition module is in the first mode of operation for the second state or the electronic equipment
When, described image acquisition module is switched into first state from the second state.
Preferably, described image acquisition module includes application program loading submodule, firmware loads submodule, parameter configuration
Submodule, then the first handover module is specifically for closing application program loading submodule, by firmware loads submodule, parameter configuration
Submodule is arranged to resting state, completes switching of the described image acquisition module from first state to the third state.
Preferably, described image acquisition module includes application program loading submodule, firmware loads submodule, parameter configuration
Submodule, then second handover module is specifically for starting application program loading submodule, by firmware loads submodule, parameter
Configuration submodule is arranged to wake-up states from resting state, to complete described image acquisition module from the third state to first state
Switching.
Preferably, described image acquisition module includes application program loading submodule, firmware loads submodule, parameter configuration
Submodule, then first handover module be specifically additionally operable to receive the first acquisition module first obtain result, when described first
When acquisition result shows that the electronic equipment is in the first mode of operation, application program loading submodule, firmware loads are closed
Module, parameter configuration submodule, described image acquisition module is completed from first state to the switching of the second state;
Then second handover module is specifically additionally operable to receive the acquisition knot of the first acquisition module or the second acquisition module
Fruit, when the current state for judging described image acquisition module is in the first mode of operation for the second state or the electronic equipment
When, start application program loading submodule, firmware loads submodule, parameter configuration submodule, loaded with performing application program, be solid
Part loading, parameter configuration operation, complete switching of the described image acquisition module from the second state to first state.
Preferably, the electronic equipment also includes:
Timer, for after first state switches to the third state, image capture module to be started into clocking capability;
3rd handover module, for when meeting preset time conditions and being not detected by the second triggering command, by image
Acquisition module switches to the second state from the third state.
Preferably, the 3rd handover module is specifically used for firmware loads submodule, parameter configuration submodule from dormancy
State switches to closed mode.
Preferably, the electronic equipment also includes angular-rate sensor and acceleration transducer, then the second detection mould
Block is specifically used for rocking operation using the angular-rate sensor and acceleration transducer detection, and operation satisfaction is rocked in advance when described
If condition when, generate the second triggering command, to control image capture module to be switched to the first working condition.The angular speed passes
Sensor is specifically as follows gyroscope.For example, gyroscope in electronic equipment and acceleration transducer detection electronics can be coordinated to set
Standby angular speed and motion state, electronic equipment can be set then to be given birth to when vertical direction is rocked and enters transverse horizontal direction
Into the second triggering command.It can so realize and rapidly shoot again.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation
In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Nonexcludability includes, so that process, method, article or equipment including a series of elements not only will including those
Element, but also the other element including being not expressly set out, or it is this process, method, article or equipment also to include
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that
Other identical element also be present in process, method, article or equipment including the key element.
The present invention can be described in the general context of computer executable instructions, such as program
Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type
Part, data structure etc..The present invention can also be put into practice in a distributed computing environment, in these DCEs, by
Task is performed and connected remote processing devices by communication network.In a distributed computing environment, program module can be with
In the local and remote computer-readable storage medium including storage device.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for device
For applying example, because it is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to embodiment of the method
Part explanation.Device embodiment described above is only schematical, wherein described be used as separating component explanation
Module can be or may not be physically separate, can be as the part that module is shown or may not be
Physical module, you can with positioned at a place, or can also be distributed on multiple mixed-media network modules mixed-medias.Can be according to the actual needs
Some or all of module therein is selected to realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying
In the case of creative work, you can to understand and implement.
Described above is only the embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (18)
1. a kind of switching method, applied to electronic equipment, the electronic equipment has image capture module, described image collection mould
Block has first state and the second state, it is characterised in that and described image acquisition module also has the third state, wherein, it is described
Power consumption of the image capture module under the third state is less than the power consumption of described image acquisition module in said first condition,
More than the power consumption of described image acquisition module in said second condition, methods described includes:
Detect first triggering command;
Described image acquisition module is switched to by the third state from first state according to the first triggering command;
Detect the second triggering command;
Described image acquisition module is switched to by first state from the third state according to second triggering command;
Wherein, described image acquisition module from the third state switch to first state time be less than described image acquisition module from
Second state switches to the time of first state;
Wherein, described image acquisition module includes application program loading submodule, firmware loads submodule, parameter configuration submodule
Block,
It is described described image acquisition module is switched to from first state by the third state according to the first triggering command to be specially:
Application program loading submodule is closed, firmware loads submodule, parameter configuration submodule are arranged to resting state, completed
Switching of the described image acquisition module from first state to the third state;
It is described described image acquisition module is switched to from the third state by first state according to second triggering command to be specially:
Start application program loading submodule, firmware loads submodule, parameter configuration submodule are arranged to call out from resting state
The state of waking up, to complete switching of the described image acquisition module from the third state to first state.
2. according to the method for claim 1, it is characterised in that the mode of operation of the electronic equipment comprises at least the first work
Operation mode and the second mode of operation, after first triggering command is detected, methods described also includes:
The mode of operation of the electronic equipment is obtained, obtains the first acquisition result;
It is then described described image acquisition module is switched to from first state by the third state according to the first triggering command to be:
When the described first acquisition result shows that the electronic equipment is in the second mode of operation, according to the first triggering command
Described image acquisition module is switched into the third state from first state.
3. according to the method for claim 2, it is characterised in that methods described also includes:
When the described first acquisition result shows that the electronic equipment is in the first mode of operation, according to the first triggering command
Described image acquisition module is switched into the second state from first state.
4. method according to claim 1 or 2, it is characterised in that after the second triggering command is detected, methods described is also
Including:
Obtain the current state of described image acquisition module;
It is then described described image acquisition module is switched to from the third state by first state according to second triggering command to be:
When the current state for judging described image acquisition module is in the second Working mould for the third state or the electronic equipment
During formula, described image acquisition module is switched into first state from the third state.
5. according to the method for claim 4, it is characterised in that methods described also includes:
When the current state for judging described image acquisition module is in the first Working mould for the second state or the electronic equipment
During formula, described image acquisition module is switched into first state from the second state.
6. according to the method for claim 3, it is characterised in that described image acquisition module is switched to the from first state
Two-state is specially:
Application program loading submodule, firmware loads submodule, parameter configuration submodule are closed, completes described image acquisition module
From first state to the switching of the second state;
Described image acquisition module then is switched into first state from the second state is specially:
Start application program loading submodule, firmware loads submodule, parameter configuration submodule, loaded with performing application program,
Firmware loads, parameter configuration operation, complete switching of the described image acquisition module from the second state to first state.
7. according to the method for claim 1, it is characterised in that gather described image according to the first triggering command
After first state switches to the third state, methods described also includes module:
Start timer, when meeting preset time conditions and being not detected by the second triggering command, by image capture module from
The third state switches to the second state.
8. according to the method for claim 7, it is characterised in that image capture module is switched into the second shape from the third state
State is specially:
Firmware loads submodule, parameter configuration submodule are switched into closed mode from resting state.
9. according to the method for claim 1, it is characterised in that the second triggering command of the detection includes:
Operation is rocked in detection, when it is described rock operation and meet default condition when, the second triggering command of generation, to control image to adopt
Collection module is switched to the first working condition.
10. a kind of electronic equipment, the electronic equipment has image capture module, and described image acquisition module has first state
With the second state, it is characterised in that described image acquisition module also has the third state, wherein, described image acquisition module exists
Power consumption under the third state is less than the power consumption of described image acquisition module in said first condition, is adopted more than described image
Collect the power consumption of module in said second condition, the electronic equipment includes:
First detection module, for detecting first triggering command;
First handover module, for described image acquisition module to be switched into from first state according to the first triggering command
Three condition;
Second detection module, for detecting the second triggering command;
Second handover module, for described image acquisition module to be switched into from the third state according to second triggering command
One state;
Wherein, described image acquisition module from the third state switch to first state time be less than described image acquisition module from
Second state switches to the time of first state;
Described image acquisition module includes application program loading submodule, firmware loads submodule, parameter configuration submodule;
First handover module is specifically used for closing application program loading submodule, by firmware loads submodule, parameter configuration submodule
Block is arranged to resting state, completes switching of the described image acquisition module from first state to the third state;
Second handover module is specifically used for starting application program loading submodule, by firmware loads submodule, parameter configuration
Submodule is arranged to wake-up states from resting state, to complete described image acquisition module cutting from the third state to first state
Change.
11. electronic equipment according to claim 10, it is characterised in that the mode of operation of the electronic equipment comprises at least
First mode of operation and the second mode of operation, the electronic equipment also include:
First acquisition module, for obtaining the mode of operation of the electronic equipment, obtain the first acquisition result;
Then first handover module is specifically used for the first acquisition result for receiving the first acquisition module, when the described first acquisition knot
When fruit shows that the electronic equipment is in the second mode of operation, according to the first triggering command by described image acquisition module from
First state switches to the third state.
12. electronic equipment according to claim 11, it is characterised in that first handover module is additionally operable to reception first
The first of acquisition module obtains result, when the described first acquisition result shows that the electronic equipment is in the first mode of operation,
Described image acquisition module is switched to by the second state from first state according to the first triggering command.
13. the electronic equipment according to claim 10 or 11, it is characterised in that the electronic equipment also includes:
Second acquisition module, for obtaining the current state of described image acquisition module;
Then the second handover module is specifically used for the acquisition result for receiving the first acquisition module or the second acquisition module, when judging
When stating the current state of image capture module and being in the second mode of operation for the third state or the electronic equipment, by the figure
As acquisition module from the third state switches to first state.
14. electronic equipment according to claim 12, it is characterised in that second handover module is additionally operable to reception first
The acquisition result of acquisition module or the second acquisition module, when the current state for judging described image acquisition module is the second state
Or described image acquisition module is switched to the first shape when being in the first mode of operation by the electronic equipment from the second state
State.
15. the electronic equipment according to claim 10 or 12, it is characterised in that then first handover module is specifically also used
Result is obtained in receive the first acquisition module first, when the described first acquisition result shows that the electronic equipment is in the first work
During operation mode, application program loading submodule, firmware loads submodule, parameter configuration submodule are closed, described image is completed and adopts
Collect module from first state to the switching of the second state;
Then second handover module is specifically additionally operable to receive the acquisition result of the first acquisition module or the second acquisition module, when
When judging that the current state of described image acquisition module is in the first mode of operation for the second state or the electronic equipment, open
Dynamic application program loading submodule, firmware loads submodule, parameter configuration submodule, to perform application program loading, firmware adds
Carry, parameter configuration operation, complete switching of the described image acquisition module from the second state to first state.
16. electronic equipment according to claim 10, it is characterised in that the electronic equipment also includes:
Timer, for after first state switches to the third state, image capture module to be started into clocking capability;
3rd handover module, for when meeting preset time conditions and being not detected by the second triggering command, by IMAQ
Module switches to the second state from the third state.
17. electronic equipment according to claim 16, it is characterised in that the 3rd handover module is specifically used for firmware
Loading submodule, parameter configuration submodule switch to closed mode from resting state.
18. electronic equipment according to claim 10, it is characterised in that the electronic equipment also includes angular-rate sensor
And acceleration transducer, then second detection module using the angular-rate sensor and acceleration transducer specifically for being examined
Operation is rocked in survey, when it is described rock operation and meet default condition when, the second triggering command is generated, to control image capture module
It is switched to the first working condition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210530592.9A CN103870290B (en) | 2012-12-10 | 2012-12-10 | A kind of switching method and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210530592.9A CN103870290B (en) | 2012-12-10 | 2012-12-10 | A kind of switching method and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103870290A CN103870290A (en) | 2014-06-18 |
CN103870290B true CN103870290B (en) | 2017-11-28 |
Family
ID=50908859
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210530592.9A Active CN103870290B (en) | 2012-12-10 | 2012-12-10 | A kind of switching method and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103870290B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104331149B (en) * | 2014-09-29 | 2018-08-10 | 联想(北京)有限公司 | A kind of control method, device and electronic equipment |
CN104572204B (en) * | 2015-01-09 | 2018-05-22 | 青岛海信移动通信技术股份有限公司 | A kind of generation method of image information, device and electronic equipment |
CN108989668A (en) * | 2018-06-29 | 2018-12-11 | 维沃移动通信有限公司 | A kind of working method and mobile terminal of camera |
CN109388440B (en) * | 2018-09-30 | 2020-09-29 | 维沃移动通信(杭州)有限公司 | Application program starting method and terminal equipment |
CN111158775B (en) * | 2019-12-30 | 2021-09-14 | 联想(北京)有限公司 | Processing method and electronic device |
CN115348387A (en) * | 2022-07-26 | 2022-11-15 | 瑞芯微电子股份有限公司 | Method and electronic device for acquiring image |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1812500A (en) * | 2005-10-19 | 2006-08-02 | 佛山普立华科技有限公司 | Immediate saving power and photographing method and apparatus for digital photographic products |
CN102508560A (en) * | 2011-10-28 | 2012-06-20 | 优视科技有限公司 | Application program switching method and device based on mobile terminal |
CN102594984A (en) * | 2012-02-06 | 2012-07-18 | 深圳桑菲消费通信有限公司 | Mobile terminal, and system and method for quickly photographing mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5509817B2 (en) * | 2008-12-25 | 2014-06-04 | リコーイメージング株式会社 | Imaging device |
-
2012
- 2012-12-10 CN CN201210530592.9A patent/CN103870290B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1812500A (en) * | 2005-10-19 | 2006-08-02 | 佛山普立华科技有限公司 | Immediate saving power and photographing method and apparatus for digital photographic products |
CN102508560A (en) * | 2011-10-28 | 2012-06-20 | 优视科技有限公司 | Application program switching method and device based on mobile terminal |
CN102594984A (en) * | 2012-02-06 | 2012-07-18 | 深圳桑菲消费通信有限公司 | Mobile terminal, and system and method for quickly photographing mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN103870290A (en) | 2014-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103870290B (en) | A kind of switching method and equipment | |
CN105306709B (en) | Control method, device and the mobile terminal of mobile terminal | |
CN103473011B (en) | A kind of mobile terminal performance detection method, device and mobile terminal | |
CN103713829B (en) | System switching method, device and electronic equipment | |
CN108924290A (en) | Camera control method, device, mobile terminal and computer-readable medium | |
CN109597556A (en) | A kind of screenshotss method and terminal | |
CN103870356A (en) | Information processing method and electronic equipment | |
CN110231897A (en) | A kind of object processing method and terminal device | |
CN110007835A (en) | A kind of method for managing object and mobile terminal | |
CN107832601A (en) | A kind of application control method and mobile terminal | |
CN104063035B (en) | A kind of mobile terminal photographic method and system for simulating portable camera | |
CN103105922A (en) | Method and device for mobile terminal backlight control | |
CN106371938B (en) | Smart delays auto shutdown system and its method | |
CN103116464B (en) | A kind of touch panel device and enter the method for exposal model fast | |
CN105573372A (en) | Control method and apparatus of intelligent terminal | |
CN109755997A (en) | A kind of charging method and terminal device | |
CN103024200A (en) | Shooting method and device applied to intelligent terminals | |
CN109683768A (en) | A kind of operating method and mobile terminal of application | |
CN105910620A (en) | Step counting data processing method and apparatus thereof | |
CN110531907A (en) | A kind of picture editing method and terminal device | |
CN107371214B (en) | Control method, device, storage medium and the terminal of terminal | |
CN109286720A (en) | A kind of the main screen selection method and device of multi-screen mobile terminal | |
CN109085962A (en) | A kind of display control method and terminal | |
CN109491741A (en) | A kind of method and terminal switching background skin | |
CN104902175B (en) | A kind of photographic method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |