WO2018227353A1 - Intelligent terminal flashlight control system and control method thereof - Google Patents
Intelligent terminal flashlight control system and control method thereof Download PDFInfo
- Publication number
- WO2018227353A1 WO2018227353A1 PCT/CN2017/087990 CN2017087990W WO2018227353A1 WO 2018227353 A1 WO2018227353 A1 WO 2018227353A1 CN 2017087990 W CN2017087990 W CN 2017087990W WO 2018227353 A1 WO2018227353 A1 WO 2018227353A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- flashlight
- unit
- brightness
- control
- counting
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
Definitions
- the invention relates to the field of intelligent terminal control, in particular to a flashlight control system and a control method of the intelligent terminal.
- an object of the present invention is to provide a flashlight control system and a control method for the smart terminal, which can classify the brightness of the flashlight, and the operation is user-friendly, and the user experience is good.
- the invention discloses a flashlight control system for an intelligent terminal, comprising a flashlight as a light source and a control module, the control module comprising: a control unit, receiving an instruction to trigger the flashlight; and a counting unit connected to the control unit, Counting the number of times the control unit is triggered; the brightness adjustment unit is connected to the counting unit for adjusting the brightness of the flashlight; wherein the brightness of the flashlight changes according to the change of the number of times counted by the counting unit .
- the clearing unit is connected to the counting unit, and when the counting of the counting unit reaches a preset threshold P in the clearing unit, the clearing unit sets the number of times, wherein the The threshold P is a positive integer greater than or equal to 3.
- control module further includes: a timing unit connected to the brightness adjustment unit, the timing unit presets a time threshold, when the control unit is triggered for the first time, the timing unit is timed, and when When the timing is equal to the time threshold, the timing unit sends a close flashlight command to the brightness adjustment unit.
- a timing unit connected to the brightness adjustment unit, the timing unit presets a time threshold, when the control unit is triggered for the first time, the timing unit is timed, and when When the timing is equal to the time threshold, the timing unit sends a close flashlight command to the brightness adjustment unit.
- control module further comprises: a switch unit connected to the brightness adjustment unit, the switch unit is activated to turn off the flashlight when the flashlight is in a bright state.
- the invention also discloses a flashlight control method for an intelligent terminal, comprising the following steps:
- Step S1 interacting with an interaction unit of the smart terminal to control a control unit of the flashlight;
- Step S2 driving the control unit to light the flashlight, and the number of triggers of the control unit is 1;
- Step S3 interacting with the interaction unit again or again to trigger the control unit to count the number of triggers
- Step S4 Adjusting the brightness of the flashlight according to the number of triggers, and the brightness of the flashlight changes as the number of triggers increases.
- step S2 and S3 further includes: step S2': determining whether the flashlight of the smart terminal is available.
- the number of triggers is counted by a counting unit.
- the counting unit writes the number of triggers to the driver node file.
- the value of the driving node file is three, respectively pointing to the first brightness, the second brightness and the non-brightness of the flashlight, wherein the brightness value of the first brightness is greater than the brightness value of the second brightness.
- the three values of the first brightness, the second brightness, and the no brightness are cyclically read and written.
- the brightness of the flashlight can be quickly adjusted to improve the user experience
- the flashlight can be automatically turned off to save the power of the smart terminal
- FIG. 1 is a schematic structural diagram of a system of a flashlight control system of a smart terminal according to a preferred embodiment of the present invention
- FIG. 2 is a schematic flow chart of a flashlight control method for a smart terminal according to a preferred embodiment of the present invention.
- 100-flashlight control system 110-control module, 111-control unit, 112-counting unit, 113-brightness adjusting unit, 120-flashlight.
- the invention provides a flashlight control system 100 for a smart terminal, which comprises a flashlight 120 provided by the smart terminal.
- the flashlight 120 can be a flashlight 120 disposed on the side of the camera that provides illumination in the dark, or integrated in the flashlight 120.
- the module flashlight 120 on the smart terminal provides a light source to the user when needed.
- a control module 110 is included for controlling the activation and switching of the flashlight 120.
- the control module 110 includes:
- the control unit 111 is disposed in the control module 110, and processes the received commands as the command transmission and reception of the control module 110.
- the control unit 111 will also perform a switch operation on the flashlight 120 according to the switch command.
- the control unit 111 is generally integrated in the shortcut bar of the first layer interface of the smart terminal, for example, on the desktop interface of the smart terminal, on the screen upwards. Sliding or sliding down may bring up a pull-down shortcut bar menu or a pull-up shortcut bar menu.
- the above menu has a button that is visualized by a control unit 111, and triggering the button is the trigger control unit 111.
- the commands that can be generated by the button are only on and off, that is, the click is turned on, the click is turned off, and the open command and the close command are also sent to the control unit 111.
- the instruction sent to the control unit 111 can be used by any user in addition to those used in the above embodiments.
- the interaction with the intelligent terminal is formed, for example, the user presses different intensity on the smart terminal to perform the command recognition of the pressing strength in the smart terminal; the user sends the voice to the smart terminal, and the smart terminal recognizes the command through the voice recognition module.
- the control unit 111 may be additionally configured to reduce the error rate.
- the command can be configured to form an instruction only when the user presses, re-presses, or double-clicks the interactive icon of the corresponding flashlight 120;
- it may be configured to form an instruction only when the user presses more than a certain time, such as 2s, 3s, etc.; in an embodiment using a voice recognition instruction, it may be configured to have only the voice of the user Keywords, such as on, flashlight 120, one or more of the highlights, or other preset vocabulary, or the length of the voice must exceed a certain time to form an instruction.
- the preset start condition is used to avoid the false start and misoperation of the opponent flashlight 120.
- a counting unit is provided, which is coupled to the control unit 111.
- the counting unit 112 is communicatively coupled to a visual button representing the control unit 111.
- the counting unit 112 will count the number of triggers of the button. For example, after the user operates the shortcut bar on the desktop interface of the smart terminal, the button is clicked once, and the counting unit 112 receives the command that the button is clicked once, and counts as 1 (initially 0), when the user clicks the button again, Then add 1 to the number of previous statistics, and so on.
- the technical means of the counting unit 112 may be different.
- the counting unit 112 counts the number of times the icon button corresponding to the flashlight 120 is clicked, which may be counting the time or number of times the finger is pressed, or counting the intensity level of the pressing.
- the counting unit 112 may perform a technique on the length of the user's voice, or count the number of occurrences of the keyword, and the like.
- the counting unit 112 counts some or some of the characterization elements of the command as objects for determination in the flashlight control system 100.
- the state of the button after each click can also be changed. It can be seen that usually the button has two states of light and gray, respectively indicating activation and inactivity. However, since the counting unit 112 counts the number of clicks of the button, it is no longer necessary to distinguish whether or not the activation is performed, that is, it is not necessary to divide the state of the button into two types, and it is always presented in a state of, for example, gradation. Preferably, when the user continuously clicks on the button, the brightness of the button changes, such as gradually brightening or gradually darkening, as feedback of the trigger.
- the control module 110 further includes a brightness adjusting unit 113 for adjusting the brightness of the flashlight 120.
- the brightness of the flashlight 120 can be controlled by adjusting the current of the flashlight 120.
- the brightness adjustment unit 113 is also connected to the counting unit 112, and receives the number of triggers counted by the counting unit 112.
- the brightness adjustment unit 113 is configured such that when the number of triggers counted by the counting unit 112 is increased, the brightness adjustment unit 113 will transmit a control command to reduce the brightness of the flashlight 120 to the flashlight 120, or reduce the current of the flashlight 120 as described above.
- the brightness of the flashlight 120 will gradually decrease as the button is continuously clicked.
- the control of the brightness of the opponent flashlight 120 can be achieved by a simple operation.
- the control mode of the brightness adjusting unit 113 can also be inverted, that is, the brightness of the flashlight 120 gradually increases as the button is continuously clicked.
- the flashlight 120 is usually used with a large brightness. Therefore, the initial brightness is the brightest, and the use mode of gradually adjusting the darkening is darkest than the initial one, and the use mode is gradually adjusted and brightened. The experience is better for the user.
- control module 110 includes:
- the clearing unit is connected to the counting unit 112, and the number of triggers counted by the counting unit 112 is also sent to the clearing unit.
- the counting unit 112 reaches the preset threshold P in the clearing unit, the clearing unit will zero the number of triggers.
- the threshold P is freely configurable by the user according to actual usage, and can be implemented using any positive integer such as greater than or equal to 3. In this embodiment, the threshold P is 4 times.
- the clearing unit will clear the number of triggers, then In the number unit 112, the number of the statistics is 0, that is, the initial value, the control unit 111 determines that the user does not click the button according to the case that the number of triggers is 0, and sends a control command to the flashlight 120 to turn off the flashlight. 120. Therefore, the experience on the user side is that after the button is clicked four times, the flashlight 120 changes from the brightest to the closed state, and there is no need to additionally provide a switch button for the flashlight 120.
- the control module 110 is further provided with a timing unit, which is connected to the brightness adjustment unit 113, and presets a time threshold therein as an object of comparison.
- the timing unit starts counting, and as the statistical time gradually increases, when the timing is equal to the time threshold, it can be determined that the user does not continue to operate the control unit 111 for a certain period of time.
- the flashlight 120 lights up for a certain period of time. Therefore, the timing unit will send a command to turn off the flashlight 120 to the brightness adjustment unit 113, and the flashlight 120 stops the illumination.
- the closing mode of the flashlight 120 can be additionally implemented by using a switch unit that is additionally provided.
- the switch unit is connected to the brightness adjusting unit 113, and the user can activate the switch unit when the flashlight 120 is in a bright state. Turn off flashlight 120.
- the switch unit can be selected as the standby switch of the smart terminal. It can be understood that after the flashlight 120 is turned on, the user turns off the screen of the smart terminal, so that the smart terminal is in the standby state, but the flashlight 120 is still in use, and when used When the standby switch is pressed again, the smart terminal returns to the working interface, and at the same time, the flashlight 120 is turned off, and it is no longer necessary to enter the smart terminal system, thereby saving operation.
- control method of the opponent flashlight can be operated as follows:
- Step S1 interacting with an interaction unit of the smart terminal, such as a first layer interface or a desktop interface of the smart terminal, and a drop-down menu bar, displaying a clickable control unit for triggering the flashlight, that is, a shortcut button, or by pressing recognition, voice The way of identification, to achieve the control of the opponent's flashlight;
- an interaction unit of the smart terminal such as a first layer interface or a desktop interface of the smart terminal, and a drop-down menu bar, displaying a clickable control unit for triggering the flashlight, that is, a shortcut button, or by pressing recognition, voice The way of identification, to achieve the control of the opponent's flashlight;
- Step S2 Clicking the control unit pointing to the flashlight to drive the control unit to illuminate the flashlight.
- the number of triggers to the control unit is counted as 1, indicating that the control unit has been triggered. And add 1 to the original initial value;
- Step S3 When the control unit is clicked again or again, each time the user clicks, the number of triggers of the intelligent terminal to the control unit will be increased by 1 on the previous basis, and the number of triggers will be counted while the number of triggers changes. Know the number of triggers in real time;
- Step S4 Finally, according to the increase of the number of triggers, the brightness of the flashlight is adjusted, for example, the brightness is gradually decreased until it is turned off or gradually increased until the rated brightness.
- step S2 and S3 may further include step S2': first, before counting the number of triggers, first determine whether the flashlight is available. If not available, the memory usage of the smart terminal will be minimized, and the control step is directly ended. .
- the number of triggers is counted by a counting unit, and the counting unit transmits the number of triggers to a storage module inside the smart terminal through an electronic communication module inside the smart terminal and stores it, more specifically,
- the counting mode can call the setcount function of the system installed by the intelligent terminal, or after the number of triggering times is counted, the counting unit calls the turntorchstatethree function to write the number of triggers to the driver node file.
- the value of the write drive node file is three, for example, 1, 2, and 0, which facilitates adjustment of the brightness of the driver node file in the operating system to the flashlight of the flashlight, and only needs to change the value of the write, and the brightness of the flashlight naturally changes.
- the different values described above point to the first brightness, the second brightness, and no brightness, respectively.
- the write value is 1, indicating the first brightness of the brightest brightness, and the second time, the write value is 2, indicating the second brightness of medium brightness, and the value of writing the third time.
- a value of 0 indicates that the flashlight is dimmed and there is no light. It can be understood that the written value can be more than three, the first brightness is always the brightest brightness, the brightness is always darkened by the flashlight, and the other brightness is stepped between the brightest brightness and no brightness.
- the above-described values indicating the three kinds of brightness can be repeatedly read and written, so that the flashlight is continuously switched among the above three kinds of brightness.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
Description
本发明涉及智能终端控制领域,尤其涉及一种智能终端的手电筒控制系统及控制方法。The invention relates to the field of intelligent terminal control, in particular to a flashlight control system and a control method of the intelligent terminal.
在现代社会中,智能终端的功能是越来越丰富,给生活带来了极大的趣味性和便捷性。其中智能终端自带的手电筒就是生活中最普遍的生活必需品。当使用者需要使用手电筒时,可单独去下载第三方的应用程序,但安装的这些第三方应用程序,常导致的问题如:手电筒不亮、亮度偏暗、平均电流偏大等与手机系统不兼容等问题。若使用智能终端所安装的系统自带的手电筒应用,虽然使用方便快捷,兼容性强。但是智能终端原生自带的手电筒功能单一,只有一个常亮亮度,无法满足使用者体验。In modern society, the functions of intelligent terminals are becoming more and more abundant, bringing great interest and convenience to life. The flashlight that comes with the smart terminal is the most common necessities in life. When users need to use a flashlight, they can download third-party applications separately, but these third-party applications installed often cause problems such as: flashlight is not bright, brightness is dark, average current is too large, etc. Compatible and other issues. If you use the flashlight application that comes with the system installed in the smart terminal, it is convenient and fast to use and has strong compatibility. However, the smart phone's native flashlight has a single function, and only one brightness is constant, which cannot satisfy the user experience.
因此,需要一种新型的手电筒控制系统,可在智能终端自有的系统手电筒应用的基础上,更加丰富手电筒的使用体验和观感效果。Therefore, a new type of flashlight control system is needed, which can enrich the experience and the effect of the flashlight on the basis of the application of the smart terminal's own system flashlight.
发明内容Summary of the invention
为了克服上述技术缺陷,本发明的目的在于提供一种智能终端的手电筒控制系统及控制方法,可对手电筒的亮度进行分级,且操作人性化,用户体验佳。In order to overcome the above technical deficiencies, an object of the present invention is to provide a flashlight control system and a control method for the smart terminal, which can classify the brightness of the flashlight, and the operation is user-friendly, and the user experience is good.
本发明公开了一种智能终端的手电筒控制系统,包括作为光源的手电筒及控制模块,所述控制模块包括:控制单元,接收一指令以触发所述手电筒;计数单元,与所述控制单元连接,统计触发所述控制单元的次数;亮度调节单元,与所述计数单元连接,用于调节所述手电筒的亮度;其中,所述手电筒的亮度随所述计数单元统计的所述次数的变化而变化。The invention discloses a flashlight control system for an intelligent terminal, comprising a flashlight as a light source and a control module, the control module comprising: a control unit, receiving an instruction to trigger the flashlight; and a counting unit connected to the control unit, Counting the number of times the control unit is triggered; the brightness adjustment unit is connected to the counting unit for adjusting the brightness of the flashlight; wherein the brightness of the flashlight changes according to the change of the number of times counted by the counting unit .
优选地,清零单元,与所述计数单元连接,当所述计数单元的计数达到所述清零单元内预设的一阈值P时,所述清零单元置零所述次数,其中所述阈值P为大于等于3的正整数。 Preferably, the clearing unit is connected to the counting unit, and when the counting of the counting unit reaches a preset threshold P in the clearing unit, the clearing unit sets the number of times, wherein the The threshold P is a positive integer greater than or equal to 3.
优选地,所述控制模块还包括:计时单元,与所述亮度调节单元连接,所述计时单元预设一时间阈值,当所述控制单元首次触发时,所述计时单元计时,并当所述计时等于所述时间阈值时,所述计时单元向所述亮度调节单元发送关闭手电筒指令。Preferably, the control module further includes: a timing unit connected to the brightness adjustment unit, the timing unit presets a time threshold, when the control unit is triggered for the first time, the timing unit is timed, and when When the timing is equal to the time threshold, the timing unit sends a close flashlight command to the brightness adjustment unit.
优选地,所述控制模块还包括:开关单元:与所述亮度调节单元连接,当所述手电筒处于光亮状态时,所述开关单元激活以关闭所述手电筒。Preferably, the control module further comprises: a switch unit connected to the brightness adjustment unit, the switch unit is activated to turn off the flashlight when the flashlight is in a bright state.
本发明还公开了一种智能终端的手电筒控制方法,包括以下步骤:The invention also discloses a flashlight control method for an intelligent terminal, comprising the following steps:
步骤S1:与所述智能终端的一交互单元交互,以控制所述手电筒的控制单元;Step S1: interacting with an interaction unit of the smart terminal to control a control unit of the flashlight;
步骤S2:驱动所述控制单元点亮所述手电筒,且所述控制单元的触发次数计数为1;Step S2: driving the control unit to light the flashlight, and the number of triggers of the control unit is 1;
步骤S3:再次或再多次与所述交互单元交互,以触发所述控制单元,通过对所述触发次数进行计数;Step S3: interacting with the interaction unit again or again to trigger the control unit to count the number of triggers;
步骤S4:根据所述触发次数,调节所述手电筒的亮度,且所述手电筒的亮度随所述触发次数的增加而变化。Step S4: Adjusting the brightness of the flashlight according to the number of triggers, and the brightness of the flashlight changes as the number of triggers increases.
优选地,所述步骤S2和S3间还包括:步骤S2’:判断所述智能终端的手电筒是否可用。Preferably, the step S2 and S3 further includes: step S2': determining whether the flashlight of the smart terminal is available.
优选地,所述步骤S2中,通过一计数单元对所述触发次数进行计数。Preferably, in the step S2, the number of triggers is counted by a counting unit.
优选地,所述步骤S3中,所述计数单元向驱动节点文件写入所述触发次数。Preferably, in the step S3, the counting unit writes the number of triggers to the driver node file.
优选地,所述驱动节点文件的值为3个,分别指向所述手电筒的第一亮度、第二亮度及无亮度,其中所述第一亮度的亮度值大于所述第二亮度的亮度值。Preferably, the value of the driving node file is three, respectively pointing to the first brightness, the second brightness and the non-brightness of the flashlight, wherein the brightness value of the first brightness is greater than the brightness value of the second brightness.
优选地,指向所述第一亮度、第二亮度及无亮度的3个值循环读写。Preferably, the three values of the first brightness, the second brightness, and the no brightness are cyclically read and written.
采用了上述技术方案后,与现有技术相比,具有以下有益效果:After adopting the above technical solution, compared with the prior art, the following beneficial effects are obtained:
1.手电筒的亮度可快捷调节,提高使用者体验;1. The brightness of the flashlight can be quickly adjusted to improve the user experience;
2.手电筒可自动关闭,节省智能终端电量; 2. The flashlight can be automatically turned off to save the power of the smart terminal;
3.关闭手电筒更加方便。3. It is more convenient to turn off the flashlight.
图1为符合本发明一优选实施例中智能终端的手电筒控制系统的系统结构示意图;1 is a schematic structural diagram of a system of a flashlight control system of a smart terminal according to a preferred embodiment of the present invention;
图2为符合本发明一优选实施例中智能终端的手电筒控制方法流程示意图。2 is a schematic flow chart of a flashlight control method for a smart terminal according to a preferred embodiment of the present invention.
附图标记:Reference mark:
100-手电筒控制系统、110-控制模块、111-控制单元、112-计数单元、113-亮度调节单元、120-手电筒。100-flashlight control system, 110-control module, 111-control unit, 112-counting unit, 113-brightness adjusting unit, 120-flashlight.
以下结合附图与具体实施例进一步阐述本发明的优点。Advantages of the present invention are further explained below in conjunction with the accompanying drawings and specific embodiments.
本发明提供了一种智能终端的手电筒控制系统100,其内包括有智能终端自带的手电筒120,该手电筒120可以是在黑暗时提供照明的设于摄像头旁侧的手电筒120,或是集成在智能终端上的模块手电筒120,在需要时为使用者提供光源。除光源器件外,还包括了控制模块110,用于对手电筒120的启动和开关进行控制。具体地,参阅图1,控制模块110包括有:The invention provides a
-控制单元111-
控制单元111设置在控制模块110内,作为控制模块110的指令收发集中地对接收到的指令,进行处理。当指令为开关指令时,控制单元111也将根据该开关指令对手电筒120进行开关操作。在目前智能终端所安装的系统中,为了最快速度地启动手电筒120,该控制单元111一般集成在智能终端的首层界面的快捷栏中,例如,在智能终端的桌面界面,在屏幕上向上滑或向下滑可出现下拉快捷栏菜单或上拉快捷栏菜单,上述菜单中具有一控制单元111可视化的按钮,触发该按钮即为触发控制单元111。也正因为如此,该按钮可产生的指令也仅为开启和关闭,即点击为开启,再次点击为关闭,向控制单元111所发送的也为该开启指令和关闭指令。可以理解的是,向控制单元111发送的指令除上述实施例中所采用的外,还可通过任何的使用者
与智能终端间的交互形成,如:使用者对智能终端的不同按压强度,以在智能终端进行按压强度的指令识别;使用者向智能终端发送语音,智能终端通过语音识别模块识别指令。The
上述实施例中,为防止使用者对控制终端的其他与触发手电筒120无关的控制也同样误触发手电筒120,在上述交互操作的识别中,可对控制单元111进行额外配置,以减少错误率。例如,在使用上下滑动呈现快捷菜单栏进行控制的实施例中,可配置为仅当使用者长按、重按或双击对应手电筒120的交互图标时,才可形成指令;在使用识别按压强度的实施例中,可配置为仅当使用者按压超过某一时间,如2s、3s等时,才可形成指令;在使用语音识别指令的实施例中,可配置为仅当使用者的语音中具有关键词,如开启、手电筒120、亮中的一种或多种,或其他预设的词汇,亦或是语音的长度需超过某一时间时,才可形成指令。通过预设启动条件,以规避对手电筒120的误启动和误操作。In the above embodiment, in order to prevent the user from erroneously triggering the
-计数单元112- counting
在控制模块110内,设有一计数单元,与控制单元111连接,例如,计数单元112与代表控制单元111的可视化按钮通信连接。当使用者手动触发按钮时,计数单元112将统计按钮的触发次数。例如,使用者在智能终端的桌面界面操作出现快捷栏后,点击按钮一次,计数单元112便接收按钮被点击一次的指令,并计数为1(初始为0),当使用者再次点击按钮时,则在前次统计的数量上加1,以此类推。Within the
在指令以上文所述的其他实施方式形成的实施例中,计数单元112的技术方式可各不相同。例如在按压强度识别的实施例中,计数单元112对点击对应手电筒120的图标按钮的次数进行计数,可以是对手指按压时间段或次数进行的计数,也可以是对按压的强度级别进行统计计数等;在语音识别的实施例中,计数单元112可对使用者语音的长度进行技术,或关键词的出现次数进行计数等。上述不同实施例中,计数单元112均是对指令的某一或某些特征化元素进行计数,以作为手电筒控制系统100中判断的对象。
In an embodiment formed by the other embodiments described above, the technical means of the counting
具有上述配置后,可以理解的是,按钮在每次点击后的状态也可进行改变。可知的是,通常按钮具有亮起和灰度的两种状态,分别表示激活和未激活。但由于计数单元112对按钮的点击次数进行计数,不再区分是否激活,也即不需要将按钮的状态分割为两种,始终以例如灰度的状态呈现即可。在优选地,当使用者连续点击按钮时,按钮亮暗发生变化,如逐渐变亮或逐渐变暗,作为触发的反馈。With the above configuration, it can be understood that the state of the button after each click can also be changed. It can be seen that usually the button has two states of light and gray, respectively indicating activation and inactivity. However, since the
-亮度调节单元113-
控制模块110中,还包括有亮度调节单元113,用作为对手电筒120亮度的调节,例如可通过调节手电筒120的电流来控制手电筒120的亮度等。亮度调节单元113还与计数单元112连接,接收计数单元112统计的触发次数。亮度调节单元113配置为,当计数单元112统计的触发次数越多时,亮度调节单元113将向手电筒120发送降低手电筒120亮度的控制指令,或如上所述的降低手电筒120的电流。由此,对于使用者而言,当其对按钮不断点击时,手电筒120的亮度也将逐渐降低。通过简单的操作,即可实现对手电筒120的亮度的控制。The
可以理解的是,亮度调节单元113的控制方式也可倒置,即随着不断地点击按钮,手电筒120的亮度逐渐增大。但考虑到使用者的使用习惯,手电筒120使用的场合通常是希望有较大亮度的,因此,初始为最亮,逐渐调整变暗的使用方式较初始为最暗,逐渐调整变亮的使用方式对于使用者而言体验更佳。It can be understood that the control mode of the
在一优选实施例中,控制模块110包括有:In a preferred embodiment, the
-清零单元-clearing unit
清零单元与计数单元112连接,计数单元112统计的触发次数同样将发送给清零单元。当计数单元112的计数达到清零单元内预设的阈值P时,清零单元将置零该触发次数。该阈值P由使用者根据实际使用情况自由配置,可使用如大于等于3的任意正整数实现。在该实施例中,阈值P为4次。如此配置下,当使用者第4次点击按钮时,清零单元将清除触发次数,则在计
数单元112内,该统计的数量为0,也即为初始值,则控制单元111根据触发次数为0的情况,判断为使用者并未点击按钮,则发送控制指令至手电筒120以关闭该手电筒120。从而,在使用者侧的体验为,其点击4次后,手电筒120从最亮变为了关闭的状态,也就不需要再为手电筒120额外设置一开关按钮。The clearing unit is connected to the
考虑到使用者使用智能终端的情况众多复杂,若使用者点击了一次按钮后,将智能终端的界面转向其他应用时,手电筒120将一直开启下去,浪费能源。对此,控制模块110内还设有计时单元,与亮度调节单元113连接,并在其内预设有一时间阈值,作为比较的对象。当控制单元111被使用者触发时,计时单元开始计时,随着统计的时间逐渐增加,当计时与时间阈值相等时,可判断使用者在某段时间内并未继续对控制单元111进行操作触发,手电筒120亮起某段时间即可。因此,计时单元将向亮度调节单元113发送关闭手电筒120指令,手电筒120停止发光照明。Considering that the user's use of the smart terminal is complicated, if the user clicks the button once and then switches the interface of the smart terminal to other applications, the
在另一可选实施例中,对手电筒120的关闭方式可另外采用如额外设置的开关单元来实现,开关单元与亮度调节单元113连接,使用者可在手电筒120处于光亮状态时,激活开关单元关闭手电筒120。例如,开关单元可选择为智能终端的待机开关,可以理解的是,手电筒120开启后,使用者会关闭智能终端的屏幕,使得智能终端处于待机状态,但手电筒120仍处于使用状态,而当使用者再次按下待机开关时,智能终端回到工作界面,同时,手电筒120关闭,无需再进入智能终端系统,节省了操作。In another optional embodiment, the closing mode of the
参阅图2,当具有上述任一配置的智能终端后,对手电筒的控制方法可按如下步骤操作:Referring to FIG. 2, after the smart terminal having any of the above configurations, the control method of the opponent flashlight can be operated as follows:
步骤S1:与智能终端的一交互单元交互,如智能终端的首层界面或桌面界面,下拉菜单栏,显示可点击的用以触发手电筒的控制单元,也即快捷按钮,或通过按压识别、语音识别的方式,实现对手电筒的控制;Step S1: interacting with an interaction unit of the smart terminal, such as a first layer interface or a desktop interface of the smart terminal, and a drop-down menu bar, displaying a clickable control unit for triggering the flashlight, that is, a shortcut button, or by pressing recognition, voice The way of identification, to achieve the control of the opponent's flashlight;
步骤S2:点击指向手电筒的控制单元,通过驱动控制单元以点亮手电筒,第一次点击时,对控制单元的触发次数计为1,表示控制单元已被触发, 并在原初始值的基础上加1;Step S2: Clicking the control unit pointing to the flashlight to drive the control unit to illuminate the flashlight. When the first click, the number of triggers to the control unit is counted as 1, indicating that the control unit has been triggered. And add 1 to the original initial value;
步骤S3:再次或再多次点击控制单元时,每次点击,智能终端对控制单元的触发次数均会在前次的基础上加1,在触发次数变化的同时,将对触发次数进行计数,以实时获知触发次数;Step S3: When the control unit is clicked again or again, each time the user clicks, the number of triggers of the intelligent terminal to the control unit will be increased by 1 on the previous basis, and the number of triggers will be counted while the number of triggers changes. Know the number of triggers in real time;
步骤S4:最后根据触发次数的增加,调节手电筒的亮度,例如亮度逐渐降低,直至关闭或逐渐增大,直至额定亮度。Step S4: Finally, according to the increase of the number of triggers, the brightness of the flashlight is adjusted, for example, the brightness is gradually decreased until it is turned off or gradually increased until the rated brightness.
以上控制方法中,步骤S2和S3间还可包括步骤S2’:在对触发次数进行计数前,首先判断手电筒是否可用,若不可用的,将尽量减少对智能终端的内存占用,控制步骤直接结束。In the above control method, step S2 and S3 may further include step S2': first, before counting the number of triggers, first determine whether the flashlight is available. If not available, the memory usage of the smart terminal will be minimized, and the control step is directly ended. .
在一优选实施例中,通过一计数单元对该触发次数进行计数,该计数单元通过智能终端内部的电子通信模块来向智能终端内部的一存储模块传输该触发次数并存储,更具体地,其计数方式可调用智能终端所安装的系统的setcount函数,或在触发次数计数后,计数单元调用turntorchstatethree函数向驱动节点文件写入触发次数。具体地,写入驱动节点文件的值为3个,例如1、2、0,方便操作系统内的驱动节点文件对手电筒的亮度的调节,只需要写入值变化,手电筒亮度自然变化。上述不同的值分别指向了第一亮度、第二亮度和无亮度。第一次触发时,写入值为1,表示最亮亮度的第一亮度,第二次触发时,写入值为2,表示中等亮度的第二亮度,第三次触发时,写入值为0,表示手电筒变暗,无光照。可以理解的是,写入的值可以是多于3个,第一亮度始终为最亮的亮度,无亮度始终为手电筒变暗,其他亮度则在最亮亮度为无亮度间阶梯变化。In a preferred embodiment, the number of triggers is counted by a counting unit, and the counting unit transmits the number of triggers to a storage module inside the smart terminal through an electronic communication module inside the smart terminal and stores it, more specifically, The counting mode can call the setcount function of the system installed by the intelligent terminal, or after the number of triggering times is counted, the counting unit calls the turntorchstatethree function to write the number of triggers to the driver node file. Specifically, the value of the write drive node file is three, for example, 1, 2, and 0, which facilitates adjustment of the brightness of the driver node file in the operating system to the flashlight of the flashlight, and only needs to change the value of the write, and the brightness of the flashlight naturally changes. The different values described above point to the first brightness, the second brightness, and no brightness, respectively. At the first trigger, the write value is 1, indicating the first brightness of the brightest brightness, and the second time, the write value is 2, indicating the second brightness of medium brightness, and the value of writing the third time. A value of 0 indicates that the flashlight is dimmed and there is no light. It can be understood that the written value can be more than three, the first brightness is always the brightest brightness, the brightness is always darkened by the flashlight, and the other brightness is stepped between the brightest brightness and no brightness.
此外,优选地,对上述表示三种亮度的值可反复循环读写,使得手电筒在上述三种亮度中不断切换。Further, preferably, the above-described values indicating the three kinds of brightness can be repeatedly read and written, so that the flashlight is continuously switched among the above three kinds of brightness.
应当注意的是,本发明的实施例有较佳的实施性,且并非对本发明作任何形式的限制,任何熟悉该领域的技术人员可能利用上述揭示的技术内容变更或修饰为等同的有效实施例,但凡未脱离本发明技术方案的内容,依据本发明的技术实质对以上实施例所作的任何修改或等同变化及修饰,均仍属于 本发明技术方案的范围内。 It should be noted that the embodiments of the present invention are preferred embodiments, and are not intended to limit the scope of the present invention. Any one skilled in the art may use the above-disclosed technical contents to change or modify the equivalent embodiments. And any modifications or equivalent changes and modifications made to the above embodiments in accordance with the technical spirit of the present invention remain as they are without departing from the technical scope of the present invention. Within the scope of the technical solution of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2017/087990 WO2018227353A1 (en) | 2017-06-13 | 2017-06-13 | Intelligent terminal flashlight control system and control method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2017/087990 WO2018227353A1 (en) | 2017-06-13 | 2017-06-13 | Intelligent terminal flashlight control system and control method thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018227353A1 true WO2018227353A1 (en) | 2018-12-20 |
Family
ID=64659505
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/087990 Ceased WO2018227353A1 (en) | 2017-06-13 | 2017-06-13 | Intelligent terminal flashlight control system and control method thereof |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2018227353A1 (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110181238A1 (en) * | 2007-12-21 | 2011-07-28 | Soar Roger J | Modular pocket with inductive power and data |
| CN103595842A (en) * | 2013-11-13 | 2014-02-19 | 广东欧珀移动通信有限公司 | Illumination brightness adjustment method and mobile terminal when a flashlight is used as a flashlight |
| CN105162991A (en) * | 2015-10-13 | 2015-12-16 | 上海斐讯数据通信技术有限公司 | A method and system for terminal automatically turning on and turning off electric torch |
| CN105306702A (en) * | 2015-10-08 | 2016-02-03 | 广东欧珀移动通信有限公司 | A flashlight application adjustment method and mobile terminal |
| CN105376411A (en) * | 2015-11-27 | 2016-03-02 | 努比亚技术有限公司 | Mobile terminal flashlight control method and device |
| CN105468268A (en) * | 2015-11-24 | 2016-04-06 | 上海斐讯数据通信技术有限公司 | Application control method and apparatus for flashlight on intelligent terminal |
| CN105916267A (en) * | 2016-04-12 | 2016-08-31 | 广东欧珀移动通信有限公司 | Method, device and mobile terminal for adjusting brightness of flash light |
-
2017
- 2017-06-13 WO PCT/CN2017/087990 patent/WO2018227353A1/en not_active Ceased
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110181238A1 (en) * | 2007-12-21 | 2011-07-28 | Soar Roger J | Modular pocket with inductive power and data |
| CN103595842A (en) * | 2013-11-13 | 2014-02-19 | 广东欧珀移动通信有限公司 | Illumination brightness adjustment method and mobile terminal when a flashlight is used as a flashlight |
| CN105306702A (en) * | 2015-10-08 | 2016-02-03 | 广东欧珀移动通信有限公司 | A flashlight application adjustment method and mobile terminal |
| CN105162991A (en) * | 2015-10-13 | 2015-12-16 | 上海斐讯数据通信技术有限公司 | A method and system for terminal automatically turning on and turning off electric torch |
| CN105468268A (en) * | 2015-11-24 | 2016-04-06 | 上海斐讯数据通信技术有限公司 | Application control method and apparatus for flashlight on intelligent terminal |
| CN105376411A (en) * | 2015-11-27 | 2016-03-02 | 努比亚技术有限公司 | Mobile terminal flashlight control method and device |
| CN105916267A (en) * | 2016-04-12 | 2016-08-31 | 广东欧珀移动通信有限公司 | Method, device and mobile terminal for adjusting brightness of flash light |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR101735987B1 (en) | Backlicht brightness control method and device | |
| CN103117044B (en) | Terminal backlight brightness adjusting method and device and terminal | |
| CN106205554A (en) | A kind of regulate the method and device that screen shows | |
| CN107094346B (en) | Flash lamp brightness adjusting method and system of intelligent terminal | |
| CN108549575B (en) | Processing method and device for quitting split screen, storage medium and electronic equipment | |
| CN106919324A (en) | A kind of control method, device and terminal | |
| CN109067971B (en) | Method for automatically turning on flashlight by shaking mobile phone in dark environment | |
| CN114495934A (en) | Voice instruction response state prompting method and display device | |
| CN103731534B (en) | Display method and device of shortcut toggles in notification bar | |
| CN107249146B (en) | Method for dynamically configuring LED indicator lamp based on smart television | |
| CN106900129B (en) | Adjusting and controlling device of lighting lamp and lighting lamp | |
| CN106793397B (en) | Lighting control method and terminal | |
| CN105788565A (en) | Method and device for adjusting brightness | |
| WO2018227353A1 (en) | Intelligent terminal flashlight control system and control method thereof | |
| CN105916267A (en) | Method, device and mobile terminal for adjusting brightness of flash light | |
| KR102169951B1 (en) | Refrigerator | |
| CN110049608B (en) | Intelligent lamp and control method thereof | |
| CN219893487U (en) | Control device applied to atmosphere lamp, atmosphere lamp and system | |
| CN110493450B (en) | Screen on-off method, folding screen terminal and computer readable storage medium | |
| CN206658318U (en) | The regulation device and illuminator of illuminator | |
| CN205389288U (en) | Energy -conserving lighting control system of intelligence | |
| CN113660412B (en) | External Bluetooth flash lamp system of intelligent camera adopting double Bluetooth | |
| CN110769577B (en) | Atmosphere lamp control method and device | |
| CN108008880B (en) | Flashlight operation interface control method and device | |
| CN101399940A (en) | Implementation method for television help menu press-key |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17913287 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 13.03.2020) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17913287 Country of ref document: EP Kind code of ref document: A1 |