CN106358350A - Method and device for controlling interface indication lamp, and electronic equipment - Google Patents

Method and device for controlling interface indication lamp, and electronic equipment Download PDF

Info

Publication number
CN106358350A
CN106358350A CN201610957828.5A CN201610957828A CN106358350A CN 106358350 A CN106358350 A CN 106358350A CN 201610957828 A CN201610957828 A CN 201610957828A CN 106358350 A CN106358350 A CN 106358350A
Authority
CN
China
Prior art keywords
instruction
indicator light
lamp
generating
starting instruction
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
CN201610957828.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.)
Fafa Automobile (china) Co Ltd
Original Assignee
Leauto Intelligent Technology Beijing Co Ltd
LeTV Holding Beijing 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 Leauto Intelligent Technology Beijing Co Ltd, LeTV Holding Beijing Co Ltd filed Critical Leauto Intelligent Technology Beijing Co Ltd
Priority to CN201610957828.5A priority Critical patent/CN106358350A/en
Publication of CN106358350A publication Critical patent/CN106358350A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • 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
    • H05B47/11Controlling the light source in response to determined parameters by determining the brightness or colour temperature of ambient light
    • 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/16Controlling the light source by timing means
    • 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

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention discloses a method and a device for controlling an interface indication lamp, and electronic equipment. The method comprises the following steps: acquiring a start instruction which is an instruction input by a user based on a power key; generating an indication lamp turn-on instruction according to the start instruction, wherein the indication lamp turn-on instruction is used for turning on an indication lamp arranged on the inner side wall of an interface; and transmitting the indication lamp turn-on instruction to the indication lamp to indicate the indication lamp to be switched to an on state. According to the method, the indication lamp arranged on the inner side wall of the interface can be switched to the on state according to the indication lamp turn-on instruction, so that a bright circle is formed at the interface; and a user can accurately and quickly determine the position of the interface according to the bright circle, so that the user operation is facilitated.

Description

