CN1450823A - Method and device for prompting mobile telephone set information by color LED flashing - Google Patents

Method and device for prompting mobile telephone set information by color LED flashing Download PDF

Info

Publication number
CN1450823A
CN1450823A CN02111316.5A CN02111316A CN1450823A CN 1450823 A CN1450823 A CN 1450823A CN 02111316 A CN02111316 A CN 02111316A CN 1450823 A CN1450823 A CN 1450823A
Authority
CN
China
Prior art keywords
color led
flicker
flashing
control signal
telephone set
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN02111316.5A
Other languages
Chinese (zh)
Other versions
CN1193635C (en
Inventor
莫自治
彭新淼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANGHAI DIBITE IND CO Ltd
Original Assignee
SHANGHAI DIBITE IND CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANGHAI DIBITE IND CO Ltd filed Critical SHANGHAI DIBITE IND CO Ltd
Priority to CN02111316.5A priority Critical patent/CN1193635C/en
Publication of CN1450823A publication Critical patent/CN1450823A/en
Application granted granted Critical
Publication of CN1193635C publication Critical patent/CN1193635C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The device includes a flashing circuit on mobilephone as keyboard, central processor, driving circuit and colour LED circuit are comprised in the flashing circuit. The method includes the following steps: judging whether input value of the user is in accordance with input format or not at open state of flashing mode; fetching the setting colour value by the central processor if it is; calling the timing function and comfirming time period of interruption as poer the optimum frequency valume implied by flashing program; driving colour LED to flash according to the setting frequency and the setting colour at course of time interruption with control signal being sent out circularly.

Description

A kind of method and apparatus of prompting mobile telephone set information by color LED flashing
Technical field
The present invention relates to a kind of method and apparatus of prompting mobile telephone set information by color LED flashing, can be applied to comprise in the electronic flash equipment that band color LED such as mobile phone shows.
Background technology
We know, in the use of existing mobile phone, the functional design that is used to show mobile phone state is nothing more than two kinds of ring and vibrations, and in many special public situation, as the song cinema, the use of this dual mode is very unfavorable all.How under dark condition, to realize noiseless incoming call prompting, do you and in the state of not answering, recognize the attribute (relative of the other side in telephone directory group? friend? the classmate?), or the inner case of understanding mobile phone, as electric weight abundance etc. whether, the problem of these several respects is that present mobile phone function of use design is more perfect, some developing direction of more humane consideration.
Summary of the invention
At the problems referred to above, main purpose of the present invention provides a kind of colored apparatus and method that show program control flicker of LED of mobile phone, can make mobile phone realize colour flicker with fixed frequency within a certain period of time according to user's setting, thereby make the mobile phone can be quick under holding state, convenient location and present the current state information of part mobile phone.Under the condition that keeps original cost, the content that develops skill increases function, has high performance price ratio.
To achieve these goals, the technical solution used in the present invention is:
A kind of device of prompting mobile telephone set information by color LED flashing is characterized in that, is equiped with flashing circuit on mobile phone, and described flashing circuit comprises:
Keyboard: be used for entering or withdraw from LED flicker pattern according to the certain format setting;
Central processing unit: link to each other with described keyboard, by iic bus interface and programmable interface described keyboard is provided with order and reads, resolve, and send control signal to drive circuit;
Drive circuit: link to each other with described central processing unit, accept from the control signal of described central processing unit and carry out the corresponding driving action;
Color LED circuit: link to each other with described drive circuit, controlled by described drive circuit, carry out flash for prompting.
A kind of method of prompting mobile telephone set information by color LED flashing is characterized in that, said method comprising the steps of:
1) under flicker pattern opening, judges whether user's input value meets pattern of the input;
2) if meet pattern of the input, then central processing unit reads the color value of setting;
3) call timing function, determine length break period according to the optimum frequency value of flicker program acquiescence;
4) in the time interrupt procedure, circulation drives frequency and the chromatic flicker of color LED to set to peripheral circuit output control signal.
Program control scintillation technique disclosed according to the present invention, can beautify mobile phone and be applied to mobile phone, as the different colours prompting of the colored prompting of the incoming call LED in the group in the telephone directory, cell-phone battery electric-charge quantity,, make it with 7 kinds of monochromatic light circulation flickers or the like by the direct input command of keyboard.The present invention mainly is combining of software and hardware, and programming can realize control.
Description of drawings
Below, with reference to accompanying drawing, for those skilled in the art that, from detailed description of the present invention, above-mentioned and other purposes of the present invention, feature and advantage will be apparent.
Fig. 1 is the structured flowchart that constitutes apparatus of the present invention;
Fig. 2 is a drive circuit circuit diagram of realizing the color LED flashing device in a preferred embodiment of the present invention;
Fig. 3 provides the flow chart of realizing the inventive method;
Fig. 4 is the regularly flow chart of interrupt service subroutine of the invention process.
Embodiment
The composition of apparatus of the present invention sees also block diagram shown in Figure 1, be provided with by 10 pairs of control circuits 11 of the keyboard on the mobile phone faceplate, control circuit 11 comprises central processing unit (CPU) and peripheral circuit thereof, it is responsible for detecting the set parameter of keyboard 10 and outer triggering signal is handled, then provide the corresponding driving signal to drive circuit 12, carry out corresponding action to trigger colored backlight led circuit 13.
Fig. 2 provides the physical circuit schematic diagram of drive circuit 12 in one embodiment.This circuit utilizes IIC mode chip for driving PCF8574 to reach the purpose of control different color flicker with the control of three kinds of individual colour circuit power supply low sides carrying out color LED.Fracture GPIO01 able to programme, the GPIO02 of mobile phone central processing unit (CPU) is used for driving red green two kinds of individual colour circuits of color LED respectively to carry out the demonstration that mobile phone has no signal in the diagram.Resistance R 1, R2, R3 play different dividing potential drop effects respectively, and triode T1, T2 then use as switch, and model is that the chip Q1 of PCF8574 handles to derive from control signal IIC signal SDA that the mobile phone central processor CPU sends and the module of SCL.
Illustrate that below in conjunction with figure Fig. 3 and Fig. 4 the present invention realizes the flow process of color LED flashing method.Fig. 3 is the flow process that combines by the direct input command of cell phone keyboard, and we are called main program here.Fig. 4 is an invoked timer interrupt service subroutine among Fig. 3, or is called flicker service subprogram flow chart.
At first each variable name that the present invention is used in flow chart describes: FLAG represents the switch sign of timer interrupt service subroutine, and wherein FLAG=0 represents to withdraw from the timer interrupt service routine, enters holding state (or step); FLAG=1 represents to enter the timer interrupt service subroutine.ON/OFF represents that LED flicker opens or close, and wherein ON/OFF=0 represents that flicker closes, and ON/OFF=1 represents that flicker opens.X and Y value are represented two default values in the timer interrupt service subroutine respectively, and wherein X represents to open the time that flashing function continues; The Y value representation wink-off function duration.ON COUNT represents the initial value of timer, and this value is decided according to the parameter of user's input.ON COUNT is relevant with parameter X in the present embodiment, the time that corresponding flicker is lighted, is called the timer value of lighting.OFF COUNT also represents the timer initial value, and this value is decided according to the parameter of user's input, and Y is relevant with parameter, the corresponding flicker fall time, is called the timer close value.
See also Fig. 3, the main flow to the inventive method describes below:
Step 301 enters the initial state of operating handset;
Step 302, this moment, mobile phone entered holding state, waited for that the user is by the keyboard input command;
Step 303 judges whether the user has key entry " 10001# ", does not then jump into step 302 if key in, and recovers holding state, and the user can select other service as required;
Step 304, the pattern of the input of " 10001# " if judged result satisfies condition, at this moment timer interrupt program sign FLAG=1 shows that the user need enter the flicker service;
Step 305, the timing that this program default setting timer is lighted and extinguished, i.e. certain special time cycle at interval, the time that repeats to call an interrupt service subroutine;
Step 306 changes over to and calls the timer interrupt service subroutine;
Step 307, whether the cycle detection user imports stop signal in main program, and that adopt in the present embodiment is " 10002# ", if not input then continues the circulation flicker;
Step 309, input stops correct format, and at this moment timer interrupt program sign FLAG=0 shows that the user withdraws from the flicker service;
Step 309 finishes main program.
Step 306 in the main flow changes the timer interrupt service subroutine over to, please then referring to the flow chart of this subprogram shown in Figure 4.
Step 401 at first begins to enter interrupt service subroutine;
Does step 402 judge that then whether the mobile phone LED flashing function opens or closes, and promptly judges identifier ON/OFF=0? or ON/OFF=1?
Step 403, if ON/OFF=1, again and then judge whether the timer value of lighting ON_COUNT is 0, this is worth and is X when calling first;
If flicker unlatching number of times ON_COUNT is not equal to 0 in the step 403, i.e. expression is lighted and is continued to finish, and judges in step 406 then whether timer interrupt identification FLAG equals 0, if FLAG=0 then enters step 413, withdraw from interrupt service routine, change step 414 then over to, return main program; Be not equal to 0 if judge timer interrupt identification FLAG in the step 406, enter step 407, the timer value of lighting ON_COUNT is from subtracting 1, and the expression time of lighting is begun to reduce by initial value, and then program turns back to the main program of step 414;
If the timer value of lighting ON_COUNT is 0 in the judgement of step 403, continue the value of variable X is composed to the timer value of lighting ON_COUNT, i.e. step 404, then in step 405, carry out ON/OFF=0, be the wink-off function, return main program then, i.e. step 414;
If Rule of judgment does not satisfy in step 402, promptly the mobile phone LED flashing function is closed, and judges whether timer close value OFF_COUNT is 0 again and then by step 408; If timer close value OFF_COUNT is not 0, then in step 409, continue to judge whether interrupt service routine FLAG is 0; The flow process of lighting process to top timer is similar.If FLAG=0 then by step 413 and 414, withdraws from interrupt service routine, return main program; If the discontented foot of condition in the step 409, i.e. FLAG=1, then timer close value OFF_COUNT is from subtracting 1, i.e. step 410, main program forwards step 414 to then; If Rule of judgment satisfies in step 408, both timer close value OFF_COUNT was 0, then continued the silent definite value Y of program is composed to variable OFF_COUNT, it is step 411, then enter step 412, variable ON/OFF=1 is set and opens flicker, program turns back to 414 then.
In addition, the present invention can also specify as follows with realizing the prompting of incoming call color LED flashing:
At first, the user enters in the setting of telephone directory group, selects passage of scintillation light (passage of scintillation light 1-passage of scintillation light 9);
Secondly, during incoming call, the mobile phone central processing unit calls the timing loop control LED flicker that timer interrupt routine is lighted and extinguished with the timer of the color set and program default setting, and the timing routine flow chart is with accompanying drawing 4;
Then, wait for that the user imports stop signal (incoming call answering action);
At last, withdraw from main program.
In addition, the present invention can also specify as follows with realizing color LED flashing prompting mobile telephone set battery current electric quantity value:
Mobile phone electric weight surplus value with icon display, is divided into five grades on LCD, respectively corresponding five kinds of flash color, and the user selects five kinds of different color values respectively in mobile phone is set.
At first, the user enters in the mobile phone setting, selects color LED flashing prompting mobile telephone set electric weight.
Secondly, the mobile phone central processing unit is read cell-phone battery electric-charge quantity and is selected corresponding setpoint color and timing loop control LED flash for prompting mobile phone information about power that the timer of program default setting is lighted and extinguished.The timing routine flow chart is with accompanying drawing 4;
The 3rd, the wait user intervention (repeat first step, or second step, or press closing key);
At last, withdraw from main program.
Method and apparatus of the present invention not only can be applied to field of mobile phones, can also be applied to have in the electronic equipment of input set-up function and Presentation Function, even can also relate to toy industry, caution system, various fields such as consumer electronics product.
The front provides the description to preferred embodiment, so that any technical staff in this area can use or utilize the present invention.Various modifications to these embodiment are conspicuous to those skilled in the art, can be applied to other embodiment to total principle described here and not use creativeness.Thereby the embodiment of the present invention shown in will being not limited to here, and the application of wide scope of principle that should disclose and new feature according to meeting here.

Claims (6)

1, a kind of device of prompting mobile telephone set information by color LED flashing is characterized in that, is equiped with flashing circuit on mobile phone, and described flashing circuit comprises:
Keyboard: be used for entering or withdraw from LED flicker pattern according to the certain format setting;
Central processing unit: link to each other with described keyboard, by iic bus interface and programmable interface described keyboard is provided with order and reads, resolve, and send control signal to drive circuit;
Drive circuit: link to each other with described central processing unit, accept from the control signal of described central processing unit and carry out the corresponding driving action;
Color LED circuit: link to each other with described drive circuit, controlled by described drive circuit, carry out flash for prompting.
2, the device of a kind of prompting mobile telephone set information by color LED flashing according to claim 1 is characterized in that, described drive circuit comprises
A control signal processing module is used to receive the IIC control signal of described central processing unit transmission and this control signal is made the corresponding driving action;
One group of filter circuit is used to prevent the misoperation of described control signal;
One group of triode control switch is controlled by different GPIO ports.
3, a kind of method of prompting mobile telephone set information by color LED flashing is characterized in that, said method comprising the steps of:
1) under flicker pattern opening, judges whether user's input value meets pattern of the input;
2) if meet pattern of the input, then central processing unit reads the color value of setting;
3) call timing function, calculate length break period according to the optimum frequency value of flicker program acquiescence;
4) in the time interrupt procedure, circulation drives color LED to establish to peripheral circuit output control signal
Fixed frequency and chromatic flicker.
4, the method for a kind of prompting mobile telephone set information by color LED flashing according to claim 3 is characterized in that, described flicker opening can be used to characterize cell phone incoming call and show.
5, the method for a kind of prompting mobile telephone set information by color LED flashing according to claim 3 is characterized in that, described flicker opening can be used to characterize mobile phone electric weight deficiency.
6, the method for a kind of prompting mobile telephone set information by color LED flashing according to claim 4, it is characterized in that the central processing unit of described mobile phone can be by realizing the break period that timing function is set in the described set point about glimmering with the optimum frequency of program acquiescence with any kind of color.
CN02111316.5A 2002-04-10 2002-04-10 Method and device for prompting mobile telephone set information by color LED flashing Expired - Fee Related CN1193635C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN02111316.5A CN1193635C (en) 2002-04-10 2002-04-10 Method and device for prompting mobile telephone set information by color LED flashing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN02111316.5A CN1193635C (en) 2002-04-10 2002-04-10 Method and device for prompting mobile telephone set information by color LED flashing

Publications (2)

Publication Number Publication Date
CN1450823A true CN1450823A (en) 2003-10-22
CN1193635C CN1193635C (en) 2005-03-16

Family

ID=28680549

Family Applications (1)

Application Number Title Priority Date Filing Date
CN02111316.5A Expired - Fee Related CN1193635C (en) 2002-04-10 2002-04-10 Method and device for prompting mobile telephone set information by color LED flashing

Country Status (1)

Country Link
CN (1) CN1193635C (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159560B (en) * 2007-10-22 2010-12-01 中兴通讯股份有限公司 Network card status indication method and system for time division multiplex network
CN102769706A (en) * 2012-08-07 2012-11-07 深圳天珑无线科技有限公司 Mobile phone and reminding method thereof
CN101737762B (en) * 2008-11-13 2013-02-13 宏达国际电子股份有限公司 Portable electronic device and control method of light source thereof
CN104507230A (en) * 2014-12-24 2015-04-08 深圳市航盛电子股份有限公司 LED (light emitting diode) lamp meter reading flickering method and system based on STM32 timer
CN108377594A (en) * 2018-03-05 2018-08-07 上海艾为电子技术股份有限公司 A kind of driving method, driving device and the mobile device of mobile device indicator light
CN114779609A (en) * 2014-10-13 2022-07-22 艾利丹尼森零售信息服务公司 Practical timer in food freshness printer

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159560B (en) * 2007-10-22 2010-12-01 中兴通讯股份有限公司 Network card status indication method and system for time division multiplex network
CN101737762B (en) * 2008-11-13 2013-02-13 宏达国际电子股份有限公司 Portable electronic device and control method of light source thereof
CN102769706A (en) * 2012-08-07 2012-11-07 深圳天珑无线科技有限公司 Mobile phone and reminding method thereof
CN114779609A (en) * 2014-10-13 2022-07-22 艾利丹尼森零售信息服务公司 Practical timer in food freshness printer
CN104507230A (en) * 2014-12-24 2015-04-08 深圳市航盛电子股份有限公司 LED (light emitting diode) lamp meter reading flickering method and system based on STM32 timer
CN108377594A (en) * 2018-03-05 2018-08-07 上海艾为电子技术股份有限公司 A kind of driving method, driving device and the mobile device of mobile device indicator light
CN108377594B (en) * 2018-03-05 2020-09-15 上海艾为电子技术股份有限公司 Driving method and driving device for indicator light of mobile equipment and mobile equipment

Also Published As

Publication number Publication date
CN1193635C (en) 2005-03-16

Similar Documents

Publication Publication Date Title
CN1313907C (en) Keyboard inputting means
CN1661591A (en) Method and system for using a color scheme to communicate information related to the integration of hardware and software in a computing device
CN1148094C (en) Mobile communication terminal and information display method on said terminal and storage medium for said program of method
CN1224319A (en) Mobile terminal provided with display controlling function by detecting insertion of earphone jack
CN1640101A (en) Mobile communication terminal
CN1342015A (en) Portable telephone set
CN1193635C (en) Method and device for prompting mobile telephone set information by color LED flashing
CN103037583A (en) Fireproof and energy-saving light-emitting diode (LED) controlling system based on android system
CN1233901A (en) Mobile telephone set
CN102119374B (en) Terminal device, and back light emitting method and program in mobile terminal of the device
CN102970416A (en) Method for achieving multi-functional control of single-button line-control earphone and communication terminal
JP2005134998A (en) Control system, control method and control program for key backlight
CN1791256A (en) Mobile phone communication automatic testing method and mobile phone automatic calling unit
CN1961564A (en) Controlling the appearance of a hand-portable electronic device
CN1159937C (en) Method and device for flashing back light of mobile telephone's LCD
US20100117851A1 (en) Electronic apparatus with incoming message prompt
CN2468238Y (en) Telephone set capable of displaying identity of incoming subscriber with light number
CN1571438A (en) Method and apparatus for controlling light source of telephone key-press
CN101684913A (en) Device of luminescent lamp group controlled by music
KR20060025845A (en) Method and apparatus for displaying remainder of battery voltage in mobile phone
CN207117703U (en) Light-emitting device and terminal
CN1726696A (en) Electronic device and imaging method using the electronic device
CN1498019A (en) Mobile phone, notifying method of key operation valid/invalid and its program
CN1842236A (en) Control module of incoming call chord light and its controlling method
CN1787559A (en) Method for providing use key prompting function based on key illuminating

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee