WO2015196371A1 - 用户设备灯光控制方法、装置及用户终端 - Google Patents

用户设备灯光控制方法、装置及用户终端 Download PDF

Info

Publication number
WO2015196371A1
WO2015196371A1 PCT/CN2014/080640 CN2014080640W WO2015196371A1 WO 2015196371 A1 WO2015196371 A1 WO 2015196371A1 CN 2014080640 W CN2014080640 W CN 2014080640W WO 2015196371 A1 WO2015196371 A1 WO 2015196371A1
Authority
WO
WIPO (PCT)
Prior art keywords
charging interface
user equipment
light
preset
environmental parameter
Prior art date
Application number
PCT/CN2014/080640
Other languages
English (en)
French (fr)
Inventor
金峻绪
李金普
王雅辉
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2014/080640 priority Critical patent/WO2015196371A1/zh
Priority to US14/899,664 priority patent/US20170094048A1/en
Priority to CN201480003422.2A priority patent/CN104871393B/zh
Priority to EP14895488.6A priority patent/EP3002933B1/en
Publication of WO2015196371A1 publication Critical patent/WO2015196371A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/22Illumination; Arrangements for improving the visibility of characters on dials
    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B5/00Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied
    • G08B5/22Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission
    • G08B5/36Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission using visible light sources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Definitions

  • Embodiments of the present invention relate to a lighting control technology, and in particular, to a user equipment lighting control method, device, and user terminal.
  • a lighting control technology and in particular, to a user equipment lighting control method, device, and user terminal.
  • USB Universal Serial Bus
  • the present invention provides a user equipment lighting control method, apparatus, and user terminal that can control the opening of a lighting device based on the power of the mobile phone and environmental parameters in the vicinity of the charging interface of the user equipment.
  • the present invention provides a user equipment lighting control method, including: detecting an environmental parameter near a charging interface of a user equipment, wherein the environmental parameter is a magnetic field strength near a charging interface of the user equipment, a charging interface of the user equipment, and a charger plug At least one of a distance and a degree of light and darkness near a charging interface of the user equipment;
  • the lighting device set near the charging interface is turned on.
  • the method before detecting an environmental parameter in the vicinity of the charging interface of the user equipment, the method further includes determining, according to the battery power of the user equipment, whether to detect Environmental parameters near the charging interface of the household equipment;
  • the environmental parameter is a magnetic field strength near the charging interface of the user equipment
  • detecting the environmental parameter near the charging interface of the user equipment specifically includes: starting the charging interface at the user equipment A nearby Hall sensor detects the magnetic field strength near the charging interface of the user equipment;
  • the opening of the lighting device disposed near the charging interface specifically includes:
  • the Hall sensor When the magnetic field strength near the charging interface of the user equipment is within a preset parameter range, the Hall sensor outputs a preset on-level value and turns on the illumination device disposed near the charging interface.
  • the environmental parameter is the distance between the charging interface of the user equipment and the charger plug
  • detecting the environmental parameters near the charging interface of the user equipment specifically includes: starting the setting in the user equipment A distance sensor near the charging interface detects a distance between the charging interface and the charger plug;
  • the opening of the lighting device disposed near the charging interface specifically includes:
  • the distance sensor When the distance between the charging interface and the charger plug is within a preset parameter range, the distance sensor outputs a preset on-level value to turn on the illumination device disposed near the charging interface.
  • the environmental parameter is the degree of light and darkness in the vicinity of the charging interface of the user equipment
  • detecting the environmental parameters in the vicinity of the charging interface of the user equipment specifically includes: starting the setting to charge the user equipment A light sensor near the interface detects the brightness of the light near the charging interface;
  • the opening of the lighting device disposed near the charging interface specifically includes:
  • the light sensor When the brightness of the light near the charging interface is within a predetermined parameter range, the light sensor outputs a preset on level value to turn on the lighting device disposed near the charging interface.
  • the environmental parameter is the magnetic field strength near the charging interface of the user equipment, the distance between the charging interface of the user equipment and the charger plug, and the light and darkness near the charging interface of the user equipment. Combination of at least two degrees of degree, for detection
  • the environmental parameters near the charging interface of the user equipment include: starting at least two of the Hall sensor, the distance sensor and the light sensor disposed near the charging interface of the user equipment, detecting the magnetic field strength near the charging interface of the user equipment, the charging interface and the charger At least two of the distance of the plug and the brightness of the light near the charging interface;
  • the opening of the lighting device disposed near the charging interface specifically includes:
  • the distance between the charging interface and the charger plug, and the brightness of the light near the charging interface are within a preset parameter range, according to the output of the Hall sensor, the distance sensor and the light sensor
  • the preset on level value turns on the illumination device set near the charging interface.
  • the method further includes:
  • At least one of display color, brightness, and flicker frequency of the lighting device is controlled based on battery power and/or user service information of the user device.
  • the method further includes:
  • Controlling the lighting device to be turned off according to at least one of a charging state of the user equipment, a battery power, and an environmental parameter in the charging interface of the user equipment specifically including:
  • the lighting device is turned off.
  • the present invention provides a user equipment lighting control apparatus, including:
  • the detecting module is configured to detect an environmental parameter near the charging interface of the user equipment, where the environmental parameter is a magnetic field strength near the charging interface of the user equipment, a distance between the charging interface of the user equipment and the charger plug, and a degree of light and darkness near the charging interface of the user equipment.
  • the environmental parameter is a magnetic field strength near the charging interface of the user equipment, a distance between the charging interface of the user equipment and the charger plug, and a degree of light and darkness near the charging interface of the user equipment.
  • a determining module configured to determine, according to a battery power of the user equipment, whether to detect an environmental parameter near the charging interface of the user equipment, before detecting an environmental parameter in the vicinity of the charging interface of the user equipment;
  • the light control module is configured to turn on the lighting device disposed near the charging interface when the environmental parameter is within a preset parameter range.
  • the determining module is further configured to: when it is determined that the battery power of the user equipment is less than a preset first threshold, initiate detection of an environmental parameter near the charging interface of the user equipment.
  • the environmental parameter is the magnetic field strength near the charging interface of the user equipment
  • the detecting module is specifically configured to: start the detection of the Hall sensor disposed near the charging interface of the user equipment The magnetic field strength of the magnet inside the charger plug;
  • the lighting control module is specifically used to:
  • the Hall sensor When the magnetic field strength near the charging interface of the user equipment is within a preset parameter range, the Hall sensor outputs a preset on-level value to turn on the illumination device disposed near the charging interface.
  • a magnet is further disposed in the charger plug.
  • the environment parameter is a distance between the user equipment charging interface and the charger plug
  • the detecting module is specifically configured to: start a distance sensor disposed near the charging interface of the user equipment Detecting the distance between the charging interface and the charger plug; correspondingly, when the environmental parameter is within a preset parameter range, the lighting control module is specifically used to:
  • the distance sensor When the distance between the charging interface and the charger plug is within a preset parameter range, the distance sensor outputs a preset on-level value to turn on the illumination device disposed near the charging interface.
  • the environmental parameter is the degree of light and darkness near the charging interface of the user equipment
  • the detecting module is specifically configured to: start detecting the light sensor disposed near the charging interface of the user equipment The brightness of the light near the charging interface;
  • the lighting control module is specifically used to:
  • the light sensor When the brightness of the light near the charging interface is within a predetermined parameter range, the light sensor outputs a high level to turn on the lighting device disposed near the charging interface.
  • the environmental parameter is the magnetic field strength near the charging interface of the user equipment, the distance between the charging interface of the user equipment and the charger plug, and the light and darkness near the charging interface of the user equipment.
  • the combination of at least two degrees of degree, the detection module is specifically used to: Starting at least two of the Hall sensor, the distance sensor and the light sensor disposed near the charging interface of the user equipment, detecting the magnetic field strength near the charging interface of the user equipment, the distance between the charging interface and the charger plug, and the brightness of the light near the charging interface At least two;
  • the lighting control module is specifically used to:
  • the distance between the charging interface and the charger plug, and the brightness of the light near the charging interface are within a preset parameter range, according to the output of the Hall sensor, the distance sensor and the light sensor
  • the preset on level value turns on the illumination device set near the charging interface.
  • the lighting control module is further configured to use battery power and/or user service information of the user equipment after turning on the lighting device disposed near the charging interface. At least one of display color, brightness, and flicker frequency of the lighting device is controlled.
  • the lighting control module after the lighting control module is turned on to the lighting device disposed near the charging interface, it is further used to:
  • the lighting device is controlled to be turned off according to at least one of a charging state of the user equipment, a battery power, and an environmental parameter near the charging interface of the user equipment, specifically:
  • the lighting device is turned off.
  • the present invention further provides a user terminal, including: a processor, a memory; and a charging interface and a sensor and a lighting device disposed near the charging interface;
  • a memory for storing instructions; a sensor for detecting environmental parameters near the charging interface under control of the processor; the lighting device for turning on under control of the processor;
  • the processor is operative to execute instructions stored in the memory to perform the user equipment lighting control method as described above.
  • the user equipment lighting control method and device provided by the invention detect the environmental parameters near the charging interface of the user equipment; when the environmental parameter exceeds the preset parameter range, the setting is enabled in the charging The lighting device near the electrical interface, so that when the mobile phone and the charger plug are connected, the user is provided with lighting and prompting functions according to the environmental parameters of the mobile phone and the environmental parameters of the charging interface of the user device.
  • FIG. 1 is a schematic flowchart of a user equipment lighting control method according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic diagram of a sensor and a lighting device disposed near a charging interface of a user equipment according to Embodiment 1;
  • FIG. 3 is a schematic flowchart of a user equipment lighting control method according to Embodiment 2 of the present invention
  • FIG. 4 is a schematic flowchart of a user equipment lighting control method according to Embodiment 3 of the present invention
  • FIG. 5 is a user equipment according to Embodiment 4 of the present invention
  • FIG. 6 is a schematic structural diagram of a user terminal according to Embodiment 5 of the present invention.
  • first, second, third, etc. may be used to describe various thresholds in embodiments of the invention, these thresholds should not be limited to these terms. These terms are only used to The thresholds are distinguished from one another.
  • the first threshold may also be referred to as a second threshold without departing from the scope of embodiments of the invention.
  • the second threshold may also be referred to as a first threshold.
  • the word “if” as used herein may be interpreted as “when” or “when” or “in response to determination” or “in response to detection”.
  • FIG. 1 is a schematic flowchart of a method for controlling a user equipment lighting according to Embodiment 1 of the present invention. As shown in FIG. 1, the user equipment lighting control method provided by this embodiment includes:
  • an environmental parameter near a charging interface of the user equipment where the environmental parameter is at least one of a magnetic field strength near the charging interface of the user equipment, a distance between the charging interface of the user equipment and the charger plug, and a degree of light and darkness near the charging interface of the user equipment.
  • the method may further include determining, according to the battery power of the user equipment, whether to detect an environmental parameter near the charging interface of the user equipment. If it is detected that the battery power of the user equipment is insufficient, and a charging operation is required, for example, if the battery power of the user equipment is less than a preset first threshold, the environmental parameters near the charging interface of the user equipment are detected.
  • the first threshold may be preset to a certain percentage of the total battery power of the user equipment, such as 30% or 50% of the total power, or may be freely set by the user.
  • the charging interface of the user equipment may include a Universal Serial Bus (USB) interface, a Mini USB (Mini-USB) interface, a Micro-USB interface, a pin charging interface, or other power interfaces.
  • the environmental parameter is at least one of a magnetic field strength near the charging interface of the user equipment, a distance between the charging interface of the user equipment and the charger plug, and a degree of light and darkness near the charging interface of the user equipment.
  • the user equipment may use different sensors disposed on the user equipment, for example, using a Hall sensor to detect the magnetic field strength near the charging interface of the user equipment, and using the distance sensor to detect the charging interface of the user equipment and the charger plug. Distance, and the use of light sensors to detect the degree of light and darkness near the charging interface of the user equipment.
  • FIG. 2 is a schematic diagram of a sensor and an illumination device disposed near a charging interface of a user equipment according to Embodiment 1.
  • a sensor 202 for detecting environmental parameters is disposed near the charging interface 201 of the user equipment, and an illumination device 203 is disposed on the other side of the charging interface. This allows the sensor to detect environmental parameters near the charging interface and to provide illumination to the lighting interface side.
  • the lighting device disposed near the charging interface of the user equipment can be turned on, so that the lighting device is illuminated to provide auxiliary illumination. Ensure that there is sufficient ambient brightness to allow the user to successfully connect the user device to the charger plug.
  • the parameter range may be set to a range of a certain environmental parameter, or may be a range of parameter combinations of multiple environmental parameters.
  • the parameter range is the range of a certain environmental parameter, for example, the magnetic field strength detected by the Hall sensor, when the magnetic field strength is within the range, the illumination device disposed near the charging interface of the user equipment is turned on.
  • the environmental parameter is the distance detected by the distance sensor
  • the parameter range can be set to 0 ⁇ 10 cm; if the distance detected by the distance sensor is 5 cm, it can be known that the parameter is within the preset parameter range, The lighting device set near the charging interface of the user device can be turned on.
  • the parameter range is a range of combinations of multiple environmental parameters, according to a preset policy and a plurality of detected environmental parameters, such as the magnetic field strength near the charging interface of the user equipment and the degree of light and darkness near the charging interface of the user equipment, etc. Comprehensive evaluation, to determine the size of the combined value.
  • the combined value exceeds the parameter range, it indicates that the charging interface of the user equipment has reached a close distance from the charger plug, and the lighting device whose control setting is near the charging interface of the user equipment is turned on.
  • detecting the environmental parameter near the charging interface of the user equipment specifically includes: starting a Hall sensor disposed near the charging interface of the user equipment to detect a magnetic field strength near the charging interface of the user equipment;
  • the opening of the lighting device disposed near the charging interface specifically includes:
  • the Hall sensor When the magnetic field strength near the charging interface of the user equipment is within a preset parameter range, the Hall sensor outputs a preset on-level value to turn on the illumination device disposed near the charging interface. For example, when the magnetic field strength near the charging interface of the user equipment exceeds a predetermined value, the output level of the Hall sensor changes from a low level to a high level, and the high level is a preset on-level value; After the output high level is sent to the processor of the user equipment, the processor controls the opening according to the pre-stored instructions. An illumination device disposed adjacent to the charging interface is activated to cause the illumination device to emit light.
  • the environmental parameter is a distance between the user equipment charging interface and the charger plug
  • detecting the environmental parameter near the charging interface of the user equipment specifically includes: starting a distance sensor disposed near the charging interface of the user equipment to detect a distance between the charging interface and the charger plug;
  • the opening of the lighting device disposed near the charging interface specifically includes:
  • the distance sensor When the distance between the charging interface and the charger plug is within a preset parameter range, the distance sensor outputs a preset on-level value to turn on the illumination device disposed near the charging interface. For example, when the distance between the charging interface and the charger plug exceeds a predetermined value, the output level of the distance sensor changes from a low level to a high level, and the high level is a preset on-level value; After the level is sent to the processor of the user equipment, the processor controls to turn on the illumination device disposed near the charging interface according to the pre-stored instruction to make the illumination device emit light.
  • the environmental parameter is the brightness of the light near the charging interface of the user equipment
  • the environmental parameters in the vicinity of the charging interface of the user equipment include: starting a light sensor disposed near the charging interface of the user equipment to detect the brightness of the light near the charging interface;
  • the opening of the lighting device disposed near the charging interface specifically includes:
  • the light sensor When the brightness of the light near the charging interface is within a preset parameter range, the light sensor outputs a preset on level value to turn on the lighting device disposed near the charging interface. For example, when the brightness of the light near the charging interface exceeds a predetermined value, the output level of the light sensor changes from a low level to a high level, and the high level is a preset on level value; the high level of the light sensor output After being sent to the processor of the user equipment, the processor then controls to turn on the illumination device disposed near the charging interface according to the pre-stored instructions, so that the illumination device is illuminated.
  • the environmental parameter is a combination of a magnetic field strength near the charging interface of the user equipment, a distance between the charging interface of the user equipment and the charger plug, and a degree of light and darkness near the charging interface of the user equipment, detecting the vicinity of the charging interface of the user equipment
  • the environmental parameters specifically include: starting at least two of a Hall sensor, a distance sensor, and a light sensor disposed near the charging interface of the user equipment, detecting a magnetic field strength near the charging interface of the user equipment, a distance between the charging interface and the charger plug, and charging At least two of the brightness of the light near the interface;
  • the nearby lighting devices specifically include:
  • the distance between the charging interface and the charger plug, and the brightness of the light near the charging interface are within a preset parameter range, according to the output of the Hall sensor, the distance sensor and the light sensor
  • the preset on level value turns on the illumination device set near the charging interface.
  • a display color, a brightness, and a blinking frequency of the lighting device may be controlled according to the battery power of the user device and/or the user service information.
  • the lighting device on the user equipment may display different colors, brightness, and different flicker frequencies according to the battery power of the user equipment and/or the user service information.
  • the user service information includes service information such as caller ID, short message, and network prompt information received by the user equipment.
  • the lighting device may be controlled to be turned off according to at least one of a charging state of the user device, a battery power, and an environmental parameter in the vicinity of the charging interface of the user device, which may include:
  • the environment parameter near the charging interface of the user equipment is first detected; when the detected environmental parameter is within a preset parameter range, the lighting device disposed near the charging interface is turned on. This enables the user to provide lighting and prompting functions according to the environmental parameters of the mobile phone and the charging interface of the user device when the mobile phone and the charger plug are connected.
  • FIG. 3 is a schematic flowchart of a method for controlling a user equipment light according to Embodiment 2 of the present invention. This embodiment provides the entire opening and closing process of the user equipment lighting. As shown in FIG. 3, the user equipment lighting control method provided by this embodiment includes:
  • S201 Detect an environmental parameter in the vicinity of the charging interface of the user equipment, where the environmental parameter is at least one of a magnetic field strength near the charging interface of the user equipment, a distance between the charging interface of the user equipment and the charger plug, and a degree of light and darkness near the charging interface of the user equipment.
  • the environmental parameter is at least one of a magnetic field strength near the charging interface of the user equipment, a distance between the charging interface of the user equipment and the charger plug, and a degree of light and darkness near the charging interface of the user equipment.
  • a broadcast receiver can be used to acquire the current battery of the mobile phone by acquiring an ACTION_BATTERY_CHANED intent. Status, or directly receive a broadcast event ( ACTION — BATTERY — LOW) that is triggered when the battery is low.
  • the sensor set on the mobile phone is activated to detect environmental parameters near the charging interface of the mobile phone.
  • the Hall sensor is used to detect environmental parameters on the side of the mobile telephone interface.
  • the Hall sensor is a magnetic field sensor fabricated according to the Hall effect. The voltage of the Hall sensor varies with the strength of the magnetic field. The higher the magnetic field, the higher the voltage. The weaker the magnetic field, the lower the voltage.
  • the Hall sensor is placed near the charging interface of the mobile phone, and correspondingly, a small magnet is mounted on the charger plug. When the charger plug is close to the mobile phone charging interface, the magnetic field detected by the Hall sensor increases as the charger plug approaches and weakens as the charger plug moves away.
  • the magnetic field detected by the Hall sensor enters the previously set parameter range.
  • the voltage output by the Hall sensor increases with the magnetic field enhancement, and the preset power-on is output.
  • the flat value for example, can be changed from a low state to a high level, and a high level is output to the control module of the mobile phone, and the control module turns on the illumination device set at the charging interface according to the high level.
  • illumination can be provided in a small area of the mobile phone charging interface, so that the user can see the relative position of the charger plug and the mobile phone charging interface, thereby completing the connection between the charger plug and the mobile phone.
  • the environmental parameter may also be user equipment charging.
  • the distance between the interface and the charger plug is the degree of light and darkness near the charging interface of the user equipment.
  • one of the above two environmental parameters can be detected and the lighting device can be controlled to be turned on according to the environmental parameter.
  • the distance sensor When detecting the distance between the charging interface of the user equipment and the charger plug, the distance sensor can be used for detection.
  • Proximity sensors also known as proximity sensors, proximity sensors, distance sensors, proximity sensors, infrared sensors, etc., mainly use various components to detect the physical change of an object, and convert the amount of change into a distance. , to measure the distance displacement from the sensor to the object, and according to the use of components, divided into optical displacement sensor, linear proximity sensor, ultrasonic displacement sensor.
  • the distance sensor used by mobile phones is based on the principle of measuring time to measure the distance of objects.
  • the distance sensor is activated to calculate the distance to the object by measuring the time by emitting a particularly short pulse of light and measuring the time from the emission of the light pulse to the reflection from the object.
  • the calculated distance enters the preset distance parameter range, such as within 10 cm, and if so, it indicates that the charger plug is close to the charging interface of the mobile phone, and the corresponding output of the sensor output is turned on. Flat value, and control the lighting device to turn on.
  • the light sensor When detecting the brightness of the light near the charging interface of the user equipment, the light sensor may be used to detect the current ambient light. If the current ambient brightness detected by the light sensor is less than the predetermined brightness threshold, different preset opening levels may be output, for example, High level, and control the lighting device to turn on.
  • the power can be detected by using a weak shutdown current after shutdown or a spare battery in the user equipment to detect environmental parameters and turn on the lighting device.
  • S203 Control at least one of display color, brightness, and flicker frequency of the illumination device according to battery power of the user equipment and/or user service information.
  • the mobile phone When the charger plug is connected to the mobile phone, the mobile phone is in a charging state, and the light of the lighting device can be converted into the prompt light by the auxiliary lighting light.
  • the cue light can have multiple colors and blinking frequencies. Can be controlled according to the battery power of the user equipment and/or user service information At least one of display color, brightness, and flicker frequency of the illumination device. For example, when the battery power of the mobile phone is less than 50%, the color of the light displayed by the lighting device is red, and the flashing state is flashing once per second; and when the power of the mobile phone is between 50% and 70%, the lighting device The light color is yellow and flashes once every few seconds; when the mobile phone's power reaches above 95%, the lighting of the lighting device is solid green.
  • the user can know the battery level of the mobile phone through information such as the color, brightness and flicker frequency of the light displayed by the lighting device.
  • the lighting device may also have different display colors, brightness and flicker frequency. For example, when there is unread information, the light displayed by the lighting device may be blue. And flashing once every few seconds; when there is a missed call, the lighting device displays an orange light flashing every second, and the user can know that the mobile phone has missed calls or unread short messages, and according to the lighting device display Differentiate and distinguish the importance of business information.
  • the different power conditions and the display color, brightness and flicker frequency corresponding to the user service information can be adjusted by the user as needed.
  • At least one of displaying color, brightness, and blinking frequency of the lighting device may be controlled according to information received by the user equipment, such as caller ID, operator SMS, or network information, for example, when the user equipment such as a mobile phone receives After the text message, the lighting device can display a blue flashing light to prompt the user to view the text message.
  • information received by the user equipment such as caller ID, operator SMS, or network information, for example, when the user equipment such as a mobile phone receives
  • the lighting device can display a blue flashing light to prompt the user to view the text message.
  • S204 Control the lighting device to be turned off according to at least one of a charging state of the user equipment, a battery power, and an environmental parameter near the charging interface of the user equipment.
  • the user may mistakenly place the mobile phone near the charger plug, and if the mobile phone is in an uncharged state, and the state is When the duration exceeds a preset second threshold, for example, 1 minute, the lighting device is turned off to save the battery power of the mobile phone.
  • a preset second threshold for example, 1 minute
  • the battery power of the mobile phone reaches a preset third threshold, for example, the battery power of the mobile phone reaches 98% of the total power, the mobile phone battery is considered to be full and the lighting device is turned off.
  • the corresponding scene is the mobile phone and away from the charger interface, and there is also no need to provide illumination for the vicinity of the mobile phone charging interface. Turn off the lighting device.
  • the lighting device disposed near the charging interface is turned on, and then the display color, brightness and flicker frequency of the lighting device are controlled according to the battery power of the user device; finally, according to the charging state of the user device, the battery At least one of the power and environmental parameters near the user equipment charging interface controls the lighting device to turn off.
  • Embodiment 3 of the present invention includes:
  • an environmental parameter near a charging interface of the user equipment where the environmental parameter is at least two of a magnetic field strength near the charging interface of the user equipment, a distance between the charging interface of the user equipment and the charger plug, and a degree of light and darkness near the charging interface of the user equipment. ;
  • the environmental parameter is a combination of a magnetic field strength near the charging interface of the user equipment, a distance between the charging interface of the user equipment and the charger plug, and a degree of light and darkness near the charging interface of the user equipment, detecting the vicinity of the charging interface of the user equipment
  • the environmental parameters specifically include: starting at least two of a Hall sensor, a distance sensor, and a light sensor disposed near the charging interface of the user equipment, detecting a magnetic field strength near the charging interface of the user equipment, a distance between the charging interface and the charger plug, and charging At least two of the brightness of the light near the interface;
  • the opening of the lighting device disposed near the charging interface specifically includes:
  • the distance between the charging interface and the charger plug, and the brightness of the light near the charging interface are within a preset parameter range, according to the output of the Hall sensor, the distance sensor and the light sensor
  • the preset on level value turns on the illumination device set near the charging interface.
  • the foregoing steps S301 and S302 are similar to the foregoing embodiment 2, and are not described herein again.
  • the difference is that, in this embodiment, when detecting the environmental parameter near the charging interface of the user equipment, multiple environmental parameters near the charging interface of the user equipment are detected, including the magnetic field near the charging interface of the user equipment. At least two of the field strength, the distance between the user equipment charging interface and the charger plug, and the degree of light and darkness near the charging interface of the user equipment.
  • the parameter range is a range of combinations of multiple environmental parameters, which may be based on a preset policy and a plurality of detected environmental parameters, such as the magnetic field strength near the charging interface of the user equipment and the degree of light and darkness near the charging interface of the user equipment.
  • a comprehensive evaluation is performed to determine the size of the environmental parameters.
  • the magnetic field strength near the charging interface of the user equipment, the distance between the charging interface and the charger plug, and the brightness of the light near the charging interface are within a preset parameter range, it indicates that the charging interface of the user equipment reaches the charger plug.
  • the lighting device that controls the setting near the charging interface of the user device is turned on.
  • it may be determined according to the combination of the distance between the charging interface of the user equipment and the charger plug and the degree of light and darkness near the charging interface of the user equipment, for example, the distance sensed by the distance sensor when the user directly blocks the hand near the charging interface of the user equipment.
  • the light and darkness on the side of the charging interface are within the preset parameters, and the lighting of the lighting device can be turned on.
  • the power controls the display color, brightness, and flicker frequency of the lighting device; finally controls the lighting device to be turned off according to at least one of the charging state of the user device, the battery power, and the environmental parameters near the charging interface of the user device.
  • FIG. 5 is a schematic structural diagram of a user equipment lighting control apparatus according to Embodiment 4 of the present invention.
  • the user equipment lighting control device 41 provided in this embodiment includes:
  • the detecting module 401 is configured to detect an environmental parameter near the charging interface of the user equipment, where the environmental parameter is a magnetic field strength near the charging interface of the user equipment, a distance between the charging interface of the user equipment and the charger plug, and a degree of light and darkness near the charging interface of the user equipment.
  • the determining module 402 is configured to determine, according to the battery power of the user equipment, whether to detect an environmental parameter near the charging interface of the user equipment, before detecting an environmental parameter in the vicinity of the charging interface of the user equipment;
  • the light control module 403 is configured to turn on the lighting device disposed near the charging interface when the environmental parameter is within a preset parameter range.
  • the determining module 402 is further configured to: when it is determined that the battery power of the user equipment is less than When the first threshold is preset, the detection of the environmental parameter near the charging interface of the user equipment is started.
  • the detecting module 401 is specifically configured to: start a Hall sensor disposed near the charging interface of the user equipment to detect the magnetic field strength of the magnet in the charging plug;
  • a magnet is also disposed in the charger plug at this time;
  • the light control module 403 is specifically used to:
  • the Hall sensor When the magnetic field strength near the charging interface of the user equipment is within a preset parameter range, the Hall sensor outputs a preset on-level value to turn on the illumination device disposed near the charging interface.
  • the detecting module 401 is specifically configured to: start a distance sensor disposed near the charging interface of the user equipment to detect a distance between the charging interface and the charger plug;
  • the light control module 403 is specifically used to:
  • the distance sensor When the distance between the charging interface and the charger plug is within a preset parameter range, the distance sensor outputs a preset on-level value to turn on the illumination device disposed near the charging interface.
  • the detecting module 401 is specifically configured to: start a light sensor disposed near the charging interface of the user equipment to detect the brightness of the light near the charging interface;
  • the corresponding lighting control module 403 is specifically used to:
  • the light sensor When the brightness of the light near the charging interface is within a predetermined parameter range, the light sensor outputs a preset on level value to turn on the lighting device disposed near the charging interface.
  • the environment parameter is a combination of a magnetic field strength near the charging interface of the user equipment, a distance between the charging interface of the user equipment and the charger plug, and a degree of light and darkness near the charging interface of the user equipment.
  • the detecting module 401 is specifically configured to:
  • the Hall sensor Starting at least two of the Hall sensor, the distance sensor and the light sensor disposed near the charging interface of the user equipment, detecting the magnetic field strength near the charging interface of the user equipment, the distance between the charging interface and the charger plug, and the brightness of the light near the charging interface At least two;
  • the light control module 403 is specifically used to:
  • the magnetic field strength near the charging interface of the user equipment, the distance between the charging interface and the charger plug, and the brightness of the light near the charging interface are within a preset parameter range, according to Huo
  • the preset on-level values of the sensor, distance sensor and light sensor outputs turn on the illumination device disposed adjacent to the charging interface.
  • the lighting control module 403 is further configured to control at least one of display color, brightness, and flicker frequency of the lighting device according to battery power and/or user service information of the user equipment.
  • the lighting control module 403 is further configured to control at least one of display color, brightness, and flicker frequency of the lighting device according to battery power and/or user service information of the user equipment.
  • the lighting control module 403 is further configured to:
  • the lighting device is turned off based on at least one of the state of charge of the user device, the amount of battery power, and environmental parameters near the charging interface of the user device.
  • the light control module 403 is further configured to:
  • the lighting device is turned off.
  • the determining module is configured to detect a battery power of the user equipment; the detecting module is configured to detect an environmental parameter near the charging interface of the user equipment, and the lighting control module is configured to open the setting when the environmental parameter is within a preset parameter range. Lighting device near the charging interface. This realizes that when the mobile phone and the charger plug are connected, the user is provided with illumination and prompt functions according to the environmental parameters of the mobile phone and the environmental parameters of the charging interface of the user device.
  • a user terminal 600 An example of a user terminal will be specifically described. It should be understood that the illustrated user terminal 600 is merely one example of a mobile terminal, and that the user terminal 600 may have more or fewer components than those shown in the figures, and two or more components may be combined. Or it can have different component configurations.
  • the various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • FIG. 6 is a schematic structural diagram of a user terminal according to Embodiment 5 of the present invention. As shown in FIG. 6, the embodiment provides a user terminal, including:
  • a user terminal 61 comprising: a processor 601, a memory 602; further comprising a charging interface 603 and a sensor 604 and an illumination device disposed near the charging interface 603 605;
  • the user terminal 61 further includes a radio frequency (RF) circuit 606, an input unit 607, a display unit 608, an audio circuit 609, a wireless fidelity (WiFi) module 610, and a power supply. 611 and other components.
  • RF radio frequency
  • WiFi wireless fidelity
  • the processor 601 is configured to execute instructions stored in the memory 602 to perform the user equipment lighting control methods provided in the first to third embodiments.
  • Processor 601 is the control center of user terminal 61, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in memory 602, and recalling data stored in memory 602.
  • the various functions and processing data of the user terminal 61 are executed to perform overall monitoring of the mobile phone.
  • the processor 601 may include one or more processing units.
  • the processor 601 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 601.
  • the processor 601 works as follows: First, the instructions stored in the memory 602 are executed to detect the battery power of the user terminal 61. If the battery power of the user terminal 61 is less than a preset first threshold, the processor 601 controls. The sensor 604 is turned on, and the sensor 604 detects the environmental parameter on the side of the charging interface 603. When the detected environmental parameter is within the preset parameter range, the processor 601 controls the lighting device 605 disposed on the charging interface 603 side to be turned on. The user provides illumination when the user terminal is connected to the charger plug.
  • the memory 602 is used to store instructions.
  • the storage object of the memory 602 includes a software program and a module.
  • the processor 601 executes various functional applications and data processing of the user terminal 61 by running a software program and a module stored in the memory 602.
  • the memory 602 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored. Data (such as audio data, phone book, etc.) created according to the use of the user terminal 61, and the like.
  • memory 602 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the charging interface 603 is connected to the charger plug for charging the user terminal 61.
  • a sensor 604 disposed adjacent to the charging interface 603 is configured to detect environmental parameters in the vicinity of the charging interface under control of the processor. For example, Hall sensors, distance sensors, and light sensors.
  • the Hall sensor is used to detect the magnetic field strength near the charging interface of the user equipment, and the distance sensor is also called a proximity sensor for detecting the distance between the charging interface and the charger plug, and the light sensor is used for detecting the brightness of the light near the charging interface.
  • the light sensor can also adjust the brightness of the display panel 6081 according to the brightness of the ambient light, and the distance sensor can also close the display panel 6081 and/or the backlight when the user terminal 61 moves to the ear.
  • user device 61 may also include other at least one type of sensor, such as a motion sensor and other sensors.
  • the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and the magnitude and direction of gravity can be detected at rest, which can be used to identify the gesture of the mobile phone (such as horizontal and vertical screens).
  • Lighting device 605 is used to turn on under the control of processor 601.
  • illumination device 605 can include an illumination assembly 6051 for illumination and a cue light assembly 6052 for prompting.
  • the illumination device 605 can be a light emitting diode (LED), a fluorescent material, or a light device made of a transparent material that can transmit light.
  • the RF circuit 606 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. Specifically, after receiving the downlink information of the base station, it is processed by the processor 601. In addition, the uplink data is designed to be sent to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
  • LNA Low Noise Amplifier
  • RF circuitry 606 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobi le communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), Email, Short Message Service (Short Messaging) Service, Janeer SMS) and so on.
  • GSM Global System of Mobi le communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • Email Short Message Service
  • SMS Short Message Service
  • the input unit 607 can be configured to receive input numeric or character information, and generate and user terminals 61 The user settings as well as the function control related key signal input.
  • the input unit 607 can include a touch panel 6071 and other input devices 6072.
  • the touch panel 6071 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 6071 or near the touch panel 6071. Operation), and drive the corresponding connecting device according to a preset program.
  • the touch panel 6071 can include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information
  • the processor 601 is provided and can receive commands from the processor 601 and execute them.
  • the touch panel 6071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 607 may also include other input devices 6072.
  • other input devices 6072 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 608 can be used to display information input by the user or information provided to the user and various menus of the user terminal 61.
  • the display unit 608 can include a display panel 6081.
  • the display panel 6081 can be configured in the form of a liquid crystal display (LCD) or an organic light-emitting diode (OLED).
  • the touch panel 6071 can cover the display panel 6081. After the touch panel 6071 detects a touch operation on or near it, the touch panel 6071 transmits to the processor 601 to determine the type of the touch event, and then the processor 601 according to the touch event. The type provides a corresponding visual output on display panel 6081.
  • touch panel 6071 and the display panel 6081 are implemented as two separate components to implement the input and input functions of the user terminal 61, in some embodiments, the touch panel 6071 can be integrated with the display panel 6081. The input and output functions of the user terminal 61 are implemented.
  • An audio circuit 609, a speaker 6091, and a microphone 6092 provide an audio interface between the user and the user terminal 61.
  • the audio circuit 609 can transmit the converted electrical data of the received audio data to the speaker 6091, and convert it into a sound signal output by the speaker 6091.
  • the microphone 6092 converts the collected sound signal into an electrical signal, and the audio circuit 609 After receiving, it is converted into audio data, and then the audio data is output to the RF circuit 606 for transmission to, for example, another mobile phone, or the audio data is output to the memory 602 for further processing.
  • WiFi is a short-range wireless transmission technology
  • the user terminal 61 can help through the WiFi module 610.
  • Users send and receive email, browse web pages, and access streaming media, etc., which provide users with wireless broadband Internet access.
  • the WiFi module 610 is shown in the drawing, it can be understood that it does not belong to the essential configuration of the user terminal 61, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the user terminal 61 also includes a power source 611 (e.g., a battery) for powering various components.
  • a power source 611 e.g., a battery
  • the power source can be logically coupled to the processor 601 through a power management system to manage functions such as charging, discharging, and power consumption through the power management system.
  • the user terminal 61 may further include a camera, a Bluetooth module, and the like, which will not be described herein.
  • the memory is configured to store the instruction; the sensor is configured to detect an environmental parameter near the charging interface under the control of the processor; the lighting device is configured to be turned on under the control of the processor; and the processor is configured to execute the instruction stored in the memory to
  • the user equipment lighting control method provided in the foregoing embodiments 1 to 3 is implemented, so that when the mobile phone and the charger plug are connected, the user is provided with lighting and prompting functions according to the environmental parameters of the mobile phone and the environmental parameters of the charging interface of the user equipment.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the above-described method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Telephone Function (AREA)

