This disclosure relates to switch control devices, and more particularly relates to a switch control device and a switch control method that are controlled by touch inputs.
Currently, the switch control device for controlling lamps and the like is usually provided with a plurality of mechanical keys for the user to control the lamps on/off, brightness, and the like. However, the switch control device with mechanical keys is not particularly convenient for the user to recognize the positions of the keys and then operate the keys. In particular, for the lamp with multi-light sources, in order to independently control the light sources individually, a plurality of keys corresponding to the respective light sources are generally set on the switch. The user must operate the keys one by one to control each light source, and the process is thus cumbersome.
Embodiments of the present disclosure disclose a switch control device and a switch control method, which are capable of controlling corresponding objects by touch gestures, thereby simplifying operation.
An embodiment of the present disclosure discloses a switch control device configured to control a plurality of objects. The switch control device includes a touch panel and a controller. The touch panel generates a touch signal in response to a user's touch gesture. The controller determines a number of touch points according to the touch signal generated by the touch panel, and controls a corresponding number of the objects.
An embodiment of the present disclosure discloses a switch control method, configured to control a plurality of objects. The switch control method includes steps: a touch panel generating a touch signal in response to a user's touch gesture; a controller determining a number of touch points according to the touch signal generated by the touch panel; and the controller controlling a corresponding number of the objects.
The switch control device and method of the present disclosure can quickly control corresponding objects, without having to operate specific keys, which is convenient and quick.
To describe the technology solutions in the embodiments of the present disclosure more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments. Obviously, the accompanying drawings in the following description show merely some embodiments of the present disclosure, those of ordinary skill in the art may also derive other obvious variations based on these accompanying drawings without creative efforts.
The technical solution in the embodiments of the present disclosure will be described clearly and completely hereinafter with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are merely some but not all embodiments of the present disclosure. All other embodiments obtained by a person of ordinary skilled in the art based on the embodiments of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.
Referring to
In this embodiment, the number of the at least one object 200 is five. When the controller 20 determines that the number of the touch points is one, one object 200 is controlled to turn on. When it determines that the number of the touch points is two, two objects 200 are controlled to turn on. When it determines that the number of the touch points is three, three objects 200 are controlled to turn on. When it determines that the number of the touch points is four, four objects 200 are controlled to turn on. When it determines that the number of the touch points is five, five objects 200 are controlled to turn on.
Understandably, when there are a large number of objects 200, the number of touch points may also be in a one-to-many multiple relationship with the objects 200. For example, when there are fifteen objects 200, one touch point corresponds to three objects 200. That is, when one touch point is detected, three objects 200 are turned on; when two touch points are detected, six objects 200 are turned on, and so on.
Therefore, the present disclosure can quickly open the corresponding number of objects 200 without having to operate specific keys, which is convenient and quick.
Wherein, in the present disclosure, the touch point refers to an independent continuous area. For example, when the user touches with one finger, the touched area is a touch point. Therefore, when the user touches the touch panel 10 with a certain number of fingers, the number of touch points determined by the controller 20 is the number of fingers, and a corresponding number of objects 200 are controlled to turn on according to the number of the fingers.
The controller 20 also determines a touch trace according to the touch signal, and further controls a parameter of the object 200. Specifically, the controller 20 determines a moving relationship of relative positions of the touch points according to the touch signal, and increases or decreases the parameter of the object 200. In this embodiment, when the controller 20 determines that the number of touch points is at least two, and the movement traces of the touch points are away from each other, the controller 20 controls to increase the specific parameter of the object 200 currently turned on. When the controller 20 determines that the number of touch points is at least two and the movement traces of the touch points are close to each other, the controller 20 controls to decrease the specific parameter of the object 200 currently turned on. Preferably, the control of the specific parameter is optimized for two-finger operations to simplify the user's operations.
In this embodiment, each object 200 is a lamp. A plurality of objects 200 constitute a combination luminaire. The specific parameter is brightness. The controller 20 controls the corresponding number of lamps to turn on according to the number of fingers touched by the user, and controls to increase the brightness of the objects 200 when determining that the user's touch operation is a separation operation of multiple fingers away from each other, and controls to decrease the brightness of the objects 200 when determining that the user's touch operation is a converging operation of a plurality of fingers close to each other.
In another embodiment, the object 200 can also be a loudspeaker or a sound box. A plurality of objects 200 constitute a combination speaker. The specific parameter is volume. The controller 20 controls the corresponding number of sound boxes to turn on according to the number of fingers touched by the user, and controls to increase the volume of the objects 200 when determining that the user's touch operation is the separation operation of multiple fingers away from each other, and controls to decrease the volume of the objects 200 when determining that the touch operation is the converging operation of a plurality of fingers close to each other. In other embodiments, the object 200 may also be a television, a display, and the like.
Therefore, the present disclosure can quickly adjust the parameter of the object 200 without having to operate specific keys, which is convenient and quick.
In this embodiment, the controller 20 also controls to turn off all the objects 200 when it is determined that the touch operation input through the touch panel 10 is a double-click operation. Wherein, when the controller 20 determines that two touches occur at the same position within a predetermined time interval (for example, 1 second) according to the touch signal, it is determined that the touch operation is the double-click operation, and all the objects 200 are controlled to turn off. Wherein, the user can perform the double-click operation with at least one finger.
In this embodiment, in order to prevent misjudgment, the switch control device 100 further includes a delay module 30. The delay module 30 may be a module integrated in the controller 20, or a module connected between the touch panel 10 and the controller 20. The delay module 30 is configured to generate a delay period so that all successive operations within the delay period are counted and finally executed simultaneously. For example, when the user wants to open the three objects 200 at the same time, since the length of the fingers is not equal, it is difficult to avoid that some fingers touch the touch panel 10 first, and some other fingers touch the touch panel 10 afterwards. If the delay function is not added but the command is executed immediately, the three objects 200 will be opened in a successively manner, causing a bad impression to the user. After adding the delay function, the controller 20 will not execute the command immediately but will execute the command after the delay period elapses. Thus, even if the touch panel 10 is successively touched, as long as the touches are completed within the delay period, the controller 20 regards the touches simultaneously performed, thereby executing the command to simultaneously turn on the plurality of objects 200 after the delay period has elapsed. Preferably, the delay period is 1 second. When the delay module 30 is integrated in the controller 20, the controller 20 directly receives the touch signals from the touch panel 10 and executes the command after the delay period. When the delay module 30 is located outside the controller 20, the delay module 30 receives the touch signal of the touch panel 10, and then sends the signal to the controller 20 to execute the command after the delay period.
The controller 20 also controls to turn off the delay module 30 when there are objects turned on, so that the double-click operation for closing the object 200, and gathering or separating actions for increasing or decreasing the parameter of the object 200 can be responded in time.
Wherein, the touch panel 10 can be located on at least one surface of the switch control device 100. In one embodiment, the touch panel 10 can also be a panel that passes through a body of the switch control device 100 in a slantwise insertion manner. The touch panel 10 includes a flexible touch panel, and any position of its touch surface can be used as a touch gesture input position. Also, a touch gesture performed at an arbitrary angle on the touch surface of the flexible touch panel with respect to one side of the touch surface may be sensed by the touch panel 10, and then recognized by the controller 20 and converted into a control signal to control the object 200. For example, the two fingers gathering together in a horizontal direction, the two fingers gathering together in a vertical direction, and the two fingers gathering along a diagonal line, and the like may be all recognized by the controller 20 as an instruction to reduce the brightness of the object 200.
As shown in
Please refer to
Please referring to
The touch panel 10 is an arc-shaped structure, such as similar to a ¼-perimeter side surface of cylinder. The support plate 103 is also an arc-shaped structure conforming to the touch panel 10. In this embodiment, the support plate 103 is an arc-shaped structure as a whole, that is, the surface of the support plate 103 on which the touch panel 10 is attached is an arc-shaped surface conforming to the touch panel 10, and the other surface on the opposite side is also arc-shaped. In other embodiments, the surface of the supporting plate 103 on which the touch panel 10 is attached is a curved surface, and the other surface may be a flat surface or other structures.
Wherein, as shown in
As shown in
Please refer to
The housing 11 defines a first slot 111. The base plate 12 defines a second slot 121 in a portion of the base plate 12 corresponding to the first slot 111. The support plate 103 with the touch panel 10 attached thereto is inserted into the base 102 through the first slot 111 and the second slot 121. In the present embodiment, the first slot 111 and the second slot 121 are offset by a certain distance in the horizontal direction, so that the support plate 103 is obliquely inserted in the base 102.
Wherein, the first slot 111 and the second slot 121 are arc-shaped slots, which are compatible with the shape of the support plate 103.
Wherein, the slot edge of the second slot 121 on the base plate 12 is provided with an upper flange protruding upwardly, and the slot edge of the first slot 111 of the housing 11 is correspondingly provided with a lower flange protruding downwardly, for isolating the support plate 103 with the touch panel 10 attached thereto from the circuit board 50 and the like located on the base plate 12, and can guide an insertion direction of the support plate 103 at the same time.
The circuit board 50 is fixed to the base plate 12 by screws. The support plate 103 defines an opening 1031 therein. A flexible circuit board 21 is mounted on the surface of the touch panel 10 facing the support plate 103. The flexible circuit board 21 is electrically coupled to the circuit board 50 through the opening 1031.
Wherein, as shown in
Please referring to
The back surface of the support plate 103 without attaching the touch panel 10 thereto is provided with a fixing member 1032. The fixing member 1032 is configured to fix the support plate 103 to the base plate 12. As shown in
Wherein, the controller 20 and the switch circuit 40 are located on the circuit board 50.
As shown in
The controller 20 determines the number of touched points based on the touch signal generated by the touch panel 10 of the switch control device 100 (S601).
The controller 20 turns on the corresponding number of the objects 200 according to the number of the touch points (S603).
When the controller 20 determines that the number of touched points is at least two, and the moving traces of the touched points are far away from each other or towards each other, the controller 20 controls to increase or decrease a specific parameter of the object 200 that is currently turned on (S605).
When the controller 20 determines that the touch operation input through the touch panel 10 is a double-click operation, the controller 20 controls to turn off all the objects 200 (S607).
It can be understood that the terms “many” and “a plurality” in the present disclosure refer to two or more cases.
The above is a preferred embodiment of the present disclosure, and it should be noted that those skilled in the art may make some improvements and modifications without departing from the principle of the present disclosure, and these improvements and modifications are also the protection scope of the present disclosure.
The present application is a National Phase of International Application Number PCT/CN2015/098058, filed Dec. 21, 2015.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2015/098058 | 12/21/2015 | WO | 00 |