CN103870290A - Switching method and device - Google Patents

Switching method and device Download PDF

Info

Publication number
CN103870290A
CN103870290A CN201210530592.9A CN201210530592A CN103870290A CN 103870290 A CN103870290 A CN 103870290A CN 201210530592 A CN201210530592 A CN 201210530592A CN 103870290 A CN103870290 A CN 103870290A
Authority
CN
China
Prior art keywords
state
image capture
capture module
described image
submodule
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210530592.9A
Other languages
Chinese (zh)
Other versions
CN103870290B (en
Inventor
高呈国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210530592.9A priority Critical patent/CN103870290B/en
Publication of CN103870290A publication Critical patent/CN103870290A/en
Application granted granted Critical
Publication of CN103870290B publication Critical patent/CN103870290B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Stored Programmes (AREA)
  • Telephone Function (AREA)

Abstract

The invention relates to the field of image processing, particularly to a switching method and device. The electronic switching device comprises an image collecting module, and the image collecting module can be in a first state, a second state or a third state. The method comprises detecting a first trigger instruction; switching the image collecting module from the first state to the third state; detecting a second trigger instruction; switching the image collecting module from the third state to the first state according to the second trigger instruction. The switching time of the image collecting module from the third state to the first state is shorter than that of the imaging collecting module from the second state to the first state. The switching method improves the response speed of the electronic device for starting the image collecting module achieves rapid starting of an image collecting function and improves user experience.

Description

A kind of changing method and equipment
Technical field
The present invention relates to image processing field, particularly relate to a kind of changing method and equipment.
Background technology
Along with the fast development of mobile communication technology and smart mobile phone, the processing power of cell phone system significantly promotes, and the application of mobile phone is also more and more abundanter.Wherein, take pictures or the image collecting function such as shooting becomes the critical function of mobile phone.Along with the development of optical sensor for mobile phone, mobile phone shooting quality is more and more higher, and image-capable constantly promotes.And how to start fast the camera model of mobile phone, become an important problem with the quick startup and the portable feature that highlight mobile phone.
In the prior art; in the time that user wants to use mobile phone photograph; conventionally can click take pictures menu icon or the click shortcut of taking pictures; to trigger the startup of camera model; at this moment; system can be called camera application program, and carries out the operations such as hardware powers on, firmware (firmware) loading, parameter configuration, until enter image preview interface.Click from user the menu of taking pictures and stablize to normal demonstration of preview interface to start the program of taking pictures, this process is wanted the time of 2s left and right conventionally.And user exits after the program of taking pictures at every turn, if want again to take pictures, need to repeat said process, consuming time longer.Particularly, in the time that user needs continuous several times to take within a certain period of time, it is very loaded down with trivial details that said process just seems, the response time is long, has reduced user's experience.
Summary of the invention
For solving the problems of the technologies described above, the embodiment of the present invention provides a kind of changing method and equipment, can start fast the image collecting function of electronic equipment, has improved system response time.Technical scheme is as follows:
According to a first aspect of the invention, a kind of changing method is provided, be applied to electronic equipment, described electronic equipment has image capture module, and described image capture module has the first state and the second state, and described image capture module also has the third state, wherein, the power consumption of described image capture module under the described third state is less than the power consumption of described image capture module under described the first state, is greater than the power consumption of described image capture module under described the second state, and described method comprises:
Detect the first triggering command;
According to described the first triggering command, described image capture module is switched to the third state from the first state;
Detect the second triggering command;
According to described the second triggering command, described image capture module is switched to the first state from the third state;
Wherein, the time that described image capture module switches to the first state from the third state is less than described image capture module and switches to from the second state the time of the first state.
Preferably, the mode of operation of described electronic equipment at least comprises the first mode of operation and the second mode of operation, and after detecting the first triggering command, described method also comprises:
Obtain the mode of operation of described electronic equipment, obtain first and obtain result;
Describedly according to described the first triggering command, described image capture module is switched to the third state from the first state and is:
In the time that described first obtains result and show described electronic equipment in the second mode of operation, according to described the first triggering command, described image capture module is switched to the third state from the first state.
Preferably, described method also comprises:
In the time that described first obtains result and show described electronic equipment in the first mode of operation, according to described the first triggering command, described image capture module is switched to the second state from the first state.
Preferably, after detecting the second triggering command, described method also comprises:
Obtain the current state of described image capture module;
Describedly according to described the second triggering command, described image capture module is switched to the first state from the third state and is:
When judging that the current state of described image capture module is the third state or described electronic equipment during in the second mode of operation, switches to the first state by described image capture module from the third state.
Preferably, described method also comprises:
When judging that the current state of described image capture module is the second state or described electronic equipment during in the first mode of operation, switches to the first state by described image capture module from the second state.
Preferably, described image capture module comprises that application program loads submodule, firmware loads submodule, parameter configuration submodule,
Describedly according to described the first triggering command, described image capture module is switched to the third state from the first state and is specially:
Close application program and load submodule, firmware loads submodule, parameter configuration submodule are set to dormant state, complete the switching of described image capture module from the first state to the third state.
Preferably, described image capture module comprises that application program loads submodule, firmware loads submodule, parameter configuration submodule,
Describedly according to described the second triggering command, described image capture module is switched to the first state from the third state and is specially:
Start application program and load submodule, firmware loads submodule, parameter configuration submodule are set to wake-up states from dormant state, to complete the switching of described image capture module from the third state to the first state.
Preferably, described image capture module comprises that application program loads submodule, firmware loads submodule, parameter configuration submodule, describedly described image capture module is switched to the second state from the first state is specially:
Close application program and load submodule, firmware loads submodule, parameter configuration submodule, complete the switching of described image capture module from the first state to the second state;
Describedly described image capture module switched to the first state from the second state be specially:
Start application program and load submodule, firmware loads submodule, parameter configuration submodule, with executive utility loading, firmware loads, parameter configuration operation, complete the switching of described image capture module from the second state to the first state.
Preferably, according to described the first triggering command by described image capture module after the first state switches to the third state, described method also comprises:
Start timer, in the time meeting preset time conditions and the second triggering command do not detected, image capture module is switched to the second state from the third state.
Preferably, describedly image capture module switched to the second state from the third state be specially:
Firmware loads submodule, parameter configuration submodule are switched to closed condition from dormant state.
Preferably, described detection the second triggering command comprises:
Operation is rocked in detection, rocks operation while meeting default condition when described, generates the second triggering command, is switched to the first duty to control image capture module.
According to the second aspect of the embodiment of the present invention, a kind of electronic equipment is provided, described electronic equipment has image capture module, described image capture module has the first state and the second state, described image capture module also has the third state, and wherein, the power consumption of described image capture module under the described third state is less than the power consumption of described image capture module under described the first state, be greater than the power consumption of described image capture module under described the second state, described electronic equipment comprises:
First detection module, for detection of the first triggering command;
The first handover module, for switching to the third state by described image capture module from the first state according to described the first triggering command;
The second detection module, for detection of the second triggering command;
The second handover module, for switching to first state by described image capture module from the third state according to described the second triggering command;
Wherein, the time that described image capture module switches to the first state from the third state is less than described image capture module and switches to from the second state the time of the first state.
Preferably, the mode of operation of described electronic equipment at least comprises the first mode of operation and the second mode of operation, and described electronic equipment also comprises:
The first acquisition module, for obtaining the mode of operation of described electronic equipment, obtains first and obtains result; ;
Described the first handover module obtains result specifically for receiving first of the first acquisition module, in the time that described first obtains result and show described electronic equipment in the second mode of operation, according to described the first triggering command, described image capture module is switched to the third state from the first state.
Preferably, described the first handover module also obtains result for receiving first of the first acquisition module, in the time that described first obtains result and show described electronic equipment in the first mode of operation, according to described the first triggering command, described image capture module is switched to the second state from the first state.
Preferably, described electronic equipment also comprises:
The second acquisition module, for obtaining the current state of described image capture module;
The second handover module is specifically for receiving the result of obtaining of the first acquisition module or the second acquisition module, when judging that the current state of described image capture module is the third state or described electronic equipment during in the second mode of operation, switches to the first state by described image capture module from the third state.
Preferably, described the second handover module is also for receiving the result of obtaining of the first acquisition module or the second acquisition module, when judging that the current state of described image capture module is the second state or described electronic equipment during in the first mode of operation, switches to the first state by described image capture module from the second state.
Preferably, described image capture module comprises that application program loads submodule, firmware loads submodule, parameter configuration submodule,
The first handover module loads submodule specifically for closing application program, and firmware loads submodule, parameter configuration submodule are set to dormant state, complete the switching of described image capture module from the first state to the third state.
Preferably, described image capture module comprises that application program loads submodule, firmware loads submodule, parameter configuration submodule,
Described the second handover module loads submodule specifically for starting application program, and firmware loads submodule, parameter configuration submodule are set to wake-up states from dormant state, to complete the switching of described image capture module from the third state to the first state.
Preferably, described image capture module comprises that application program loads submodule, firmware loads submodule, parameter configuration submodule, described the first handover module specifically also obtains result for receiving first of the first acquisition module, in the time that described first obtains result and shows described electronic equipment in the first mode of operation, close application program and load submodule, firmware loads submodule, parameter configuration submodule, complete the switching of described image capture module from the first state to the second state;
Described the second handover module is concrete also for receiving the result of obtaining of the first acquisition module or the second acquisition module, when judging that the current state of described image capture module is that the second state or described electronic equipment are during in the first mode of operation, start application program and load submodule, firmware loads submodule, parameter configuration submodule, with executive utility loading, firmware loads, parameter configuration operation, complete the switching of described image capture module from the second state to the first state.
Preferably, described electronic equipment also comprises:
Timer, for image capture module is switched to the third state from the first state, starts clocking capability;
The 3rd handover module, in the time meeting preset time conditions and the second triggering command do not detected, switches to the second state by image capture module from the third state.
Preferably, described the 3rd handover module is specifically for switching to closed condition by firmware loads submodule, parameter configuration submodule from dormant state.
Preferably, described electronic equipment also comprises angular-rate sensor and acceleration transducer, described the second detection module rocks operation specifically for utilizing described angular-rate sensor and acceleration transducer to detect, rock operation while meeting default condition when described, generate the second triggering command, be switched to the first duty to control image capture module.
The beneficial effect of an aspect of the embodiment of the present invention is: in embodiments of the present invention, electronic equipment has image capture module, described image capture module has the first state, the second state and the third state, wherein, the power consumption of described image capture module under the third state is less than the power consumption of described image capture module under the first state, is greater than the power consumption of described image capture module under the second state.In the time receiving the instruction of closing image capture module, be different from the processing that in prior art, image capture module is switched to the second state from the first state, the present invention just image capture module switches to the third state from the first state.In the time receiving the second triggering command, image capture module is switched to the first state from the third state.The time that switches to the first state from the third state due to image capture module is much smaller than the time that switches to the first state from the second state, therefore improved the response speed of electronic equipment startup image collecting function, can realize the quick startup of image collecting function, improve user's experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, the accompanying drawing the following describes is only some embodiment that record in the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Changing method the first embodiment schematic diagram that Fig. 1 provides for the embodiment of the present invention;
Changing method the second embodiment schematic diagram that Fig. 2 provides for the embodiment of the present invention;
Changing method the 3rd embodiment schematic diagram that Fig. 3 provides for the embodiment of the present invention;
The electronic equipment one embodiment schematic diagram that Fig. 4 provides for the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of changing method and equipment, can start fast the image collecting function of electronic equipment, has improved system response time.
In order to make those skilled in the art person understand better the technical scheme in the present invention, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, should belong to the scope of protection of the invention.
Referring to Fig. 1, it is changing method the first embodiment process flow diagram provided by the invention.
The changing method that first embodiment of the invention provides, is applied to electronic equipment, and described electronic equipment has image capture module.Described electronic equipment is specifically as follows similar mobile phone, camera, PAD etc. and has the electronic equipment of camera model (image capture module).Wherein, described image capture module has the first state and the second state, especially, described image capture module also has the third state, wherein, the power consumption of described image capture module under the third state is less than the power consumption of described image capture module under the first state, is greater than the power consumption of described image capture module under the second state.
Described method comprises:
S101, detects the first triggering command.
When electronic equipment is in screening-mode or in taking when standby mode, image capture module is in the first state.When specific implementation, the first state is normal operating conditions.At this moment, detect user to have image capture module electronic equipment first operation, obtain the first triggering command.Wherein, described the first triggering command is used for making electronic equipment to exit screening-mode or is converted to and exits screening-mode from shooting standby mode.When specific implementation, the first triggering command is the steering order of the operation correspondence carried out when closing image capture module or exiting screening-mode of user.
S102, switches to the third state by described image capture module from the first state according to described the first triggering command.
In the time the first triggering command being detected, image capture module is switched to the third state from the first state.In embodiments of the present invention, image capture module, except having the first state and the second state, also has the third state.The power consumption of described image capture module under the third state is less than the power consumption of described image capture module under the first state, is greater than the power consumption of described image capture module under the second state.
S103, detects the second triggering command.
When specific implementation, detect user to have image capture module electronic equipment second operation, obtain the second triggering command.Wherein, described the second triggering command is for entering electronic equipment screening-mode or enter shooting standby mode.When specific implementation, the second triggering command is the steering order of the operation correspondence carried out when opening image capture module or entering screening-mode of user.
S104, switches to first state by described image capture module from the third state according to described the second triggering command.
In the time the second triggering command being detected, image capture module is switched to the third state from the first state.Wherein, the time that described image capture module switches to the first state from the third state is less than described image capture module and switches to from the second state the time of the first state.
In first embodiment of the invention, electronic equipment has image capture module, described image capture module has the first state, the second state and the third state, wherein, the power consumption of image capture module under the third state is less than the power consumption of described image capture module under the first state, is greater than the power consumption of described image capture module under the second state.In the time receiving the instruction of closing image capture module, be different from the processing that in prior art, image capture module is switched to the second state from the first state, the present invention just image capture module switches to the third state from the first state.In the time receiving the second triggering command, image capture module is switched to the first state from the third state.The time that switches to the first state from the third state due to image capture module is much smaller than the time that switches to the first state from the second state, therefore improved the response speed of electronic equipment startup image collecting function, can realize the quick startup of image collecting function, improve user's experience.
Referring to Fig. 2, it is changing method the first embodiment process flow diagram provided by the invention.
In second embodiment of the invention, the mode of operation of electronic equipment at least comprises the first mode of operation and the second mode of operation.
S201, detects the first triggering command.
Detect user to have image capture module electronic equipment first operation, obtain the first triggering command.Wherein, described the first triggering command is used for making electronic equipment to exit screening-mode or is converted to and exits screening-mode from shooting standby mode.When specific implementation, the first triggering command is the steering order of the operation correspondence carried out when closing image capture module or exiting screening-mode of user.
S202, obtains the mode of operation of described electronic equipment, obtains first and obtains result.In the time that described first obtains result and show described the first electronic equipment in the first mode of operation, enter step S203; In the time that described first obtains result and show described the first electronic equipment in the second mode of operation, enter step S204.
In second embodiment of the invention, electronic equipment has at least two kinds of mode of operations, is respectively the first mode of operation and the second mode of operation.When electronic equipment is during in the first mode of operation, the image capture module of electronic equipment at least has two states, comprises the first state and the second state.Wherein, the image capture module of electronic equipment is greater than the power consumption of described image capture module at the second state in the power consumption of the first state.When electronic equipment is during in the second mode of operation, the image capture module of electronic equipment at least has three kinds of states, comprises the first state, the second state and the third state.Wherein, the power consumption of image capture module under the third state is less than the power consumption of described image capture module under the first state, is greater than the power consumption of described image capture module under the second state.When concrete application, the first state of the image capture module of electronic equipment is for waking up or normal operating conditions, and the second state of image capture module is closed condition, and the third state of image capture module is holding state.
When the electronic equipment that has an image capture module when user application is taken pictures or is made a video recording, in the time that user needs continuous several times shooting within a certain period of time, can be by mode of operation being set or clicking the button of relative users operation interface or carry out the mode of presetting trigger action, electronic equipment is set in the second mode of operation.When user operate at ordinary times or do not have to take pictures continuously in the short time demand time, electronic equipment is set to the first mode of operation as required.Especially, system or user can self-defined the first mode of operation or the second mode of operation be set to give tacit consent to mode of operation.Electronic equipment provides such application, can realize easily electronic equipment and switch between the first mode of operation and the second mode of operation.
S203, switches to second state by described image capture module from the first state according to described the first triggering command.
In the time that first obtains result and show described electronic equipment in the second mode of operation, according to described the first triggering command, described image capture module is switched to the third state from the first state.
When specific implementation, the image capture module of electronic equipment comprises that application program loads submodule, firmware loads submodule, parameter configuration submodule, wherein, according to described the first triggering command, described image capture module being switched to third state specific implementation from the first state is: close application program and load submodule, firmware loads submodule, parameter configuration submodule are set to dormant state, complete the switching of described image capture module from the first state to the third state.In prior art, if in the time receiving user and close image capture module or exit the first triggering command of screening-mode, directly image capture module is closed, concrete execution closed application program loading submodule, firmware (Firmware) loads submodule, when the operation of parameter configuration submodule, in the time that user need to start the image collecting function of image capture module again, needing to start application program loads, re-power loading firmware and load submodule, utilize parameter configuration submodule to carry out parameter configuration, said process at least needs the time of 2S left and right, increase user's stand-by period, can not realize the quick startup of image capture module.And in the present invention, in the time receiving first triggering command of closing image capture module or exiting screening-mode, image capture module being converted to standby dormant state, firmware loads submodule, parameter configuration submodule are set to dormant state.Like this, in the time that user need to start the image collecting function of image capture module again, the wireless firmware that carries out powers on and reloads and parameter configuration, has significantly reduced the time that starts image capture module while again configuration, promote toggle speed, met user's candid photograph demand.
S204, switches to the third state by described image capture module from the first state according to described the first triggering command.
In the time that described first obtains result and show described electronic equipment in the first mode of operation, according to described the first triggering command, described image capture module is switched to the second state from the first state.When specific implementation, according to described the first triggering command, described image capture module being switched to the second state from the first state is specially: close application program and load submodule, firmware loads submodule, parameter configuration submodule, complete the switching of described image capture module from the first state to the second state.
S205, detects the second triggering command.
Detect user to have image capture module electronic equipment second operation, obtain the second triggering command.Wherein, described the second triggering command is for entering electronic equipment screening-mode or enter shooting standby mode.When specific implementation, the second triggering command is the steering order of the operation correspondence carried out when opening image capture module or entering screening-mode of user.
Preferably, described electronic equipment also comprises angular-rate sensor and acceleration transducer, detecting the implementation that the second triggering command is concrete is: detect and rock operation, rock operation while meeting default condition when described, generate the second triggering command, be switched to the first duty to control image capture module.Described angular-rate sensor is specifically as follows gyroscope.For example, can coordinate gyroscope in electronic equipment and angular velocity and the motion state of acceleration transducer detected electrons equipment, electronic equipment can be set rock in the vertical direction and enter transverse horizontal direction time, generate the second triggering command.Can realize so rapidly and again taking.
S206, when electronic equipment is during in the first mode of operation, switches to first state by described image capture module from the second state according to described the second triggering command.
When specific implementation, describedly described image capture module is switched to the first state from the second state be specially: start application program and load submodule, firmware loads submodule, parameter configuration submodule, with executive utility loading, firmware loads, parameter configuration operation, complete the switching of described image capture module from the second state to the first state.
S207, when electronic equipment is during in the second mode of operation, switches to first state by described image capture module from the third state according to described the second triggering command.
Wherein, the time that described image capture module switches to the first state from the third state is less than described image capture module and switches to from the second state the time of the first state.
When specific implementation, describedly according to described the second triggering command, described image capture module is switched to the first state from the third state and be specially: start application program and load submodule, firmware loads submodule, parameter configuration submodule are set to wake-up states from dormant state, to complete the switching of described image capture module from the third state to the first state.Due to without re-starting firmware loading, the parameter configuration operation that powers on, greatly improve the toggle speed of image capture module.
Referring to Fig. 3, it is changing method provided by the invention the 3rd embodiment process flow diagram.
In third embodiment of the invention, the mode of operation of electronic equipment at least comprises the first mode of operation and the second mode of operation.
S301, detects the first triggering command.
Detect user to have image capture module electronic equipment first operation, obtain the first triggering command.Wherein, described the first triggering command is used for making electronic equipment to exit screening-mode or is converted to and exits screening-mode from shooting standby mode.When specific implementation, the first triggering command is the steering order of the operation correspondence carried out when closing image capture module or exiting screening-mode of user.
S302, obtains the mode of operation of described electronic equipment, obtains first and obtains result.In the time that described first obtains result and show described the first electronic equipment in the first mode of operation, enter step S303; In the time that described first obtains result and show described the first electronic equipment in the second mode of operation, enter step S304.
In second embodiment of the invention, electronic equipment has at least two kinds of mode of operations, is respectively the first mode of operation and the second mode of operation.When electronic equipment is during in the first mode of operation, the image capture module of electronic equipment at least has two states, comprises the first state and the second state.Wherein, the image capture module of electronic equipment is greater than the power consumption of described image capture module at the second state in the power consumption of the first state.When electronic equipment is during in the second mode of operation, the image capture module of electronic equipment at least has three kinds of states, comprises the first state, the second state and the third state.
S303, switches to second state by described image capture module from the first state according to described the first triggering command.
In the time that first obtains result and show described electronic equipment in the second mode of operation, according to described the first triggering command, described image capture module is switched to the third state from the first state.
When specific implementation, the image capture module of electronic equipment comprises that application program loads submodule, firmware loads submodule, parameter configuration submodule, wherein, according to described the first triggering command, described image capture module being switched to third state specific implementation from the first state is: close application program and load submodule, firmware loads submodule, parameter configuration submodule are set to dormant state, complete the switching of described image capture module from the first state to the third state.
S304, switches to the third state by described image capture module from the first state according to described the first triggering command.
In the time that described first obtains result and show described electronic equipment in the first mode of operation, according to described the first triggering command, described image capture module is switched to the second state from the first state.When specific implementation, according to described the first triggering command, described image capture module being switched to the second state from the first state is specially: close application program and load submodule, firmware loads submodule, parameter configuration submodule, complete the switching of described image capture module from the first state to the second state.
Preferably, in third embodiment of the invention, according to described the first triggering command by described image capture module after the first state switches to the third state, method provided by the invention can further include:
S305, starts timer, in the time meeting preset time conditions and the second triggering command do not detected, image capture module is switched to the second state from the third state.
In third embodiment of the invention, when electronic equipment is during in the second mode of operation, when take pictures menu or the shortcut of taking pictures by electronic equipment are opened image capture module or enter after screening-mode, after user completes and takes pictures, while wanting to take pictures screening-mode, image capture module is not closed firmware loads submodule and parameter configuration submodule at once, but image capture module is set to the third state, it is dormancy waiting status, particularly, firmware loads submodule and parameter configuration submodule are set to dormant state.Meanwhile, system starts timer.In the time meeting preset time conditions and the second triggering command not detected, image capture module is switched to the second state from the third state, particularly, firmware loads submodule, parameter configuration submodule are switched to closed condition from dormant state.Like this, can greatly reduce the power consumption of image capture module under dormancy waiting status.The concrete preset time can be set as required, for example 10 minutes, 20 minutes or 30 minutes etc., and the present invention does not limit this.
S306, detects the second triggering command.
Detect user to have image capture module electronic equipment second operation, obtain the second triggering command.Wherein, described the second triggering command is for entering electronic equipment screening-mode or enter shooting standby mode.When specific implementation, the second triggering command is the steering order of the operation correspondence carried out when opening image capture module or entering screening-mode of user.
S307, obtains the current state of described image capture module.
Current during in the second state when image capture module, enter step S308; In the time that the current state of image capture module is the third state, enter step S309.
S308, in the time judging that the current state of described image capture module is the second state, switches to first state by described image capture module from the second state according to described the second triggering command.
When specific implementation, describedly described image capture module is switched to the first state from the second state be specially: start application program and load submodule, firmware loads submodule, parameter configuration submodule, with executive utility loading, firmware loads, parameter configuration operation, complete the switching of described image capture module from the second state to the first state.
S309, in the time judging that the current state of described image capture module is the third state, switches to first state by described image capture module from the third state according to described the first triggering command.
Wherein, the time that described image capture module switches to the first state from the third state is less than described image capture module and switches to from the second state the time of the first state.
When specific implementation, describedly according to described the second triggering command, described image capture module is switched to the first state from the third state and be specially: start application program and load submodule, firmware loads submodule, parameter configuration submodule are set to wake-up states from dormant state, to complete the switching of described image capture module from the third state to the first state.Due to without re-starting firmware loading, the parameter configuration operation that powers on, greatly improve the toggle speed of image capture module.
Referring to Fig. 4, the electronic equipment schematic diagram providing for the embodiment of the present invention.
Described electronic equipment has image capture module (not shown), described image capture module has the first state and the second state, described image capture module also has the third state, wherein, the power consumption of described image capture module under the described third state is less than the power consumption of described image capture module under described the first state, be greater than the power consumption of described image capture module under described the second state, described electronic equipment comprises:
First detection module 401, for detection of the first triggering command.
The first handover module 402, for switching to the third state by described image capture module from the first state according to described the first triggering command.
The second detection module 403, for detection of the second triggering command.
The second handover module 404, for switching to first state by described image capture module from the third state according to described the second triggering command.
Wherein, the time that described image capture module switches to the first state from the third state is less than described image capture module and switches to from the second state the time of the first state.
Preferably, the mode of operation of described electronic equipment at least comprises the first mode of operation and the second mode of operation, and described electronic equipment also comprises:
The first acquisition module, for obtaining the mode of operation of described electronic equipment, obtains first and obtains result; ;
Described the first handover module obtains result specifically for receiving first of the first acquisition module, in the time that described first obtains result and show described electronic equipment in the second mode of operation, according to described the first triggering command, described image capture module is switched to the third state from the first state.
Preferably, described the first handover module also obtains result for receiving first of the first acquisition module, in the time that described first obtains result and show described electronic equipment in the first mode of operation, according to described the first triggering command, described image capture module is switched to the second state from the first state.
Preferably, described electronic equipment also comprises:
The second acquisition module, for obtaining the current state of described image capture module;
The second handover module is specifically for receiving the result of obtaining of the first acquisition module or the second acquisition module, when judging that the current state of described image capture module is the third state or described electronic equipment during in the second mode of operation, switches to the first state by described image capture module from the third state.
Preferably, described the second handover module is also for receiving the result of obtaining of the first acquisition module or the second acquisition module, when judging that the current state of described image capture module is the second state or described electronic equipment during in the first mode of operation, switches to the first state by described image capture module from the second state.
Preferably, described image capture module comprises that application program loads submodule, firmware loads submodule, parameter configuration submodule, the first handover module loads submodule specifically for closing application program, firmware loads submodule, parameter configuration submodule are set to dormant state, complete the switching of described image capture module from the first state to the third state.
Preferably, described image capture module comprises that application program loads submodule, firmware loads submodule, parameter configuration submodule, described the second handover module loads submodule specifically for starting application program, firmware loads submodule, parameter configuration submodule are set to wake-up states from dormant state, to complete the switching of described image capture module from the third state to the first state.
Preferably, described image capture module comprises that application program loads submodule, firmware loads submodule, parameter configuration submodule, described the first handover module specifically also obtains result for receiving first of the first acquisition module, in the time that described first obtains result and shows described electronic equipment in the first mode of operation, close application program and load submodule, firmware loads submodule, parameter configuration submodule, complete the switching of described image capture module from the first state to the second state;
Described the second handover module is concrete also for receiving the result of obtaining of the first acquisition module or the second acquisition module, when judging that the current state of described image capture module is that the second state or described electronic equipment are during in the first mode of operation, start application program and load submodule, firmware loads submodule, parameter configuration submodule, with executive utility loading, firmware loads, parameter configuration operation, complete the switching of described image capture module from the second state to the first state.
Preferably, described electronic equipment also comprises:
Timer, for image capture module is switched to the third state from the first state, starts clocking capability;
The 3rd handover module, in the time meeting preset time conditions and the second triggering command do not detected, switches to the second state by image capture module from the third state.
Preferably, described the 3rd handover module is specifically for switching to closed condition by firmware loads submodule, parameter configuration submodule from dormant state.
Preferably, described electronic equipment also comprises angular-rate sensor and acceleration transducer, described the second detection module rocks operation specifically for utilizing described angular-rate sensor and acceleration transducer to detect, rock operation while meeting default condition when described, generate the second triggering command, be switched to the first duty to control image capture module.Described angular-rate sensor is specifically as follows gyroscope.For example, can coordinate gyroscope in electronic equipment and angular velocity and the motion state of acceleration transducer detected electrons equipment, electronic equipment can be set rock in the vertical direction and enter transverse horizontal direction time, generate the second triggering command.Can realize so rapidly and again taking.
It should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
The present invention can describe in the general context of the computer executable instructions of being carried out by computing machine, for example program module.Usually, program module comprises and carries out particular task or realize routine, program, object, assembly, data structure of particular abstract data type etc.Also can in distributed computing environment, put into practice the present invention, in these distributed computing environment, be executed the task by the teleprocessing equipment being connected by communication network.In distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium including memory device.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually referring to, what each embodiment stressed is and the difference of other embodiment.Especially,, for device embodiment, because it is substantially similar in appearance to embodiment of the method, so describe fairly simplely, relevant part is referring to the part explanation of embodiment of the method.Device embodiment described above is only schematic, the wherein said module as separating component explanation can or can not be also physically to separate, the parts that show as module can be or can not be also physical modules, can be positioned at a place, or also can be distributed on multiple mixed-media network modules mixed-medias.Can select according to the actual needs some or all of module wherein to realize the object of the present embodiment scheme.Those of ordinary skills, in the situation that not paying creative work, are appreciated that and implement.
The above is only the specific embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (22)

1. a changing method, be applied to electronic equipment, described electronic equipment has image capture module, described image capture module has the first state and the second state, it is characterized in that, described image capture module also has the third state, wherein, the power consumption of described image capture module under the described third state is less than the power consumption of described image capture module under described the first state, is greater than the power consumption of described image capture module under described the second state, and described method comprises:
Detect the first triggering command;
According to described the first triggering command, described image capture module is switched to the third state from the first state;
Detect the second triggering command;
According to described the second triggering command, described image capture module is switched to the first state from the third state;
Wherein, the time that described image capture module switches to the first state from the third state is less than described image capture module and switches to from the second state the time of the first state.
2. method according to claim 1, is characterized in that, the mode of operation of described electronic equipment at least comprises the first mode of operation and the second mode of operation, and after detecting the first triggering command, described method also comprises:
Obtain the mode of operation of described electronic equipment, obtain first and obtain result;
Describedly according to described the first triggering command, described image capture module is switched to the third state from the first state and is:
In the time that described first obtains result and show described electronic equipment in the second mode of operation, according to described the first triggering command, described image capture module is switched to the third state from the first state.
3. method according to claim 2, is characterized in that, described method also comprises:
In the time that described first obtains result and show described electronic equipment in the first mode of operation, according to described the first triggering command, described image capture module is switched to the second state from the first state.
4. method according to claim 1 and 2, is characterized in that, after detecting the second triggering command, described method also comprises:
Obtain the current state of described image capture module;
Describedly according to described the second triggering command, described image capture module is switched to the first state from the third state and is:
When judging that the current state of described image capture module is the third state or described electronic equipment during in the second mode of operation, switches to the first state by described image capture module from the third state.
5. method according to claim 4, is characterized in that, described method also comprises:
When judging that the current state of described image capture module is the second state or described electronic equipment during in the first mode of operation, switches to the first state by described image capture module from the second state.
6. method according to claim 1, is characterized in that, described image capture module comprises that application program loads submodule, firmware loads submodule, parameter configuration submodule,
Describedly according to described the first triggering command, described image capture module is switched to the third state from the first state and is specially:
Close application program and load submodule, firmware loads submodule, parameter configuration submodule are set to dormant state, complete the switching of described image capture module from the first state to the third state.
7. method according to claim 1, is characterized in that, described image capture module comprises that application program loads submodule, firmware loads submodule, parameter configuration submodule,
Describedly according to described the second triggering command, described image capture module is switched to the first state from the third state and is specially:
Start application program and load submodule, firmware loads submodule, parameter configuration submodule are set to wake-up states from dormant state, to complete the switching of described image capture module from the third state to the first state.
8. according to the method described in claim 3 or 6, it is characterized in that, described image capture module comprises that application program loads submodule, firmware loads submodule, parameter configuration submodule, describedly described image capture module is switched to the second state from the first state is specially:
Close application program and load submodule, firmware loads submodule, parameter configuration submodule, complete the switching of described image capture module from the first state to the second state;
Describedly described image capture module switched to the first state from the second state be specially:
Start application program and load submodule, firmware loads submodule, parameter configuration submodule, with executive utility loading, firmware loads, parameter configuration operation, complete the switching of described image capture module from the second state to the first state.
9. method according to claim 1, is characterized in that, according to described the first triggering command by described image capture module after the first state switches to the third state, described method also comprises:
Start timer, in the time meeting preset time conditions and the second triggering command do not detected, image capture module is switched to the second state from the third state.
10. according to the method described in claim 6 or 9, it is characterized in that, describedly image capture module is switched to the second state from the third state be specially:
Firmware loads submodule, parameter configuration submodule are switched to closed condition from dormant state.
11. methods according to claim 1, is characterized in that, described detection the second triggering command comprises:
Operation is rocked in detection, rocks operation while meeting default condition when described, generates the second triggering command, is switched to the first duty to control image capture module.
12. 1 kinds of electronic equipments, described electronic equipment has image capture module, described image capture module has the first state and the second state, it is characterized in that, described image capture module also has the third state, and wherein, the power consumption of described image capture module under the described third state is less than the power consumption of described image capture module under described the first state, be greater than the power consumption of described image capture module under described the second state, described electronic equipment comprises:
First detection module, for detection of the first triggering command;
The first handover module, for switching to the third state by described image capture module from the first state according to described the first triggering command;
The second detection module, for detection of the second triggering command;
The second handover module, for switching to first state by described image capture module from the third state according to described the second triggering command;
Wherein, the time that described image capture module switches to the first state from the third state is less than described image capture module and switches to from the second state the time of the first state.
13. electronic equipments according to claim 12, is characterized in that, the mode of operation of described electronic equipment at least comprises the first mode of operation and the second mode of operation, and described electronic equipment also comprises:
The first acquisition module, for obtaining the mode of operation of described electronic equipment, obtains first and obtains result; ;
Described the first handover module obtains result specifically for receiving first of the first acquisition module, in the time that described first obtains result and show described electronic equipment in the second mode of operation, according to described the first triggering command, described image capture module is switched to the third state from the first state.
14. electronic equipments according to claim 13, it is characterized in that, described the first handover module also obtains result for receiving first of the first acquisition module, in the time that described first obtains result and show described electronic equipment in the first mode of operation, according to described the first triggering command, described image capture module is switched to the second state from the first state.
15. according to the electronic equipment described in claim 12 or 13, it is characterized in that, described electronic equipment also comprises:
The second acquisition module, for obtaining the current state of described image capture module;
The second handover module is specifically for receiving the result of obtaining of the first acquisition module or the second acquisition module, when judging that the current state of described image capture module is the third state or described electronic equipment during in the second mode of operation, switches to the first state by described image capture module from the third state.
16. electronic equipments according to claim 15, it is characterized in that, described the second handover module is also for receiving the result of obtaining of the first acquisition module or the second acquisition module, when judging that the current state of described image capture module is the second state or described electronic equipment during in the first mode of operation, switches to the first state by described image capture module from the second state.
17. electronic equipments according to claim 12, is characterized in that, described image capture module comprises that application program loads submodule, firmware loads submodule, parameter configuration submodule,
The first handover module loads submodule specifically for closing application program, and firmware loads submodule, parameter configuration submodule are set to dormant state, complete the switching of described image capture module from the first state to the third state.
18. electronic equipments according to claim 12, is characterized in that, described image capture module comprises that application program loads submodule, firmware loads submodule, parameter configuration submodule,
Described the second handover module loads submodule specifically for starting application program, and firmware loads submodule, parameter configuration submodule are set to wake-up states from dormant state, to complete the switching of described image capture module from the third state to the first state.
19. according to the electronic equipment described in claim 14 or 17, it is characterized in that, described image capture module comprises that application program loads submodule, firmware loads submodule, parameter configuration submodule, described the first handover module specifically also obtains result for receiving first of the first acquisition module, in the time that described first obtains result and shows described electronic equipment in the first mode of operation, close application program and load submodule, firmware loads submodule, parameter configuration submodule, complete the switching of described image capture module from the first state to the second state;
Described the second handover module is concrete also for receiving the result of obtaining of the first acquisition module or the second acquisition module, when judging that the current state of described image capture module is that the second state or described electronic equipment are during in the first mode of operation, start application program and load submodule, firmware loads submodule, parameter configuration submodule, with executive utility loading, firmware loads, parameter configuration operation, complete the switching of described image capture module from the second state to the first state.
20. electronic equipments according to claim 12, is characterized in that, described electronic equipment also comprises:
Timer, for image capture module is switched to the third state from the first state, starts clocking capability;
The 3rd handover module, in the time meeting preset time conditions and the second triggering command do not detected, switches to the second state by image capture module from the third state.
21. according to the electronic equipment described in claim 17 or 20, it is characterized in that, described the 3rd handover module is specifically for switching to closed condition by firmware loads submodule, parameter configuration submodule from dormant state.
22. electronic equipments according to claim 12, it is characterized in that, described electronic equipment also comprises angular-rate sensor and acceleration transducer, described the second detection module rocks operation specifically for utilizing described angular-rate sensor and acceleration transducer to detect, rock operation while meeting default condition when described, generate the second triggering command, be switched to the first duty to control image capture module.
CN201210530592.9A 2012-12-10 2012-12-10 A kind of switching method and equipment Active CN103870290B (en)

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 true CN103870290A (en) 2014-06-18
CN103870290B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331149A (en) * 2014-09-29 2015-02-04 联想(北京)有限公司 Control method, control device and electronic equipment
CN104572204A (en) * 2015-01-09 2015-04-29 青岛海信移动通信技术股份有限公司 Generating method and device for image information and electronic equipment
CN108989668A (en) * 2018-06-29 2018-12-11 维沃移动通信有限公司 A kind of working method and mobile terminal of camera
CN109388440A (en) * 2018-09-30 2019-02-26 维沃移动通信(杭州)有限公司 A kind of the starting method and terminal device of application program
CN111158775A (en) * 2019-12-30 2020-05-15 联想(北京)有限公司 Processing method and electronic device
CN115348387A (en) * 2022-07-26 2022-11-15 瑞芯微电子股份有限公司 Method and electronic device for acquiring image

Citations (4)

* Cited by examiner, † Cited by third party
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
US20100165125A1 (en) * 2008-12-25 2010-07-01 Hoya Corporation Photographic apparatus
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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
US20100165125A1 (en) * 2008-12-25 2010-07-01 Hoya Corporation Photographic apparatus
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

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331149A (en) * 2014-09-29 2015-02-04 联想(北京)有限公司 Control method, control device and electronic equipment
CN104331149B (en) * 2014-09-29 2018-08-10 联想(北京)有限公司 A kind of control method, device and electronic equipment
CN104572204A (en) * 2015-01-09 2015-04-29 青岛海信移动通信技术股份有限公司 Generating method and device for image information 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
CN109388440A (en) * 2018-09-30 2019-02-26 维沃移动通信(杭州)有限公司 A kind of the starting method and terminal device of application program
CN109388440B (en) * 2018-09-30 2020-09-29 维沃移动通信(杭州)有限公司 Application program starting method and terminal equipment
CN111158775A (en) * 2019-12-30 2020-05-15 联想(北京)有限公司 Processing method and electronic device
CN115348387A (en) * 2022-07-26 2022-11-15 瑞芯微电子股份有限公司 Method and electronic device for acquiring image

Also Published As

Publication number Publication date
CN103870290B (en) 2017-11-28

Similar Documents

Publication Publication Date Title
CN108702446B (en) Photographing method and terminal
US20150058651A1 (en) Method and apparatus for saving battery of portable terminal
CN103019521B (en) A kind of mobile terminal puts out screen method and device
CN103870290A (en) Switching method and device
CN104142859A (en) Fast switching method and device for double systems and mobile terminal
CN103631359A (en) Information processing method and electronic equipment
RU2643516C2 (en) Method and device for controlling power consumption
KR20100009986A (en) The method for inputing user commond and the electronic apparatus thereof
US9395793B2 (en) Electronic device and method for resuming from hibernation for the same
CN103516900A (en) Method and device for starting front camera and rear camera of electronic device during system hibernation during system hibernation
CN104460935A (en) Information processing method and electronic equipment
CN102014021A (en) Method and device for controlling connection/disconnection of data link
CN103713829A (en) System switching method, system switching device and electronic equipment
CN104077017A (en) Electronic equipment and control method thereof
WO2018010596A1 (en) Mode switching method and device
CN107566609B (en) Download task processing method, device, terminal and storage medium
US20140181726A1 (en) Method and electronic device for providing quick launch access and storage medium
CN104461327A (en) Information processing method and electronic device
JP2015132888A (en) Display control device and display control method, program, and storage medium
CN104461367A (en) Image display method and device of front camera of terminal
CN109521940B (en) Mobile terminal device, operation method, and storage medium
CN104461717A (en) Information processing method and electronic equipment
CN103631733A (en) Control method and device
US20150304475A1 (en) Display apparatus for releasing lock status and method thereof
KR102205935B1 (en) Method and terminal for adjusting screen-on duration of terminal

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