Abstract

一种用户设备灯光控制方法、装置(41)及用户终端(61)。该用户设备灯光控制方法包括检测所述设备充电接口(201)附近的环境参数,其中,所述环境参数为所述用户设备充电接口(201)附近的磁场强度、所述用户设备充电接口(201)与充电器插头的距离和所述用户设备充电接口(201)附近的光线明暗程度中的至少一种(S201);当所述环境参数在预先设定的参数范围内时,开启设置在所述充电接口(201)附近的照明器件(203)(S202)。该方法可以实现在移动电话和充电器插头进行连接时根据用户设备充电接口(201)附近的环境参数为用户提供照明。

Description

用户设备灯光控制方法、 装置及用户终端
技术领域 本发明实施例涉及灯光控制技术, 尤其涉及一种用户设备灯光控制方 法、 装置及用户终端。 背景技术 移动电话等移动设备在充电时, 需要将充电器插头接入移动电话的充电 接口, 实现充电过程。
现在有一种通用串行总线(Universal Serial Bus, 简称 USB )插头, 可以 实现插头插拔时的照明。 该插头的壳体为透光体, 壳体中内置了光源, 当插 头与终端连接时, 就会打开插头上的光源, 起到装饰和照明的作用。
然而, 这种插头在未和终端连接时无法自动发光, 如果现场环境较为昏 暗, 则因为光线不足的原因, 不易将充电器插头顺利接入移动设备的充电接 口, 甚至因为强插而对充电器造成损坏。 发明内容 本发明提供了一种用户设备灯光控制方法、 装置及用户终端, 可以根 据移动电话电量与用户设备充电接口附近的环境参数控制照明器件的开 启。
第一方面, 本发明提供一种用户设备灯光控制方法, 包括: 检测用户设备充电接口附近的环境参数, 其中, 环境参数为用户设备 充电接口附近的磁场强度、用户设备充电接口与充电器插头的距离和用户 设备充电接口附近的光线明暗程度中的至少一种;
当环境参数在预先设定的参数范围内时, 开启设置在充电接口附近的 照明器件。
结合第一方面, 在第一种实施方式中, 在检测用户设备充电接口附近 的环境参数之前, 该方法还包括根据用户设备的电池电量判断是否检测用 户设备充电接口附近的环境参数;
当判断出用户设备的电池电量小于预先设定的第一阈值时, 启动检测 用户设备充电接口附近的环境参数。
结合第一方面和第一种实施方式, 在第二种实施方式中, 环境参数为 用户设备充电接口附近的磁场强度, 检测用户设备充电接口附近的环境参 数具体包括: 启动设置在用户设备充电接口附近的霍尔传感器检测用户设 备充电接口附近的磁场强度;
对应的, 当环境参数在预先设定的参数范围内, 开启设置在充电接口 附近的照明器件具体包括:
当用户设备充电接口附近的磁场强度在预先设定的参数范围内时, 霍 尔传感器输出预设开启电平值, 并开启设置在充电接口附近的照明器件。
结合第一方面和前两种实施方式, 在第三种实施方式中, 环境参数为 用户设备充电接口与充电器插头的距离, 检测用户设备充电接口附近的环 境参数具体包括: 启动设置在用户设备充电接口附近的距离传感器检测充 电接口与充电器插头的距离;
对应的, 当环境参数在预先设定的参数范围内, 开启设置在充电接口 附近的照明器件具体包括:
当充电接口与充电器插头的距离在预先设定的参数范围内时, 距离传 感器输出预设开启电平值, 以开启设置在充电接口附近的照明器件。
结合第一方面和前三种实施方式, 在第四种实施方式中, 环境参数为 用户设备充电接口附近的光线明暗程度, 检测用户设备充电接口附近的环 境参数具体包括: 启动设置在用户设备充电接口附近的光线传感器检测充 电接口附近的光线亮度;
对应的, 当环境参数在预先设定的参数范围内, 开启设置在充电接口 附近的照明器件具体包括:
当充电接口附近的光线亮度在预先设定的参数范围内时, 光线传感器 输出预设开启电平值, 以开启设置在充电接口附近的照明器件。
结合第一方面和前四种实施方式, 在第五种实施方式中, 环境参数为 用户设备充电接口附近的磁场强度、 用户设备充电接口与充电器插头的距 离和用户设备充电接口附近的光线明暗程度的至少两种的组合值, 检测用 户设备充电接口附近的环境参数具体包括: 启动设置在用户设备充电接口 附近的霍尔传感器、 距离传感器和光线传感器中的至少两种, 检测用户设 备充电接口附近的磁场强度, 充电接口与充电器插头的距离和充电接口附 近的光线亮度的至少两种;
对应的, 当环境参数在预先设定的参数范围内, 开启设置在充电接口 附近的照明器件具体包括:
用户设备充电接口附近的磁场强度, 充电接口与充电器插头的距离和 充电接口附近的光线亮度的至少两种在预先设定的参数范围内时, 根据霍 尔传感器、 距离传感器和光线传感器输出的预设开启电平值开启设置在充 电接口附近的照明器件。
结合第一方面和前五种实施方式, 在第六种实施方式中, 开启设置在 充电接口附近的照明器件之后, 还包括:
根据用户设备的电池电量和 /或用户业务信息,控制照明器件的显示颜 色、 亮度和闪烁频率中的至少一种。
结合第一方面和前六种实施方式, 在第七种实施方式中, 开启设置在 充电接口附近的照明器件之后, 还包括:
根据用户设备的充电状态、 电池电量和用户设备充电接口附近的环境 参数中的至少一个, 控制照明器件关闭, 具体包括:
若用户设备处于未充电状态的持续时间超过预先设定的第二阈值, 关 闭照明器件; 或者,
若用户设备的电池电量达到预先设定的第三阈值, 关闭照明器件; 或 者,
若用户设备处于未充电状态, 且环境参数在预先设定的参数范围外, 关闭照明器件。
第二方面, 本发明提供一种用户设备灯光控制装置, 包括:
检测模块, 用于检测用户设备充电接口附近的环境参数, 其中, 环境 参数为用户设备充电接口附近的磁场强度、 用户设备充电接口与充电器插 头的距离和用户设备充电接口附近的光线明暗程度中的至少一种;
判断模块, 用于在检测用户设备充电接口附近的环境参数之前, 根据 用户设备的电池电量判断是否检测用户设备充电接口附近的环境参数; 灯光控制模块, 用于当环境参数在预先设定的参数范围内, 开启设置 在充电接口附近的照明器件。
结合第二方面, 在第一种实施方式中, 判断模块还用于: 当判断出用 户设备的电池电量小于预先设定的第一阈值时, 启动检测用户设备充电接 口附近的环境参数。
结合第二方面和第一种实施方式, 在第二种实施方式中, 环境参数为 用户设备充电接口附近的磁场强度, 检测模块具体用于: 启动设置在用户 设备充电接口附近的霍尔传感器检测充电器插头内磁铁的磁场强度;
对应的, 灯光控制模块具体用于:
当用户设备充电接口附近的磁场强度在预先设定的参数范围内时, 霍 尔传感器输出预设开启电平值, 以开启设置在充电接口附近的照明器件。
结合第二方面和第二种实施方式, 在第三种实施方式中, 充电器插头 内还设置有磁铁。
结合第二方面和前三种实施方式, 在第四种实施方式中, 环境参数为 用户设备充电接口与充电器插头的距离, 检测模块具体用于: 启动设置在 用户设备充电接口附近的距离传感器检测充电接口与充电器插头的距离; 对应的, 当环境参数在预先设定的参数范围内, 灯光控制模块具体用 于:
当充电接口与充电器插头的距离在预先设定的参数范围内时, 距离传 感器输出预设开启电平值, 以开启设置在充电接口附近的照明器件。
结合第二方面和前四种实施方式, 在第五种实施方式中, 环境参数为 用户设备充电接口附近的光线明暗程度, 检测模块具体用于: 启动设置在 用户设备充电接口附近的光线传感器检测充电接口附近的光线亮度;
对应的, 灯光控制模块具体用于:
当充电接口附近的光线亮度在预先设定的参数范围内时, 光线传感器 输出高电平, 以开启设置在充电接口附近的照明器件。
结合第二方面和前四种实施方式, 在第五种实施方式中, 环境参数为 用户设备充电接口附近的磁场强度、 用户设备充电接口与充电器插头的距 离和用户设备充电接口附近的光线明暗程度的至少两种的组合值, 检测模 块具体用于: 启动设置在用户设备充电接口附近的霍尔传感器、距离传感器和光线 传感器中的至少两种, 检测用户设备充电接口附近的磁场强度, 充电接口 与充电器插头的距离和充电接口附近的光线亮度的至少两种;
对应的, 灯光控制模块具体用于:
用户设备充电接口附近的磁场强度, 充电接口与充电器插头的距离和 充电接口附近的光线亮度的至少两种在预先设定的参数范围内时, 根据霍 尔传感器、 距离传感器和光线传感器输出的预设开启电平值开启设置在充 电接口附近的照明器件。
结合第二方面和前五种实施方式, 在第六种实施方式中, 灯光控制模 块在开启设置在充电接口附近的照明器件之后, 还用于根据用户设备的电 池电量和 /或用户业务信息, 控制照明器件的显示颜色、亮度和闪烁频率中 的至少一种。
结合第二方面和前六种实施方式, 在第七种实施方式中, 灯光控制模 块开启设置在充电接口附近的照明器件之后, 还用于:
根据用户设备的充电状态、 电池电量和用户设备充电接口附近的环境 参数中的至少一个, 控制照明器件关闭, 具体为:
若用户设备处于未充电状态的持续时间超过预先设定的第二阈值, 关 闭照明器件; 或者
若用户设备的电池电量达到预先设定的第三阈值, 关闭照明器件; 或 者,
若用户设备处于未充电状态, 且环境参数在预先设定的参数范围内, 关闭照明器件。
第三方面, 本发明还提供一种用户终端, 包括: 处理器, 存储器; 还 包括充电接口以及设置在充电接口附近的传感器和照明器件;
存储器用于存储指令; 传感器用于在处理器的控制下检测充电接口附 近的环境参数; 照明器件用于在所述处理器的控制下开启;
处理器用于运行存储器中存储的指令以执行如上所述的用户设备灯 光控制方法。
本发明提供的用户设备灯光控制方法及设备, 检测用户设备充电接口 附近的环境参数; 当环境参数超过预先设定的参数范围时, 开启设置在充 电接口附近的照明器件, 从而在移动电话和充电器插头进行连接时, 根据 移动电话电量与用户设备充电接口附近的环境参数为用户提供照明及提 示功能。 附图说明 为了更清楚地说明本发明实施例的技术方案, 下面将对实施例描述中 所需要使用的附图做一简单地介绍, 显而易见地, 下面描述中的附图是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动 性的前提下, 还可以根据这些附图获得其他的附图。
图 1是本发明实施例一提供的用户设备灯光控制方法的流程示意图; 图 2是实施例一提供的用户设备充电接口附近设置有传感器及照明器 件的示意图;
图 3是本发明实施例二提供的用户设备灯光控制方法的流程示意图; 图 4是本发明实施例三提供的用户设备灯光控制方法的流程示意图; 图 5是本发明实施例四提供的用户设备灯光控制设备的结构示意图; 图 6是本发明实施例五提供的用户终端的结构示意图。 具体实施方式
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本 发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然,所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前提 下所获得的所有其他实施例, 都属于本发明保护的范围。
在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的, 而 非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形 式的 "一种" 、 "所述"和 "该" 也旨在包括多数形式, 除非上下文清楚 地表示其他含义。 还应当理解, 本文中使用的术语 "和 /或"是指并包含一 个或多个相关联的列出项目的任何或所有可能组合。
应当理解, 尽管在本发明实施例中可能采用术语第一、 第二、 第三等 来描述各种阈值, 但这些阈值不应限于这些术语。 这些术语仅用来将各种 阈值彼此区分开。 例如, 在不脱离本发明实施例范围的情况下, 第一阈值 也可以被称为第二阈值, 类似地, 第二阈值也可以被称为第一阈值。
取决于语境, 如在此所使用的词语 "若"可以被解释成为 "在……时" 或 "当……时" 或 "响应于确定" 或 "响应于检测" 。
图 1是本发明实施例一提供的用户设备灯光控制方法的流程示意图。 如图 1所示, 本实施例提供的用户设备灯光控制方法包括:
5101、 检测用户设备充电接口附近的环境参数, 其中, 环境参数为用 户设备充电接口附近的磁场强度、 用户设备充电接口与充电器插头的距离 和用户设备充电接口附近的光线明暗程度中的至少一种;
用户设备, 包括移动电话、 平板电脑 (Tablet Computer) 、 个人数字 助理 (Personal Digital Assistant, 简称 PDA) 以及其它便携式移动用户终 端等, 它们在自身电池的电量不足时, 需要连接在充电器上进行充电。 此 时可以通过检测用户设备的电池电量, 可以判断用户设备是否需要进行充 电操作。 因此, 可选的, 在检测用户设备充电接口附近的环境参数之前, 该方法还可以包括根据用户设备的电池电量判断是否检测用户设备充电 接口附近的环境参数。 若检测到用户设备的电池电量不足, 需要进行充电 操作时, 例如若用户设备的电池电量小于预先设定的第一阈值, 则检测用 户设备充电接口附近的环境参数。 其中, 第一阈值可以预先设定为用户设 备电池总电量某一百分比, 如总电量的 30%或 50%, 或者由用户进行自由 设定。 用户设备的充电接口可以包括通用串行总线 (Universal Serial Bus, 简称 USB ) 接口, 迷你 USB ( Mini-USB ) 接口, Micro-USB接口、 针式 充电接口或者其它电源接口等。
具体的, 该环境参数为用户设备充电接口附近的磁场强度、 用户设备 充电接口与充电器插头的距离和用户设备充电接口附近的光线明暗程度 中的至少一种。 用户设备在检测上述环境参数时, 可以利用设置于用户设 备上的不同传感器, 例如利用霍尔传感器来检测用户设备充电接口附近的 磁场强度, 利用距离传感器来检测用户设备充电接口与充电器插头的距 离, 以及利用光线传感器来检测用户设备充电接口附近的光线明暗程度。
5102、 当该环境参数在预先设定的参数范围内时, 开启设置在充电接 口附近的照明器件。 图 2是实施例一提供的用户设备充电接口附近设置有传感器及照明器 件的示意图。 如图 2所示, 用户设备的充电接口 201附近设置有用于检测环 境参数的传感器 202, 在充电接口另一侧设置有照明器件 203。 这样可以使 传感器检测充电接口附近的环境参数, 并使照明器件向充电接口一侧方向提 供照明灯光。 具体的, 当用户设备上的传感器检测到的环境参数在预先设 定的参数范围内, 即可开启设置在用户设备充电接口附近的照明器件, 使 该照明器件呈发光状态, 以提供辅助照明, 保证有足够的环境亮度以使用 户可以顺利将用户设备与充电器插头连接。
其中, 上述参数范围可以设置为某一环境参数的范围, 也可以是多个 环境参数的参数组合的范围。 当参数范围为某一环境参数的范围, 例如是 霍尔传感器检测到的磁场强度时, 当磁场强度在该范围内, 即开启设置在 用户设备充电接口附近的照明器件。 而当环境参数为距离传感器检测到的 距离时, 可将参数范围设定为 0~10厘米; 如果距离传感器检测到的距离为 5厘米时, 可知该参数在预先设定的参数范围内, 此时即可开启设置在用 户设备充电接口附近的照明器件。 当参数范围为多个环境参数的组合的范 围时, 可以根据预先设置的策略以及检测到的多个环境参数, 例如用户设 备充电接口附近的磁场强度与用户设备充电接口附近的光线明暗程度等 进行综合评估, 判断组合值的大小。 当该组合值超过了参数范围时, 即表 明用户设备充电接口距充电器插头达到了较近距离, 此时控制设置在用户 设备充电接口附近的照明器件开启。
具体的, 当环境参数为用户设备充电接口附近的磁场强度, 检测用户 设备充电接口附近的环境参数具体包括: 启动设置在用户设备充电接口附 近的霍尔传感器检测用户设备充电接口附近的磁场强度;
对应的, 当环境参数在预先设定的参数范围内, 开启设置在充电接口 附近的照明器件具体包括:
当用户设备充电接口附近的磁场强度在预先设定的参数范围内时, 霍尔 传感器输出预设开启电平值, 以开启设置在充电接口附近的照明器件。 例如 当用户设备充电接口附近的磁场强度超过某一预定值, 则霍尔传感器的输出 电平由低电平转为高电平, 此高电平即预设的开启电平值; 霍尔传感器输出 的高电平发送给用户设备的处理器后, 处理器再根据预先存储的指令控制开 启设置在充电接口附近的照明器件, 以使该照明器件呈发光状态。
具体的, 环境参数为用户设备充电接口与充电器插头的距离, 检测用 户设备充电接口附近的环境参数具体包括: 启动设置在用户设备充电接口 附近的距离传感器检测充电接口与充电器插头的距离;
对应的, 当环境参数在预先设定的参数范围内, 开启设置在充电接口 附近的照明器件具体包括:
当充电接口与充电器插头的距离在预先设定的参数范围内时, 距离传感 器输出预设开启电平值, 以开启设置在充电接口附近的照明器件。 例如当充 电接口与充电器插头的距离超过某一预定值, 则距离传感器的输出电平由低 电平转为高电平, 此高电平即预设的开启电平值; 传感器输出的高电平发送 给用户设备的处理器后, 处理器再根据预先存储的指令控制开启设置在充电 接口附近的照明器件, 以使该照明器件呈发光状态。
具体的, 环境参数为用户设备充电接口附近的光线明暗程度, 检测用 户设备充电接口附近的环境参数具体包括: 启动设置在用户设备充电接口 附近的光线传感器检测充电接口附近的光线亮度;
对应的, 当环境参数在预先设定的参数范围内, 开启设置在充电接口 附近的照明器件具体包括:
当充电接口附近的光线亮度在预先设定的参数范围内时, 光线传感器输 出预设开启电平值, 以开启设置在充电接口附近的照明器件。 例如当充电接 口附近的光线亮度超过某一预定值, 则光线传感器的输出电平由低电平转为 高电平, 此高电平即预设的开启电平值; 光线传感器输出的高电平发送给用 户设备的处理器后, 处理器再根据预先存储的指令控制开启设置在充电接口 附近的照明器件, 以使该照明器件呈发光状态。
具体的, 环境参数为用户设备充电接口附近的磁场强度、 用户设备充 电接口与充电器插头的距离和用户设备充电接口附近的光线明暗程度的 至少两种的组合值时, 检测用户设备充电接口附近的环境参数具体包括: 启动设置在用户设备充电接口附近的霍尔传感器、距离传感器和光线传感 器中的至少两种, 检测用户设备充电接口附近的磁场强度, 充电接口与充 电器插头的距离和充电接口附近的光线亮度的至少两种;
对应的, 当环境参数在预先设定的参数范围内, 开启设置在充电接口 附近的照明器件具体包括:
用户设备充电接口附近的磁场强度, 充电接口与充电器插头的距离和充 电接口附近的光线亮度的至少两种在预先设定的参数范围内时, 根据霍尔传 感器、 距离传感器和光线传感器输出的预设开启电平值开启设置在充电接口 附近的照明器件。
具体的, 开启设置在充电接口附近的照明器件之后, 还可以根据用户 设备的电池电量和 /或用户业务信息, 控制照明器件的显示颜色、亮度和闪 烁频率中的至少一种。具体的, 可以根据用户设备的电池电量和 /或用户业 务信息, 让用户设备上的照明器件显示不同的颜色、 亮度以及不同的闪烁 频率等。 其中, 用户业务信息包括用户设备接收到的来电显示、 短信息以 及网络提示信息等业务信息。
具体的, 开启设置在充电接口附近的照明器件之后, 还可以根据用户 设备的充电状态、 电池电量和用户设备充电接口附近的环境参数中的至少 一个, 控制照明器件关闭, 具体可以包括:
若用户设备处于未充电状态的持续时间超过预先设定的第二阈值, 关 闭照明器件; 或者,
若用户设备的电池电量达到预先设定的第三阈值, 关闭照明器件; 或 者,
若用户设备处于未充电状态, 且环境参数在预先设定的参数范围内, 关 闭照明器件。
本实施例中, 首先检测用户设备充电接口附近的环境参数; 当检测到的 环境参数在预先设定的参数范围内, 再开启设置在充电接口附近的照明器 件。 这样实现了在移动电话和充电器插头进行连接时, 根据移动电话电量 与用户设备充电接口附近的环境参数为用户提供照明及提示功能。
图 3是本发明实施例二提供的用户设备灯光控制方法的流程示意图。 本实施例提供了用户设备灯光的整个开启及关闭过程。 如图 3所示, 本实 施例提供的用户设备灯光控制方法包括:
S201、 检测用户设备充电接口附近的环境参数, 其中, 环境参数为用 户设备充电接口附近的磁场强度、 用户设备充电接口与充电器插头的距离和 用户设备充电接口附近的光线明暗程度中的至少一种; 具体的, 启动检测用户设备充电接口附近的环境参数之前, 还包括根 据用户设备的电池电量判断是否检测用户设备充电接口附近的环境参数; 若用户设备的电池电量小于预先设定的第一阈值, 启动检测用户设备充 电接口附近的环境参数。
以移动电话为例, 当移动电话自身电池的电量不足时, 需要将移动电 话接在充电器上进行充电。 此时通过检测移动电话的电池电量, 可以判断 移动电话是否需要进行充电操作。 以使用安卓(Android)系统的移动电话 为例, 在安卓系统中可以利用广播接收者机制 (Broadcast Receiver) , 通 过获取电池电量变化意图 (ACTION— BATTERY— CHANGED intent) , 进 而获取移动电话的当前电池状态, 或者直接接收电量低时触发的广播事件 ( ACTION— BATTERY— LOW) 。 如果检测到移动电话的电池电量小于预 先设定的第一阈值, 例如是移动电话电池总电量的 30%时, 即判断移动电 话需要进行充电操作。 此时启动设置于移动电话上的传感器, 以检测移动 电话充电接口附近的环境参数。 本实施例中, 以霍尔传感器来检测移动电 话接口侧的环境参数。 霍尔传感器是根据霍尔效应制作的一种磁场传感 器。 霍尔传感器的电压随磁场强度的变化而变化, 当磁场越强时, 电压越 高; 而磁场越弱时, 电压越低。 霍尔传感器设置在移动电话的充电接口附 近, 对应的, 在充电器插头上安装有一块小型的磁铁。 当充电器插头靠近 移动电话充电接口时, 霍尔传感器检测到的磁场随着充电器插头的靠近而 增强, 随着充电器插头的远离而减弱。
S202、 当环境参数在预先设定的参数范围内时, 开启设置在充电接口 附近的照明器件;
当充电器插头靠近移动电话充电接口一定距离时, 霍尔传感器检测到 的磁场进入之前预先设定的参数范围, 此时霍尔传感器输出的电压随磁场 增强而升高, 并输出预设开启电平值, 例如可以从低电平状态变为高电平, 并将高电平输出给移动电话的控制模块, 控制模块根据该高电平开启设置 在充电接口的照明器件。 照明器件开启后, 可在移动电话充电接口小范围 区域内提供照明, 以使用户能够看清充电器插头与移动电话充电接口的相 对位置, 从而完成充电器插头与移动电话的连接。
需要说明的是, 在上述两个歩骤中, 环境参数也可以是用户设备充电 接口与充电器插头的距离或者是用户设备充电接口附近的光线明暗程度, 此时可以检测上述两个环境参数中的一个并根据该环境参数控制照明器 件开启。
当检测用户设备充电接口与充电器插头的距离时, 可以利用距离传感 器进行检测。 距离传感器 (Proximity sensor) 也被称为接近传感器, 近距 离传感器, 距离传感器, 接近光传感器, 红外传感器等, 主要是利用各种 元件检测对象物的物理变化量, 通过将该变化量换算为距离, 来测量从传 感器到对象物的距离位移,并根据使用元件不同,分为光学式位移传感器、 线性接近传感器、 超声波位移传感器等。 移动电话使用的距离传感器是利 用测时间来实现测距离的原理, 以检测物体的距离。 启动距离传感器, 通 过发射特别短的光脉冲, 并测量此光脉冲从发射到被物体反射回来的时 间, 通过测时间来计算与物体之间的距离。 此时可以判断计算出的距离是 否进入预设距离参数范围, 如 10厘米之内, 如果是, 则表示充电器插头靠 近移动电话充电接口的距离很近, 此时传感器输出对应的预设开启电平 值, 并控制照明器件开启。
当检测用户设备充电接口附近的光线明暗程度时, 可以利用光线传感 器检测当前的环境光线, 如果光线传感器检测到的当前环境亮度小于预定 亮度阈值时, 可输出不同预设开启电平值, 例如是高电平, 并控制照明器 件开启。
特别的, 当用户设备自身电量不足而导致关机时, 仍可利用关机后微 弱的关机电流或者是用户设备内备用的电池进行供电, 从而进行环境参数 的检测以及照明器件的开启。 此时可以利用协处理器或传感器中枢 ( Sensor Hub ) 收集传感器数据及控制照明器件开启。 因为协处理器及传 感器中枢只需要微弱电流即可维持运行, 所以在用户设备关机后仍旧可以 继续工作。
S203、根据用户设备的电池电量和 /或用户业务信息,控制照明器件的 显示颜色、 亮度和闪烁频率中的至少一种;
当充电器插头与移动电话完成连接后, 移动电话为充电状态, 此时照 明器件的灯光可由辅助照明灯光转换为提示灯光。 该提示灯光可以具有多 种颜色及闪烁频率。可以根据用户设备的电池电量和 /或用户业务信息, 控 制照明器件的显示颜色、 亮度和闪烁频率中的至少一种。 例如当移动电话 的电池电量为 50%以下时, 照明器件显示的灯光颜色为红色, 并且呈每秒 一闪的急速闪烁状态; 而当移动电话的电量为 50~70%之间时, 照明器件 的灯光颜色为黄色, 并间隔数秒闪烁一次; 当移动电话电量达到 95%之上 时, 照明器件的灯光为绿色常亮。 这样用户可以通过照明器件显示的灯光 颜色、 亮度和闪烁频率等信息获知移动电话的电池电量情况。 而当移动电 话有短信或者未接来电等用户的业务信息时, 照明器件也可有不同的显示 颜色、 亮度和闪烁频率, 例如在有未读信息时, 照明器件显示的灯光可为 蓝色, 并间隔数秒闪烁一次; 而当有未接来电时, 照明器件显示的是每秒 一闪的橙色灯光, 用户由此可知移动电话有未接来电或者未读的短信息, 并根据照明器件显示的不同予以区分, 从而获知业务信息的重要性。 不同 的电量情况以及用户业务信息所对应的显示颜色、 亮度和闪烁频率可由用 户根据需要而调整设定。
可选的, 还可以根据用户设备接收到的信息, 如来电显示、 运营商短 信或者网络信息等控制照明器件的显示颜色、 亮度和闪烁频率的至少一 宗, 例如当移动电话等用户设备接收到短信后, 照明器件可显示蓝色的闪 烁灯光以提示用户查看短信。
S204、 根据用户设备的充电状态、 电池电量和用户设备充电接口附近 的环境参数中的至少一个, 控制照明器件关闭。
具体的, 若移动电话处于未充电状态的持续时间超过预先设定的第二 阈值, 可能是用户误将移动电话放置于充电器插头附近, 此时如果移动电 话处于未充电状态, 并且此状态的持续时间超过预先设定的第二阈值, 例 如 1分钟时, 控制照明器件关闭, 以节省移动电话的电池电量。
若移动电话的电池电量达到预先设定的第三阈值时, 例如移动电话的 电池电量达到了总电量的 98%, 此时可认为移动电话电池已经充满, 并关 闭照明器件。
若移动电话处于未充电状态, 且环境参数在预先设定的参数范围内, 此 时对应的场景为移动电话又远离了充电器接口, 这时同样不需要为移动电话 充电接口附近提供照明, 故关闭照明器件。
本实施例中, 首先检测用户设备充电接口附近的环境参数; 当环境参数 在预先设定的参数范围内时, 再开启设置在充电接口附近的照明器件, 然 后根据用户设备的电池电量,控制照明器件的显示颜色、亮度和闪烁频率; 最后根据用户设备的充电状态、 电池电量和用户设备充电接口附近的环境 参数中的至少一个, 控制照明器件关闭。 这样实现了在移动电话和充电器 插头进行连接时, 根据移动电话电量与用户设备充电接口附近的环境参数 为用户提供照明及提示功能。
图 4是本发明实施例三提供的用户设备灯光控制方法的流程示意图。 本实施例对应用户设备设置多个传感器, 并根据检测到的多个环境参数开 启设置在充电接口附近的照明器件的实施场景。 如图 4所示, 本发明实施 例三包括:
5301、 检测用户设备充电接口附近的环境参数, 该环境参数为用户设 备充电接口附近的磁场强度、用户设备充电接口与充电器插头的距离和用 户设备充电接口附近的光线明暗程度中的至少两种;
5302、 当环境参数在预先设定的参数范围内, 开启设置在充电接口附 近的照明器件。
具体的, 环境参数为用户设备充电接口附近的磁场强度、 用户设备充 电接口与充电器插头的距离和用户设备充电接口附近的光线明暗程度的 至少两种的组合值时, 检测用户设备充电接口附近的环境参数具体包括: 启动设置在用户设备充电接口附近的霍尔传感器、距离传感器和光线传感 器中的至少两种, 检测用户设备充电接口附近的磁场强度, 充电接口与充 电器插头的距离和充电接口附近的光线亮度的至少两种;
对应的, 当环境参数在预先设定的参数范围内, 开启设置在充电接口 附近的照明器件具体包括:
用户设备充电接口附近的磁场强度, 充电接口与充电器插头的距离和充 电接口附近的光线亮度的至少两种在预先设定的参数范围内时, 根据霍尔传 感器、 距离传感器和光线传感器输出的预设开启电平值开启设置在充电接口 附近的照明器件。
上述歩骤 S301和 S302和前述实施例二类似, 此处不再赘述。 不同之处 在于, 本实施例中, 在检测用户设备充电接口附近的环境参数时, 会检测 用户设备充电接口附近的多种环境参数, 包括用户设备充电接口附近的磁 场强度、 用户设备充电接口与充电器插头的距离和用户设备充电接口附近 的光线明暗程度中的至少两种。 同时, 参数范围为多个环境参数的组合的 范围, 此时可以根据预先设置的策略以及检测到的多个环境参数, 例如用 户设备充电接口附近的磁场强度与用户设备充电接口附近的光线明暗程 度等进行综合评估, 判断环境参数的大小。 当用户设备充电接口附近的磁 场强度, 充电接口与充电器插头的距离和充电接口附近的光线亮度的至少两 种在预先设定的参数范围内时, 即表明用户设备充电接口距充电器插头达 到了较近距离, 此时控制设置在用户设备充电接口附近的照明器件开启。 或者, 也可以根据用户设备充电接口与充电器插头的距离和用户设备充电接 口附近的光线明暗程度的组合进行判断, 例如用户直接将手遮挡于用户设备 充电接口附近时, 距离传感器感应到的距离以及充电接口一侧的光线明暗都 处于预先设定的参数范围内, 此时即可开启照明器件的灯光。
本实施例中, 首先检测用户设备充电接口附近的多个环境参数; 当环境 参数的组合值在预先设定的参数范围内, 再开启设置在充电接口附近的照 明器件, 然后根据用户设备的电池电量, 控制照明器件的显示颜色、亮度、 和闪烁频率; 最后根据用户设备的充电状态、 电池电量和用户设备充电接 口附近的环境参数中的至少一个, 控制照明器件关闭。 这样实现了在移动 电话和充电器插头进行连接时, 根据移动电话电量与用户设备充电接口附 近的环境参数为用户提供照明及提示功能。
图 5是本发明实施例四提供的用户设备灯光控制设备的结构示意图。 如图 5所示, 本实施例提供的用户设备灯光控制设备 41包括:
检测模块 401, 用于检测用户设备充电接口附近的环境参数, 其中, 环境参数为用户设备充电接口附近的磁场强度、用户设备充电接口与充电 器插头的距离和用户设备充电接口附近的光线明暗程度中的至少一种; 判断模块 402, 用于在检测用户设备充电接口附近的环境参数之前, 根据用户设备的电池电量判断是否检测用户设备充电接口附近的环境参 数;
灯光控制模块 403, 用于当环境参数在预先设定的参数范围内, 开启 设置在充电接口附近的照明器件。
具体的, 判断模块 402还用于当判断出所述用户设备的电池电量小于 预先设定的第一阈值时, 启动检测所述用户设备充电接口附近的环境参 数。
具体的, 当环境参数为用户设备充电接口附近的磁场强度时, 检测模 块 401具体用于: 启动设置在用户设备充电接口附近的霍尔传感器检测充 电器插头内磁铁的磁场强度;
对应的, 此时充电器插头内还设置有磁铁;
对应的, 灯光控制模块 403具体用于:
当用户设备充电接口附近的磁场强度在预先设定的参数范围内时, 霍 尔传感器输出预设开启电平值, 以开启设置在充电接口附近的照明器件。
具体的, 当环境参数为用户设备充电接口与充电器插头的距离时, 检 测模块 401具体用于: 启动设置在用户设备充电接口附近的距离传感器检 测充电接口与充电器插头的距离;
对应的, 灯光控制模块 403具体用于:
当充电接口与充电器插头的距离在预先设定的参数范围内时, 距离传 感器输出预设开启电平值, 以开启设置在充电接口附近的照明器件。
具体的, 当环境参数为用户设备充电接口附近的光线明暗程度时, 检 测模块 401具体用于: 启动设置在用户设备充电接口附近的光线传感器检 测充电接口附近的光线亮度;
对应的灯光控制模块 403具体用于:
当充电接口附近的光线亮度在预先设定的参数范围内时, 光线传感器 输出预设开启电平值, 以开启设置在充电接口附近的照明器件。
具体的, 环境参数为用户设备充电接口附近的磁场强度、 用户设备充 电接口与充电器插头的距离和用户设备充电接口附近的光线明暗程度的 至少两种的组合值, 检测模块 401具体用于:
启动设置在用户设备充电接口附近的霍尔传感器、距离传感器和光线 传感器中的至少两种, 检测用户设备充电接口附近的磁场强度, 充电接口 与充电器插头的距离和充电接口附近的光线亮度的至少两种;
对应的, 灯光控制模块 403具体用于:
用户设备充电接口附近的磁场强度, 充电接口与充电器插头的距离和 充电接口附近的光线亮度的至少两种在预先设定的参数范围内时, 根据霍 尔传感器、 距离传感器和光线传感器输出的预设开启电平值开启设置在所 述充电接口附近的照明器件。
具体的, 灯光控制模块 403在开启设置在充电接口附近的照明器件之 后, 还用于根据用户设备的电池电量和 /或用户业务信息, 控制照明器件的 显示颜色、 亮度和闪烁频率中的至少一种。
具体的, 灯光控制模块 403开启设置在所述充电接口附近的照明器件 之后, 还用于:
根据用户设备的充电状态、 电池电量和用户设备充电接口附近的环境 参数中的至少一个, 控制照明器件关闭。
具体的, 灯光控制模块 403还用于:
若用户设备处于未充电状态的持续时间超过预先设定的第二阈值, 关 闭照明器件; 或者
若用户设备的所述电池电量达到预先设定的第三阈值, 关闭照明器 件; 或者,
若用户设备处于未充电状态, 且环境参数在预先设定的参数范围外, 关闭照明器件。
本实施例中, 判断模块用于检测用户设备的电池电量; 检测模块用于 检测用户设备充电接口附近的环境参数, 灯光控制模块用于当环境参数在 预先设定的参数范围内时, 开启设置在充电接口附近的照明器件。 这样实 现了在移动电话和充电器插头进行连接时, 根据移动电话电量与用户设备 充电接口附近的环境参数为用户提供照明及提示功能。
现举用户终端的一个例子进行具体的说明。 应该理解的是, 图示用户 终端 600仅仅是移动终端的一个范例, 并且用户终端 600可以具有比图中 所示出的更过的或者更少的部件, 可以组合两个或更多的部件, 或者可以 具有不同的部件配置。 图中所示出的各种部件可以在包括一个或多个信号 处理和 /或专用集成电路在内的硬件、 软件、 或硬件和软件的组合中实现。
图 6是本发明实施例五提供的用户终端的结构示意图。 如图 6所示, 本 本实施例提供了一种用户终端, 包括:
一种用户终端 61, 其特征在于, 包括: 处理器 601, 存储器 602 ; 还 包括充电接口 603以及设置在充电接口 603附近的传感器 604和照明器件 605;
此外, 用户终端 61还包括了射频 (Radio Frequency , 简称 RF) 电路 606、 输入单元 607、 显示单元 608、 音频电路 609、 无线保真 (wire less f ide l ity , 简称 WiFi)模块 610、 以及电源 611等部件。
处理器 601用于运行存储器 602中存储的指令以执行实施例一至三中 所提供的用户设备灯光控制方法。 处理器 601是用户终端 61的控制中心, 利 用各种接口和线路连接整个手机的各个部分, 通过运行或执行存储在存储器 602内的软件程序和 /或模块, 以及调用存储在存储器 602内的数据, 执行用 户终端 61的各种功能和处理数据, 从而对手机进行整体监控。 可选的, 处理 器 601可包括一个或多个处理单元; 优选的, 处理器 601可集成应用处理器和 调制解调处理器, 其中, 应用处理器主要处理操作系统、 用户界面和应用程 序等, 调制解调处理器主要处理无线通信。 可以理解的是, 上述调制解调处 理器也可以不集成到处理器 601中。
具体的, 处理器 601的工作方式如下: 首先运行存储器 602中存储的指 令, 以检测用户终端 61的电池电量, 如果用户终端 61的电池电量小于预先 设定的第一阈值, 则处理器 601控制传感器 604开启, 传感器 604检测充电 接口 603—侧的环境参数, 当检测到的环境参数在预先设定的参数范围内 时, 处理器 601控制设置在充电接口 603侧的照明器件 605开启, 可在用户 进行用户终端和充电器插头的连接时提供照明。
存储器 602用于存储指令; 具体的, 存储器 602的存储对象包括软件 程序以及模块, 处理器 601通过运行存储在存储器 602的软件程序以及模 块, 从而执行用户终端 61 的各种功能应用以及数据处理。 存储器 602可 主要包括存储程序区和存储数据区, 其中, 存储程序区可存储操作系统、 至少一个功能所需的应用程序(比如声音播放功能、 图象播放功能等)等; 存储数据区可存储根据用户终端 61的使用所创建的数据(比如音频数据、 电话本等) 等。 此外, 存储器 602可以包括高速随机存取存储器, 还可以 包括非易失性存储器, 例如至少一个磁盘存储器件、 闪存器件、 或其他易 失性固态存储器件。
充电接口 603和充电机插头进行连接, 用于给用户终端 61进行充电 操作。 设置在充电接口 603附近的传感器 604用于在处理器的控制下检测充电接 口附近的环境参数。 例如霍尔传感器、 距离传感器和光线传感器等。 其中霍 尔传感器用于检测用户设备充电接口附近的磁场强度, 距离传感器也称为接 近传感器, 用于检测充电接口与充电器插头的距离, 光线传感器用于检测充 电接口附近的光线亮度。
除了上述用途外, 光线传感器还可根据环境光线的明暗来调节显示面板 6081的亮度, 距离传感器还可在用户终端 61移动到耳边时, 关闭显示面板 6081和 /或背光。 此外,用户设备 61还可包括其它至少一种传感器, 比如运动 传感器以及其他传感器。 具体地, 作为运动传感器的一种, 加速计传感器可 检测各个方向上 (一般为三轴) 加速度的大小, 静止时可检测出重力的大小 及方向, 可用于识别手机姿态的应用 (比如横竖屏切换、 相关游戏、 磁力计 姿态校准) 、 振动识别相关功能 (比如计歩器、 敲击) 等; 至于用户终端 61 还可配置的陀螺仪、 气压计、 湿度计、 温度计、 红外线传感器等其他传感 器, 在此不再赘述。
照明器件 605用于在处理器 601的控制下开启。具体的,照明器件 605 可以包括用于照明的照明灯组件 6051 与用于进行提示的提示灯组件 6052。照明器件 605可以是发光二极管(light emitting diode, 简称 LED )、 荧光材料或者可以透光的透明材料做成的灯光器件等。
RF电路 606可用于收发信息或通话过程中, 信号的接收和发送, 特别地, 将基站的下行信息接收后, 给处理器 601处理; 另外, 将设计上行的数据发送 给基站。 通常, RF电路包括但不限于天线、 至少一个放大器、 收发信机、 耦 合器、 低噪声放大器 ( Low Noise Ampl ifier , 简称 LNA) 、 双工器等。 此外, RF电路 606还可以通过无线通信与网络和其他设备通信。所述无线通信可以使 用任一通信标准或协议, 包括但不限于全球移动通讯系统(Global System of Mobi le communicat ion,简称 GSM)、通用分组无线月艮务 (General Packet Radio Service ,简称 GPRS)、码分多址(Code Division Multiple Access ,简称 CDMA)、 宽带码分多址(Wideband Code Division Multiple Access,简称 WCDMA)、 长 期演进(Long Term Evolution,简称 LTE)、 电子邮件、 短消息服务(Short Messaging Service , 简禾尔 SMS)等。
输入单元 607可用于接收输入的数字或字符信息, 以及产生与用户终端 61 的用户设置以及功能控制有关的键信号输入。具体地, 输入单元 607可包括触 控面板 6071以及其他输入设备 6072。 触控面板 6071, 也称为触摸屏, 可收集 用户在其上或附近的触摸操作 (比如用户使用手指、 触笔等任何适合的物体 或附件在触控面板 6071上或在触控面板 6071附近的操作) , 并根据预先设定 的程式驱动相应的连接装置。 可选的, 触控面板 6071可包括触摸检测装置和 触摸控制器两个部分。 其中, 触摸检测装置检测用户的触摸方位, 并检测触 摸操作带来的信号, 将信号传送给触摸控制器; 触摸控制器从触摸检测装置 上接收触摸信息, 并将它转换成触点坐标, 再送给处理器 601, 并能接收处理 器 601发来的命令并加以执行。 此外, 可以采用电阻式、 电容式、 红外线以及 表面声波等多种类型实现触控面板 6071。 除了触控面板 6071, 输入单元 607 还可以包括其他输入设备 6072。 具体地, 其他输入设备 6072可以包括但不限 于物理键盘、 功能键 (比如音量控制按键、 开关按键等) 、 轨迹球、 鼠标、 操作杆等中的一种或多种。
显示单元 608可用于显示由用户输入的信息或提供给用户的信息以及用 户终端 61的各种菜单。 显示单元 608可包括显示面板 6081, 可选的, 可以采用 液晶显示器 (Liquid Crystal Display,简称 LCD)、有机发光二极管 (Organic Light-Emitting Diode,简称 0LED)等形式来配置显示面板 6081。 进一歩的, 触控面板 6071可覆盖显示面板 6081, 当触控面板 6071检测到在其上或附近的 触摸操作后, 传送给处理器 601以确定触摸事件的类型, 随后处理器 601根据 触摸事件的类型在显示面板 6081上提供相应的视觉输出。 虽然在图中触控面 板 6071与显示面板 6081是作为两个独立的部件来实现用户终端 61的输入和输 入功能, 但是在某些实施例中, 可以将触控面板 6071与显示面板 6081集成而 实现用户终端 61的输入和输出功能。
音频电路 609、 扬声器 6091, 麦克风 6092可提供用户与用户终端 61之间的 音频接口。音频电路 609可将接收到的音频数据转换后的电信号, 传输到扬声 器 6091, 由扬声器 6091转换为声音信号输出; 另一方面, 麦克风 6092将收集 的声音信号转换为电信号, 由音频电路 609接收后转换为音频数据, 再将音频 数据输出至 RF电路 606以发送给比如另一手机,或者将音频数据输出至存储器 602以便进一歩处理。
WiFi属于短距离无线传输技术, 用户终端 61通过 WiFi模块 610可以帮助 用户收发电子邮件、 浏览网页和访问流式媒体等, 它为用户提供了无线的宽 带互联网访问。 虽然图中示出了 WiFi模块 610, 但是可以理解的是, 其并不 属于用户终端 61的必须构成, 完全可以根据需要在不改变发明的本质的范围 内而省略。
用户终端 61还包括给各个部件供电的电源 611 (比如电池) , 优选的, 电 源可以通过电源管理系统与处理器 601逻辑相连,从而通过电源管理系统实现 管理充电、 放电、 以及功耗等功能。
尽管未示出, 用户终端 61还可以包括摄像头、 蓝牙模块等, 在此不再赘 述。
本实施例中, 存储器用于存储指令; 传感器用于在处理器的控制下检 测充电接口附近的环境参数; 照明器件用于在处理器的控制下开启; 处理 器用于运行存储器中存储的指令以执行前述实施例一至三所提供的用户 设备灯光控制方法, 这样实现了在移动电话和充电器插头进行连接时, 根 据移动电话电量与用户设备充电接口附近的环境参数为用户提供照明及 提示功能。
本领域普通技术人员可以理解: 实现上述各方法实施例的全部或部分 歩骤可以通过程序指令相关的硬件来完成。 前述的程序可以存储于一计算 机可读取存储介质中。 该程序在执行时, 执行包括上述各方法实施例的歩 骤; 而前述的存储介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存 储程序代码的介质。
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非 对其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的 普通技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进 行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或 者替换, 并不使相应技术方案的本质脱离本发明各实施例技术方案的范 围。

Claims

权 利 要 求 书
1、 一种用户设备灯光控制方法, 其特征在于, 包括:
检测用户设备充电接口附近的环境参数, 其中, 所述环境参数为所述 用户设备充电接口附近的磁场强度、 所述用户设备充电接口与充电器插头 的距离和所述用户设备充电接口附近的光线明暗程度中的至少一种; 当所述环境参数在预先设定的参数范围内时, 开启设置在所述充电接 口附近的照明器件。
2、 根据权利要求 1 所述的方法, 其特征在于, 在所述检测所述用户 设备充电接口附近的环境参数之前, 该方法还包括:
根据所述用户设备的电池电量判断是否检测所述用户设备充电接口 附近的环境参数;
当判断出所述用户设备的电池电量小于预先设定的第一阈值时, 检测 所述用户设备充电接口附近的环境参数。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述环境参数为 所述用户设备充电接口附近的磁场强度, 所述检测所述用户设备充电接口 附近的环境参数具体包括: 启动设置在所述用户设备充电接口附近的霍尔 传感器检测所述用户设备充电接口附近的磁场强度;
对应的, 所述当所述环境参数在预先设定的参数范围内, 开启设置在 所述充电接口附近的照明器件具体包括:
当所述用户设备充电接口附近的磁场强度在预先设定的参数范围内 时, 所述霍尔传感器输出预设开启电平值, 并开启设置在所述充电接口附 近的照明器件。
4、 根据权利要求 1或 2所述的方法, 其特征在于, 所述环境参数为 所述用户设备充电接口与充电器插头的距离, 所述检测所述用户设备充电 接口附近的环境参数具体包括: 启动设置在所述用户设备充电接口附近的 距离传感器检测所述充电接口与充电器插头的距离;
对应的, 所述当所述环境参数在预先设定的参数范围内, 开启设置在 所述充电接口附近的照明器件具体包括:
当所述充电接口与充电器插头的距离在预先设定的参数范围内时, 所 述距离传感器输出预设开启电平值, 以开启设置在所述充电接口附近的照 明器件。
5、 根据权利要求 1或 2所述的方法, 其特征在于, 所述环境参数为 所述用户设备充电接口附近的光线明暗程度, 所述检测所述用户设备充电 接口附近的环境参数具体包括: 启动设置在所述用户设备充电接口附近的 光线传感器检测所述充电接口附近的光线亮度;
对应的, 所述当所述环境参数在预先设定的参数范围内, 开启设置在 所述充电接口附近的照明器件具体包括:
当所述充电接口附近的光线亮度在预先设定的参数范围内时, 所述光 线传感器输出预设开启电平值, 以开启设置在所述充电接口附近的照明器 件。
6、 根据权利要求 1或 2所述的方法, 其特征在于, 所述环境参数为 所述用户设备充电接口附近的磁场强度、所述用户设备充电接口与充电器 插头的距离和所述用户设备充电接口附近的光线明暗程度的至少两种的 组合值, 所述检测所述用户设备充电接口附近的环境参数具体包括: 启动 设置在所述用户设备充电接口附近的霍尔传感器、距离传感器和光线传感 器中的至少两种, 检测所述用户设备充电接口附近的磁场强度, 所述充电 接口与充电器插头的距离和所述充电接口附近的光线亮度的至少两种; 对应的, 所述当所述环境参数在预先设定的参数范围内, 开启设置在 所述充电接口附近的照明器件具体包括:
所述用户设备充电接口附近的磁场强度, 所述充电接口与充电器插头 的距离和所述充电接口附近的光线亮度的至少两种在预先设定的参数范 围内时, 根据所述霍尔传感器、 距离传感器和光线传感器输出的预设开启 电平值开启设置在所述充电接口附近的照明器件。
7、 根据权利要求 1~6任一项所述的方法, 其特征在于, 所述开启设 置在所述充电接口附近的照明器件之后, 还包括:
根据所述用户设备的电池电量和 /或用户业务信息,控制所述照明器件 的显示颜色、 亮度和闪烁频率中的至少一种。
8、 根据权利要求 \〜Ί任一项所述的方法, 其特征在于, 所述开启设 置在所述充电接口附近的照明器件之后, 还包括:
根据所述用户设备的充电状态、 电池电量和所述用户设备充电接口附 近的环境参数中的至少一个, 控制所述照明器件关闭, 具体包括: 若所述用户设备处于未充电状态的持续时间超过预先设定的第二阈 值, 关闭所述照明器件; 或者,
若所述用户设备的电池电量达到预先设定的第三阈值, 关闭所述照明 器件; 或者,
若所述用户设备处于未充电状态, 且所述环境参数在预先设定的参数 范围外, 关闭所述照明器件。
9、 一种用户设备灯光控制装置, 其特征在于, 包括:
检测模块, 用于检测用户设备充电接口附近的环境参数, 其中, 所述 环境参数为所述用户设备充电接口附近的磁场强度、所述用户设备充电接 口与充电器插头的距离和所述用户设备充电接口附近的光线明暗程度中 的至少一种;
判断模块, 用于在所述检测所述用户设备充电接口附近的环境参数之 前, 根据所述用户设备的电池电量判断是否检测所述用户设备充电接口附 近的环境参数;
灯光控制模块, 用于当所述环境参数在预先设定的参数范围内, 开启 设置在所述充电接口附近的照明器件。
10、 根据权利要求 9所述的用户设备灯光控制装置, 其特征在于, 判 断模块还用于:
当判断出所述用户设备的电池电量小于预先设定的第一阈值时, 启动 检测所述用户设备充电接口附近的环境参数。
11、 根据权利要求 9或 10所述的用户设备灯光控制装置, 其特征在 于, 所述环境参数为所述用户设备充电接口附近的磁场强度, 所述检测模 块具体用于: 启动设置在所述用户设备充电接口附近的霍尔传感器检测充 电器插头内磁铁的磁场强度;
对应的, 所述灯光控制模块具体用于:
当所述用户设备充电接口附近的磁场强度在预先设定的参数范围内 时, 所述霍尔传感器输出预设开启电平值, 以开启设置在所述充电接口附 近的照明器件。
12、 根据权利要求 11 所述的用户设备灯光控制装置, 其特征在于, 所述充电器插头内还设置有磁铁。
13、 根据权利要求 9或 10所述的用户设备灯光控制装置, 其特征在 于, 所述环境参数为所述用户设备充电接口与充电器插头的距离, 所述检 测模块具体用于: 启动设置在所述用户设备充电接口附近的距离传感器检 测所述充电接口与充电器插头的距离;
对应的, 所述灯光控制模块具体用于:
当所述充电接口与充电器插头的距离在预先设定的参数范围内时, 所 述距离传感器输出预设开启电平值, 以开启设置在所述充电接口附近的照 明器件。
14、 根据权利要求 9或 10所述的用户设备灯光控制装置, 其特征在 于, 所述环境参数为所述用户设备充电接口附近的光线明暗程度, 所述检 测模块具体用于: 启动设置在所述用户设备充电接口附近的光线传感器检 测所述充电接口附近的光线亮度;
对应的, 所述灯光控制模块具体用于:
当所述充电接口附近的光线亮度在预先设定的参数范围内时, 所述光 线传感器输出预设开启电平值, 以开启设置在所述充电接口附近的照明器 件。
15、 根据权利要求 9或 10所述的用户设备灯光控制装置, 其特征在 于, 所述环境参数为所述用户设备充电接口附近的磁场强度、 所述用户设 备充电接口与充电器插头的距离和所述用户设备充电接口附近的光线明 暗程度的至少两种的组合值, 所述检测模块具体用于:
启动设置在所述用户设备充电接口附近的霍尔传感器、 距离传感器和 光线传感器中的至少两种, 检测所述用户设备充电接口附近的磁场强度, 所述充电接口与充电器插头的距离和所述充电接口附近的光线亮度的至 少两种;
对应的, 所述灯光控制模块具体用于:
所述用户设备充电接口附近的磁场强度, 所述充电接口与充电器插头 的距离和所述充电接口附近的光线亮度的至少两种在预先设定的参数范 围内时, 根据所述霍尔传感器、 距离传感器和光线传感器输出的预设开启 电平值开启设置在所述充电接口附近的照明器件。
16、 根据权利要求 9~15任一项所述的用户设备灯光控制装置, 其特 征在于, 所述灯光控制模块在开启设置在所述充电接口附近的照明器件之 后, 还用于根据所述用户设备的电池电量和 /或用户业务信息, 控制所述照 明器件的显示颜色、 亮度和闪烁频率中的至少一种。
17、 根据权利要求 9~16任一项所述的用户设备灯光控制装置, 其特 征在于, 所述灯光控制模块开启设置在所述充电接口附近的照明器件之 后, 还用于:
根据所述用户设备的充电状态、 电池电量和所述用户设备充电接口附 近的环境参数中的至少一个, 控制所述照明器件关闭, 具体包括:
若所述用户设备处于未充电状态的持续时间超过预先设定的第二阈 值, 关闭所述照明器件; 或者
若所述用户设备的所述电池电量达到预先设定的第三阈值, 关闭所述 照明器件; 或者,
若所述用户设备处于未充电状态, 且所述环境参数在预先设定的参数 范围外, 关闭所述照明器件。
18、 一种用户终端, 其特征在于, 包括: 处理器, 存储器; 还包括充 电接口以及设置在所述充电接口附近的传感器和照明器件;
所述存储器用于存储指令; 所述传感器用于在所述处理器的控制下检 测所述充电接口附近的环境参数; 所述照明器件用于在所述处理器的控制 下开启;
所述处理器用于运行所述存储器中存储的指令以执行权利要求 1~8任 一项所述的用户设备灯光控制方法。
19、 根据权利要求 18所述的用户终端, 其特征在于, 所述传感器为 用于检测所述用户设备充电接口附近的磁场强度的霍尔传感器、用于检测 所述用户设备充电接口与充电器插头距离的距离传感器和用于检测所述 用户设备充电接口附近的光线明暗程度的光线传感器。
PCT/CN2014/080640 2014-06-24 2014-06-24 用户设备灯光控制方法、装置及用户终端 WO2015196371A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/CN2014/080640 WO2015196371A1 (zh) 2014-06-24 2014-06-24 用户设备灯光控制方法、装置及用户终端
US14/899,664 US20170094048A1 (en) 2014-06-24 2014-06-24 Light control method and apparatus for user equipment, and user terminal
CN201480003422.2A CN104871393B (zh) 2014-06-24 2014-06-24 用户设备灯光控制方法、装置及用户终端
EP14895488.6A EP3002933B1 (en) 2014-06-24 2014-06-24 User terminal light control method and corresponding apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/080640 WO2015196371A1 (zh) 2014-06-24 2014-06-24 用户设备灯光控制方法、装置及用户终端

