CN108377594A - A kind of driving method, driving device and the mobile device of mobile device indicator light - Google Patents
A kind of driving method, driving device and the mobile device of mobile device indicator light Download PDFInfo
- Publication number
- CN108377594A CN108377594A CN201810179031.6A CN201810179031A CN108377594A CN 108377594 A CN108377594 A CN 108377594A CN 201810179031 A CN201810179031 A CN 201810179031A CN 108377594 A CN108377594 A CN 108377594A
- Authority
- CN
- China
- Prior art keywords
- indicator light
- mobile device
- work
- driving
- serial number
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/30—Driver circuits
- H05B45/37—Converter circuits
Landscapes
- Audible And Visible Signals (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
This application discloses a kind of driving method, driving device and the mobile devices of mobile device indicator light, wherein, driving device of the driving method of the mobile device indicator light based on the mobile device indicator light for being previously stored with indicator light respiratory state parameter corresponding with the type of prompt message is waited for, realizes the purpose prompted successively the needed prompt message that mobile device receives.And, while prompt successively the needed prompt message that mobile device receives by the driving method realization of the mobile device indicator light, master controller without mobile device enters working condition, ensure that mobile device while reaching above-mentioned purpose, is in low power consumpting state.
Description
Technical field
This application involves electronic circuit technology fields, more specifically to a kind of driving side of mobile device indicator light
Method, driving device and mobile device.
Background technology
The mobile devices such as current smart mobile phone, tablet computer are more next as personal movement and multimedia application terminal, function
More powerful, the prompt message shown by human-computer interaction interface is more and more abundant.Although the display function of the screen of mobile device
It is powerful, but due to the high power consumption of screen and the characteristic that must be driven by master controller so that pass through the display reminding of screen
The power consumption of information is larger, and therefore, general prompting message function is all completed by indicator light.In general, indicator light prompts
Information it is relatively more, such as be in charged state in mobile device, have missed call, there is short message and do not check Application Hints message
When, indicator light all can into line flicker, be always on or prompt user in " breathing " illuminating state, wherein " breathing " illuminating state
Refer to being connected with preset color during needing to carry out information alert and gradually increasing brightness to most bright state, most bright
Brightness is continuously decreased after state certain time until the state extinguished, this " breathing " illuminating state are the same not only like breathing
With having the rhythm and pace of moving things, periodically light on and off, and light on and off handoff procedure changes according to certain curve smoothing show " exhaling of personalizing
Inhale " effect.
Realize that the indicator light of " breathing " illuminating state is usually made of three LED light emitting diodes (or LED lamp bead), this
Three LED light emitting diodes are usually respectively used to transmitting blue light (B), feux rouges (R) and green light (B).In actual application, often
The forward conduction voltage V of a LED light emitting diodesFIt is not strict conformance, so, generally use constant current source driving circuit is LED
Light emitting diode provides driving current.For above-mentioned indicator light, the color showed is by respectively flowing through R/G/B tri-
The current component ratio of LED light emitting diodes determines.It is brightness change in respiratory to keep colored breath light, and
Color keep is constant, mostly uses pulse code modulation scheme (PWM) and carrys out output of the synchronous control to three LED light emitting diodes
The duty ratio of driving current, duty ratio is bigger, and the brightness of output is higher, and duty ratio is smaller, and total brightness is lower, regardless of any bright
Grade is spent, the ratio of tri- current components of R/G/B remains unchanged.
In the prior art the driving process of the indicator light of mobile device mainly by LED drive chip control and driving electricity
Road is completed, and when needing start indicator lamp, the master controller of mobile device sends external command to LED drive chip, configuration or
The state parameter of indicator light is changed, then starts LED drive chip to indicator light output driving current.External command is sent
Afterwards, master controller enters suspend mode, and the driving circuits only relied in LED drive chip work independently, so that mobile
Equipment maintains lower power consumption state, also precisely in order to avoiding master controller frequent operation, if there are many information feelings simultaneously
When condition, such as when having missed call, unread short messages simultaneously, not reading wechat and need prompt, in LED drive chip in the prior art
Driving circuit a kind of lamp effect can only be selected to be shown according to priority, that is to say, that when there are much informations to need to carry out
When prompt, a kind of information can only be prompted, the much information for needing to prompt can not be prompted comprehensively.
Invention content
In order to solve the above technical problems, this application provides a kind of driving method of mobile device indicator light, driving devices
And mobile device, to realize to a variety of purposes for waiting for prompt message and being prompted successively.
To realize the above-mentioned technical purpose, the embodiment of the present application provides following technical solution:
A kind of driving method of mobile device indicator light, for driving mobile device indicator light, the mobile device to include
The driving device of the driving device of mobile device indicator light, the mobile device indicator light includes pwm control circuit and multigroup tool
There is the current driving circuit of serial number information, is previously stored in the pwm control circuit corresponding with the type of prompt message is waited for
The driving method of indicator light respiratory state parameter, the mobile device indicator light includes:
According to the type for the needed prompt message that mobile device receives, determine and each type for waiting for prompt message
Corresponding indicator light respiratory state;
According to determining indicator light respiratory state, determines operating state instruction, work is stored in the operating state instruction
Make serial number information;
According to the operating state instruction, determine that the indicator light driving unit for waiting for work, the indicator light for waiting for work drive
The serial number information of moving cell is corresponded with the work serial number information;
Wait for that the indicator light driving unit of work works successively described in control, so that the indicator light driving unit is controlled with PWM
Pre-stored indicator light respiratory state driving parameter mobile device indicator light work in circuit processed.
Optionally, waited for described in the control indicator light driving unit of work work successively including:
Wait for that the indicator light driving unit of work works successively according to serial number information described in control.
Optionally, waited for described in the control indicator light driving unit of work work successively according to serial number information including:
Waited for described in control the indicator light driving unit of work according to the sequence of serial number information it is ascending or it is descending according to
Task.
Optionally, the type for waiting for prompt message is charging status information or missed call information or short message or i.e.
When communication information information or apply pushed information.
Optionally, described according to determining indicator light respiratory state, determine that operating state instruction includes:
The indicator light for being stored with indicator light respiratory state parameter corresponding with determining indicator light respiratory state is driven single
The serial number information of member, is determined as work serial number information;
Determining work serial number information is summarized, to generate operating state instruction.
A kind of driving device of mobile device indicator light, for realizing mobile device indicator light described in any one of the above embodiments
Driving method, the mobile device indicator light include blue led lamp bead, green LED lamp bead and red LED lamp bead, the movement
The driving device of equipment indicating lamp includes:
Communication interface;
The multi-mode mask register that is connect with the communication interface, pwm control circuit and multigroup with serial number information
Current driving circuit;
Multigroup current driving circuit is electrically connected by first selector group with the mobile device indicator light;
The pwm control circuit includes breathing pattern sequential configuration register group, second selector, state of a control machine, PWM
Modulation, oscillator and frequency divider;The breathing pattern sequential configuration register group includes and the current driving circuit quantity phase
Same breathing pattern sequential configuration register is each previously stored in the breathing pattern sequential configuration register and is waited for one kind
The corresponding indicator light respiratory state parameter of type of prompt message;Wherein,
The type of needed prompt message that the multi-mode mask register is used to be received according to mobile device, determination and
The corresponding indicator light respiratory state of the type of prompt message is waited for described in each;
The state of a control machine is used to, according to determining indicator light respiratory state, determine operating state instruction, the work
Work serial number information is stored in status command;
The second selector is used to, according to the operating state instruction, determine the indicator light driving unit for waiting for work, institute
The serial number information and the work serial number information for stating the indicator light driving unit for waiting for work correspond;
The first selector group waits for that the indicator light driving unit of work works successively described in being used to control, so that the finger
Show lamp driving unit with pre-stored indicator light respiratory state driving parameter mobile device indicator light work in pwm control circuit
Make.
Optionally, the multi-mode mask register is specifically used for, the needed prompt message received according to mobile device
Type, described will wait for the corresponding bit position of the type of prompt message 1 with each.
Optionally, the state of a control machine is specifically used for, according to the bit for setting 1 in the multi-mode mask register,
It determines operating state instruction, work serial number information is stored in the operating state instruction.
Optionally, the first selector group is specifically used for, and waits for the indicator light driving unit of work according to sequence described in control
Number information works successively.
A kind of mobile device, including:Indicator light;
The indicator light is driven by the driving method of mobile device indicator light described in any one of the above embodiments.
It can be seen from the above technical proposal that the embodiment of the present application provides a kind of driving side of mobile device indicator light
Method, driving device and mobile device, wherein the driving method of the mobile device indicator light is based on being previously stored with and wait to prompt
The driving device of the mobile device indicator light of the corresponding indicator light respiratory state parameter of type of information is realized, first according to movement
The type for the needed prompt message that equipment receives determines and breathes shape to corresponding indicator light with the type of prompt message is each waited for
State determines operating state instruction then according to determining indicator light respiratory state, finally according to the operating state instruction, really
Surely it waits for the indicator light driving unit of work, and waits for that the indicator light driving unit of work works successively described in control, so that the finger
Show that lamp driving unit is worked with the pre-stored indicator light respiratory state driving parameter mobile device indicator light of pwm control circuit,
To realize the purpose prompted successively the needed prompt message that mobile device receives.
Also, by the driving method of the mobile device indicator light realize to mobile device receive need to be prompted believe
While breath is prompted successively, the master controller without mobile device enters working condition, ensure that mobile device is reaching
While above-mentioned purpose, it is in low power consumpting state.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow signal of the driving method for mobile device indicator light that one embodiment of the application provides
Figure;
Fig. 2 (a) is PWM wave grade time diagram in the prior art;
Fig. 2 (b) is indicator light driving current grade time diagram in the prior art;
Fig. 3 is a kind of flow signal of the driving method for mobile device indicator light that another embodiment of the application provides
Figure;
Fig. 4 is to be previously stored with N kind indicator light respiratory states in the pwm control circuit that one embodiment of the application provides
The time diagram of parameter;
Fig. 5 is the indicator light working state schematic representation that one embodiment of the application provides;
Fig. 6 is the indicator light working state schematic representation that another embodiment of the application provides;
Fig. 7 is the indicator light working state schematic representation that another embodiment of the application provides;
Fig. 8 is a kind of flow signal of the driving method for mobile device indicator light that another embodiment of the application provides
Figure;
Fig. 9 is a kind of structural representation of the driving device for mobile device indicator light that one embodiment of the application provides
Figure;
Figure 10 is the structural schematic diagram of the driving device of mobile device indicator light in the prior art.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
The embodiment of the present application provides a kind of driving method of mobile device indicator light, as shown in Figure 1, for driving movement
Equipment indicating lamp, the mobile device include the driving device of mobile device indicator light, the driving of the mobile device indicator light
Device includes pwm control circuit and multigroup current driving circuit with serial number information, is prestored in the pwm control circuit
There are indicator light respiratory state parameter corresponding with the type of prompt message is waited for, the driving method packet of the mobile device indicator light
It includes:
S101:According to the type for the needed prompt message that mobile device receives, determines and wait for prompt message with each described
The corresponding indicator light respiratory state of type;
S102:According to determining indicator light respiratory state, determines operating state instruction, stored in the operating state instruction
There is work serial number information;
S103:According to the operating state instruction, the indicator light driving unit for waiting for work, the instruction for waiting for work are determined
The serial number information of lamp driving unit is corresponded with the work serial number information;
S104:Wait for that the indicator light driving unit of work works successively described in control so that the indicator light driving unit with
Pre-stored indicator light respiratory state driving parameter mobile device indicator light work in pwm control circuit.
With reference to figure 2 (a) and Fig. 2 (b), Fig. 2 (a) is PWM wave grade sequential in the prior art, and Fig. 2 (b) is the prior art
In indicator light driving current grade sequential, in the respiratory of the indicator light of mobile device in the prior art, the first electricity
The ratio of stream, the second electric current and third electric current is a fixed value, to be maintained at the not changed purpose of color in respiratory,
And PWM wave grade sequential is first to be incremented to a maximum value, is then kept for one end time constant, is finally decremented to 0 process.At this
During a, the Duty ratio control of PWM wave the brightness change of indicator light, it is assumed that in fig. 2, the first electric current, the second electric current and
The ratio of third electric current so that the display color of final indicator light is orange, then the duty ratio in PWM wave grade sequential is incremented by
Stage, indicator light show it is orange gradually brighten, until at the largest duty cycle value stage of PWM wave grade sequential, indicator light
The orange brightness of display is maximum, and remains unchanged, and finally reaches duty ratio depletion stage, indicator light in PWM wave grade sequential
The orange of display is successively decreased by maximum value, until being zero.
Wherein, PWM wave grade sequential and indicator light driving current grade sequential are the parameter of indicator light respiratory state, this
Outside, the parameter of indicator light respiratory state can also include:Start delay parameter etc., the application does not limit this.Existing
In technology, when needs are to the ginseng of the indicator light respiratory state including PWM wave grade sequential and indicator light driving current grade sequential
When number is changed, needs the master controller of mobile device first to close current indicator light respiratory state, then reconfigure finger
Show the parameter of lamp respiratory state, so that the driving device of mobile device indicator light utilizes the parameter pair of new indicator light respiratory state
Indicator light is driven, this cannot achieve in the prior art in the case of the master controller suspend mode of mobile device namely,
The indicator light respiratory state for changing indicator light also just cannot achieve and a variety of wait for carrying successively for prompt message to what mobile device received
Show.
In the present embodiment, the driving method of the mobile device indicator light is based on being previously stored with and wait for prompt message
The driving device of the mobile device indicator light of the corresponding indicator light respiratory state parameter of type is realized, is connect first according to mobile device
The type of the needed prompt message of receipts determines and each waits for the type of prompt message to corresponding indicator light respiratory state, so
Afterwards according to determining indicator light respiratory state, operating state instruction is determined, finally according to the operating state instruction, determination waits for work
The indicator light driving unit of work, and wait for that the indicator light driving unit of work works successively described in control, so that the indicator light drives
Moving cell is worked with the pre-stored indicator light respiratory state driving parameter mobile device indicator light of pwm control circuit, to real
The purpose that the needed prompt message now received to mobile device is prompted successively.
Also, by the driving method of the mobile device indicator light realize to mobile device receive need to be prompted believe
While breath is prompted successively, the master controller without mobile device enters working condition, ensure that mobile device is reaching
While above-mentioned purpose, it is in low power consumpting state.
Optionally, the type for waiting for prompt message is charging status information or missed call information or short message or i.e.
When communication information information or apply pushed information.Wherein, instant communication message information includes but not limited to:Wechat message, Skype
Message etc.;The application waits for that the specific type of prompt message does not limit to described, specifically depending on actual conditions.
On the basis of the above embodiments, in one embodiment of the application, as shown in figure 3, the mobile device
Indicate that lamp driving method includes:
S201:According to the type for the needed prompt message that mobile device receives, determines and wait for prompt message with each described
The corresponding indicator light respiratory state of type;
S202:According to determining indicator light respiratory state, determines operating state instruction, stored in the operating state instruction
There is work serial number information;
S203:According to the operating state instruction, the indicator light driving unit for waiting for work, the instruction for waiting for work are determined
The serial number information of lamp driving unit is corresponded with the work serial number information;
S204:Wait for that the indicator light driving unit of work works successively according to serial number information described in control, so that the instruction
Lamp driving unit is worked with pre-stored indicator light respiratory state driving parameter mobile device indicator light in pwm control circuit.
It with reference to figure 4, is illustrated in Fig. 4 in the present embodiment, N kind indicator lights is previously stored in the pwm control circuit
Respiratory state parameter, correspondingly, having N group current driving circuits in the driving device of mobile device indicator light, every group of electric current drives
The number of dynamic circuit is corresponding with a kind of indicator light respiratory state parameter, and each indicator light respiratory state parameter waits carrying with one kind
Show that the type of information corresponds to;For example, waiting for that prompt message-charging status information corresponds to the indicator light respiratory state ginseng that number is A1
Number waits for that prompt message-missed call information corresponds to the indicator light respiratory state parameter that number is A2, waits for prompt message-short message
Information corresponds to the indicator light respiratory state parameter that number is A3, waits for that prompt message-instant communication message information corresponds to number
For the indicator light respiratory state parameter of A4;
So with reference to figure 5, when mobile device is when prompt message is charging status information and missed call information, lead to
The indicator light for crossing the instruction lamp driving method driving of mobile device provided in this embodiment shows that number is A1 and the finger of A2 successively
Show the corresponding indicator light respiratory state of lamp respiratory state parameter;With reference to figure 6, waiting for that prompt message is charging shape when mobile device
When state information, missed call information and short message, the instruction lamp driving method of the mobile device provided through this embodiment drives
Dynamic indicator light shows that number is the corresponding indicator light respiratory state of indicator light respiratory state parameter of A1, A2 and A3 successively;Ginseng
Fig. 7 is examined, is being charging status information, short message and when instant communication message information when mobile device when prompt message, is leading to
The indicator light for crossing the instruction lamp driving method driving of mobile device provided in this embodiment shows that number is A1, A3 and A4 successively
The corresponding indicator light respiratory state of indicator light respiratory state parameter.
It should be noted that referring still to Fig. 7, when indicator light shows different indicator light respiratory states, we are referred to as
For " working hour ", after indicator light respiratory state A1, A3 and A4 are shown successively, the indicator light in the remaining period is in
The time of dark-state is known as " idle period ", and the length for being somebody's turn to do " idle period " may be set according to actual conditions, such as can be such as figure
In 5- Fig. 7, set the summation of the length of " idle period " and the length of " working hour " to show that all N number of indicator lights breathe
The cycle duration of state can also shorten the length of " idle period ", to avoid ought only need to show a few indicator light
When respiratory state, caused " idle period " long problem.
In Fig. 5-Fig. 7, waited for described in the control indicator light driving unit of work work successively according to serial number information for
Wait for that the indicator light driving unit of work ascending works successively according to the sequence of serial number information described in control.
In the other embodiment of the application, wait for the indicator light driving unit of work according to serial number information described in the control
Working successively described in order to control can also wait for that the indicator light driving unit of work is descending successively according to the sequence of serial number information
Work.The application does not limit this, specifically depending on actual conditions.
On the basis of the above embodiments, in another embodiment of the application, as shown in figure 8, the mobile device
Instruction lamp driving method include:
S301:According to the type for the needed prompt message that mobile device receives, determines and wait for prompt message with each described
The corresponding indicator light respiratory state of type;
S302:The indicator light for being stored with indicator light respiratory state parameter corresponding with determining indicator light respiratory state is driven
The serial number information of moving cell is determined as work serial number information;
S303:Determining work serial number information is summarized, to generate operating state instruction;
S304:According to the operating state instruction, the indicator light driving unit for waiting for work, the instruction for waiting for work are determined
The serial number information of lamp driving unit is corresponded with the work serial number information;
S305:Wait for that the indicator light driving unit of work works successively according to serial number information described in control, so that the instruction
Lamp driving unit is worked with pre-stored indicator light respiratory state driving parameter mobile device indicator light in pwm control circuit.
In the present embodiment, specifically to according to determining indicator light respiratory state, determining the specific mistake of operating state instruction
Journey illustrates.
Correspondingly, the embodiment of the present application also provides a kind of driving devices of mobile device indicator light, as shown in figure 9, with
In the driving method for realizing the mobile device indicator light described in any of the above-described embodiment, the mobile device indicator light includes blue
The driving device of LED lamp bead, green LED lamp bead and red LED lamp bead, the mobile device indicator light includes:
Communication interface 100;
The multi-mode mask register 500 that is connect with the communication interface 100, pwm control circuit 400 and multigroup there is sequence
The current driving circuit 200 of number information;
Multigroup current driving circuit 200 is electrically connected by first selector group 300 with the mobile device indicator light;
The pwm control circuit 400 includes breathing pattern sequential configuration register group, second selector MUX4, control shape
State machine, PWM modulation, oscillator and frequency divider;The breathing pattern sequential configuration register group includes driving electricity with the electric current
The identical breathing pattern sequential configuration register of 200 quantity of road is each deposited in the breathing pattern sequential configuration register in advance
It contains and waiting for the corresponding indicator light respiratory state parameter of the type of prompt message with a kind of;Wherein,
The type for the needed prompt message that the multi-mode mask register 500 is used to be received according to mobile device, really
It is fixed with it is each described in wait for the corresponding indicator light respiratory state of the type of prompt message;
The state of a control machine is used to, according to determining indicator light respiratory state, determine operating state instruction, the work
Work serial number information is stored in status command;
The second selector MUX4, which is used to be determined according to the operating state instruction, waits for that the indicator light driving of work is single
Member, serial number information and the work serial number information of the indicator light driving unit for waiting for work correspond;
The first selector group 300 waits for that the indicator light driving unit of work works successively described in being used to control, so that institute
Indicator light driving unit is stated with pre-stored indicator light respiratory state driving parameter mobile device in pwm control circuit 400 to refer to
Show that lamp works.
With reference to figure 9, first selector group includes first selector MUX1, second selector MUX2 and third selector
MUX3, every group of current driving circuit 200 are matched including the first electric current configuration register, the second electric current configuration register and third electric current
Register is set, is respectively used to provide driving current for blue led lamp bead, green LED lamp bead and red LED lamp bead;In addition, Fig. 9
In also show switch K1, K2 and K3 and three digiverters Q1, Q2 and Q3, the PWM that pwm control circuit 400 exports
Closure and disconnection of the wave by control switch K1, K2 and K3, realize that (D1, D2 and D3 distinguish by control light emitting diode D1, D2 and D3
Represent the blue led lamp bead, green LED lamp bead and red LED lamp bead of indicator light) brightness purpose.
It should be noted that light emitting diode D1, D2 and D3 for being shown in FIG. 9 and being not belonging to the embodiment of the present application and carrying
A part for the structure of the driving device of the mobile device indicator light of confession.
With reference to figure 10, Figure 10 is the structural schematic diagram of the driving device of mobile device indicator light in the prior art, is being schemed
On the basis of 10, the driving device of mobile device indicator light provided by the embodiments of the present application sets current driving circuit 200 to
It is multigroup, while being provided with breathing pattern identical with 200 quantity of current driving circuit in breathing pattern sequential configuration register group
Sequential configuration register is each previously stored with and a kind of kind waiting for prompt message in the breathing pattern sequential configuration register
The corresponding indicator light respiratory state parameter of class;During the work time, the state of a control machine breathes shape according to determining indicator light
State determines operating state instruction, and work serial number information is stored in the operating state instruction, and the second selector MUX4 is used
According to the operating state instruction, the indicator light driving unit for waiting for work is determined, the first selector group 300 is for controlling
The indicator light driving unit for waiting for work works successively, so that the indicator light driving unit is with pre- in pwm control circuit 400
The indicator light respiratory state driving parameter mobile device indicator light work first stored, owns mobile device reception to realize
Wait for the purpose that prompt message is prompted successively.
Also, by the driving device of the mobile device indicator light realize to mobile device receive need to be prompted believe
While breath is prompted successively, the master controller without mobile device enters working condition, ensure that mobile device is reaching
While above-mentioned purpose, it is in low power consumpting state.
On the basis of the above embodiments, in one embodiment of the application, the multi-mode mask register 500 has
Body is used for, according to mobile device receive needed prompt message type, by with each type pair for waiting for prompt message
The bit position 1 answered.
So correspondingly, the state of a control machine is specifically used for, 1 is set according in the multi-mode mask register 500
Bit determines operating state instruction, work serial number information is stored in the operating state instruction.
The first selector group 300 is specifically used for, and waits for that the indicator light driving unit of work is believed according to serial number described in control
Breath works successively.
Correspondingly, the embodiment of the present application also provides a kind of mobile devices, including:Indicator light;
The indicator light is driven by the driving method of the mobile device indicator light described in any of the above-described embodiment.
In conclusion the embodiment of the present application provides a kind of driving method, driving device and the shifting of mobile device indicator light
Dynamic equipment, wherein the driving method of the mobile device indicator light is corresponding with the type of prompt message is waited for based on being previously stored with
The driving device of mobile device indicator light of indicator light respiratory state parameter realize, received first according to mobile device all
It waits for the type of prompt message, determine and each waits for the type of prompt message to corresponding indicator light respiratory state, then according to true
Fixed indicator light respiratory state, determines operating state instruction, finally according to the operating state instruction, determines the instruction for waiting for work
Lamp driving unit, and control described in wait for that the indicator light driving unit of work works successively so that the indicator light driving unit with
The pre-stored indicator light respiratory state driving parameter mobile device indicator light work of pwm control circuit, to realize to movement
The purpose that the needed prompt message that equipment receives is prompted successively.
Also, by the driving method of the mobile device indicator light realize to mobile device receive need to be prompted believe
While breath is prompted successively, the master controller without mobile device enters working condition, ensure that mobile device is reaching
While above-mentioned purpose, it is in low power consumpting state.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other
The difference of embodiment, just to refer each other for identical similar portion between each embodiment.
The foregoing description of the disclosed embodiments enables professional and technical personnel in the field to realize or use the application.
Various modifications to these embodiments will be apparent to those skilled in the art, as defined herein
General Principle can in other embodiments be realized in the case where not departing from spirit herein or range.Therefore, the application
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest range caused.
Claims (10)
1. a kind of driving method of mobile device indicator light, which is characterized in that for driving mobile device indicator light, the movement
Equipment includes the driving device of mobile device indicator light, and the driving device of the mobile device indicator light includes pwm control circuit
With multigroup current driving circuit with serial number information, the kind of prompt message is previously stored with and waited in the pwm control circuit
The corresponding indicator light respiratory state parameter of class, the driving method of the mobile device indicator light include:
According to the type for the needed prompt message that mobile device receives, determines and wait for that the type of prompt message is corresponding with each described
Indicator light respiratory state;
According to determining indicator light respiratory state, determines operating state instruction, work sequence is stored in the operating state instruction
Number information;
According to the operating state instruction, determine that the indicator light driving unit for waiting for work, the indicator light driving for waiting for work are single
The serial number information of member is corresponded with the work serial number information;
Wait for that the indicator light driving unit of work works successively described in control, so that the indicator light driving unit controls electricity with PWM
Pre-stored indicator light respiratory state driving parameter mobile device indicator light work in road.
2. according to the method described in claim 1, it is characterized in that, waited for described in the control indicator light driving unit of work according to
Task includes:
Wait for that the indicator light driving unit of work works successively according to serial number information described in control.
3. according to the method described in claim 2, it is characterized in that, waited for described in the control indicator light driving unit of work by
Work successively according to serial number information including:
Wait for the indicator light driving unit of work according to the sequence of serial number information is ascending or descending work successively described in control
Make.
4. according to the method described in claim 1, it is characterized in that, the type for waiting for prompt message be charging status information or
Missed call information or short message or instant communication message information apply pushed information.
5. according to the method described in claim 1, it is characterized in that, described according to determining indicator light respiratory state, work is determined
Include as status command:
The indicator light driving unit of indicator light respiratory state parameter corresponding with determining indicator light respiratory state will be stored with
Serial number information is determined as work serial number information;
Determining work serial number information is summarized, to generate operating state instruction.
6. a kind of driving device of mobile device indicator light, which is characterized in that for realizing claim 1-5 any one of them
The driving method of mobile device indicator light, the mobile device indicator light include blue led lamp bead, green LED lamp bead and red
The driving device of LED lamp bead, the mobile device indicator light includes:
Communication interface;
Multi-mode mask register, pwm control circuit and the multigroup electric current with serial number information being connect with the communication interface
Driving circuit;
Multigroup current driving circuit is electrically connected by first selector group with the mobile device indicator light;
The pwm control circuit includes breathing pattern sequential configuration register group, second selector, state of a control machine, PWM tune
System, oscillator and frequency divider;The breathing pattern sequential configuration register group includes identical as the current driving circuit quantity
Breathing pattern sequential configuration register, be previously stored in each breathing pattern sequential configuration register and wait carrying with one kind
Show the corresponding indicator light respiratory state parameter of the type of information;Wherein,
The type for the needed prompt message that the multi-mode mask register is used to be received according to mobile device determines and each
It is described to wait for the corresponding indicator light respiratory state of the type of prompt message;
The state of a control machine is used to, according to determining indicator light respiratory state, determine operating state instruction, the working condition
Work serial number information is stored in instruction;
The second selector is used to, according to the operating state instruction, determine the indicator light driving unit for waiting for work, described to wait for
The serial number information of the indicator light driving unit of work is corresponded with the work serial number information;
The first selector group waits for that the indicator light driving unit of work works successively described in being used to control, so that the indicator light
Driving unit is worked with pre-stored indicator light respiratory state driving parameter mobile device indicator light in pwm control circuit.
7. device according to claim 6, which is characterized in that the multi-mode mask register is specifically used for, according to shifting
The type for the needed prompt message that dynamic equipment receives described will wait for the corresponding bit position of the type of prompt message 1 with each.
8. device according to claim 7, which is characterized in that the state of a control machine is specifically used for, according to the multimode
The bit that 1 is set in formula mask register determines operating state instruction, and work serial number letter is stored in the operating state instruction
Breath.
9. device according to claim 6, which is characterized in that the first selector group is specifically used for, and is waited for described in control
The indicator light driving unit of work works successively according to serial number information.
10. a kind of mobile device, which is characterized in that including:Indicator light;
The indicator light is driven by the driving method of claim 1-5 any one of them mobile device indicator lights.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810179031.6A CN108377594B (en) | 2018-03-05 | 2018-03-05 | Driving method and driving device for indicator light of mobile equipment and mobile equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810179031.6A CN108377594B (en) | 2018-03-05 | 2018-03-05 | Driving method and driving device for indicator light of mobile equipment and mobile equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108377594A true CN108377594A (en) | 2018-08-07 |
CN108377594B CN108377594B (en) | 2020-09-15 |
Family
ID=63016786
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810179031.6A Active CN108377594B (en) | 2018-03-05 | 2018-03-05 | Driving method and driving device for indicator light of mobile equipment and mobile equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108377594B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020082471A1 (en) * | 2018-10-22 | 2020-04-30 | 南昌黑鲨科技有限公司 | Lamp effect control method, control unit, intelligent terminal, and computer readable storage medium |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1450823A (en) * | 2002-04-10 | 2003-10-22 | 上海迪比特实业有限公司 | Method and device for prompting mobile telephone set information by color LED flashing |
CN1704907A (en) * | 2004-06-01 | 2005-12-07 | 联想(北京)有限公司 | Variable respiration indicating lamp apparatus and controlling method thereof |
CN102316635A (en) * | 2011-06-29 | 2012-01-11 | 冠捷显示科技(厦门)有限公司 | Method and system for displaying various operating states by bicolor indicating lamp |
CN203261515U (en) * | 2013-04-02 | 2013-10-30 | 矽恩微电子(厦门)有限公司 | Three-dimensional full-color LED automatic respiration driving chip |
JP2014092892A (en) * | 2012-11-02 | 2014-05-19 | Nec Casio Mobile Communications Ltd | Input device, input control method, and program |
CN103871180A (en) * | 2014-03-31 | 2014-06-18 | 深圳市中兴移动通信有限公司 | Unread message reminding device and method |
CN104394268A (en) * | 2014-11-14 | 2015-03-04 | 广东欧珀移动通信有限公司 | Message notification method and message notification device based on breathing lamp |
CN104899128A (en) * | 2015-06-15 | 2015-09-09 | 陆俊 | Mobile terminal information indication method and mobile terminal |
CN105163433A (en) * | 2015-08-26 | 2015-12-16 | 上海中兴软件有限责任公司 | Method and terminal for implementation of message remind |
US9241054B1 (en) * | 2014-07-16 | 2016-01-19 | Kyle Shane Roberts | Protective case with integrated breathalyzer |
CN105376422A (en) * | 2015-12-09 | 2016-03-02 | 上海斐讯数据通信技术有限公司 | Breathing lamp brightness automatic adjusting method and system, and mobile terminal |
CN105657123A (en) * | 2015-11-15 | 2016-06-08 | 乐视移动智能信息技术(北京)有限公司 | Information reminding method and apparatus based on flashlight |
CN105682057A (en) * | 2016-02-26 | 2016-06-15 | 努比亚技术有限公司 | Message prompting device and message prompting method |
CN106686239A (en) * | 2016-12-30 | 2017-05-17 | 成都西可科技有限公司 | Setting and prompting method of terminal breathing lamp |
CN107041038A (en) * | 2017-04-27 | 2017-08-11 | 维沃移动通信有限公司 | The control method and mobile terminal of a kind of breath light |
CN104703344B (en) * | 2015-02-06 | 2017-11-07 | 北京智谷睿拓技术服务有限公司 | Exchange method and user equipment |
CN107635070A (en) * | 2017-09-27 | 2018-01-26 | 努比亚技术有限公司 | A kind of method of prompting message, terminal and storage medium |
-
2018
- 2018-03-05 CN CN201810179031.6A patent/CN108377594B/en active Active
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1450823A (en) * | 2002-04-10 | 2003-10-22 | 上海迪比特实业有限公司 | Method and device for prompting mobile telephone set information by color LED flashing |
CN1704907A (en) * | 2004-06-01 | 2005-12-07 | 联想(北京)有限公司 | Variable respiration indicating lamp apparatus and controlling method thereof |
CN102316635A (en) * | 2011-06-29 | 2012-01-11 | 冠捷显示科技(厦门)有限公司 | Method and system for displaying various operating states by bicolor indicating lamp |
JP2014092892A (en) * | 2012-11-02 | 2014-05-19 | Nec Casio Mobile Communications Ltd | Input device, input control method, and program |
CN203261515U (en) * | 2013-04-02 | 2013-10-30 | 矽恩微电子(厦门)有限公司 | Three-dimensional full-color LED automatic respiration driving chip |
CN103871180A (en) * | 2014-03-31 | 2014-06-18 | 深圳市中兴移动通信有限公司 | Unread message reminding device and method |
US9241054B1 (en) * | 2014-07-16 | 2016-01-19 | Kyle Shane Roberts | Protective case with integrated breathalyzer |
CN104394268A (en) * | 2014-11-14 | 2015-03-04 | 广东欧珀移动通信有限公司 | Message notification method and message notification device based on breathing lamp |
CN104703344B (en) * | 2015-02-06 | 2017-11-07 | 北京智谷睿拓技术服务有限公司 | Exchange method and user equipment |
CN104899128A (en) * | 2015-06-15 | 2015-09-09 | 陆俊 | Mobile terminal information indication method and mobile terminal |
CN105163433A (en) * | 2015-08-26 | 2015-12-16 | 上海中兴软件有限责任公司 | Method and terminal for implementation of message remind |
CN105657123A (en) * | 2015-11-15 | 2016-06-08 | 乐视移动智能信息技术(北京)有限公司 | Information reminding method and apparatus based on flashlight |
CN105376422A (en) * | 2015-12-09 | 2016-03-02 | 上海斐讯数据通信技术有限公司 | Breathing lamp brightness automatic adjusting method and system, and mobile terminal |
CN105682057A (en) * | 2016-02-26 | 2016-06-15 | 努比亚技术有限公司 | Message prompting device and message prompting method |
CN106686239A (en) * | 2016-12-30 | 2017-05-17 | 成都西可科技有限公司 | Setting and prompting method of terminal breathing lamp |
CN107041038A (en) * | 2017-04-27 | 2017-08-11 | 维沃移动通信有限公司 | The control method and mobile terminal of a kind of breath light |
CN107635070A (en) * | 2017-09-27 | 2018-01-26 | 努比亚技术有限公司 | A kind of method of prompting message, terminal and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020082471A1 (en) * | 2018-10-22 | 2020-04-30 | 南昌黑鲨科技有限公司 | Lamp effect control method, control unit, intelligent terminal, and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108377594B (en) | 2020-09-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2991324B1 (en) | Method and device for button backlight processing | |
CN107203458A (en) | A kind of server state information display device and method | |
JP2006352011A (en) | Luminescence control circuit, and lighting device and portable information terminal equipped therewith | |
CN107318196B (en) | Indicator lamp circuit of mobile terminal and control method thereof | |
CN201639831U (en) | Breathing lamp circuit and mobile phone with same | |
CN108377594A (en) | A kind of driving method, driving device and the mobile device of mobile device indicator light | |
CN104852410A (en) | Mobile terminal and charging indication method thereof | |
CN102238792B (en) | Electronic ballast for high pressure gas discharge lamp | |
US10070494B1 (en) | Dimming switch device and methods for determining user operation events thereof | |
CN102650850B (en) | Electronic watch | |
CN107713907A (en) | A kind of dust catcher working state control device and dust catcher | |
Diaz et al. | CAN bus embedded system for lighting network applications | |
CN103296864B (en) | Power supply in response to various control signal format | |
CN109870896A (en) | A kind of aura timer | |
CN109451759A (en) | Remote controler and remote control method | |
CN108366456A (en) | A kind of driving method, driving device and the mobile device of mobile device indicator light | |
CN110719667B (en) | LED lamp synchronous control device and method | |
CN209897322U (en) | Light-adjustable LED lamp power supply with USB output isolation belt | |
CN208691154U (en) | A kind of programmable DC power supply | |
CN111867185A (en) | Capacitor pre-charging circuit, LED drive circuit and LED device | |
CN220915461U (en) | Atmosphere lamp strip control system | |
CN218735081U (en) | Automobile Bluetooth driving receiving lamp system | |
CN210781468U (en) | Constant current source power supply device and system | |
CN219453865U (en) | Rotatory LED lamp equipment based on vision phenomenon of stopping | |
TW201503758A (en) | Intelligent illumination management system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 201199 Room 1201, Lane 908, Xiuwen Road, Minhang District, Shanghai Applicant after: Shanghai Awinic Technology Co.,Ltd. Address before: Room 303-39, 33 Block 680 Guiping Road, Xuhui District, Shanghai, 2003 Applicant before: Shanghai Awinic Technology Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |