CN104618573A - Method for controlling status of flashlight and mobile terminal - Google Patents

Method for controlling status of flashlight and mobile terminal Download PDF

Info

Publication number
CN104618573A
CN104618573A CN201410830477.2A CN201410830477A CN104618573A CN 104618573 A CN104618573 A CN 104618573A CN 201410830477 A CN201410830477 A CN 201410830477A CN 104618573 A CN104618573 A CN 104618573A
Authority
CN
China
Prior art keywords
flashlight
photoflash lamp
control command
mobile terminal
lamp chip
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
CN201410830477.2A
Other languages
Chinese (zh)
Other versions
CN104618573B (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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201410830477.2A priority Critical patent/CN104618573B/en
Publication of CN104618573A publication Critical patent/CN104618573A/en
Application granted granted Critical
Publication of CN104618573B publication Critical patent/CN104618573B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention discloses a method for controlling a status of a flashlight and a mobile terminal; the method comprises the steps: when the mobile terminal is powered on, the flashlight is registered to be independent equipment in a system kernel by means of a flashlight equipment driving module and generates an equipment node capable of sharing spatial data with system users; the flashlight APP of the mobile terminal generates a flashlight status adjusting command and generates to a control command corresponding to the flashlight status adjusting command; the flashlight APP of the mobile terminal sends the control command to a flashlight Java local interface JNI module, so that the flashlight Java local interface module transmits the control command to a flashlight equipment driving module in a manner of writing in the equipment node and then adjusts the state of the flashlight. According to the method for controlling the status of the flashlight and the mobile terminal, the flashlight of the mobile terminal can be controlled separately without depending on the software interface of a camera; when the flashlight is turned on, the function of the camera can be started.

Description

Control method and the mobile terminal of flashlight state
Technical field
The present invention relates to mobile terminal applied technical field, particularly relate to a kind of method and the mobile terminal that control flashlight state.
Background technology
Along with the fast development of smart mobile phone, the hardware configuration of smart mobile phone is more and more higher, substantially all configures camera, and for promoting shooting effect, camera all attaches photoflash lamp, is mainly used in carrying out light compensation when insufficient light, reduces contrast when contrast is large.Another purposes of photoflash lamp is exactly when flashlight uses, and namely keeps the photoflash lamp often bright effect realizing flashlight lighting.
Photoflash lamp when flashlight uses, needs to be driven by camera flash-light by prior art, thus realizes opening, close and adjusting of flashlight.
When opening flashlight, because camera software resource is taken by flashlight, now camera there will be the phenomenon that can not open.
Summary of the invention
The technical problem that the present invention mainly solves is to provide a kind of method and the mobile terminal that control flashlight state, can without the need to relying on the software interface of camera, and the independent flashlight controlling mobile terminal, can also open camera function opening flashlight while.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: provide a kind of method controlling flashlight state, comprise the steps:
In system kernel, flashlight is registered as an independently equipment by flashlight systems driver module during mobile terminal-opening, and generates and can share the device node of data function with system user space; The flashlight APP of mobile terminal produces the regulating command of flashlight state, and generates the control command of corresponding flashlight state regulating command; Control command is issued the flashlight Java native interface JNI module of mobile terminal by the flashlight APP of mobile terminal, make flashlight Java native interface module by the mode of write device node, control command is delivered in flashlight systems driver module, regulate flashlight state.
Wherein, comprise after making flashlight Java native interface module control command is delivered to the step of flashlight systems driver module by the mode of write device node:
Flashlight systems driver module is made control command to be passed to the photoflash lamp chip drives module of mobile terminal;
Make the corresponding relation that photoflash lamp chip drives module obtains according to control command and photoflash lamp chip drives voltage/current preset value, control photoflash lamp chip and export corresponding voltage/electric current.
Wherein, make the corresponding relation that described photoflash lamp chip drives module obtains according to control command and photoflash lamp chip drives voltage/current preset value, the step controlling photoflash lamp chip output corresponding voltage/electric current comprises: judge that whether control command is corresponding with photoflash lamp chip drives preset value, if not corresponding, then control command is converted to the value corresponding with photoflash lamp chip drives preset value or photoflash lamp chip drives preset value is converted to the photoflash lamp chip drives preset value corresponding with control command, then control photoflash lamp chip output corresponding voltage/electric current.
Wherein, system kernel comprises: Android kernel, iOS kernel, Symbian kernel, Windows Phone kernel.
For solving the problems of the technologies described above, another technical solution used in the present invention is: provide a kind of mobile terminal controlling flashlight state, comprising: flashlight APP, flashlight systems driver module, flashlight Java native interface module, flashlight systems driver module.
Flashlight systems driver module is registered as an independently equipment flashlight when being used for mobile terminal-opening in system kernel, and generates and can share the device node of data function with system user space;
Flashlight APP for generation of the regulating command of flashlight state, and generates the control command of corresponding flashlight state regulating command;
Flashlight APP control module, during for receiving the regulating command of flashlight state at flashlight APP, generates the control command of corresponding flashlight state regulating command;
Flashlight Java native interface module, the control command that the flashlight APP for mobile terminal receive sends, and by the mode of write device node, control command is delivered in flashlight systems driver module, regulate flashlight state.
Wherein, this mobile terminal also comprises:
Photoflash lamp chip drives module, for receiving the control command that flashlight systems driver module transmits, according to the corresponding relation of control command and photoflash lamp chip drives voltage/current preset value, controls photoflash lamp chip output corresponding voltage/electric current.
Wherein, photoflash lamp chip drives module comprises judging unit, control unit, whether judging unit is corresponding with photoflash lamp chip drives preset value for the control command judging flashlight APP control module and produce, if not corresponding, then control command be converted to the value corresponding with photoflash lamp chip drives preset value or photoflash lamp chip drives preset value is rewritten as the photoflash lamp chip drives preset value corresponding with control command;
Control unit is used for exporting corresponding voltage/electric current according to the output control photoflash lamp chip of judging unit.
Wherein, system kernel is Android kernel, iOS kernel, Symbian kernel, Windows Phone kernel.
The invention has the beneficial effects as follows: the situation being different from prior art, the present invention is registered as an independently equipment flashlight by flashlight systems driver module when mobile terminal-opening in system kernel, and generate and can share the device node of data function with system user space, then the regulating command of flashlight state is produced by the flashlight APP of mobile terminal, and generate the control command of corresponding flashlight state regulating command, after flashlight Java native interface module receives order and order write device node to the flashlight systems driver module transmission of system kernel space, thus control photoflash lamp chip output corresponding voltage/electric current, without the need to being driven by camera flash-light, can independently open and regulate flashlight, do not affect the use of camera simultaneously.
Accompanying drawing explanation
Fig. 1 is prior art flashlight condition control method schematic diagram;
Fig. 2 is the schematic flow sheet that the present invention controls an execution mode of the method for flashlight state;
Fig. 3 is the schematic flow sheet that the present invention controls another execution mode of the method for flashlight state;
Fig. 4 is the order transmission schematic flow sheet that the present invention controls another execution mode of the method for flashlight state;
Fig. 5 is the schematic flow sheet that the present invention controls the another execution mode of the method for flashlight state;
Fig. 6 is the structural representation that the present invention controls mobile terminal first execution mode of flashlight state;
Fig. 7 is the structural representation that the present invention controls mobile terminal second execution mode of flashlight state;
Fig. 8 is the structural representation that the present invention controls mobile terminal the 3rd execution mode of flashlight state;
Fig. 9 is the structural representation that the present invention controls mobile terminal the 4th execution mode of flashlight state.
Embodiment
Below in conjunction with drawings and embodiments, the present invention is described in detail.
For ensureing that the present invention can normally implement, the mobile terminal in the present invention is the mobile terminal of band photoflash lamp, and refer to Fig. 1, Fig. 1 is prior art flashlight condition control method schematic diagram.In prior art, flashlight APP will control flashlight needs to create a Camera object in flashlight APP in the user space, then the setParameters function call Camera HAL layer related libraries of Camera is used by Camera, be sent to Camera photoflash lamp regulating the control command of flashlight to drive, Camera photoflash lamp drives and again control name is sent to photoflash lamp chip drives, order photoflash lamp chip exports corresponding voltage/current, thus control LED hardware exports different brightness.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet that the present invention controls an execution mode of the method for flashlight state.The method comprises the following steps:
S101: in system kernel, flashlight is registered as an independently equipment by flashlight systems driver module during mobile terminal-opening, and generate and can share the device node of data function with system user space.
Mobile terminal is registered as an independently equipment flashlight by flashlight systems driver module when starting shooting in system kernel, can be that mobile terminal is registered as an independently equipment flashlight by flashlight systems driver module when dispatching from the factory in system kernel during start, also user can use during flashlight accreditation process at follow-up certain flashlight is registered as an independently equipment.And automatically generate the device node sharing data function with system user space, such as generate dev or sys or proc device node.System kernel comprises: Android kernel, iOS kernel, Symbian kernel, Windows Phone kernel, present embodiment is registered as an independently equipment at Android kernel flashlight, at other mobile terminal styles, flashlight can be registered as an independently equipment in concrete enforcement, such as in iOS kernel, flashlight be registered as an independently equipment.
S102: the flashlight APP of described mobile terminal produces the regulating command of flashlight state, and generates the control command of corresponding described flashlight state regulating command.
The regulating command of flashlight state is produced by the flashlight APP controlled on mobile terminal, flashlight APP comprises flashlight on/off switch, flashlight by-pass cock or flashlight by-pass cock, described flashlight control switch comprises digital control switch, many driving switch, one or more combination in smooth adjustment switch, in present embodiment, flashlight APP comprises smooth adjustment switch, in concrete enforcement, flashlight APP can comprise multiple switch, such as flashlight on/off switch and flashlight by-pass cock, user produces regulating command by regulating smooth adjustment switch in flashlight APP, flashlight APP generates the control command of corresponding flashlight state regulating command according to the regulating command that the change of smooth adjustment switch-mode regulation produces, control command to distinguish the order of different conditions, such as numeral, letter, numeral and alphabetical combination etc., present embodiment uses the numeral of 0-255, such as regulating smooth adjustment switch to smooth to high order end generation control command is 0, smooth adjustment switch is regulated to smooth to the middle control command producing correspondence position, regulating smooth adjustment switch to produce control command to low order end is 255, other can be used in concrete enforcement can to distinguish the order of different conditions, such as binary number, octal number, upper and lower case letter etc.
S103: described control command is issued the flashlight Java native interface JNI module of described mobile terminal by the flashlight APP of described mobile terminal, described flashlight Java native interface module is delivered to described control command in flashlight systems driver module by the mode writing described device node, regulates described flashlight state.
The control command that step S102 produces is sent to flashlight Java native interface JNI (the Java Native Interface) module in mobile terminal by the flashlight App in mobile terminal, flashlight Java native interface module receives described control command, be delivered in mobile terminal in flashlight systems driver module by the mode of the device node that described control command write step S101 is generated, thus open/regulate described flashlight state according to different command.
Be different from prior art, the present invention is registered as an independently equipment flashlight by flashlight systems driver module when mobile terminal-opening in system kernel, and generate and can share the device node of data function with system user space, then the flashlight APP generation flashlight state regulating command of mobile terminal is controlled by user, and generate the control command of corresponding flashlight state regulating command, after flashlight Java native interface module receives order and order write device node to the flashlight systems driver module transmission of system kernel space, thus control photoflash lamp chip output corresponding voltage/electric current, without the need to being driven by camera flash-light, can independently open and regulate flashlight, do not affect the use of camera simultaneously.
Refer to Fig. 3 and Fig. 4, Fig. 3 is the schematic flow sheet that the present invention controls another execution mode of the method for flashlight state, and Fig. 4 is the order transmission schematic flow sheet that the present invention controls another execution mode of the method for flashlight state.The method comprises the following steps:
S201: in system kernel, flashlight is registered as an independently equipment by flashlight systems driver module during mobile terminal-opening, and generate and can share the device node of data function with system user space.
S202: the flashlight APP of described mobile terminal produces the regulating command of flashlight state, and generates the control command of corresponding described flashlight state regulating command.
S203: described control command is issued the flashlight Java native interface JNI module of described mobile terminal by the flashlight APP of described mobile terminal, makes described flashlight Java native interface module, by the mode writing described device node, described control command is delivered to flashlight systems driver module.
Step S201 to S203 is similar with step S101 to S103 in last execution mode, repeats no more herein.Flashlight Java native interface module enters step S204 after control command being delivered to flashlight systems driver module by the mode of write device node.
S204: make described flashlight systems driver module described control command be passed to the photoflash lamp chip drives module of described mobile terminal.
Receiving step S203 passes to the photoflash lamp chip drives module in mobile terminal by the control command writing described device node.Step S205 is entered passed to the photoflash lamp chip drives module in mobile terminal by the control command writing described device node after.
S205: make the corresponding relation that described photoflash lamp chip drives module obtains according to described control command and described photoflash lamp chip drives voltage/current preset value, controls photoflash lamp chip and exports corresponding voltage/electric current.
The control command that in mobile terminal, photoflash lamp chip drives module is transmitted according to step S204, control photoflash lamp chip in mobile terminal and export corresponding voltage/current, suppose the numeral that the control command that present embodiment uses is 0-255, the order of other difference different conditions can be used in concrete enforcement, such as alphabetical, English etc., when described control command is 0, photoflash lamp chip output current is 0, and flashlight cuts out; When control command is 255, the maximum voltage/current that flashlight exports according to photoflash lamp chip exports high-high brightness, and when control command is other numerical value, flashlight exports the brightness of corresponding voltage/electric current according to the voltage/current that photoflash lamp chip exports.
Refer to Fig. 5, Fig. 5 is the schematic flow sheet that the present invention controls the another execution mode of the method for flashlight state.The method comprises the following steps:
S301: in system kernel, flashlight is registered as an independently equipment by flashlight systems driver module during mobile terminal-opening, and generate and can share the device node of data function with system user space.
S302: the flashlight APP of described mobile terminal produces the regulating command of flashlight state, and generates the control command of corresponding described flashlight state regulating command.
S303: described control command is issued the flashlight Java native interface JNI module of described mobile terminal by the flashlight APP of described mobile terminal, makes described flashlight Java native interface module, by the mode writing described device node, described control command is delivered to flashlight systems driver module.
S304: make described flashlight systems driver module described control command be passed to the photoflash lamp chip drives module of described mobile terminal.
Step S301 to S304 is similar to aforementioned embodiments step, repeats no more herein.Step S05 is entered after making flashlight systems driver module control command be passed to the photoflash lamp chip drives module of mobile terminal.
S305: judge that whether described control command is corresponding with described photoflash lamp chip drives preset value, if not corresponding, then described control command be converted to the value corresponding with described photoflash lamp chip drives preset value or described photoflash lamp chip drives preset value is converted to the photoflash lamp chip drives preset value corresponding with described control command, then controlling described photoflash lamp chip output corresponding voltage/electric current.
The preset value of the photoflash lamp chip drives of different mobile terminal factory preset may be different, for ensureing that the present invention normally can run on different mobile terminal, whether the control command needing determining step S304 to transmit is corresponding with the preset value of photoflash lamp chip drives, if described control command is not corresponding with the preset value of photoflash lamp chip drives, then described control command is converted to the value corresponding with described photoflash lamp chip drives preset value or described photoflash lamp chip drives preset value is converted to the photoflash lamp chip drives preset value corresponding with described control command.Described control command is converted to the value corresponding with described photoflash lamp chip drives preset value in present embodiment.The photoflash lamp chip drives preset value corresponding with control command can also be converted to by photoflash lamp chip drives preset value in concrete enforcement.Control photoflash lamp chip again and export corresponding voltage/Current adjustment flashlight state.
The present invention is registered as an independently equipment flashlight by flashlight systems driver module in system kernel, and generate and can share the device node of data function with system user space, then the flashlight APP generation flashlight state regulating command of mobile terminal is controlled by user, and generate the control command of corresponding flashlight state regulating command, after flashlight Java native interface module receives order and order write device node to the flashlight systems driver module transmission of system kernel space, photoflash lamp chip drives module judges that whether control command is corresponding with photoflash lamp chip drives preset value, if not corresponding, control command be converted to the value corresponding with photoflash lamp chip drives preset value or photoflash lamp chip drives preset value be converted to the photoflash lamp chip drives preset value corresponding with control command and control photoflash lamp chip again and export corresponding voltage/Current adjustment flashlight state.Make the present invention can adapt to photoflash lamp chip drives preset value different mobile terminal, thus control photoflash lamp chip output corresponding voltage/electric current, without the need to being driven by camera flash-light, can independently open and regulate flashlight, not affect the use of camera simultaneously.
Refer to Fig. 6, Fig. 6 is the structural representation that the present invention controls the first execution mode of the mobile terminal of flashlight state.This mobile terminal comprises: the flashlight APP control module 301, flashlight Java native interface module 302, the flashlight systems driver module 303 that are sequentially connected.
Flashlight APP control module 301 for generation of the regulating command of flashlight state, and generates the control command of corresponding flashlight state regulating command.
The control command that flashlight Java native interface module 302 sends for the flashlight APP control module 301 of mobile terminal receive, and by the mode of write device node, control command is delivered in flashlight systems driver module 303.
Flashlight systems driver module 303 for flashlight being registered as an independently equipment in system kernel during mobile terminal-opening, and generating and can share the device node of data function with system user space.
Refer to Fig. 7, Fig. 7 is the structural representation that the present invention controls the second execution mode of the mobile terminal of flashlight state.This mobile terminal comprises: the flashlight APP control module 401, flashlight Java native interface module 402, flashlight systems driver module 403, the photoflash lamp chip drives module 404 that are sequentially connected.
Flashlight APP control module 401 for generation of the regulating command of flashlight state, and generates the control command of corresponding flashlight state regulating command.
The control command that flashlight Java native interface module 402 sends for the flashlight APP control module 401 of mobile terminal receive, and by the mode of write device node, control command is delivered in flashlight systems driver module 403.
Flashlight systems driver module 403 for flashlight being registered as an independently equipment in system kernel during mobile terminal-opening, and generating and can share the device node of data function with system user space.
The control command that photoflash lamp chip drives module 404 is transmitted for receiving flashlight systems driver module 403, the corresponding relation of the control command obtained according to photoflash lamp chip drives module 404 and photoflash lamp chip drives voltage/current preset value, controls photoflash lamp chip and exports corresponding voltage/electric current.
Refer to Fig. 8, Fig. 8 is the structural representation that the present invention controls the 3rd execution mode of the mobile terminal of flashlight state.This mobile terminal comprises: flashlight APP control module 510, flashlight Java native interface module 520, flashlight systems driver module 530, photoflash lamp chip drives module 540, wherein flashlight APP control module 510 comprises regulon 511, judging unit 512, flashlight Java native interface module 520, flashlight systems driver module 530, photoflash lamp chip drives module 540 are sequentially connected, and judging unit 512 is also connected with flashlight Java native interface module 520, regulon 511, photoflash lamp chip drives module 540.
Regulon 511 is for generation of the regulating command of flashlight state, and the control command generating the regulating command of corresponding flashlight state is transferred to flashlight Java native interface module 520.
Whether judging unit 512 is corresponding with photoflash lamp chip drives preset value for the control command judging regulon 511 and produce, if not corresponding, then control command is converted to the value corresponding with photoflash lamp chip drives preset value or photoflash lamp chip drives preset value is rewritten as the photoflash lamp chip drives preset value corresponding with control command, then control command is transferred to flashlight systems driver module 530.
The control command that flashlight Java native interface module 520 sends for the flashlight APP control module 510 of mobile terminal receive, and by the mode of write device node, control command is delivered in flashlight systems driver module 530.
Flashlight systems driver module 530 for flashlight being registered as an independently equipment in system kernel during mobile terminal-opening, and generating and can share the device node of data function with system user space.
The control command that photoflash lamp chip drives module 540 is transmitted for receiving flashlight systems driver module 530, the corresponding relation of the control command obtained according to photoflash lamp chip drives module 540 and photoflash lamp chip drives voltage/current preset value, controls photoflash lamp chip and exports corresponding voltage/electric current.
Refer to Fig. 9, Fig. 9 is the structural representation that the present invention controls the 4th execution mode of the mobile terminal of flashlight state.This mobile terminal comprises: flashlight APP control module 610, flashlight Java native interface module 620, flashlight systems driver module 630, photoflash lamp chip drives module 640, wherein photoflash lamp chip drives module 640 comprises control unit 641, judging unit 642, and flashlight APP control module 610, flashlight Java native interface module 620, flashlight systems driver module 630, judging unit 642, control unit 641 are sequentially connected.
Whether judging unit 612 is corresponding with photoflash lamp chip drives preset value for the control command judging flashlight APP control module 610 and produce, if not corresponding, then control command be converted to the value corresponding with photoflash lamp chip drives preset value or photoflash lamp chip drives preset value is rewritten as the photoflash lamp chip drives preset value corresponding with control command.
Control unit 611, for the result according to judging unit 612, controls photoflash lamp chip and exports corresponding voltage/electric current.
The control command that flashlight Java native interface module 620 sends for the flashlight APP control module 610 of mobile terminal receive, and by the mode of write device node, control command is delivered in flashlight systems driver module 630.
Flashlight systems driver module 630 for flashlight being registered as an independently equipment in system kernel during mobile terminal-opening, and generating and can share the device node of data function with system user space.
The foregoing is only embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (8)

1. control a method for flashlight state, it is characterized in that, comprise the steps:
In system kernel, flashlight is registered as an independently equipment by flashlight systems driver module during mobile terminal-opening, and generates and can share the device node of data function with system user space;
The flashlight APP of described mobile terminal produces the regulating command of flashlight state, and generates the control command of corresponding described flashlight state regulating command;
Described control command is issued the flashlight Java native interface JNI module of described mobile terminal by the flashlight APP of described mobile terminal, described flashlight Java native interface module is delivered to described control command in flashlight systems driver module by the mode writing described device node, regulates described flashlight state.
2. method according to claim 1, is characterized in that, described in make described flashlight Java native interface module by writing the mode of described device node described control command is delivered to the step of flashlight systems driver module after comprise:
Described flashlight systems driver module is made described control command to be passed to the photoflash lamp chip drives module of described mobile terminal;
Make the corresponding relation that described photoflash lamp chip drives module obtains according to described control command and described photoflash lamp chip drives voltage/current preset value, control photoflash lamp chip and export corresponding voltage/electric current.
3. method according to claim 2, it is characterized in that, the described corresponding relation that described photoflash lamp chip drives module is obtained according to described control command and described photoflash lamp chip drives voltage/current preset value, the step controlling photoflash lamp chip output corresponding voltage/electric current comprises: judge that whether described control command is corresponding with described photoflash lamp chip drives preset value, if not corresponding, then described control command is converted to the value corresponding with described photoflash lamp chip drives preset value or described photoflash lamp chip drives preset value is converted to the photoflash lamp chip drives preset value corresponding with described control command, control described photoflash lamp chip again and export corresponding voltage/electric current.
4. method according to claim 1, is characterized in that, described system kernel is Android kernel, iOS kernel, Symbian kernel or Windows Phone kernel.
5. control a mobile terminal for flashlight state, it is characterized in that, comprising:
Flashlight systems driver module, for flashlight being registered as an independently equipment in system kernel during mobile terminal-opening, and generating and can share the device node of data function with system user space;
Flashlight APP control module, for when described flashlight APP receives the regulating command of flashlight state, generates the control command of corresponding described flashlight state regulating command;
Flashlight Java native interface module, for the described control command that the flashlight APP receiving described mobile terminal sends, and by the mode writing described device node, described control command is delivered in flashlight systems driver module, regulate described flashlight state.
6. mobile terminal according to claim 5, is characterized in that, described mobile terminal also comprises:
Photoflash lamp chip drives module, for receiving the described control command that described flashlight systems driver module transmits, according to the corresponding relation of described control command and described photoflash lamp chip drives voltage/current preset value, control photoflash lamp chip and export corresponding voltage/electric current.
7. mobile terminal according to claim 6, it is characterized in that, described photoflash lamp chip drives module comprises judging unit, control unit, whether described judging unit is corresponding with described photoflash lamp chip drives preset value for the control command judging described flashlight APP control module and produce, if not corresponding, then described control command be converted to the value corresponding with described photoflash lamp chip drives preset value or described photoflash lamp chip drives preset value is rewritten as the photoflash lamp chip drives preset value corresponding with described control command;
Described control unit is used for exporting corresponding voltage/electric current according to the output control photoflash lamp chip of described judging unit.
8. mobile terminal according to claim 5, is characterized in that, described system kernel is Android kernel, iOS kernel, Symbian kernel or Windows Phone kernel.
CN201410830477.2A 2014-12-25 2014-12-25 Control the method and mobile terminal of flashlight state Active CN104618573B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410830477.2A CN104618573B (en) 2014-12-25 2014-12-25 Control the method and mobile terminal of flashlight state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410830477.2A CN104618573B (en) 2014-12-25 2014-12-25 Control the method and mobile terminal of flashlight state

Publications (2)

Publication Number Publication Date
CN104618573A true CN104618573A (en) 2015-05-13
CN104618573B CN104618573B (en) 2019-04-30

Family

ID=53152842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410830477.2A Active CN104618573B (en) 2014-12-25 2014-12-25 Control the method and mobile terminal of flashlight state

Country Status (1)

Country Link
CN (1) CN104618573B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572040A (en) * 2010-12-30 2012-07-11 希姆通信息技术(上海)有限公司 Mobile terminal
CN102821517A (en) * 2012-07-24 2012-12-12 华为终端有限公司 Method and device for controlling electric torch
CN103791473A (en) * 2012-10-31 2014-05-14 深圳富泰宏精密工业有限公司 System and method for starting flashlight application
CN104159358A (en) * 2014-06-30 2014-11-19 青岛海信移动通信技术股份有限公司 Electric torch drive circuit and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572040A (en) * 2010-12-30 2012-07-11 希姆通信息技术(上海)有限公司 Mobile terminal
CN102821517A (en) * 2012-07-24 2012-12-12 华为终端有限公司 Method and device for controlling electric torch
CN103791473A (en) * 2012-10-31 2014-05-14 深圳富泰宏精密工业有限公司 System and method for starting flashlight application
CN104159358A (en) * 2014-06-30 2014-11-19 青岛海信移动通信技术股份有限公司 Electric torch drive circuit and mobile terminal

Also Published As

Publication number Publication date
CN104618573B (en) 2019-04-30

Similar Documents

Publication Publication Date Title
JP6502329B2 (en) System including control device and controlled device
EP2291058B1 (en) Illumination system and illumination control method thereof
CN109831858B (en) Intelligent lighting system
CN105517256A (en) Intelligent LED filament lamp and dimming method thereof
CN105657892A (en) Network equipment indicator lamp adjusting method, network equipment and system
CN109068445B (en) Wireless synchronous control method for LED light change modes
CN105208752B (en) A kind of LED lamp wireless control system and control method
CN104869734A (en) Lamplight system adopting multi-path parallel control
CN105429704A (en) Visible light modulation system for visible light communication
CN205378286U (en) Intelligence LED filament lamp
US20150351189A1 (en) Controlling System for LED Lamp
CN204707315U (en) Brightness controlled parlor lamp
WO2015096200A1 (en) Led backlight drive circuit and drive method therefor
US20130024015A1 (en) Method for controlling building automatic controll device
KR102189465B1 (en) Smart lamp for wireless communication and system for controlling smart lamp
CN104618573A (en) Method for controlling status of flashlight and mobile terminal
CN106163058A (en) Intelligent illumination control device and illumination control method
CN105472824A (en) Illuminating brightness adjusting method and illuminating brightness adjusting device, illuminating method and illuminating device
US20170273164A1 (en) Systems, methods, and devices for intelligent lighting control
CN204795692U (en) Control panel is dabbed in master control based on DALI system
CN205160861U (en) LED lamps and lanterns wireless control system
CN110149254B (en) Wireless switch control method, wireless switch and computer readable storage medium
CN202931640U (en) Drive circuit and drive system for keyboard lamp of mobile terminal
US20160336797A1 (en) Systems and methods for managing power sources for a plurality of luminaires
CN107592712B (en) Light direct control system and control method thereof

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