Publications (1)

Publication Number Publication Date
WO2015196371A1 true WO2015196371A1 (zh) 2015-12-30

Family

ID=53915192

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/080640 WO2015196371A1 (zh) 2014-06-24 2014-06-24 用户设备灯光控制方法、装置及用户终端

Country Status (4)

Country Link
US (1) US20170094048A1 (zh)
EP (1) EP3002933B1 (zh)
CN (1) CN104871393B (zh)
WO (1) WO2015196371A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438778A (zh) * 2021-07-19 2021-09-24 北京小米移动软件有限公司 便携式终端及其充电导引方法与装置、存储介质

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713599A (zh) * 2015-07-28 2017-05-24 中兴通讯股份有限公司 终端照明应用控制方法、装置及终端
CN106549271B (zh) * 2015-09-18 2020-04-07 宇龙计算机通信科技(深圳)有限公司 接口对接方法及装置
CN106021158A (zh) * 2016-04-29 2016-10-12 青岛海信移动通信技术股份有限公司 一种移动设备的接口处理方法和装置
CN106527952A (zh) * 2016-11-12 2017-03-22 宇龙计算机通信科技(深圳)有限公司 一种照明方法及移动终端
CN106774683A (zh) * 2016-12-30 2017-05-31 深圳天珑无线科技有限公司 Usb接口结构、终端和充电提示方法
KR20180088099A (ko) * 2017-01-26 2018-08-03 삼성전자주식회사 전자 장치에 있어서 광 검출 장치 및 방법
CN106816927A (zh) * 2017-02-08 2017-06-09 捷开通讯(深圳)有限公司 提供照明的移动终端
CN106937462A (zh) * 2017-03-21 2017-07-07 珠海市魅族科技有限公司 一种终端指示灯的控制方法和终端
CN107451079B (zh) * 2017-08-09 2020-12-08 合肥联宝信息技术有限公司 一种电子设备的线路识别方法及装置
USD914024S1 (en) * 2018-03-26 2021-03-23 Huawei Technologies Co., Ltd. Display screen for telephone
KR102684874B1 (ko) * 2019-09-16 2024-07-16 삼성전자주식회사 충전 개시 시 충전 상황을 표시하기 위한 방법, 이를 위한 전자 장치 및 저장 매체
CN112153217B (zh) * 2020-09-17 2022-06-10 Oppo广东移动通信有限公司 终端、屏幕状态控制方法、计算机设备和存储介质
CN112333904B (zh) * 2020-11-16 2023-06-27 深圳真科电子有限公司 一种智能家居照明控制方法及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6639382B1 (en) * 2002-07-27 2003-10-28 Eagle Fan Mobile phone charger with automatic light
CN201160105Y (zh) * 2007-11-19 2008-12-03 米兰 带照明灯的手机充电器
CN201167120Y (zh) * 2008-03-11 2008-12-17 深圳华为通信技术有限公司 充电装置
CN103022832A (zh) * 2012-12-27 2013-04-03 苏州久三智能科技有限公司 一种带照明功能的手机充电插头
CN103379198A (zh) * 2012-04-17 2013-10-30 三星电子株式会社 使用便携式终端的方法和装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070016202A (ko) * 2005-08-02 2007-02-07 주식회사 팬택 발광 수단이 구비된 이동통신단말기
CN101432604B (zh) * 2006-05-18 2013-03-13 罗姆股份有限公司 照度传感器和电子设备
EP2418830B1 (en) * 2010-08-13 2013-04-03 Research In Motion Limited Near-field communication (NFC) system providing plug-in device connection assistance features and related methods
US9244492B2 (en) * 2013-09-09 2016-01-26 Apple Inc. Docking station with audio output

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6639382B1 (en) * 2002-07-27 2003-10-28 Eagle Fan Mobile phone charger with automatic light
CN201160105Y (zh) * 2007-11-19 2008-12-03 米兰 带照明灯的手机充电器
CN201167120Y (zh) * 2008-03-11 2008-12-17 深圳华为通信技术有限公司 充电装置
CN103379198A (zh) * 2012-04-17 2013-10-30 三星电子株式会社 使用便携式终端的方法和装置
CN103022832A (zh) * 2012-12-27 2013-04-03 苏州久三智能科技有限公司 一种带照明功能的手机充电插头

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3002933A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438778A (zh) * 2021-07-19 2021-09-24 北京小米移动软件有限公司 便携式终端及其充电导引方法与装置、存储介质

