CN110012577A - A kind of light adjusting method and mobile terminal - Google Patents

A kind of light adjusting method and mobile terminal Download PDF

Info

Publication number
CN110012577A
CN110012577A CN201910130404.5A CN201910130404A CN110012577A CN 110012577 A CN110012577 A CN 110012577A CN 201910130404 A CN201910130404 A CN 201910130404A CN 110012577 A CN110012577 A CN 110012577A
Authority
CN
China
Prior art keywords
equipment
user
distance
mode
mobile terminal
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
CN201910130404.5A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910130404.5A priority Critical patent/CN110012577A/en
Publication of CN110012577A publication Critical patent/CN110012577A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • 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
    • H05B47/105Controlling the light source in response to determined parameters
    • 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
    • H05B47/175Controlling the light source by remote control
    • H05B47/19Controlling the light source by remote control via wireless transmission
    • 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)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The present invention provides a kind of light adjusting method and mobile terminals, which comprises in the case where detecting user at a distance from the first equipment less than the first pre-determined distance;Or in the case where detecting user at a distance from the second equipment less than the first pre-determined distance, determine the operating status of the first equipment, wherein mobile terminal is communicated to connect with the first equipment and the second equipment respectively, wherein, the first equipment is at a distance from the second equipment room less than the second pre-determined distance;Determine the corresponding lamp light mode of operating status;The light of the second equipment is adjusted according to lamp light mode.It can be realized and connect light with the first equipment, by the different working modes of the first equipment, intelligence is automatically adjusted the lamp light mode of the second equipment, user is without being manually adjusted the light of the second equipment, it is convenient for the user to use, and easy to operate, promotes the usage experience of user.

Description

