CN106302993B - The control method and mobile terminal of flashlight - Google Patents
The control method and mobile terminal of flashlight Download PDFInfo
- Publication number
- CN106302993B CN106302993B CN201610617520.6A CN201610617520A CN106302993B CN 106302993 B CN106302993 B CN 106302993B CN 201610617520 A CN201610617520 A CN 201610617520A CN 106302993 B CN106302993 B CN 106302993B
- Authority
- CN
- China
- Prior art keywords
- time
- flashlight
- delay
- mobile terminal
- closing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/22—Illumination; Arrangements for improving the visibility of characters on dials
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72469—User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72484—User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses the control method of flashlight, which includes: to receive the instruction for the flashlight time-delay closing for opening the mobile terminal, obtains the delay time of the hand-operated pump time-delay closing, closes the flashlight according to the delay time.The invention also discloses a kind of corresponding mobile terminals.Control method disclosed by the embodiments of the present invention, the flashlight that can be realized mobile terminal are closed in the scheduled time, are brought convenience to user, are improved the usage experience of user.
Description
Technical field
The present invention relates to mobile communication technology field more particularly to the control methods and mobile terminal of flashlight.
Background technique
As dependence of the user to portable mobile termianl, especially mobile phone is more and more stronger, some of mobile terminal are added
Function also uses more and more, such as the flashlight of mobile terminal.The function that flashlight is had it long ago as one is user
Various illumination conveniences are brought, are a critical functions of mobile terminal.Wherein, what the flashlight of mobile terminal was driven shines
Part can be the LED light being arranged on mobile terminal, be also possible to mobile terminal intrinsic flash lamp or screen;And flashlight
Opening and closing can generally be completed by the movement of pressing entity key or touch screen
Various inconvenience but are brought to user sometimes to complete the closing of flashlight by the movement of pressing entity key or touch screen,
Therefore, the existing solution that flashlight is closed by acoustic control.However, acoustic control equally exists its limitation, such as remote nothing
Method realizes control etc., moreover voice control function and not all mobile terminal all have.Thus, in the prior art, no matter pass through pressing
The closing of flashlight is completed in the movement of entity key or touch screen, or closes flashlight by acoustic control, is difficult to meet user's
Convenience requirement causes user bad using the experience of the flashlight of mobile terminal.
Summary of the invention
The embodiment of the invention provides a kind of control method of flashlight and mobile terminals, to solve user in the prior art
Use the bad problem of the experience of the flashlight of mobile terminal.
On the one hand, the embodiment of the present invention provides the control method of flashlight, and the control method includes:
Receive the instruction for opening the flashlight time-delay closing of the mobile terminal;
Obtain the delay time of the flashlight time-delay closing;
The flashlight is closed according to the delay time.
On the other hand, the embodiment of the invention also provides a kind of mobile terminals, comprising:
First receiving module, for receiving the instruction for opening the flashlight time-delay closing of the mobile terminal;
Module is obtained, for obtaining the delay time of the flashlight time-delay closing;
Closedown module, for closing the flashlight according to the delay time.
Control method provided in an embodiment of the present invention opens the flashlight time-delay closing of the mobile terminal by reception
Instruction, obtains the delay time of the flashlight time-delay closing, closes the flashlight according to the delay time, realizes shifting
The flashlight of dynamic terminal is closed in the scheduled time, is brought convenience to user, is improved the usage experience of user.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, institute in being described below to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
The attached drawing of example for those of ordinary skill in the art without creative efforts, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the flow chart of the first embodiment of the control method of flashlight of the present invention;
Fig. 2 is the flow chart of the second embodiment of the control method of flashlight of the present invention;
Fig. 3 is the flow chart of the 3rd embodiment of the control method of flashlight of the present invention;
Fig. 4 is the structural block diagram of the first embodiment of the mobile terminal of flashlight of the present invention;
Fig. 5 is the structural block diagram of the second embodiment of the mobile terminal of flashlight of the present invention;
Fig. 6 is the structural block diagram of the 3rd embodiment of the mobile terminal of flashlight of the present invention;
Fig. 7 is the structural block diagram of the fourth embodiment of the mobile terminal of flashlight of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
First embodiment
As shown in Figure 1, being the flow chart of the first embodiment of control method of the present invention.The control method includes:
Step 101, the instruction for opening the flashlight time-delay closing of mobile terminal is received.
In embodiments of the present invention, open the flashlight time-delay closing of mobile terminal instruction can by user it is real-time under
It reaches, can also be assigned automatically after opening flashlight according to system intialization data.
Step 102, the delay time of flashlight time-delay closing is obtained.
In the present embodiment, after receiving the instruction for opening the flashlight time-delay closing of mobile terminal, then the flashlight is obtained
The delay time of cylinder time-delay closing, the time can also be arranged in advance or in real time by system intialization by user.
Step 103, flashlight is closed according to delay time.
In the present embodiment, the flashlight of mobile terminal has a delay time, and mobile terminal can be according to the delay time
To close flashlight.Wherein, which can be a duration, be also possible to a regular time
As another party's embodiment of the present embodiment, delay time includes time-delay closing duration, the time-delay closing duration
It specifically can be a delay duration.Wherein step 103 can with the following steps are included:
The delay closing circuit for starting power flashlights lasts after delay closing circuit starting more than time-delay closing duration
When, close flashlight.
In the present embodiment, mobile terminal is provided with a delay closing circuit, which can open from flashlight
When opening while starting, when length is more than time-delay closing duration (delay duration) when operating, then controls flashlight closing.For example,
When flashlight uses LED light as light source, which can control light source power supply circuit, be allowed in delay duration
After disconnect.Wherein, which can be systemic presupposition, is also possible to user and presets according to their own needs.
For example, when user obtains the delay time of flashlight time-delay closing a delay setting window can be popped up, user can be herein
Window selection wants the duration etc. for being delayed and being delayed, then mobile terminal timing after flashlight unlatching, delay when
The flashlight is closed at the end of length.
Control method provided in an embodiment of the present invention opens the finger of the flashlight time-delay closing of mobile terminal by receiving
It enables, obtains the delay time of flashlight time-delay closing, flashlight is closed according to delay time, realizes the flashlight of mobile terminal
It is closed in the scheduled time, brings convenience to user, improve the usage experience of user.
Second embodiment
As shown in Fig. 2, being the flow chart of the second embodiment of control method of the present invention.The control method includes:
Step 201, setting of the user to delay time is received, delay time includes the target shut-in time.
In the present embodiment, which includes the target shut-in time, and the target shut-in time is by user setting.Wherein,
Step 201 can occur before step 202, can also occur after step 202.For example, user can obtain issuing
The target shut-in time is set before the instruction of the delay time of flashlight time-delay closing;It is also possible to receive when mobile terminal
After the instruction for opening the flashlight of mobile terminal, pop-up window chooses whether the setting target shut-in time for user, and completes
The setting of specific time numerical value.
Step 202, the instruction for opening the flashlight time-delay closing of mobile terminal is received.
Step 203, the delay time of flashlight time-delay closing is obtained.
Step 202, step 203 are identical as the corresponding steps of the first embodiment of control method of the invention, herein no longer
It repeats.
Step 204, flashlight is closed according to delay time.
In the embodiment of the present invention, it can control flashlight and closed in the target shut-in time.
Control method provided in an embodiment of the present invention, by receiving setting of the user to delay time, delay time includes
The target shut-in time;Receive the instruction for opening the flashlight time-delay closing of mobile terminal;Obtain the delay of flashlight time-delay closing
Time;Flashlight is closed according to delay time.Hereby it is achieved that the flashlight of timing turning-off mobile terminal, double in liberation user
The electricity that mobile terminal is saved while hand, improves user experience.
3rd embodiment
As shown in figure 3, being the flow chart of the 3rd embodiment of control method of the present invention.The control method includes:
Step 301, setting of the user to time-delay closing duration is received.
In the present embodiment, when time-delay closing, a length of flashlight was opened into the duration of closing.Wherein, step 301 can be
Occur before step 302, can also occur after step 302.For example, user can obtain flashlight time-delay closing issuing
Delay time instruction before the time-delay closing duration is set;It is also possible to open mobile terminal when mobile terminal receives
After the instruction of flashlight, pop-up window chooses whether setting time-delay closing duration for user, and completes specific duration numerical value
Setting.
Step 302, flashlight is opened.
In embodiments of the present invention, on the one hand the instruction for opening the flashlight of mobile terminal can be user and pass through by compacting
On the other hand the methods of body key, contact action, sound control or eyeball control can also be that mobile terminal is logical come the instruction assigned
Cross the instruction that internal judgment is voluntarily assigned.And the flashlight of mobile terminal can be set to the LED light of mobile terminal by opening
It realizes, can also be always on by controlling the flash lamp of mobile terminal to realize, the screen of control mobile terminal can also be passed through
It is always on high brightness formation to realize.
Step 303, the instruction for opening the flashlight time-delay closing of mobile terminal is received.
Step 303 is identical as the corresponding steps of the first embodiment of control method of the invention, and details are not described herein again.
Step 304, the time that will acquire the delay time of flashlight time-delay closing is recorded as the opening time.
In the present embodiment, after flashlight is opened, the time for opening the flashlight is recorded as the opening time.
Step 305, the delay time of flashlight time-delay closing is obtained.
In the embodiment of the present invention, the delay time for obtaining flashlight time-delay closing is the delay for obtaining flashlight time-delay closing
Close duration.
Step 306, according to time-delay closing duration and opening time, the target shut-in time is calculated.
In the present embodiment, the target shut-in time is some time that flashlight timing is closed.Wherein, the target shut-in time
It is calculated by time-delay closing duration and opening time, for example, the opening time is that target is closed plus time-delay closing duration
Close the time.
Step 307, flashlight is closed in the target shut-in time.
In the embodiment of the present invention, mobile terminal was completed to close the operation of flashlight in the target shut-in time.
Control method provided in an embodiment of the present invention opens flashlight by receiving setting of the user to time-delay closing duration
Cylinder receives the instruction for opening the flashlight time-delay closing of mobile terminal, the time for opening flashlight is recorded as the opening time, is obtained
According to time-delay closing duration and opening time the target shut-in time is calculated, in target in the time-delay closing duration for taking flashlight
Shut-in time closes flashlight.Hereby it is achieved that being arranged according to the time-delay closing of user come time-delay closing flashlight, use is improved
Family experience.
The embodiment of the display methods of mobile terminal of the present invention is discussed in detail above.It will correspond to above-mentioned side below
The device (i.e. mobile terminal) of method is further elaborated.Wherein, mobile terminal can be mobile phone, tablet computer, MP3 or MP4 etc..
Fourth embodiment
As shown in figure 4, the structural block diagram of the first embodiment for mobile terminal of the present invention.The mobile terminal 400 is able to achieve
Each step of the first embodiment of control method of the invention, wherein mobile terminal 400 includes the first receiving module 401, obtains
Module 402 and closedown module 403.
First receiving module 401 is connected with module 402 is obtained, for receiving the flashlight delay for opening mobile terminal
The instruction of closing.
In embodiments of the present invention, open the flashlight time-delay closing of mobile terminal instruction can by user it is real-time under
It reaches, can also be assigned automatically after opening flashlight according to system intialization data.
Module 402 is obtained, is connected with closedown module 403, for obtaining the delay time of flashlight time-delay closing.
In the present embodiment, after receiving the instruction for opening the flashlight time-delay closing of mobile terminal, then the flashlight is obtained
The delay time of cylinder time-delay closing, the time can also be arranged in advance or in real time by system intialization by user.
Closedown module 403, for closing flashlight according to delay time.
In the present embodiment, the flashlight of mobile terminal has a delay time, and mobile terminal can be according to the delay time
To close flashlight.Wherein, which can be a duration, be also possible to a regular time
As another party's embodiment of the present embodiment, delay time includes time-delay closing duration, the time-delay closing duration
It specifically can be a delay duration.Wherein, closedown module further include:
Delay closing circuit start unit works as delay closing circuit for starting the delay closing circuit of power flashlights
When lasted after starting more than time-delay closing duration, flashlight is closed.
In the present embodiment, mobile terminal is provided with a delay closing circuit, which can open from flashlight
When opening while starting, when length is more than time-delay closing duration (delay duration) when operating, then controls flashlight closing.For example,
When flashlight uses LED light as light source, which can control light source power supply circuit, be allowed in delay duration
After disconnect.Wherein, which can be systemic presupposition, is also possible to user and presets according to their own needs.
For example, when user obtains the delay time of flashlight time-delay closing a delay setting window can be popped up, user can be herein
Window selection wants the duration etc. for being delayed and being delayed, then mobile terminal timing after flashlight unlatching, delay when
The flashlight is closed at the end of length.
Mobile terminal provided in an embodiment of the present invention opens the finger of the flashlight time-delay closing of mobile terminal by receiving
It enables, obtains the delay time of flashlight time-delay closing, flashlight is closed according to delay time, realizes the flashlight of mobile terminal
It is closed in the scheduled time, brings convenience to user, improve the usage experience of user.
5th embodiment
As shown in figure 5, the structural block diagram of the second embodiment for mobile terminal of the present invention.The mobile terminal 500 is able to achieve
Each step of the second embodiment of control method of the invention, wherein mobile terminal 500 includes the second receiving module 501, first
Receiving module 502 obtains module 503 and closedown module 504.
Second receiving module 501 is connected with the first receiving module 502, for receiving setting of the user to delay time,
Delay time includes the target shut-in time.
In the present embodiment, which includes the target shut-in time, and the target shut-in time is by user setting.Wherein,
Second receiving module 501 can work prior to the first receiving module 502, can also work later in the first receiving module 502.Example
Such as, the target shut-in time can be arranged before issuing the instruction for obtaining the delay time of flashlight time-delay closing in user;It can also
To be, after mobile terminal receives the instruction for opening the flashlight of mobile terminal, pop-up window chooses whether to be arranged for user
The target shut-in time, and complete the setting of specific time numerical value.
First receiving module 502 is connected with module 503 is obtained, for receiving the flashlight delay for opening mobile terminal
The instruction of closing.
Module 503 is obtained, is connected with closedown module 504, for obtaining the delay time of flashlight time-delay closing.
First receiving module 502, acquisition module 503 are identical as the corresponding module of the first embodiment of the device of the invention,
Details are not described herein again.
Closedown module 504, for closing flashlight according to delay time.
In the embodiment of the present invention, it can control flashlight and closed in the target shut-in time.
Mobile terminal provided in an embodiment of the present invention, by receiving setting of the user to delay time, delay time includes
The target shut-in time;Receive the instruction for opening the flashlight time-delay closing of mobile terminal;Obtain the delay of flashlight time-delay closing
Time;Flashlight is closed according to delay time.Hereby it is achieved that the flashlight of timing turning-off mobile terminal, double in liberation user
The electricity that mobile terminal is saved while hand, improves user experience.
Sixth embodiment
As shown in fig. 6, the structural block diagram of the 3rd embodiment for mobile terminal of the present invention.The mobile terminal 600 is able to achieve
Each step of the 3rd embodiment of control method of the invention, wherein mobile terminal 600 includes third receiving module 601, opens
Module 602, logging modle 604, obtains module 605 and closedown module 606 at first receiving module 603.
Third receiving module 601 is connected with opening module 602, for receiving setting of the user to time-delay closing duration.
In the present embodiment, when time-delay closing, a length of flashlight was opened into the duration of closing.Wherein, third receiving module
601 can work prior to the first receiving module 603, can also work later in the first receiving module 603.For example, user can be
The time-delay closing duration is set before issuing the instruction for obtaining the delay time of flashlight time-delay closing;It is also possible to when mobile whole
After termination receives the instruction for opening the flashlight of mobile terminal, pop-up window chooses whether setting time-delay closing duration for user,
And complete the setting of specific duration numerical value.
Opening module 602 is connected, for opening flashlight with the first receiving module 603.
In embodiments of the present invention, on the one hand the instruction for opening the flashlight of mobile terminal can be user and pass through by compacting
On the other hand the methods of body key, contact action, sound control or eyeball control can also be that mobile terminal is logical come the instruction assigned
Cross the instruction that internal judgment is voluntarily assigned.And the flashlight of mobile terminal can be set to the LED light of mobile terminal by opening
It realizes, can also be always on by controlling the flash lamp of mobile terminal to realize, the screen of control mobile terminal can also be passed through
It is always on high brightness formation to realize.
First receiving module 603, is connected with logging modle 604, for receiving the flashlight delay for opening mobile terminal
The instruction of closing.
First receiving module 603 is identical as the corresponding module of the first embodiment of the device of the invention, and details are not described herein again.
Logging modle 604 is connected, for will acquire the delay time of flashlight time-delay closing with module 605 is obtained
Time is recorded as the opening time.
In the present embodiment, after flashlight is opened, when the time for opening the flashlight is recorded as opening by logging modle 604
Between.
Module 605 is obtained, is connected with closedown module 606, for obtaining the delay time of flashlight time-delay closing.
In the embodiment of the present invention, the delay time for obtaining flashlight time-delay closing is the delay for obtaining flashlight time-delay closing
Close duration.
In the present embodiment, after flashlight is opened, the time for opening the flashlight is recorded as the opening time.
Closedown module 606, for closing flashlight according to delay time.
Wherein, which includes with lower unit:
Computing unit 6061 is connected with as closing 6062, for according to time-delay closing duration and opening time, meter
Calculation obtains the target shut-in time.
In the present embodiment, the target shut-in time is some time that flashlight timing is closed.Wherein, the target shut-in time
It is calculated by time-delay closing duration and opening time, for example, the opening time is that target is closed plus time-delay closing duration
Close the time.
Closing unit 6062, for closing flashlight in the target shut-in time.
In the embodiment of the present invention, mobile terminal was completed to close the operation of flashlight in the target shut-in time.
Mobile terminal provided in an embodiment of the present invention opens flashlight by receiving setting of the user to time-delay closing duration
Cylinder receives the instruction for opening the flashlight time-delay closing of mobile terminal, the time for opening flashlight is recorded as the opening time, is obtained
According to time-delay closing duration and opening time the target shut-in time is calculated, in target in the time-delay closing duration for taking flashlight
Shut-in time closes flashlight.Hereby it is achieved that being arranged according to the time-delay closing of user come time-delay closing flashlight, use is improved
Family experience.
7th embodiment
Fig. 7 is the structural block diagram of the fourth embodiment of mobile terminal of the present invention.Mobile terminal 800 shown in Fig. 7 include: to
A few processor 801, memory 802, at least one network interface 804, user interface 803 and other assemblies 806, other groups
Part 806 includes eyeball tracking sensor and front camera.Various components in mobile terminal 800 pass through 805 coupling of bus system
It is combined.It is understood that bus system 805 is for realizing the connection communication between these components.It includes number that bus system 805, which is removed,
It further include power bus, control bus and status signal bus in addition except bus.But for the sake of clear explanation, in Fig. 7
Various buses are all designated as bus system 805.
Wherein, user interface 803 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 802 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-
OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM
(ErasablePROM, EPROM), electrically erasable programmable read-only memory (ElectricallyEPROM, EEPROM) dodge
It deposits.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is slow to be used as external high speed
It deposits.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory
(StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory
(SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory
(DirectRambusRAM, DRRAM).The memory 802 of the system and method for description of the embodiment of the present invention is intended to include but unlimited
In the memory of these and any other suitable type.
In some embodiments, memory 802 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 8021 and application program 8022.
Wherein, operating system 8021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 8022 includes various application programs, such as media
Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side
The program of method may be embodied in application program 8022.
In embodiments of the present invention, by the program or instruction of calling memory 802 to store, specifically, can be application
The program or instruction stored in program 8022, processor 801 is for receiving the flashlight time-delay closing for opening the mobile terminal
Instruction;Obtain the delay time of flashlight time-delay closing;Flashlight is closed according to delay time.
The method that the embodiments of the present invention disclose can be applied in processor 801, or be realized by processor 801.
Processor 801 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 801 or the instruction of software form.Above-mentioned processing
Device 801 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), specific integrated circuit
(ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array
(FieldProgrammableGateArray, FPGA) either other programmable logic device, discrete gate or transistor logic
Device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logical box in the embodiment of the present invention
Figure.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with the present invention
The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or use decoding processor
In hardware and software module combination execute completion.Software module can be located at random access memory, and flash memory, read-only memory can
In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage
Medium is located at memory 802, and processor 801 reads the information in memory 802, and the step of the above method is completed in conjunction with its hardware
Suddenly.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware,
Microcode or combinations thereof is realized.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (App
LicationSpecificIntegratedCircuits, ASIC), digital signal processor
(DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device
(ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray,
FPGA), general processor, controller, microcontroller, microprocessor, other electronics lists for executing herein described function
In member or combinations thereof.
For software implementations, can by execute the embodiment of the present invention described in function module (such as process, function etc.) come
Realize technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can
With portion realizes in the processor or outside the processor.
Optionally, processor 801 is also used to: receiving setting of the user to delay time, delay time includes that target is closed
Time.
Optionally, processor 801 is also used to: opening flashlight;The time for opening flashlight is recorded as the opening time;Root
According to time-delay closing duration and opening time, the target shut-in time is calculated;Flashlight is closed in the target shut-in time.
Optionally, processor 801 is also used to: receiving setting of the user to time-delay closing duration.
Optionally, processor 801 is also used to: starting the delay closing circuit of power flashlights, when delay closing circuit opens
When lasting after dynamic more than time-delay closing duration, flashlight is closed.
Mobile terminal 800 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
It repeats no more.
Mobile terminal 800 provided in an embodiment of the present invention opens the flashlight time-delay closing of mobile terminal by reception
Instruction obtains the delay time of flashlight time-delay closing, closes flashlight according to delay time, realizes the flashlight of mobile terminal
Cylinder is closed in the scheduled time, is brought convenience to user, is improved the usage experience of user.
Those of ordinary skill in the art may be aware that the embodiment in conjunction with disclosed in the embodiment of the present invention describe it is each
Exemplary unit and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (8)
1. a kind of control method of flashlight is applied to mobile terminal characterized by comprising
Receive the instruction for opening the flashlight time-delay closing of the mobile terminal;
After the instruction for receiving the flashlight time-delay closing, the delay time of the flashlight time-delay closing is obtained;
The flashlight is closed according to the delay time;
The delay time includes time-delay closing duration;In the flashlight time-delay closing for receiving the unlatching mobile terminal
Before the step of instruction, further includes:
Open the flashlight;
It is described receive the step of instruction for opening the flashlight time-delay closing of the mobile terminal after, further includes:
The time for opening the flashlight is recorded as the opening time;
The described the step of flashlight is closed according to the delay time, comprising:
According to the time-delay closing duration and the opening time, the target shut-in time is calculated;
The flashlight is closed in the target shut-in time.
2. control method according to claim 1, which is characterized in that in the flashlight for receiving the unlatching mobile terminal
Before the step of instruction of cylinder time-delay closing, further includes:
Setting of the user to the delay time is received, the delay time includes the target shut-in time.
3. control method according to claim 1, which is characterized in that before the unlatching flashlight the step of,
Further include:
Receive setting of the user to the time-delay closing duration.
4. control method according to claim 1, which is characterized in that the delay time includes time-delay closing duration;Institute
State the step of flashlight is closed according to the delay time, comprising:
The delay closing circuit for starting the power flashlights lasts after delay closing circuit starting more than the delay
When closing duration, the flashlight is closed.
5. a kind of mobile terminal characterized by comprising
First receiving module, for receiving the instruction for opening the flashlight time-delay closing of the mobile terminal;
Module is obtained, for obtaining institute after the instruction that first receiving module receives the flashlight time-delay closing
State the delay time of flashlight time-delay closing;
Closedown module, for closing the flashlight according to the delay time;
The delay time includes time-delay closing duration;The mobile terminal further include:
Opening module, for opening the flashlight;
Logging modle is recorded as the opening time for will acquire the time of delay time of the flashlight time-delay closing;
The closedown module includes:
Computing unit, for the target shut-in time to be calculated according to the time-delay closing duration and the opening time;
Closing unit, for closing the flashlight in the target shut-in time.
6. mobile terminal according to claim 5, which is characterized in that further include:
Second receiving module, for receiving setting of the user to the delay time, when the delay time includes that target is closed
Between.
7. mobile terminal according to claim 5, which is characterized in that further include:
Third receiving module, for receiving setting of the user to the time-delay closing duration.
8. mobile terminal according to claim 5, which is characterized in that the delay time includes time-delay closing duration;Institute
Stating closedown module includes:
Delay closing circuit start unit, for starting the delay closing circuit of the power flashlights, when the time-delay closing
When lasted after circuit start more than the time-delay closing duration, the flashlight is closed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610617520.6A CN106302993B (en) | 2016-07-29 | 2016-07-29 | The control method and mobile terminal of flashlight |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610617520.6A CN106302993B (en) | 2016-07-29 | 2016-07-29 | The control method and mobile terminal of flashlight |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106302993A CN106302993A (en) | 2017-01-04 |
CN106302993B true CN106302993B (en) | 2019-09-27 |
Family
ID=57663610
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610617520.6A Active CN106302993B (en) | 2016-07-29 | 2016-07-29 | The control method and mobile terminal of flashlight |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106302993B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107179821B (en) * | 2017-05-23 | 2019-12-03 | 维沃移动通信有限公司 | A kind of illumination device control method and mobile terminal |
CN109801588B (en) * | 2017-11-14 | 2021-07-02 | 广东美的生活电器制造有限公司 | Control method, control device and computer readable medium |
CN109068456B (en) * | 2018-06-29 | 2019-12-31 | Oppo(重庆)智能科技有限公司 | Flashlight control method, flashlight control device, terminal and storage medium |
CN109995923A (en) * | 2019-03-28 | 2019-07-09 | Oppo广东移动通信有限公司 | A kind of flashlight control method, flashlight control device and terminal device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201985979U (en) * | 2010-11-19 | 2011-09-21 | 上海华勤通讯技术有限公司 | Electricity-saving mobile phone based on time intelligent control |
CN203151599U (en) * | 2013-03-01 | 2013-08-21 | 深圳市宝捷讯电子有限公司 | Voice-activated electric torch of handset |
CN105306803A (en) * | 2014-07-31 | 2016-02-03 | 深圳市爵影科技有限公司 | Mobile equipment wireless flash triggering method |
-
2016
- 2016-07-29 CN CN201610617520.6A patent/CN106302993B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201985979U (en) * | 2010-11-19 | 2011-09-21 | 上海华勤通讯技术有限公司 | Electricity-saving mobile phone based on time intelligent control |
CN203151599U (en) * | 2013-03-01 | 2013-08-21 | 深圳市宝捷讯电子有限公司 | Voice-activated electric torch of handset |
CN105306803A (en) * | 2014-07-31 | 2016-02-03 | 深圳市爵影科技有限公司 | Mobile equipment wireless flash triggering method |
Also Published As
Publication number | Publication date |
---|---|
CN106302993A (en) | 2017-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106302993B (en) | The control method and mobile terminal of flashlight | |
CN106056533B (en) | A kind of method and terminal taken pictures | |
CN106791357A (en) | A kind of image pickup method and mobile terminal | |
CN106937054B (en) | A kind of take pictures weakening method and the mobile terminal of mobile terminal | |
CN106354303B (en) | A kind of photographic method and mobile terminal of mobile terminal | |
CN106775424A (en) | A kind of screenshotss processing method and mobile terminal | |
CN106791021B (en) | A kind of control method and mobile terminal of flash lamp | |
CN106131425B (en) | A kind of method and mobile terminal switching camera | |
CN106254640B (en) | A kind of task start method and mobile terminal based on alarm clock | |
CN107193482A (en) | The operating method and mobile terminal of a kind of mobile terminal screen | |
CN106125884B (en) | A kind of processing method and mobile terminal of the background task of mobile terminal | |
CN106407950A (en) | Facial information identification method and mobile terminal | |
CN106060397B (en) | A kind of screening-mode switching method and mobile terminal | |
CN105959574A (en) | Photographing method and mobile terminal | |
CN106713715A (en) | Photographing method and mobile terminal | |
CN106803844B (en) | A kind of lamp light control method and mobile terminal | |
CN105872264A (en) | Backlight brightness adjusting method and mobile terminal | |
CN106055215B (en) | A kind of event time recording method and mobile terminal | |
CN106200912B (en) | A kind of processing method that self-shooting bar is taken pictures and mobile terminal | |
CN106502609B (en) | A kind of display brightness method of adjustment and mobile terminal | |
CN106033355B (en) | A kind of language setting method and mobile terminal | |
CN106713742A (en) | Shooting method and mobile terminal | |
CN107016109B (en) | A kind of photo film making method and mobile terminal | |
CN106227612B (en) | A kind of method and mobile terminal of word processing | |
CN106453956B (en) | A kind of method and mobile terminal that interruption-free mode is set |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211206 Address after: Tower a 2301-09, 2401-09, 2501-09, 2601-09, phase III, North District, Yifang center, 99 Xinhu Road, N12 District, Haiwang community, Xin'an street, Bao'an District, Shenzhen, Guangdong 518000 Patentee after: VIVO MOBILE COMMUNICATIONS (SHENZHEN) Co.,Ltd. Address before: 523000 No. 283 BBK Avenue, Changan Town, Changan, Guangdong. Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd. |