Method and device for controlling interface indicator lamp and electronic equipment
Technical Field
The present invention relates to the field of data interface technologies, and in particular, to a method and an apparatus for controlling an interface indicator, and an electronic device.
Background
With the development and progress of science and technology, various mobile devices (such as smart phones, tablet computers and the like) or computers and the like have become indispensable tools for families and offices. The existing electronic equipment is generally provided with various interfaces, such as a USB interface, a Micro-USB and the like, and the electronic equipment can be charged through the interfaces and can also realize data transmission with other equipment.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
the USB interface of the existing mobile phone or mobile equipment has no lighting indication function, and when the mobile equipment is charged at night or in a scene with dim light, a user cannot find the USB place of a computer, and the USB data line is inserted into the USB interface at the moment, which is very inconvenient.
The information disclosed in this background section is only for enhancement of understanding of the general background of the invention and should not be taken as an acknowledgement or any form of suggestion that this information forms the prior art already known to a person skilled in the art.
Disclosure of Invention
The invention aims to provide a method, a device and electronic equipment for controlling an interface indicator light, so as to overcome the defect that a data line is not easy to be inserted into an interface in the dark environment.
The method for controlling the interface indicator lamp provided by the embodiment of the invention comprises the following steps: acquiring a starting instruction, wherein the starting instruction is an instruction input by a user based on a power key; generating an indicator light starting instruction according to the starting instruction, wherein the indicator light starting instruction is used for starting an indicator light arranged on the inner side wall of the interface; and transmitting the indication lamp starting instruction to the indication lamp to indicate that the indication lamp is switched to be in a starting state.
In one possible implementation, after the transmitting the indicator light turn-on command to the indicator light, the method further includes: determining instruction generation time, wherein the instruction generation time is a time point for generating the indicator light starting instruction; when the time difference between the current time and the instruction generation time is greater than the preset time difference, generating an instruction for turning off the indicator lamp; and transmitting the indication lamp closing instruction to the indication lamp to indicate that the indication lamp is switched to a closing state.
In one possible implementation, after the transmitting the indicator light turn-on command to the indicator light, the method further includes: monitoring the state of the interface in real time; when the interface is in a working state, generating an indicator light closing instruction; and transmitting the indication lamp closing instruction to the indication lamp to indicate that the indication lamp is switched to a closing state.
In a possible implementation manner, before generating an indicator light turn-on instruction according to the start instruction, the method further includes: collecting the illumination intensity of the surrounding environment; and when the illumination intensity is smaller than the preset illumination intensity, generating an indicator lamp starting instruction according to the starting instruction.
In a possible implementation manner, before generating an indicator light turn-on instruction according to the start instruction, the method further includes: determining a current time; and when the current time is within a preset time period, generating an indicator lamp starting instruction according to the starting instruction.
Based on the same inventive concept, an embodiment of the present invention further provides an apparatus for controlling an interface indicator, including: the device comprises an acquisition module, a first generation module and an opening module.
And the acquisition module is used for acquiring a starting instruction, and the starting instruction is an instruction input by a user based on a power key.
And the first generation module is used for generating an indicator light starting instruction according to the starting instruction, and the indicator light starting instruction is used for starting an indicator light arranged on the inner side wall of the interface.
And the starting module is used for transmitting the indicating lamp starting instruction to the indicating lamp and indicating that the indicating lamp is switched to a starting state.
In one possible implementation, the apparatus further includes: the device comprises a first determining module, a second generating module and a closing module.
The first determining module is used for determining instruction generating time after the indicating lamp starting instruction is transmitted to the indicating lamp, and the instruction generating time is a time point of generating the indicating lamp starting instruction.
The second generation module is used for generating an indicator light turning-off instruction when the time difference between the current time and the instruction generation time is larger than a preset time difference.
The closing module is used for transmitting the indicating lamp closing instruction to the indicating lamp and indicating the indicating lamp to be switched to a closing state.
In one possible implementation, the apparatus further includes: the device comprises a first determining module, a second generating module and a closing module.
The first determination module is used for monitoring the state of the interface in real time after the indicator light turn-on instruction is transmitted to the indicator light.
And the second generation module is used for generating an instruction of turning off the indicator light when the interface is in a working state.
The closing module is used for transmitting the indicating lamp closing instruction to the indicating lamp and indicating the indicating lamp to be switched to a closing state.
In one possible implementation, the apparatus further includes a second determining module.
The second determining module is used for acquiring the illumination intensity of the surrounding environment before the indication lamp starting instruction is generated according to the starting instruction.
The first generation module is used for generating an indication lamp starting instruction according to the starting instruction when the illumination intensity is smaller than a preset illumination intensity.
In one possible implementation, the apparatus further includes a second determining module.
The second determining module is used for determining the current time before the indicator light starting instruction is generated according to the starting instruction.
The first generation module is used for generating an indication lamp starting instruction according to the starting instruction when the current time is within a preset time period.
According to the method and the device for controlling the interface indicator lamp, provided by the embodiment of the invention, the indicator lamp arranged on the inner side wall of the interface can be switched to the on state through the indicator lamp on command, so that a bright ring is formed at the interface, a user can accurately and quickly position the interface based on the two rings, and the operation of the user is facilitated. Meanwhile, the indicator light is automatically or actively turned off through the indicator light turning-off instruction under specific conditions, so that the indicator light is prevented from being in a turned-on state for a long time, a power supply can be saved, and the service life of the indicator light can be prolonged. Utilize illumination intensity or current time can make the pilot lamp just can shine at dim environment, avoid also shining the pilot lamp when the user maloperation presses the power key and cause the electric energy extravagant when light is sufficient.
To achieve the above object, according to another aspect, an embodiment of the present invention provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method of the above aspects.
To achieve the above object, in yet another aspect, the present application provides a non-transitory computer-readable storage medium storing computer-executable instructions for performing the method according to the above aspects.
To achieve the above object, in a further aspect, the embodiments of the present invention provide a computer program product including a computer program stored on a non-transitory computer-readable storage medium, the computer program including program instructions which, when executed by a computer, cause the computer to perform the method of the above aspects.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
FIG. 1 is a flow chart of a method for controlling an interface indicator light according to an embodiment of the present invention;
FIG. 2 is a flow chart of the automatic turn-off of the indicator light in an embodiment of the present invention;
FIG. 3 is a flow chart of actively turning off the indicator light in an embodiment of the present invention;
FIG. 4 is a first block diagram of an apparatus for controlling an interface indicator in an embodiment of the present invention;
FIG. 5 is a second block diagram of an apparatus for controlling an interface indicator in an embodiment of the present invention;
FIG. 6 is a third block diagram of an apparatus for controlling interface indicator lights in accordance with an embodiment of the present invention;
fig. 7 is a block diagram of an electronic device for controlling an interface indicator in an embodiment of the present invention.
Detailed Description
The following detailed description of the present invention is provided in conjunction with the accompanying drawings, but it should be understood that the scope of the present invention is not limited to the specific embodiments.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. Throughout the specification and claims, unless explicitly stated otherwise, the word "comprise", or variations such as "comprises" or "comprising", will be understood to imply the inclusion of a stated element or component but not the exclusion of any other element or component.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present invention. It will be understood by those skilled in the art that the present invention may be practiced without some of these specific details. In some instances, methods, means, elements well known to those skilled in the art have not been described in detail so as not to obscure the present invention.
Throughout the specification and claims, unless explicitly stated otherwise, the word "comprise", or variations such as "comprises" or "comprising", will be understood to imply the inclusion of a stated element or component but not the exclusion of any other element or component.
According to an embodiment of the present invention, a method for controlling an interface indicator is provided, where fig. 1 is a flowchart of the method, and specifically includes steps 101-103:
step 101: and acquiring a starting instruction, wherein the starting instruction is an instruction input by a user based on a power key.
In the embodiment of the invention, the interface indicator lamp is provided with the power key which can be a physical key and is arranged between the power supply and the interface indicator lamp; the power key may also be a virtual key. The user can input the starting instruction by closing the power key or triggering the power key.
Step 102: and generating an indicator lamp starting instruction according to the starting instruction, wherein the indicator lamp starting instruction is used for starting an indicator lamp arranged on the inner side wall of the interface.
In the embodiment of the invention, the indicator light is arranged on the inner side wall of the interface, and the indicator light is in an off state under a general condition, namely the indicator light is not powered; after receiving the pilot lamp and opening the order, the pilot lamp becomes the on-state, and the pilot lamp shines promptly, can form bright circle at the kneck this moment to make the position of user accurate positioning interface.
Step 103: and transmitting an indicator light turn-on instruction to the indicator light to indicate that the indicator light is switched to the turn-on state.
Specifically, as described above, the indicator light turn-on command is used to turn on the indicator light disposed on the inner sidewall of the interface. The indication lamp starting instruction can be specifically a voltage signal, and after the indication lamp obtains the voltage signal, the voltage signal supplies power to the indication lamp, so that the indication lamp is turned on, namely, in a starting state.
According to the method for controlling the interface indicator lamp provided by the embodiment of the invention, the indicator lamp arranged on the inner side wall of the interface can be switched to the on state through the indicator lamp on command, so that a bright ring is formed at the interface, a user can accurately and quickly position the interface based on the two rings, and the operation of the user is facilitated.
In one possible implementation, after transmitting the indicator light turn-on command to the indicator light, the method further includes a process of automatically turning off the indicator light. Referring to fig. 2, the process specifically further includes step 201 and step 203:
step 201: and determining an instruction generation time which is a time point for generating the indicator lamp turn-on instruction.
Step 202: and when the time difference between the current time and the instruction generation time is greater than the preset time difference, generating an instruction for turning off the indicator lamp.
Step 203: and transmitting an indicator lamp closing instruction to the indicator lamp, and switching the indicator lamp to be in a closed state.
In the embodiment of the invention, when the indication lamp opening instruction is generated according to the starting instruction, the time for generating the indication lamp opening instruction is determined, then the time difference between the current time and the instruction generating time is determined, and if the time difference exceeds the preset time (namely the preset time difference), the indication lamp is turned off through the indication lamp closing instruction, so that the indication lamp is prevented from being in the on state for a long time, the power supply can be saved, and the service life of the indication lamp can be prolonged.
Specifically, the time difference between the current time and the instruction generation time may be determined by a timer. For example, the time is counted at a time point corresponding to the instruction generation time, and if the counted time length reaches the preset time difference, the instruction for turning off the indicator lamp is generated. Or, the timer counts down, and the time length of counting down is the preset time difference; and starting countdown at a time point corresponding to the instruction generation time, and when the countdown value of the timer is zero, namely the time difference between the current time and the instruction generation time reaches the preset time difference, generating an indicator lamp closing instruction to close the indicator lamp of the interface.
In one possible implementation, after transmitting the indicator light turn-on command to the indicator light, the method further includes a process of actively turning off the indicator light. Referring to fig. 3, the process specifically further includes steps 301 and 303:
step 301: and monitoring the state of the interface in real time.
Step 302: and when the interface is in a working state, generating an instruction of turning off the indicator lamp.
Step 303: and transmitting an indicator light turn-off command to the indicator light to indicate that the indicator light is switched to a turn-off state.
In the embodiment of the present invention, the state of the interface includes a working state and an idle state, and the state of the interface may be specifically determined according to a power pin and/or a data pin of the interface. Specifically, when the interface is not connected to other external devices, neither the power pin nor the data pin is in operation, that is, the interface is in an idle state. When the interface of the local device is connected with the external other device through the data line, if power transmission is performed between the local device and the other device (for example, one of the local device and the other device is charged), the power pin is in a working state at this time; if data transmission is performed between the local device and other devices, the data pin is in a working state at the moment.
When the interface is in a working state, the power supply pin or the data pin is in the working state at the moment, which indicates that the external equipment is connected with the local equipment, and the indicator light of the interface does not need to be lightened at the moment, namely, the indicator light can be switched to a closed state, so that electric energy can be saved.
In a possible implementation manner, before generating the indicator light turning-on instruction according to the starting instruction, the method further includes a process of judging the illumination intensity; specifically, the method further comprises the following steps A1-A2:
step A1: the illumination intensity of the surrounding environment is collected.
Step A2: and when the illumination intensity is smaller than the preset illumination intensity, generating an indicator lamp starting instruction according to the starting instruction.
In the embodiment of the present invention, the illumination intensity around the indicator light or the local device, that is, the illumination intensity of the ambient environment in step a1, may be collected by a photosensitive sensor in the local device. When the illumination intensity is smaller than the preset illumination intensity, the situation that the ambient light where the local equipment is located is poor is indicated, and at the moment, if a starting instruction input by a user is received, an indicating lamp starting instruction is generated according to the starting instruction. The indicator light can only be lightened in a dim environment by judging the intensity of illumination intensity, so that the phenomenon that the indicator light is lightened when a user presses a power key due to misoperation when light is sufficient is avoided, and electric energy is wasted.
In a possible implementation manner, before generating the indicator light turning-on instruction according to the starting instruction, the method further includes a process of judging the current time; specifically, the method further comprises steps B1-B2:
step B1: the current time is determined.
Step B2: and when the current time is within a preset time period, generating an indicator lamp starting instruction according to the starting instruction.
In the embodiment of the invention, the current time can be determined in real time by acquiring the system time of the local equipment or acquiring the time of the server. The "preset time period" in step B2 is a preset time range in which the indicator light can be turned on. For example, the preset time period may be set from 18:00 to 6:00 of the next day, the environment of the time period is generally a dark environment, and the indicator light may be activated when the activation instruction is received; the environment outside of this time period is typically a daytime environment, and the indicator lights typically need not be activated for this time period. Whether the indicator lamp can be started or not is determined by judging the current time, the starting can be realized without other additional hardware, the cost is low, and meanwhile, the electric energy waste caused by the fact that the indicator lamp is also lightened when a power key is pressed due to misoperation of a user when the light is sufficient can be avoided.
In addition, since the environment outside the preset time period may also be a dim environment, such as an underground garage, a forced start function may be set at this time, that is, even if the current time is outside the preset time period, an indicator light turn-on instruction may be generated according to the start instruction. Specifically, the user may continuously input the start instruction for multiple times (i.e., the user continuously presses the power key for multiple times), or the user may continuously input the start instruction (e.g., the user continuously presses the power key), at which time the indicator light turn-on instruction may be directly generated without performing steps B1-B2. The forced boot applies equally to steps A1-A2, which are not described in detail here.
It should be noted that "current time" in the embodiment of the present invention refers to a time point when the method provided in the embodiment of the present invention is executed, and the value of the current time is different at different time nodes.
According to the method for controlling the interface indicator lamp provided by the embodiment of the invention, the indicator lamp arranged on the inner side wall of the interface can be switched to the on state through the indicator lamp on command, so that a bright ring is formed at the interface, a user can accurately and quickly position the interface based on the two rings, and the operation of the user is facilitated. Meanwhile, the indicator light is automatically or actively turned off through the indicator light turning-off instruction under specific conditions, so that the indicator light is prevented from being in a turned-on state for a long time, a power supply can be saved, and the service life of the indicator light can be prolonged. Utilize illumination intensity or current time can make the pilot lamp just can shine at dim environment, avoid also shining the pilot lamp when the user maloperation presses the power key and cause the electric energy extravagant when light is sufficient.
The above describes in detail a method flow for controlling an interface indicator, which may also be implemented by a corresponding device, and the structure and function of the device are described in detail below.
An apparatus for controlling an interface indicator provided in an embodiment of the present invention is shown in fig. 4, and includes: an acquisition module 41, a first generation module 42 and an opening module 43.
The obtaining module 41 is configured to obtain a starting instruction, where the starting instruction is an instruction input by a user based on a power key.
And the first generating module 42 is configured to generate an indicator light turning-on instruction according to the starting instruction, where the indicator light turning-on instruction is used to turn on an indicator light arranged on an inner side wall of the interface.
And the starting module 43 is used for transmitting the indicating lamp starting instruction to the indicating lamp and indicating that the indicating lamp is switched to a starting state.
In one possible implementation, referring to fig. 5, the apparatus further includes: a first determination module 44, a second generation module 45, and a shutdown module 46.
The first determining module 44 is configured to determine, after the transmitting of the indicator light turn-on instruction to the indicator light, an instruction generation time, where the instruction generation time is a time point of generating the indicator light turn-on instruction.
The second generating module 45 is configured to generate an indicator light turning-off instruction when a time difference between the current time and the instruction generating time is greater than a preset time difference.
The shutdown module 46 is configured to transmit the indicator light shutdown instruction to the indicator light to indicate that the indicator light is switched to the shutdown state.
In one possible implementation, referring to fig. 5, the apparatus further includes: a first determination module 44, a second generation module 45, and a shutdown module 46.
The first determining module 44 is configured to monitor the status of the interface in real time after the indicator light turn-on command is transmitted to the indicator light.
The second generating module 45 is configured to generate an instruction to turn off the indicator light when the interface is in the working state.
The shutdown module 46 is configured to transmit the indicator light shutdown instruction to the indicator light to indicate that the indicator light is switched to the shutdown state.
In one possible implementation, referring to fig. 6, the apparatus further includes a second determining module 47.
The second determining module 47 is configured to collect the illumination intensity of the surrounding environment before the indicator light turning-on instruction is generated according to the starting instruction.
The first generating module 42 is specifically configured to generate an indicator light turning-on instruction according to the starting instruction when the illumination intensity is smaller than a preset illumination intensity.
In one possible implementation, referring to fig. 6, the apparatus further includes a second determining module 47.
The second determining module 47 is configured to determine the current time before the indicator light turning-on instruction is generated according to the starting instruction.
The first generating module 42 is specifically configured to generate an indicator light turning-on instruction according to the starting instruction when the current time is within a preset time period.
According to the method and the device for controlling the interface indicator lamp, provided by the embodiment of the invention, the indicator lamp arranged on the inner side wall of the interface can be switched to the on state through the indicator lamp on command, so that a bright ring is formed at the interface, a user can accurately and quickly position the interface based on the two rings, and the operation of the user is facilitated. Meanwhile, the indicator light is automatically or actively turned off through the indicator light turning-off instruction under specific conditions, so that the indicator light is prevented from being in a turned-on state for a long time, a power supply can be saved, and the service life of the indicator light can be prolonged. Utilize illumination intensity or current time can make the pilot lamp just can shine at dim environment, avoid also shining the pilot lamp when the user maloperation presses the power key and cause the electric energy extravagant when light is sufficient.
Embodiments of the present application provide a non-volatile computer storage medium, where computer-executable instructions are stored, and the computer-executable instructions may execute the processing method in any of the above method embodiments.
Fig. 7 is a schematic hardware structure diagram of an electronic device based on a method for controlling an interface indicator light according to an embodiment of the present application, and as shown in fig. 7, the electronic device includes one or more processors 610 and a memory 620. Fig. 7 illustrates an example of a processor 610. The apparatus may further include: an input device 630 and an output device 640.
The processor 610, the memory 620, the input device 630, and the output device 640 may be connected by a bus or other means, and fig. 7 illustrates an example of a connection by a bus.
Memory 620, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The processor 610 executes various functional applications and data processing of the electronic device, i.e., a processing method of the above-described method embodiment, by executing the nonvolatile software program, instructions, and modules stored in the memory 620.
The memory 620 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data and the like. Further, the memory 620 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, the memory 620 optionally includes memory located remotely from the processor 610, which may be connected to the processing device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 630 may receive input numeric or character information and generate a signal input. The output device 640 may include a display device such as a display screen.
The one or more modules are stored in the memory 620 and, when executed by the one or more processors 610, perform any of the methods described above as provided by embodiments of the invention.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in the embodiments of the present application.
The electronic device of the embodiments of the present application exists in various forms, including but not limited to:
(1) mobile communication devices, which are characterized by mobile communication capabilities and are primarily targeted at providing voice and data communications. Such terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) The ultra-mobile personal computer equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include PDA, MID, and UMPC devices, such as ipads.
(3) Portable entertainment devices such devices may display and play multimedia content. Such devices include audio and video players (e.g., ipods), handheld game consoles, electronic books, as well as smart toys and portable car navigation devices.
(4) The server is similar to a general computer architecture, but has higher requirements on processing capability, stability, reliability, safety, expandability, manageability and the like because of the need of providing highly reliable services.
(5) And other electronic devices with data interaction functions.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a general hardware platform, and certainly can also be implemented by hardware. Based on such understanding, the above technical solutions substantially or contributing to the related art may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Industrial applicability
According to the method for controlling the interface indicator lamp, the starting instruction is obtained, and the starting instruction is input by a user based on the power key; generating an indicator light starting instruction according to the starting instruction, wherein the indicator light starting instruction is used for starting an indicator light arranged on the inner side wall of the interface; and transmitting the indicating lamp starting instruction to the indicating lamp to indicate that the indicating lamp is switched to be in a starting state, so that the beneficial effect is realized.

