CN106302993A - The control method of pocket lamp and mobile terminal - Google Patents

The control method of pocket lamp and mobile terminal Download PDF

Info

Publication number
CN106302993A
CN106302993A CN201610617520.6A CN201610617520A CN106302993A CN 106302993 A CN106302993 A CN 106302993A CN 201610617520 A CN201610617520 A CN 201610617520A CN 106302993 A CN106302993 A CN 106302993A
Authority
CN
China
Prior art keywords
time
delay
pocket lamp
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.)
Granted
Application number
CN201610617520.6A
Other languages
Chinese (zh)
Other versions
CN106302993B (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.)
Vivo Mobile Communication Shenzhen Co Ltd
Original Assignee
Vivo 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610617520.6A priority Critical patent/CN106302993B/en
Publication of CN106302993A publication Critical patent/CN106302993A/en
Application granted granted Critical
Publication of CN106302993B publication Critical patent/CN106302993B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/22Illumination; Arrangements for improving the visibility of characters on dials
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User 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 pocket lamp, this control method includes: receives the instruction of the pocket lamp time-delay closing opening described mobile terminal, obtains the delay time of described hand-operated pump time-delay closing, closes described pocket lamp according to described delay time.The invention also discloses a kind of corresponding mobile terminal.Control method disclosed in the embodiment of the present invention, it is possible to the pocket lamp realizing mobile terminal was closed in the predetermined time, brings facility to user, improves the experience of user.

Description

The control method of pocket lamp and mobile terminal
Technical field
The present invention relates to mobile communication technology field, particularly relate to control method and the mobile terminal of pocket lamp.
Background technology
Along with user is increasingly stronger to the dependence of portable mobile termianl, especially mobile phone, some of mobile terminal are added Function also uses more and more, such as the pocket lamp of mobile terminal.Pocket lamp is as a function having it long ago, and it is user Bring all illuminations convenient, be a critical function of mobile terminal.Wherein, the luminescence that the pocket lamp of mobile terminal is driven Part can be the LED arranged on mobile terminal, it is also possible to be the intrinsic flash lamp of mobile terminal or screen;And pocket lamp Open and close and typically can be completed by the action of pressing entity key or touch screen
The closedown being completed pocket lamp by the action of pressing entity key or touch screen the most but brings all inconvenience to user, Therefore, the existing solution being closed pocket lamp by acoustic control.But, acoustic control equally exists its limitation, such as remote nothing Method realizes control etc., moreover voice control function not all mobile terminal all possess.Thus, in prior art, no matter by pressing The action of entity key or touch screen completes the closedown of pocket lamp, or closes pocket lamp by acoustic control, is all difficult to meet user's Convenience requirement, causes user to use the experience of pocket lamp of mobile terminal the best.
Summary of the invention
Embodiments provide control method and the mobile terminal of a kind of pocket lamp, to solve user in prior art Use the problem that the experience of the pocket lamp of mobile terminal is the best.
On the one hand, the embodiment of the present invention provides the control method of pocket lamp, and described control method includes:
Receive the instruction of the pocket lamp time-delay closing opening described mobile terminal;
Obtain the delay time of described hand-operated pump time-delay closing;
Described pocket lamp is closed according to described delay time.
On the other hand, the embodiment of the present invention additionally provides a kind of mobile terminal, including:
First receiver module, for receiving the instruction of the pocket lamp time-delay closing opening described mobile terminal;
Acquisition module, for obtaining the delay time of described hand-operated pump time-delay closing;
Close module, for closing described pocket lamp according to described delay time.
The control method that the embodiment of the present invention provides, by receiving the pocket lamp time-delay closing of the described mobile terminal of unlatching Instruction, obtains the delay time of described hand-operated pump time-delay closing, closes described pocket lamp according to described delay time, it is achieved that move The pocket lamp of dynamic terminal was closed in the predetermined time, brings facility to user, improves the experience of user.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in the embodiment of the present invention being described below The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only some enforcements of the present invention The accompanying drawing of example, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to these Accompanying drawing obtains other accompanying drawing.
Fig. 1 is the flow chart of the first embodiment of the control method of pocket lamp of the present invention;
Fig. 2 is the flow chart of the second embodiment of the control method of pocket lamp of the present invention;
Fig. 3 is the flow chart of the 3rd embodiment of the control method of pocket lamp of the present invention;
Fig. 4 is the structured flowchart of the first embodiment of the mobile terminal of pocket lamp of the present invention;
Fig. 5 is the structured flowchart of the second embodiment of the mobile terminal of pocket lamp of the present invention;
Fig. 6 is the structured flowchart of the 3rd embodiment of the mobile terminal of pocket lamp of the present invention;
Fig. 7 is the structured flowchart of the 4th embodiment of the mobile terminal of pocket lamp of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is a part of embodiment of the present invention rather than whole embodiments wholely.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under not making creative work premise Example, broadly falls into the scope of protection of the invention.
First embodiment
As it is shown in figure 1, be the flow chart of the first embodiment of control method of the present invention.This control method includes:
Step 101, receives the instruction of the pocket lamp time-delay closing opening mobile terminal.
In embodiments of the present invention, open mobile terminal pocket lamp time-delay closing instruction can by user in real time under Reach, it is also possible to automatically assign after opening pocket lamp according to system intialization data.
Step 102, obtains the delay time of hand-operated pump time-delay closing.
In the present embodiment, after the instruction receiving the pocket lamp time-delay closing opening mobile terminal, then obtain this torch The delay time of cylinder time-delay closing, this time can be by system intialization, it is also possible to is arranged in advance or in real time by user.
Step 103, closes pocket lamp according to delay time.
In the present embodiment, the pocket lamp of mobile terminal has a delay time, and mobile terminal can be according to this delay time Close pocket lamp.Wherein, this delay time can be a duration, it is also possible to be a regular time
As the opposing party's embodiment of the present embodiment, delay time includes time-delay closing duration, this time-delay closing duration It can be specifically a delay duration.Wherein step 103 can also comprise the following steps:
Start the delay closing circuit of power flashlights, last after delay closing circuit starts and exceed time-delay closing duration Time, close pocket lamp.
In the present embodiment, mobile terminal is provided with a delay closing circuit, and this delay closing circuit can be opened from pocket lamp Start when opening simultaneously, when length exceedes this time-delay closing duration (delay duration) when operating, then control pocket lamp and close.Such as, When pocket lamp uses LED as light source, this delay closing circuit can control light source power supply circuit, be allowed in delay duration Disconnect after end.Wherein, this time-delay closing duration can be systemic presupposition, it is also possible to be that user presets according to the demand of oneself. Such as, when user obtains the delay time of hand-operated pump time-delay closing, can eject a time delay and arrange window, user can be at this Window selection wants the duration etc. of time delay and time delay, then mobile terminal timing after pocket lamp is opened, time delay time This pocket lamp is closed at the end of length.
The control method that the embodiment of the present invention provides, by receiving the finger of the pocket lamp time-delay closing opening mobile terminal Order, obtains the delay time of hand-operated pump time-delay closing, closes pocket lamp according to delay time, it is achieved that the pocket lamp of mobile terminal Close in the predetermined time, bring facility to user, improve the experience of user.
Second embodiment
As in figure 2 it is shown, be the flow chart of the second embodiment of control method of the present invention.This control method includes:
Step 201, receives user's setting to delay time, and delay time includes the target shut-in time.
In the present embodiment, this delay time includes the target shut-in time, and this target shut-in time is by user setup.Wherein, Step 201 can occur before step 202, it is also possible to occurs after step 202.Such as, user can send acquisition This target shut-in time is set before the instruction of the delay time of hand-operated pump time-delay closing;Can also be, when mobile terminal receives After the instruction of the pocket lamp opening mobile terminal, pop-up window chooses whether to arrange the target shut-in time for user, and completes The setting of concrete time numerical value.
Step 202, receives the instruction of the pocket lamp time-delay closing opening mobile terminal.
Step 203, obtains the delay time of hand-operated pump time-delay closing.
Step 202, step 203 are identical with the corresponding steps of the first embodiment of the control method of the present invention, the most no longer Repeat.
Step 204, closes pocket lamp according to delay time.
In the embodiment of the present invention, pocket lamp can be controlled and close in this target shut-in time.
The control method that the embodiment of the present invention provides, by receiving user's setting to delay time, delay time includes The target shut-in time;Receive the instruction of the pocket lamp time-delay closing opening mobile terminal;Obtain the time delay of hand-operated pump time-delay closing Time;Pocket lamp is closed according to delay time.Hereby it is achieved that the pocket lamp of timing turning-off mobile terminal, double liberation user Save the electricity of mobile terminal while hands, improve Consumer's Experience.
3rd embodiment
As it is shown on figure 3, be the flow chart of the 3rd embodiment of control method of the present invention.This control method includes:
Step 301, receives user's setting to time-delay closing duration.
In the present embodiment, during this time-delay closing, a length of pocket lamp is opened into the duration of closedown.Wherein, step 301 can be Occur before step 302, it is also possible to occur after step 302.Such as, user can send acquisition hand-operated pump time-delay closing Delay time instruction before this time-delay closing duration is set;Can also be to open mobile terminal when mobile terminal receives After the instruction of pocket lamp, pop-up window chooses whether to arrange time-delay closing duration for user, and completes concrete duration numerical value Arrange.
Step 302, opens pocket lamp.
In embodiments of the present invention, on the one hand the instruction of the pocket lamp opening mobile terminal can be that user passes through by compacting The instruction that the methods such as body key, contact action, sound control or eyeball control are assigned, on the other hand can also is that mobile terminal leads to Cross the instruction that internal judgment is assigned voluntarily.And the pocket lamp of mobile terminal can be arranged at the LED of mobile terminal by unlatching Realize, it is also possible to by controlling, the flash lamp of mobile terminal is normal bright to be realized, it is also possible to by controlling the screen of mobile terminal Normal bright realize is formed with high brightness.
Step 303, receives the instruction of the pocket lamp time-delay closing opening mobile terminal.
Step 303 is identical with the corresponding steps of the first embodiment of the control method of the present invention, and here is omitted.
Step 304, is recorded as the opening time by the time obtaining the delay time of hand-operated pump time-delay closing.
In the present embodiment, after pocket lamp is opened, the time opening this pocket lamp is recorded as the opening time.
Step 305, obtains the delay time of hand-operated pump time-delay closing.
In the embodiment of the present invention, the delay time obtaining hand-operated pump time-delay closing is the time delay obtaining pocket lamp time-delay closing Close duration.
Step 306, according to time-delay closing duration and opening time, is calculated the target shut-in time.
In the present embodiment, the target shut-in time is certain time that pocket lamp timing is closed.Wherein, this target shut-in time Being calculated by time-delay closing duration and opening time, such as, this opening time is target plus time-delay closing duration and closes Close the time.
Step 307, closes pocket lamp in the target shut-in time.
In the embodiment of the present invention, mobile terminal completes to close the operation of pocket lamp in the target shut-in time.
The control method that the embodiment of the present invention provides, by receiving user's setting to time-delay closing duration, opens torch Cylinder, receives the instruction of the pocket lamp time-delay closing opening mobile terminal, the time opening pocket lamp is recorded as the opening time, obtains Take the time-delay closing duration of pocket lamp, according to time-delay closing duration and opening time, be calculated the target shut-in time, in target Shut-in time closes pocket lamp.Hereby it is achieved that arrange time-delay closing pocket lamp according to the time-delay closing of user, improve use Family is experienced.
Embodiment to the display packing of mobile terminal of the present invention has been made to be discussed in detail above.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, panel computer, MP3 or MP4 etc..
4th embodiment
As shown in Figure 4, for the structured flowchart of first embodiment of mobile terminal of the present invention.This mobile terminal 400 can realize Each step of the first embodiment of the control method of the present invention, wherein, mobile terminal 400 includes the first receiver module 401, obtains Module 402 and closedown module 403.
First receiver module 401, is connected with acquisition module 402, for receiving the pocket lamp time delay opening mobile terminal The instruction closed.
In embodiments of the present invention, open mobile terminal pocket lamp time-delay closing instruction can by user in real time under Reach, it is also possible to automatically assign after opening pocket lamp according to system intialization data.
Acquisition module 402, is connected with closing module 403, for obtaining the delay time of hand-operated pump time-delay closing.
In the present embodiment, after the instruction receiving the pocket lamp time-delay closing opening mobile terminal, then obtain this torch The delay time of cylinder time-delay closing, this time can be by system intialization, it is also possible to is arranged in advance or in real time by user.
Close module 403, for closing pocket lamp according to delay time.
In the present embodiment, the pocket lamp of mobile terminal has a delay time, and mobile terminal can be according to this delay time Close pocket lamp.Wherein, this delay time can be a duration, it is also possible to be a regular time
As the opposing party's embodiment of the present embodiment, delay time includes time-delay closing duration, this time-delay closing duration It can be specifically a delay duration.Wherein, close module also to include:
Delay closing circuit start unit, for starting the delay closing circuit of power flashlights, works as delay closing circuit Last when exceeding time-delay closing duration after startup, close pocket lamp.
In the present embodiment, mobile terminal is provided with a delay closing circuit, and this delay closing circuit can be opened from pocket lamp Start when opening simultaneously, when length exceedes this time-delay closing duration (delay duration) when operating, then control pocket lamp and close.Such as, When pocket lamp uses LED as light source, this delay closing circuit can control light source power supply circuit, be allowed in delay duration Disconnect after end.Wherein, this time-delay closing duration can be systemic presupposition, it is also possible to be that user presets according to the demand of oneself. Such as, when user obtains the delay time of hand-operated pump time-delay closing, can eject a time delay and arrange window, user can be at this Window selection wants the duration etc. of time delay and time delay, then mobile terminal timing after pocket lamp is opened, time delay time This pocket lamp is closed at the end of length.
The mobile terminal that the embodiment of the present invention provides, by receiving the finger of the pocket lamp time-delay closing opening mobile terminal Order, obtains the delay time of hand-operated pump time-delay closing, closes pocket lamp according to delay time, it is achieved that the pocket lamp of mobile terminal Close in the predetermined time, bring facility to user, improve the experience of user.
5th embodiment
As it is shown in figure 5, be the structured flowchart of the second embodiment of mobile terminal of the present invention.This mobile terminal 500 can realize Each step of the second embodiment of the control method of the present invention, wherein, mobile terminal 500 includes the second receiver module 501, first Receiver module 502, acquisition module 503 and closedown module 504.
Second receiver module 501, is connected with the first receiver module 502, for receiving user's setting to delay time, Delay time includes the target shut-in time.
In the present embodiment, this delay time includes the target shut-in time, and this target shut-in time is by user setup.Wherein, Second receiver module 501 can work prior to the first receiver module 502, it is also possible to after work in the first receiver module 502.Example As, user can arrange this target shut-in time before the instruction sending the delay time obtaining hand-operated pump time-delay closing;Also may be used To be, after mobile terminal receives the instruction of the pocket lamp opening mobile terminal, pop-up window chooses whether to arrange for user The target shut-in time, and complete the setting of concrete time numerical value.
First receiver module 502, is connected with acquisition module 503, for receiving the pocket lamp time delay opening mobile terminal The instruction closed.
Acquisition module 503, is connected with closing module 504, for obtaining the delay time of hand-operated pump time-delay closing.
First receiver module 502, acquisition module 503 are identical with the corresponding module of the first embodiment of assembly of the invention, Here is omitted.
Close module 504, for closing pocket lamp according to delay time.
In the embodiment of the present invention, pocket lamp can be controlled and close in this target shut-in time.
The mobile terminal that the embodiment of the present invention provides, by receiving user's setting to delay time, delay time includes The target shut-in time;Receive the instruction of the pocket lamp time-delay closing opening mobile terminal;Obtain the time delay of hand-operated pump time-delay closing Time;Pocket lamp is closed according to delay time.Hereby it is achieved that the pocket lamp of timing turning-off mobile terminal, double liberation user Save the electricity of mobile terminal while hands, improve Consumer's Experience.
Sixth embodiment
As shown in Figure 6, for the structured flowchart of the 3rd embodiment of mobile terminal of the present invention.This mobile terminal 600 can realize Each step of the 3rd embodiment of the control method of the present invention, wherein, mobile terminal 600 includes the 3rd receiver module 601, opens Module the 602, first receiver module 603, logging modle 604, acquisition module 605 and closedown module 606.
3rd receiver module 601, is connected with opening module 602, for receiving user's setting to time-delay closing duration.
In the present embodiment, during this time-delay closing, a length of pocket lamp is opened into the duration of closedown.Wherein, the 3rd receiver module 601 can work prior to the first receiver module 603, it is also possible to after work in the first receiver module 603.Such as, user can be Before sending the instruction of the delay time obtaining hand-operated pump time-delay closing, this time-delay closing duration is set;Can also be, when mobile whole After termination receives the instruction of the pocket lamp opening mobile terminal, pop-up window chooses whether to arrange time-delay closing duration for user, And complete the setting of concrete duration numerical value.
Opening module 602, is connected with the first receiver module 603, is used for opening pocket lamp.
In embodiments of the present invention, on the one hand the instruction of the pocket lamp opening mobile terminal can be that user passes through by compacting The instruction that the methods such as body key, contact action, sound control or eyeball control are assigned, on the other hand can also is that mobile terminal leads to Cross the instruction that internal judgment is assigned voluntarily.And the pocket lamp of mobile terminal can be arranged at the LED of mobile terminal by unlatching Realize, it is also possible to by controlling, the flash lamp of mobile terminal is normal bright to be realized, it is also possible to by controlling the screen of mobile terminal Normal bright realize is formed with high brightness.
First receiver module 603, is connected with logging modle 604, for receiving the pocket lamp time delay opening mobile terminal The instruction closed.
First receiver module 603 is identical with the corresponding module of the first embodiment of assembly of the invention, and here is omitted.
Logging modle 604, is connected with acquisition module 605, for the delay time by obtaining hand-operated pump time-delay closing Time is recorded as the opening time.
In the present embodiment, after pocket lamp is opened, when the time opening this pocket lamp is recorded as opening by logging modle 604 Between.
Acquisition module 605, is connected with closing module 606, for obtaining the delay time of hand-operated pump time-delay closing.
In the embodiment of the present invention, the delay time obtaining hand-operated pump time-delay closing is the time delay obtaining pocket lamp time-delay closing Close duration.
In the present embodiment, after pocket lamp is opened, the time opening this pocket lamp is recorded as the opening time.
Close module 606, for closing pocket lamp according to delay time.
Wherein, this closedown module 606 includes with lower unit:
Computing unit 6061, is connected with as closedown 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 certain time that pocket lamp timing is closed.Wherein, this target shut-in time Being calculated by time-delay closing duration and opening time, such as, this opening time is target plus time-delay closing duration and closes Close the time.
Closing unit 6062, for closing pocket lamp in the target shut-in time.
In the embodiment of the present invention, mobile terminal completes to close the operation of pocket lamp in the target shut-in time.
The mobile terminal that the embodiment of the present invention provides, by receiving user's setting to time-delay closing duration, opens torch Cylinder, receives the instruction of the pocket lamp time-delay closing opening mobile terminal, the time opening pocket lamp is recorded as the opening time, obtains Take the time-delay closing duration of pocket lamp, according to time-delay closing duration and opening time, be calculated the target shut-in time, in target Shut-in time closes pocket lamp.Hereby it is achieved that arrange time-delay closing pocket lamp according to the time-delay closing of user, improve use Family is experienced.
7th embodiment
Fig. 7 is the structured flowchart of the 4th embodiment of mobile terminal of the present invention.Mobile terminal 800 shown in Fig. 7 includes: extremely A few processor 801, memorizer 802, at least one network interface 804, user interface 803 and other assemblies 806, other groups Part 806 includes eyeball tracking sensor and front-facing camera.Each assembly in mobile terminal 800 passes through bus system 805 coupling It is combined.It is understood that bus system 805 is for realizing the connection communication between these assemblies.Bus system 805 is except including number Outside bus, also include power bus, control bus and status signal bus in addition.But for the sake of understanding explanation, in the figure 7 Various buses are all designated as bus system 805.
Wherein, user interface 803 can include display, keyboard or pointing device (such as, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
The memorizer 802 being appreciated that in the embodiment of the present invention can be volatile memory or nonvolatile memory, Maybe can include volatibility and nonvolatile memory.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 Read Only Memory (ElectricallyEPROM, EEPROM) or sudden strain of a muscle Deposit.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is used as outside the most slow Deposit.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhancement mode 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 memorizer 802 of the system and method that the embodiment of the present invention describes is intended to include but does not limits In these and the memorizer of any other applicable type.
In some embodiments, memorizer 802 stores following element, executable module or data structure, or Their subset of person, or their superset: operating system 8021 and application program 8022.
Wherein, operating system 8021, comprise various system program, such as ccf layer, core library layer, driving layer etc., be used for Realize various basic business and process hardware based task.Application program 8022, comprises various application program, such as media Player (MediaPlayer), browser (Browser) etc., be used 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 calling program or the instruction of memorizer 802 storage, concrete, can be application The program stored in program 8022 or instruction, processor 801 is for receiving the pocket lamp time-delay closing opening described mobile terminal Instruction;Obtain the delay time of hand-operated pump time-delay closing;Pocket lamp is closed according to delay time.
The method that the invention described above embodiment discloses can apply in processor 801, or is realized by processor 801. Processor 801 is probably a kind of IC chip, has the disposal ability of signal.During realizing, said method each Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 801 or software form.Above-mentioned process Device 801 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), special IC (ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) or other PLDs, discrete gate or transistor logic Device, discrete hardware components.Can realize or perform disclosed each method, step and the box in the embodiment of the present invention Figure.The processor etc. that general processor can be microprocessor or this processor can also be any routine.In conjunction with the present invention The step of the method disclosed in embodiment can be embodied directly in hardware decoding processor and perform, or uses decoding processor In hardware and software module combination execution complete.Software module may be located at random access memory, and flash memory, read only memory can In the storage medium that this areas such as program read-only memory or electrically erasable programmable memorizer, depositor are ripe.This storage Medium is positioned at memorizer 802, and processor 801 reads the information in memorizer 802, completes the step of said method in conjunction with its hardware Suddenly.
It is understood that the embodiment of the present invention describe these embodiments can use hardware, software, firmware, middleware, Microcode or a combination thereof realize.Realizing for hardware, processing unit can be implemented in one or more special IC (ApplicationSpecificIntegratedCircuits, 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, for performing other electronics list of herein described function In unit or a combination thereof.
Software is realized, can come by performing the module (such as process, function etc.) of function described in the embodiment of the present invention Realize the technology described in the embodiment of the present invention.Software code is storable in performing in memorizer and by processor.Memorizer can Within a processor or to realize outside processor.
Alternatively, processor 801 is additionally operable to: receiving user's setting to delay time, delay time includes that target is closed Time.
Alternatively, processor 801 is additionally operable to: open pocket lamp;The time opening pocket lamp is recorded as the opening time;Root According to time-delay closing duration and opening time, it is calculated the target shut-in time;Pocket lamp is closed in the target shut-in time.
Alternatively, processor 801 is additionally operable to: receive user's setting to time-delay closing duration.
Alternatively, processor 801 is additionally operable to: start the delay closing circuit of power flashlights, when delay closing circuit opens Last when exceeding time-delay closing duration after Dong, close pocket lamp.
Mobile terminal 800 is capable of each process that in previous embodiment, mobile terminal realizes, for avoiding repeating, here Repeat no more.
The mobile terminal 800 that the embodiment of the present invention provides, by receiving the pocket lamp time-delay closing of unlatching mobile terminal Instruction, obtains the delay time of hand-operated pump time-delay closing, closes pocket lamp according to delay time, it is achieved that the torch of mobile terminal Cylinder was closed in the predetermined time, brings facility to user, improves the experience of user.
Those of ordinary skill in the art are it is to be appreciated that combine that the disclosed embodiments in the embodiment of the present invention describe is each The unit of example and algorithm steps, it is possible to being implemented in combination in of electronic hardware or computer software and electronic hardware.These Function performs with hardware or software mode actually, depends on application-specific and the design constraint of technical scheme.Specialty Technical staff specifically should can be used for using different methods to realize described function to each, but this realization should not Think beyond the scope of this invention.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the system of foregoing description, The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be passed through other Mode realizes.Such as, device embodiment described above is only schematically, such as, the division of described unit, it is only A kind of logic function divides, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or Person is desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown or discussed is mutual Between coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication link Connect, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.
If described function is using the form realization of SFU software functional unit and as independent production marketing or use, permissible It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is the most in other words The part contributing prior art or the part of this technical scheme can embody with the form of software product, this meter Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual People's computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention. And aforesaid storage medium includes: USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can store program code Medium.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with scope of the claims.

Claims (10)

1. a control method for pocket lamp, is applied to mobile terminal, it is characterised in that including:
Receive the instruction of the pocket lamp time-delay closing opening described mobile terminal;
Obtain the delay time of described hand-operated pump time-delay closing;
Described pocket lamp is closed according to described delay time.
Control method the most according to claim 1, it is characterised in that at the described torch receiving the described mobile terminal of unlatching Before the step of the instruction of cylinder time-delay closing, also include:
Receiving user's setting to described delay time, described delay time includes the target shut-in time.
Control method the most according to claim 1, it is characterised in that described delay time includes time-delay closing duration;? Before the step of the described instruction receiving the pocket lamp time-delay closing opening described mobile terminal, also include:
Open described pocket lamp;
After the step of the instruction of the described pocket lamp time-delay closing receiving and opening described mobile terminal, also include:
The time opening described pocket lamp is recorded as the opening time;
The described step closing described pocket lamp according to described delay time, including:
According to described time-delay closing duration and described opening time, it is calculated the target shut-in time;
Described pocket lamp is closed in the described target shut-in time.
Control method the most according to claim 3, it is characterised in that before the step of the described pocket lamp of described unlatching, Also include:
Receive user's setting to described time-delay closing duration.
Control method the most according to claim 1, it is characterised in that described delay time includes time-delay closing duration;Institute State the step closing described pocket lamp according to described delay time, including:
Start the delay closing circuit of described power flashlights, last after described delay closing circuit starts and exceed described time delay When closing duration, close described pocket lamp.
6. a mobile terminal, it is characterised in that including:
First receiver module, for receiving the instruction of the pocket lamp time-delay closing opening described mobile terminal;
Acquisition module, for obtaining the delay time of described hand-operated pump time-delay closing;
Close module, for closing described pocket lamp according to described delay time.
Mobile terminal the most according to claim 6, it is characterised in that also include:
Second receiver module, for receiving user's setting to described delay time, described delay time includes when target is closed Between.
Mobile terminal the most according to claim 6, it is characterised in that described delay time includes time-delay closing duration;Institute State mobile terminal also to include:
Opening module, is used for opening described pocket lamp;
Logging modle, is recorded as the opening time for the time of the delay time by obtaining described hand-operated pump time-delay closing;
Described closedown module includes:
Computing unit, for according to described time-delay closing duration and described opening time, is calculated the target shut-in time;
Closing unit, for closing described pocket lamp in the described target shut-in time.
Mobile terminal the most according to claim 8, it is characterised in that also include:
3rd receiver module, for receiving user's setting to described time-delay closing duration.
Mobile terminal the most according to claim 6, it is characterised in that described delay time includes time-delay closing duration;Institute State closedown module to include:
Delay closing circuit start unit, for starting the delay closing circuit of described power flashlights, when described time-delay closing Last when exceeding described time-delay closing duration after circuit start, close described pocket lamp.
CN201610617520.6A 2016-07-29 2016-07-29 The control method and mobile terminal of flashlight Active CN106302993B (en)

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 true CN106302993A (en) 2017-01-04
CN106302993B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107179821A (en) * 2017-05-23 2017-09-19 维沃移动通信有限公司 A kind of illumination device control method and mobile terminal
CN109068456A (en) * 2018-06-29 2018-12-21 Oppo(重庆)智能科技有限公司 Flashlight control method, device, terminal and storage medium
CN109801588A (en) * 2017-11-14 2019-05-24 广东美的生活电器制造有限公司 A kind of control method, device and computer-readable medium
CN109995923A (en) * 2019-03-28 2019-07-09 Oppo广东移动通信有限公司 A kind of flashlight control method, flashlight control device and terminal device

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107179821A (en) * 2017-05-23 2017-09-19 维沃移动通信有限公司 A kind of illumination device control method and mobile terminal
CN107179821B (en) * 2017-05-23 2019-12-03 维沃移动通信有限公司 A kind of illumination device control method and mobile terminal
CN109801588A (en) * 2017-11-14 2019-05-24 广东美的生活电器制造有限公司 A kind of control method, device and computer-readable medium
CN109068456A (en) * 2018-06-29 2018-12-21 Oppo(重庆)智能科技有限公司 Flashlight control method, device, terminal and storage 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

Also Published As

Publication number Publication date
CN106302993B (en) 2019-09-27

Similar Documents

Publication Publication Date Title
CN106302993A (en) The control method of pocket lamp and mobile terminal
CN106331519A (en) Method for adjusting light-compensating lamp and mobile terminal
CN103699373B (en) Interface color display, apparatus and system
CN106101569A (en) A kind of method of light filling of taking pictures and mobile terminal
CN106357927A (en) Playing control method and mobile terminal
CN106162830A (en) The method of attachment of a kind of WLAN and mobile terminal
CN108829856A (en) The resource of web application preloads method and device in display terminal
CN107193482A (en) The operating method and mobile terminal of a kind of mobile terminal screen
CN106341538A (en) Lyrics poster push method and mobile terminal
CN106227453A (en) The control method of a kind of mobile terminal and mobile terminal
CN106201495A (en) A kind of entrance creation method and mobile terminal
CN107885823A (en) Player method, device, storage medium and the electronic equipment of audio-frequency information
CN106371659A (en) Function entry enable method and mobile terminal
CN106055241A (en) Control method for mobile terminal and mobile terminal
CN105824459A (en) Text reproducing and pasting method and mobile terminal
CN106357918A (en) Method for adjusting screen brightness and mobile terminal
CN106293214A (en) A kind of method of illumination and mobile terminal
CN106055296A (en) Control method for display brightness of terminal screen and terminal
CN106488019A (en) A kind of mobile terminal and the starting-up method of mobile terminal
CN106961516A (en) A kind of flash lamp control method and device
CN106060397A (en) Shooting mode switching method and mobile terminal
CN106055215A (en) Event time recording method and mobile terminal
CN107016109B (en) A kind of photo film making method and mobile terminal
CN106650351A (en) running method of application program and mobile terminal
CN106502325A (en) A kind of light compensation method of mobile terminal and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
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.