技术领域technical field
本公开涉及电子设备技术领域,具体地,涉及一种照明控制方法及装置。The present disclosure relates to the technical field of electronic equipment, and in particular, to a lighting control method and device.
背景技术Background technique
目前,随着电子设备的功能日益丰富,诸如手机等大多数电子设备都具备了可用于照明的照明元件。At present, with the increasingly rich functions of electronic devices, most electronic devices such as mobile phones have lighting elements that can be used for lighting.
相关技术中,用户需要使用电子设备的照明功能时,常常需要进行一系列繁琐的操作,比如点亮电子设备的屏幕,从屏幕的显示界面中调出通知栏,再点击通知栏中照明元件所对应的快捷开关才能开启照明元件进行照明。In related technologies, when a user needs to use the lighting function of an electronic device, he often needs to perform a series of cumbersome operations, such as lighting up the screen of the electronic device, calling up the notification bar from the display interface of the screen, and then clicking on the lighting element in the notification bar. The corresponding shortcut switch can turn on the lighting element for lighting.
对于配置了相关硬件结构的电子设备,用户还可以通过点亮屏幕后长按预设按键(如home键)来开启照明元件进行照明。For an electronic device equipped with a relevant hardware structure, the user can also turn on the lighting element for lighting by long pressing a preset button (such as a home button) after turning on the screen.
发明内容Contents of the invention
为了克服相关技术中存在的问题,本公开提供一种照明控制方法及装置。In order to overcome the problems existing in related technologies, the present disclosure provides a lighting control method and device.
根据本公开实施例的第一方面,提供一种照明控制方法,应用于电子设备,所述电子设备包括屏幕和照明元件,所述方法包括:According to a first aspect of an embodiment of the present disclosure, there is provided a lighting control method applied to an electronic device, where the electronic device includes a screen and a lighting element, and the method includes:
当检测到所述屏幕处于点亮状态时,获取所述电子设备所处环境的环境光强度;When it is detected that the screen is on, acquiring the ambient light intensity of the environment where the electronic device is located;
当所述环境光强度小于预设强度阈值时,在所述屏幕的显示界面显示一目标图标,所述目标图标用于在接收到第一预设操作时开启所述照明元件。When the ambient light intensity is less than a preset intensity threshold, a target icon is displayed on the display interface of the screen, and the target icon is used to turn on the lighting element when a first preset operation is received.
可选地,所述当检测到所述屏幕处于点亮状态时,获取所述电子设备所处环境的环境光强度的步骤包括:Optionally, when it is detected that the screen is on, the step of obtaining the ambient light intensity of the environment where the electronic device is located includes:
当检测到所述屏幕处于点亮状态时,通过所述电子设备的图像采集装置采集目标图像;When it is detected that the screen is in a lighted state, the target image is collected by the image collection device of the electronic device;
对所述目标图像进行灰度变换,获取所述目标图像的灰度值;performing grayscale transformation on the target image to obtain the grayscale value of the target image;
根据所述灰度值确定所述环境光强度。Determine the ambient light intensity according to the grayscale value.
可选地,所述当检测到所述屏幕处于点亮状态时,获取所述电子设备所处环境的环境光强度的步骤包括:Optionally, when it is detected that the screen is on, the step of obtaining the ambient light intensity of the environment where the electronic device is located includes:
当检测到所述屏幕处于点亮状态时,获取当前时间和所述电子设备的当前位置;When it is detected that the screen is on, acquire the current time and the current location of the electronic device;
当所述当前时间位于预设时间段内和/或所述当前位置满足预设位置条件时,获取所述环境光强度。When the current time is within a preset time period and/or the current location satisfies a preset location condition, the ambient light intensity is acquired.
可选地,所述检测到所述屏幕处于点亮状态时,获取所述电子设备所处环境的环境光强度的步骤包括:Optionally, when it is detected that the screen is on, the step of obtaining the ambient light intensity of the environment where the electronic device is located includes:
当检测到所述屏幕处于点亮且未被解锁的状态时,若在预设时长内未检测到用户对电子设备的第二预设操作,则获取所述环境光强度。When it is detected that the screen is in a state of being on and not unlocked, if the second preset operation of the electronic device by the user is not detected within a preset time period, the ambient light intensity is acquired.
可选地,所述当所述环境光强度小于预设强度阈值时,在所述屏幕的显示界面显示一目标图标的步骤包括:Optionally, when the ambient light intensity is less than a preset intensity threshold, the step of displaying a target icon on the display interface of the screen includes:
当所述环境光强度小于所述预设强度阈值时,检测用户对所述电子设备的握持方式;When the ambient light intensity is less than the preset intensity threshold, detecting how the user holds the electronic device;
根据所述握持方式确定所述目标图标在所述显示界面的目标位置;determining a target position of the target icon on the display interface according to the holding manner;
在所述目标位置显示所述目标图标。The target icon is displayed at the target location.
可选地,所述方法还包括:Optionally, the method also includes:
当检测到所述照明元件处于开启状态时,实时获取所述电子设备当前所处环境的当前环境光强度;When it is detected that the lighting element is in an on state, acquire in real time the current ambient light intensity of the environment where the electronic device is currently located;
根据所述当前环境光强度,调节所述照明元件的亮度。Adjust the brightness of the lighting element according to the current ambient light intensity.
可选地,所述方法还包括:Optionally, the method also includes:
当所述照明元件处于开启状态时,若检测到用户针对所述电子设备的第三预设操作,则关闭所述照明元件。When the lighting element is in the on state, if a user's third preset operation on the electronic device is detected, the lighting element is turned off.
根据本公开实施例的第二方面,提供一种照明控制装置,应用于电子设备,所述电子设备包括屏幕和照明元件,所述装置包括:According to the second aspect of the embodiments of the present disclosure, there is provided a lighting control device applied to an electronic device, the electronic device includes a screen and a lighting element, and the device includes:
第一获取模块,被配置为在检测到所述屏幕处于点亮状态时,获取所述电子设备所处环境的环境光强度;The first acquisition module is configured to acquire the ambient light intensity of the environment where the electronic device is located when it is detected that the screen is in a lighted state;
显示模块,被配置为在所述环境光强度小于预设强度阈值时,在所述屏幕的显示界面显示一目标图标,所述目标图标用于在接收到第一预设操作时开启所述照明元件。The display module is configured to display a target icon on the display interface of the screen when the ambient light intensity is less than a preset intensity threshold, and the target icon is used to turn on the lighting when a first preset operation is received element.
可选地,所述第一获取模块包括:Optionally, the first acquisition module includes:
采集子模块,被配置为当检测到所述屏幕处于点亮状态时,通过所述电子设备的图像采集装置采集目标图像;The collection submodule is configured to collect the target image through the image collection device of the electronic device when it is detected that the screen is in a lighted state;
第一获取子模块,被配置为对所述目标图像进行灰度变换,获取所述目标图像的灰度值;The first acquisition submodule is configured to perform grayscale transformation on the target image to acquire the grayscale value of the target image;
第一确定子模块,被配置为根据所述灰度值确定所述环境光强度。The first determining submodule is configured to determine the ambient light intensity according to the gray value.
可选地,所述第一获取模块包括:Optionally, the first acquisition module includes:
第二获取子模块,被配置为在检测到所述屏幕处于点亮状态时,获取当前时间和所述电子设备的当前位置;The second acquisition submodule is configured to acquire the current time and the current location of the electronic device when it is detected that the screen is in a lighted state;
第三获取子模块,被配置为在所述当前时间位于预设时间段内和/或所述当前位置满足预设位置条件时,获取所述环境光强度。The third acquiring submodule is configured to acquire the ambient light intensity when the current time is within a preset time period and/or the current location satisfies a preset location condition.
可选地,所述第一获取模块包括:Optionally, the first acquisition module includes:
第四获取子模块,被配置为在检测到所述屏幕处于点亮且未被解锁的状态时,若在预设时长内未检测到用户对电子设备的第二预设操作,则获取所述环境光强度。The fourth acquiring submodule is configured to acquire the said screen if no second preset operation of the electronic device by the user is detected within a preset time period when it is detected that the screen is in a state of being on and not unlocked. Ambient light intensity.
可选地,所述显示模块包括:Optionally, the display module includes:
检测子模块,被配置为在所述环境光强度小于所述预设强度阈值时,检测用户对所述电子设备的握持方式;The detection submodule is configured to detect how the user holds the electronic device when the ambient light intensity is less than the preset intensity threshold;
第二确定子模块,被配置为根据所述握持方式确定所述目标图标在所述显示界面的目标位置;The second determination submodule is configured to determine the target position of the target icon on the display interface according to the holding manner;
显示子模块,被配置为在所述目标位置显示所述目标图标。A display submodule configured to display the target icon at the target position.
可选地,所述装置还包括:Optionally, the device also includes:
第二获取模块,被配置为在检测到所述照明元件处于开启状态时,实时获取所述电子设备当前所处环境的当前环境光强度;The second acquiring module is configured to acquire, in real time, the current ambient light intensity of the environment where the electronic device is currently located when it is detected that the lighting element is in an on state;
调节模块,被配置为根据所述当前环境光强度,调节所述照明元件的亮度。An adjustment module configured to adjust the brightness of the lighting element according to the current ambient light intensity.
可选地,所述装置还包括:Optionally, the device also includes:
关闭模块,被配置为在所述照明元件处于开启状态时,若检测到用户针对所述电子设备的第三预设操作,则关闭所述照明元件。The shutdown module is configured to turn off the lighting element if a third preset operation of the user on the electronic device is detected when the lighting element is in the on state.
根据本公开实施例的第三方面,提供一种照明控制装置,应用于电子设备,所述电子设备包括屏幕和照明元件,所述装置包括:According to a third aspect of the embodiments of the present disclosure, there is provided a lighting control device applied to an electronic device, the electronic device includes a screen and a lighting element, and the device includes:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
当检测到所述屏幕处于点亮状态时,获取所述电子设备所处环境的环境光强度;When it is detected that the screen is on, acquiring the ambient light intensity of the environment where the electronic device is located;
当所述环境光强度小于预设强度阈值时,在所述屏幕的显示界面显示一目标图标,所述目标图标用于在接收到第一预设操作时开启所述照明元件。When the ambient light intensity is less than a preset intensity threshold, a target icon is displayed on the display interface of the screen, and the target icon is used to turn on the lighting element when a first preset operation is received.
根据本公开实施例的第四方面,提供一种计算机可读存储介质,其上存储有计算机程序指令,该程序指令被处理器执行时实现本公开第一方面所提供的照明控制方法的步骤。According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of the lighting control method provided in the first aspect of the present disclosure are implemented.
本公开的实施例提供的技术方案可以包括以下有益效果:通过当检测到屏幕处于点亮状态时获取电子设备的环境光强度,并在环境光强度小于预设强度阈值时在显示界面为用户提供便于用户开启照明元件的目标图标,可以在不依赖于电子设备硬件的基础上,缩短用户对照明元件的操作路径,使用户可以方便快捷地使用电子设备的照明功能,提升用户体验。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: by acquiring the ambient light intensity of the electronic device when the screen is detected to be on, and providing the user with It is convenient for the user to turn on the target icon of the lighting element, which can shorten the user's operation path for the lighting element without depending on the hardware of the electronic device, so that the user can use the lighting function of the electronic device conveniently and quickly, and improve the user experience.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是根据一示例性实施例示出的一种照明控制方法的流程图;Fig. 1 is a flow chart of a lighting control method according to an exemplary embodiment;
图2A是根据一示例性实施例示出的一种环境光强度获取方法的流程图;Fig. 2A is a flowchart of a method for acquiring ambient light intensity according to an exemplary embodiment;
图2B是根据另一示例性实施例示出的一种环境光强度获取方法的流程图;Fig. 2B is a flow chart of a method for acquiring ambient light intensity according to another exemplary embodiment;
图3A至图3B示出了在实施本公开提供的照明控制方法时的场景示意图;3A to 3B show schematic diagrams of scenarios when implementing the lighting control method provided by the present disclosure;
图4是根据一示例性实施例示出的一种目标图标显示方法的流程图;Fig. 4 is a flowchart of a method for displaying a target icon according to an exemplary embodiment;
图5A至图5B示出了在实施本公开提供的照明控制方法时的场景示意图;5A to 5B show schematic diagrams of scenes when implementing the lighting control method provided by the present disclosure;
图6是根据另一示例性实施例示出的一种照明控制方法的流程图;Fig. 6 is a flowchart of a lighting control method according to another exemplary embodiment;
图7是根据另一示例性实施例示出的一种照明控制方法的流程图;Fig. 7 is a flow chart of a lighting control method according to another exemplary embodiment;
图8是根据一示例性实施例示出的一种照明控制装置的框图;Fig. 8 is a block diagram of a lighting control device according to an exemplary embodiment;
图9是根据另一示例性实施例示出的一种照明控制装置的框图;Fig. 9 is a block diagram of a lighting control device according to another exemplary embodiment;
图10是根据一示例性实施例示出的一种用于照明控制方法的装置的框图。Fig. 10 is a block diagram of an apparatus used in a lighting control method according to an exemplary embodiment.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
图1是根据一示例性实施例示出的一种照明控制方法的流程图,其中,该方法应用于电子设备,该电子设备可以例如是手机、平板电脑、智能可穿戴设备、个人数字助力(PDA)等等,包括屏幕和照明元件。如图1所示,该照明控制方法包括:Fig. 1 is a flow chart of a lighting control method according to an exemplary embodiment, wherein the method is applied to an electronic device, such as a mobile phone, a tablet computer, a smart wearable device, a personal digital assistant (PDA) ) etc., including screens and lighting elements. As shown in Figure 1, the lighting control method includes:
在步骤S101中,当检测到屏幕处于点亮状态时,获取电子设备所处环境的环境光强度。In step S101, when it is detected that the screen is on, the ambient light intensity of the environment where the electronic device is located is acquired.
在步骤S102中,当环境光强度小于预设强度阈值时,在屏幕的显示界面显示一目标图标,目标图标用于在接收到第一预设操作时开启照明元件。In step S102, when the ambient light intensity is less than the preset intensity threshold, a target icon is displayed on the display interface of the screen, and the target icon is used to turn on the lighting element when a first preset operation is received.
首先,对上述照明控制方法中的步骤S101进行详细说明。First, step S101 in the above lighting control method will be described in detail.
在一个实施例中,电子设备所处的环境光强度可通过电子设备的感光元件(如光线感应器)获取到。例如,环境光线通过光线感应器中的透镜聚焦后转化为相应的电信号,由于光强度与电信号的幅值呈正比,因此根据电信号的幅值大小可得到电子设备所处的环境光强度。In one embodiment, the ambient light intensity of the electronic device can be acquired through a photosensitive element (such as a light sensor) of the electronic device. For example, the ambient light is converted into a corresponding electrical signal after being focused by the lens in the light sensor. Since the light intensity is proportional to the amplitude of the electrical signal, the ambient light intensity of the electronic device can be obtained according to the amplitude of the electrical signal. .
在另一个实施例中,电子设备所处的环境光强度还可通过电子设备的图像采集装置(如前置摄像头)获取环境光强度,如图2A所示,上述步骤S101可以包括:In another embodiment, the ambient light intensity of the electronic device can also be acquired through an image acquisition device (such as a front camera) of the electronic device, as shown in FIG. 2A, the above step S101 may include:
在步骤S111中,当检测到屏幕处于点亮状态时,通过电子设备的图像采集装置采集目标图像。In step S111, when it is detected that the screen is on, the target image is captured by the image capture device of the electronic device.
在步骤S112中,对目标图像进行灰度变换,获取目标图像的灰度值。In step S112, grayscale transformation is performed on the target image to obtain the grayscale value of the target image.
在步骤S113中,根据灰度值确定环境光强度。In step S113, the ambient light intensity is determined according to the gray value.
用户点亮屏幕的瞬间,电子设备的相关组件检测到屏幕处于点亮状态并反馈给处理组件,处理组件发出控制开启图像采集装置的指令,图像采集装置开始采集目标图像。在一个实施例中,目标图像为电子设备的外部环境图像。The moment the user turns on the screen, the relevant components of the electronic device detect that the screen is on and feed back to the processing component, and the processing component issues an instruction to control the opening of the image acquisition device, and the image acquisition device starts to capture the target image. In one embodiment, the target image is an image of the external environment of the electronic device.
接着,处理组件通过对图像采集装置采集到的目标图像进行降噪滤波、灰度变化等处理,可得到目标图像的灰度值。由于光强度与图像的灰度值成正比关系,由此,根据获取到目标图像的灰度值可以得到环境光强度。Next, the processing component can obtain the gray value of the target image by performing processing such as noise reduction filtering and gray scale change on the target image collected by the image acquisition device. Since the light intensity is directly proportional to the gray value of the image, the ambient light intensity can be obtained according to the acquired gray value of the target image.
在一个实施例中,在检测到屏幕处于点亮状态时,电子设备的传感器组件还通过检测电子设备的侧面和背面的状态参数(如电容)变化来判断电子设备是否被握持,若检测到电子设备被握持,则开启图像采集装置采集目标图像;否则,不开启图像采集装置。由此,可以避免电子设备被误触而处于屏幕点亮状态时对目标图像进行采集的问题,可以减小电子设备的处理组件的工作量,提高电子设备的工作效率,同时减小电子设备的电量消耗。In one embodiment, when it is detected that the screen is on, the sensor component of the electronic device also determines whether the electronic device is held by detecting changes in state parameters (such as capacitance) on the side and back of the electronic device. When the electronic device is held, the image acquisition device is turned on to collect the target image; otherwise, the image acquisition device is not turned on. Thus, the problem of collecting the target image when the electronic device is accidentally touched and the screen is on can be avoided, the workload of the processing components of the electronic device can be reduced, the working efficiency of the electronic device can be improved, and the cost of the electronic device can be reduced at the same time. power consumption.
在一个实施例中,如图2B所示,上述步骤S101包括:In one embodiment, as shown in FIG. 2B, the above step S101 includes:
在步骤S114中,当检测到屏幕处于点亮状态时,获取当前时间和电子设备的当前位置。In step S114, when it is detected that the screen is on, the current time and the current location of the electronic device are acquired.
在一个实施例中,当前时间为电子设备的当前系统时间,电子设备的当前位置可通过电子设备的定位组件(如GPS)获取到。In one embodiment, the current time is the current system time of the electronic device, and the current location of the electronic device can be obtained through a positioning component (such as GPS) of the electronic device.
在步骤S115中,在当前时间位于预设时间段内和/或当前位置满足预设位置条件时,获取电子设备所处环境的环境光强度。In step S115, when the current time is within a preset time period and/or the current location satisfies a preset location condition, the ambient light intensity of the environment where the electronic device is located is acquired.
在一个实施例中,预设时间段可设置为19:00-24:00,预设位置条件可设置为室内。In one embodiment, the preset time period can be set as 19:00-24:00, and the preset location condition can be set as indoor.
例如,若检测到当前时间为21:00,位于预设时间段内,则可判定当前为夜间,电子设备所处环境的光线可能不足,因而当检测到屏幕处于点亮状态时,开启相关组件(如感光元件、图像采集装置等)获取电子设备所处环境的环境光强度,以进一步确定当前时间在当前位置下是否需要显示目标图标,方便用户开启照明元件进行照明。For example, if it is detected that the current time is 21:00, which is within the preset time period, it can be determined that it is currently nighttime, and the light in the environment where the electronic device is located may be insufficient, so when it is detected that the screen is on, the relevant components are turned on (such as photosensitive elements, image acquisition devices, etc.) to obtain the ambient light intensity of the environment where the electronic equipment is located, to further determine whether the target icon needs to be displayed at the current time at the current location, so that the user can turn on the lighting elements for lighting.
又如,若检测到当前时间为5月某日18:00,超出预设时间段内,但同时获取到电子设备当前处于室内,满足预设位置条件,则可判定当前为白天,但室内光线可能不足,因而当检测到屏幕处于点亮状态时,开启相关组件(如感光元件、图像采集装置等)获取电子设备所处环境的环境光强度,以进一步确定当前时间在当前位置下是否需要显示目标图标,方便用户开启照明元件进行照明。For another example, if it is detected that the current time is 18:00 on a certain day in May, which is beyond the preset time period, but at the same time it is obtained that the electronic device is currently indoors and meets the preset location conditions, it can be determined that it is currently daytime, but the indoor light It may be insufficient, so when it is detected that the screen is on, turn on relevant components (such as photosensitive elements, image acquisition devices, etc.) to obtain the ambient light intensity of the environment where the electronic device is located, to further determine whether the current time needs to be displayed at the current location A target icon for the user to turn on the lighting element for illumination.
在另一个实施例中,当检测到屏幕处于点亮且未被解锁的状态时,若在预设时长内未检测到用户对电子设备的第二预设操作,则获取电子设备所处环境的环境光强度。预设时长可以是用户自定义设置的,也可以是电子设备在出厂时设置好的。第二预设操作可以例如包括:对屏幕进行解锁,按下电源按键熄灭屏幕等等。In another embodiment, when it is detected that the screen is on and not unlocked, if the second preset operation of the electronic device by the user is not detected within a preset period of time, the information of the environment where the electronic device is located is obtained. Ambient light intensity. The preset duration can be set by the user, or can be set by the electronic device at the factory. The second preset operation may include, for example: unlocking the screen, pressing a power button to turn off the screen, and so on.
例如,用户点亮屏幕并在预设时长内解锁屏幕后进入主显示界面进行拨打电话、发短信等操作,或者点亮屏幕获知时间后在预设时长内又按下电源按键熄灭屏幕,则电子设备不执行环境光强度的获取。反之,若在屏幕被点亮后的预设时长内未检测到用户对电子设备的第二预设操作,则获取环境光强度。For example, if the user turns on the screen and unlocks the screen within a preset period of time, then enters the main display interface to perform operations such as making calls and sending text messages, or turns on the screen to know the time and then presses the power button to turn off the screen within a preset period of time, the electronic The device does not perform acquisition of ambient light intensity. On the contrary, if the user's second preset operation on the electronic device is not detected within the preset time period after the screen is turned on, the ambient light intensity is acquired.
由此,可以避免在每次屏幕被点亮时都获取环境光强度,从而避免了电子设备的感光元件或图像采集装置等相关组件在不必要的情况下工作,减小了电子设备的电量消耗。In this way, it is possible to avoid obtaining the ambient light intensity every time the screen is turned on, thereby avoiding unnecessary work of related components such as the photosensitive element or image acquisition device of the electronic device, and reducing the power consumption of the electronic device .
将获取到的环境光强度与预设强度阈值进行比较,判断环境光强度是否小于预设强度阈值。在本公开的实施例中,预设强度阈值可以是用户自定义设定的,也可以是电子设备在出厂时设置好的。The acquired ambient light intensity is compared with a preset intensity threshold to determine whether the ambient light intensity is smaller than the preset intensity threshold. In the embodiments of the present disclosure, the preset intensity threshold may be set by the user, or may be set by the electronic device when it leaves the factory.
若环境光强度大于或等于预设强度阈值,则表明电子设备所处的环境较亮,无需显示目标图标,因此可忽略该环境光强度;若环境光强度小于预设强度阈值,则表明电子设备所处的环境较暗,显示目标图标。If the ambient light intensity is greater than or equal to the preset intensity threshold, it indicates that the environment in which the electronic device is located is bright, and there is no need to display the target icon, so the ambient light intensity can be ignored; if the ambient light intensity is less than the preset intensity threshold, it indicates that the electronic device The environment is dark and the target icon is displayed.
在环境光强度小于预设强度阈值时,可在屏幕的显示界面显示目标图标,以便用户在需要使用电子设备进行照明时,可直接通过操作目标图标来开启控制照明元件。When the ambient light intensity is less than the preset intensity threshold, the target icon can be displayed on the display interface of the screen, so that when the user needs to use the electronic device for lighting, he can directly turn on the control lighting element by operating the target icon.
在一个实施例中,目标图标可以例如是照明元件所对应的快捷开关图标等。In an embodiment, the target icon may be, for example, a shortcut switch icon corresponding to the lighting element or the like.
在一个实施例中,目标图标可以为透明图标。由此,可以使用户在使用电子设备时仍能观看到被目标图标覆盖的内容,进一步提升用户体验。In one embodiment, the target icon may be a transparent icon. Thus, the user can still watch the content covered by the target icon when using the electronic device, further improving the user experience.
在一个实施例中,照明元件可以例如包括闪光灯、LED灯珠等等。In one embodiment, the lighting element may include, for example, a flashlight, an LED lamp bead, and the like.
例如,以电子设备为移动终端示意,若当用户点亮电子设备的屏幕时屏幕处于锁屏状态,则在锁屏界面上显示一目标图标110,如图3A所示;若当用户点亮屏幕时屏幕处于解锁后的主显示界面,则在该主显示界面显示一目标图标,如图3B所示。由此,用户在需要使用电子设备进行照明时,可通过对目标图标进行第一预设操作来开启照明元件,第一预设操作可以例如包括:点击目标图标。For example, taking an electronic device as a mobile terminal, if the screen is in a lock screen state when the user lights up the screen of the electronic device, a target icon 110 is displayed on the lock screen interface, as shown in Figure 3A; When the screen is in the main display interface after unlocking, a target icon is displayed on the main display interface, as shown in FIG. 3B . Thus, when the user needs to use the electronic device for lighting, the lighting element can be turned on by performing a first preset operation on the target icon, and the first preset operation may include, for example: clicking the target icon.
接着,对上述照明控制方法中的步骤S102进行详细说明。Next, step S102 in the above lighting control method will be described in detail.
在一个实施例中,如图4所示,上述步骤S102可以包括:In one embodiment, as shown in FIG. 4, the above step S102 may include:
在步骤S121中,当环境光强度小于预设强度阈值时,检测用户对电子设备的握持方式。In step S121 , when the ambient light intensity is less than a preset intensity threshold, it is detected how the user holds the electronic device.
在步骤S122中,根据握持方式确定目标图标在显示界面的目标位置。In step S122, the target position of the target icon on the display interface is determined according to the gripping manner.
在步骤S123中,在显示界面的目标位置显示目标图标。In step S123, a target icon is displayed at the target position on the display interface.
当用户握持电子设备时,电子设备的传感器组件(例如,位于电子设备侧面和背面的电容传感器)通过检测电子设备侧面和背面等位置的状态参数(如电容)的变化来识别出用户手指的触及位置,从而判断出用户的握持方式,并根据用户的握持方式来确定目标图标在显示界面的目标位置,且在该位置显示该目标图标。When the user holds the electronic device, the sensor components of the electronic device (for example, capacitive sensors located on the side and back of the electronic device) recognize the movement of the user's finger by detecting changes in state parameters (such as capacitance) on the side and back of the electronic device. Touch the position to determine the user's grip mode, and determine the target icon's target position on the display interface according to the user's grip mode, and display the target icon at the position.
例如,以电子设备为移动终端示意,当检测到用户右手握持电子设备100时,如图5A所示,可在显示界面的右侧区域显示目标图标110,以使用户右手拇指方便对目标图标110进行操作;当检测到用户左手握持电子设备时,如图5B所示,可在显示界面的左侧区域显示目标图标110,以使用户左手拇指方便对目标图标110进行操作。For example, taking an electronic device as a mobile terminal, when it is detected that the user is holding the electronic device 100 with his right hand, as shown in FIG. 110 to operate; when it is detected that the user is holding the electronic device with his left hand, as shown in FIG. 5B , the target icon 110 can be displayed in the left area of the display interface, so that the user's left thumb can easily operate the target icon 110 .
由此,根据用户握持电子设备的方式来确定目标图标在显示界面的目标位置并在该目标位置显示目标图标,可以方便用户对目标图标进行操作以开启照明元件。Therefore, determining the target position of the target icon on the display interface according to the way the user holds the electronic device and displaying the target icon at the target position can facilitate the user to operate the target icon to turn on the lighting element.
通过本公开的上述技术方案,通过当检测到屏幕处于点亮状态时获取电子设备的环境光强度,并在环境光强度小于预设强度阈值时在显示界面为用户提供便于用户开启照明元件的目标图标,可以在不依赖于电子设备硬件的基础上,缩短用户对照明元件的操作路径,使用户可以方便快捷地使用电子设备的照明功能,提升用户体验。Through the above-mentioned technical solution of the present disclosure, the ambient light intensity of the electronic device is acquired when the screen is detected to be on, and when the ambient light intensity is less than the preset intensity threshold, the user is provided with a target on the display interface that is convenient for the user to turn on the lighting element The icon can shorten the user's operation path to the lighting element without depending on the hardware of the electronic device, so that the user can use the lighting function of the electronic device conveniently and quickly, and improve the user experience.
在另一个实施例中,如图6所示,上述照明控制方法还包括:In another embodiment, as shown in FIG. 6, the lighting control method above further includes:
在步骤S103中,当照明元件处于开启的工作状态时,实时获取电子设备当前所处环境的当前环境光强度。In step S103, when the lighting element is in the working state of turning on, the current ambient light intensity of the environment where the electronic device is currently located is acquired in real time.
在步骤S104中,根据当前环境光强度,调节照明元件的亮度。In step S104, the brightness of the lighting element is adjusted according to the current ambient light intensity.
当用户通过对目标图标操作开启照明元件时,电子设备的相关组件(如感光元件、图像采集装置等等)实时获取电子设备当前所处环境的当前环境光强度,并根据当前环境光强度调节照明元件的亮度。例如,当环境光强度较大时,增大照明元件的亮度;当环境光强度较小时,减小照明元件的亮度。When the user turns on the lighting element by operating the target icon, the relevant components of the electronic device (such as photosensitive elements, image acquisition devices, etc.) obtain the current ambient light intensity of the environment where the electronic device is currently located in real time, and adjust the lighting according to the current ambient light intensity The brightness of the element. For example, when the ambient light intensity is high, the brightness of the lighting element is increased; when the ambient light intensity is low, the brightness of the lighting element is decreased.
在一个实施例中,可根据当前环境光强度以及预设的环境光强度与照明元件的亮度的对应关系,确定照明元件的目标亮度,并将照明元件的亮度调整至目标亮度。In one embodiment, the target brightness of the lighting element can be determined according to the current ambient light intensity and the preset corresponding relationship between the ambient light intensity and the brightness of the lighting element, and the brightness of the lighting element can be adjusted to the target brightness.
由此,根据环境光强度调节照明元件的亮度,可以使照明元件的亮度适应环境光照的变化,在节约电子设备电量的同时提升用户体验。Therefore, by adjusting the brightness of the lighting element according to the intensity of the ambient light, the brightness of the lighting element can be adapted to the change of the ambient light, and the user experience can be improved while saving the power of the electronic device.
图7是根据另一示例性实施例示出的一种照明控制方法的流程图,其中,该方法应用于电子设备,该电子设备包括屏幕和照明元件。如图7所示,该照明控制方法包括:Fig. 7 is a flowchart of a lighting control method according to another exemplary embodiment, where the method is applied to an electronic device, and the electronic device includes a screen and a lighting element. As shown in Figure 7, the lighting control method includes:
在步骤S701中,当检测到屏幕处于点亮状态时,获取电子设备所处环境的环境光强度。In step S701, when it is detected that the screen is on, the ambient light intensity of the environment where the electronic device is located is acquired.
在步骤S702中,当环境光强度小于预设强度阈值时,在屏幕的显示界面显示一目标图标,目标图标用于在接收到第一预设操作时开启照明元件。In step S702, when the ambient light intensity is less than the preset intensity threshold, a target icon is displayed on the display interface of the screen, and the target icon is used to turn on the lighting element when a first preset operation is received.
在步骤S703中,当照明元件处于开启状态时,若检测到用户针对电子设备的第三预设操作,则关闭照明元件。第三预设操作为以下操作中的任一者:对电子设备上的预设按键进行按动操作,对电子设备进行的摇晃操作,以及对目标图标进行点击操作。In step S703, when the lighting element is in the on state, if the user's third preset operation on the electronic device is detected, the lighting element is turned off. The third preset operation is any one of the following operations: pressing a preset button on the electronic device, shaking the electronic device, and clicking a target icon.
在一个实施例中,对电子设备上的预设按键进行按动操作可以例如为:按动电子设备的电源键;对电子设备进行摇晃操作可以例如为:握持电子设备并摇晃;对目标图标进行点击操作可以例如为:点击目标图标。In one embodiment, pressing the preset button on the electronic device may be, for example: pressing the power button of the electronic device; performing a shaking operation on the electronic device may be, for example: holding the electronic device and shaking it; Performing a click operation may be, for example, clicking a target icon.
由此,用户在不需要使用照明功能时可以通过对电子设备进行相应的操作就可以方便快捷地关闭照明元件。Therefore, when the user does not need to use the lighting function, the user can conveniently and quickly turn off the lighting element by performing corresponding operations on the electronic device.
图8是根据一示例性实施例示出的一种照明控制装置的框图,其中,该装置应用于电子设备,该电子设备包括屏幕和照明元件。如图8所示,该照明控制装置800包括:第一获取模块801和显示模块802。Fig. 8 is a block diagram of a lighting control device according to an exemplary embodiment, where the device is applied to an electronic device, and the electronic device includes a screen and a lighting element. As shown in FIG. 8 , the lighting control device 800 includes: a first acquisition module 801 and a display module 802 .
该第一获取模块801,被配置为在检测到所述屏幕处于点亮状态时,获取所述电子设备所处环境的环境光强度;The first obtaining module 801 is configured to obtain the ambient light intensity of the environment where the electronic device is located when it is detected that the screen is in a lighted state;
该显示模块802,被配置为在所述环境光强度小于预设强度阈值时,在所述屏幕的显示界面显示一目标图标,所述目标图标用于在接收到第一预设操作时开启所述照明元件。The display module 802 is configured to display a target icon on the display interface of the screen when the ambient light intensity is less than a preset intensity threshold, and the target icon is used to turn on the the above lighting components.
在另一个实施例中,如图9所示,第一获取模块801包括:In another embodiment, as shown in FIG. 9, the first obtaining module 801 includes:
采集子模块811,被配置为当检测到所述屏幕处于点亮状态时,通过所述电子设备的图像采集装置采集目标图像;The collection sub-module 811 is configured to collect a target image through the image collection device of the electronic device when it is detected that the screen is in a lighted state;
第一获取子模块812,被配置为对所述目标图像进行灰度变换,获取所述目标图像的灰度值;The first acquiring submodule 812 is configured to perform grayscale transformation on the target image, and acquire the grayscale value of the target image;
第一确定子模块813,被配置为根据所述灰度值确定所述环境光强度。The first determining submodule 813 is configured to determine the ambient light intensity according to the gray value.
在另一个实施例中,如图9所示,第一获取模块801包括:In another embodiment, as shown in FIG. 9, the first obtaining module 801 includes:
第二获取子模块814,被配置为在检测到所述屏幕处于点亮状态时,获取当前时间和所述电子设备的当前位置;The second acquiring submodule 814 is configured to acquire the current time and the current location of the electronic device when it is detected that the screen is in the on state;
第三获取子模块815,被配置为在所述当前时间位于预设时间段内和/或所述当前位置满足预设位置条件时,获取所述环境光强度。The third obtaining submodule 815 is configured to obtain the ambient light intensity when the current time is within a preset time period and/or the current location satisfies a preset location condition.
在另一个实施例中,如图9所示,第一获取模块801包括:In another embodiment, as shown in FIG. 9, the first obtaining module 801 includes:
第四获取子模块816,被配置为在检测到所述屏幕处于点亮且未被解锁的状态时,若在预设时长内未检测到用户对电子设备的第二预设操作,则获取所述环境光强度。The fourth obtaining submodule 816 is configured to obtain the obtained information if the second preset operation of the electronic device by the user is not detected within a preset time period when it is detected that the screen is on and not unlocked. ambient light intensity.
在另一个实施例中,如图9所示,显示模块802包括:In another embodiment, as shown in FIG. 9, the display module 802 includes:
检测子模块821,被配置为在所述环境光强度小于所述预设强度阈值时,检测用户对所述电子设备的握持方式;The detection submodule 821 is configured to detect how the user holds the electronic device when the ambient light intensity is less than the preset intensity threshold;
第二确定子模块822,被配置为根据所述握持方式确定所述目标图标在所述显示界面的目标位置;The second determination submodule 822 is configured to determine the target position of the target icon on the display interface according to the holding manner;
显示子模块823,被配置为在所述目标位置显示所述目标图标。The display submodule 823 is configured to display the target icon at the target position.
在另一个实施例中,如图9所示,装置800还包括:In another embodiment, as shown in FIG. 9, the device 800 further includes:
第二获取模块803,被配置为在检测到所述照明元件处于开启状态时,实时获取所述电子设备当前所处环境的当前环境光强度;The second acquiring module 803 is configured to acquire, in real time, the current ambient light intensity of the environment where the electronic device is currently located when it is detected that the lighting element is in an on state;
调节模块804,被配置为根据所述当前环境光强度,调节所述照明元件的亮度。The adjustment module 804 is configured to adjust the brightness of the lighting element according to the current ambient light intensity.
在另一个实施例中,如图9所示,装置800还包括:In another embodiment, as shown in FIG. 9, the device 800 further includes:
关闭模块805,被配置为在所述照明元件处于开启状态时,若检测到用户针对所述电子设备的第三预设操作,则关闭所述照明元件。The closing module 805 is configured to turn off the lighting element if a user's third preset operation on the electronic device is detected when the lighting element is in the on state.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
本公开还提供一种计算机可读存储介质,其上存储有计算机程序指令,该程序指令被处理器执行时实现本公开提供的照明控制方法的步骤。The present disclosure also provides a computer-readable storage medium on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the lighting control method provided in the present disclosure are implemented.
图10是根据一示例性实施例示出的一种用于照明控制方法的装置1000的框图。例如,装置1000可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 10 is a block diagram showing an apparatus 1000 for a lighting control method according to an exemplary embodiment. For example, the apparatus 1000 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
参照图10,装置1000可以包括以下一个或多个组件:处理组件1002,存储器1004,电力组件1006,多媒体组件1008,音频组件1010,输入/输出(I/O)的接口1012,传感器组件1014,以及通信组件1016。10, device 1000 may include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communication component 1016.
处理组件1002通常控制装置1000的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1002可以包括一个或多个处理器1020来执行指令,以完成上述的照明控制方法的全部或部分步骤。此外,处理组件1002可以包括一个或多个模块,便于处理组件1002和其他组件之间的交互。例如,处理组件1002可以包括多媒体模块,以方便多媒体组件1008和处理组件1002之间的交互。The processing component 1002 generally controls the overall operations of the device 1000, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1002 may include one or more processors 1020 to execute instructions to complete all or part of the steps of the lighting control method described above. Additionally, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, processing component 1002 may include a multimedia module to facilitate interaction between multimedia component 1008 and processing component 1002 .
存储器1004被配置为存储各种类型的数据以支持在装置1000的操作。这些数据的示例包括用于在装置1000上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1004可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 1004 is configured to store various types of data to support operations at the device 1000 . Examples of such data include instructions for any application or method operating on device 1000, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1004 can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电力组件1006为装置1000的各种组件提供电力。电力组件1006可以包括电源管理系统,一个或多个电源,及其他与为装置1000生成、管理和分配电力相关联的组件。Power component 1006 provides power to various components of device 1000 . Power components 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 1000 .
多媒体组件1008包括在所述装置1000和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1008包括一个前置摄像头和/或后置摄像头。当装置1000处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 1008 includes a screen that provides an output interface between the device 1000 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect a duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 1008 includes a front camera and/or a rear camera. When the device 1000 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件1010被配置为输出和/或输入音频信号。例如,音频组件1010包括一个麦克风(MIC),当装置1000处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1004或经由通信组件1016发送。在一些实施例中,音频组件1010还包括一个扬声器,用于输出音频信号。The audio component 1010 is configured to output and/or input audio signals. For example, the audio component 1010 includes a microphone (MIC), which is configured to receive external audio signals when the device 1000 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 1004 or sent via communication component 1016 . In some embodiments, the audio component 1010 also includes a speaker for outputting audio signals.
I/O接口1012为处理组件1002和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1012 provides an interface between the processing component 1002 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
传感器组件1014包括一个或多个传感器,用于为装置1000提供各个方面的状态评估。例如,传感器组件1014可以检测到装置1000的打开/关闭状态,组件的相对定位,例如所述组件为装置1000的显示器和小键盘,传感器组件1014还可以检测装置1000或装置1000一个组件的位置改变,用户与装置1000接触的存在或不存在,装置1000方位或加速/减速和装置1000的温度变化。传感器组件1014可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1014还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1014还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 1014 includes one or more sensors for providing status assessments of various aspects of device 1000 . For example, the sensor component 1014 can detect the open/closed state of the device 1000, the relative positioning of components, such as the display and keypad of the device 1000, and the sensor component 1014 can also detect a change in the position of the device 1000 or a component of the device 1000 , the presence or absence of user contact with the device 1000 , the device 1000 orientation or acceleration/deceleration and the temperature change of the device 1000 . The sensor assembly 1014 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 1014 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件1016被配置为便于装置1000和其他设备之间有线或无线方式的通信。装置1000可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1016经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1016还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 1016 is configured to facilitate wired or wireless communication between the apparatus 1000 and other devices. The device 1000 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1016 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,装置1000可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述照明控制方法。In an exemplary embodiment, apparatus 1000 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are used to implement the lighting control method described above.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1004,上述指令可由装置1000的处理器1020执行以完成上述照明控制方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 1004 including instructions, which can be executed by the processor 1020 of the device 1000 to implement the lighting control method above. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
本领域技术人员在考虑说明书及实践本公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710374685.XACN107193439A (en) | 2017-05-24 | 2017-05-24 | Illumination control method and device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710374685.XACN107193439A (en) | 2017-05-24 | 2017-05-24 | Illumination control method and device |
| Publication Number | Publication Date |
|---|---|
| CN107193439Atrue CN107193439A (en) | 2017-09-22 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710374685.XAPendingCN107193439A (en) | 2017-05-24 | 2017-05-24 | Illumination control method and device |
| Country | Link |
|---|---|
| CN (1) | CN107193439A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107734791A (en)* | 2017-11-22 | 2018-02-23 | 广东工业大学 | LED light group control method, device, LED advisement lamp case and control system |
| CN108038444A (en)* | 2017-12-11 | 2018-05-15 | 北京小米移动软件有限公司 | Image-recognizing method and device |
| CN108063982A (en)* | 2018-01-11 | 2018-05-22 | 上海展扬通信技术有限公司 | Adjust the method, apparatus and computer storage media of video calling brightness |
| CN110446320A (en)* | 2019-09-05 | 2019-11-12 | 中科爱思(天津)科技有限公司 | Night gets up bracelet Intelligent illuminating method |
| CN112102796A (en)* | 2020-05-15 | 2020-12-18 | 华为技术有限公司 | Method and device for acquiring ambient light information by using camera and terminal equipment |
| CN112256183A (en)* | 2020-11-10 | 2021-01-22 | 深圳传音控股股份有限公司 | Shortcut function display method, terminal and computer storage medium |
| CN114125141A (en)* | 2020-08-10 | 2022-03-01 | 珠海格力电器股份有限公司 | Illumination method, illumination device, storage medium and electronic equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104252301A (en)* | 2013-06-26 | 2014-12-31 | 富泰华工业(深圳)有限公司 | System and method for optimizing one-hand operation and electronic device |
| CN104461172A (en)* | 2013-09-22 | 2015-03-25 | 联想(北京)有限公司 | Display method and electronic device |
| CN104571792A (en)* | 2013-10-28 | 2015-04-29 | 联想(北京)有限公司 | Information processing method and electronic equipment |
| CN104615332A (en)* | 2015-01-24 | 2015-05-13 | 陆俊 | Mobile terminal and application icon arrangement method |
| CN105430162A (en)* | 2015-10-28 | 2016-03-23 | 广东欧珀移动通信有限公司 | Method and device for turning on a flashlight |
| CN105468268A (en)* | 2015-11-24 | 2016-04-06 | 上海斐讯数据通信技术有限公司 | Application control method and apparatus for flashlight on intelligent terminal |
| CN105472142A (en)* | 2015-11-19 | 2016-04-06 | 广东欧珀移动通信有限公司 | Method and device for turning on a flashlight of a mobile terminal |
| CN105574179A (en)* | 2015-12-18 | 2016-05-11 | 魅族科技(中国)有限公司 | Application pushing method, application pushing system and terminal |
| CN105872240A (en)* | 2016-05-06 | 2016-08-17 | 乐视控股(北京)有限公司 | Flashlight mode starting method and mobile terminal |
| CN106303071A (en)* | 2016-09-09 | 2017-01-04 | 努比亚技术有限公司 | A kind of control the method and device of lamp, terminal in terminal |
| CN106406802A (en)* | 2016-09-06 | 2017-02-15 | 上海斐讯数据通信技术有限公司 | Control method for night mode and mobile terminal |
| CN106648295A (en)* | 2016-09-30 | 2017-05-10 | 北京奇虎科技有限公司 | Shortcut key display method and apparatus, and intelligent terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104252301A (en)* | 2013-06-26 | 2014-12-31 | 富泰华工业(深圳)有限公司 | System and method for optimizing one-hand operation and electronic device |
| CN104461172A (en)* | 2013-09-22 | 2015-03-25 | 联想(北京)有限公司 | Display method and electronic device |
| CN104571792A (en)* | 2013-10-28 | 2015-04-29 | 联想(北京)有限公司 | Information processing method and electronic equipment |
| CN104615332A (en)* | 2015-01-24 | 2015-05-13 | 陆俊 | Mobile terminal and application icon arrangement method |
| CN105430162A (en)* | 2015-10-28 | 2016-03-23 | 广东欧珀移动通信有限公司 | Method and device for turning on a flashlight |
| CN105472142A (en)* | 2015-11-19 | 2016-04-06 | 广东欧珀移动通信有限公司 | Method and device for turning on a flashlight of a mobile terminal |
| CN105468268A (en)* | 2015-11-24 | 2016-04-06 | 上海斐讯数据通信技术有限公司 | Application control method and apparatus for flashlight on intelligent terminal |
| CN105574179A (en)* | 2015-12-18 | 2016-05-11 | 魅族科技(中国)有限公司 | Application pushing method, application pushing system and terminal |
| CN105872240A (en)* | 2016-05-06 | 2016-08-17 | 乐视控股(北京)有限公司 | Flashlight mode starting method and mobile terminal |
| CN106406802A (en)* | 2016-09-06 | 2017-02-15 | 上海斐讯数据通信技术有限公司 | Control method for night mode and mobile terminal |
| CN106303071A (en)* | 2016-09-09 | 2017-01-04 | 努比亚技术有限公司 | A kind of control the method and device of lamp, terminal in terminal |
| CN106648295A (en)* | 2016-09-30 | 2017-05-10 | 北京奇虎科技有限公司 | Shortcut key display method and apparatus, and intelligent terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107734791A (en)* | 2017-11-22 | 2018-02-23 | 广东工业大学 | LED light group control method, device, LED advisement lamp case and control system |
| CN108038444A (en)* | 2017-12-11 | 2018-05-15 | 北京小米移动软件有限公司 | Image-recognizing method and device |
| US11328168B2 (en) | 2017-12-11 | 2022-05-10 | Beijing Xiaomi Mobile Software Co., Ltd. | Image recognition method and apparatus |
| CN108063982A (en)* | 2018-01-11 | 2018-05-22 | 上海展扬通信技术有限公司 | Adjust the method, apparatus and computer storage media of video calling brightness |
| WO2019137219A1 (en)* | 2018-01-11 | 2019-07-18 | 深圳传音控股股份有限公司 | Method and device for adjusting brightness for video call, and computer storage medium |
| CN110446320A (en)* | 2019-09-05 | 2019-11-12 | 中科爱思(天津)科技有限公司 | Night gets up bracelet Intelligent illuminating method |
| CN112102796A (en)* | 2020-05-15 | 2020-12-18 | 华为技术有限公司 | Method and device for acquiring ambient light information by using camera and terminal equipment |
| CN112102796B (en)* | 2020-05-15 | 2022-03-08 | 华为技术有限公司 | Method and device for acquiring ambient light information by using camera and terminal equipment |
| CN114125141A (en)* | 2020-08-10 | 2022-03-01 | 珠海格力电器股份有限公司 | Illumination method, illumination device, storage medium and electronic equipment |
| CN112256183A (en)* | 2020-11-10 | 2021-01-22 | 深圳传音控股股份有限公司 | Shortcut function display method, terminal and computer storage medium |
| Publication | Publication Date | Title |
|---|---|---|
| CN107919123B (en) | Multi-voice assistant control method, device and computer readable storage medium | |
| CN107193439A (en) | Illumination control method and device | |
| CN106550522A (en) | Illumination control method and device | |
| WO2017020486A1 (en) | Control method and device for adjusting photographing function, and apparatus | |
| CN106548764A (en) | Screen brightness control method and device | |
| CN106951884A (en) | Method, device and electronic equipment for collecting fingerprints | |
| CN106484284B (en) | Method and device for switching single-hand mode | |
| JP6431911B2 (en) | Method and apparatus for setting a threshold | |
| CN111984347B (en) | Interactive processing method, device, equipment and storage medium | |
| CN106210336B (en) | Control the method and device of mobile terminal state switching | |
| CN111813062A (en) | Smart home equipment control method, device and storage medium | |
| KR20170132833A (en) | Pressure detection method, apparatus, program, and recording medium | |
| CN108769416A (en) | It puts out screen and shows method and device | |
| CN107529699A (en) | Control method of electronic device and device | |
| CN107205302A (en) | Control method, device and the smart machine of Intelligent flashlight | |
| CN106371738A (en) | Method and device for controlling mobile terminal and its screen brightness | |
| CN108040213A (en) | The method and apparatus of shooting image | |
| CN105373004B (en) | Smart machine control method and device | |
| CN106775246B (en) | Screen brightness adjusting method and device | |
| CN108682400A (en) | brightness adjusting method and device | |
| CN111385400A (en) | Backlight brightness adjustment method and device | |
| CN116954540A (en) | Application display method, device and terminal | |
| CN107809538B (en) | Alarm reminder method, device and computer readable storage medium | |
| CN111460869A (en) | Fingerprint acquisition method and device | |
| CN107247535B (en) | Intelligent mirror adjusting method and device and computer readable storage medium |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20170922 | |
| RJ01 | Rejection of invention patent application after publication |