Claims (11)

1. A method of controlling an interface indicator, comprising:
acquiring a starting instruction, wherein the starting instruction is an instruction input by a user based on a power key;
generating an indicator light starting instruction according to the starting instruction, wherein the indicator light starting instruction is used for starting an indicator light arranged on the inner side wall of the interface;
and transmitting the indication lamp starting instruction to the indication lamp to indicate that the indication lamp is switched to be in a starting state.
2. The method of claim 1, further comprising, after said transmitting the indicator light turn-on command to the indicator light:
determining instruction generation time, wherein the instruction generation time is a time point for generating the indicator light starting instruction;
when the time difference between the current time and the instruction generation time is greater than the preset time difference, generating an instruction for turning off the indicator lamp;
and transmitting the indication lamp closing instruction to the indication lamp to indicate that the indication lamp is switched to a closing state.
3. The method of claim 1, further comprising, after said transmitting the indicator light turn-on command to the indicator light:
monitoring the state of the interface in real time;
when the interface is in a working state, generating an indicator light closing instruction;
and transmitting the indication lamp closing instruction to the indication lamp to indicate that the indication lamp is switched to a closing state.
4. The method according to any one of claims 1-3, further comprising, prior to said generating an indicator light turn-on command according to said start command:
collecting the illumination intensity of the surrounding environment;
and when the illumination intensity is smaller than the preset illumination intensity, generating an indicator lamp starting instruction according to the starting instruction.
5. The method according to any one of claims 1-3, further comprising, prior to said generating an indicator light turn-on command according to said start command:
determining a current time;
and when the current time is within a preset time period, generating an indicator lamp starting instruction according to the starting instruction.
6. An apparatus for controlling an interface indicator, comprising:
the acquisition module is used for acquiring a starting instruction, wherein the starting instruction is an instruction input by a user based on a power key;
the first generation module is used for generating an indicator light starting instruction according to the starting instruction, and the indicator light starting instruction is used for starting an indicator light arranged on the inner side wall of the interface;
and the starting module is used for transmitting the indicating lamp starting instruction to the indicating lamp and indicating that the indicating lamp is switched to a starting state.
7. The apparatus of claim 6, further comprising: the device comprises a first determining module, a second generating module and a closing module;
the first determining module is used for determining instruction generating time after the indicating lamp starting instruction is transmitted to the indicating lamp, wherein the instruction generating time is a time point for generating the indicating lamp starting instruction;
the second generation module is used for generating an indicator lamp closing instruction when the time difference between the current time and the instruction generation time is greater than a preset time difference;
the closing module is used for transmitting the indicating lamp closing instruction to the indicating lamp and indicating the indicating lamp to be switched to a closing state.
8. The apparatus of claim 6, further comprising: the device comprises a first determining module, a second generating module and a closing module;
the first determining module is used for monitoring the state of the interface in real time after the indicator light starting instruction is transmitted to the indicator light;
the second generation module is used for generating an instruction of turning off the indicator light when the interface is in a working state;
the closing module is used for transmitting the indicating lamp closing instruction to the indicating lamp and indicating the indicating lamp to be switched to a closing state.
9. The apparatus of any of claims 6-8, further comprising a second determining module;
the second determining module is used for acquiring the illumination intensity of the surrounding environment before the indication lamp starting instruction is generated according to the starting instruction;
the first generation module is used for generating an indication lamp starting instruction according to the starting instruction when the illumination intensity is smaller than a preset illumination intensity.
10. The apparatus of any of claims 6-8, further comprising a second determining module;
the second determining module is used for determining the current time before the indication lamp starting instruction is generated according to the starting instruction;
the first generation module is used for generating an indication lamp starting instruction according to the starting instruction when the current time is within a preset time period.
11. An electronic device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
CN201610957828.5A 2016-10-27 2016-10-27 Method and device for controlling interface indication lamp, and electronic equipment Pending CN106358350A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610957828.5A CN106358350A (en) 2016-10-27 2016-10-27 Method and device for controlling interface indication lamp, and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610957828.5A CN106358350A (en) 2016-10-27 2016-10-27 Method and device for controlling interface indication lamp, and electronic equipment

Publications (1)

Publication Number Publication Date
CN106358350A true CN106358350A (en) 2017-01-25

Family

ID=57865161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610957828.5A Pending CN106358350A (en) 2016-10-27 2016-10-27 Method and device for controlling interface indication lamp, and electronic equipment

Country Status (1)

Country Link
CN (1) CN106358350A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040044088A (en) * 2002-11-19 2004-05-27 송수민 Device and method for turning on a lamp in both common use and emergency
CN1617551A (en) * 2004-11-29 2005-05-18 时仁帅 Control method and system for cell phone indication lamp
CN103326161A (en) * 2013-05-27 2013-09-25 北京小米科技有限责任公司 USB interface assembly and manufacturing method thereof
CN104219837A (en) * 2014-08-26 2014-12-17 烽火通信科技股份有限公司 Method for intelligently managing and controlling indicator lamps of subscriber terminal equipment
CN104754827A (en) * 2015-03-06 2015-07-01 小米科技有限责任公司 Equipment state indicator lamp control method and equipment state indicator lamp control device
CN205004561U (en) * 2015-10-14 2016-01-27 广东欧珀移动通信有限公司 Terminal with interface
CN105390896A (en) * 2015-10-23 2016-03-09 广东欧珀移动通信有限公司 Data line
CN105655813A (en) * 2015-12-28 2016-06-08 努比亚技术有限公司 External interface device and accessing method thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040044088A (en) * 2002-11-19 2004-05-27 송수민 Device and method for turning on a lamp in both common use and emergency
CN1617551A (en) * 2004-11-29 2005-05-18 时仁帅 Control method and system for cell phone indication lamp
CN103326161A (en) * 2013-05-27 2013-09-25 北京小米科技有限责任公司 USB interface assembly and manufacturing method thereof
CN104219837A (en) * 2014-08-26 2014-12-17 烽火通信科技股份有限公司 Method for intelligently managing and controlling indicator lamps of subscriber terminal equipment
CN104754827A (en) * 2015-03-06 2015-07-01 小米科技有限责任公司 Equipment state indicator lamp control method and equipment state indicator lamp control device
CN205004561U (en) * 2015-10-14 2016-01-27 广东欧珀移动通信有限公司 Terminal with interface
CN105390896A (en) * 2015-10-23 2016-03-09 广东欧珀移动通信有限公司 Data line
CN105655813A (en) * 2015-12-28 2016-06-08 努比亚技术有限公司 External interface device and accessing method thereof