Also Published As

Publication number Publication date
EP3002933A4 (en) 2016-09-14
EP3002933A1 (en) 2016-04-06
US20170094048A1 (en) 2017-03-30
EP3002933B1 (en) 2019-11-06
CN104871393B (zh) 2018-06-05
CN104871393A (zh) 2015-08-26

Similar Documents

Publication Publication Date Title
WO2015196371A1 (zh) 用户设备灯光控制方法、装置及用户终端
KR101616221B1 (ko) 착신통지방법, 착신통지장치, 전자장치, 프로그램 및 기록매체
WO2018196660A1 (zh) 指纹识别区域显示方法及相关产品
US9729703B2 (en) Mobile terminal, non-transitory computer readable recording medium, and notification control method
WO2018201848A1 (zh) 一种光学指纹采集方法及相关产品
WO2015074567A1 (zh) 一种敲击控制方法及终端
KR101411809B1 (ko) 휴대단말기의 사용 방법 및 장치
WO2018032581A1 (zh) 一种应用程序控制方法及装置
WO2016119580A1 (zh) 一种开启终端的语音输入功能的方法、装置和终端
CN106303023B (zh) 屏幕状态调节方法及装置
CN108900231B (zh) 动态天线调整方法及相关产品
CN105519086B (zh) 接近光传感器的控制方法、装置和移动终端
CN107635072B (zh) 一种移动终端的控制方法及移动终端
CN106233705B (zh) 一种终端控制方法和终端
CN106775323A (zh) 通话过程中调起应用程序的方法、装置及移动通信终端
CN110418003B (zh) 一种亮度调节方法、亮度调节装置及移动终端
CN110072013B (zh) 终端控制方法及装置
CN107438999A (zh) 进入省电模式的方法、退出省电模式的方法、装置及移动终端
CN112286122A (zh) 一种智能家居控制方法、装置、终端以及存储介质
WO2018214695A1 (zh) 指纹的采集方法及相关产品
CN106873756A (zh) 一种电量管理方法及终端
KR20110117907A (ko) 휴대 단말기의 근접 센싱 방법 및 장치
CN109933196A (zh) 一种屏幕控制方法、装置及终端设备
JP6209699B1 (ja) 電子機器、プログラムおよび制御方法
CN108632469A (zh) 移动终端的位置提示方法及移动终端

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 14899664

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2014895488

Country of ref document: EP

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14895488

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE