CN101568211A - Method for controlling irradiancy of colored light with touch screen - Google Patents

Method for controlling irradiancy of colored light with touch screen Download PDF

Info

Publication number
CN101568211A
CN101568211A CNA2008100366309A CN200810036630A CN101568211A CN 101568211 A CN101568211 A CN 101568211A CN A2008100366309 A CNA2008100366309 A CN A2008100366309A CN 200810036630 A CN200810036630 A CN 200810036630A CN 101568211 A CN101568211 A CN 101568211A
Authority
CN
China
Prior art keywords
touch
control
color lamp
screen
irradiancy
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
CNA2008100366309A
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.)
Shanghai Simcom Ltd
Original Assignee
Shanghai Simcom 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 Simcom Ltd filed Critical Shanghai Simcom Ltd
Priority to CNA2008100366309A priority Critical patent/CN101568211A/en
Publication of CN101568211A publication Critical patent/CN101568211A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method for controlling irradiancy of colored light with a touch screen, which comprises steps as follows: S1, determining whether the touch-control manner is click or slippage according to the coordinate of the touched position of the screen when a user contacts the touch screen; S2, when the touch-control manner is click, the colored lights are in single flicker; S3, when the touch-control manner is slippage, the colored lights flicker continuously; S4, determining whether the slippage touch and control is continuous, if yes, the colored lights flicker continuously, and otherwise, the colored lights are closed. In the invention, the colored lights flicker when a user touches in a click or slippage manner, thereby bringing users more visual enjoyment and satisfying diversified requirements for different mobile phone users.

Description