Similar Documents

Publication Publication Date Title
US20200412139A1 (en) Charge Control Method and Device, and Electronic Device
RU2658501C2 (en) Method and apparatus for identifying category of electronic device on intelligent socket
CN110166994B (en) Data time-sharing transmission interoperability method, system, mobile terminal and storage medium
EP2927807A2 (en) Terminal activation method and terminal
CN108764056B (en) Brightness adjusting method and related product
CN105204730A (en) Screen control method and user terminal
CN104871393A (en) Light control method, device and user terminal for user equipment
CN105072569A (en) Method and device for saving electricity for mobile terminal
WO2017121023A1 (en) Method and device for low power power-on processing
CN203882427U (en) Toggle switch switching type wireless bluetooth remote photographic device
CN106647539A (en) Electronic device having waterproof circuit
CN108170211B (en) Camera power-on driving method and electronic terminal
CN106706998B (en) Terminal test system and terminal test method
CN110209335B (en) Control method and device of intelligent terminal
CN104615531A (en) Statistical method for accumulated terminal using duration time and network system
CN106358350A (en) Method and device for controlling interface indication lamp, and electronic equipment
CN103209259A (en) Method and system for enabling mobile device to communicate with external device so as to achieve multifunctional application
CN111181642A (en) Refrigerator and optical signal transmission system thereof
CN104778040A (en) Photographing device
CN107422702B (en) Intelligent household appliance user operation guiding method and electronic equipment
CN113940143B (en) System and method for assisting a user in configuring a lighting system
CN112310753B (en) Intelligent socket, control method and control device of intelligent socket
CN106325787B (en) Information processing method and electronic equipment
CN103247919B (en) A kind of auto-power-off device based on machine vision
EP3866053A1 (en) Fingerprint image processing method and related product

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180108

