Summary of the invention
In consideration of it, the invention provides a kind of mobile terminal and the method controlling pocket lamp, described mobile terminal and controlThe method of pocket lamp can open pocket lamp automatically according to ambient conditions, and by the light of pocket lamp in the way of gradually highlightingIntensity adjustments is to corresponding brightness.
The invention provides a kind of mobile terminal, described mobile terminal includes pocket lamp, light detection module, controls mouldBlock.
Described light detection module, for detecting the light intensity of surrounding;And
Described control module, whether the light intensity being used for detecting described in judging is less than first and presets light intensity, whenWhen presetting light intensity less than first, automatically open up described pocket lamp, and be adjusted to step by step preset by the brightness of described pocket lampBrightness.
Further, described mobile terminal also includes:
Touch detection module, be used for detecting touch signal, and record the occurrence number of described touch signal and/or described touchTouch the persistent period of signal;And
Described control module, is additionally operable to judge whether the occurrence number of described touch signal exceedes preset times, and/or sentencesWhether the persistent period of disconnected described touch signal exceedes Preset Time, when exceeding preset times and/or Preset Time, by describedThe brightness of pocket lamp is adjusted to corresponding with the persistent period of the occurrence number of described touch signal, described touch signal step by stepBrightness.
Further, described mobile terminal also includes:
Pressure detecting module, is used for detecting pressure sensitive signal, record described pressure sensitive signal occurrence number and/orThe persistent period of described pressure sensitive signal;And
Described control module, is additionally operable to judge whether the occurrence number of described pressure sensitive signal exceedes preset times, and/Or judge whether the persistent period of described pressure sensitive signal exceedes Preset Time, when exceeding described preset times and/or describedDuring Preset Time, the brightness of described pocket lamp is adjusted to and the occurrence number of described pressure sensitive signal, described pressure step by stepThe brightness that persistent period of induced signal is corresponding.
Further, described mobile terminal also includes:
Velocity measuring module, is used for detecting whether described mobile terminal occurs velocity variations;And
Described control module, is additionally operable to when described mobile terminal generation velocity variations being detected, by described pocket lampBrightness is adjusted to the brightness corresponding with described velocity variations step by step.
Further, described control module, whether the light intensity being additionally operable to detect described in judging is preset more than secondLight intensity, when the described light intensity detected presets light intensity more than described second, is automatically switched off described pocket lamp.
The present invention also provides for a kind of method controlling pocket lamp, and the method for described control pocket lamp includes:
The light intensity of mobile terminal detection surrounding;And
Whether the light intensity detected described in judgement presets light intensity less than first, strong when presetting light less than firstWhen spending, automatically open up described pocket lamp, and the brightness of described pocket lamp is adjusted to described predetermined luminance step by step.
Further, the method for described control pocket lamp also includes:
Mobile terminal detection touch signal, and record the occurrence number of described touch signal and/or described touch signalPersistent period;And
Judge whether the occurrence number of described touch signal exceedes preset times, and/or judge holding of described touch signalWhether the continuous time exceedes Preset Time, when exceeding preset times and/or Preset Time, the brightness of described pocket lamp is adjusted step by stepJoint is to the brightness corresponding with the persistent period of the occurrence number of described touch signal, described touch signal.
Further, the method for described control pocket lamp also includes:
Mobile terminal detection pressure sensitive signal, records the occurrence number of described pressure sensitive signal and/or described pressureThe persistent period of induced signal;And
Judge whether the occurrence number of described pressure sensitive signal exceedes preset times, and/or judge described pressure sensitiveWhether the persistent period of signal exceedes Preset Time, when exceeding described preset times and/or described Preset Time, by described handsThe brightness of torch is adjusted to and the occurrence number of described pressure sensitive signal, the persistent period phase of described pressure sensitive signal step by stepCorresponding brightness.
Further, the method for described control pocket lamp also includes:
Mobile terminal detects whether described mobile terminal occurs velocity variations;And
When described mobile terminal generation velocity variations being detected, the brightness of described pocket lamp is adjusted to step by step with describedThe brightness that velocity variations is corresponding.
Further, the method for described control pocket lamp also includes:
Whether the light intensity detected described in judgement presets light intensity, when the described light detected is strong more than secondWhen degree presets light intensity more than described second, it is automatically switched off described pocket lamp.
The mobile terminal of present invention offer and the method for control pocket lamp are by carrying out the light intensity in surroundingDetection, it is judged that current environment is the need of opening pocket lamp, when pocket lamp opened by needs, automatically opens up pocket lamp rightThe brightness of pocket lamp gradually regulates to corresponding brightness, it is to avoid directly occur when opening pocket lamp that high light harms the eyes of user,The brightness of pocket lamp, i.e. user is regulated step by step according to the pressure sensitive signal detected, pressure sensitive signal, Gravity changer signalThe brightness of pocket lamp can be regulated step by step, when the light intensity of surrounding need not by touching, tap, rocking mobile terminalWhen pocket lamp light is provided, it is automatically switched off pocket lamp, the number of operations of user can be reduced, save the electric energy of mobile terminal.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, useFor representing the suffix explanation only for the beneficially present invention of such as " module ", " parts " or " unit " of element, itselfNot specific meaning.Therefore, " module " can mixedly use with " parts ".
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include such as movingPhone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMPThe mobile terminal of (portable media player), guider etc. and consolidating of such as numeral TV, desk computer etc.Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, mobile except being used in particular forOutside the element of purpose, structure according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware architecture diagram of the mobile terminal realizing each embodiment of the present invention.
Mobile terminal 10 can include, but not limited to memorizer 20, controller 30, wireless communication unit 40, input block50, input block 60, photographic head 70, mike 71, interface unit 80 and power subsystem 90.Fig. 1 shows have various assemblyMobile terminal 10 it should be appreciated that be, it is not required that implement all assemblies illustrated.Can alternatively implement more orLess assembly.Will be discussed in more detail below the element of mobile terminal 10.
Wireless communication unit 40 generally includes one or more assembly, its allow mobile terminal 10 and wireless communication system orWireless points communication between network.Such as, wireless communication unit can include broadcast reception module, mobile communication module, wirelessAt least one in the Internet module, short range communication module and positional information module.
Broadcast reception module is relevant from external broadcasting management server reception broadcast singal and/or broadcast via broadcast channelInformation.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be to generate and send broadcastSignal and/or the server of broadcast related information or the broadcast singal generated before receiving and/or broadcast related information andSend it to the server of terminal.Broadcast singal can include TV broadcast singal, radio signals, data broadcasting signalEtc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.The relevant letter of broadcastBreath can also provide via mobile communications network, and in this case, broadcast related information can be come by mobile communication moduleReceive.Broadcast singal can exist in a variety of manners, and such as, it can refer to the electronic programming of DMB (DMB)South (EPG), the form of electronic service guidebooks (ESG) etc. of digital video broadcast-handheld (DVB-H) and exist.Broadcast reception mouldBlock can be broadcasted by using various types of broadcast systems to receive signal.Especially, broadcast reception module can be by usingSuch as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), DVB-hand-held (DVB-H), forward link media (MediaFLO@) Radio Data System, the number of received terrestrial digital broadcasting integrated service (ISDB-T) etc.Word broadcast system receives digital broadcasting.Broadcast reception module may be constructed such that the various broadcast systems being adapted to provide for broadcast singalAnd above-mentioned digit broadcasting system.The broadcast singal and/or the broadcast related information that receive via broadcast reception module can storeIn memorizer 20 (or other type of storage medium).
Mobile communication module send radio signals to base station (such as, access point, node B etc.), exterior terminal withAnd in server at least one and/or receive from it radio signal.Such radio signal can include that language is conversedSignal, video calling signal or the various types of data sending according to text and/or Multimedia Message and/or receiving.
Wireless Internet module supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can internally or externally coupleTo terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (WLAN) (Wi-Fi), Wibro (nothingLive width band), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc..
Short range communication module is the module for supporting junction service.Some examples of short-range communication technology include bluetoothTM、RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybeeTMEtc..
Positional information module is the module of positional information for checking or obtain mobile terminal.The allusion quotation of positional information moduleType example is GPS (global positioning system).According to current technology, GPS module calculates the distance from three or more satellitesInformation and correct time information and for the Information application triangulation calculated, thus according to longitude, latitude and heightCalculate three-dimensional current location information exactly.Currently, for calculate position and temporal information method use three satellites andBy using an other satellite to correct the position and the error of temporal information calculated.Additionally, GPS module can be by realTime ground Continuous plus current location information calculate velocity information.
Output unit 50 be configured to vision, audio frequency and/or tactile manner provide output signal (such as, audio signal,Video signal, alarm signal, vibration signal etc.).Output unit 50 can include display unit 51, dio Output Modules 52,Alarm unit 53 etc..
Display unit 51 may be displayed on the information processed in mobile terminal 10.Such as, it is in phone when mobile terminal 10During call mode, display unit 51 can show with call or other communicate (such as, under text messaging, multimedia fileCarry etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 10 be in video calling pattern orDuring image capture mode, display unit 51 can show capture image and/or the image of reception, illustrate video or image andUI or GUI of correlation function etc..
Meanwhile, when display unit 51 and touch pad the most superposed on one another with formed touch screen time, display unit 51Can serve as input equipment and output device.Display unit 51 can include liquid crystal display (LCD), thin film transistor (TFT) LCD(TFT-LCD), at least in Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc.Kind.Some in these display may be constructed such that transparence is watched from outside with permission user, and this is properly termed as transparent aobviousShowing device, typical transparent display can for example, TOLED (transparent organic light emitting diode) display etc..Think according to specificThe embodiment wanted, mobile terminal 10 can include two or more display units (or other display device), such as, mobile wholeEnd can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detecting touch inputPressure and touch input position and touch input area.
Dio Output Modules 52 can be in call signal at mobile terminal and receive pattern, call mode, logging mode, languageTime under the speech isotype such as recognition mode, broadcast reception mode, that wireless communication unit 40 is received or deposit in memorizer 20Storage voice data transducing audio signal and be output as sound.And, dio Output Modules 52 can provide and mobile terminalThe audio frequency output (such as, call signal receives sound, message sink sound etc.) that 10 specific functions performed are relevant.Audio frequency is defeatedGo out module 52 and can include speaker, buzzer etc..
Alarm unit 53 can provide output to notify event to mobile terminal 10.Typical event can be wrappedInclude calling reception, message sink, key signals input, touch input etc..In addition to audio or video exports, alarm unit 53Can provide in a different manner and export the generation with notification event.Such as, alarm unit 53 can provide with the form of vibrationOutput, when receiving calling, message or some other entrance communication (incoming communication), alarm unit 53Sense of touch output (that is, vibration) can be provided to notify to user.By providing such sense of touch to export, even if user'sWhen mobile phone is in the pocket of user, user also is able to identify the generation of various event.Alarm unit 53 can also be throughThe output of the generation of notification event is provided by display unit 51 or dio Output Modules 52.
Input block 60 can generate key input data to control the various behaviour of mobile terminal according to the order of user's inputMake.Input block 60 allows user to input various types of information, and can include keyboard, metal dome, touch pad (such as,Detect due to touched and cause resistance, pressure, the sensitive component of change of electric capacity etc.), roller, rocking bar etc..EspeciallyGround, when touch pad is superimposed upon on display unit 50 as a layer, can form touch screen.In an embodiment of the present invention,Described input block 60 includes touch screen and ink screen.Photographic head 70 is used for shooting image document, and mike 71 is used for enrolling soundFrequently data.
Interface unit 80 is used as at least one external device (ED) and is connected, with mobile terminal 10, the interface that can pass through.Such as, outwardPart device can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wirelessFPDP, memory card port, for connect have the port of device of identification module, audio frequency input/output (I/O) port,Video i/o port, ear port etc..Identification module can be that storage is for verifying that user uses the various letters of mobile terminal 10Cease and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc. can be included.It addition, the device (hereinafter referred to as " identifying device ") with identification module can be to take the form of smart card, therefore, identify deviceCan be connected with mobile terminal 10 via port or other attachment means.Interface unit 80 may be used for receiving from external device (ED)Input (such as, data message, electric power etc.) and or many that the input received is transferred in mobile terminal 10Individual element or may be used between mobile terminal and external device (ED) transmit data.
It addition, when mobile terminal 10 is connected with external base, interface unit 80 can serve as allowing electric power by itThere is provided the path of mobile terminal 10 from base or can serve as allowing the various command signals from base input to be passed by itIt is passed to the path of mobile terminal.May serve as whether identifying mobile terminal from various command signals or the electric power of base inputThe signal being accurately fitted within base.
Memorizer 20 can store the process performed by controller 30 and the software program controlling operation etc., or permissibleThe temporarily own data (such as, telephone directory, message, still image, video etc.) that maybe will export through output of storage.And,Memorizer 20 can be to store vibration and the data of audio signal of the various modes about exporting when touching and being applied to touch screen.
Memorizer 20 can include that the storage medium of at least one type, described storage medium include flash memory, hard disk, many matchmakersBody card, card-type memorizer (such as, SD or DX memorizer etc.), random access storage device (RAM), static random-access memory(SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory(PROM), magnetic storage, disk, CD etc..And, mobile terminal 10 can be connected execution memorizer 20 with by networkStorage function network storage device cooperation.
Controller 30 generally controls the overall operation of mobile terminal.Such as, controller 30 performs to lead to language call, dataControl that letter, video calling etc. are relevant and process.It addition, controller 30 can include for reproducing (or playback) multimedia numberAccording to multi-media module, multi-media module can construct in controller 30, or it is so structured that separates with controller 30.ControlDevice 30 processed can perform pattern recognition process, the handwriting input performed on the touchscreen or picture drafting input to be identified asCharacter or image.
Power subsystem 90 receives external power or internal power under the control of the controller 30 and provides operation each elementWith the suitable electric power needed for assembly.
Various embodiment described herein can be to use such as computer software, hardware or its any combination of calculatingMachine computer-readable recording medium is implemented.Implementing for hardware, embodiment described herein can be by using application-specific IC(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene canProgram gate array (FPGA), processor, controller, microcontroller, microprocessor, be designed to perform function described hereinAt least one in electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180.Software is implemented, the embodiment of such as process or function can with allow to perform the single of at least one function or operationSoftware module is implemented.Software code can be come by the software application (or program) write with any suitable programming languageImplementing, software code can be stored in memorizer 160 and be performed by controller 180.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will describe such as folded form,Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showingExample.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 10 may be constructed such that utilize via frame or packet transmission data the most wiredOperate with wireless communication system and satellite-based communication system.
The communication system being wherein operable to according to the mobile terminal of the present invention is described referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.Such as, communication system useAir interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications systemSystem (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, underThe description in face relates to cdma communication system, but such teaching is equally applicable to other type of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 10, multiple base station (BS) 270, base station controlDevice processed (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290Form interface.MSC280 is also structured to and the BSC275 formation interface that can be couple to base station 270 via back haul link.BackhaulIf circuit can construct according to any one in the interface that Ganji knows, described interface includes such as E1/T1, ATM, IP, PPP,Frame relay, HDSL, ADSL or xDSL.It will be appreciated that system as shown in Figure 2 can include multiple BSC2750.
Each BS270 can service one or more subregion (or region), by multidirectional antenna or the sky of sensing specific directionEach subregion that line covers is radially away from BS270.Or, each subregion can be by for two or more of diversity receptionAntenna covers.Each BS270 may be constructed such that support multiple frequencies distribution, and the distribution of each frequency has specific frequency spectrum(such as, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiverSystem (BTS) or other equivalent terms.In this case, term " base station " may be used for broadly representing singleBSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be claimedFor multiple cellular stations.
As shown in Figure 2, broadcast singal is sent in system the mobile terminal operated by broadcsting transmitter (BT) 29510.Broadcast reception module 111 is arranged on mobile terminal 10 and sentences the broadcast letter that reception is sent by BT295 as shown in Figure 1Number.In fig. 2 it is shown that several global positioning systems (GPS) satellite 300.Satellite 300 helps to position in multiple mobile terminals 10At least one.
In fig. 2, depict multiple satellite 300, it is understood that be, it is possible to use any number of satellite obtain usefulLocation information.GPS module 115 is generally configured to coordinate with satellite 300 to obtain the location letter wanted as shown in Figure 1Breath.Substitute GPS tracking technique or outside GPS tracking technique, it is possible to use other of position of mobile terminal can be followed the tracks ofTechnology.It addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminals 10Signal.Mobile terminal 10 generally participates in call, information receiving and transmitting communicates with other type of.Certain base station 270 receive each insteadProcessed in specific BS270 to link signal.The data obtained are forwarded to the BSC275 being correlated with.BSC provides callResource distribution and the mobile management function of the coordination of soft switching process included between BS270.The number that BSC275 also will receiveAccording to being routed to MSC280, it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 withMSC280 forms interface, MSC Yu BSC275 forms interface, and BSC275 correspondingly controls BS270 with by forward link signalsIt is sent to mobile terminal 10.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the inventive method is proposed.
Refer to the functional block diagram that Fig. 3, Fig. 3 are the embodiment of the present invention one mobile terminals.Mobile terminal 10 shown in Fig. 3Including light detection module 101, pocket lamp 102, control module 103.Below each functional module is described in detail.LightDetection module 101 detects the light intensity of surrounding, and control module 103 judges that whether the light intensity detected is less than firstPreset light intensity, when presetting light intensity less than first, automatically open up pocket lamp 102, and by the brightness of pocket lamp 102 byLevel is adjusted to predetermined luminance.It should be noted that the light preset, predetermined luminance all can be carried out setting of personalization by userPutting, the sensitivity of light can be arranged voluntarily by user according to oneself.After opening pocket lamp 102, light detection module 101Detect in real time the light intensity of surrounding, control module 103 judge described in the light intensity that detects the most pre-more than secondIf light intensity, when the light intensity detected presets light intensity more than second, it is automatically switched off pocket lamp 102.
The mobile terminal that the present embodiment provides is by detecting the light intensity in surrounding, it is judged that work as front ringBorder is the need of opening pocket lamp, and when pocket lamp opened by needs, the brightness automatically opening up pocket lamp flashlight is gradually adjustedJoint is to corresponding brightness, it is to avoid directly occur when opening pocket lamp that high light harms the eyes of user, when the light of surrounding is strongWhen degree need not provide pocket lamp light, it is automatically switched off pocket lamp, the number of operations of user can be reduced, save the electricity of mobile terminalEnergy.
Refer to the functional block diagram that Fig. 4, Fig. 4 are the embodiment of the present invention two mobile terminals.Mobile terminal 10 shown in Fig. 4Including: light detection detection module 101, pocket lamp 102, control module 103, touch detection module 105, pressure detecting module107, velocity measuring module 109.Below each functional module is described in detail.
Light detection module 101 detects the light intensity of surrounding, and control module 103 judges the light intensity detectedWhether preset light intensity less than first, when presetting light intensity less than first, automatically open up pocket lamp 102, and by torchThe brightness of cylinder 102 is adjusted to predetermined luminance step by step.It should be noted that the light preset, predetermined luminance all can be entered by userThe setting that row is personalized, the sensitivity of light can be arranged voluntarily by user according to oneself.
It should be noted that touch detection module 105 to detect touch signal, and record touch signal occurrence number and/Or the persistent period of touch signal, control module 103 judges whether the occurrence number of touch signal exceedes preset times, and/orJudge whether the persistent period of touch signal exceedes Preset Time, when exceeding preset times and/or Preset Time, by pocket lampThe brightness of 102 is adjusted to the persistent period corresponding brightness of the occurrence number with touch signal, touch signal step by step, wherein,Brightness corresponding to the occurrence number of touch signal can be user arrange voluntarily data, can also be for system default data, exampleAs corresponding in system default 1 touch signal of appearance brightness is the whole brightness of pocket lamp 25%, user can arrange 3 touchesThe brightness that signal is corresponding is the 50% of the whole brightness of pocket lamp, it addition, brightness corresponding to the persistent period of touch signal can beData that user is arranged voluntarily, when can also occur that touch signal continues 1 second for system default data, such as system default, rightThe brightness answered is the 25% of the whole brightness of pocket lamp, and user can arrange the persistent period of touch signal when being 2 seconds, and corresponding is brightDegree is the 50% of the whole brightness of pocket lamp.
Further illustrating, pressure detecting module 107 detects pressure sensitive signal, the appearance of record pressure sensitive signalNumber of times and/or the persistent period of pressure sensitive signal, control module 103 judges whether the occurrence number of pressure sensitive signal exceedesPreset times, and/or judge whether the persistent period of pressure sensitive signal exceedes Preset Time, when exceed preset times and/orDuring Preset Time, the brightness of pocket lamp 102 is adjusted to step by step the occurrence number with pressure sensitive signal, pressure sensitive signalThe brightness that persistent period is corresponding, wherein, the brightness that the occurrence number of pressure sensitive signal is corresponding can be that user is arranged voluntarilyData, can also be system default data, such as system default occurs that the brightness that 1 pressure sensitive signal is corresponding is pocket lampAll 20% of brightness, it is the 80% of the whole brightness of pocket lamp that user can arrange 4 brightness corresponding to touch signal, it addition,Brightness corresponding to persistent period of pressure sensitive signal can be user arrange voluntarily data, can also be for system default numberAccording to, such as system default occurs when pressure sensitive signal continues 0.5 second, corresponding brightness is the whole brightness of pocket lamp 50%,User can arrange the persistent period of touch signal when being 1 second, corresponding brightness is the whole brightness of pocket lamp 70%.
Illustrating further, velocity measuring module 109 detects whether mobile terminal occurs velocity variations, when detectingDuring mobile terminal generation velocity variations, the brightness of pocket lamp 102 is adjusted to corresponding with velocity variations by control module 103 step by stepBrightness, wherein, velocity variations includes that the linear velocity that change in gravitational acceleration that gravity sensor detects, gyroscope detect becomesChange, the pocket lamp brightness of correspondence can be set according to velocity variations value.
After opening pocket lamp 102, light detection module 101 detects the light intensity of surrounding, control module in real time103 judge whether the light intensity detected presets light intensity, when presetting light intensity higher than first, automatically higher than firstClose pocket lamp 102.
The mobile terminal that the present embodiment provides is by detecting the light intensity in surrounding, it is judged that work as front ringBorder is the need of opening pocket lamp, and when pocket lamp opened by needs, the brightness automatically opening up pocket lamp flashlight is gradually adjustedJoint is to corresponding brightness, it is to avoid directly occur when opening pocket lamp that high light harms the eyes of user, according to the touch letter detectedNumber, pressure sensitive signal, Gravity changer signal regulate the brightness of pocket lamp, i.e. user step by step can be by touching, tap, rockingMobile terminal regulates the brightness of pocket lamp step by step, when the light intensity of surrounding need not provide pocket lamp light, automaticallyClose pocket lamp, the number of operations of user can be reduced, save the electric energy of mobile terminal.
It is the schematic diagram of the embodiment of the present invention three mobile terminal detection touch signal refering to Fig. 5, Fig. 5, at the present embodimentSchematic diagram includes mobile terminal 10, touch screen 1051, user, and wherein touch screen 1051 is touch detection module 105 in Fig. 4One concrete mounting means, touch screen 1051 is superimposed upon on the display unit 50 of mobile terminal 10, usually will include touch screenThe surface of 1051 is referred to as the front of mobile terminal 10.After touch screen 1051 is made touch action by the finger of user, mobile wholeThe touch screen 1051 of end 10 receives touch signal, and persistently detects whether again to receive touch signal, detect single touch letterNumber duration, the occurrence number of record touch signal and/or the persistent period of touch signal.Control module 103 judges to touchWhether the occurrence number touching signal exceedes preset times, and/or judges whether the persistent period of touch signal exceedes Preset Time,When exceeding preset times and/or Preset Time, the brightness of pocket lamp is adjusted to step by step the occurrence number with touch signal, touchesTouch the corresponding brightness of the persistent period of signal.
The present embodiment provide mobile terminal by touch screen detection trigger signal, according to trigger signal occurrence number orPerson trigger signal duration gradually regulate the brightness of pocket lamp, i.e. user can by touch mobile terminal regulate hands step by stepThe brightness of torch, gradually lightens light intensity and can protect the eyes of user, it is provided that good Consumer's Experience.
It is the schematic diagram of the embodiment of the present invention four mobile terminal detection pressure sensitive signal refering to Fig. 6, Fig. 6, in this enforcementThe schematic diagram of example includes mobile terminal 10, pressure transducer 1071, user, and wherein pressure transducer 1071 is pressure in Fig. 4One concrete mounting means of detection module 107, pressure transducer 1071 is arranged on the back side of mobile terminal 10, usually will moveIn dynamic terminal 10, the opposed face with the surface at touch screen 1051 place becomes the back side.When the user back side to mobile terminal 10Pressure transducer 1071 make push action after, the pressure transducer 1071 of mobile terminal 10 receives pressure sensor signal, andPersistently detecting whether again to receive pressure sensor signal, detect single pressure sensor signal duration, record pressure passesThe occurrence number of sense signal and/or the persistent period of pressure sensor signal.Control module 103 judges the appearance of pressure sensor signalWhether number of times exceedes preset times, and/or judges whether the persistent period of pressure sensor signal exceedes Preset Time, pre-when exceedingIf when number of times and/or Preset Time, the brightness of pocket lamp is adjusted to step by step the occurrence number with pressure sensor signal, pressure biographyThe persistent period corresponding brightness of sense signal.
The mobile terminal that the present embodiment provides detects pressure sensor signal by pressure transducer, according to pressure sensor signalOccurrence number or pressure sensor signal duration gradually regulate the brightness of pocket lamp, i.e. user can be by tapping eventuallyEnd regulates the brightness of pocket lamp step by step, gradually lightens light intensity and can protect the eyes of user, it is provided that good Consumer's Experience.
It is the schematic diagram of the embodiment of the present invention five mobile terminal detection velocity variations refering to Fig. 7, Fig. 7, at the present embodimentSchematic diagram includes mobile terminal 10, velocity measuring module 109, user, and velocity measuring module 109 includes gravity sensor1091, gyroscope 1093, when user rocks mobile terminal 10, velocity measuring module 109 detects whether mobile terminal occurs speedDegree change, when mobile terminal generation velocity variations being detected, the brightness of pocket lamp 102 is adjusted to by control module 103 step by stepThe brightness corresponding with velocity variations, specifically, velocity variations include change in gravitational acceleration that gravity sensor 1091 detects,The change of line speed that gyroscope 1093 detects, adjusts the hands of correspondence according to change in gravitational acceleration value, change of line speed valueTorch brightness.
The mobile terminal that the present embodiment provides is by gravity sensor, gyroscope detection velocity variations, according to velocity variationsValue gradually regulates the brightness of pocket lamp, i.e. user can regulate the brightness of pocket lamp step by step by rocking mobile terminal, gradually adjustsBright light rays intensity can protect the eyes of user, it is provided that good Consumer's Experience.
The present invention also provides for a kind of method controlling pocket lamp, the mobile terminal 10 shown in the method application drawing 3 or Fig. 4,The method that the present embodiment controls pocket lamp below describes in detail.
It is the flow chart that the embodiment of the present invention six controls the method for pocket lamp refering to Fig. 8, Fig. 8.
In step S801, light detection module 101 detects the light intensity of surrounding.
In step S803, control module 103 judges whether the light intensity detected presets light intensity less than first,When presetting light intensity less than first, automatically open up pocket lamp 102, and be adjusted to step by step preset by the brightness of pocket lamp 102Brightness.It should be noted that the light preset, predetermined luminance all can be carried out the setting of personalization by user, user can rootAccording to oneself, the sensitivity of light is arranged voluntarily.
In step S805, after opening pocket lamp 102, light detection module 101 detects the light of surrounding in real timeIntensity, control module 103 judges whether the light intensity detected presets light intensity, when the light detected is strong more than secondWhen degree presets light intensity more than second, it is automatically switched off described pocket lamp 102.
The method controlling pocket lamp that the present embodiment provides is by detecting the light intensity in surrounding, it is judged thatGo out current environment the need of opening pocket lamp, when pocket lamp opened by needs, automatically open up the bright of pocket lamp flashlightDegree gradually regulates to corresponding brightness, it is to avoid directly occurs when opening pocket lamp that high light harms the eyes of user, works as surroundingLight intensity when need not provide pocket lamp light, be automatically switched off pocket lamp, can reduce user number of operations, save mobileThe electric energy of terminal.
It is the flow chart that the embodiment of the present invention seven controls the method for pocket lamp refering to Fig. 9, Fig. 9.
In step S901, touch detection module 105 and detect touch signal, and record touch signal occurrence number and/Or the persistent period of touch signal.
In step S903, control module 103 judges whether the occurrence number of touch signal exceedes preset times, and/orJudge whether the persistent period of touch signal exceedes Preset Time, when exceeding preset times and/or Preset Time, by pocket lampThe brightness of 102 is adjusted to the persistent period corresponding brightness of the occurrence number with touch signal, touch signal step by step, wherein,Brightness corresponding to the occurrence number of touch signal can be user arrange voluntarily data, can also be for system default data, exampleAs corresponding in system default 1 touch signal of appearance brightness is the whole brightness of pocket lamp 25%, user can arrange 3 touchesThe brightness that signal is corresponding is the 50% of the whole brightness of pocket lamp, it addition, brightness corresponding to the persistent period of touch signal can beData that user is arranged voluntarily, when can also occur that touch signal continues 1 second for system default data, such as system default, rightThe brightness answered is the 25% of the whole brightness of pocket lamp, and user can arrange the persistent period of touch signal when being 2 seconds, and corresponding is brightDegree is the 50% of the whole brightness of pocket lamp.
The method controlling pocket lamp that the present embodiment provides is by the occurrence number triggering signal detected or triggeringSignal duration gradually regulates the brightness of pocket lamp, i.e. user can regulate pocket lamp step by step by touching mobile terminalBrightness, gradually lightens light intensity and can protect the eyes of user, it is provided that good Consumer's Experience.
It is the flow chart that the embodiment of the present invention eight controls the method for pocket lamp refering to Figure 10, Figure 10.
In step S1001, pressure detecting module 107 detects pressure sensitive signal, the appearance of record pressure sensitive signalNumber of times and/or the persistent period of pressure sensitive signal.
In the step s 1003, control module 103 judges whether the occurrence number of pressure sensitive signal exceedes preset times,And/or judge whether the persistent period of pressure sensitive signal exceedes Preset Time, when exceeding preset times and/or Preset TimeTime, the brightness of pocket lamp 102 is adjusted to the occurrence number with pressure sensitive signal, the persistent period of pressure sensitive signal step by stepCorresponding brightness, wherein, brightness corresponding to the occurrence number of pressure sensitive signal can be the data, also that user is arranged voluntarilyCan be system default data, the brightness that such as 1 pressure sensitive signal of system default appearance is corresponding be the whole brightness of pocket lamp20%, it is the 80% of the whole brightness of pocket lamp that user can arrange 4 brightness corresponding to touch signal, it addition, pressure sensitiveBrightness corresponding to persistent period of signal can be user arrange voluntarily data, can also be such as system default dataSystem acquiescence occurs that, when pressure sensitive signal continues 0.5 second, corresponding brightness is the whole brightness of pocket lamp 50%, user can setPut persistent period of touch signal when being 1 second, corresponding brightness is the whole brightness of pocket lamp 70%.
The method controlling pocket lamp that the present embodiment provides by the occurrence number of pressure sensor signal detected orThe persistent period of pressure sensor signal gradually regulates the brightness of pocket lamp, i.e. user and can regulate step by step by tapping mobile terminalThe brightness of pocket lamp, gradually lightens light intensity and can protect the eyes of user, it is provided that good Consumer's Experience.
It is the flow chart that the embodiment of the present invention nine controls the method for pocket lamp refering to Figure 11, Figure 11.
In step S1101, velocity measuring module 109 detects whether mobile terminal 10 occurs velocity variations.
In step S1103, when detecting that mobile terminal 10 occurs velocity variations, control module 103 is by pocket lamp 102Brightness be adjusted to the brightness corresponding with velocity variations step by step, wherein, velocity variations includes the gravity that gravity sensor detectsThe change of line speed that acceleration change, gyroscope detect, can arrange the pocket lamp brightness of correspondence according to velocity variations value.
The velocity variations of the method controlling pocket lamp that the present embodiment the provides mobile terminal by detecting gradually regulatesThe brightness of pocket lamp, i.e. user can regulate the brightness of pocket lamp step by step by rocking mobile terminal, gradually lighten light intensityThe eyes of user can be protected, it is provided that good Consumer's Experience.
These are only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention andAny amendment, equivalent and the improvement etc. made within principle, should be included within the scope of the present invention.