CN105611063A - Indicator light control method and device - Google Patents

Indicator light control method and device Download PDF

Info

Publication number
CN105611063A
CN105611063A CN201610037355.7A CN201610037355A CN105611063A CN 105611063 A CN105611063 A CN 105611063A CN 201610037355 A CN201610037355 A CN 201610037355A CN 105611063 A CN105611063 A CN 105611063A
Authority
CN
China
Prior art keywords
indicator lamp
vibration signal
signal
terminal
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610037355.7A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610037355.7A priority Critical patent/CN105611063A/en
Publication of CN105611063A publication Critical patent/CN105611063A/en
Pending legal-status Critical Current

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
    • 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/725Cordless telephones
    • H04M1/73Battery saving arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • H04M19/048Arrangements providing optical indication of the incoming call, e.g. flasher circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses an indicator light control method and device. The indicator light control method comprises the following steps: when the fact that the indicator light of a terminal is lighted is detected, obtaining the vibration signal of the terminal; judging whether the vibration signal is a signal generated through knocking the terminal by a user; and if so, controlling the indicator light according to the vibration signal. The indicator light control method is simple and convenient in operation and is high in processing efficiency.

Description

A kind of indicator lamp control method and device
Technical field
The present invention relates to communication technical field, relate in particular to a kind of indicator lamp control method and device.
Background technology
Along with scientific and technological development, mobile terminal be widely used the every aspect being deep in life, its meritCan also constantly improve and enrich the application such as phone, note, the network information, news, microblogging, micro-letterDay by day become user's routine use function.
Along with user uses the day by day frequent of above-mentioned functions, it is more and more that various information also becomes, and the moment is paid close attention toCellphone information has become the necessary of people's life. But, due to not carrying mobile phone constantly of user, can causePartial information is in unread state, and for avoiding user to omit checking of important information, existing mobile phone generally allWith functions of indicator light, in the time having unread message, indicator lamp all can be by lighting or glimmering to notify useFamily. If check message or do not remove in time notice, instruction in informing but user is temporarily not freeLamp will light always or glimmer, and brings certain puzzlement to user, and the lighting for a long time or dodge of indicator lampThe bright service life that also can shorten indicator lamp, and the power consumption of mobile phone is caused to certain burden.
Summary of the invention
The object of the present invention is to provide a kind of indicator lamp control method and device, to solve in existing mobile phoneIndicator lamp lights for a long time or glimmers, and causes the technical problem that the indicator lamp life-span is short, mobile telephone power consumption increases.
For solving the problems of the technologies described above, the embodiment of the present invention provides following technical scheme:
A kind of indicator lamp control method, it comprises:
In the time detecting that the indicator lamp of terminal lights, obtain the vibration signal of described terminal;
Judge whether described vibration signal is that user knocks the signal that described terminal produces;
If so, according to described vibration signal, described indicator lamp is controlled.
Further, describedly judge that whether described vibration signal is that user knocks signal that described terminal producesStep specifically comprises:
Data signal corresponding to described vibration signal convert to;
Obtain the spectrum information of described data signal, described spectrum information comprise temporal information, frequency information andAmplitude information;
Judge according to described spectrum information whether described vibration signal is that user knocks the letter that described terminal producesNumber.
Further, the described step of described indicator lamp being controlled according to described vibration signal is specifically wrappedDraw together:
Search in preset instructions database according to described vibration signal, refer to obtain corresponding operationOrder;
According to described operational order, described indicator lamp is controlled.
Further, the described step of described indicator lamp being controlled according to described operational order is specifically wrappedDraw together:
In the time that described operational order instruction is no longer reminded, close described indicator lamp;
In the time that described operational order instruction is reminded after a while, close described indicator lamp, and open clocking capability, whenWhile reaching Preset Time, open described indicator lamp.
Further, before searching in preset instructions database according to described vibration signal, described inIndicator lamp control method also comprises:
Whether detect described terminal in charged state;
If in charged state, close described indicator lamp, and Real-Time Monitoring charging progress, when described terminalElectric weight while being full of, open described indicator lamp;
If not in charged state, carry out according to described vibration signal and look in preset instructions databaseThe step of looking for.
For solving the problems of the technologies described above, the embodiment of the present invention also provides following technical scheme:
A kind of controlling apparatus for indicator lamp, it comprises:
Acquisition module, in the time detecting that the indicator lamp of terminal lights, obtains the vibration letter of described terminalNumber;
Judge module, for judging whether described vibration signal is that user knocks the signal that described terminal produces;
If so, the first control module, for controlling described indicator lamp according to described vibration signal.
Further, described judge module specifically for:
Data signal corresponding to described vibration signal convert to;
Obtain the spectrum information of described data signal, described spectrum information comprise temporal information, frequency information andAmplitude information;
Judge according to described spectrum information whether described vibration signal is that user knocks the letter that described terminal producesNumber.
Further, described the first control module specifically comprises:
Search submodule, for searching at preset instructions database according to described vibration signal, withTo corresponding operational order;
Control submodule, for described indicator lamp being controlled according to described operational order.
Further, described control submodule specifically for:
In the time that described operational order instruction is no longer reminded, close described indicator lamp;
In the time that described operational order instruction is reminded after a while, close described indicator lamp, and open clocking capability, whenWhile reaching Preset Time, open described indicator lamp.
Further, described controlling apparatus for indicator lamp also comprises the second control module, for:
Before searching in preset instructions database according to described vibration signal, detect described terminal and beNo in charged state;
If in charged state, close described indicator lamp, and Real-Time Monitoring charging progress, when described terminalElectric weight while being full of, open described indicator lamp;
If not in charged state, described in triggering, search submodule and carry out according to described vibration signal defaultThe operation of searching in instruction database.
Indicator lamp control method of the present invention and device are in the time detecting that the indicator lamp of terminal lights, logicalCross the vibration signal that obtains this terminal, and judge whether this vibration signal is that user knocks the letter that this terminal producesNumber, if so, according to this vibration signal, this indicator lamp is controlled, easy and simple to handle, treatment effeciency is high.
Brief description of the drawings
Below in conjunction with accompanying drawing, by the specific embodiment of the present invention is described in detail, will make skill of the present inventionArt scheme and other beneficial effect are apparent.
Fig. 1 is the scene schematic diagram of the indicator lamp control system that provides of the embodiment of the present invention.
The schematic flow sheet of the indicator lamp control method that Fig. 2 provides for first embodiment of the invention.
The schematic flow sheet of the indicator lamp control method that Fig. 3 provides for second embodiment of the invention.
The structural representation of the controlling apparatus for indicator lamp that Fig. 4 a provides for third embodiment of the invention.
The structural representation of another controlling apparatus for indicator lamp that Fig. 4 b provides for third embodiment of the 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 clearlyChu, intactly description, obviously, described embodiment is only the present invention's part embodiment, instead ofWhole embodiment. Based on the embodiment in the present invention, those skilled in the art are not making creative laborThe every other embodiment obtaining under moving prerequisite, belongs to the scope of protection of the invention.
The embodiment of the present invention provides a kind of indicator lamp control method and device.
Refer to Fig. 1, the scene schematic diagram of the indicator lamp control system that Fig. 1 provides for the embodiment of the present invention,This indicator lamp control system can comprise controlling apparatus for indicator lamp, is mainly used in when the indicator lamp that terminal detectedWhile lighting, obtain the vibration signal of this terminal, and judge whether this vibration signal is that user knocks this terminal productRaw signal, if so, closing according to this this indicator lamp of vibration signal control.
As shown in Figure 1, this controlling apparatus for indicator lamp is integrated in mobile phone A, and this indicator lamp control system also wrapsDraw together mobile phone B, in the time that mobile phone B sends message to mobile phone A, the indicator lamp of mobile phone A can light, now, ifUser is temporarily busy checks this message, but does not want to allow indicator lamp light yellow always, can knock this mobile phoneA twice, closes this indicator lamp.
To be elaborated respectively below.
The first embodiment
In the present embodiment, the angle from controlling apparatus for indicator lamp is described to this controlling apparatus for indicator lampSpecifically can be integrated in the terminal device with indicator lamp such as mobile phone.
Refer to Fig. 2, Fig. 2 is the flow process signal of the indicator lamp control method that provides of first embodiment of the inventionFigure. This indicator lamp control method can comprise:
S101, in the time detecting that the indicator lamp of terminal lights, obtain the vibration signal of this terminal.
In the present embodiment, this terminal can be the equipment with indicator lamp such as mobile phone, IPAD. This indicator lampCan be that breath light, attention gatter or flash lamp etc. can be to the lamps of user reminding effect. When terminal receives newlyMessage (such as chat messages of the note sent out of friend, micro-letter red packet or instant messaging application) or terminalWhen electric weight is low, check this new information or charging in time for reminding user, the indicator lamp of terminal can light, thisTime, terminal can be obtained vibration signal.
Concrete, can by terminal itself with the acoustic-electric converter part of vibrating diaphragm (such as microphone,Loudspeaker, receiver etc.) obtain the vibration signal of this terminal. The vibration signal of this terminal can be subject to for terminalThe vibration signal producing to the generation mechanical oscillation of external influence power can be also sound wave (such as surrounding environmentNoise) vibration signal that produces, when this external influence power can be walked for the knocking of user, people health withTouching or other active forces between mobile terminal.
S102, judge that whether this vibration signal is that user knocks the signal that this terminal produces, and if so, carries outStep S103, if not, performs step S104.
In the present embodiment, the vibration signal that knocks terminal generation due to user is to propagate by the solid of equipment,It is different from the vibration signal transmitting by outside sound source (such as noise of surrounding environment), is a kind of specialVibration signal. When the vibration signal that knocks generation because of user is carried out to digital processing (DSP, DigitalSignalProcessing) when converting data signal to, by this data signal is carried out to digital processingAnalyze, can draw following result:
From signal time, the time duration very short (millisecond rank) that this signal is lasting; From signal widthRelatively, the level of this data signal is relatively large for value size, the numeral letter more corresponding than General Oscillation signalNumber signal strength signal intensity larger; From the frequency of signal, this signal frequency has covered whole data signal frequentlySection, and the amplitude difference of each frequency is little.
Knock the feature of the data signal that the vibration signal of generation is corresponding, above-mentioned " judgement based on above-mentioned because of userWhether this vibration signal is that user knocks the signal that this terminal produces " step specifically can comprise:
Data signal corresponding to this vibration signal convert to;
Obtain spectrum information corresponding to this data signal, this spectrum information can comprise temporal information, frequency letterThe information such as breath and amplitude information;
Judge according to this spectrum information whether this vibration signal is that user knocks the signal that this terminal produces.
In the present embodiment, can first convert this vibration signal to mould by acoustic-electric converter parts such as microphonesIntend the signal of telecommunication, and convert this analog electrical signal to data signal by digital to analog converter. Concrete, work as soundWhen the vibrating diaphragm of-power conversion device receives this vibration signal, can drive the coil in it to do cutting magnetic line fortuneMoving, thus in coil, can produce corresponding sensor current signal, i.e. and analog electrical signal, afterwards, passes through digital-to-analogueConverter (D/A, DigitalAnalogConverter) converts this analog electrical signal to numeral letterNumber, and this data signal is carried out to Fourier transform, obtain spectrum information.
Wherein, the frequency to this frequency spectrum and amplitude analysis can judge whether this vibration signal is that terminal itself is shakenThe signal that movable property is raw, such as, what frequency distribution was continuous and frequency band is broad, signal strength signal intensity is larger is only terminal originallyThe vibration signal of body generation of vibration. Can judge that to the time series analysis of this frequency spectrum whether this vibration signal isUser knocks the signal of generation, and conventionally, people's the hammer action time is very of short duration, and it is double knocksTime range is 5ms-20ms, goes beyond the scope if super, can think that this is not user's hammer actionThe signal producing. It should be noted that to only have when frequency, amplitude and the time of above-mentioned frequency spectrum and meet bar simultaneouslyWhen part, just can judge that this vibration signal is that user knocks the signal that this terminal produces. Such as, when what obtainThe frequency distribution of vibration signal is continuous and frequency band is broad, signal strength signal intensity is larger, and the time cycle is 8-15msTime, just can judge that this vibration signal is that user knocks the signal that terminal produces.
In addition, for same vibration signal, this beating position can be the optional position in terminal, for example,This beating position can be screen, the back side or the frame etc. of terminal. This knocks instrument can be with user's convenienceSelected, for example, this knocks instrument can be user's finger, penholder or key etc. For different shakingMoving signal, this number of taps and the time of knocking can determine according to user's request, are for example similarly and knock four timesTime, can set three fast one vibration signals slow and three slow one fast generations is different signals.
If being user, this vibration signal of S103 knocks the signal that this terminal produces, according to this vibration signal pairThis indicator lamp is controlled.
Preferably, above-mentioned steps S103 specifically can comprise:
(1) search in preset instructions database according to this vibration signal, to obtain corresponding operationInstruction.
In the present embodiment, this preset instructions database can be system default setting, also can by user according toDemand is set voluntarily. Hold intelligiblely, looking in preset instructions database according to this vibration signalBefore looking for, need gather in advance user and knock the vibration signal that this terminal produces, and by this vibration signal and operationBetween instruction, set up association, be stored in afterwards in this preset instructions database.
(2) according to this operational order, this indicator lamp is controlled.
Preferably, above-mentioned steps (2) specifically can comprise:
In the time that this operational order instruction is no longer reminded, close this indicator lamp;
In the time that this operational order instruction is reminded after a while, close this indicator lamp, and open clocking capability, when reachingWhen Preset Time, open this indicator lamp.
In the present embodiment, this Preset Time can be according to user's request and set voluntarily, such as can be one littleTime or four hours. In the time that indicator lamp lights because electric weight is low, if user does not think further to waste electric weight,Need this indicator lamp close, can obtain this and no longer remind by knocking terminal (for example knock twice)Operational order, to close this indicator lamp, it is no longer lighted. When indicator lamp is because terminal receives newlyMessage (or missed call) and while lighting, if user is busy, but be afraid of that directly closing indicator lamp can forgetRemember this unread message, can obtain this operation of reminding after a while and refer to by knocking terminal (for example three times)Order so that this indicator lamp of temporary close, and at Preset Time (for example a hour) if within user do not haveCheck this message, this indicator lamp can light automatically.
In addition, if user selects during in charged state in this terminal to close this indicator lamp, for avoiding chargingAmount need to again be opened this indicator lamp in the time that terminal power is full of, so that reminding user removes charging equipment,But due to terminal at every turn when being charged to electric weight and being full of required time not identical, so above-mentioned Preset TimeAnd be not suitable for the situation of terminal charge,, carrying out in preset instructions database according to this vibration signal for this reasonBefore searching, this indicator lamp control method can also comprise:
Whether detect this terminal in charged state;
If in charged state, close this indicator lamp, and Real-Time Monitoring charging progress, when the electricity of this terminalWhen amount is full of, open this indicator lamp;
If not in charged state, carry out according to this vibration signal and search in preset instructions databaseStep.
In the present embodiment, if user in terminal charge, knock this terminal (can not limit number of taps andKnock the time), can directly close this indicator lamp, now, terminal can be opened monitoring function it is chargedProgress is monitored, and in the time monitoring terminal power and be full of, automatically controls this indicator lamp and opens.
Knock if this vibration signal of S104 is not user the signal that this terminal produces, do not carry out any behaviourDo.
In the present embodiment, not that user knocks the signal that mobile phone produces when judging this vibration signal, for example shouldWhen vibration signal is the signal of ambient noise generation, this terminal is not carried out any operation.
From the above, the indicator lamp control method that the present embodiment provides, when detecting that the indicator lamp of terminal is brightWhile rising, by obtaining the vibration signal of this terminal, and judge whether this vibration signal is that user knocks this terminalThe signal producing, afterwards, if so, controls this indicator lamp according to this vibration signal, operation letterJust, treatment effeciency is high.
The second embodiment
According to the described method of embodiment mono-, below will be described in further detail for example.
In the present embodiment, will be taking this terminal as mobile phone, this indicator lamp is breath light, this breath light control dressPut and be specifically integrated in this mobile phone as example is elaborated.
As shown in Figure 3, a kind of breath light control method, idiographic flow can be as follows:
S201, in the time detecting that the breath light of mobile phone lights, obtain the vibration signal of this mobile phone.
In the present embodiment, when mobile phone receives new information (such as the note sent out of friend, micro-letter red packet orTime communication applications chat messages) or mobile phone electric weight when low, for reminding user is checked this new information or in timeCharging, the indicator lamp of mobile phone can light, now, the vibration signal of this mobile phone of mobile phone meeting automatic acquisition.
Concrete, can by mobile phone itself with the acoustic-electric converter part of vibrating diaphragm (such as microphone,Loudspeaker, receiver etc.) obtain the vibration signal of this mobile phone. The vibration signal of this mobile phone can be subject to for mobile phoneThe vibration signal producing to the generation mechanical oscillation of external influence power can be also sound wave (such as surrounding environmentNoise) vibration signal that produces, when this external influence power can be walked for the knocking of user, people health withTouching or other active forces between cell phone.
S202, mobile phone data signal corresponding to this vibration signal convert to, and obtain this data signal correspondenceSpectrum information, this spectrum information can comprise temporal information, frequency information and amplitude information.
In the present embodiment, mobile phone can first convert this vibration signal to analog electrical by its built-in microphoneSignal, for example, in the time that the microphone in mobile phone receives this vibration signal, the vibrating diaphragm of microphone can be with moving-wireCircle does cutting magnetic line movement, makes to produce in coil corresponding sensor current signal (being analog electrical signal).Afterwards, mobile phone can be by digital to analog converter (D/A, DigitalAnalogConverter) by this mouldIntend the signal of telecommunication and convert data signal to, and obtain frequency spectrum letter corresponding to this data signal via Fourier transformBreath, such as temporal information, frequency information and amplitude information etc.
S203, mobile phone judge according to this spectrum information whether this vibration signal is that user knocks this mobile phone generationSignal, if so, performs step S204-S207, if not, performs step S208.
In the present embodiment, because knocking mobile phone, user causes that it is to pass through that this mobile phone itself vibrates the signal producingThe solid of equipment is propagated, and it is different from the vibration signal transmitting by outside sound source, is a kind of special vibrationSignal. Concrete, when the vibration signal that knocks generation because of user is carried out to digital processing (DSP, DigitalSignalProcessing) while converting data signal to, by this data signal is analyzed, canDraw to draw a conclusion: the frequency distribution of the vibration signal by the generation of vibration of mobile phone own continuously and bandwidthExtensively, signal strength signal intensity (amplitude) is larger, and the time cycle is that 5ms-20ms is (while being double knockingBetween), therefore in the time that the spectrum information of this data signal is analyzed, only have when this frequency information, amplitude letterIn breath and qualified situation of temporal information while, just can judge that this vibration signal produces for knocking this mobile phoneRaw signal. Such as, when the frequency distribution of the vibration signal obtaining is continuous and frequency band is broad, signal strength signal intensityJust can judge that this vibration signal is that user knocks mobile phone and produces greatly, and time cycle while being 8-15ms,Signal.
Preferably, for same vibration signal, this beating position can be the optional position on mobile phone, exampleAs, this beating position can be screen, the back side or the frame etc. of mobile phone. This knocks instrument can be with user sideJust select, for example, this knocks instrument can be user's finger, penholder or key etc. For differenceVibration signal, this number of taps and the time of knocking can determine according to user's request, such as are similarly and knockFour times time, can set three fast 1 the first vibration signals slow and three slow one fast generations is different signals.
Whether S204, mobile phone detect in charged state, if in charged state, and execution stepS205; If not in charged state, perform step S206.
If S205 is in charged state, mobile phone cuts out this breath light, and Real-Time Monitoring charging progress, whenWhen the electric weight of this mobile phone is full of, open this breath light.
In the present embodiment, if user in mobile phone charging, knock this mobile phone (can not limit number of taps andKnock the time), can close this breath light, now, excessive for avoiding charging, conventionally needIn the time that being full of, again opens mobile phone electric weight this breath light, so that reminding user removes charging equipment, for this reason, canWith the monitoring function by opening this mobile phone, the charging progress of mobile phone is monitored, when monitoring mobile phone electric weightWhile being full of, mobile phone is opened this breath light automatically.
If S206 is not in charged state, mobile phone enters in preset instructions database according to this vibration signalRow is searched, to obtain corresponding operational order.
In the present embodiment, if mobile phone, not in charged state, is carried out according to this vibration signal in preset instructionsThe step of searching in database. This preset instructions database can be system default setting, also can be byUser sets according to demand voluntarily. Hold intelligible, according to this vibration signal at preset instructions databaseIn search before, need gather in advance user and knock the vibration signal that this mobile phone produces, and by this vibration letterNumber and operational order between set up associated, be stored in afterwards in this preset instructions database.
S207, mobile phone are controlled this breath light according to this operational order.
Preferably, this operational order can comprise no longer to be reminded instruction and reminds after a while instruction, when this operation refers toOrder when no longer reminding instruction, can directly be closed this breath light. When this operational order is for reminding after a while instructionTime, can be in closing this breath light the clocking capability of starting hand-set, and when reaching Preset TimeTime, open this breath light.
In the present embodiment, this Preset Time can be according to user's request and set voluntarily, such as can be one littleTime or four hours. In the time that breath light lights because electric weight is too low, if user does not think further waste electricityAmount, while needing this breath light to close, can obtain this no longer by knocking mobile phone (for example knocking twice)The operational order of reminding, to close this breath light, saves electric weight. When breath light is because mobile phone receives newlyMessage (or missed call) and while lighting, if user is busy, but be afraid of that directly closing breath light can forgetRemember this unread message, can obtain this operation of reminding after a while and refer to by knocking mobile phone (for example three times)Order so that this breath light of temporary close, and at Preset Time (for example a hour) if user still afterwardsDo not check this message, this breath light can light automatically.
S208, mobile phone are not carried out any operation.
In the present embodiment, judging this vibration signal when mobile phone is not that user knocks the signal that mobile phone produces, exampleWhile being the signal of ambient noise generation as this vibration signal, this mobile phone is not carried out any operation.
From the above, the breath light control method that the present embodiment provides, when detecting that the breath light of mobile phone is brightRise time, by obtaining the vibration signal of this mobile phone, and by this vibration signal convert to corresponding data signal itAfter, obtain spectrum information corresponding to this data signal, and whether judge this vibration signal according to this spectrum informationFor user knocks the signal that this mobile phone produces, afterwards, whether if so, further detect this mobile phone in fillingElectricity condition, if in charged state, closes this breath light, and Real-Time Monitoring charging progress, when this mobile phoneElectric weight while being full of, open this breath light. If not in charged state, mobile phone exists according to this vibration signalIn preset instructions database, search, to obtain corresponding operational order, and according to this operational order to thisBreath light is controlled, and can realize according to user's request the opening and closing of breath light, easy and simple to handle, processesEfficiency is high.
The 3rd embodiment
For ease of better implementing the indicator lamp control method that the embodiment of the present invention provides, the embodiment of the present invention alsoA kind of controlling apparatus for indicator lamp is provided, and this controlling apparatus for indicator lamp specifically can be integrated in mobile phone or panel computerIn terminal device. Wherein the implication of noun is identical with above-mentioned indicator lamp control method, specific implementation detailsExplanation in can reference method embodiment.
Refer to Fig. 4 a, Fig. 4 a shows for the structure of the controlling apparatus for indicator lamp that third embodiment of the invention providesIntention. This controlling apparatus for indicator lamp can comprise acquisition module 10, judge module 20 and the first control module30, wherein:
Acquisition module 10, in the time detecting that the indicator lamp of terminal lights, obtains the vibration letter of this terminalNumber.
Judge module 20, for judging whether this vibration signal is that user knocks the signal that this terminal produces.
Preferably, above-mentioned judge module 20 specifically can be for:
Data signal corresponding to this vibration signal convert to;
Obtain the spectrum information of this data signal, this spectrum information comprises temporal information, frequency information and amplitudeInformation;
Judge according to this spectrum information whether this vibration signal is that user knocks the signal that this terminal produces.
The first control module 30, if knock for user the signal that this terminal produces, according to this vibrationSignal is controlled this indicator lamp.
Preferably, refer to Fig. 4 b, above-mentioned the first control module 30 specifically can comprise searches submodule 31With control submodule 32, specific as follows:
Search submodule 31, for searching at preset instructions database according to this vibration signal, withObtain corresponding operational order.
Control submodule 32, for this indicator lamp being controlled according to this operational order.
Preferably, this control submodule 32 specifically can be for:
In the time that this operational order instruction is no longer reminded, close this indicator lamp;
In the time that this operational order instruction is reminded after a while, close this indicator lamp, and open clocking capability, when reachingWhen Preset Time, open this indicator lamp.
In addition, if user selects during in charged state in this terminal to close this indicator lamp, for avoiding chargingAmount need to again be opened this indicator lamp in the time that terminal power is full of, so that reminding user removes charging equipment,But due to terminal at every turn when being charged to electric weight and being full of required time not identical, so above-mentioned Preset TimeAnd be not suitable for the situation of terminal charge, for this reason, this controlling apparatus for indicator lamp can also comprise the second control module40, for:
Before searching in preset instructions database according to this vibration signal, detect this terminal and whether locateIn charged state;
If in charged state, close this indicator lamp, and Real-Time Monitoring charging progress, when the electricity of this terminalWhen amount is full of, open this indicator lamp;
If not in charged state, trigger this search submodule carry out according to this vibration signal in preset instructionsThe operation of searching in database.
When concrete enforcement, above unit can be used as independently entity and realizes, and also can carry out arbitrarilyCombination, realizes as same or several entities, and the concrete enforcement of above unit can be referring to aboveEmbodiment of the method, does not repeat them here.
From the above, the controlling apparatus for indicator lamp described in the present embodiment, when detecting that the indicator lamp of terminal is brightWhile rising, obtain the vibration signal of this terminal by acquisition module 10, and judge that via judge module 20 this shakesWhether moving signal is that user knocks the signal that this terminal produces, if so, by 30 of the first control modulesAccording to this vibration signal, this indicator lamp is controlled, easy and simple to handle, treatment effeciency is high.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of above-described embodimentBe can carry out the hardware that instruction is relevant by program to complete, this program can be stored in a computer-readable and depositIn storage media, storage medium can comprise: read-only storage (ROM, ReadOnlyMemory), withMachine access/memory body (RAM, RandomAccessMemory), disk or CD etc.
A kind of indicator lamp control method and the device that above the embodiment of the present invention are provided have carried out detailed JieContinue, applied specific case herein principle of the present invention and embodiment are set forth, above enforcementThe explanation of example is just for helping to understand method of the present invention and core concept thereof; Meanwhile, for this areaTechnical staff, according to thought of the present invention, all can change it in specific embodiments and applicationsPlace, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. an indicator lamp control method, is characterized in that, comprising:
In the time detecting that the indicator lamp of terminal lights, obtain the vibration signal of described terminal;
Judge whether described vibration signal is that user knocks the signal that described terminal produces;
If so, according to described vibration signal, described indicator lamp is controlled.
2. indicator lamp control method according to claim 1, is characterized in that, described in described judgementWhether vibration signal is that the step that user knocks the signal that described terminal produces specifically comprises:
Data signal corresponding to described vibration signal convert to;
Obtain the spectrum information of described data signal, described spectrum information comprise temporal information, frequency information andAmplitude information;
Judge according to described spectrum information whether described vibration signal is that user knocks the letter that described terminal producesNumber.
3. indicator lamp control method according to claim 1, is characterized in that, described in described basisThe step that vibration signal is controlled described indicator lamp specifically comprises:
Search in preset instructions database according to described vibration signal, refer to obtain corresponding operationOrder;
According to described operational order, described indicator lamp is controlled.
4. indicator lamp control method according to claim 3, is characterized in that, described in described basisThe step that operational order is controlled described indicator lamp specifically comprises:
In the time that described operational order instruction is no longer reminded, close described indicator lamp;
In the time that described operational order instruction is reminded after a while, close described indicator lamp, and open clocking capability, whenWhile reaching Preset Time, open described indicator lamp.
5. indicator lamp control method according to claim 3, is characterized in that, shakes described in basisBefore moving signal is searched in preset instructions database, described indicator lamp control method also comprises:
Whether detect described terminal in charged state;
If in charged state, close described indicator lamp, and Real-Time Monitoring charging progress, when described terminalElectric weight while being full of, open described indicator lamp;
If not in charged state, carry out according to described vibration signal and look in preset instructions databaseThe step of looking for.
6. a controlling apparatus for indicator lamp, is characterized in that, comprising:
Acquisition module, in the time detecting that the indicator lamp of terminal lights, obtains the vibration letter of described terminalNumber;
Judge module, for judging whether described vibration signal is that user knocks the signal that described terminal produces;
If so, the first control module, for controlling described indicator lamp according to described vibration signal.
7. controlling apparatus for indicator lamp according to claim 6, is characterized in that, described judge moduleSpecifically for:
Data signal corresponding to described vibration signal convert to;
Obtain the spectrum information of described data signal, described spectrum information comprise temporal information, frequency information andAmplitude information;
Judge according to described spectrum information whether described vibration signal is that user knocks the letter that described terminal producesNumber.
8. controlling apparatus for indicator lamp according to claim 6, is characterized in that, described first controlsModule specifically comprises:
Search submodule, for searching at preset instructions database according to described vibration signal, withTo corresponding operational order;
Control submodule, for described indicator lamp being controlled according to described operational order.
9. controlling apparatus for indicator lamp according to claim 8, is characterized in that, described control submodulePiece specifically for:
In the time that described operational order instruction is no longer reminded, close described indicator lamp;
In the time that described operational order instruction is reminded after a while, close described indicator lamp, and open clocking capability, whenWhile reaching Preset Time, open described indicator lamp.
10. controlling apparatus for indicator lamp according to claim 8, is characterized in that, described indicator lamp controlDevice processed also comprises the second control module, for:
Before searching in preset instructions database according to described vibration signal, detect described terminal and beNo in charged state;
If in charged state, close described indicator lamp, and Real-Time Monitoring charging progress, when described terminalElectric weight while being full of, open described indicator lamp;
If not in charged state, described in triggering, search submodule and carry out according to described vibration signal defaultThe operation of searching in instruction database.
CN201610037355.7A 2016-01-20 2016-01-20 Indicator light control method and device Pending CN105611063A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610037355.7A CN105611063A (en) 2016-01-20 2016-01-20 Indicator light control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610037355.7A CN105611063A (en) 2016-01-20 2016-01-20 Indicator light control method and device

