CN110191210A - A kind of control method and terminal device of indicator light - Google Patents

A kind of control method and terminal device of indicator light Download PDF

Info

Publication number
CN110191210A
CN110191210A CN201910428619.5A CN201910428619A CN110191210A CN 110191210 A CN110191210 A CN 110191210A CN 201910428619 A CN201910428619 A CN 201910428619A CN 110191210 A CN110191210 A CN 110191210A
Authority
CN
China
Prior art keywords
filter
electromagnetic wave
processor
terminal device
light source
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.)
Granted
Application number
CN201910428619.5A
Other languages
Chinese (zh)
Other versions
CN110191210B (en
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910428619.5A priority Critical patent/CN110191210B/en
Publication of CN110191210A publication Critical patent/CN110191210A/en
Application granted granted Critical
Publication of CN110191210B publication Critical patent/CN110191210B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02FOPTICAL DEVICES OR ARRANGEMENTS FOR THE CONTROL OF LIGHT BY MODIFICATION OF THE OPTICAL PROPERTIES OF THE MEDIA OF THE ELEMENTS INVOLVED THEREIN; NON-LINEAR OPTICS; FREQUENCY-CHANGING OF LIGHT; OPTICAL LOGIC ELEMENTS; OPTICAL ANALOGUE/DIGITAL CONVERTERS
    • G02F1/00Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics
    • G02F1/01Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour 
    • G02F1/23Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour  for the control of the colour
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • 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

Abstract

The invention discloses a kind of control method of indicator light and terminal device, which includes processor, indicator light, light source, first filter and second filter.The electromagnetic wave that light source issues is filtered this method comprises: processor controls first filter, obtains the first electromagnetic wave that wavelength is first wave length, so that indicator light exports corresponding first light beam of the first electromagnetic wave;When processor determines that terminal device meets the first preset condition, control second filter filters the electromagnetic wave that light source issues, and obtains the second electromagnetic wave that wavelength is second wave length, so that indicator light exports corresponding second light beam of the second electromagnetic wave.In this way, terminal device can neatly change the wavelength of the light beam of indicator light output, so as to realize the different demand of user, facilitate the experience for promoting user.

Description

A kind of control method and terminal device of indicator light
Technical field
The present invention relates to terminal device technical field, the control method and terminal device of espespecially a kind of indicator light.
Background technique
Currently, mobile phone is widely used, and becomes the life of Most users as the function development of mobile phone obtains stronger and stronger Necessity living.For example, in daily life, user can carry out communication by mobile phone, or (such as play trip for entertaining Play, see screen etc.) etc..
But the wavelength of the light beam of the indicator light of current mobile phone output is fixed.For example indicator light can only output wave A length of 390 nanometers to 760 nanometers of visible light is used to indicate incoming call, short message reception, charge prompting etc..As it can be seen that current mobile phone The wavelength that the light beam of indicator light output can't neatly be changed, so the function of the indicator light of mobile phone often has certain office It is sex-limited, the good experience of user cannot be brought.
Summary of the invention
The embodiment of the present invention provides the control method and terminal device of a kind of indicator light, defeated neatly to change indicator light The wavelength of light beam out helps to promote user experience to realize the different demand of user.
In a first aspect, the embodiment of the present invention provides a kind of control method of indicator light, this method is applied to terminal device;Institute Stating terminal device includes processor, indicator light, light source, first filter and second filter;The described method includes:
The processor controls the first filter and filters to the electromagnetic wave that the light source issues, and obtaining wavelength is first First electromagnetic wave of wavelength, so that the indicator light exports corresponding first light beam of first electromagnetic wave;
When the processor determines that the terminal device meets the first preset condition, the second filter is controlled to described The electromagnetic wave filtering that light source issues, obtains the second electromagnetic wave that wavelength is second wave length, so that indicator light output described the Corresponding second light beam of two electromagnetic waves.
It optionally, further include first switch in the terminal device;The processor controls the first filter to institute Before the electromagnetic wave filtering for stating light source sending, the method also includes:
The processor controls the first switch and connect with the first filter, so that the first filter is in Enabled state;
Before the processor controls the electromagnetic wave filtering that the second filter issues the light source, the method is also Include:
The processor controls the first switch and disconnects with the first filter;
The processor controls the first switch and connect with the second filter, so that the second filter is in Enabled state.
Optionally, the first filter is visible light filter, and the second filter is infrared light filter.
Optionally, the first filter is controlled in the processor to filter the electromagnetic wave that the light source issues, obtain Before wavelength is the first electromagnetic wave of first wave length, the method also includes:
The processor determines the terminal device ambient brightness lower than predetermined luminance;Alternatively,
The processor determines that the terminal device shows the interface of finding a view of camera;Alternatively,
The processor detects the first predetermined registration operation.
Optionally, first preset condition includes one of following condition or a variety of:
The processor detects second predetermined registration operation;Alternatively,
The processor determine the terminal device display screen show specific application, the specific application for control with Other equipment of the terminal device connection.
Second aspect, the embodiment of the present invention provide a kind of terminal device, comprising: processor, indicator light, light source, the first filter Wave device and second filter;
The light source, for generating electromagnetic wave;
The processor generates electromagnetic wave for controlling the light source, controls the first filter or described second Filter filters the electromagnetic wave that the light source generates;
The first filter, the electromagnetic wave filtering for issuing to the light source, obtains that wavelength is first wave length One electromagnetic wave;
The second filter, the electromagnetic wave filtering for issuing to the light source, obtains that wavelength is second wave length Two electromagnetic waves;
The indicator light, for exporting corresponding first light beam of first electromagnetic wave, or for exporting described second Corresponding second light beam of electromagnetic wave.
It optionally, further include first switch in the terminal device;The processor is for controlling first filtering Before the electromagnetic wave filtering that device issues the light source, it is also used to:
It controls the first switch to connect with the first filter, so that the first filter is in enabled state;
The processor is for also using before controlling the electromagnetic wave filtering that the second filter issues the light source In:
The first switch is controlled to disconnect with the first filter;
It controls the first switch to connect with the second filter, so that the second filter is in enabled state.
Optionally, the first filter is visible light filter, and the second filter is infrared light filter.
Optionally, the processor filters the electromagnetic wave that the light source issues for controlling the first filter, Before obtaining the first electromagnetic wave that wavelength is first wave length, it is also used to:
Determine the terminal device ambient brightness lower than predetermined luminance;Alternatively,
Determine that the terminal device shows the interface of finding a view of camera;Alternatively,
Detect the first predetermined registration operation.
Optionally, first preset condition includes one of following condition or a variety of:
The processor detects second predetermined registration operation;Alternatively,
The processor determine the terminal device display screen show specific application, the specific application for control with Other equipment of the terminal device connection.
The third aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium Matter is stored with computer program, and the computer program includes program instruction, and described program instructs when executed by a computer, makes The method that the computer executes any one possible design of first aspect or above-mentioned first aspect.
Fourth aspect, the embodiment of the present invention provide a kind of computer program product, and the computer program product is stored with Computer program, the computer program include program instruction, and described program instructs when executed by a computer, make the calculating The method that machine executes any one possible design of first aspect or above-mentioned first aspect.
The present invention has the beneficial effect that:
In the present invention in the technical solution of embodiment, in terminal device, processor controls first filter and sends out light source Electromagnetic wave filtering out, obtains the first electromagnetic wave that wavelength is first wave length, so that indicator light the first electromagnetic wave of output is corresponding First light beam;When processor determines that terminal device meets the first preset condition, the electromagnetism that second filter issues light source is controlled Wave filtering obtains the second electromagnetic wave that wavelength is second wave length, so that indicator light exports corresponding second light beam of the second electromagnetic wave. In this way, terminal device can neatly change the wavelength of the light beam of indicator light output, so as to realize user not Same demand facilitates the experience for promoting user.
Detailed description of the invention
Fig. 1 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 5 is a kind of flow diagram of the control method of indicator light provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments. Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts all Other embodiments shall fall within the protection scope of the present invention.
The shapes and sizes of each component do not reflect actual proportions in attached drawing, and purpose is schematically illustrate the content of present invention.
It please refers to shown in Fig. 1, is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention.The terminal device It can be the equipment that mobile phone, ipad, remote controler etc. are equipped with indicator light.
As shown in Figure 1, terminal device 100 includes: processor 101, light source 102, first filter 103, second filter 104 and indicator light 105.Processor 101, first filter 103 and second filter 104 are connect with light source 102, indicator light 105 It is connect with first filter 103 and second filter 104.Wherein, processor 101 can be general central processing unit (Central Processing Unit, CPU) or application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), it can be one or more for controlling the integrated circuit of program execution, present invention reality Example is applied not limit.
The process that indicator light 105 exports the light beam of specific wavelength is described below.
Optionally, processor 101 can control first filter 103 and filter to the electromagnetic wave that light source 102 issues, and obtain wave First electromagnetic wave of a length of first wave length, so that indicator light 105 exports corresponding first light beam of the first electromagnetic wave.For example, when the When one electromagnetic transmission is to indicator light 105, triggering indicator light 105 exports corresponding first light beam of the first electromagnetic wave.
Optionally, it when processor 101 determines that terminal device 100 meets the first preset condition (introducing hereinafter), can control Second filter 104 filters the electromagnetic wave that light source 102 issues, and the second electromagnetic wave that wavelength is second wave length is obtained, so as to refer to Show that lamp 105 exports corresponding second light beam of the second electromagnetic wave.For example, triggering refers to when the second electromagnetic transmission is to indicator light 105 Show that lamp 105 exports corresponding second light beam of the second electromagnetic wave.
In embodiments of the present invention, terminal device 100 can be by transmitting different electromagnetic waves to indicator light 105, to touch Send out the light beam that indicator light 105 exports different wave length.That is to say, in embodiments of the present invention, the wave for the light beam that indicator light 105 exports Length can neatly change, and so as to meet the needs of user is different, facilitate the experience for promoting user.
It should be noted that above-mentioned first filter and second filter are different filters.For example, first filter It can be visible light filter, second filter can be infrared light filter, and certain first filter and second filter are also It can be other filters, those skilled in the art can be arranged according to actual needs, and the embodiment of the present invention does not limit.Below with First filter can be visible light filter, and for second filter can be infrared light filter, i.e. the first light beam is can Light-exposed beam, the second light beam are infrared beam.
The process that above-mentioned indicator light 105 exports the first light beam of first wave length is specifically as follows:
In some embodiments, when processor 101 determines that terminal device 100 meets the second preset condition, processor 101 The first control command can be sent to light source 102, the first control command generates electromagnetic wave for controlling light source 102.Wherein, second Preset condition is 100 ambient brightness of terminal device lower than predetermined luminance or the determining terminal device 100 of processor 101 Display camera find a view interface or processor 101 detects the first predetermined registration operation.
Illustratively, when processor 101 determines 100 ambient brightness of terminal device lower than predetermined luminance (such as terminal Equipment 100 is in dark surrounds) when, processor 101 can send the first control command to light source 102;Alternatively, processor 101 When determining that terminal device 100 shows interface of finding a view (such as user open camera applications) of camera, processor 101 is to light source 102 Send the first control command;Alternatively, when processor 101 detects that (such as user triggers the first control to the first predetermined registration operation, this One control is the control that visible light beam is exported for control instructions lamp 105) when, processor 101 sends the first control to light source 102 Order.
Optionally, when light source 102 receives the first control instruction, electromagnetic wave is generated, and the electromagnetism of generation is sent to First filter 103.
Optionally, when first filter 103 receives the electromagnetic wave of the transmission of light source 102, first filter of the control of processor 101 103 output wavelength of wave device is in the electromagnetic wave in first wavelength range, filters out electromagnetic wave or the first filtering of other wavelength Device 103 is in the electromagnetic wave in first wavelength range, filters out the electromagnetism of other wavelength according to itself parameter request, output wavelength Wave.Wherein, work as first wavelength range are as follows: at 390 nanometers to 760 nanometers, the of the first electromagnetic wave that first filter 103 exports One wavelength is in 390 nanometers to 760 nanometers of wave-length coverage.
Optionally, when the first electromagnetic transmission that first filter 103 is sent is to indicator light 105, indicator light 105 is touched Corresponding first light beam of hair the first electromagnetic wave of output.Wherein, the wavelength of first light beam is identical as the wavelength of the first electromagnetic wave.
In embodiments of the present invention, when it is visible light that indicator light 105, which exports the first light beam, the first light beam can be used for It is illuminated in dark surrounds or in meeting and classroom for replacing on PPT laser pen instruction blackboard or display screen Hold.Certainly, in camera is taken pictures, the first light beam can be used for light filling etc..The embodiment of the present invention does not limit the specific of the first light beam Purposes.In embodiments of the present invention, the first light beam that indicator light 105 exports can have multiple use, can satisfy user not Same demand, promotes the experience of user.
The process that above-mentioned indicator light 105 exports the second light beam of second wave length is specifically as follows:
In some embodiments, when processor 101 determines that terminal device 100 meets the first preset condition, processor 101 The second control command can be sent to light source 102, the second control command generates electromagnetic wave for controlling light source 102.Wherein, second Preset condition is the display screen that processor 101 detects second predetermined registration operation or processor 101 determines terminal device 100 Show that specific application, specific application are determined for controlling the other equipment connecting with terminal device 100 or processor 101 The camera display of terminal device 100 images interface and ambient brightness is lower than predetermined luminance.
Illustratively, when processor 101 detect second predetermined registration operation (such as user trigger the second control, this second control Part is the control that infrared beam is exported for control instructions lamp 105) when, processor 101 sends the second control life to light source 102 It enables;Alternatively, when processor 101 determines that the display screen of terminal device 100 shows specific application (such as controlling answering for air-conditioning With) when, processor 101 sends the second control command to light source 102, which connect for controlling with terminal device 100 Other equipment (such as air-conditioning);Alternatively, processor 101 determines the camera display camera shooting interface of terminal device 100 and surrounding ring Border brightness is lower than predetermined luminance, and processor 101 sends the second control command to light source 102, for example, terminal device 100 is in dark It is recorded a video in environment using camera.
Optionally, when light source 102 receives the second control instruction, electromagnetic wave is generated, and the electromagnetism of generation is sent to Second filter 104.
Optionally, when second filter 104 receives the electromagnetic wave of the transmission of light source 102, second filter of the control of processor 101 104 output wavelength of wave device is in the electromagnetic wave in first wavelength range, filters out electromagnetic wave or the second filtering of other wavelength Device 104 is in the electromagnetic wave within the scope of second wave length, filters out the electromagnetism of other wavelength according to itself parameter request, output wavelength Wave.Wherein, when second wave length range are as follows: at 760 nanometers to 1 millimeter, the second of the second electromagnetic wave that second filter 104 exports Wavelength is in 760 nanometers to 1 millimeter of wave-length coverage.
Optionally, when the second electromagnetic transmission that second filter 104 is sent is to indicator light 105, indicator light 105 is touched Corresponding second light beam of hair the second electromagnetic wave of output.Wherein, the wavelength of second light beam is identical as the wavelength of the first electromagnetic wave.
In embodiments of the present invention, when it is black light such as infrared light that indicator light 105, which exports the second light beam, the second light Beam can be used for controlling the other equipment connected with terminal device 100 and use corresponding function, such as control and terminal device 100 The output temperature for connecting air-conditioning reduces or increases or adjust the operating mode etc. of air-conditioning;Alternatively, terminal device 100 exists When dark surrounds images, for capturing the image of object shot.The embodiment of the present invention does not limit the particular use of the second light beam. In embodiments of the present invention, the second light beam that indicator light 105 exports can have multiple use, can satisfy the different need of user It asks, promotes the experience of user.
Optionally, since an indicator light 105 being arranged in terminal device 100, indicator light 105 can only export a kind of light every time That is, beam or exports visible light or exports infrared light.Therefore, it is necessary to the wavelength of the light beam exported to indicator light 105 to cut It changes.The switching mode of the wavelength for the light beam that several indicator lights 105 provided in an embodiment of the present invention export is described below.
As an example, it please refers to shown in Fig. 2, is a kind of structural representation of terminal device provided in an embodiment of the present invention Figure.As shown in Fig. 2, being provided with first switch 106 between light source 102 and first filter 103 and second filter 104.The One switch 106 is connect with light source 102, processor 101.Processing 101 can control first switch 106 and first filter 103 connects It connects, so that indicator light 105 can export the first light beam, or control first switch 106 is connect with second filter 104, so that Indicator light 105 can export the second light beam.
For example, when processor 101 sends the first control command to light source 102, processor 101 can detecte first The current connection status of switch 106.If detecting, first switch 106 is off-state, and processor 101 can control first switch 106 connect with first filter 103;If detecting, first switch 106 is connect with second filter 104, and processor 101 can be controlled First switch 106 processed is disconnected with second filter 104, and is controlled first switch 106 and connect with first filter 103.When When first filter 103 is connect with first switch 106, first filter 103 is in enabled state.First filter 103 receives When the electromagnetic wave sent to light source 102, first filter 103 under the control of processor 101 or automatically carries out electromagnetic wave Filtration treatment exports the first electromagnetic wave, and by the first electromagnetic transmission to indicator light 105, so that first electricity of the output of indicator light 105 Corresponding first light beam of magnetic wave.
When processor 101 sends the second control command to light source 102, processor 101 can detecte first switch 106 and work as Preceding connection status.If detecting, first switch 106 is off-state, and processor 101 can control first switch 106 and second Filter 104 connects;If detecting, first switch 106 is connect with first filter 103, and processor 101 can control first and open It closes 106 to disconnect with first filter 103, and controls first switch 106 and connect with second filter 104.When the second filtering When device 104 is connect with first switch 106, second filter 104 is in enabled state.Second filter 104 receives light source 102 When the electromagnetic wave of transmission, second filter 104 is filtered processing under the control of processor 101 or automatically to electromagnetic wave, The second electromagnetic wave is exported, and by the second electromagnetic transmission to indicator light 105, so that indicator light 105 exports the second electromagnetic wave and corresponds to The first light beam.
In this example, processor 101 can be controlled by first switch 106 light source 102 and first filter 103 or It is attached with second filter 104, so that indicator light 105 when connecting with first filter 103, can export the first light Beam, or when connecting with second filter 104, the second light beam can be exported.In this example, indicator light 105 can export not The light beam of co-wavelength facilitates the experience for promoting user so as to realize the different demand of user.
It as another example, please refers to shown in Fig. 3, is that a kind of structure of terminal device provided in an embodiment of the present invention is shown It is intended to.As shown in figure 3, being provided with second switch between indicator light 105 and first filter 103 and second filter 104 107.Second switch 107 is connect with indicator light 105, processor 101.Processing 101 can control second switch 107 and the first filtering Device 103 connects, so that indicator light 105 can export the first light beam, or control second switch 107 and second filter 104 connect It connects, so that indicator light 105 can export the second light beam.
For example, when processor 101 sends the first control command to light source 102, processor 101 can detecte second The current connection status of switch 107.If detecting, second switch 107 is off-state, and processor 101 can control second switch 107 connect with first filter 103;If detecting, second switch 107 is connect with second filter 104, and processor 101 can be controlled Second switch 107 processed is disconnected with second filter 104, and is controlled second switch 107 and connect with first filter 103.When When first filter 103 is connect with second switch 107, indicator light 105 can export the first light beam.
When processor 101 sends the second control command to light source 102, processor 101 can detecte second switch 107 and work as Preceding connection status.If detecting, second switch 107 is off-state, and processor 101 can control second switch 107 and second Filter 104 connects;If detecting, second switch 107 is connect with first filter 103, and processor 101 can control second and open It closes 107 to disconnect with first filter 103, and controls second switch 107 and connect with second filter 104.When the second filtering When device 104 is connect with second switch 107, indicator light 105 can export the second light beam.
In this example, processor 101 can by 107 control instructions lamp 105 of second switch and first filter 103 or Person is attached with second filter 104, so that indicator light 105 when connecting with first filter 103, can export the first light Beam, or when connecting with second filter 104, the second light beam can be exported.In this example, indicator light 105 can export not The light beam of co-wavelength facilitates the experience for promoting user so as to realize the different demand of user.
It as another example, please refers to shown in Fig. 4, is that a kind of structure of terminal device provided in an embodiment of the present invention is shown It is intended to.As shown in figure 4, first filter 103 is attached by the interface 1 of light source 102 with light source 102, second filter 104 It is attached by the interface 2 and light source 102 of light source 102.
Please continue to refer to shown in Fig. 4, when light source 102 receives the first control command of the transmission of processor 101, light source The electromagnetic wave of generation is sent to first filter 103 by interface 1 by 102.Control of the first filter 103 in processor 101 The electromagnetic wave that lower or automatic butt receives is filtered processing, exports the first electromagnetic wave, and by the first electromagnetic transmission to finger Show lamp 105, so that indicator light 105 exports the first light beam.
When light source 102 receives the second control command of the transmission of processor 101, light source 102 leads to the electromagnetic wave of generation It crosses interface 2 and is sent to second filter 104.Second filter 104 is under the control of processor 101 or automatic butt receives Electromagnetic wave is filtered processing, the second electromagnetic wave is exported, and the second electromagnetic wave is sent to indicator light 105, so that indicator light 105 Export the second light beam.
In this example, processor 101 can control light source 102 and the electromagnetic wave of generation be sent to first by interface 1 Wave device 103, or second filter 104 is sent to by interface 2, so that indicator light 105 is defeated after receiving the first electromagnetic wave First light beam out exports the second light beam after receiving the second electromagnetic wave.In this example, indicator light 105 can export difference The light beam of wavelength facilitates the experience for promoting user so as to realize the different demand of user.
It should be noted that it is above-mentioned be 1 indicator light to be arranged in terminal device, for two different filters, when Right terminal device is also provided with multiple indicator lights, and/or multiple and different filters is arranged, and the embodiment of the present invention is unlimited It is fixed.When terminal device is provided with multiple indicator lights and/or the multiple and different filters of setting, terminal device can using with it is upper State the light beam of same or similar mode control instructions lamp output specific wavelength.
Based on the same inventive concept, the embodiment of the present invention provides a kind of control method of indicator light, please refers to Fig. 5 institute Show, is a kind of flow diagram of the control method of indicator light provided in an embodiment of the present invention, this method can be applied to above-mentioned In Fig. 1-terminal device shown in Fig. 4 or similar terminal device.Hereinafter said by taking terminal device shown in FIG. 1 as an example It is bright.As shown in figure 5, this method process includes:
S501, processor control first filter filter the electromagnetic wave that light source issues, and obtaining wavelength is first wave length First electromagnetic wave, so that indicator light exports corresponding first light beam of the first electromagnetic wave.
When S502, processor determine that terminal device meets the first preset condition, control second filter issues light source Electromagnetic wave filtering obtains the second electromagnetic wave that wavelength is second wave length, so that indicator light exports the second electromagnetic wave corresponding second Light beam.
By foregoing description it is found that in the present invention in the technical solution of embodiment, in terminal device, processor control First filter filters the electromagnetic wave that light source issues, and the first electromagnetic wave that wavelength is first wave length is obtained, so that indicator light is defeated Corresponding first light beam of first electromagnetic wave out;When processor determines that terminal device meets the first preset condition, the second filtering of control Device filters the electromagnetic wave that light source issues, and obtains the second electromagnetic wave that wavelength is second wave length, so that the second electricity of indicator light output Corresponding second light beam of magnetic wave.In this way, terminal device can neatly change the wavelength of the light beam of indicator light output, So as to realize the different demand of user, facilitate the experience for promoting user.
Under based on the same inventive concept, the embodiment of the invention provides a kind of computer readable storage mediums.Computer can Reading storage medium has computer program, and computer program includes program instruction, and program instruction when executed by a computer, makes to calculate Machine executes the step of control method of above-mentioned indicator light.By computer program and aforementioned finger shown in fig. 5 in this present embodiment The control method for showing lamp is based on the invention under same design, by the detailed description of the aforementioned control method to indicator light, originally Field technical staff can be apparent from the implementation process of computer program in the present embodiment, so in order to illustrate the letter of book Clean, details are not described herein.
Under based on the same inventive concept, the embodiment of the invention provides a kind of computer program products.Computer program produces Product are stored with computer program, and computer program includes program instruction, and program instruction when executed by a computer, holds computer The step of control method of the above-mentioned indicator light of row.By computer program and aforementioned indicator light shown in fig. 5 in this present embodiment Control method be that the detailed description of the aforementioned control method to indicator light, this field are passed through based on the invention under same design Technical staff can be apparent from the implementation process of computer program in the present embodiment, so in order to illustrate the succinct of book, This is repeated no more.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of control method of indicator light, which is characterized in that be applied to terminal device, the terminal device include processor, Indicator light, light source, first filter and second filter, which comprises
The processor controls the first filter and filters to the electromagnetic wave that the light source issues, and obtaining wavelength is first wave length The first electromagnetic wave so that the indicator light exports corresponding first light beam of first electromagnetic wave;
When the processor determines that the terminal device meets the first preset condition, the second filter is controlled to the light source The electromagnetic wave of sending filters, and obtains the second electromagnetic wave that wavelength is second wave length, so that indicator light output second electricity Corresponding second light beam of magnetic wave.
2. the method as described in claim 1, which is characterized in that further include first switch in the terminal device;The processing Before device controls the electromagnetic wave filtering that the first filter issues the light source, the method also includes:
The processor controls the first switch and connect with the first filter, so that the first filter is in enabled State;
Before the processor controls the electromagnetic wave filtering that the second filter issues the light source, the method is also wrapped It includes:
The processor controls the first switch and disconnects with the first filter;
The processor controls the first switch and connect with the second filter, so that the second filter is in enabled State.
3. the method as described in claim 1, which is characterized in that the first filter be visible light filter, described second Filter is infrared light filter.
4. method a method according to any one of claims 1-3, which is characterized in that control the first filter pair in the processor The electromagnetic wave filtering that the light source issues, before obtaining the first electromagnetic wave that wavelength is first wave length, the method also includes:
The processor determines the terminal device ambient brightness lower than predetermined luminance;Alternatively,
The processor determines that the terminal device shows the interface of finding a view of camera;Alternatively,
The processor detects the first predetermined registration operation.
5. method a method according to any one of claims 1-3, which is characterized in that first preset condition includes in following condition It is one or more:
The processor detects second predetermined registration operation;Alternatively,
The processor determine the terminal device display screen show specific application, the specific application for control with it is described Other equipment of terminal device connection.
6. a kind of terminal device characterized by comprising processor, indicator light, light source, first filter and second filter;
The light source, for generating electromagnetic wave;
The processor generates electromagnetic wave for controlling the light source, controls the first filter or second filtering Device filters the electromagnetic wave that the light source generates;
The first filter, the electromagnetic wave filtering for issuing to the light source obtain the first electricity that wavelength is first wave length Magnetic wave;
The second filter, the electromagnetic wave filtering for issuing to the light source obtain the second electricity that wavelength is second wave length Magnetic wave;
The indicator light, for exporting corresponding first light beam of first electromagnetic wave, or for exporting second electromagnetism Corresponding second light beam of wave.
7. terminal device as claimed in claim 6, which is characterized in that further include first switch in the terminal device;It is described Processor is for being also used to before controlling the electromagnetic wave filtering that the first filter issues the light source:
It controls the first switch to connect with the first filter, so that the first filter is in enabled state;
The processor is for being also used to before controlling the electromagnetic wave filtering that the second filter issues the light source:
The first switch is controlled to disconnect with the first filter;
It controls the first switch to connect with the second filter, so that the second filter is in enabled state.
8. terminal device as claimed in claim 6, which is characterized in that the first filter is visible light filter, described Second filter is infrared light filter.
9. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence, the computer program include program instruction, and described program instructs when executed by a computer, execute the computer such as Method as claimed in any one of claims 1 to 5.
10. a kind of computer program product, which is characterized in that the computer program product is stored with computer program, described Computer program includes program instruction, and described program instructs when executed by a computer, executes the computer as right is wanted Seek any method in 1-5.
CN201910428619.5A 2019-05-22 2019-05-22 Control method of indicator light, terminal device and computer readable storage medium Active CN110191210B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910428619.5A CN110191210B (en) 2019-05-22 2019-05-22 Control method of indicator light, terminal device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910428619.5A CN110191210B (en) 2019-05-22 2019-05-22 Control method of indicator light, terminal device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110191210A true CN110191210A (en) 2019-08-30
CN110191210B CN110191210B (en) 2020-11-03

