WO2020140278A1 - 一种灯光控制方法、开关及计算机可读存储介质 - Google Patents
一种灯光控制方法、开关及计算机可读存储介质 Download PDFInfo
- Publication number
- WO2020140278A1 WO2020140278A1 PCT/CN2019/070456 CN2019070456W WO2020140278A1 WO 2020140278 A1 WO2020140278 A1 WO 2020140278A1 CN 2019070456 W CN2019070456 W CN 2019070456W WO 2020140278 A1 WO2020140278 A1 WO 2020140278A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- touch
- display screen
- continuous
- point
- starting point
- 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
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K17/00—Electronic switching or gating, i.e. not by contact-making and –breaking
- H03K17/94—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
- H03K17/96—Touch switches
Definitions
- the invention relates to the field of lighting control, in particular to a lighting control method, switch and computer-readable storage medium.
- the smart switch performs wake-up or light control commands through touch, gestures or voice, or remote control with the help of terminals such as APP.
- terminals such as APP.
- the light control of the existing smart switches mostly depends on the processing of the terminal.
- the human-computer interaction on the smart switch panel is relatively simple, and it is impossible to control multiple areas and multiple lamps by operating the smart switch panel.
- the object of the present invention is to provide a light control method, a switch and a computer-readable storage medium to realize the light control of multiple areas and multiple lamps by detecting the touch operation on the touch screen .
- a light control method is provided. The method is applied to a switch to control the light-emitting state of at least one light fixture in at least one area.
- the switch includes a touch screen, and the method includes:
- a switch which includes a touch display screen, a memory, and a processor, where the memory is used to store a computer program, and the processor is used to execute the computer program to implement the above method.
- the beneficial effect of the above technical solution is that the corresponding operation instruction is invoked by detecting the touch operation on the touch display screen to control the light-emitting state of at least one lamp in at least one area, thereby realizing multiple areas , Lighting control of multiple lamps.
- FIG. 1 is a schematic diagram of a switch provided by an embodiment of the present invention.
- FIG. 2 is a flowchart of a light control method provided by an embodiment of the present invention.
- FIG. 3 is a flowchart of detecting a touch operation on a touch display screen according to an embodiment of the invention
- FIG. 4 is a flowchart of detecting a touch operation on a touch display screen according to an embodiment of the invention.
- FIG. 5 is a flowchart of detecting a touch operation on a touch display screen according to an embodiment of the invention.
- FIG. 6 is a scene diagram showing a global thumbnail on a touch display screen according to an embodiment of the invention.
- FIG. 7 is a scene diagram showing a control area displayed on a touch display screen according to an embodiment of the invention.
- FIG. 8 is a scene diagram of controlling lighting of a lamp in an embodiment of the invention.
- FIG. 9 is a scene diagram of controlling the lighting to be turned off in an embodiment of the present invention.
- FIG. 10 is a flowchart of detecting a touch operation on a touch display screen according to an embodiment of the invention.
- FIG. 11 is a scene diagram of pinching four fingers in an embodiment of the invention.
- FIG. 12 is a flowchart of detecting a touch operation on a touch display screen according to an embodiment of the invention.
- FIG. 13 is a scene diagram of four fingers spread in an embodiment of the present invention.
- FIG. 14 is a flowchart of detecting a touch operation on a touch display screen according to an embodiment of the invention.
- the light control method provided by the embodiment of the present invention is applied to a switch.
- the switch is used to control the light-emitting state of at least one lamp in at least one area, and may be a switch fixed on a wall and electrically connected to a plurality of lamps. It can also communicate with the lamp through WIFI or Bluetooth to control the switch of the lamp.
- the switch includes a touch screen 11, a memory 12 and a processor 13.
- the touch screen 11 is used for receiving touch operations and content display of external objects; the memory 13 is used for storage purposes; the functions of the processor 13 include executing the memory 13 stored computer programs to implement the lighting control method provided by the embodiment of the present invention.
- the light control method provided by the embodiment of the present invention includes:
- Step S101 Detect the touch operation on the touch display screen.
- the touch display screen may be a touch screen, and the touch operation is a touch operation detected on the touch display screen.
- the touch operation may be an external object, such as a finger, on the touch display screen. , Click and other operations.
- the touch operation includes a multi-touch operation, a single-touch operation, a multi-point pinch operation, and a multi-point spread operation.
- a multi-touch operation may be an operation in which three fingers slide from the side of the touch display screen
- a single-touch operation may be an operation in which a single finger slides in a specific direction on the touch display screen
- a multi-point pinch operation It may be an operation in which four fingers or three fingers pinch each other on the touch display screen
- a multi-point spreading operation may be an operation in which four fingers or three fingers spread out on the touch display screen.
- Step S102 Invoke the corresponding operation instruction according to the touch operation.
- Each touch operation corresponds to a corresponding operation instruction.
- the operation instruction may be a global thumbnail of at least one fixture displaying at least one area on the touch screen, changing the lighting state of the fixture in the selected area, and touch display
- the screen displays the lamp status of the area last selected and the touch screen returns to the default display status.
- the user performs a touch operation on the touch display screen, and if the preset touch operation is met, the corresponding operation instruction is called.
- one touch operation corresponds to only one operation instruction. It should be noted that the above-mentioned correspondence between the touch operation and the operation instruction can be combined according to the actual application scenario, and is not limited herein.
- Step S103 Based on the operation instruction, control the display state of the touch display screen or control the light-emitting state of at least one light fixture of the at least one area; the display state corresponds to the at least one area or the at least one light fixture.
- the operation of invoking a global thumbnail of at least one light fixture displaying at least one area on the touch display screen may display the lighting state of each light fixture in each area, and invoking the change of the light on and off state of the light fixture in the selected area
- the operation instruction can control the lighting state of the lamps and lanterns, so as to realize the control of the multiple lamps and lanterns in multiple areas.
- detecting the touch operation on the touch display screen includes:
- Step S201 Detect a touch starting point on the touch display screen, and the touch starting point has no previous continuous touch points on the touch display screen.
- the touch start point is the coordinate point on the touch display screen that is the first to touch an external object, such as a finger, for example, if the finger slides on the touch display screen to form a track, the start point of the track is the touch Control the starting point.
- Step S202 Determine whether the number of continuous touch starting points is equal to the number of touch bodies corresponding to the multi-touch operation.
- the touch body is an external object that touches the touch display screen; the continuous touch starting point represents a touch starting point that is continuously detected, wherein the time difference between any two adjacent touch starting points is less than the first A time threshold.
- the switch further includes or is connected to a counter, which is used to count the number of touch bodies.
- the counter In the initial state, the counter is set to 0.
- the touch body is, for example, a finger. If the touch start point is detected, the counter is incremented by one; if no other touch body is detected within the first time threshold after the counter is incremented, the counter is cleared.
- Step S203 if not equal, repeatedly detect the touch starting point on the touch display screen.
- Step S204 if it is equal, it is determined that the touch screen has multi-touch operation.
- the multi-touch operation includes one of a two-touch operation, a three-touch operation, and a four-touch operation.
- step S203 or S204 first perform step S203 or S204 above, that is, if the current value of the counter is not equal to the number of touch bodies corresponding to the multi-touch operation, the corresponding operation is not performed, Instead, the touch starting point is repeatedly detected; as mentioned above, if another touch starting point is not detected within the first time threshold after incrementing by one, the counter is cleared.
- the counter detects the number of touch bodies in real time, that is, the operation instruction corresponding to the operation can be executed immediately after the last touch body is detected, reducing the number of operations from the operation to the operation instruction corresponding to the operation Time increases the touch response speed.
- detecting the touch operation on the touch display screen includes:
- Step S301 Detect a touch starting point on the touch display screen.
- the touch starting point has no previous continuous touch points on the touch display screen.
- Step S302 Determine whether the number of continuous touch starting points is equal to the number of touch bodies corresponding to the multi-touch operation.
- Step S303 If not equal, repeatedly detect the touch starting point on the touch display screen.
- Steps S301-303 are the same as steps S201-203 and will not be repeated here.
- Step S304 if it is equal to, detect the continuous sliding trajectories on the touch display screen respectively starting from the continuous touch starting point.
- Step S305 In the case that continuous sliding tracks respectively starting from the continuous touch starting point are detected on the touch display screen, it is determined that the touch display screen has a multi-touch operation.
- Multi-touch operation that is, three-point sliding operation.
- detecting the touch operation on the touch display screen includes:
- Step S401 Detect whether there are multiple continuous sliding tracks on the touch display screen at the same time, and the number of the continuous sliding tracks is equal to the number of touch bodies corresponding to the multi-point sliding touch operation.
- Step S402 If yes, it is determined that there is a multi-touch operation on the touch display screen.
- the touch operation to be recognized is set as a three-point touch operation
- the three continuous sliding tracks are detected on the touch display screen, and the three continuous sliding tracks take three touch starting points as the starting point, then it is determined There are three touch operations on the touch screen.
- the operation is determined to be a multi-touch operation, thereby reducing the limitation on the operation time in the determination of the touch operation and facilitating user operation .
- the angle between any two consecutive sliding trajectories is less than the first angle threshold.
- the first angle threshold can be set to 10°, 20°, or 30°, that is, when the sliding trajectory is approximately parallel, the multi-touch operation is determined and the corresponding command is executed.
- the direction of the gesture in the touch operation is defined, that is, only the sliding touch operation in the specified direction range is determined as a multi-touch operation, which can be reduced Misuse.
- the operation instruction corresponding to the multi-touch operation is: displaying a global thumbnail of at least one lamp in at least one area on the touch display screen.
- each rectangle on the touch display screen represents an area
- each area can represent a floor or a room area
- each dot represents a light fixture
- each area has multiple light fixtures. All the control areas are displayed on the touch screen display. The user selects the corresponding area and performs light control according to the needs, ensuring that each lamp is controlled to prevent forgetting to turn off the light in a certain area.
- Single-touch operation is a sliding of a touch body on the touch screen.
- the operation instruction corresponding to the single-touch operation includes: changing the display state of the single-point selected area of the touch display screen corresponding to the sliding track of the single-touch operation, and changing the Click the lighting status of the fixture in the selected area.
- each dot represents a lamp
- the colored dot represents the off state of the lamp.
- the dot changes to the colored state, Control the lighting to turn off; the uncolored dots represent the lighting status of the lighting, and when the dots become uncolored, control the lighting.
- the corresponding operation instruction is to control the lighting of the corresponding area; the sliding direction of the single-finger touch operation is sliding from left to right, the corresponding operation instruction To control the lighting of the corresponding area to turn off.
- D is the length of the switch
- H is the width of the switch
- the distance between the single finger sliding from the right to the left is d1
- the angle between the sliding direction and the length of the smart switch is ⁇
- d1 is in the length of the switch
- the selected area is the area with length d and width H on the right side of the touch screen. If it is detected that a single finger slides from right to left, the icon of the lamp in the selected area is controlled to become uncolored, and the corresponding lamp is controlled to light.
- D is the length of the switch
- H is the width of the switch
- the distance between the single finger sliding from the left to the right is d1
- the angle between the sliding direction and the length of the switch is ⁇
- d1 is in the length of the switch
- the selected area is the area with a length d and a width H on the left side of the touch screen. If it is detected that a single finger slides from left to right, the lamp icon in the selected area is controlled to become a colored state, and the corresponding lamp is controlled to be turned off. Thereby reducing the number of times the user clicks on the touch screen.
- the way of changing the icon of the lamp can be changed sequentially with the sliding of the touch point, and the lamp can be controlled to light up in sequence.
- the touch operation includes a multi-point pinch operation and a multi-point pinch operation.
- the multi-point pinch operation includes at least two touch bodies moving relative to the reference touch body on the touch display screen; the multi-point pinch operation includes at least two touches
- the control body moves away from the reference touch body on the touch display screen.
- the direction component of the sliding direction of the reference touch body on the touch display screen in the preset upward direction is opposite to the direction component of the other touch bodies in the preset direction, and the preset direction may be the x-axis on the touch display screen Direction or y-axis direction.
- the multi-point pinch operation is a four-point pinch operation
- the multi-point pinch operation is a four-point pinch operation.
- detecting a touch operation on the touch display screen includes:
- Step S501 Detect a touch starting point on the touch display screen.
- the touch starting point has no previous continuous touch points on the touch display screen.
- Step S502 When the number of continuous touch starting points is less than the number of touch bodies corresponding to the multi-touch operation, repeatedly detect the touch starting point on the touch display screen.
- the continuous touch starting point represents a continuously detected touch starting point where the time difference between any two adjacent touch starting points is less than a first time threshold.
- Step S503 When the number of continuous touch starting points is equal to the number of touch bodies corresponding to the multi-touch operation, and all continuous touch starting points other than the reference touch starting point in the continuous touch starting point are detected In the case of a sliding track toward the reference touch starting point that is the starting point, it is determined that there is a multi-point pinch operation on the touch display screen.
- the reference touch starting point is one of the touch starting points, and is the touch starting point corresponding to the reference touch body.
- the reference touch body may be fixed, or it may slide to form a sliding track starting from the reference touch starting point.
- the touch body is a finger, and four fingers slide toward each other on the touch screen, it is a four-point pinch operation.
- one touch start point is located at the touch point relative to the other three touch start points.
- a sliding track starting from the touch starting point is detected within a preset time, and the touch point detected on the sliding track at the latest is the trailing touch point.
- the coordinates of the touch points on the lower side are (r1, ⁇ 1, ⁇ 1)
- the coordinates of one of the three touch points on the upper side are (r2, ⁇ 2, ⁇ 2)
- the distance between the two is d1, among them
- the calculation process of the distance d2 and d3 between the other two touch points and the lower touch point is the same as d1.
- the upper touch starting point and the lower point are calculated according to the above distance formula
- the second distance between the upper tail touch point and the lower tail touch point is calculated according to the above formula. If the second distance is less than the first distance, it means that a sliding trajectory toward the reference touch starting point is detected from all continuous touch starting points except the reference touch starting point in the continuous touch starting point, and then four-point pinch is detected operating.
- detecting touch operations on the touch display screen includes:
- Step S601 Detect a touch starting point on the touch display screen, and the touch starting point has no previous continuous touch points on the touch display screen.
- Step S602 When the number of continuous touch starting points is less than the number of touch bodies corresponding to the multi-touch operation, repeatedly detect the touch starting point on the touch display screen.
- the continuous touch starting point represents a continuously detected touch starting point where the time difference between any two adjacent touch starting points is less than the first time threshold.
- Step S603 When the number of continuous touch starting points is equal to the number of touch bodies corresponding to the multi-touch operation, and it is detected that all continuous touch starting points except the reference touch starting point in the continuous touch starting point are used as starting points In the case of a sliding track facing away from the reference touch starting point, it is determined that the touch display screen has a multi-point spreading operation.
- the touch body is a finger, and four fingers slide on the touch screen opposite to each other, it is a four-point spread operation.
- the first distance between the upper touch start point and the lower touch start point is calculated according to the above distance calculation formula.
- the second distance between the upper tail touch point and the lower tail touch point is calculated according to the above formula. If the second distance is greater than the first distance, it means that a sliding trajectory starting from all the continuous touch starting points in the starting point of the continuous touch mode, starting from all the continuous touch starting points, is detected, and four points are detected Open operation.
- detecting the touch operation on the touch display screen includes:
- Step S701 Detect whether there are multiple continuous sliding tracks on the touch screen, and the number of the continuous sliding tracks is equal to the number of touch bodies corresponding to the multi-point sliding touch operation.
- Step S702 When it is detected that the direction of the at least two continuous sliding tracks corresponding to the at least two touch bodies is opposite to the direction of the continuous sliding track corresponding to the reference touch body, it is determined that there are multiple Click the pinch operation.
- the number of detected sliding trajectories is less than the number of touch bodies corresponding to the multi-point sliding touch operation, it is an invalid touch operation; until the number of detected sliding trajectories is equal to the number of touches corresponding to the multi-point sliding touch operation
- the number of controllers then the direction of the sliding track is detected, and if the directions of at least two continuous sliding tracks corresponding to the at least two touch bodies and the continuous sliding tracks corresponding to the reference touch body all point to the centers of multiple touch starting points, it is determined For multi-point kneading operation.
- Step S703 When it is detected that the direction of the at least two continuous sliding tracks corresponding to the at least two touch bodies is opposite to the direction of the continuous sliding track corresponding to the reference touch body, it is determined that the touch display has Multiple opening operations.
- the operation instruction corresponding to the multi-point pinch operation includes: the touch screen displays the lamp status of the most recently selected area.
- the operation instructions corresponding to the multi-point opening operation include: the touch screen is restored to the default display state.
- the processor is used to execute a computer program to implement:
- the touch operation includes multi-touch operation and single-touch operation.
- the processor used to execute the computer program also realizes:
- the touch starting point has no previous continuous touch points on the touch display screen
- the continuous touch starting point represents a touch starting point that is continuously detected, wherein the time difference between any two adjacent touch starting points is less than the first time threshold.
- the processor used to execute the computer program also realizes:
- the processor used to execute the computer program also realizes:
- the included angle of any two continuous sliding tracks in the continuous sliding track is smaller than the first angle threshold.
- the multi-touch operation includes one of two-point touch operation, three-point touch operation and four-point touch operation.
- the operation instruction corresponding to the single-touch operation includes: changing the display state of the single-point selected area of the touch display screen corresponding to the sliding track of the single-touch operation, and changing the single point corresponding to the display state The lighting status of the lamps in the selected area.
- the operation instruction corresponding to the multi-touch operation includes: displaying a global thumbnail of at least one lamp in the at least one area on the touch display screen.
- the touch operation includes a multi-point pinch operation and a multi-point pinch operation.
- the multi-point pinch operation includes at least two touch bodies moving relative to a reference touch body on the touch display screen;
- the opening operation includes the at least two touch bodies moving back on the touch display screen relative to the reference touch body.
- the multi-point pinch operation is a four-point pinch operation
- the multi-point pinch operation is a four-point pinch operation.
- the processor used to execute the computer program also realizes:
- the touch starting point has no previous continuous touch points on the touch display screen
- the continuous touch start point means that the time difference between any two adjacent touch start points is detected less than the first A time threshold of continuously detected touch points.
- the processor used to execute the computer program also realizes:
- the touch starting point has no previous continuous touch points on the touch display screen
- the number of continuous touch starting points is equal to the number of touch bodies corresponding to the multi-touch operation, and it is detected that all continuous touch starting points other than the reference touch starting point in the continuous touch starting point are facing away from the starting point In the case of the sliding track of the reference touch starting point, it is determined that the touch display screen has a multi-point spreading operation;
- the continuous touch starting point represents a continuously detected touch starting point where the time difference between any two adjacent touch starting points is less than a first time threshold.
- the processor used to execute the computer program also realizes:
- the touch display screen When it is detected that the direction of the at least two continuous sliding tracks corresponding to the at least two touch bodies is opposite to the direction of the continuous sliding track corresponding to the reference touch body, it is determined that the touch display screen has a multi-point pinch operation ;
- the touch display screen When it is detected that the direction of at least two continuous sliding tracks corresponding to the at least two touch bodies is opposite to the direction of the continuous sliding track corresponding to the reference touch body, it is determined that the touch display screen has multiple points Open operation.
- the operation instruction corresponding to the multi-point kneading operation includes: the touch display screen displays the lamp status of the area selected most recently.
- the operation instruction corresponding to the multi-point expansion operation includes: the touch display screen is restored to the default display state.
- the switch in this embodiment and the method in the previous embodiment are based on two aspects under the same inventive concept.
- the method implementation process has been described in detail in the foregoing, so those skilled in the art can clearly understand the The implementation process of the switch in the embodiment is not repeated here for the sake of brevity of the description.
- the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution of the present invention can be embodied in the form of software products in essence or part of contributions to the existing technology.
- the present invention also relates to a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., on which a computer-readable program is stored, and when the computer-readable program is executed by a processor, the above method is implemented.
- the light control method, switch and computer readable storage medium provided by the present invention call corresponding operation instructions by detecting the touch operation on the touch display screen to control the lighting state of at least one lamp in at least one area, and one switch can control Multiple lamps reduce the number of switches in the home lighting control, and control the lamps more efficiently and flexibly.
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
公开了一种灯光控制方法、开关及计算机可读存储介质,该方法应用于开关,以控制至少一个区域的至少一个灯具的发光状态,开关包括触控显示屏,方法包括:检测触控显示屏上的触控操作;根据触控操作调用对应的操作指令;基于操作指令,控制触控显示屏的显示状态或控制至少一个区域的至少一个灯具的发光状态;显示状态与至少一个区域或至少一个灯具对应。从而通过操作触控显示屏即可实现多个区域、多个灯具的灯光控制。
Description
本发明涉及灯光控制领域,尤其涉及一种灯光控制方法、开关及计算机可读存储介质。
智能开关通过触控、手势或语音执行唤醒或灯光控制指令,或者借助终端如APP进行远程控制。但是现有的智能开关的灯光控制大多是依赖终端的处理,在智能开关面板上的人机交互比较简单,不能通过对智能开关面板的操作实现多个区域、多个灯具的控制。
发明内容
为了克服现有技术的不足,本发明的目的在于提供一种灯光控制方法、开关及计算机可读存储介质,通过检测触控显示屏上的触控操作实现多个区域、多个灯具的灯光控制。
一方面,提供一种灯光控制方法,该方法应用于开关,以控制至少一个区域的至少一个灯具的发光状态,该开关包括触控显示屏,该方法包括:
检测该触控显示屏上的触控操作;
根据该触控操作调用对应的操作指令;
基于该操作指令,控制该触控显示屏的显示状态或控制该至少一个区域的至少一个灯具的发光状态;该显示状态与该至少一个区域或该至少一个灯具对应。
另一方面,还提供一种开关,包括:包括触控显示屏、存储器和处理器,该存储器用于存储计算机程序,该处理器用于执行该计算机程序以实现上述的方法。
此外,还涉及一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述的方法。
相比现有技术,上文技术方案的有益效果在于:通过检测触控显示屏上的触控操作调用对应的操作指令,以控制至少一个区域的至少一个灯具的发光状态,从而实现多个区域、多个灯具的灯光控制。
图1为本发明实施例提供的开关的示意图;
图2本发明一实施例提供的灯光控制方法流程图;
图3为本发明一实施例提供的检测触控显示屏上的触控操作的流程图;
图4为本发明一实施例提供的检测触控显示屏上的触控操作的流程图;
图5为本发明一实施例提供的检测触控显示屏上的触控操作的流程图;
图6为本发明一实施例中在触控显示屏上显示全局缩略图的场景图;
图7为本发明一实施例中在触控显示屏上显示控制区域的场景图;
图8为本发明一实施例中控制灯具点亮的场景图;
图9为本发明一实施例中控制灯具关闭的场景图;
图10为本发明一实施例提供的检测触控显示屏上的触控操作的流程图;
图11为本发明一实施例中四指捏合的场景图;
图12为本发明一实施例提供的检测触控显示屏上的触控操作的流程图;
图13为本发明一实施例中四指张开的场景图;
图14为本发明一实施例提供的检测触控显示屏上的触控操作的流程图。
下面,结合附图以及具体实施方式,对本发明做进一步描述,需要说明的是,在不相冲突的前提下,以下描述的各实施例之间或各技术特征之间可以任意组合形成新的实施例。
如图1所示,本发明实施例提供的灯光控制方法应用于开关,开关用于控制至少一个区域的至少一个灯具的发光状态,可以是固定于墙壁上与多个灯具电性连接的开关,也可以是通过WIFI或蓝牙与灯具进行通讯以控制灯具的开关。开关包括触控显示屏11、存储器12和处理器13,触控显示屏11用于进行接收外部对象的触控操作以及内容显示;存储器13用于存储目的;处理器13的功能包括执行该存储器13存储的计算机程序以实现本发明实施例提供的灯光控制方法。
如图2所示,本发明实施例提供的灯光控制方法,包括:
步骤S101:检测该触控显示屏上的触控操作。
其中,触控显示屏可以为触摸屏,触控操作为在触控显示屏上检测到的触控操作,该触控操作可以是外部对象,如手指,在该触控显示屏上的接触、滑动、点击等操作。在一种实施方式中,触控操作包括多点触控操作、单点触控操作、多点捏合操作和多点张开操作。例如,多点触控操作可以为三个手指从触控显示屏一侧滑动的操作,单点触控操作可以是单个手指在触控显示屏上沿特定的方向滑动的操作,多点捏合操作可以是四个手指或三个手指在触控显示屏上互相捏合的操作,多点张开操作可以是四个手指或三个手指在触控显示屏上互相张开的操作。
步骤S102:根据该触控操作调用对应的操作指令。
其中,每种触控操作对应相应的操作指令,操作指令可以为在触控显示屏上显示至少一个区域的至少一个灯具的全局缩略图、改变选定区域的灯具的亮灭状态、触控显示屏显示最近一次选择的该区域的灯具状态和触控显示屏恢复至默认显示状态等。用户在触控显示屏上 进行触控操作,若符合预设的触控操作,则调用对应的操作指令。在一非限制性实施例中,一个触控操作对应唯一一个操作指令。需要说明的是,上面提到的触控操作和操作指令的对应关系可根据实际应用场景进行组合,在此不做限制。
步骤S103:基于该操作指令,控制该触控显示屏的显示状态或控制该至少一个区域的至少一个灯具的发光状态;该显示状态与该至少一个区域或该至少一个灯具对应。
在一种实施方式中,调用在触控显示屏上显示至少一个区域的至少一个灯具的全局缩略图的操作可以显示各区域各个灯具的发光状态,调用改变选定区域的灯具的亮灭状态的操作指令可以控制灯具的亮灭状态,从而实现对多个区域的多个灯具进行控制。
如图3所示,在一种实施方式中,检测触控显示屏上的触控操作包括:
步骤S201:检测该触控显示屏上的触控起点,该触控起点在该触控显示屏上无在先连续触控点。
其中,触控起点为检测到外部对象,例如手指,最先接触的触控显示屏上的坐标点,例如,若手指在该触控显示屏上滑动形成一条轨迹,则轨迹的起点就为触控起点。
步骤S202:判断连续触控起点的数量是否等于该多点触控操作对应的触控体数量。
其中,触控体即为触控该触控显示屏的外部对象;该连续触控起点表示被连续检测到的触控起点,其中任意相邻的两个触控起点被检测到的时间差小于第一时间阈值。
在一种实施方式中,该开关还包括或连接有一计数器,该计数器用于统计触控体数量,在初始状态下,该计数器被设定为0。该触控体例如为手指,若检测到触控起点,则该计数器加一;若在计数器加一后的第一时间阈值内未检测到其他触控体时,则计数器清零。
步骤S203:若不等于,重复检测该触控显示屏上的触控起点。
步骤S204:若等于,确定该触控显示屏上具有多点触控操作。
其中,多点触控操作包括两点触控操作、三点触控操作以及四点触控操作中的一项。
继续上文关于计数器的实施例,该计数器加一后,首先执行上文步骤S203或S204,即,若计数器当前值不等于多点触控操作对应的触控体数量,则不执行对应操作,而是重复检测触控起点;如上文提到的,如果在加一后的第一时间阈值内未检测到另一触控起点,则计数器清零。
在上文实施例中,通过计数器实时检测触控体的数量,即可以在检测到最后一个触控体后立即执行该操作对应的操作指令,减少了从操作至执行该操作对应的操作指令的时间,提高了触控反应速度。
如图4所示,在另一种实施方式中,检测触控显示屏上的触控操作包括:
步骤S301:检测该触控显示屏上的触控起点,该触控起点在该触控显示屏上无在先连续 触控点。
步骤S302:判断连续触控起点的数量是否等于该多点触控操作对应的触控体数量。
步骤S303:若不等于,重复检测该触控显示屏上的触控起点。
步骤S301-303与步骤S201-203相同,在此不再赘述。
步骤S304:若等于,检测该触控显示屏上分别以该连续触控起点为起点的连续滑动轨迹。
步骤S305:在该触控显示屏上同时检测到分别以该连续触控起点为起点的连续滑动轨迹的情况下,确定该触控显示屏上具有多点触控操作。
例如,若检测到三个分别以三个触控起点为起点的滑动轨迹,且三个触控起点中任意相邻的两个触控起点被检测到的时间差小于第一时间阈值,则判定为多点触控操作,即三点滑动操作。
在上文实施例中,通过检测相应数量的触控体在触控显示屏上是否有连续的滑动轨迹来确定触控显示屏上是否具有多点触控操作,即当相应数量的触控体在触控显示屏上滑动时,判定当前操作为多点触控操作,从而减少触碰显示屏造成的误操作。
如图5所示,在另一种实施方式中,检测触控显示屏上的触控操作包括:
步骤S401:检测触控显示屏上是否同时具有多个连续滑动轨迹,并且该多个连续滑动轨迹的数量等于该多点滑动触控操作对应的触控体数量。
步骤S402:如果是,则确定该触控显示屏上具有多点触控操作。
例如,设定待识别的触控操作为三点触控操作,若在触控显示屏上检测到三个连续滑动轨迹,且三个连续滑动轨迹分别以三个触控起点为起点,则确定触控显示屏上具有三点触控操作。
上文实施例中,当在触控显示屏上同时检测到多个连续滑动轨迹时,即判断该操作为多点触控操作,从而减少触控操作判定中对操作时间的限制,方便用户操作。
在另一种实施方式中,连续滑动轨迹中任两条连续滑动轨迹的夹角小于第一角度阈值。例如,可以设定第一角度阈值为10°、20°或30°,即滑动轨迹近似平行时,才判定为多点触控操作,执行对应的指令。
通过限定连续滑动轨迹中任两条滑动轨迹的夹角大小,从而限定触控操作中的手势方向,即只有朝指定方向范围内的滑动触控操作才判定为多点触控操作,从而可以减少误操作。
在一种实施方式中,多点触控操作对应的操作指令为:在触控显示屏上显示至少一个区域的至少一个灯具的全局缩略图。如图6所示,触控显示屏上的每个长方形代表一个区域,每个区域可以代表一层楼或者一个房间的区域,每个圆点代表一个灯具,每个区域有多个灯具。将所有的控制区域全部显示在触控显示屏,用户根据需要选择对应区域并进行灯光控制, 保证对每一个灯具进行控制,防止忘记某个区域的灯光关闭。
如图7所示,在一实施例中,当在触控显示屏上显示全局缩略图时,在触控显示屏上点击其中一个区域,则选中该区域,并将该区域放大后完整显示在触控显示屏上,从而可以对该区域内的灯具进行控制。
单点触控操作是一个触控体在触控显示屏上滑动。在一种实施方式中,单点触控操作对应的操作指令包括:改变单点触控操作的滑动轨迹对应的触控显示屏的单点选定区域的显示状态,并改变显示状态对应的单点选定区域的灯具的亮灭状态。
在一实施例中,一个区域的多个灯具的显示界面如图8和9所示,每个圆点分别代表一个灯具,着色的圆点代表灯具关闭状态,当圆点变为着色状态时,控制灯具关闭;未着色的圆点代表灯具发光状态,当圆点变为未着色状态时,控制灯具发光。
若设定单指触控操作的滑动方向为从右向左滑动,对应的操作指令为控制对应区域的灯具点亮;单指触控操作的滑动方向为从左向右滑动,对应的操作指令为控制对应区域的灯具关闭。
图8中,D为开关的长度,H为开关的宽度,单指从右侧向左侧滑动的距离为d1,滑动方向与智能开关长度方向的夹角为θ,d1在开关的长度方向上的垂直距离为d,其中,d=d1*cosθ,则选定区域为触控显示屏右侧长度为d、宽度为H的区域。若检测到单指从右向左滑动,控制选定区域内的灯具图标变为未着色状态,并控制对应的灯具点亮。
如图9所示,D为开关的长度,H为开关的宽度,单指从左侧向右侧滑动的距离为d1,滑动方向与开关长度方向的夹角为θ,d1在开关的长度方向上的垂直距离为d,其中,d=d1*cosθ,则选定区域为触控显示屏左侧长度为d、宽度为H的区域。若检测到单指从左向右滑动,控制选定区域内的灯具图标变为着色状态,并控制对应的灯具关闭。从而减少用户点击触控显示屏的次数。灯具图标的改变方式可以是随着触控点的滑动依次改变,并控制灯具依次点亮。
触控操作包括多点捏合操作和多点张开操作,多点捏合操作包括至少两个触控体相对基准触控体在触控显示屏上相向移动;多点张开操作包括至少两个触控体相对基准触控体在触控显示屏上背向移动。基准触控体在触控显示屏上的滑动方向在预设向上的方向分量与其他触控体在该预设方向上的方向分量相反,该预设方向可以为触控显示屏上的x轴方向或y轴方向。在一种实施方式中,该多点捏合操作为四点捏合操作,该多点张开操作为四点张开操作。
如图10所示,在一种实施方式中,检测触控显示屏上的触控操作包括:
步骤S501:检测该触控显示屏上的触控起点,该触控起点在该触控显示屏上无在先连续触控点。
步骤S502:在连续触控起点的数量小于该多点触控操作对应的触控体数量的情况下,重复检测该触控显示屏上的触控起点。
其中,该连续触控起点表示任意相邻的两个触控起点被检测到的时间差小于第一时间阈值的被连续检测到的触控起点。
步骤S503:在连续触控起点的数量等于该多点触控操作对应的触控体数量的情况下,并且检测到以该连续触模起点中的基准触控起点之外的所有连续触控起点为起点的朝向该基准触控起点的滑动轨迹的情况下,确定该触控显示屏上具有多点捏合操作。
其中,基准触控起点为触控起点中的其中一个,为基准触控体所对应的触控起点。基准触控体可以固定不动,也可以滑动形成以基准触控起点为起点的滑动轨迹。
例如,触控体为手指,四个手指在触控显示屏上相向滑动,则为四点捏合操作。
如图11所示,若检测到触控起点的数量为4个,且4个触控起点被检测到的时间差小于第一时间阈值,其中一个触控起点相对于其它三个触控起点位于触控显示屏的下侧,预设时间内检测到以触控起点为起点的滑动轨迹,滑动轨迹上最晚被检测到的触控点为尾端触控点。
例如,下侧的触控点的坐标为(r1,θ1,φ1),上侧三个触控点中的其中一个的坐标为(r2,θ2,φ2),二者之间的距离为d1,其中,
另外两个触控点与下侧触控点的距离d2和d3的计算过程与d1相同,当触控显示屏上检测到触控起点时,根据上述距离公式计算出上侧触控起点和下侧触控起点之间的第一距离。预设时间后,根据上述公式计算出上侧尾端触控点与下侧尾端触控点之间的第二距离。若第二距离小于第一距离,则说明检测到以连续触模起点中的基准触控起点之外的所有连续触控起点为起点的朝向基准触控起点的滑动轨迹,则检测出四点捏合操作。
如图12所示,在另一种实施方式中,检测触控显示屏上的触控操作包括:
步骤S601:检测该触控显示屏上的触控起点,该触控起点在该触控显示屏上无在先连续触控点。
步骤S602:在连续触控起点的数量小于该多点触控操作对应的触控体数量的情况下,重复检测该触控显示屏上的触控起点。
其中,该连续触控起点表示任意相邻的两个触控起点被检测到的时间差小于第一时间阈 值的被连续检测到的触控起点。
步骤S603:在连续触控起点的数量等于该多点触控操作对应的触控体数量,并且检测到以该连续触模起点中的基准触控起点之外的所有连续触控起点为起点的背向该基准触控起点的滑动轨迹的情况下,确定该触控显示屏上具有多点张开操作。
例如,触控体为手指,四个手指在触控显示屏上相背滑动,则为四点张开操作。
如图13所示,若检测到触控起点的数量为4个,且4个触控起点被检测到的时间差小于第一时间阈值,其中一个触控起点相对于其它三个触控起点位于触控显示屏的下侧,根据上述的距离计算公式计算出上侧触控起点和下侧触控起点之间的第一距离。预设时间后,根据上述公式计算出上侧尾端触控点与下侧尾端触控点之间的第二距离。若第二距离大于第一距离,则说明检测到以连续触模起点中的基准触控起点之外的所有连续触控起点为起点的背向基准触控起点的滑动轨迹,则检测出四点张开操作。
如图14所示,在另一种实施方式中,检测触控显示屏上的触控操作包括:
步骤S701:检测该触控显示屏上是否同时具有多个连续滑动轨迹,并且该连续滑动轨迹的数量等于该多点滑动触控操作对应的触控体数量。
步骤S702:在检测到该至少两个触控体对应的至少两条连续滑动轨迹的方向与该基准触控体对应的连续滑动轨迹的方向相向的情况下,确定该触控显示屏上具有多点捏合操作。
具体的,若检测到的滑动轨迹的数量小于多点滑动触控操作对应的触控体数量,则为无效的触控操作;直到检测到滑动轨迹的数量等于多点滑动触控操作对应的触控体数量,则检测滑动轨迹的方向,若至少两个触控体对应的至少两条连续滑动轨迹与基准触控体对应的连续滑动轨迹的方向均指向多个触控起点的中心,则确定为多点捏合操作。
步骤S703:在检测到该至少两个触控体对应的至少两条连续滑动轨迹的方向与该基准触控体对应的连续滑动轨迹的方向背向的情况下,确定该触控显示屏上具有多点张开操作。
具体的,若至少两个触控体对应的至少两条连续滑动轨迹与基准触控体对应的连续滑动轨迹的方向均背离多个触控起点的中心,则确定为多点张开操作。
在一种实施方式中,多点捏合操作对应的操作指令包括:触控显示屏显示最近一次选择的区域的灯具状态。多点张开操作对应的操作指令包括:触控显示屏恢复至默认显示状态。
本发明实施例提供的开关,处理器用于执行计算机程序以实现:
检测该触控显示屏上的触控操作;
根据该触控操作调用对应的操作指令;
基于该操作指令,控制该触控显示屏的显示状态或控制该至少一个区域的至少一个灯具的发光状态;该显示状态与该至少一个区域或该至少一个灯具对应。
进一步地,该触控操作包括多点触控操作和单点触控操作。
处理器用于执行计算机程序还实现:
检测该触控显示屏上的触控起点,该触控起点在该触控显示屏上无在先连续触控点;
判断连续触控起点的数量是否等于该多点触控操作对应的触控体数量;
若不等于,重复检测该触控显示屏上的触控起点;
若等于,确定该触控显示屏上具有多点触控操作;
其中,该连续触控起点表示被连续检测到的触控起点,其中任意相邻的两个触控起点被检测到的时间差小于第一时间阈值。
处理器用于执行计算机程序还实现:
检测该触控显示屏上分别以该连续触控起点为起点的连续滑动轨迹;
在该触控显示屏上同时检测到分别以该连续触控起点为起点的连续滑动轨迹的情况下,确定该触控显示屏上具有多点触控操作。
处理器用于执行计算机程序还实现:
检测该触控显示屏上是否同时具有多个连续滑动轨迹,并且该多个连续滑动轨迹的数量等于该多点滑动触控操作对应的触控体数量;
如果是,则确定该触控显示屏上具有多点触控操作。
进一步地,该连续滑动轨迹中任两条连续滑动轨迹的夹角小于第一角度阈值。
进一步地,该多点触控操作包括两点触控操作、三点触控操作以及四点触控操作中的一项。
进一步地,该单点触控操作对应的操作指令包括:改变该单点触控操作的滑动轨迹对应的触控显示屏的单点选定区域的显示状态,并改变该显示状态对应的单点选定区域的灯具的亮灭状态。
进一步地,该多点触控操作对应的操作指令包括:在该触控显示屏上显示该至少一个区域的至少一个灯具的全局缩略图。
进一步地,该触控操作包括多点捏合操作和多点张开操作,该多点捏合操作包括至少两个触控体相对基准触控体在该触控显示屏上相向移动;该多点张开操作包括该至少两个触控体相对该基准触控体在该触控显示屏上背向移动。
进一步地,该多点捏合操作为四点捏合操作,该多点张开操作为四点张开操作。
处理器用于执行计算机程序还实现:
检测该触控显示屏上的触控起点,该触控起点在该触控显示屏上无在先连续触控点;
在连续触控起点的数量小于该多点触控操作对应的触控体数量的情况下,重复检测该触 控显示屏上的触控起点;
在连续触控起点的数量等于该多点触控操作对应的触控体数量的情况下,并且检测到以该连续触模起点中的基准触控起点之外的所有连续触控起点为起点的朝向该基准触控起点的滑动轨迹的情况下,确定该触控显示屏上具有多点捏合操作;其中,该连续触控起点表示任意相邻的两个触控起点被检测到的时间差小于第一时间阈值的被连续检测到的触控起点。
处理器用于执行计算机程序还实现:
检测该触控显示屏上的触控起点,该触控起点在该触控显示屏上无在先连续触控点;
在连续触控起点的数量小于该多点触控操作对应的触控体数量的情况下,重复检测该触控显示屏上的触控起点;
在连续触控起点的数量等于该多点触控操作对应的触控体数量,并且检测到以该连续触模起点中的基准触控起点之外的所有连续触控起点为起点的背向该基准触控起点的滑动轨迹的情况下,确定该触控显示屏上具有多点张开操作;
其中,该连续触控起点表示任意相邻的两个触控起点被检测到的时间差小于第一时间阈值的被连续检测到的触控起点。
处理器用于执行计算机程序还实现:
检测该触控显示屏上是否同时具有多个连续滑动轨迹,并且该连续滑动轨迹的数量等于该多点滑动触控操作对应的触控体数量;
在检测到该至少两个触控体对应的至少两条连续滑动轨迹的方向与该基准触控体对应的连续滑动轨迹的方向相向的情况下,确定该触控显示屏上具有多点捏合操作;
在检测到该至少两个触控体对应的至少两条连续滑动轨迹的方向与该基准触控体对应的连续滑动轨迹的方向背向的情况下,确定该触控显示屏上具有多点张开操作。
进一步地,该多点捏合操作对应的操作指令包括:该触控显示屏显示最近一次选择的该区域的灯具状态。
进一步地,该多点张开操作对应的操作指令包括:该触控显示屏恢复至默认显示状态。
本实施例中的开关与前述实施例中的方法是基于同一发明构思下的两个方面,在前面已经对方法实施过程作了详细的描述,所以本领域技术人员可根据前述描述清楚地了解本实施例中的开关的实施过程,为了说明书的简洁,在此就不再赘述。
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来。本发明还涉及一种计算机可读存储介质,如ROM/RAM、磁碟、光盘等,其上存储有计算机可读程序,计算机可读程序被 处理器执行时实现上述的方法。
本发明提供的灯光控制方法、开关及计算机可读存储介质,通过检测触控显示屏上的触控操作调用对应的操作指令,以控制至少一个区域的至少一个灯具的发光状态,一个开关可以控制多个灯具,减少家居灯控中开关的数量,且对灯具的控制更加高效和灵活。
上述实施方式仅为本发明的优选实施方式,不能以此来限定本发明保护的范围,本领域的技术人员在本发明的基础上所做的任何非实质性的变化及替换均属于本发明所要求保护的范围。
Claims (18)
- 一种灯光控制方法,其特征在于,所述方法应用于开关,以控制至少一个区域的至少一个灯具的发光状态,所述开关包括触控显示屏,所述方法包括:检测所述触控显示屏上的触控操作;根据所述触控操作调用对应的操作指令;基于所述操作指令,控制所述触控显示屏的显示状态或控制所述至少一个区域的至少一个灯具的发光状态;所述显示状态与所述至少一个区域或所述至少一个灯具对应。
- 根据权利要求1所述的灯光控制方法,其特征在于,所述触控操作包括多点触控操作和单点触控操作。
- 根据权利要求2所述的灯光控制方法,其特征在于,检测所述触控显示屏上的触控操作包括:检测所述触控显示屏上的触控起点,所述触控起点在所述触控显示屏上无在先连续触控点;判断连续触控起点的数量是否等于所述多点触控操作对应的触控体数量;若不等于,重复检测所述触控显示屏上的触控起点;若等于,确定所述触控显示屏上具有多点触控操作;其中,所述连续触控起点表示被连续检测到的触控起点,其中任意相邻的两个触控起点被检测到的时间差小于第一时间阈值。
- 根据权利要求3所述的灯光控制方法,其特征在于,在确定所述触控显示屏上具有多点触控操作之前还包括:检测所述触控显示屏上分别以所述连续触控起点为起点的连续滑动轨迹;在所述触控显示屏上同时检测到分别以所述连续触控起点为起点的连续滑动轨迹的情况下,确定所述触控显示屏上具有多点触控操作。
- 根据权利要求2所述的灯光控制方法,其特征在于,检测所述触控显示屏上的触控操作包括:检测所述触控显示屏上是否同时具有多个连续滑动轨迹,并且所述多个连续滑动轨迹的数量等于所述多点滑动触控操作对应的触控体数量;如果是,则确定所述触控显示屏上具有多点触控操作。
- 根据权利要求4或5所述的灯光控制方法,其特征在于,所述连续滑动轨迹中任两条连续滑动轨迹的夹角小于第一角度阈值。
- 根据权利要求2所述的灯光控制方法,其特征在于,所述多点触控操作包括两点触控 操作、三点触控操作以及四点触控操作中的一项。
- 根据权利要求2所述的灯光控制方法,其特征在于,所述单点触控操作对应的操作指令包括:改变所述单点触控操作的滑动轨迹对应的触控显示屏的单点选定区域的显示状态,并改变所述显示状态对应的单点选定区域的灯具的亮灭状态。
- 根据权利要求2所述的灯光控制方法,其特征在于,所述多点触控操作对应的操作指令包括:在所述触控显示屏上显示所述至少一个区域的至少一个灯具的全局缩略图。
- 根据权利要求1所述的灯光控制方法,其特征在于,所述触控操作包括多点捏合操作和多点张开操作,所述多点捏合操作包括至少两个触控体相对基准触控体在所述触控显示屏上相向移动;所述多点张开操作包括所述至少两个触控体相对所述基准触控体在所述触控显示屏上背向移动。
- 根据权利要求10所述的灯光控制方法,其特征在于,所述多点捏合操作为四点捏合操作,所述多点张开操作为四点张开操作。
- 根据权利要求10所述的灯光控制方法,其特征在于,所述检测所述触控显示屏上的触控操作包括:检测所述触控显示屏上的触控起点,所述触控起点在所述触控显示屏上无在先连续触控点;在连续触控起点的数量小于所述多点触控操作对应的触控体数量的情况下,重复检测所述触控显示屏上的触控起点;在连续触控起点的数量等于所述多点触控操作对应的触控体数量的情况下,并且检测到以所述连续触模起点中的基准触控起点之外的所有连续触控起点为起点的朝向所述基准触控起点的滑动轨迹的情况下,确定所述触控显示屏上具有多点捏合操作;其中,所述连续触控起点表示任意相邻的两个触控起点被检测到的时间差小于第一时间阈值的被连续检测到的触控起点。
- 根据权利要求10所述的灯光控制方法,其特征在于,所述检测所述触控显示屏上的触控操作包括:检测所述触控显示屏上的触控起点,所述触控起点在所述触控显示屏上无在先连续触控点;在连续触控起点的数量小于所述多点触控操作对应的触控体数量的情况下,重复检测所述触控显示屏上的触控起点;在连续触控起点的数量等于所述多点触控操作对应的触控体数量,并且检测到以所述连续触模起点中的基准触控起点之外的所有连续触控起点为起点的背向所述基准触控起点的滑 动轨迹的情况下,确定所述触控显示屏上具有多点张开操作;其中,所述连续触控起点表示任意相邻的两个触控起点被检测到的时间差小于第一时间阈值的被连续检测到的触控起点。
- 根据权利要求10所述的灯光控制方法,其特征在于,检测所述触控显示屏上的触控操作包括:检测所述触控显示屏上是否同时具有多个连续滑动轨迹,并且所述连续滑动轨迹的数量等于所述多点滑动触控操作对应的触控体数量;在检测到所述至少两个触控体对应的至少两条连续滑动轨迹的方向与所述基准触控体对应的连续滑动轨迹的方向相向的情况下,确定所述触控显示屏上具有多点捏合操作;在检测到所述至少两个触控体对应的至少两条连续滑动轨迹的方向与所述基准触控体对应的连续滑动轨迹的方向背向的情况下,确定所述触控显示屏上具有多点张开操作。
- 根据权利要求10所述的灯光控制方法,其特征在于,所述多点捏合操作对应的操作指令包括:所述触控显示屏显示最近一次选择的所述区域的灯具状态。
- 根据权利要求10所述的灯光控制方法,其特征在于,所述多点张开操作对应的操作指令包括:所述触控显示屏恢复至默认显示状态。
- 一种开关,其特征在于,包括触控显示屏、存储器和处理器,所述存储器用于存储计算机程序,所述处理器用于执行所述计算机程序以实现如权利要求1~16所述的任意一项所述的方法。
- 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1~16任意一项所述的方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2019/070456 WO2020140278A1 (zh) | 2019-01-04 | 2019-01-04 | 一种灯光控制方法、开关及计算机可读存储介质 |
| CN201980073508.5A CN113261206A (zh) | 2019-01-04 | 2019-01-04 | 一种灯光控制方法、开关及计算机可读存储介质 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2019/070456 WO2020140278A1 (zh) | 2019-01-04 | 2019-01-04 | 一种灯光控制方法、开关及计算机可读存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020140278A1 true WO2020140278A1 (zh) | 2020-07-09 |
Family
ID=71406835
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/070456 Ceased WO2020140278A1 (zh) | 2019-01-04 | 2019-01-04 | 一种灯光控制方法、开关及计算机可读存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN113261206A (zh) |
| WO (1) | WO2020140278A1 (zh) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090164930A1 (en) * | 2007-12-25 | 2009-06-25 | Ming-Yu Chen | Electronic device capable of transferring object between two display units and controlling method thereof |
| CN102289324A (zh) * | 2011-09-15 | 2011-12-21 | 鸿富锦精密工业(深圳)有限公司 | 触摸输入装置及具有该触摸输入装置的电子装置 |
| CN106160720A (zh) * | 2015-03-27 | 2016-11-23 | 楚博纯 | 基于智能开关面板的手势控制方法、开关面板及开关系统 |
-
2019
- 2019-01-04 WO PCT/CN2019/070456 patent/WO2020140278A1/zh not_active Ceased
- 2019-01-04 CN CN201980073508.5A patent/CN113261206A/zh active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090164930A1 (en) * | 2007-12-25 | 2009-06-25 | Ming-Yu Chen | Electronic device capable of transferring object between two display units and controlling method thereof |
| CN102289324A (zh) * | 2011-09-15 | 2011-12-21 | 鸿富锦精密工业(深圳)有限公司 | 触摸输入装置及具有该触摸输入装置的电子装置 |
| CN106160720A (zh) * | 2015-03-27 | 2016-11-23 | 楚博纯 | 基于智能开关面板的手势控制方法、开关面板及开关系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113261206A (zh) | 2021-08-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP2835729A1 (en) | Method for controlling position of floating window and terminal | |
| CN108205430B (zh) | 双屏移动终端、相应操控方法及存储介质 | |
| CA2959715C (en) | Disambiguation of keyboard input | |
| US8878800B2 (en) | Information processing apparatus, information processing method, and computer-readable storage medium | |
| US20120256856A1 (en) | Information processing apparatus, information processing method, and computer-readable storage medium | |
| CN111273838B (zh) | 触摸显示装置中悬浮工具栏的移动方法及触摸显示装置 | |
| US9354780B2 (en) | Gesture-based selection and movement of objects | |
| EP3564807A1 (en) | Flexible display device control method and apparatus | |
| US20120162093A1 (en) | Touch Screen Control | |
| JP2012503223A (ja) | ドラッグ動作を利用したコンテンツのパンニング | |
| CN107613094A (zh) | 一种单手操作移动终端的方法和移动终端 | |
| CN105117056A (zh) | 一种操作触摸屏的方法和设备 | |
| CN103793137A (zh) | 一种显示方法及电子设备 | |
| CN107450820B (zh) | 界面控制方法及移动终端 | |
| CN104731478A (zh) | 一种智能终端的单手操作方法及装置 | |
| WO2013175798A1 (ja) | 情報処理装置、情報処理方法、および情報処理プログラム | |
| CN106502387A (zh) | 一种基于视线跟踪的跨设备分布式信息传输交互方法 | |
| JP6087608B2 (ja) | 携帯可能な装置、携帯可能な装置を制御する方法およびプログラム | |
| US20160132204A1 (en) | Information processing apparatus, processing method thereof, and program | |
| WO2022161218A1 (zh) | 图标移动方法、装置及电子设备 | |
| WO2020140278A1 (zh) | 一种灯光控制方法、开关及计算机可读存储介质 | |
| CN104423548A (zh) | 一种控制方法及装置 | |
| JP7194953B1 (ja) | オブジェクト操作用のプログラム | |
| CN105183353B (zh) | 用于触控设备的多点触控输入方法 | |
| KR101574752B1 (ko) | 스마트 기기용 터치 마우스 장치 |
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: 19907011 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 19907011 Country of ref document: EP Kind code of ref document: A1 |