Publications (1)

Publication Number Publication Date
CN105611063A true CN105611063A (en) 2016-05-25

Family

ID=55990593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610037355.7A Pending CN105611063A (en) 2016-01-20 2016-01-20 Indicator light control method and device

Country Status (1)

Country Link
CN (1) CN105611063A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222615A (en) * 2017-05-16 2017-09-29 上海与德科技有限公司 Cue circuit and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110053577A1 (en) * 2009-08-31 2011-03-03 Lee Changkee Methods and apparatus for communicating by vibrating or moving mobile devices
CN102202131A (en) * 2010-03-26 2011-09-28 索尼爱立信移动通讯有限公司 Vibration-based application activation of portable electronic equipment
CN103248751A (en) * 2012-02-13 2013-08-14 联想(北京)有限公司 Electronic device and method for realizing functional control thereof
CN104135799A (en) * 2014-08-05 2014-11-05 深圳市中兴移动通信有限公司 Breathing lamp control method and intelligent terminal
CN104582165A (en) * 2014-12-30 2015-04-29 广东欧珀移动通信有限公司 Method for adjusting breathing light, and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110053577A1 (en) * 2009-08-31 2011-03-03 Lee Changkee Methods and apparatus for communicating by vibrating or moving mobile devices
CN102202131A (en) * 2010-03-26 2011-09-28 索尼爱立信移动通讯有限公司 Vibration-based application activation of portable electronic equipment
CN103248751A (en) * 2012-02-13 2013-08-14 联想(北京)有限公司 Electronic device and method for realizing functional control thereof
CN104135799A (en) * 2014-08-05 2014-11-05 深圳市中兴移动通信有限公司 Breathing lamp control method and intelligent terminal
CN104582165A (en) * 2014-12-30 2015-04-29 广东欧珀移动通信有限公司 Method for adjusting breathing light, and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222615A (en) * 2017-05-16 2017-09-29 上海与德科技有限公司 Cue circuit and terminal

Similar Documents

Publication Publication Date Title
CN102447787B (en) Mobile phone and method for controlling of prompt tone
EP2663059B1 (en) Electronic terminal and ring prompt method of the electronic terminal
CN101790000A (en) Environmental sound reminding method and mobile terminal
CN201590902U (en) Mobile phone
WO2012151997A1 (en) Call voice recording method and device for mobile terminal and mobile terminal
CN203840537U (en) Loudspeaker module set
CN103118173A (en) Method and device conducting event notice through mobile terminal
CN101009887A (en) Mobile terminal and its communication event prompt method
CN103856605A (en) Information processing method and electronic device
CN102883057A (en) Reminding method and system of handheld equipment
CN110832830B (en) Volume adjusting method and electronic equipment
US20120307603A1 (en) Time reporting through vibration
CN203761437U (en) Electronic device protective shell with sound guiding and amplifying functions
CN103414827A (en) Method for positioning terminal and terminal
CN107923993A (en) Method and system for locating mobile telephones
CN104409081A (en) Speech signal processing method and device
CN105376418A (en) Incoming call information processing method, device and system
CN103218045B (en) A kind of method and device lighting mobile terminal screen
CN105611063A (en) Indicator light control method and device
CN102546929A (en) Method and system for detecting overturning action of equipment provided with photosensitive sensor by using photosensitive sensor and method and system for muting mobile terminal
CN103199602A (en) Mobile terminal charging system and mobile terminal charging method
CN202796040U (en) Portable cellphone-interception-resisting voice security device
CN105208190B (en) Notification signal reminding method and terminal
CN205693838U (en) One has low electricity warning function mike
CN103037068A (en) Automatic ringing mode switching method and electronic device thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160525