Address after: 100025 Beijing city Chaoyang District Yaojieyuan Road No. 105, No. 3 Building 8 layer 909

Applicant after: Music Automotive (Beijing) Co., Ltd.

Address before: 100025 Beijing city Chaoyang District Yaojieyuan Road No. 105, No. 3 Building 10 layer 1102

Applicant before: Music Holdings (Beijing) Limited

Applicant before: Smart car technology (Beijing) Co., Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20180731

Address after: 511400 9, Nansha District Beach Road, Guangzhou, Guangdong, 9

Applicant after: Rui Chi intelligent automobile (Guangzhou) Co., Ltd.

Address before: 100025 8 floor 909, 105 building 3, Yao Yuan Road, Chaoyang District, Beijing.

Applicant before: Music Automotive (Beijing) Co., Ltd.

CB02 Change of applicant information

Address after: 511400 9, Nansha District Beach Road, Guangzhou, Guangdong, 9

Applicant after: Hengda Faraday future intelligent vehicle (Guangdong) Co., Ltd.

Address before: 511400 9, Nansha District Beach Road, Guangzhou, Guangdong, 9

Applicant before: Rui Chi intelligent automobile (Guangzhou) Co., Ltd.

CB02 Change of applicant information
TA01 Transfer of patent application right

Effective date of registration: 20190313

Address after: 100015 Building No. 7, 74, Jiuxianqiao North Road, Chaoyang District, Beijing, 001

Applicant after: FAFA Automobile (China) Co., Ltd.

Address before: 511400 9, Nansha District Beach Road, Guangzhou, Guangdong, 9

Applicant before: Hengda Faraday future intelligent vehicle (Guangdong) Co., Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20170125

RJ01 Rejection of invention patent application after publication