CN108541116A - Lamp light control method, terminal and computer readable storage medium - Google Patents

Lamp light control method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN108541116A
CN108541116A CN201810256434.6A CN201810256434A CN108541116A CN 108541116 A CN108541116 A CN 108541116A CN 201810256434 A CN201810256434 A CN 201810256434A CN 108541116 A CN108541116 A CN 108541116A
Authority
CN
China
Prior art keywords
terminal
light
user
light bar
frequency
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.)
Withdrawn
Application number
CN201810256434.6A
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810256434.6A priority Critical patent/CN108541116A/en
Publication of CN108541116A publication Critical patent/CN108541116A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of lamp light control methods, are applied in terminal, the terminal is provided with light bar, and the light bar is arranged on the position of the frame pre-determined distance apart from the terminal, and the method comprising the steps of:Detect touch action of the user to the terminal;Parse parameter preset included in touch action of the user to the terminal;And the lighting effects of the light bar are controlled according to the parameter preset.The embodiment of the invention also discloses a kind of terminal and computer readable storage mediums.Technical solution through the embodiment of the present invention, it is intended to that terminal appearance moulding can be allowed more to dazzle extremely, better light atmosphere and experience can be brought in user's operation application program simultaneously, while increasing the interaction between the application program of user's operation, enhances the expressive force of light.

Description

Lamp light control method, terminal and computer readable storage medium
Technical field
The present invention relates to a kind of field of terminal technology more particularly to lamp light control method, terminal and computer-readable storages Medium.
Background technology
User plays to when enjoying oneself to heart's content, heart is often very excited or sharp when playing game or the application programs such as listening to music It is dynamic, if terminal can be come out the emotion expression service of user by certain mode, the interactivity of user and terminal can be realized in this way, User experience is more preferable.
Invention content
It is a primary object of the present invention to propose a kind of lamp light control method and corresponding terminal, it is intended to can allow outside terminal See moulding more dazzle extremely, while can be brought in user's operation application program better light atmosphere with experience, while increase and Interaction between the application program of user's operation enhances the expressive force of light.
To achieve the above object, a kind of lamp light control method provided by the invention, is applied to terminal, and the terminal is provided with Light bar, the light bar are arranged on the position of the frame pre-determined distance apart from the terminal, and the method comprising the steps of:Detect user To the touch action of the terminal;Parse parameter preset included in touch action of the user to the terminal;And root The lighting effects of the light bar are controlled according to the parameter preset.
Preferably, before the step of detecting user is to the touch action of the terminal, the method further includes step Suddenly:The application program that detecting user currently opens;Judge whether the type of the application program is preset kind;And it is answered when described When with the type of program being preset kind, touch action of the detecting user to the terminal.
Preferably, the pressure that the parameter preset includes at least the touching frequency of terminal screen and terminal screen is subject to is strong Degree.
Preferably, the step of lighting effects that the light bar is controlled according to the parameter preset, including:According to described The intensity of pressure that the touching frequency and terminal screen of terminal screen are subject to controls the light color variation of the light bar and the lamp The frequency of light color variation.
Preferably, the step of lighting effects that the light bar is controlled according to the parameter preset further include:When described The touching frequency of terminal screen is faster, and the intensity of pressure that the terminal screen is subject to is bigger, and the light color of the light bar becomes The frequency for changing the abundanter and described light color variation is faster.
In addition, to achieve the above object, the present invention also proposes a kind of terminal, which is characterized in that the terminal includes:Storage Device, processor and it is stored in the signal light control program that can be run on the memory and on the processor, the terminal is also It is provided with light bar, the light bar is arranged on the position of the frame pre-determined distance apart from the terminal, the signal light control program Following steps are realized when being executed by the processor:Detect touch action of the user to the terminal;The user is parsed to institute State parameter preset included in the touch action of terminal;And the light effect of the light bar is controlled according to the parameter preset.
Preferably, before the step of detecting user is to the touch action of the terminal, the signal light control program Step is also realized when being executed by the processor:The application program that detecting user currently opens;Judge the class of the application program Whether type is preset kind;And when the type of the application program is preset kind, touching of the detecting user to the terminal Action.
Preferably, the pressure that the parameter preset includes at least the touching frequency of terminal screen and terminal screen is subject to is strong Degree.
Preferably, it is described that institute is controlled according to the parameter preset when signal light control program is executed by the processor The step of stating the lighting effects of light bar, including:The pressure being subject to according to the touching frequency and terminal screen of the terminal screen is strong Degree controls the frequency of light color variation and the light color variation of the light bar.
Further, to achieve the above object, the present invention also provides a kind of computer readable storage medium, the computers It is stored with signal light control program on readable storage medium storing program for executing, is realized as above-mentioned when the signal light control program is executed by the processor Lamp light control method the step of.
Lamp light control method, terminal and computer readable storage medium proposed by the present invention, it is intended to can allow terminal appearance Moulding is more dazzled extremely, while better light atmosphere and experience can be brought in user's operation application program, while being increased and being used Interaction between the application program of family operation, enhances the expressive force of light.
Description of the drawings
The hardware architecture diagram of Fig. 1 terminals of each embodiment to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of terminal as shown in Figure 1;
Fig. 3 is a kind of flow chart for lamp light control method that first embodiment of the invention proposes;
Fig. 4 is a kind of flow chart for lamp light control method that second embodiment of the invention proposes;
Fig. 5 is a kind of module diagram for terminal that third embodiment of the invention proposes.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only The explanation for being conducive to the present invention, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, tablet Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. are eventually End, and the fixed terminals such as number TV, desktop computer.
It will be illustrated by taking terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to being used in particular for Except the element of mobile purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its terminal of each embodiment to realize the present invention, the terminal 100 may include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, storage The components such as device 109, processor 110 and power supply 111.It will be understood by those skilled in the art that terminal structure shown in Fig. 1 The not restriction of structure paired terminal, terminal may include than illustrating more or fewer components, either combine certain components or Different component arrangements.
The all parts of terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by radio communication.Above-mentioned wireless communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronics postal by WiFi module 102 Part, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 is shown WiFi module 102, but it is understood that, and it is not belonging to must be configured into for terminal, it can not change as needed completely Become in the range of the essence of invention and omits.
Audio output unit 103 can be in call signal reception pattern, call mode, logging mode, language in terminal 100 It is that radio frequency unit 101 or WiFi module 102 are received or depositing when under the isotypes such as sound recognition mode, broadcast reception mode The audio data stored in reservoir 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 may be used also To provide the relevant audio output of specific function executed with terminal 100 (for example, call signal receives sound, message sink sound Sound etc.).Audio output unit 103 may include loud speaker, buzzer etc..
A/V input units 104 are for receiving audio or video signal.A/V input units 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjusts the brightness of display panel 1061, and proximity sensor can close display panel when terminal 100 is moved in one's ear 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone Configurable fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, temperature The other sensors such as meter, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generates and set with the user of terminal It sets and the related key signals of function control inputs.Specifically, user input unit 107 may include touch panel 1071 and its His input equipment 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation (are compared Such as user is using finger, stylus any suitable object or attachment on touch panel 1071 or near touch panel 1071 Operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detecting apparatus With two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect what touch operation was brought Signal transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and it is converted At contact coordinate, then processor 110 is given, and order that processor 110 is sent can be received and executed.Furthermore, it is possible to adopt Touch panel 1071 is realized with multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc. It is one or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be to realize the function that outputs and inputs of terminal as two independent components, but in some embodiments it is possible to will Touch panel 1071 is integrated with display panel 1061 and realizes the function that outputs and inputs of terminal, does not limit herein specifically.
Interface unit 108 be used as at least one external device (ED) connect with terminal 100 can by interface.For example, external Device may include wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless number According to port, memory card port, the port for connecting the device with identification module, the port audio input/output (I/O), regard The ports frequency I/O, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, data are believed Breath, electric power etc.) and by one or more elements that the input received is transferred in terminal 100 or can be used at end Transmission data between end 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to It crosses operation or executes the software program and/or module being stored in memory 109, and call and be stored in memory 109 Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 110 may include one Or multiple processing units;Preferably, processor 110 can integrate application processor and modem processor, wherein application processing The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage Solution, above-mentioned modem processor can not also be integrated into processor 110.
Terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 can be with It is logically contiguous by power-supply management system and processor 110, to by power-supply management system realize management charging, electric discharge, with And the functions such as power managed.
Although Fig. 1 is not shown, terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system being based below to the terminal of the present invention are retouched It states.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes communicating UE (User Equipment, the use of connection successively Family equipment) (the lands Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and some are preserved in relation to use such as service features, data rates The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., it does not limit herein.
Based on above-mentioned terminal hardware structure and communications network system, each embodiment of the method for the present invention is proposed.
A kind of lamp light control method proposed by the present invention is applied in terminal, real for touching frequency by terminal screen The method of the signal light control of existing terminal, it is intended to terminal appearance moulding can be allowed more to dazzle extremely, while can be in user's operation application journey Better light atmosphere and experience are brought when sequence, while increasing the interaction between the application program of user's operation, allow light Expressive force is more preferable.
Embodiment one
As shown in figure 3, first embodiment of the invention proposes a kind of lamp light control method, it is applied in terminal 100, the end End 100 is provided with light bar, and the light bar is the light bar that the combination for the array of lamp for surrounding the setting of 100 frame of terminal is constituted, The light bar is arranged on the position of the frame pre-determined distance apart from the terminal 100, for example, the light bar is arranged on distance 2 centimeters of frame of the terminal 100, around terminal 100 frame one circle.Certainly, the specific installation position of light bar is by exploit person Member is set as needed, however it is not limited to the setting method of the present embodiment.
The lamp light control method includes the following steps:
Step S300, touch action of the detecting user to the terminal 100.
In the present embodiment, terminal 100 can detect user to the end by sensor 105 (for example, pressure sensor) The touch action at end 100.
Step S302 parses parameter preset included in touch action of the user to the terminal 100.
Specifically, the pressure that the parameter preset includes at least the touching frequency of terminal screen and terminal screen is subject to is strong Degree.Certainly, other parameter presets can also be arranged in developer as needed.What terminal 100 was received by parsing sensor 105 The intensity of pressure that data can obtain the touching frequency of terminal screen and terminal screen is subject to.
Step S304 controls the lighting effects of the light bar according to the parameter preset.
Specifically, the lighting effects include the color and change frequency of the light.Terminal 100 is according to the end panel The intensity of pressure that the touching frequency and terminal screen of curtain are subject to controls the light color variation of the light bar and the light color The frequency of variation.
For example, the touching frequency when the terminal screen is faster, and the intensity of pressure that the terminal screen is subject to is bigger, table Show that the state of active user is fiercer, at this point, the light color variation of the light bar is abundanter, as horse race lamp, the lamp The frequency of light color variation is faster.Conversely, the touching frequency when the terminal screen is slower, and the pressure that the terminal screen is subject to When power intensity is lighter, indicate that the state of active user is gentle, at this point, the light color variation of the light bar is more soft, as exhaling The general illusion gracefulness of lamp is inhaled, the frequency of the light color variation is slower.In this way, in the present embodiment, the strong and weak color of light with The bounce of finger tip on the screen therewith to change, it is interactive extremely strong.
In the above manner, touching of the user only by finger to the screen of terminal 100, so that it may to control the effect of light Fruit, increases the interaction of user and terminal 100, greatly enhances the playability of terminal Lighting Design.
The lamp light control method that the present embodiment proposes, for touching the signal light control that frequency realizes terminal by terminal screen Method, it is intended to terminal appearance moulding can be allowed more to dazzle extremely, while better lamp can be brought in user's operation application program Light atmosphere and experience, while increasing the interaction between the application program of user's operation, make the expressive force of light more preferable.
Embodiment two
As shown in figure 4, second embodiment of the invention proposes a kind of lamp light control method, it is applied in terminal 100, the end End 100 is provided with light bar, and the light bar is the light bar that the combination for the array of lamp for surrounding the setting of 100 frame of terminal is constituted, The light bar is arranged on the position of the frame pre-determined distance apart from the terminal 100, for example, the light bar is arranged on distance 2 centimeters of frame of the terminal 100, around terminal 100 frame one circle.Certainly, the specific installation position of light bar is by exploit person Member is set as needed, however it is not limited to the setting method of the present embodiment.
Compared to first embodiment, the present embodiment is, lamp light control method of the invention can be applied to specifically answer With in program, for example, game or music etc., to increase the interaction between terminal light and application program, can allow user to exist Better light atmosphere and experience are brought when operating application program.
Therefore, the lamp light control method is further comprising the steps of:
Step S400, the application program that detecting user currently opens, and judge whether the type of the application program is pre- If type.
Wherein, the preset kind of the application program includes but not limited to play, music etc..
Step S402, when the type of the application program is preset kind, touching of the detecting user to the terminal 100 Action.
In the present embodiment, terminal 100 can detect user to the end by sensor 105 (for example, pressure sensor) The touch action at end 100.
Step S404 parses parameter preset included in touch action of the user to the terminal 100.
Specifically, the parameter preset is set according to application program, for example, when application program is game, it is described The intensity of pressure that parameter preset includes at least the touching frequency of terminal screen and terminal screen is subject to.Certainly, developer according to It needs that other parameter presets can also be arranged.The data that terminal 100 is received by parsing sensor 105 (pressure sensor) The intensity of pressure that the touching frequency and terminal screen of acquisition terminal screen are subject to.
In addition, when application program is music, the parameter preset includes at least the ginsengs such as intensity of sound and the pitch of music Number.Terminal 100 by parse sensor 105 (sound transducer) receive data can obtain terminal screen touching frequency and The intensity of pressure that terminal screen is subject to.
In embodiment below, for convenience of explanation, the preset kind of application program is illustrated for playing.
Step S406 controls the lighting effects of the light bar according to the parameter preset.
In the present embodiment, the lighting effects include the color and change frequency of the light.For example, when user plays, Terminal 100 controls the light face of the light bar according to the intensity of pressure that the touching frequency and terminal screen of the terminal screen are subject to The frequency of color change and light color variation.
For example, the touching frequency when the terminal screen is faster, and the intensity of pressure that the terminal screen is subject to is bigger, table Show that the game state of active user is fiercer, at this point, the light color variation of the light bar is abundanter, as horse race lamp, institute The frequency for stating light color variation is faster.Conversely, when the terminal screen touching frequency it is slower, and the terminal screen by The intensity of pressure it is lighter when, indicate that the game state of active user is gentle, at this point, the light bar light color variation it is more soft With illusion is graceful as breath light, and the frequency of the light color variation is slower.
In the above manner, light bar is arranged in terminal 100, terminal appearance is allowed more to dazzle extremely, meanwhile, user is only by finger Touching to the screen of terminal 100, so that it may to control the effect of light, increase the interaction of user and terminal 100, greatly increase The strong playability of terminal Lighting Design.
The present invention further provides a kind of terminal, the terminal includes memory, processor and lamp light control system.It is described Terminal also sets up light bar, and terminal appearance is allowed more to dazzle extremely, meanwhile, the lamp light control system realizes, only by user hand Refer to the touching to the screen of terminal, so that it may to control the effect of light, increase the interaction of user and terminal, greatly enhance The playability of terminal Lighting Design.
Embodiment three
As shown in figure 5, third embodiment of the invention proposes a kind of terminal 100.The terminal 100 includes memory 109, place Manage device 110, lamp light control system 50 and at least one sensor 105.
In the present embodiment, the lamp light control system 50 includes:
Detecting module 500, the touch action for detecting user to the terminal 100.
In the present embodiment, detecting module 500 can be detectd by the data that sensor 105 (for example, pressure sensor) uploads Survey touch action of the user to the terminal 100.
Parsing module 502 presets ginseng for parsing included in touch action of the user to the terminal 100 Number.
Specifically, the pressure that the parameter preset includes at least the touching frequency of terminal screen and terminal screen is subject to is strong Degree.Certainly, other parameter presets can also be arranged in developer as needed.Parsing module 502 is by parsing detecting module 500 The intensity of pressure that the data of reception can obtain the touching frequency of terminal screen and terminal screen is subject to.
Control module 504, the lighting effects for controlling the light bar according to the parameter preset.
Specifically, the lighting effects include the color and change frequency of the light.Control module 504 is according to parsing mould The intensity of pressure that the touching frequency and terminal screen for the terminal screen that block 502 parses are subject to controls the light face of the light bar The frequency of color change and light color variation.
For example, the touching frequency when the terminal screen is faster, and the intensity of pressure that the terminal screen is subject to is bigger, table Show that the state of active user is fiercer, at this point, the light color variation that control module 504 controls the light bar is abundanter, as running Barn lantern is general, and the frequency for controlling the light color variation is faster.Conversely, the touching frequency when the terminal screen is slower, and When the intensity of pressure that the terminal screen is subject to is lighter, indicate that the state of active user is gentle, at this point, control module 504 controls The light color variation of the light bar is more soft, and illusion is graceful as breath light, and the frequency of the light color variation is got over Slowly.In this way, in the present embodiment, the strong and weak color of light changes therewith with the bounce of finger tip on the screen, interactive extremely strong.
In the above manner, touching of the user only by finger to the screen of terminal 100, so that it may to control the effect of light Fruit, increases the interaction of user and terminal 100, greatly enhances the playability of terminal Lighting Design.
Further, lamp light control system of the invention can be also used in specific application program, for example, game or Music etc. can allow user to be brought when operating application program more preferably to increase the interaction between terminal light and application program Light atmosphere with experience.
Therefore, the detecting module 500 is additionally operable to before detecting user is to the touch action of the terminal, and detecting is used The application program that family is currently opened, and judge whether the type of the application program is preset kind.
Wherein, the preset kind of the application program includes but not limited to play, music etc..
When the type of the application program is preset kind, the detecting module 500 detects user to the terminal Touch action.
In this way, better light atmosphere and experience can be brought when user plays and plays, and it is interactive between light and game, make The expressive force for obtaining light is more preferable.
The lamp light control system that the present embodiment proposes, for touching the light control that frequency realizes terminal by terminal screen System, it is intended to terminal appearance moulding can be allowed more to dazzle extremely, while better light atmosphere can be brought in user's operation application program It encloses and experiences, while increasing the interaction between the application program of user's operation, make the expressive force of light more preferable.
Further, to achieve the above object, the present invention also provides a kind of computer readable storage medium, the computers It is stored with signal light control program on readable storage medium storing program for executing, is realized as above-mentioned when the signal light control program is executed by the processor Lamp light control method the step of.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of lamp light control method is applied in terminal, which is characterized in that the terminal is provided with light bar, the light bar quilt It is arranged in the position of the frame pre-determined distance apart from the terminal, the method comprising the steps of:
Detect touch action of the user to the terminal;
Parse parameter preset included in touch action of the user to the terminal;And
The lighting effects of the light bar are controlled according to the parameter preset.
2. lamp light control method according to claim 1, which is characterized in that touched to the terminal in the detecting user Before the step of touching action, the method further includes step:
The application program that detecting user currently opens;
Judge whether the type of the application program is preset kind;And
When the type of the application program is preset kind, touch action of the detecting user to the terminal.
3. lamp light control method according to claim 1, which is characterized in that the parameter preset includes at least terminal screen Touching frequency and the intensity of pressure that is subject to of terminal screen.
4. lamp light control method according to claim 3, which is characterized in that described according to described in parameter preset control The step of lighting effects of light bar, including:
The intensity of pressure being subject to according to the touching frequency and terminal screen of the terminal screen controls the light color of the light bar The frequency of variation and light color variation.
5. lamp light control method according to claim 4, which is characterized in that described according to described in parameter preset control The step of lighting effects of light bar, further include:
When the touching frequency of the terminal screen is faster, and the intensity of pressure that the terminal screen is subject to is bigger, the light bar The frequency that light color changes the abundanter and described light color variation is faster.
6. a kind of terminal, which is characterized in that the terminal includes:It memory, processor and is stored on the memory and can The signal light control program run on the processor, the terminal are additionally provided with light bar, and the light bar is arranged on apart from institute The position of the frame pre-determined distance of terminal is stated, the signal light control program realizes step when being executed by the processor:
Detect touch action of the user to the terminal;
Parse parameter preset included in touch action of the user to the terminal;And
The light effect of the light bar is controlled according to the parameter preset.
7. terminal according to claim 6, which is characterized in that in the detecting user to the touch action of the terminal Before step, the signal light control program also realizes step when being executed by the processor:
The application program that detecting user currently opens;
Judge whether the type of the application program is preset kind;And
When the type of the application program is preset kind, touch action of the detecting user to the terminal.
8. terminal according to claim 6, which is characterized in that the parameter preset includes at least the touching frequency of terminal screen The intensity of pressure that rate and terminal screen are subject to.
9. terminal according to claim 8, which is characterized in that when the signal light control program is executed by the processor, The step of lighting effects that the light bar is controlled according to the parameter preset, including:
The intensity of pressure being subject to according to the touching frequency and terminal screen of the terminal screen controls the light color of the light bar The frequency of variation and light color variation.
10. a kind of computer readable storage medium, which is characterized in that be stored with light control on the computer readable storage medium Processing procedure sequence realizes the light as described in any one of claim 1-5 when the signal light control program is executed by the processor The step of control method.
CN201810256434.6A 2018-03-27 2018-03-27 Lamp light control method, terminal and computer readable storage medium Withdrawn CN108541116A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810256434.6A CN108541116A (en) 2018-03-27 2018-03-27 Lamp light control method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810256434.6A CN108541116A (en) 2018-03-27 2018-03-27 Lamp light control method, terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108541116A true CN108541116A (en) 2018-09-14

Family

ID=63485184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810256434.6A Withdrawn CN108541116A (en) 2018-03-27 2018-03-27 Lamp light control method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108541116A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110399066A (en) * 2019-07-31 2019-11-01 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN111132421A (en) * 2018-10-11 2020-05-08 上海博泰悦臻电子设备制造有限公司 Voice light control method, terminal and vehicle
CN114401574A (en) * 2021-12-02 2022-04-26 北京小米移动软件有限公司 Light emission control method and system, display device, and readable storage medium
CN116455522A (en) * 2023-06-13 2023-07-18 良业科技集团股份有限公司 Method and system for transmitting lamplight interaction control information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090179587A1 (en) * 2006-04-11 2009-07-16 Koninklijke Philips Electronics N.V. Method for dimming a light generatng system for generating light with a variable color
CN102118896A (en) * 2009-12-30 2011-07-06 乐金电子(中国)研究开发中心有限公司 LED (light-emitting diode) light control method, device and mobile terminal based on touch screen
CN105827939A (en) * 2015-09-24 2016-08-03 维沃移动通信有限公司 Method for controlling flash lamp and electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090179587A1 (en) * 2006-04-11 2009-07-16 Koninklijke Philips Electronics N.V. Method for dimming a light generatng system for generating light with a variable color
CN102118896A (en) * 2009-12-30 2011-07-06 乐金电子(中国)研究开发中心有限公司 LED (light-emitting diode) light control method, device and mobile terminal based on touch screen
CN105827939A (en) * 2015-09-24 2016-08-03 维沃移动通信有限公司 Method for controlling flash lamp and electronic device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111132421A (en) * 2018-10-11 2020-05-08 上海博泰悦臻电子设备制造有限公司 Voice light control method, terminal and vehicle
CN110399066A (en) * 2019-07-31 2019-11-01 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN114401574A (en) * 2021-12-02 2022-04-26 北京小米移动软件有限公司 Light emission control method and system, display device, and readable storage medium
CN114401574B (en) * 2021-12-02 2024-01-09 北京小米移动软件有限公司 Light emission control method and system, display device, and readable storage medium
CN116455522A (en) * 2023-06-13 2023-07-18 良业科技集团股份有限公司 Method and system for transmitting lamplight interaction control information
CN116455522B (en) * 2023-06-13 2023-08-29 良业科技集团股份有限公司 Method and system for transmitting lamplight interaction control information

Similar Documents

Publication Publication Date Title
CN108594991A (en) A kind of method, apparatus and computer storage media that help user to adjust mood
CN108769784A (en) screen recording method, mobile terminal and storage medium
CN107147928A (en) Play method, terminal and the computer-readable recording medium of video
CN107797737A (en) The method, apparatus and computer-readable recording medium that picture is edited again
CN108391190B (en) A kind of noise-reduction method, earphone and computer readable storage medium
CN108540358A (en) Control method, mobile terminal and the computer readable storage medium of household appliance
CN107682547A (en) A kind of voice messaging regulation and control method, equipment and computer-readable recording medium
CN108418948A (en) A kind of based reminding method, mobile terminal and computer storage media
CN108541116A (en) Lamp light control method, terminal and computer readable storage medium
CN107181700A (en) Control method, mobile terminal and the storage medium of application program for mobile terminal
CN107463243A (en) A kind of screen control method, mobile terminal and computer-readable recording medium
CN108710786A (en) A kind of method of Anti-addiction, equipment and computer readable storage medium
CN107844230A (en) A kind of advertisement page method of adjustment, mobile terminal and computer-readable recording medium
CN108762631A (en) A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN108459806A (en) terminal control method, terminal and computer readable storage medium
CN108322609A (en) A kind of notification information regulation and control method, equipment and computer readable storage medium
CN108093117A (en) A kind of dual-screen mobile terminal control method and dual-screen mobile terminal
CN108196777A (en) A kind of flexible screen application process, equipment and computer readable storage medium
CN109276881A (en) A kind of game control method, equipment
CN108650399A (en) A kind of volume adjusting method, mobile terminal and computer readable storage medium
CN108958625A (en) A kind of screen interaction regulation method, equipment and computer readable storage medium
CN108536383A (en) A kind of game control method, equipment and computer readable storage medium
CN110052023A (en) Game control method, mobile terminal and computer readable storage medium
CN110064196A (en) Method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN109558009A (en) Video broadcasting method, mobile terminal and computer readable storage medium

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20180914

WW01 Invention patent application withdrawn after publication