CN104822018A - Flash lamp control method of photographing device - Google Patents
Flash lamp control method of photographing device Download PDFInfo
- Publication number
- CN104822018A CN104822018A CN201510136474.3A CN201510136474A CN104822018A CN 104822018 A CN104822018 A CN 104822018A CN 201510136474 A CN201510136474 A CN 201510136474A CN 104822018 A CN104822018 A CN 104822018A
- Authority
- CN
- China
- Prior art keywords
- camera arrangement
- photoflash lamp
- electric quantity
- current electric
- disabled
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Studio Devices (AREA)
Abstract
The embodiment of the invention discloses a flash lamp control method of a photographing device. The method comprises the following steps: determining the current electric quantity residual value of the photographing device; when detecting that the current electric quantity residual value is less than a preset electric quantity residual threshold value, judging whether a flash lamp of the photographing device is forbidden; forbidding the flash lamp of the photographing device while detecting that the flash lamp of the photographing device is unforbidden. Through the adoption of the flash lamp control method disclosed by the embodiment of the invention, the photographing device can forbid the flash lamp when the electric quantity is low so as to guarantee the normal photographing function of the photographing device, and the inconvenience to the user since the photographing device is suddenly shut down automatically can be avoided, and the user experience is improved.
Description
Technical field
The present invention relates to camera technique field, be specifically related to a kind of flash lamp control method of camera arrangement.
Background technology
Along with the fast development of electronics and image processing technique, the function of the camera arrangements such as panel computer, smart mobile phone, digital camera is more and more rich and varied, wherein, the main path utilizing above-mentioned camera arrangement to take pictures to become numerous user to share Life intravenous drip with relatives and friends.At present, most of camera arrangement is all equipped with photoflash lamp, the photographic quality of taking under can improving low light environment by photoflash lamp.Under normal circumstances, user can the photoflash lamp of manually positive opening camera arrangement, and that also can open camera arrangement enables photoflash lamp function automatically, makes camera arrangement be enabled by automatic testing environment situation or be closed photoflash lamp.But when enabling photoflash lamp, the moment system power that photoflash lamp is flashing is very high, causes electric quantity consumption quickly.Such situation is often there will be in being applied to; user's photoflash lamp when using camera arrangement is opened; and the current electricity of camera arrangement is lower; in shooting process, be easy to occur camera arrangement the situation of directly shutting down because of electricity deficiency, thus bring very large inconvenience to user.
Summary of the invention
Embodiments provide a kind of flash lamp control method of camera arrangement, can ensure that camera arrangement is normally taken pictures when electricity is lower.
Embodiments provide a kind of flash lamp control method of camera arrangement, it can comprise:
Determine the current electric quantity surplus value of described camera arrangement;
When detecting that described current electric quantity surplus value is less than default electricity residue threshold value, judge that whether the photoflash lamp of described camera arrangement is disabled;
When the photoflash lamp of described camera arrangement is not disabled, forbid the photoflash lamp of described camera arrangement.
Implement the embodiment of the present invention, there is following beneficial effect:
In the embodiment of the present invention, first camera arrangement determines current electric quantity surplus value, when detecting that this current electric quantity surplus value is less than default electricity residue threshold value, then judging that whether photoflash lamp is disabled, when this photoflash lamp is not disabled, forbidding this photoflash lamp.By the embodiment of the present invention, camera arrangement can forbid photoflash lamp when electricity is lower, can ensure that camera arrangement is normally taken pictures, and can avoid the inconvenience that the unexpected automatic shutdown of camera arrangement brings to user, improves Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the first embodiment schematic flow sheet of the flash lamp control method of a kind of camera arrangement that the embodiment of the present invention provides;
Fig. 2 is the second embodiment schematic flow sheet of the flash lamp control method of a kind of camera arrangement that the embodiment of the present invention provides;
Fig. 3 is the 3rd embodiment schematic flow sheet of the flash lamp control method of a kind of camera arrangement that the embodiment of the present invention provides;
Fig. 4 is the first example structure schematic diagram of a kind of camera arrangement that the embodiment of the present invention provides;
Fig. 5 is the second example structure schematic diagram of a kind of camera arrangement that the embodiment of the present invention provides;
Fig. 6 is the first example structure schematic diagram of determining unit in a kind of camera arrangement of providing of the embodiment of the present invention;
Fig. 7 is the second example structure schematic diagram of determining unit in a kind of camera arrangement of providing of the embodiment of the present invention;
Fig. 8 is the 3rd example structure schematic diagram of a kind of camera arrangement that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Camera arrangement in the embodiment of the present invention can comprise smart mobile phone (as Android phone, iOS mobile phone, Windows Phone mobile phone etc.), panel computer, palmtop PC, mobile internet device (MID, MobileInternet Devices) or Wearable etc. be built-in with the terminal of taking lens, also the independently camera arrangement such as film camera, digital camera can be comprised, above-mentioned camera arrangement is only citing, and non exhaustive, including but not limited to above-mentioned camera arrangement.
Embodiments provide a kind of flash lamp control method of camera arrangement and the camera arrangement of the method can be implemented, can ensure that camera arrangement is normally taken pictures when electricity is lower.Below be described in detail respectively.
Refer to Fig. 1, the first embodiment schematic flow sheet of the flash lamp control method of a kind of camera arrangement provided for the embodiment of the present invention.As shown in Figure 1, the method described in the present embodiment, can comprise the following steps:
S101, determine the current electric quantity surplus value of camera arrangement.
In the embodiment of the present invention, camera arrangement can determine self current electric quantity surplus value in real time.Wherein, the mode of camera arrangement determination current electric quantity surplus value can be broadcasted by registered in advance, current electricity surplus value is determined by broadcast real-time listening electricity, also can be the system broadcasts that pushes of the power management process received in camera arrangement system to determine current electricity surplus value, the embodiment of the present invention does not limit.
S102, when detecting that current electric quantity surplus value is less than default electricity residue threshold value, judging that whether the photoflash lamp of this camera arrangement is disabled, if not, then performing step S103; If so, then process ends.
In the embodiment of the present invention, after determining current electric quantity surplus value, first camera arrangement can detect the current electric quantity surplus value determined and whether be less than default electricity residue threshold value, if current electric quantity surplus value is less than default electricity residue threshold value, then camera arrangement can judge that whether the photoflash lamp configured is disabled further, if this photoflash lamp is disabled, then process ends; If this photoflash lamp is not disabled, then forbid the photoflash lamp of this camera arrangement.If current electric quantity surplus value is more than or equal to default electricity residue threshold value, then camera arrangement can judge that whether the photoflash lamp configured is disabled further, if disabled, camera arrangement can remove the forbidding to this photoflash lamp.
S103, forbid the photoflash lamp of this camera arrangement.
In the embodiment of the present invention, when judging that the photoflash lamp of camera arrangement is not disabled, camera arrangement can forbid this photoflash lamp.Wherein, after photoflash lamp is disabled, the button that arranges of this photoflash lamp can gray state, user can not do any operation to this photoflash lamp function, until the current electric quantity surplus value of this camera arrangement is more than or equal to electricity preset power threshold, show that the disabled concrete mode embodiment of the present invention of the photoflash lamp of camera arrangement does not limit to user.
In feasible execution mode, the mode of camera arrangement forbidding photoflash lamp can be: when photoflash lamp is not disabled, whether camera arrangement detects this photoflash lamp and be unlocked, if this photoflash lamp is unlocked, then camera arrangement is closed and forbidden this photoflash lamp.
In the embodiment of the present invention, when judging that this photoflash lamp is not disabled, whether camera arrangement again can detect this photoflash lamp and enable, if detect that this photoflash lamp is enabled, then camera arrangement can be closed and be forbidden this photoflash lamp.
In the embodiment of the present invention, first camera arrangement determines current electric quantity surplus value, when detecting that current electric quantity surplus value is less than default electricity residue threshold value, judge that whether the photoflash lamp of this camera arrangement is disabled, when the photoflash lamp of this camera arrangement is not disabled, forbid the photoflash lamp of this camera arrangement.By the embodiment of the present invention, camera arrangement can forbid photoflash lamp when electricity is lower, can ensure that camera arrangement is normally taken pictures, and can avoid the inconvenience that the unexpected automatic shutdown of camera arrangement brings to user, improves Consumer's Experience.
Refer to Fig. 2, the second embodiment schematic flow sheet of the flash lamp control method of a kind of camera arrangement provided for the embodiment of the present invention.As shown in Figure 2, the method described in the present embodiment, can comprise the following steps:
The broadcast registration request that S201, the application of taking pictures receiving camera arrangement are submitted to.
In the embodiment of the present invention, camera arrangement is before determining current electric quantity surplus value, first the broadcast registration request that application of taking pictures is submitted to can be received, the broadcast capability (namely for monitoring electricity) needing registration is carried in this broadcast registration request, after broadcast registration success, camera arrangement can carry out real-time listening current electric quantity surplus value by this broadcast.
S202, responding this broadcast registration request, is this application registration broadcast for monitoring electricity of taking pictures.
In the embodiment of the present invention, when receiving the broadcast registration request that application of taking pictures is submitted to, camera arrangement can respond this broadcast registration request, and be this broadcast of application registration for monitoring electricity of taking pictures, camera arrangement can pass through this broadcast real-time listening electricity.Wherein, this broadcast being used for monitoring electricity can comprise the broadcast of resident type, and also can comprise the broadcast of non-resident type, the embodiment of the present invention does not limit.
Wherein, resident type broadcast is a kind of broadcast always all existed, and after this takes pictures closing application program, if the information broadcasting having system to push comes, program also can be run by system call automatically.Non-resident type broadcast is a kind of interim broadcast, that is the life cycle of this broadcast terminates along with the closedown of application program of taking pictures, if start application of taking pictures next time, application of taking pictures can again send broadcast registration request to camera arrangement and register broadcast and carry out real-time listening electricity.
S203, determine the current electric quantity surplus value of this camera arrangement.
In the embodiment of the present invention, camera arrangement can determine self current electric quantity surplus value in real time, and wherein, the mode of camera arrangement determination current electric quantity surplus value can comprise:
By the first information about power that this camera arrangement system of the broadcast reception for monitoring electricity pushes.
Resolve this first information about power, determine the current electric quantity surplus value of this camera arrangement.
In the embodiment of the present invention, the first information about power that this camera arrangement of camera arrangement system meeting real time propelling movement is current, camera arrangement can by first information about power pushed for the broadcast receiver system monitoring electricity of registration, wherein, the electricity remaining information that camera arrangement is current can be included in this first information about power, the used charge values of camera arrangement etc., the embodiment of the present invention does not limit.Then, camera arrangement can resolve the current electric quantity surplus value that this first information about power obtains self.
S204, when detecting that current electric quantity surplus value is less than default electricity residue threshold value, judging that whether the photoflash lamp of this camera arrangement is disabled, if not, then performing step S205; If so, process ends.
In the embodiment of the present invention, after determining current electric quantity surplus value, first camera arrangement can judge whether the current electric quantity surplus value determined is less than default electricity residue threshold value, if current electric quantity surplus value is less than default electricity residue threshold value, then camera arrangement can judge that whether the photoflash lamp configured is disabled further, if this photoflash lamp is disabled, process ends; If this photoflash lamp is not disabled, then forbid this photoflash lamp.If current electric quantity surplus value is more than or equal to default electricity residue threshold value, then camera arrangement judges that whether photoflash lamp is disabled further, if disabled, camera arrangement can remove the forbidding to this photoflash lamp.
Alternatively, before whether the current electric quantity residue threshold value judging to determine is less than default electricity residue threshold value, camera arrangement also first can arrange this electricity residue threshold value preset.Particularly, this electricity residue threshold value preset can be arranged before camera arrangement dispatches from the factory, and can not change; Or this electricity residue threshold value preset manually can input setting by user, and can change at any time, the embodiment of the present invention does not limit this.
S205, forbid the photoflash lamp of this camera arrangement.
In the embodiment of the present invention, when judging that photoflash lamp is not disabled, camera arrangement can forbid this photoflash lamp.Wherein, after photoflash lamp is disabled, the function of photoflash lamp can gray state, user can not do any operation to this photoflash lamp function, until the current electric quantity surplus value of this camera arrangement is more than or equal to electricity preset power threshold, show that the disabled concrete mode embodiment of the present invention of photoflash lamp does not limit to user.
In feasible execution mode, the mode of camera arrangement forbidding photoflash lamp can be: when photoflash lamp is not disabled, whether camera arrangement detects this photoflash lamp and be unlocked, if this photoflash lamp is unlocked, camera arrangement is closed and forbidden this photoflash lamp.
In the embodiment of the present invention, when judging that the photoflash lamp of this camera arrangement is not disabled, whether camera arrangement again can detect this photoflash lamp and enable, if detect that this photoflash lamp is enabled, then camera arrangement can be closed and be forbidden this photoflash lamp.
S206, generate the first information.
In the embodiment of the present invention, after the photoflash lamp that have disabled camera arrangement, camera arrangement can generate the first information, and wherein, this first information is for pointing out the photoflash lamp of this camera arrangement of user disabled.Alternatively, first information can be Word message, pictorial information or voice messaging etc., can point out user by the ejection mode of wicket or the mode of output audio, also can adopt other modes to point out, the embodiment of the present invention does not limit this.
In the embodiment of the present invention, camera arrangement can determine current electric quantity surplus value by the form of registration broadcast, and then judge whether the photoflash lamp needing to forbid this camera arrangement, after have disabled this photoflash lamp, camera arrangement can also notify that user have disabled photoflash lamp, improves Consumer's Experience.
Refer to Fig. 3, the 3rd embodiment schematic flow sheet of the flash lamp control method of a kind of camera arrangement provided for the embodiment of the present invention.As shown in Figure 3, the method described in the present embodiment, can comprise the following steps:
S301, arrange camera arrangement electricity residue threshold value.
In the embodiment of the present invention, camera arrangement is before determining current electric quantity surplus value, the electricity residue threshold value of this camera arrangement can be pre-set, judge that the current electric quantity surplus value of himself is whether lower than electricity residue threshold value that this is preset for camera arrangement, thus prevent user and use the photoflash lamp of this camera arrangement when electricity is lower and the situation that causes camera arrangement power down too fast.
The system broadcasts that S302, the power management process received in this camera arrangement system push, this system broadcasts comprises the second information about power.
In the embodiment of the present invention, the system broadcasts that power management process in camera arrangement meeting receiving system pushes, wherein, includes the second information about power in this system broadcasts, the information such as the battery electric quantity state that namely camera arrangement is current and charged state, the embodiment of the present invention does not limit.
In the embodiment of the present invention, camera arrangement system can send system broadcasts in all cases, as, when closing or opening offline mode, in charged state, or when the electricity of battery changes, the shoot button pressed on this camera arrangement time and equipment date when changing etc., now camera arrangement system all can send system broadcasts.
S303, resolve this second information about power, and determine the current electric quantity surplus value of this camera arrangement.
In the embodiment of the present invention, this second information about power comprises the information such as the current battery electric quantity state of camera arrangement and charged state, and now camera arrangement can resolve this second information about power, determines the current electric quantity surplus value of self.
S304, when detecting that current electric quantity surplus value is more than or equal to default electricity residue threshold value, judging that whether the photoflash lamp of this camera arrangement is disabled, if so, then performing step S305; If not, process ends.
In the embodiment of the present invention, after determining current electric quantity surplus value, first camera arrangement can detect the current electric quantity surplus value determined and whether be less than default electricity residue threshold value, if current electric quantity surplus value is more than or equal to default electricity residue threshold value, then camera arrangement judges that whether photoflash lamp is disabled further, if disabled, camera arrangement can remove the forbidding to this photoflash lamp; If not disabled, process ends.If current electric quantity surplus value is less than default electricity residue threshold value, whether the photoflash lamp that camera arrangement can sentence this disconnected camera arrangement configuration is further disabled, if this photoflash lamp is not disabled, then camera arrangement can forbid this photoflash lamp.
Alternatively, before judging whether current electric quantity surplus value is less than default electricity residue threshold value, camera arrangement also first can arrange this electricity residue threshold value preset.Particularly, this electricity residue threshold value preset can be arranged before camera arrangement dispatches from the factory, and can not change; Or this electricity residue threshold value preset manually can input setting by user, and can change at any time, the embodiment of the present invention does not limit this.
S305, remove the forbidding of the photoflash lamp to this camera arrangement.
In the embodiment of the present invention, when judging that the photoflash lamp of camera arrangement is disabled, camera arrangement can remove the disabled status to photoflash lamp, and the photoflash lamp that namely user can enable this camera arrangement is taken pictures.
S306, generate the second information.
In the embodiment of the present invention, after relieving the forbidding to the photoflash lamp of this camera arrangement, this camera arrangement can generate the second information, and wherein, this second information is removed for pointing out the disabled status of this photoflash lamp of user.Alternatively, second information can be Word message, pictorial information or voice messaging etc., can point out user by the ejection mode of wicket or the mode of output audio, also can adopt other modes to point out, the embodiment of the present invention does not limit this.
In the embodiment of the present invention, the system broadcasts that camera arrangement can send by receiving battery management process obtain self current electric quantity surplus value, and then judge whether to need to forbid photoflash lamp, when not needing to forbid photoflash lamp, but when this photoflash lamp is also in disabled status, camera arrangement can remove the forbidding to this photoflash lamp.Meanwhile, camera arrangement can also notify that user has relieved the disabled status of this photoflash lamp, and therefore, user can use photoflash lamp to take pictures, and improves Consumer's Experience.
Referring to Fig. 4, is the first example structure schematic diagram of a kind of camera arrangement that the embodiment of the present invention provides.As shown in Figure 4, the camera arrangement described in the present embodiment, can comprise:
Determining unit 401, for determining the current electric quantity surplus value of camera arrangement.
In the embodiment of the present invention, determining unit 401 can determine the current electric quantity surplus value of this camera arrangement in real time.Wherein, determining unit 401 determines that the mode of current electric quantity surplus value can be broadcasted by registered in advance, current electricity surplus value is determined by broadcast real-time listening electricity, also can be the system broadcasts that pushes of the power management process received in camera arrangement system to determine current electricity surplus value, the embodiment of the present invention does not limit.
First judging unit 402, for when detecting that current electric quantity surplus value is less than default electricity residue threshold value, judges that whether the photoflash lamp of this camera arrangement is disabled.
In the embodiment of the present invention, when determining unit 401 determines the current electric quantity surplus value of this camera arrangement, first camera arrangement can detect the current electric quantity surplus value determined and whether be less than default electricity residue threshold value, if current electric quantity surplus value is less than default electricity residue threshold value, first judging unit 402 can judge that whether the photoflash lamp that camera arrangement configures is disabled further, if this photoflash lamp is disabled, then camera arrangement does not do any operation; If this photoflash lamp is not disabled, then the first performance element 403 can forbid this photoflash lamp.If current electric quantity surplus value is more than or equal to default electricity residue threshold value, then camera arrangement can judge that whether photoflash lamp is disabled further, if disabled, camera arrangement can remove the forbidding to this photoflash lamp.
First performance element 403, for when the judged result of the first judging unit 402 is no, forbids the photoflash lamp of this camera arrangement.
In the embodiment of the present invention, when the first judging unit 402 judges that the photoflash lamp of camera arrangement is not disabled, the first performance element 403 can forbid this photoflash lamp.Wherein, after photoflash lamp is disabled, the function of photoflash lamp can gray state, user can not do any operation to this photoflash lamp function, until the current electric quantity surplus value of this camera arrangement is more than or equal to electricity preset power threshold, show that the disabled concrete mode embodiment of the present invention of photoflash lamp does not limit to user.
In feasible execution mode, whether the mode that the first performance element 403 forbids this photoflash lamp can be: when photoflash lamp is not disabled, detect this photoflash lamp and be unlocked, if this photoflash lamp is unlocked, closes and forbids this photoflash lamp.
In the embodiment of the present invention, when the first judging unit 402 judges that this photoflash lamp is not disabled, whether the first performance element 403 again can detect this photoflash lamp and enable, if detect that this photoflash lamp is enabled, this first performance element 403 can be closed and be forbidden this photoflash lamp.
In the embodiment of the present invention, first camera arrangement determines current electric quantity surplus value, when detecting that current electric quantity surplus value is less than default electricity residue threshold value, judge that whether the photoflash lamp of this camera arrangement is disabled, when the photoflash lamp of this camera arrangement is not disabled, forbid the photoflash lamp of this camera arrangement.By the embodiment of the present invention, camera arrangement can forbid photoflash lamp when electricity is lower, can ensure that camera arrangement is normally taken pictures, and can avoid the inconvenience that the unexpected automatic shutdown of camera arrangement brings to user, improves Consumer's Experience.
Referring to Fig. 5, is the second example structure schematic diagram of a kind of camera arrangement that the embodiment of the present invention provides.As shown in Figure 5, on the basis of Fig. 4, camera arrangement described in the present embodiment, also can comprise at least one in the first receiving element 404, registering unit 405, first Tip element 406, second judging unit 407, second performance element 408, second Tip element 409 and setting unit 410, wherein:
First receiving element 404, the broadcast registration request that the application of taking pictures for receiving camera arrangement is submitted to.
In the embodiment of the present invention, determining unit 401 is before determining the current electric quantity surplus value of this camera arrangement, first first receiving element 404 can receive the broadcast registration request that this application of taking pictures is submitted to, this broadcast registration request carries the function (namely for monitoring electricity) of the broadcast needing registration, after broadcast registration success, determining unit 401 can carry out the electricity of real-time listening camera arrangement by this broadcast.
Registering unit 405, for responding this broadcast registration request, is this broadcast of application registration for monitoring electricity of taking pictures.
In the embodiment of the present invention, when the first receiving element 404 receives the broadcast registration request of application submission of taking pictures, registering unit 405 can respond this broadcast registration request, and be this broadcast of application registration for monitoring electricity of taking pictures, determining unit 401 can pass through this broadcast real-time listening electricity.Wherein, this broadcast being used for monitoring electricity can comprise the broadcast of resident type, and also can comprise the broadcast of non-resident type, the embodiment of the present invention does not limit.
Wherein, resident type broadcast is a kind of broadcast always all existed, and after this takes pictures closing application program, if the information broadcasting having camera arrangement system to push comes, program also can be run by system call automatically.Non-resident type broadcast is a kind of interim broadcast, that is the life cycle of this broadcast terminates along with the closedown of application program of taking pictures, if start application of taking pictures next time, application of taking pictures can again send broadcast registration request to camera arrangement and register broadcast and carry out real-time listening electricity.
First Tip element 406, after forbidding the photoflash lamp of this camera arrangement at the first performance element 403, generates the first information.
In the embodiment of the present invention, after the first performance element 403 have disabled this photoflash lamp, the first Tip element 406 can generate the first information, and wherein, this first information is for pointing out this photoflash lamp of user disabled.Alternatively, first information can be Word message, pictorial information or voice messaging etc., camera arrangement can point out user by the ejection mode of wicket or the mode of output audio, and also can adopt other modes to point out, the embodiment of the present invention does not limit this.
Second judging unit 407, for when detecting that current electric quantity surplus value is more than or equal to default electricity residue threshold value, judges that whether the photoflash lamp of camera arrangement is disabled.
In the embodiment of the present invention, when determining unit 401 determines the current electric quantity surplus value of this camera arrangement, first camera arrangement can detect the current electric quantity surplus value determined and whether be less than default electricity residue threshold value, if current electric quantity surplus value is more than or equal to default electricity residue threshold value, second judging unit 407 can judge that whether the photoflash lamp of camera arrangement is disabled further, if disabled, the second performance element 405 can remove the forbidding to this photoflash lamp; If not disabled, camera arrangement does not do any operation.If current electric quantity surplus value is less than default electricity residue threshold value, then camera arrangement can judge that whether photoflash lamp is disabled further, if this photoflash lamp is not disabled, camera arrangement can forbid this photoflash lamp.
Second performance element 408, for when the judged result of the second judging unit 407 is no, removes the forbidding of the photoflash lamp to this camera arrangement.
In the embodiment of the present invention, when the second judging unit 407 judges that photoflash lamp is disabled, the second performance element 408 can remove the disabled status to this photoflash lamp, and namely user can enable this photoflash lamp and takes pictures.
Second Tip element 409, after removing the forbidding to this photoflash lamp at the second performance element 408, generates the second information.
In the embodiment of the present invention, after the second performance element 408 has relieved the forbidding to this photoflash lamp, the second Tip element 409 can generate the second information, and wherein, this second information is removed for pointing out the disabled status of this photoflash lamp of user.Alternatively, second information can be Word message, pictorial information or voice messaging etc., second Tip element 409 can point out user by the ejection mode of wicket or the mode of output audio, and also can adopt other modes to point out, the embodiment of the present invention does not limit this.
Setting unit 410, for arranging the electricity residue threshold value that this is preset.
Alternatively, before the first judging unit 402 judges whether the current electric quantity residue threshold value determined is less than default electricity residue threshold value, setting unit 410 also first can arrange this electricity residue threshold value preset.Particularly, this electricity residue threshold value preset can be arranged before camera arrangement dispatches from the factory, and can not change; Or this electricity residue threshold value preset manually can input setting by user, and can change at any time, the embodiment of the present invention does not limit this.
In the execution mode that some are feasible, as shown in Figure 6, determining unit 401 can comprise the second receiving element 4013 and the first resolution unit 4012, wherein:
Second receiving element 4013, for the first information about power pushed by the broadcast reception camera arrangement system for monitoring electricity.
First resolution unit 4014, for resolving this first information about power, determines the current electric quantity surplus value of this camera arrangement.
In the embodiment of the present invention, the first information about power that this camera arrangement of camera arrangement system meeting real time propelling movement is current, second receiving element 4013 can by first information about power pushed for the broadcast receiver system monitoring electricity of registration, wherein, the electricity remaining information that camera arrangement is current can be included in this first information about power, the used charge values of camera arrangement etc., the embodiment of the present invention does not limit.Then, the first resolution unit 4014 can resolve the current electric quantity surplus value that this first information about power determines this camera arrangement.
In the embodiment of the present invention, camera arrangement can monitor the current electric quantity surplus value of this camera arrangement by the form of registration broadcast, and then judge whether to need to forbid photoflash lamp, after have disabled photoflash lamp, camera arrangement can also notify that user have disabled photoflash lamp, improves Consumer's Experience.
In the execution mode that some are feasible, as shown in Figure 7, determining unit 401 can comprise the 3rd receiving element 4013 and the second resolution unit 4014, wherein:
3rd receiving element 4013, the system broadcasts that the power management process for receiving in camera arrangement system pushes, wherein, this system broadcasts comprises the second information about power.
Second resolution unit 4014, for resolving this second information about power, determines the current electric quantity surplus value of this camera arrangement.
In the embodiment of the present invention, 3rd receiving element 4013 can receive the system broadcasts that the power management process in camera arrangement system pushes, wherein, the second information about power is included in this system broadcasts, the information such as the battery electric quantity state that namely camera arrangement is current and charged state, the embodiment of the present invention does not limit.
In the embodiment of the present invention, camera arrangement system can send system broadcasts in all cases, as, when closing or opening offline mode, in charged state, or when the electricity of battery changes, when pressing the shoot button of camera arrangement and when the equipment date changes etc., now camera arrangement system all can send system broadcasts.
In the embodiment of the present invention, this second information about power comprises the information such as the current battery electric quantity state of physical button and charged state, and now the second resolution unit 4014 can resolve this second information about power, determines the current electric quantity surplus value of this physical button.
In the embodiment of the present invention, the system broadcasts that camera arrangement can send by receiving battery management process obtain self current electric quantity surplus value, and then judge whether to need to forbid photoflash lamp, when not needing to forbid photoflash lamp, but when this photoflash lamp is also in disabled status, camera arrangement can remove the forbidding to this photoflash lamp.Meanwhile, camera arrangement can also notify that user has relieved the disabled status of this photoflash lamp, and therefore, user can use photoflash lamp to take pictures, and improves Consumer's Experience.
Referring to Fig. 8, is the 3rd example structure schematic diagram of a kind of camera arrangement that the embodiment of the present invention provides.As shown in Figure 8, the camera arrangement described in the present embodiment, can comprise: at least one input equipment 801; At least one output equipment 802; At least one processor 803, such as CPU; With memory 804, above-mentioned input equipment 801, output equipment 802, processor 803 are connected by bus 805 with memory 804.
Wherein, above-mentioned input equipment 801 specifically can be the contact panel of camera arrangement, comprises touch-screen and touch screen, for receiving the instruction of user's input or receiving the signal of other equipment transmission.
Above-mentioned output equipment 802 specifically can be the display screen or audio output apparatus etc. of camera arrangement, can be used for output first information and the second information.
Above-mentioned memory 804 can be high-speed RAM memory, also can be non-labile memory (non-volatile memory), such as magnetic disc store.Above-mentioned memory 804 is for storing batch processing code, and above-mentioned input equipment 801, output equipment 802 and processor 803, for calling the program code stored in memory 804, perform and operate as follows:
Above-mentioned processor 803, for determining the current electric quantity surplus value of camera arrangement; When detecting that current electric quantity surplus value is less than default electricity residue threshold value, judge that whether the photoflash lamp of this camera arrangement is disabled; When judging that the photoflash lamp of this camera arrangement is not disabled, forbid the photoflash lamp of this camera arrangement.
In feasible execution mode, above-mentioned processor 803, also for arranging the electricity residue threshold value of this camera arrangement.
In feasible execution mode, above-mentioned processor 803, also for:
When detecting that current electric quantity surplus value is more than or equal to default electricity residue threshold value, judge that whether the photoflash lamp of this camera arrangement is disabled;
When the photoflash lamp of this camera arrangement is disabled, remove the forbidding of the photoflash lamp to this camera arrangement.
In feasible execution mode, above-mentioned processor 803, also for:
The broadcast registration request that the application of taking pictures receiving this camera arrangement is submitted to;
Responding this broadcast registration request, is this broadcast of application registration for monitoring electricity of taking pictures.
Wherein, above-mentioned processor 803 determines that the mode of the current electric quantity surplus value of this camera arrangement can be:
By the first information about power that this pushes for this camera arrangement system of broadcast reception monitoring electricity;
Resolve this first information about power, determine the current electric quantity surplus value of this camera arrangement.
In feasible execution mode, above-mentioned processor 803, specifically for:
Receive the system broadcasts that the power management process in this camera arrangement system pushes, wherein, this system broadcasts comprises the second information about power;
Resolve this second information about power, determine the current electric quantity surplus value of this camera arrangement.
In feasible execution mode, above-mentioned processor 803 also for after the photoflash lamp of this camera arrangement of forbidding, generates the first information.
Wherein, this first information is for pointing out the photoflash lamp of this camera arrangement of user disabled.
In feasible execution mode, above-mentioned processor 803 also for after removing the forbidding to the photoflash lamp of this camera arrangement, generates the second information.
Wherein, this second information removes forbidding for pointing out the photoflash lamp of this camera arrangement of user.
Particularly, above-mentioned output equipment 802, for generate this first information and/or this second information at processor 803 after, exports this first information and/or this second information.
In feasible execution mode, the concrete mode that above-mentioned processor 803 forbids the photoflash lamp of this camera arrangement can be:
When this photoflash lamp is not disabled, detects this photoflash lamp and whether be unlocked;
When this photoflash lamp is unlocked, closes and forbid this photoflash lamp.
In specific implementation, output equipment 802 described in the embodiment of the present invention and processor 803 can perform the first embodiment of the flash lamp control method of a kind of camera arrangement that the embodiment of the present invention provides, the second embodiment and the implementation described in the 3rd embodiment, also can perform the implementation of the first embodiment of a kind of camera arrangement that the embodiment of the present invention provides, the second embodiment and the camera arrangement described in the 3rd embodiment, not repeat them here.
Unit in all embodiments of the present invention, universal integrated circuit can be passed through, such as CPU (CentralProcessing Unit, central processing unit), or realized by ASIC (Application Specific IntegratedCircuit, application-specific integrated circuit (ASIC)).
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention device can carry out merging, divide and deleting according to actual needs.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random access memory (Random Access Memory is called for short RAM) etc.
Above the flash lamp control method of the camera arrangement that the embodiment of the present invention provides is described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (10)
1. a flash lamp control method for camera arrangement, is characterized in that, comprising:
Determine the current electric quantity surplus value of described camera arrangement;
When detecting that described current electric quantity surplus value is less than default electricity residue threshold value, judge that whether the photoflash lamp of described camera arrangement is disabled;
When the photoflash lamp of described camera arrangement is not disabled, forbid the photoflash lamp of described camera arrangement.
2. method according to claim 1, is characterized in that, described method also comprises:
When detecting that described current electric quantity surplus value is more than or equal to described default electricity residue threshold value, judge that whether the photoflash lamp of described camera arrangement is disabled;
When the photoflash lamp of described camera arrangement is disabled, remove the forbidding of the photoflash lamp to described camera arrangement.
3. method according to claim 1, is characterized in that, described determine the current electric quantity surplus value of described camera arrangement before, described method also comprises:
The broadcast registration request that the application of taking pictures receiving described camera arrangement is submitted to;
Responding described broadcast registration request, is the described broadcast of application registration for monitoring electricity of taking pictures.
4. method according to claim 3, is characterized in that, the described broadcast for monitoring electricity comprises at least one in the broadcast of resident type and the broadcast of non-resident type.
5. method according to claim 3, is characterized in that, the described current electric quantity surplus value determining described camera arrangement, comprising:
By the first information about power that camera arrangement system described in the described broadcast reception for monitoring electricity pushes;
Resolve described first information about power, determine the current electric quantity surplus value of described camera arrangement.
6. method according to claim 1, is characterized in that, the described current electric quantity surplus value determining described camera arrangement, comprising:
Receive the system broadcasts that the power management process in described camera arrangement system pushes, described system broadcasts comprises the second information about power;
Resolve described second information about power, determine the current electric quantity surplus value of described camera arrangement.
7. method according to claim 1, is characterized in that, after the photoflash lamp of the described camera arrangement of described forbidding, described method also comprises:
Generate the first information, described first information is for pointing out the photoflash lamp of camera arrangement described in user disabled.
8. method according to claim 2, is characterized in that, described releasing is to after the forbidding of the photoflash lamp of described camera arrangement, and described method also comprises:
Generate the second information, described second information removes forbidding for pointing out the photoflash lamp of camera arrangement described in user.
9. method according to claim 1, is characterized in that, described determine the current electric quantity surplus value of described camera arrangement before, described method also comprises:
Described default electricity residue threshold value is set.
10. method according to claim 1, is characterized in that, when the described photoflash lamp when described camera arrangement is not disabled, forbids the photoflash lamp of described camera arrangement, comprising:
When the photoflash lamp of described camera arrangement is not disabled, whether the photoflash lamp detecting described camera arrangement is unlocked;
When the photoflash lamp of described camera arrangement is unlocked, closes and forbid the photoflash lamp of described camera arrangement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510136474.3A CN104822018A (en) | 2015-03-26 | 2015-03-26 | Flash lamp control method of photographing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510136474.3A CN104822018A (en) | 2015-03-26 | 2015-03-26 | Flash lamp control method of photographing device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104822018A true CN104822018A (en) | 2015-08-05 |
Family
ID=53732173
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510136474.3A Pending CN104822018A (en) | 2015-03-26 | 2015-03-26 | Flash lamp control method of photographing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104822018A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105933965A (en) * | 2016-07-05 | 2016-09-07 | 广东欧珀移动通信有限公司 | Method and device for controlling to open flashlight and terminal |
CN105955442A (en) * | 2016-04-21 | 2016-09-21 | 青岛海信移动通信技术股份有限公司 | Method and device for processing low battery of user terminal |
CN106341616A (en) * | 2016-11-15 | 2017-01-18 | 北京珠穆朗玛移动通信有限公司 | Photographing method and mobile terminal |
CN110312082A (en) * | 2019-07-11 | 2019-10-08 | 深圳传音控股股份有限公司 | Camera arrangement and its flash lamp control method, mobile terminal and storage medium |
CN111182231A (en) * | 2019-12-31 | 2020-05-19 | 联想(北京)有限公司 | Flash lamp control method and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006222529A (en) * | 2005-02-08 | 2006-08-24 | Canon Inc | Imaging apparatus |
CN102226864A (en) * | 2006-08-10 | 2011-10-26 | 捷讯研究有限公司 | Method and apparatus for power management in an electronic device |
CN103514386A (en) * | 2012-06-22 | 2014-01-15 | 纬创资通股份有限公司 | Permission control method of application program, electronic device and computer readable medium |
-
2015
- 2015-03-26 CN CN201510136474.3A patent/CN104822018A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006222529A (en) * | 2005-02-08 | 2006-08-24 | Canon Inc | Imaging apparatus |
CN102226864A (en) * | 2006-08-10 | 2011-10-26 | 捷讯研究有限公司 | Method and apparatus for power management in an electronic device |
CN103514386A (en) * | 2012-06-22 | 2014-01-15 | 纬创资通股份有限公司 | Permission control method of application program, electronic device and computer readable medium |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105955442A (en) * | 2016-04-21 | 2016-09-21 | 青岛海信移动通信技术股份有限公司 | Method and device for processing low battery of user terminal |
CN105933965A (en) * | 2016-07-05 | 2016-09-07 | 广东欧珀移动通信有限公司 | Method and device for controlling to open flashlight and terminal |
CN106341616A (en) * | 2016-11-15 | 2017-01-18 | 北京珠穆朗玛移动通信有限公司 | Photographing method and mobile terminal |
CN106341616B (en) * | 2016-11-15 | 2020-04-21 | 北京珠穆朗玛移动通信有限公司 | Photographing method and mobile terminal |
CN110312082A (en) * | 2019-07-11 | 2019-10-08 | 深圳传音控股股份有限公司 | Camera arrangement and its flash lamp control method, mobile terminal and storage medium |
CN111182231A (en) * | 2019-12-31 | 2020-05-19 | 联想(北京)有限公司 | Flash lamp control method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107843802B (en) | Internal short circuit detection method and device | |
EP3787095B1 (en) | Method and device for charging lithium ion battery | |
CN110783652B (en) | Battery charging method, battery charging device and storage medium | |
CN104822018A (en) | Flash lamp control method of photographing device | |
US20220271557A1 (en) | Charging method and apparatus, electronic device and storage medium | |
CN108091808B (en) | Battery, equipment, charging control method and device | |
CN105162193A (en) | Charging method and charging apparatus for terminal, and terminal | |
CN105720644A (en) | Charging control method and device and terminal device | |
US11205906B2 (en) | Charging processing method, terminal device and storage medium | |
CN111949107B (en) | Method and device for controlling electronic equipment comprising USB Type-C interface and electronic equipment | |
CN104778040A (en) | Photographing device | |
CN107681727B (en) | Control method and device of electronic equipment | |
CN110941321A (en) | Power supply method and device for electronic equipment and intelligent equipment | |
CN106877451B (en) | Charging port short-circuit protection method and device | |
CN107733021B (en) | Control method and device of electronic equipment | |
CN104917238A (en) | Intelligent equipment, and method and device for controlling power supply of equipment | |
CN113451670B (en) | Battery charging method, device and medium | |
CN106776204B (en) | Method and device for determining power consumption application | |
CN204886223U (en) | Device and smart machine of controlgear power supply | |
CN105870994B (en) | Terminal device | |
CN105449784A (en) | Power supply device applied to mobile terminal and power supply method for power supply device | |
CN112701737B (en) | Battery circuit, charging method and device and electronic equipment | |
CN110867962B (en) | Method and device for verifying power distribution network wrong topological relation based on feeder line contact group | |
EP4050751A1 (en) | Method, apparatus and storage medium for determining charging time length of battery | |
CN111130223B (en) | Wireless charging display 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150805 |
|
RJ01 | Rejection of invention patent application after publication |