Method with touch-screen control irradiancy of colored light
Technical field
The present invention relates to a kind of method, be particularly useful for having the various handheld devices that touch control and colored hair light modulation with touch-screen control irradiancy of colored light.
Background technology
The display screen of present a lot of handheld devices all has touch function, and in cell phone apparatus, touch function is more common.Simultaneously, lampion is used more and more on mobile phone, the visual effect that the user more and more likes this color lamp to bring.
But, in the existing mobile phone, touch function and irradiancy of colored light function are not used in combination, to click or sliding when touching such as the user, color lamp is followed flicker.
Summary of the invention
The technical problem to be solved in the present invention is to touch and the unconjugated defective of irradiancy of colored light function in order to overcome in the prior art, and a kind of method with touch-screen control irradiancy of colored light is provided.
The present invention solves above-mentioned technical problem by following technical proposals:
A kind of method with touch-screen control irradiancy of colored light, its characteristics are that it may further comprise the steps:
S 1, when the user touches touch-screen, the coordinate of the position that is touched according to this screen judges that touch control manner slides for clicking still;
S 2, when touch control manner when clicking, the flicker of color lamp single;
S 3, when touch control manner when sliding, color lamp glimmers continuously;
S 4, judge that whether sliding touch continues, if yes, then color lamp continues flicker; If, then do not close color lamp.
Wherein, at step S 1In, when the output level of X-axis and Y-axis all remained unchanged always, touch control manner was for clicking; When the output level that or both are arranged among X-axis and the Y-axis all constantly changed, touch control manner was for sliding.
Wherein, step S 2And S 3In the step of irradiancy of colored light as follows: on touch-screen according to different coordinates regionals and different interface setting variablees; According to the numerical value of variable, being used on the control baseband chip controlled the output level of the universal input/output interface of color lamp; Color lamp sends the light of different colours according to the output level difference of universal input/output interface.
Wherein, when control mode touch mode was slip, each universal input/output interface was according to the certain time interval output level; Control the color and the light on and off of color lamp by this time interval and level, form the continuous flicker of color lamp.
Positive progressive effect of the present invention is: the user is when clicking or sliding touch, and color lamp is followed flicker, brings more visual enjoyment to the user, satisfies the diversified needs of different cellphone subscribers.
Description of drawings
Fig. 1 is the process chart with touch-screen control irradiancy of colored light of the present invention.
Fig. 2 is the connected mode figure that touching signals of the present invention is gathered.
Fig. 3 judges for of the present invention whether touch-control is the flow chart that slides.
Fig. 4 is the cut-away drawing with touch-screen control irradiancy of colored light of the present invention.
Embodiment
Provide preferred embodiment of the present invention below in conjunction with accompanying drawing, to describe technical scheme of the present invention in detail.
In the present embodiment, handheld device adopts mobile phone, and will confirm that at first mobile phone has touch-control and color lamp hardware capability, carries out the color light control interface, calls for touch-control.As shown in Figure 1.
Step 101, after the opening device, handset touch panel is waited for touch information.When the user touched touch-screen, the X-axis of touch-screen and the output level of Y-axis can change; The variation of this level be transferred to BB (Base Band, i.e. baseband chip, down with) ADC (be the analog/digital controller, down with), after analog-to-digital conversion, obtain the coordinate of screen.
Step 102 judges that according to the coordinate of this screen touch control manner slides for clicking still.
Step 103, when touch control manner is click, the flicker of color lamp single.
Step 104, when touch control manner was slip, color lamp glimmered continuously.
Judge whether sliding touch continues, and if yes, then execution in step 105, and color lamp continues flicker; If then execution in step 106, close color lamp not.
As shown in Figures 2 and 3, the connected mode figure of BB when gathering and TP (touch-screen, together following) for touching signals, and judge whether touch-control is the handling process of sliding.
In Fig. 2, the TP original levels is output as 0.When the user touches on the TP, the output level X+ of X-axis and Y-axis, X-, Y+, Y-can change.But X+, X-, Y+, the changing value of Y-is different, and the variation of this level is transferred to the ADC of BB, after analog-to-digital conversion, by calculating X+, X-, Y+, Y-'s is poor, obtains the concrete coordinate of screen.
Idiographic flow shown in Figure 3 comprises the steps.
Step 201, the user touches touch-screen.
Step 202 is calculated touch coordinate by the output level of X-axis and Y-axis.
Step 203 before felt pen or finger leave touch-screen, judges whether the output level of X-axis and Y-axis remains unchanged always, if, then for clicking touch-control.
Step 204 when the output level that or both are arranged among X-axis and the Y-axis all constantly changes, then is a sliding touch.The judgement of above-mentioned steps 203 and 204 pairs of level variations belongs to the state of the art, and it is bright more not speak more here.
No matter step 205 is to click touch-control or sliding touch, judges all at last whether touch-control finishes, and closes color lamp when touch-screen is left in user's touch.
Fig. 4 is the winding diagram of control color lamp.At first need be according to different coordinates regionals and different interface setting variablees on TP; Output level according to the GPIO of the control color lamp on the Numerical Control BB of variable; Color lamp sends the light of different colours according to the output level difference of GPIO.
Concrete controlled step as shown in the figure, the GPIO16 in the lower left corner, GPIO28, the GPIO41 acquiescence is output as low level, this moment 3 triodes 11,12 and 13 be closed condition, not conducting of color lamp.When GPIO16 output high level, triode 11 is opened, and blue light is sent in LED color lamp B conducting; When GPIO28 output high level, triode 12 is opened, and green glow is sent in LED color lamp G conducting; When GPIO41 output high level, triode 13 is opened, and ruddiness is sent in LED color lamp R conducting; By control color lamp R, G, B realize different colors.
When touch control manner was slip, GPIO16, GPIO28, GPIO41 exported high level respectively by certain time interval, export color and the light on and off of controlling color lamp by this time interval and level, formed the continuous flicker of color lamp.
At last, consider power consumption and each one's hobby problem, can be provided with and of the present inventionly close in the normal state or open with this function of touch-screen control irradiancy of colored light.
Though more than described the specific embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, under the prerequisite that does not deviate from principle of the present invention and essence, can make numerous variations or modification to these execution modes.Therefore, protection scope of the present invention is limited by appended claims.

Claims (4)