Family

ID=67717330

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910428619.5A Active CN110191210B (en) 2019-05-22 2019-05-22 Control method of indicator light, terminal device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110191210B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111163223A (en) * 2019-12-27 2020-05-15 惠州Tcl移动通信有限公司 Flash lamp control method and device, storage medium and terminal equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107491743A (en) * 2017-07-31 2017-12-19 广东欧珀移动通信有限公司 Iris image acquiring method and Related product
CN107862853A (en) * 2017-10-27 2018-03-30 广东欧珀移动通信有限公司 Infrared transmitter control method, terminal and computer-readable recording medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107491743A (en) * 2017-07-31 2017-12-19 广东欧珀移动通信有限公司 Iris image acquiring method and Related product
CN107862853A (en) * 2017-10-27 2018-03-30 广东欧珀移动通信有限公司 Infrared transmitter control method, terminal and computer-readable recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111163223A (en) * 2019-12-27 2020-05-15 惠州Tcl移动通信有限公司 Flash lamp control method and device, storage medium and terminal equipment

Also Published As

Publication number Publication date
CN110191210B (en) 2020-11-03

Similar Documents

Publication Publication Date Title
KR101988279B1 (en) Operating Method of User Function based on a Face Recognition and Electronic Device supporting the same
KR102377277B1 (en) Method and apparatus for supporting communication in electronic device
CN108781271A (en) Method and apparatus for providing images serve
CN109068161B (en) Equipment connection establishing method and device
CN104320586A (en) Photographing method and system and terminals
KR102449670B1 (en) Method for creating video data using cameras and server for processing the method
CN107631750B (en) Method, device, terminal and storage medium for testing terminal to be tested
CN111580661A (en) Interaction method and augmented reality device
EP3282644A1 (en) Timing method and device
CN104919784A (en) Remote operation assistance system and remote operation assistance program storage medium
CN111487889A (en) Method, device and equipment for controlling intelligent equipment, control system and storage medium
CN106101433B (en) Notification message display methods and device
CN103838536A (en) Displaying mode switching method, electronic equipment control method and electronic equipment
CN105706436B (en) Information processing unit, imaging device, imaging system, the control method of information processing unit, the control method of imaging device and computer-readable medium
CN110191210A (en) A kind of control method and terminal device of indicator light
CN104698728A (en) Micro-projector as well as operating method and operating device of micro-projector
CN208299916U (en) A kind of projector
TW201508605A (en) A device and a system with a interface displaying information of internet and a interface generation method
CN105589601B (en) Back light brightness regulating method and device
WO2018055659A1 (en) Screen sharing system, screen sharing method, and program
CN105119984B (en) Send the method and device of file
CN110086990A (en) A kind of photographic method of terminal, device, portable terminal and storage medium
CN106534517B (en) Operating status method of adjustment, device and electronic equipment
JP2019126009A (en) Electronic apparatus, television device, and control method
CN112291133B (en) Method, device, equipment and medium for sending files in cross-terminal mode

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant