Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a method and a system for controlling an electronic device by a touch terminal.
In order to achieve the purpose, the invention adopts the following technical scheme:
a method for controlling an electronic device by a touch terminal is characterized in that the horizontal switching of a display interface of the electronic device is controlled by the horizontal sliding on a touch area of the touch terminal through the wireless communication between the touch terminal and the electronic device, and the vertical switching of the display interface of the electronic device is controlled by the vertical sliding on the touch area of the touch terminal; the method specifically comprises the following steps: (a) the touch terminal is electrified to work; (b) detecting a touch module of the touch terminal, entering the next step when the touch module detects a trigger, and repeatedly detecting when the touch module does not detect the trigger; (c) judging whether the touch action is effective, if the touch action is effective, entering the next step, and if the touch action is ineffective, repeating the step (b); (d) generating corresponding touch identification codes for various touch actions; (e) the wireless module converts the corresponding touch identification code into a wireless data format and sends the wireless data format to the electronic equipment; (f) the electronic equipment converts the received touch identification code into a control signal of the electronic equipment and displays the control signal through a display screen;
the detection of the touch module comprises the detection of a horizontal touch area and a vertical touch area of the touch terminal, and a touch action of the horizontal touch area generates a control signal for displaying the horizontal movement of an interface; the touch action of the vertical touch area generates a control signal for displaying the vertical movement of the interface. The display interface of the electronic equipment is divided into a plurality of selection areas or a plurality of selection items in the horizontal direction and the vertical direction.
The wireless communication can be 2.4G wireless communication, infrared communication, 5G wireless communication, Bluetooth wireless communication, WIFI wireless communication or WIFI Direct wireless communication and the like. The horizontal switching and the vertical switching can be horizontal switching and vertical switching of the display page, and can also be horizontal displacement and vertical displacement of the selection items in the display page.
The left touch action of the horizontal touch area generates a control signal for horizontally moving the display interface leftwards, and the right touch action of the horizontal touch area generates a control signal for horizontally moving the display interface rightwards; the downward touch action of the vertical touch area generates a control signal for the display interface to move vertically downwards, and the upward touch action of the vertical touch area generates a control signal for the display interface to move vertically upwards.
The method adopts a pure touch control mode without a display interface, can quickly convert touch signals generated by touch actions into touch identification codes through processing, and transmits the touch identification codes to electronic equipment with the minimum data volume, and has the characteristics of simple structure, easy production and low production and use cost; the user can use the device more conveniently, and time and trouble are saved. And the miniaturization design of the touch terminal is facilitated, and the popularization and the application of products are facilitated.
The method of the invention has the further technical scheme that: the touch terminal also comprises a cursor touch area; the double-point upward sliding touch action of the cursor touch area generates a control signal for increasing the volume of the electronic equipment; the touch action of sliding the double points of the cursor touch area downwards generates a control signal for turning down the volume of the electronic equipment.
The method of the invention has the further technical scheme that: the touch terminal also comprises a cursor touch area; the sliding touch action that the double points of the cursor touch area are drawn inwards generates a control signal for reducing the display interface of the electronic equipment; the sliding touch action of the two points of the cursor touch area which are separated outwards generates a control signal for amplifying the display interface of the electronic equipment.
The volume is adjusted in an ascending mode through the sliding touch of the two points upwards, and the volume is adjusted in a descending mode through the sliding touch of the two points downwards; the display interface is reduced through the sliding touch of the two points which are close inwards, the display interface is enlarged through the sliding touch of the two points which are separated outwards, and the use function of the touch terminal is further improved.
The method of the invention has the further technical scheme that: and when the touch terminal detects the touch actions of the horizontal touch area, the vertical touch area and the cursor touch area and generates corresponding touch identification codes, simultaneously generating a sound or vibration prompt signal.
Because the information feedback of the sound or vibration of the touch action is added, a feedback signal is generated for each touch of the user, and the use experience of the touch remote control is further improved.
The invention discloses a system for controlling electronic equipment by a touch terminal, which comprises the touch terminal and the electronic equipment in wireless communication connection with the touch terminal, wherein the electronic equipment comprises: the processor module is a core processing element of the electronic equipment and is used for processing audio and video signals and various data; the wireless communication assembly is connected with the processor module and used for receiving wireless signals of the touch terminal; the memory is connected with the processor module and used for storing various data; the display driving module is connected with the processor module and is provided with a video output port connected with the display screen to amplify the video signal processed by the processor module; and the display screen is connected with the video output port of the display driving module and is used for displaying the video signal processed by the processor module.
The further technical scheme of the system of the invention is as follows: the touch terminal comprises: the microcontroller is used for processing the touch signal of the touch module to generate a touch identification code; the touch module is used for detecting the touch action of a user and converting the touch action into an electric signal and comprises a touch panel and a touch processing circuit connected with the touch panel, wherein the touch processing circuit is connected with the microcontroller, and the touch panel comprises a cursor touch area, a horizontal touch area, a vertical touch area and a key area; the wireless communication module is connected with the microcontroller and used for converting the touch identification code generated by the microcontroller into a wireless data format and transmitting the wireless data format to the electronic equipment; the power supply module is connected with the microcontroller and is used for supplying power to all circuits of the touch terminal; and the shell is used for accommodating the microcontroller, the touch control processing circuit and the power supply module, and the touch control panel is arranged on the shell.
The further technical scheme of the system of the invention is as follows: the key area is positioned at the lowest part of the touch panel, the horizontal touch area is positioned above the key area, and the vertical touch area is positioned at the right side of the touch panel; the cursor touch area is located in the upper left area of the touch panel.
The further technical scheme of the system of the invention is as follows: the touch panel comprises an upper side panel arranged on the upper side surface of the shell, a right side panel arranged on the right side of the shell and a rear side panel arranged on the rear side of the shell; the cursor touch area and the key area are arranged on the upper side panel, the rigid touch area is arranged on the right side panel, and the horizontal touch area is arranged on the rear side panel. Therefore, the user can naturally recognize the difference between the cursor touch area and the rigid touch area as well as the difference between the cursor touch area and the horizontal touch area through the difference of three-dimensional spaces, the user can further use the touch terminal in a three-dimensional way, the movement of the wrist is increased, and the fatigue of the user caused by watching a display picture for a long time is relieved.
The further technical scheme of the system of the invention is as follows: the touch terminal also comprises a buzzer and a vibrating motor which are connected with the microcontroller; the buzzer sends out a sound prompt signal when the microcontroller generates the touch identification code; the vibration motor vibrates the prompt signal when the microcontroller generates the touch identification code.
The further technical scheme of the system of the invention is as follows: the surface of the horizontal touch area is provided with a horizontal stripe layer, the horizontal stripe layer comprises a plurality of horizontal stripes, the surface of the vertical touch area is provided with a vertical stripe layer, and the vertical stripe layer comprises a plurality of vertical stripes; or, the surface of the horizontal touch area is provided with a vertical stripe layer, the vertical stripe layer comprises a plurality of vertical stripes, the surface of the vertical touch area is provided with a horizontal stripe layer, and the horizontal stripe layer comprises a plurality of horizontal stripes.
Compared with the prior art, the invention has the beneficial effects that: the method adopts a pure touch control mode without a display interface, can quickly convert the touch signals generated by touch actions into touch identification codes through processing, and transmits the touch identification codes to the electronic equipment with the minimum data volume, and has the characteristics of simple structure, easy production and low production and use cost; the user can use the device more conveniently, and time and trouble are saved. And the miniaturization design of the touch terminal is facilitated, and the popularization and the application of products are facilitated. The volume is adjusted in an ascending mode through sliding touch of the two points upwards, and the volume is adjusted in a descending mode through sliding touch of the two points downwards; the display interface is reduced through the sliding touch of the two points which are close inwards, the display interface is enlarged through the sliding touch of the two points which are separated outwards, and the use function of the touch terminal is further improved. The touch terminal can be a full-touch remote controller product without a display screen which is independently developed, and is also realized by loading a specific program component on products such as a smart phone, a tablet personal computer or a PDA. The horizontal touch area and the vertical touch area are provided with stripe layers; when the touch screen is used on the full-touch panel, a user can perceive a horizontal touch area, a vertical touch area or a cursor touch area without looking at the touch panel.
The invention is further described below with reference to the accompanying drawings and specific embodiments.
Detailed Description
In order to more fully understand the technical content of the present invention, the technical solution of the present invention will be further described and illustrated with reference to the following specific embodiments, but not limited thereto.
In the following embodiments, the touch terminal adopts a touch remote controller product which is separately developed and designed, and adopts a full-touch panel structure without a display screen.
The invention relates to a method for controlling electronic equipment by a touch terminal, which controls the horizontal switching of a display interface of the electronic equipment by the horizontal sliding on a touch area of the touch terminal and controls the vertical switching of the display interface of the electronic equipment by the vertical sliding on the touch area of the touch terminal through the wireless communication between the touch terminal and the electronic equipment; the method specifically comprises the following steps: (a) the touch terminal is electrified to work; (b) detecting a touch module of the touch terminal, entering the next step when the touch module detects a trigger, and repeatedly detecting when the touch module does not detect the trigger; (c) judging whether the touch action is effective, if the touch action is effective, entering the next step, and if the touch action is ineffective, repeating the step (b); (d) generating corresponding touch identification codes for various touch actions; (e) the wireless module converts the corresponding touch identification code into a wireless data format and sends the wireless data format to the electronic equipment; (f) the electronic equipment converts the received touch identification code into a control signal of the electronic equipment and displays the control signal through a display screen; the detection of the touch module comprises the detection of a horizontal touch area and a vertical touch area of the touch terminal, and a touch action of the horizontal touch area generates a control signal for displaying the horizontal movement of an interface; the touch action of the vertical touch area generates a control signal for displaying the vertical movement of the interface. The display interface of the electronic equipment is divided into a plurality of selection areas or a plurality of selection items in the horizontal direction and the vertical direction.
The wireless communication can be 2.4G wireless communication, infrared communication, 5G wireless communication, Bluetooth wireless communication, WIFI wireless communication or WIFI Direct wireless communication and the like. The horizontal switching and the vertical switching can be horizontal switching and vertical switching of the display page, and can also be horizontal displacement and vertical displacement of the selection items in the display page.
The left touch action of the horizontal touch area generates a control signal for horizontally moving the display interface leftwards, and the right touch action of the horizontal touch area generates a control signal for horizontally moving the display interface rightwards; the downward touch action of the vertical touch area generates a control signal for the display interface to move vertically downwards, and the upward touch action of the vertical touch area generates a control signal for the display interface to move vertically upwards.
The touch terminal also comprises a cursor touch area; the double-point upward sliding touch action of the cursor touch area generates a control signal for increasing the volume of the electronic equipment; the touch action of sliding the double points of the cursor touch area downwards generates a control signal for turning down the volume of the electronic equipment.
The touch terminal also comprises a cursor touch area; the sliding touch action that the double points of the cursor touch area are drawn inwards generates a control signal for reducing the display interface of the electronic equipment; the sliding touch action of the two points of the cursor touch area which are separated outwards generates a control signal for amplifying the display interface of the electronic equipment.
And when the touch terminal detects the touch actions of the horizontal touch area, the vertical touch area and the cursor touch area and generates corresponding touch identification codes, simultaneously generating a sound or vibration prompt signal.
The specific implementation process is shown in fig. 1, fig. 2 and fig. 3, and is specifically described as follows:
the method comprises the following steps that firstly, a touch remote controller is started up, and power-on initialization is carried out;
secondly, detecting by a touch module, namely detecting the touch action in the touch panel in real time;
step three, detecting whether the touch module is triggered, entering the step four when the touch module is triggered, and repeating the step two when the touch module is not triggered;
fourthly, judging the touch gesture;
fifthly, judging whether the touch gesture is effective, and if the touch gesture is ineffective, repeating the second step; if the result is valid, entering a sixth step;
sixthly, generating a corresponding identification code;
seventhly, the wireless communication module converts the corresponding identification code into a corresponding data format and sends the data format to a Host end (namely a Host end of the electronic equipment) in a wireless mode;
and eighthly, receiving and matching the display interface of the intelligent television end (namely the display screen) by the intelligent center (namely the Host end), running a corresponding background program, and executing the instruction of the identification code.
And judging the sliding gesture in the fifth step, wherein the detailed process is as follows:
determination of area 1 (i.e., cursor touch area):
if the initial pressing point of the touch is in thearea 1 and the single-point continuous sliding is performed, theareas 1,2 and 3 are cursor areas, and the cursor at the host end can be controlled to move until the touch point is lifted;
if the initial pressing point of the touch is in thearea 1, continuously and quickly double-clicking and pressing, and selecting the icon; the icons can be continuously dragged in the 1,2 and 3 areas;
if the initial pressing point of the touch is in thearea 1 and the click action is performed, selecting an icon or a menu;
if the initial pressing point of the touch is in thearea 1 and the touch is a double-click action, selecting an icon or a menu;
if the initial pressing point of the touch is in thearea 1 and the touch is a double-finger up-stroke action, the volume is positive;
volume if the initial pressing point of the touch is in thearea 1 and the touch is a double-finger up-stroke action;
if the initial pressing point of the touch is in thearea 1 and the two fingers are separated, the touch is amplified;
if the initial pressing point of the touch area is in thearea 1 and the two fingers are closed, the touch area is reduced;
otherwise, it is an invalid action.
Determination of area 2 (i.e., horizontal touch area):
if the starting point is pressed in thearea 2, the single finger or the double fingers slide rightwards, and the selection items are switched rightwards;
if the starting point is pressed in thearea 2, the single finger or the double fingers slide leftwards, and the selection items are switched leftwards.
Determination of area 3 (i.e., vertical touch area):
if the starting point is pressed in thearea 3, the single finger or the double fingers slide upwards to switch the selection items upwards;
if the starting point is pressed in thearea 3, the single finger or the double fingers slide downwards to switch the selection items downwards.
Judgment of area 4 (i.e., menu key area) and area 5 (i.e., return key area):
clicking the menu key area (namely area 4) of the menu in the figure 2), and then opening the menu;
clicking on the return key area (i.e., area 5) of fig. 2), the upper level directory is returned.
The description of the swipe gesture is as follows:
menu key area (area 4): clicking and lifting the trigger, and vibrating the motor to generate feedback;
2, return key region (region 5): clicking and lifting the trigger, and vibrating the motor to generate feedback;
3, the lower end horizontal double-arrow area is a horizontal slider area gesture (namely area 2): sliding from left to right moves the application menu of the TV end (namely, a display screen) to the right, and sliding from right to left moves the application menu of the TV end to the left.
Determining the number and speed of menu displacement according to the sliding distance and the sliding speed, and having the function of inertia acceleration
4, the right-end up-down double-arrow region is a vertical slider region gesture (i.e., region 3):
and sliding from bottom to top is the upward movement of the application menu at the TV end, and sliding from top to bottom is the downward movement of the application menu at the TV end.
And determining the number and speed of menu movements according to the sliding distance and the sliding speed.
The following is one specific detection parameter for the sliding speed for the horizontal touch area and the vertical touch area: the menu interface of the display slides as a single finger or double fingers slide in units of 4 mm. And when the sliding distance exceeds 4mm, triggering the display menu interface to turn pages. When the distance of sliding more than 10mm in 0.2s is inertia acceleration in the main interface (shown in figure 4) and the application interface (shown in figure 5), triggering the display menu interface to continuously page at the speed of 5 pages per second at 7 times; inertial acceleration occurs when the secondary application interface (as shown in FIG. 5) slides more than 10mm within 0.2 s. And triggering the menu interface to continuously page at the speed of 8 pages per second at 13 times. The operation of the data can be sent out after the touch remote controller is finished, or the touch remote controller directly presses the mobile data, and the intelligent center (Host end) receives the operation and then sends out the operation.
And 5, in the cursor touch area (namely the area 1), the upper part of the double fingers is divided into volume +, the lower part of the double fingers is divided into volume +, the single finger clicks the selected interface application (the left mouse button), the single finger double clicks the selected application (the right mouse button) and the single finger moves to slide the control cursor.
In other embodiments, a light signal generated by an indicator light or a sound signal generated by a buzzer may be used as the feedback signal provided to the user.
The invention adopts the specific areas of the horizontal sliding bar (namely the horizontal touch area) and the vertical sliding bar (namely the vertical touch area), and when in use, the invention carries out specific detection and processing on the touch of the area, so that the detection is different from the detection of the traditional cursor touch area, the identification of non-standard horizontal gestures and vertical gestures is reduced, the processing circuit of the touch panel is greatly optimized, the signal processing speed is improved, any horizontal or vertical action of a user can be realized, the response can be quickly obtained on the display interface of the remote electronic equipment, and particularly when the electronic equipment is used as game equipment, the quick response can provide better use experience for the user.
As shown in fig. 6, an embodiment of a system for controlling an electronic device by a touch terminal according to the present invention includes atouch terminal 10, and anelectronic device 20 connected to thetouch terminal 10 in a wireless communication manner; theelectronic device 20 comprises aprocessor module 21, awireless communication component 22, amemory 23 and adisplay driving module 24 which are connected with theprocessor module 21, and a display screen 30 (in general use, a television is used as the display screen, and the display screen can be connected through interfaces such as an HDMI) which is connected with thedisplay driving module 24; thetouch terminal 10 includes amicrocontroller 11, and atouch module 12 and awireless communication module 13 connected to themicrocontroller 11. Thetouch terminal 10 includes ahousing 19, and thetouch module 12 is atouch panel 121 disposed on the housing and atouch processing circuit 122 connected to thetouch panel 121. Thetouch panel 121 includes a cursor touch area, a horizontal touch area, a vertical touch area, and a key area. Thetouch terminal 10 further includes apower module 14, anindicator light 15, aspeaker 16, and avibration motor 17 connected to themicrocontroller 11. The wireless communication between thetouch terminal 10 and theelectronic device 20 is bidirectional in the embodiment, and may be unidirectional in other embodiments. In this embodiment, thewireless communication component 22 of theelectronic device 20 is a built-in structure, but in other embodiments, it may be an external structure, such as an external communication link via a USB interface.
FIG. 7 is a block diagram of a touch remote control with a wireless charging circuit; because the wireless charging circuit is arranged, the remote controller can be charged conveniently by a user.
Fig. 10 is a block diagram of a wireless communication module for implementing wireless communication between an electronic device and a touch terminal by using a USB external connection, and fig. 8 and 9 are control flowcharts of this embodiment. The advantage of this embodiment is that the wireless communication module and the touch remote controller can be an independent matching product, and can be used with other commercially available television boxes (i.e. electronic devices). The Host side in the figure is the Host portion of the electronic device.
The preferred scheme of the touch panel is as follows: the key area is positioned at the lowest part of the touch panel, the horizontal touch area is positioned above the key area, and the vertical touch area is positioned at the right side of the touch panel; the cursor touch area is located in the upper left area of the touch panel.
As another preferable scheme, a horizontal stripe layer is arranged on the surface of the horizontal touch area, the horizontal stripe layer includes a plurality of horizontal stripes, a vertical stripe layer is arranged on the surface of the vertical touch area, and the vertical stripe layer includes a plurality of vertical stripes, as shown in fig. 2A, that is, the stripe direction is the same as the sliding direction. The user can perceive the horizontal touch area and the vertical touch area only by hand feeling during horizontal sliding and vertical sliding, and the eyes are used for watching the content of the display interface. In other embodiments, the opposite stripe layer structure can also be used, i.e. the stripe direction is designed to be perpendicular to the sliding direction: the surface of the horizontal touch area is provided with a vertical stripe layer, the vertical stripe layer comprises a plurality of vertical stripes, the surface of the vertical touch area is provided with a horizontal stripe layer, the horizontal stripe layer comprises a plurality of horizontal stripes, and the horizontal stripe layer is shown in fig. 2B, namely, the stripe direction is perpendicular to the sliding direction.
In other embodiments, the touch panel may have a three-dimensional structure, including anupper panel 121A disposed on the upper side of thehousing 19A, aright panel 121B disposed on the right side of the housing, and arear panel 121C disposed on the rear side of the housing; the cursor touch area and the key area are arranged on the upper panel, the rigid touch area is arranged on the right panel, and the horizontal touch area is arranged on the back panel, as shown in fig. 11. Therefore, the user can naturally recognize the difference between the cursor touch area and the rigid touch area as well as the difference between the cursor touch area and the horizontal touch area through the difference of three-dimensional spaces, the user can further use the touch terminal in a three-dimensional way, the movement of the wrist is increased, and the fatigue of the user caused by watching a display picture for a long time is relieved.
The touch panel is a multi-point touch screen, and is divided into a plurality of functional areas. Various gestures and actions can be accurately judged in the corresponding area, and the gestures and the actions are transmitted to the microcontroller through the SPI after being processed.
In other embodiments, as shown in fig. 6A, the electronic device of the present invention may also be an integrated structure, that is, the processor module, the wireless communication component connected to the processor module, the memory, and the display driving module are integrated with the display screen in the same housing, such as a commercially available smart tv with an internal processor module.
In other embodiments, the touch terminal may also be implemented by loading a touch program component with a horizontal touch area, a vertical touch area, and a cursor touch area on a product such as a smart phone, a tablet computer, or a PDA.
In other embodiments, when the electric quantity of the touch terminal is insufficient, the user can be reminded in time.
In other embodiments, as a further innovation of the present invention, a more suitable use experience can be provided for different users, so as to provide appropriate use methods for different users, wherein, the detection of the horizontal sliding touch and the vertical sliding touch can judge the sliding speed, except for the initial use of the touch terminal, in addition to enabling the initially set slide speed, the user may enter the function setting interface of the menu, use the self-learning function, on the setting interface of the self-learning function, the user is prompted on the display interface to operate according to the habit of the user at the speed of the habit of the user, switching the selected objects of the display interface in the horizontal and vertical directions, in the self-learning setting process, the same action is subjected to at least three sliding tests, and the average value is taken as the use mode of the user and stored in the memory. Besides the self-learning setting of the horizontal touch area and the vertical touch area (which can be called as an adaptive function), the self-learning setting of the cursor touch area can be carried out. Here, the sliding detection of the cursor touch area may also be self-learning set, such as the speed detection of the two-point inward approaching, the speed detection of the two-point outward separating, and the speed detection of the two-point upward sliding and downward sliding.
In other embodiments, as a further innovation of the present invention, a user selection mode is added to the electronic device, so that usage environments of a plurality of users can be provided, and before the usage status is performed, user options are added, a user who uses the electronic device for the first time can use the usage environments of other users, or can create a new user name, and each user can use the self-learning function to set the action mode of controlling the electronic device at the touch terminal.
In summary, the horizontal sliding touch and the vertical sliding touch of the touch terminal are utilized to realize the horizontal switching and the vertical switching of the display interface; the user can use the device more conveniently, and time and trouble are saved. The volume is adjusted in an ascending mode through sliding touch of the two points upwards, and the volume is adjusted in a descending mode through sliding touch of the two points downwards; the display interface is reduced through the sliding touch of the two points which are close inwards, the display interface is enlarged through the sliding touch of the two points which are separated outwards, and the use function of the touch terminal is further improved. The touch terminal can be a full-touch remote controller product without a display screen which is independently developed, and is also realized by loading a specific program component on products such as a smart phone, a tablet personal computer or a PDA. The surface of the horizontal touch area is provided with a plurality of horizontal stripes, and the vertical touch area is provided with a plurality of vertical stripes; when the touch screen is used on the full-touch panel, a user can perceive a horizontal touch area, a vertical touch area or a cursor touch area without looking at the touch panel.
The technical contents of the present invention are further illustrated by the examples only for the convenience of the reader, but the embodiments of the present invention are not limited thereto, and any technical extension or re-creation based on the present invention is protected by the present invention. The protection scope of the invention is subject to the claims.