1, a kind of method with touch-screen control irradiancy of colored light is characterized in that it may further comprise the steps:
S 1, when the user touches touch-screen, the coordinate of the position that is touched according to this screen judges that touch control manner slides for clicking still;
S 2, when touch control manner when clicking, the flicker of color lamp single;
S 3, when touch control manner when sliding, color lamp glimmers continuously;
S 4, judge that whether sliding touch continues, if yes, then color lamp continues flicker; If, then do not close color lamp.
2, the method with touch-screen control irradiancy of colored light as claimed in claim 1 is characterized in that, at step S 1In, when the output level of X-axis and Y-axis all remained unchanged always, touch control manner was for clicking; When the output level that or both are arranged among X-axis and the Y-axis all constantly changed, touch control manner was for sliding.
3, the method with touch-screen control irradiancy of colored light as claimed in claim 1 is characterized in that step S 2And S 3In the step of irradiancy of colored light as follows: on touch-screen according to different coordinates regionals and different interface setting variablees; According to the numerical value of variable, being used on the control baseband chip controlled the output level of the universal input/output interface of color lamp; Color lamp sends the light of different colours according to the output level difference of universal input/output interface.
4, as claim 1,2 or 3 described methods, it is characterized in that when control mode touch mode was slip, each universal input/output interface was according to the certain time interval output level with touch-screen control irradiancy of colored light; Control the color and the light on and off of color lamp by this time interval and level, form the continuous flicker of color lamp.
CNA2008100366309A 2008-04-25 2008-04-25 Method for controlling irradiancy of colored light with touch screen Pending CN101568211A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008100366309A CN101568211A (en) 2008-04-25 2008-04-25 Method for controlling irradiancy of colored light with touch screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008100366309A CN101568211A (en) 2008-04-25 2008-04-25 Method for controlling irradiancy of colored light with touch screen

Publications (1)

Publication Number Publication Date
CN101568211A true CN101568211A (en) 2009-10-28

Family

ID=41284078

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008100366309A Pending CN101568211A (en) 2008-04-25 2008-04-25 Method for controlling irradiancy of colored light with touch screen

Country Status (1)

Country Link
CN (1) CN101568211A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976167A (en) * 2010-09-07 2011-02-16 鼎举(上海)软件技术有限公司 Mobile terminal and color light control method
CN101980136A (en) * 2010-11-08 2011-02-23 广东欧珀移动通信有限公司 Sliding control interaction method for handheld terminal
CN102118896A (en) * 2009-12-30 2011-07-06 乐金电子(中国)研究开发中心有限公司 LED (light-emitting diode) light control method, device and mobile terminal based on touch screen
CN102981766A (en) * 2012-11-27 2013-03-20 中兴通讯股份有限公司 Terminal activating method and terminal
CN103025019A (en) * 2012-12-13 2013-04-03 广东欧珀移动通信有限公司 Mobile terminal and rapid lighting method thereof
CN105005375A (en) * 2015-08-14 2015-10-28 魅族科技(中国)有限公司 Breathing light control method and terminal
CN105282917A (en) * 2015-06-16 2016-01-27 熊剑峰 Communication control method of intelligent lamp
CN105306668A (en) * 2015-05-28 2016-02-03 维沃移动通信有限公司 Electronic equipment control method and electronic equipment
CN105389032A (en) * 2014-09-09 2016-03-09 联想(北京)有限公司 Electronic equipment and information processing method
CN105468251A (en) * 2014-09-11 2016-04-06 深圳市麦思美汽车电子有限公司 Volume control method and system with audio and visual synchronization feedback
CN106717124A (en) * 2014-06-02 2017-05-24 Xyz 互动技术公司 Touch-less switching
CN109637410A (en) * 2019-01-12 2019-04-16 合肥惠科金扬科技有限公司 A kind of display colorful lamp control method, control device and display
CN110502155A (en) * 2019-07-16 2019-11-26 视联动力信息技术股份有限公司 A kind of methods of exhibiting and device of shared data
CN113746467A (en) * 2021-08-31 2021-12-03 杭州海康威视数字技术股份有限公司 Screen projection control method, screen projector and processing chip

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118896A (en) * 2009-12-30 2011-07-06 乐金电子(中国)研究开发中心有限公司 LED (light-emitting diode) light control method, device and mobile terminal based on touch screen
CN101976167B (en) * 2010-09-07 2013-04-10 鼎举(上海)软件技术有限公司 Mobile terminal and color light control method
CN101976167A (en) * 2010-09-07 2011-02-16 鼎举(上海)软件技术有限公司 Mobile terminal and color light control method
CN101980136A (en) * 2010-11-08 2011-02-23 广东欧珀移动通信有限公司 Sliding control interaction method for handheld terminal
CN102981766A (en) * 2012-11-27 2013-03-20 中兴通讯股份有限公司 Terminal activating method and terminal
CN103025019A (en) * 2012-12-13 2013-04-03 广东欧珀移动通信有限公司 Mobile terminal and rapid lighting method thereof
CN106717124A (en) * 2014-06-02 2017-05-24 Xyz 互动技术公司 Touch-less switching
US11362657B2 (en) 2014-06-02 2022-06-14 Xyz Interactive Technologies Inc. Touch-less switching
US10749525B2 (en) 2014-06-02 2020-08-18 Xyz Interactive Technologies Inc. Touch-less switching
CN105389032A (en) * 2014-09-09 2016-03-09 联想(北京)有限公司 Electronic equipment and information processing method
CN105468251A (en) * 2014-09-11 2016-04-06 深圳市麦思美汽车电子有限公司 Volume control method and system with audio and visual synchronization feedback
CN105306668A (en) * 2015-05-28 2016-02-03 维沃移动通信有限公司 Electronic equipment control method and electronic equipment
CN105282917A (en) * 2015-06-16 2016-01-27 熊剑峰 Communication control method of intelligent lamp
CN105005375B (en) * 2015-08-14 2018-05-25 魅族科技(中国)有限公司 The control method and terminal of a kind of breath light
CN105005375A (en) * 2015-08-14 2015-10-28 魅族科技(中国)有限公司 Breathing light control method and terminal
CN109637410A (en) * 2019-01-12 2019-04-16 合肥惠科金扬科技有限公司 A kind of display colorful lamp control method, control device and display
CN110502155A (en) * 2019-07-16 2019-11-26 视联动力信息技术股份有限公司 A kind of methods of exhibiting and device of shared data
CN113746467A (en) * 2021-08-31 2021-12-03 杭州海康威视数字技术股份有限公司 Screen projection control method, screen projector and processing chip

Similar Documents

Publication Publication Date Title
CN101568211A (en) Method for controlling irradiancy of colored light with touch screen
CN101681209B (en) Mobile device with touch input surface
CN107613094A (en) Method for operating mobile terminal by one hand and mobile terminal
CN103480153A (en) Method for simulating computer gamepad with smartphone
WO2014025131A1 (en) Method and system for displaying graphic user interface
CN107045420A (en) Switching method and mobile terminal, the storage medium of application program
CN103576832A (en) Display control method and apparatus for power saving
CN102193714A (en) Man-machine interactive mode for data grouping management of mobile terminal
CN207532765U (en) Game handle used in mobile phone
CN105983229A (en) Electronic go game board and gaming method independently allowing human-machine or online go game
CN103337151A (en) System for controlling household appliance by utilizing mobile phone
CN103942002A (en) Method and device for controlling virtual mouse based on mobile terminal
CN103480151A (en) Method and system of simulating car race game steering wheel by using smartphone
CN107526506A (en) A kind of control method of player, control device and mobile terminal
CN106919060A (en) The smart home product ergonomics interactive interface that circular bubble shows
CN102880339A (en) Wireless touch remote control device and operation identification method thereof
CN201698347U (en) Electronic pen and host machine
CN202282066U (en) Wireless control device for family multimedia entertainment equipment and family entertainment system
CN104468913A (en) Touch type mobile phone entity shortcut keyboard
CN104317453B (en) touch screen writing method and system
CN106445281B (en) A kind of method and system of adjustment intelligent terminal operation key position
CN103873627B (en) The LED-backlit touch keyboard of changeable operator scheme and its touch-control screen mobile phone
CN101087394A (en) Remote controller with communication function
CN204650365U (en) Notebook computer
CN108156496A (en) Adjust method, remote controler and the computer storage media of power consumption of remote control

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20091028