A kind of light adjusting method and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of adjusting of light and mobile terminal.
Background technique
As smart home device is more more and more universal, people's lives mode is more and more intelligent, the illumination for light The demand of mode is also more and more humanized.
People can generate different lighting needs, such as working condition, meal in the state of difference in the home life Drink state, resting state, deep sleep etc., user is under Different activity states, and the demand to light also can be It is different.
At present user for light can only be operated with manual switches adjusting, for example, Administrative Area handle official business, need first one by one It turns on light, then opens computer, when the lamplight brightness of Administrative Area is improper, user is needed to manually adjust one by one, it is cumbersome.
Summary of the invention
The embodiment of the present invention provides a kind of light adjusting method and mobile terminal, and to solve to adjust, light manipulation is cumbersome to be asked Topic.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of light adjusting methods, which comprises
In the case where detecting user at a distance from the first equipment less than the first pre-determined distance;Or detect user and the In the case that the distance of two equipment is less than the first pre-determined distance, the operating status of first equipment is determined, wherein the movement Terminal is communicated to connect with first equipment and second equipment respectively, first equipment and second equipment room away from From less than the second pre-determined distance;Determine the corresponding lamp light mode of the operating status;According to the lamp light mode to described second The light of equipment is adjusted.
Second aspect, the embodiment of the invention also provides a kind of mobile terminal, the mobile terminal includes: the first determining mould Block, in the case where detecting user at a distance from the first equipment less than the first pre-determined distance;Or detect user and the In the case that the distance of two equipment is less than the first pre-determined distance, the operating status of first equipment is determined, wherein the movement Terminal is communicated to connect with first equipment and second equipment respectively, first equipment and second equipment room away from From less than the second pre-determined distance;Second determining module, for determining the corresponding lamp light mode of the operating status;Adjustment module, For being adjusted according to light of the lamp light mode to second equipment.
The third aspect the embodiment of the invention also provides a kind of mobile terminal, including processor, memory and is stored in institute The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor The step of realizing the light adjusting method.
Fourth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium Computer program is stored on storage media, and the step of the light adjusting method is realized when the computer program is executed by processor Suddenly.
In embodiments of the present invention, detect user at a distance from the first equipment less than the feelings of the first pre-determined distance by working as Under condition;Or in the case where detecting user at a distance from the second equipment less than the first pre-determined distance, determine the operation of the first equipment State, wherein mobile terminal is communicated to connect with the first equipment and the second equipment respectively;According to lamp light mode to the lamp of the second equipment Light is adjusted, and can be realized and connect light with the first equipment, and by the different working modes of the first equipment, intelligence is automatic right The lamp light mode of second equipment is adjusted, and user facilitates making for user it is not necessary that the light of the second equipment is adjusted manually With, and it is easy to operate, promote the usage experience of user.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of light adjusting method of the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart of light adjusting method of the embodiment of the present invention two;
Fig. 3 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention three;
Fig. 4 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention four;
Fig. 5 is a kind of hardware structural diagram of mobile terminal of the embodiment of the present invention five.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Referring to Fig.1, a kind of step flow chart of light adjusting method of the embodiment of the present invention one is shown.
Light adjusting method provided in an embodiment of the present invention the following steps are included:
Step 101: in the case where detecting user at a distance from the first equipment less than the first pre-determined distance;Or it detects User at a distance from the second equipment less than the first pre-determined distance in the case where, determine the operating status of the first equipment.
Wherein, mobile terminal is communicated to connect with the first equipment and the second equipment respectively, the first equipment and the second equipment room Distance is less than the second pre-determined distance.
First equipment can be computer, TV, tablet computer etc., and the second equipment can be the lamp with communication connection function Tool, the present invention is not especially limit this.
Mobile terminal is communicated to connect with the first equipment and the second equipment respectively, connection type can for by wifi connection, Data connection and bluetooth connection etc..
It should be noted that those skilled in the art can according to the actual situation it is default to the first pre-determined distance or second away from From being configured, 1m, 2m, 3m etc. can be set to, the embodiment of the present invention is not specifically limited this.
First equipment and the second equipment are in the second pre-determined distance, such as the second equipment is in the top of the first equipment, and One equipment and the second equipment are in the same space.
Step 102: mobile terminal determines the corresponding lamp light mode of operating status.
Since the first equipment is connect with communication of mobile terminal, then mobile terminal can detecte the operation shape to the first equipment State, wherein operating status can be in working condition, dormant state etc..
Wherein, different operating statuses corresponds to different lamp light modes, such as: when working condition the light of lamp light mode compared with Bright, in the dormant state, the light of lamp light mode is weaker.
Step 103: mobile terminal is adjusted the light of the second equipment according to lamp light mode.
Mobile terminal is automatically adjusted the light of the second equipment according to lamp light mode, without user again manually to second The light of equipment is adjusted.
In embodiments of the present invention, detect user at a distance from the first equipment less than the feelings of the first pre-determined distance by working as Under condition;Or in the case where detecting user at a distance from the second equipment less than the first pre-determined distance, determine the operation of the first equipment State, wherein mobile terminal is communicated to connect with the first equipment and the second equipment respectively;According to lamp light mode to the lamp of the second equipment Light is adjusted, and can be realized and connect light with the first equipment, and by the different working modes of the first equipment, intelligence is automatic right The lamp light mode of second equipment is adjusted, and user facilitates making for user it is not necessary that the light of the second equipment is adjusted manually With, and it is easy to operate, promote the usage experience of user.
Embodiment two
Referring to Fig. 2, a kind of step flow chart of light adjusting method of the embodiment of the present invention two is shown.
Light adjusting method provided in an embodiment of the present invention the following steps are included:
Step 201: when mobile terminal detects that the second equipment receives the first touch control operation, determining that user sets second In the first standby pre-determined distance.
Wherein, the second equipment receives the first touch control operation of user.
When user carries out the first touch-control to the second equipment, for example, user to the touch control operation of the second opening of device light, Or close the touch control operation of light, the brightness for adjusting light touch control operation when, show user second first it is default away from From interior.
It should be noted that those skilled in the art can according to the actual situation be configured the first pre-determined distance, In, the first pre-determined distance can be set to 1m, 2m, 3m etc., and the embodiment of the present invention is not specifically limited this.
When detecting that the first equipment receives the second touch control operation, determine user in the first pre-determined distance of the first equipment It is interior, wherein the second touch control operation of the first equipment reception user.
When user carries out the second touch-control to the first equipment, for example, user carries out clicking operation to the first equipment, to first Equipment carries out mouse moving operation, carries out zapping operation to the first equipment, to the first equipment progress volume increase and decrease operation etc..
Step 202: in the case where detecting user at a distance from the first equipment less than the first pre-determined distance;Or it detects User at a distance from the second equipment less than the first pre-determined distance in the case where, determine the operating status of the first equipment.
Wherein, mobile terminal is communicated to connect with the first equipment and the second equipment respectively, the first equipment and the second equipment room Distance is less than the second pre-determined distance.
It should be noted that those skilled in the art can according to the actual situation be configured the second pre-determined distance, it can To be set as 1m, 2m, 3m etc., the embodiment of the present invention is not specifically limited this.
First equipment can be computer, TV, tablet computer etc., and the second equipment can be the lamp with communication connection function Tool, the present invention is not especially limit this.
Mobile terminal is communicated to connect with the first equipment and the second equipment respectively, connection type can for by wifi connection, Data connection and bluetooth connection etc..
When mobile terminal detects at a distance from the first equipment and/or the second equipment less than the first pre-determined distance the case where Under, determine the operating status of the first equipment can be in working condition, dormant state and non-working condition etc..
Step 203: mobile terminal determines the corresponding lamp light mode of operating status.
Wherein, different operating statuses corresponds to different lamp light modes, when the operating status of the first equipment is in working condition When, then the corresponding lamp light mode of operating status is to lighten mode;When the operating status of the first equipment is dormant state, then run The corresponding lamp light mode of state is to dim mode;When the operating status of the first equipment is to play song, then operating status is corresponding Lamp light mode be entertainment mode.
Entertainment mode can show for light flash, or light color is pre-set color.
Step 204: when lamp light mode is to lighten mode, mobile terminal improves the lamplight brightness value of the second equipment to the One target brightness value.
Or when lamp light mode is to dim mode, the lamplight brightness value of the second equipment is reduced to the second target brightness value; Or when lamp light mode is entertainment mode, the light color of the second equipment is adjusted to target light color.Or work as light mould When formula is entertainment mode, the light flash of the second equipment is shown.
Step 205: when mobile terminal detects that user and the first equipment are more than or equal to the first pre-determined distance;And it uses In the case that family is more than or equal to the first pre-determined distance at a distance from the second equipment, after preset duration, the second equipment is closed.
It should be noted that those skilled in the art can according to the actual situation be configured preset duration, wherein pre- If duration can be 10s, 20s, 30s etc., the embodiment of the present invention is not specifically limited this.
In embodiments of the present invention, detect user at a distance from the first equipment less than the feelings of the first pre-determined distance by working as Under condition;Or in the case where detecting user at a distance from the second equipment less than the first pre-determined distance, determine the operation of the first equipment State, wherein mobile terminal is communicated to connect with the first equipment and the second equipment respectively;According to lamp light mode to the lamp of the second equipment Light is adjusted, and can be realized and connect light with the first equipment, and by the different working modes of the first equipment, intelligence is automatic right The lamp light mode of second equipment is adjusted, and user facilitates making for user it is not necessary that the light of the second equipment is adjusted manually With, and it is easy to operate, promote the usage experience of user.
Embodiment three
Referring to Fig. 3, the structural block diagram of mobile terminal provided in an embodiment of the present invention is shown.
Mobile terminal provided in an embodiment of the present invention includes: the first determining module 301, detects user and first for working as In the case that the distance of equipment is less than the first pre-determined distance;Or detect user at a distance from the second equipment it is default less than first away from From in the case where, determine the operating status of first equipment, wherein the mobile terminal respectively with first equipment and institute The communication connection of the second equipment is stated, first equipment is at a distance from second equipment room less than the second pre-determined distance;Second really Cover half block 302, for determining the corresponding lamp light mode of the operating status;Adjustment module 303, for according to the lamp light mode The light of second equipment is adjusted.
First equipment can be computer, TV, tablet computer etc., and the second equipment can be the lamp with communication connection function Tool, the present invention is not especially limit this.Mobile terminal is communicated to connect with the first equipment and the second equipment respectively, connection Mode can be to pass through wifi connection, data connection and bluetooth connection etc..It should be noted that those skilled in the art can be with The first pre-determined distance or the second pre-determined distance are configured according to the actual situation, can be set to 1m, 2m, 3m etc., the present invention Embodiment is not specifically limited this.Since the first equipment is connect with communication of mobile terminal, then the second determining module can detecte To the operating status of the first equipment, wherein operating status can be in working condition, dormant state etc..Adjustment module is according to light Mode is automatically adjusted the light of the second equipment, and the light of the second equipment is adjusted manually again without user.
In embodiments of the present invention, detect user at a distance from the first equipment less than the feelings of the first pre-determined distance by working as Under condition;Or in the case where detecting user at a distance from the second equipment less than the first pre-determined distance, determine the operation of the first equipment State, wherein mobile terminal is communicated to connect with the first equipment and the second equipment respectively;According to lamp light mode to the lamp of the second equipment Light is adjusted, and can be realized and connect light with the first equipment, and by the different working modes of the first equipment, intelligence is automatic right The lamp light mode of second equipment is adjusted, and user facilitates making for user it is not necessary that the light of the second equipment is adjusted manually With, and it is easy to operate, promote the usage experience of user.
Example IV
Referring to Fig. 4, a kind of structural block diagram of mobile terminal of the embodiment of the present invention four is shown.
Mobile terminal provided in an embodiment of the present invention includes: the first determining module 401, detects user and first for working as In the case that the distance of equipment is less than the first pre-determined distance;Or detect user at a distance from the second equipment it is default less than first away from From in the case where, determine the operating status of first equipment, wherein the mobile terminal respectively with first equipment and institute The communication connection of the second equipment is stated, first equipment is at a distance from second equipment room less than the second pre-determined distance;Second really Cover half block 402, for determining the corresponding lamp light mode of the operating status;Adjustment module 403, for according to the lamp light mode The light of second equipment is adjusted.
Preferably, the mobile terminal further include: third determining module 404, for working as in first determining module 401 In the case where detecting user at a distance from the first equipment less than the first pre-determined distance;Or detect user and the second equipment away from In the case where less than the first pre-determined distance, before the operating status for determining first equipment, when detecting that described second sets It is standby when receiving the first touch control operation, determine the user in the first pre-determined distance of second equipment, wherein described the The first touch control operation of two equipment reception user;Or the 4th determining module 405, for when detecting that first equipment receives When the second touch control operation, determine the user in the first pre-determined distance of first equipment, wherein first equipment connects Receive the second touch control operation of user.
Preferably, the adjustment module 403 includes: the first adjusting submodule 4031, for being to adjust when the lamp light mode When bright mode, the lamplight brightness value of second equipment is improved to first object brightness value;Or second adjust submodule 4032, For when the lamp light mode is to dim mode, the lamplight brightness value of second equipment to be reduced to the second object brightness Value;Or third adjusts submodule 4033, is used for when the lamp light mode is entertainment mode, by the light face of second equipment Color adjustment is target light color.
Preferably, the mobile terminal further include: closedown module 406 is used in the adjustment module 403 according to the lamp After the light of second equipment is adjusted in optical mode, when detect the user and first equipment be greater than or Equal to first pre-determined distance;And the user is more than or equal to described first at a distance from second equipment and presets In the case where distance, after preset duration, second equipment is closed.
Preferably, second determining module 402 includes: the first determining submodule 4021, for working as first equipment Operating status when being in working condition, then the corresponding lamp light mode of the operating status is to lighten mode;Second determines submodule 4022, for when the operating status of first equipment is dormant state, then the corresponding lamp light mode of the operating status to be Dim mode;Third determines submodule 4023, for when the operating status of first equipment is to play song, then the fortune The corresponding lamp light mode of row state is entertainment mode.
Mobile terminal provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 1 to Fig. 2 and realize Each process, to avoid repeating, which is not described herein again.
In embodiments of the present invention, detect user at a distance from the first equipment less than the feelings of the first pre-determined distance by working as Under condition;Or in the case where detecting user at a distance from the second equipment less than the first pre-determined distance, determine the operation of the first equipment State, wherein mobile terminal is communicated to connect with the first equipment and the second equipment respectively;According to lamp light mode to the lamp of the second equipment Light is adjusted, and can be realized and connect light with the first equipment, and by the different working modes of the first equipment, intelligence is automatic right The lamp light mode of second equipment is adjusted, and user facilitates making for user it is not necessary that the light of the second equipment is adjusted manually With, and it is easy to operate, promote the usage experience of user.
Embodiment five
Referring to Fig. 5, the hardware structural diagram of a kind of mobile terminal of each embodiment to realize the present invention.
The mobile terminal 500 includes but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, defeated Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor The components such as 510 and power supply 511.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Processor 510, in the case where detecting user at a distance from the first equipment less than the first pre-determined distance;Or In the case where detecting user at a distance from the second equipment less than the first pre-determined distance, the operation shape of first equipment is determined State, wherein the mobile terminal is communicated to connect with first equipment and second equipment respectively, first equipment and institute The distance of the second equipment room is stated less than the second pre-determined distance;Determine the corresponding lamp light mode of the operating status;According to the lamp The light of second equipment is adjusted in optical mode.
In embodiments of the present invention, detect user at a distance from the first equipment less than the feelings of the first pre-determined distance by working as Under condition;Or in the case where detecting user at a distance from the second equipment less than the first pre-determined distance, determine the operation of the first equipment State, wherein mobile terminal is communicated to connect with the first equipment and the second equipment respectively;According to lamp light mode to the lamp of the second equipment Light is adjusted, and can be realized and connect light with the first equipment, and by the different working modes of the first equipment, intelligence is automatic right The lamp light mode of second equipment is adjusted, and user facilitates making for user it is not necessary that the light of the second equipment is adjusted manually With, and it is easy to operate, promote the usage experience of user.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 500 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor (Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where telephone calling model.
Mobile terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear Display panel 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 5071 or in touch panel 5071 Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments 5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching The type for touching event provides corresponding visual output on display panel 5061.Although in Fig. 5, touch panel 5071 and display Panel 5061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 500 or can be used in 500 He of mobile terminal Data are transmitted between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it 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 510 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storage Data in device 509 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511 Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, and memory 509 is stored in On memory 509 and the computer program that can run on the processor 510, the computer program are executed by processor 510 Each process of the above-mentioned light adjusting method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned light adjusting method embodiment, and energy when being executed by processor Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include 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 being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a 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 to 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 belongs within protection of the invention.

Claims (11)

1. a kind of light adjusting method is applied to mobile terminal, which is characterized in that the described method includes:
In the case where detecting user at a distance from the first equipment less than the first pre-determined distance;
Or in the case where detecting user at a distance from the second equipment less than the first pre-determined distance, determine the fortune of first equipment Row state, wherein the mobile terminal is communicated to connect with first equipment and second equipment respectively, first equipment Less than the second pre-determined distance at a distance from second equipment room;
Determine the corresponding lamp light mode of the operating status;
It is adjusted according to light of the lamp light mode to second equipment.
2. the method according to claim 1, wherein ought detect that user is small at a distance from the first equipment described In the case where the first pre-determined distance;Or in the case where detecting user at a distance from the second equipment less than the first pre-determined distance, Before the step of determining the operating status of first equipment, the method also includes:
When detecting that second equipment receives the first touch control operation, determine the user the first of second equipment In pre-determined distance, wherein second equipment receives the first touch control operation of user;
Or
When detecting that first equipment receives the second touch control operation, determine the user the first of first equipment In pre-determined distance, wherein first equipment receives the second touch control operation of user.
3. the method according to claim 1, wherein it is described according to the lamp light mode to second equipment The step of light is adjusted, comprising:
When the lamp light mode is to lighten mode, the lamplight brightness value of second equipment is improved to first object brightness Value;
Or
When the lamp light mode is to dim mode, the lamplight brightness value of second equipment is reduced to the second object brightness Value;
Or
When the lamp light mode is entertainment mode, the light color of second equipment is adjusted to target light color.
4. the method according to claim 1, wherein it is described according to the lamp light mode to second equipment Light the step of being adjusted after, the method also includes:
When detecting that the user and first equipment is more than or equal to first pre-determined distance;
And in the case that the user is more than or equal to first pre-determined distance at a distance from second equipment, pre- If after duration, closing second equipment.
5. the method according to claim 1, wherein the step of the corresponding lamp light mode of the determining operating status Suddenly, comprising:
When the operating status of first equipment is in working condition, then the corresponding lamp light mode of the operating status is to lighten mould Formula;
When the operating status of first equipment is dormant state, then the corresponding lamp light mode of the operating status is to dim mould Formula;
When the operating status of first equipment is to play song, then the corresponding lamp light mode of the operating status is amusement mould Formula.
6. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
First determining module, in the case where detecting user at a distance from the first equipment less than the first pre-determined distance;Or In the case where detecting user at a distance from the second equipment less than the first pre-determined distance, the operation shape of first equipment is determined State, wherein the mobile terminal is communicated to connect with first equipment and second equipment respectively, first equipment and institute The distance of the second equipment room is stated less than the second pre-determined distance;
Second determining module, for determining the corresponding lamp light mode of the operating status;
Adjustment module, for being adjusted according to light of the lamp light mode to second equipment.
7. mobile terminal according to claim 6, which is characterized in that the mobile terminal further include:
Third determining module detects that user is pre- less than first at a distance from the first equipment for working as in first determining module If in the case where distance;Or in the case where detecting user at a distance from the second equipment less than the first pre-determined distance, described in determination Before the operating status of first equipment, when detecting that second equipment receives the first touch control operation, the user is determined In the first pre-determined distance of second equipment, wherein second equipment receives the first touch control operation of user;
Or
4th determining module, for determining that the user exists when detecting that first equipment receives the second touch control operation In first pre-determined distance of first equipment, wherein first equipment receives the second touch control operation of user.
8. mobile terminal according to claim 6, which is characterized in that the adjustment module includes:
First adjust submodule, for when the lamp light mode be lighten mode when, by the lamplight brightness value of second equipment It improves to first object brightness value;
Or
Second adjust submodule, for when the lamp light mode be dim mode when, by the lamplight brightness value of second equipment It is reduced to the second target brightness value;
Or
Third adjusts submodule, is used for when the lamp light mode is entertainment mode, by the light color tune of second equipment Whole is target light color.
9. mobile terminal according to claim 6, which is characterized in that the mobile terminal further include:
Closedown module, for it to be adjusted according to light of the lamp light mode to second equipment in the adjustment module Afterwards, when detecting that the user and first equipment is more than or equal to first pre-determined distance;
And in the case that the user is more than or equal to first pre-determined distance at a distance from second equipment, pre- If after duration, closing second equipment.
10. mobile terminal according to claim 6, which is characterized in that second determining module includes:
First determines submodule, for when the operating status of first equipment is in working condition, then the operating status pair The lamp light mode answered is to lighten mode;
Second determines submodule, for when the operating status of first equipment is dormant state, then the operating status pair The lamp light mode answered is to dim mode;
Third determines submodule, for when the operating status of first equipment is to play song, then the operating status pair The lamp light mode answered is entertainment mode.
11. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor Any one of described in light adjusting method the step of.
CN201910130404.5A 2019-02-21 2019-02-21 A kind of light adjusting method and mobile terminal Pending CN110012577A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910130404.5A CN110012577A (en) 2019-02-21 2019-02-21 A kind of light adjusting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910130404.5A CN110012577A (en) 2019-02-21 2019-02-21 A kind of light adjusting method and mobile terminal

Publications (1)

Publication Number Publication Date
CN110012577A true CN110012577A (en) 2019-07-12

Family

ID=67165952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910130404.5A Pending CN110012577A (en) 2019-02-21 2019-02-21 A kind of light adjusting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN110012577A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070090964A1 (en) * 2005-10-26 2007-04-26 Hon Hai Precision Industry Co., Ltd. Indicating circuit for computer
US20100289426A1 (en) * 2009-05-12 2010-11-18 Toshiba Lighting & Technology Corporation Illumination device
CN103686154A (en) * 2013-12-24 2014-03-26 Tcl集团股份有限公司 Television curtain wall system and adjusting method thereof
CN104038840A (en) * 2014-05-26 2014-09-10 四川长虹电器股份有限公司 Intelligent controlled display method of television indicator light
CN105228299A (en) * 2015-09-23 2016-01-06 天津成科自动化工程技术有限公司 A kind of domestic lighting intelligent automatic control system and control method
CN106413224A (en) * 2016-09-22 2017-02-15 惠州Tcl移动通信有限公司 Intelligent indoor illumination control method and system
CN106658926A (en) * 2017-03-20 2017-05-10 北京小米移动软件有限公司 Lamp control method and device
CN107197581A (en) * 2017-07-11 2017-09-22 秦皇岛博硕光电设备股份有限公司 A kind of Intelligent household light control method, lighting system and lamp light control system used
CN108990232A (en) * 2018-07-27 2018-12-11 上海与德科技有限公司 Intelligent lamp controls method, apparatus, terminal and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070090964A1 (en) * 2005-10-26 2007-04-26 Hon Hai Precision Industry Co., Ltd. Indicating circuit for computer
US20100289426A1 (en) * 2009-05-12 2010-11-18 Toshiba Lighting & Technology Corporation Illumination device
CN103686154A (en) * 2013-12-24 2014-03-26 Tcl集团股份有限公司 Television curtain wall system and adjusting method thereof
CN104038840A (en) * 2014-05-26 2014-09-10 四川长虹电器股份有限公司 Intelligent controlled display method of television indicator light
CN105228299A (en) * 2015-09-23 2016-01-06 天津成科自动化工程技术有限公司 A kind of domestic lighting intelligent automatic control system and control method
CN106413224A (en) * 2016-09-22 2017-02-15 惠州Tcl移动通信有限公司 Intelligent indoor illumination control method and system
CN106658926A (en) * 2017-03-20 2017-05-10 北京小米移动软件有限公司 Lamp control method and device
CN107197581A (en) * 2017-07-11 2017-09-22 秦皇岛博硕光电设备股份有限公司 A kind of Intelligent household light control method, lighting system and lamp light control system used
CN108990232A (en) * 2018-07-27 2018-12-11 上海与德科技有限公司 Intelligent lamp controls method, apparatus, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN108108007B (en) A kind of processing method and mobile terminal reducing power consumption
CN109151180A (en) A kind of object identifying method and mobile terminal
CN109547054A (en) Signal control circuit, terminal device and signal control method
CN110098486A (en) A kind of method of controlling antenna and equipment
CN107911445A (en) A kind of information push method, mobile terminal and storage medium
CN109788136A (en) Information display method and mobile terminal
CN108366220A (en) A kind of video calling processing method and mobile terminal
CN110442437A (en) A kind of application switching method and mobile terminal
CN108900695A (en) A kind of display processing method and terminal device
CN109558046A (en) A kind of information display method and terminal device
CN110531915A (en) Screen operating method and terminal device
CN109743449A (en) A kind of virtual key display methods and terminal
CN110351407A (en) A kind of audio frequency playing method and mobile terminal
CN109144703A (en) A kind of processing method and its terminal device of multitask
CN108174017A (en) A kind of bluetooth open method and mobile terminal
CN110138963A (en) A kind of message treatment method and mobile terminal
CN110018805A (en) A kind of display control method and mobile terminal
CN109101151A (en) A kind of information display processing method and terminal device
CN109451144A (en) A kind of message treatment method and terminal device
CN109033912A (en) A kind of recognition methods of identification code and mobile terminal
CN109240575A (en) A kind of screen control method and electronic equipment
CN108649716A (en) A kind of method for transmitting signals, receiving terminal, transmitting terminal and terminal device
CN110312035A (en) A kind of control method of terminal, mobile terminal and computer readable storage medium
CN109814974A (en) Application Program Interface method of adjustment and mobile terminal
CN109343811A (en) A kind of display adjusting method and terminal device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190712

RJ01 Rejection of invention patent application after publication