Touch response method and device, equipment and storage medium
By identifying and distinguishing the operation information of touch objects on the infrared touch screen and triggering the corresponding response path, the problem of messy infrared touch screen display interface is solved, and a user interface that combines simplicity and diversity is achieved.
Patent Information
- Application Number
- CN202410131095.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-30
- Publication Date
- 2025-08-01
AI Technical Summary
The display interface of the existing infrared touch screen is messy due to too many virtual shortcut keys, which violates users' needs for a simple interface.
By identifying the operation information of the touch object, using the touch area formed by the optical path network of the infrared touch screen, differentiating different touch objects and triggering corresponding response paths based on preset operation information, hiding infrequent shortcut keys, and displaying them only when required, providing a variety of response paths.
Maintains the simplicity of the display interface, and provides diverse response paths to avoid mistouching and setting conflicts, making it easier for users to operate.
Smart Images

Figure CN120406775A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of touch control technology, and in particular to a touch response method, device, equipment and storage medium. Background Art
[0002] With the development of touch technology, touch screens, as a simple and convenient human-computer interaction device, have been widely used. At present, the types of touch screens mainly include resistive touch screens, capacitive touch screens, surface acoustic wave touch screens, optical touch screens, infrared touch screens, etc.
[0003] Among them, an infrared touch screen uses an infrared matrix densely arranged in the X and Y directions to detect and locate the touch operation of a user. An infrared touch screen installs a circuit board frame in front of the display. The circuit board arranges infrared emitting tubes and infrared receiving tubes on the four sides of the screen, and they form a horizontal and vertical cross infrared matrix in one-to-one correspondence. When a user touches the screen, a touch object such as a finger will block the infrared rays passing through that position, so the position of the touch object on the screen can be judged. In related technologies, at least one virtual shortcut key is often set on the display interface of the touch screen to facilitate the user to quickly open the corresponding application.
[0004] However, too many virtual shortcut keys will occupy too much space on the display interface, making the display interface messy and not meeting the user's requirement for a simple display interface. Summary of the Invention
[0005] The purpose of the embodiments of the present application is to provide a touch response method, device, equipment and storage medium, which can solve the problem that too many virtual shortcut keys will occupy too much space on the display interface, making the display interface messy and not meeting the user's requirement for a simple display interface.
[0006] To achieve the above purpose, on the one hand, the embodiments of the present application provide a touch response method for an infrared touch device. The method includes: identifying operation information of a touch object touching the current interface of the infrared touch device; the operation information of the touch object is determined by a touch area formed by the touch object blocking the optical path network of the infrared touch device; judging whether the operation information of the touch object conforms to preset operation information; when the operation information of the touch object conforms to the preset operation information, obtaining a response path corresponding to the operation information of the touch object according to the touch control relationship, and executing the response path corresponding to the operation information of the touch object; the touch control relationship is used to represent the corresponding relationship between the operation information and the response path, and the response path is one of switching system settings, opening a preset application, opening an application sub-identifier, and displaying a multi-selection window.
[0007] The touch response method provided by the embodiment of the present application, during normal use, only relatively conventional virtual shortcut keys are displayed on the display interface of the device; when there is a need, different touch objects can be used to touch and trigger different response paths. The device differentiates different touch objects based on the operation information of the touch objects, etc. In this way, the simplicity of the display interface of the infrared touch device can be maintained, and diverse response paths can also be provided for the infrared touch device.
[0008] To achieve the above object, on the one hand, an embodiment of the present application provides a touch response method for an infrared touch device. The method includes: when the current application is an application capable of drawing graphics, identifying the operation information of the touch object touching the current application interface of the infrared touch device; the operation information of the touch object is determined by the touch area formed by the touch object blocking the optical path network of the infrared touch device; determining whether the operation information of the touch object conforms to the preset operation information; when the operation information of the touch object conforms to the preset operation information, obtaining a touch relationship and obtaining a drawing effect corresponding to the operation information of the touch object according to the touch relationship, and drawing a drawing effect corresponding to the operation information of the touch object in the application capable of drawing graphics; the touch relationship is used to represent the corresponding relationship between the operation information and the drawing effect.
[0009] The touch response method provided by the embodiment of the present application shows different drawing effects according to the operation information of a specific touch object in an application capable of drawing graphics, which has the advantages of being convenient for users to operate and convenient for users to draw graphics.
[0010] To achieve the above object, on the other hand, an embodiment of the present application further provides a touch response device for an infrared touch device. The device includes: a first identification module for identifying the operation information of the touch object touching the current interface of the infrared touch device; the operation information of the touch object is determined by the touch area formed by the touch object blocking the optical path network of the infrared touch device; a first judgment module for judging whether the operation information of the touch object conforms to the preset operation information; a first processing module for, when the operation information of the touch object conforms to the preset operation information, obtaining a touch relationship and obtaining a response path corresponding to the operation information of the touch object according to the touch relationship, and executing a response path corresponding to the operation information of the touch object; the touch relationship is used to represent the corresponding relationship between the operation information and the response path, and the response path corresponding to the operation information of the touch object is one of switching system settings, opening a preset application, opening an application sub-identifier, and displaying a multi-selection window.
[0011] To achieve the above object, on the other hand, an embodiment of the present application further provides a touch response device for an infrared touch device. The device includes: a second recognition module, which is used to recognize the operation information of a touch object that touches the current application interface of the infrared touch device when the current application is an application capable of drawing graphics; the operation information of the touch object is determined by a touch area formed by the touch object blocking the optical path network of the infrared touch device; a second judgment module, which is used to judge whether the operation information of the touch object conforms to the preset operation information; a second processing module, which is used to, when the operation information of the touch object conforms to the preset operation information, obtain a drawing effect corresponding to the operation information of the touch object according to the touch relationship, and draw the drawing effect corresponding to the operation information of the touch object in the application capable of drawing graphics; the touch relationship is used to represent the corresponding relationship between the operation information and the drawing effect.
[0012] To achieve the above object, on another aspect, an embodiment of the present application further provides a method, a device, a device, and a storage medium for starting an infrared touch device, including a memory and a processor; the memory stores a computer program, and the computer program is adapted to be loaded and executed by the processor to execute the touch response method as described above.
[0013] To achieve the above object, on another aspect, an embodiment of the present application further provides an infrared interaction system, including a touch object and the infrared interaction tablet as described above.
[0014] To achieve the above object, on another aspect, an embodiment of the present application further provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, they are used to implement the touch response method as described above.
[0015] To achieve the above object, on another aspect, an embodiment of the present application further provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the touch response method as described above. Description of the Drawings
[0016] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0017] Figure 1 It is a display interface diagram of a touch screen in the related art;
[0018] Figure 2 It is a flowchart of a touch response method provided by an embodiment of the present application;
[0019] Figure 3 This is the main interface diagram of an infrared touch device provided by an embodiment of the present application;
[0020] Figure 4 This is a schematic diagram of a touch method provided by an embodiment of the present application;
[0021] Figure 5 This is a schematic diagram of another touch method provided by an embodiment of the present application;
[0022] Figure 6 This is a schematic diagram of yet another touch method provided by an embodiment of the present application;
[0023] Figure 7 This is a schematic diagram of a prefabricated window provided by an embodiment of the present application;
[0024] Figure 8 This is a schematic diagram of another prefabricated window provided by an embodiment of the present application;
[0025] Figure 9 This is the structural diagram of a touch response device provided by an embodiment of the present application;
[0026] Figure 10 This is the flowchart of another touch response method provided by an embodiment of the present application;
[0027] Figure 11 This is the structural diagram of another touch response device provided by an embodiment of the present application;
[0028] Figure 12 This is the structural diagram of the infrared touch device provided by an embodiment of the present application. Detailed implementation manners
[0029] Figure 1 This is the display interface diagram of a touch screen in the related art. Figure 1 The boxes in it represent virtual shortcut keys set on the display interface. Refer to Figure 1 , as described in the background art, there are too many virtual shortcut keys on the display interface of the touch screen in the related art. These virtual shortcut keys will occupy too much space on the display interface, making the display interface messy and not meeting the user's requirement for a simple display interface. [[ID=_{49}]]
[0030] In view of the above technical problems, the inventor of the present application thought of hiding some less frequently used virtual shortcut keys during normal use and calling these shortcut keys through some specific means when needed. The method of using a hidden sidebar can solve the above technical problems. However, for some large-sized touch screens, it is obviously not easy for users to trigger the sidebar on the opposite side, and the number of virtual shortcut keys that the sidebar can accommodate is limited.
[0031] The inventors of the present application have realized that the number of virtual shortcut keys on the touch screen side is limited by the size of the touch screen, but the touch object side is not restricted by the touch screen size. In view of this, different touch objects can be used to touch the screen to trigger different response paths. Thus, the key to the embodiments of the present application lies in how to distinguish and respond to different touch objects. The inventors of the present application have considered that if different touch objects are distinguished in terms of the weight, material, etc. of the touch object, it will result in higher costs and a more complex judgment process. If the distinction is made from the contour shape, contour area, etc. of the touch object, it will be very easy for an infrared touch screen. Therefore, the touch response method provided by the embodiments of the present application is applied to an infrared touch device. During normal use, only relatively conventional shortcut keys are displayed on the display interface of the device; when there is a need, different touch objects can be used to touch and trigger different response paths. Moreover, the device can distinguish different touch objects through the contour shape, contour area, etc. of the touch object.
[0032] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application.
[0033] All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the scope of protection of the present application. Without conflict, the following embodiments and the features in the embodiments may be combined with each other.
[0034] The touch response method provided by the embodiments of the present application can be used for an infrared touch device. The infrared touch device can be a smart phone, a tablet computer, a laptop computer, a handheld computer, a vehicle-mounted terminal, a wearable device, and an interactive flat panel, etc. Among them, the interactive flat panel can be an integrated device that manipulates the content displayed on the interactive flat panel through infrared touch technology and realizes human-computer interaction operations, and it can integrate one or more functions such as a projector, an electronic whiteboard, a curtain, a speaker, a television, and a video conferencing terminal.
[0035] Figure 2Flowchart of a touch response method provided by an embodiment of the present application. The touch response method provided by the embodiment of the present application can be applied to an infrared touch device. The infrared touch device may have an infrared touch screen, which can not only display a picture but also sense a touch object. The infrared touch screen can be of various shapes. Here, the principle of the infrared touch screen sensing a touch object is exemplarily described by taking a rectangular infrared touch screen sensing a touch object. Specifically, the infrared touch screen may include a long-side transmitting edge, a long-side receiving edge, a short-side transmitting edge, and a short-side receiving edge. At least one transmitting lamp is provided on each transmitting edge, and corresponding receiving lamps are arranged on the corresponding receiving edges. The infrared touch screen can be scanned in a one-to-one or one-to-many manner. When scanned in a one-to-many manner, one transmitting lamp emits light, and multiple receiving lamps opposite receive the light simultaneously, thereby forming an optical path network. The touch behavior is judged according to the different forms of the optical path network in the case of touch and non-touch.
[0036] For example, in the 1-to-n (n≥1) scanning mode, one transmitting lamp may have n optical paths, and there are n angles in the n optical paths. Each angle can be called a scanning direction. Thus, in the 1-to-n scanning mode, there are n scanning directions. Each scanning direction is composed of a group of parallel optical paths with the same slope, and one scanning direction corresponds to a group of parallel scanning optical paths.
[0037] When a touch object performs a touch operation on the infrared touch screen, the touch object will block multiple optical paths. The receiving lamp end of the blocked optical path will show attenuation of the received signal. Therefore, it is possible to judge whether the corresponding optical path is blocked by judging the received signal strength of each receiving lamp. When the touch object touches the infrared touch screen, scanning in multiple scanning directions can determine the area where the touch object blocks the optical path, that is, the touch area. And the shape, size, and position of the touch area can be obtained.
[0038] Embodiment 1
[0039] Reference Figure 2 , the touch response method provided by the embodiment of the present application may include the following steps:
[0040] S101. Identify the operation information of the touch object on the current interface of the touch-controlled infrared touch device;
[0041] Specifically, the operation information of the touch object can be determined by the touch area formed when the touch object blocks the optical path network of the infrared touch device. The operation information of the touch object may include the contour information of the touch area and the behavior information that occurs in the touch area. Among them, the contour information of the touch area may include at least one of the shape, size, and position of the touch area. Moreover, the contour information of the current touch area can be determined by the infrared touch device performing scans in multiple scan directions at the current moment. There can be various types of behavior information that occurs in the touch area, such as long-press behavior information, click behavior information, swipe behavior information, and rotation behavior information, etc. Moreover, the behavior information that occurs in the touch area can be determined by the changes that occur in the contour information of the touch area within a preset time period.
[0042] The current interface can be the interface being displayed on the infrared touch screen of the infrared touch device. Exemplarily, the current interface can be the main interface that is first presented after the infrared touch device is powered on (as Figure 3 shown). Another exemplarily, the current interface can be the interface triggered by the user pressing the mechanical button on the infrared touch device.
[0043] Yet another exemplarily, the current interface can be the interface entered by the user touching the icon or logo on the main interface. For example, the current interface can be: after the user clicks the "Applications" icon on the main interface as Figure 3 shown, the interface that displays all applications; again, for example, the current interface can be: after the user clicks the "Settings" icon on the main interface as Figure 3 shown, the secondary interface that displays various settings of the infrared touch device; again, for example, the current interface can be: after the user clicks the "Meeting" icon on the main interface as Figure 3 shown, the meeting application secondary interface.
[0044] Still another exemplarily, the current interface can also be the next-level interface entered by the user touching the icon or logo on the secondary interface; the current interface can also be the next-next-level interface entered by the user touching the icon or logo on the next-level interface; the current interface can also be the next-next-next-level interface entered by the user touching the icon or logo on the next-next-level interface;... In this way, all the subsequent interfaces in sequence can be the current interface. For example, the current interface can be: after the user clicks the icon of a certain application in the first interface that displays all applications, the application interface entered; again, for example, the current interface can be: after the user clicks a certain logo on the application interface in the application interface, the next-level interface entered; again, for example, the current interface can be: after the user clicks a certain logo on the next-level interface in the next-level interface, the next-level interface of the next-level interface entered.
[0045] S102. Determine whether the operation information of the touch object conforms to the preset operation information;
[0046] Specifically, the operation information may include the contour information of the touch area and the behavior information that occurs in the touch area. The preset operation information may include preset contour information and preset behavior information. Step S102 may include:
[0047] S1021. Determine whether the contour information of the touch area conforms to the preset contour information; S1022. Determine whether the behavior information that occurs in the touch area conforms to the preset behavior information; S1023. When the contour information of the touch area conforms to the preset contour information and the behavior information that occurs in the touch area conforms to the preset behavior information, determine that the operation information of the touch object conforms to the preset operation information; when the contour information of the touch area does not conform to the preset contour information, and / or, the behavior information that occurs in the touch area does not conform to the preset behavior information, determine that the operation information of the touch object does not conform to the preset operation information.
[0048] Specifically, the contour information of the touch area may include at least one of the shape of the touch area, the contour size of the touch area, and the position of the touch area. The preset behavior information may correspondingly include at least one of a preset shape, a preset size, and a preset position. Determining whether the contour information of the touch area conforms to the preset contour information in step 1021 may include determining whether the contour shape of the touch area conforms to the preset shape, determining whether the contour size of the touch area conforms to the preset size, and determining whether the contour position of the touch area conforms to the preset position.
[0049] It should be noted that for a touch control device, the most common touch object is the tip of a stylus or the fingertip of a finger. The tip of a stylus or the fingertip of a finger is often assigned relatively conventional operations in the touch control settings of a touch control device, such as painting, writing, selecting a command, etc. To avoid conflicts, in the touch response method provided by the embodiments of the present application, the touch object avoids selecting the tip of a stylus and the fingertip of a finger. That is to say, in step 1021 of determining whether the contour information of the touch area conforms to the preset contour information, the situations where the touch object is the tip of a touch pen and the fingertip of a finger should be filtered out. In other words, if the recognized contour information of the touch area conforms to the contour information of the touch area formed by the tip of a touch pen and the fingertip of a finger, it is determined that the contour information of the touch area does not conform to the preset contour information.
[0050] The shape of the touch area formed by the tip of the stylus is generally circular or oval, and the radial length of the circle or oval is generally about 10 mm; the shape of the touch area formed by the fingertip of the finger is generally approximately oval, and the radial length of the oval is generally about 1 - 3 cm. In view of this, in order to avoid responding to the operations of the tip of the stylus and the fingertip of the finger, the preset shape can be set to non-circular and non-oval shapes such as triangles, quadrilaterals, trapezoids, pentagons, etc.; or, the preset size can be set to be greater than the preset length. The value of the preset length can be taken as a value greater than or equal to 3 cm.
[0051] Exemplarily, the preset contour information includes: the preset shapes are triangle and quadrilateral, and the preset size is that the width is greater than 5 cm; when the tip of the stylus is used as a touch object for touching, if the recognized contour shape of the touch area is circular and the circle does not conform to the preset shape, it is determined that the contour information of the touch area does not conform to the preset contour information, and the operation information of the touch area does not conform to the preset operation information.
[0052] Another exemplarily, the preset contour information includes: the preset shapes are circle, triangle and quadrilateral, and the preset size is that the width is greater than 5 cm; when the tip of the stylus is used as a touch object for touching, if the recognized contour shape of the touch area is circular and the circle conforms to the preset shape, but the diameter of the circle is less than the preset length, it is determined that the contour information of the touch area does not conform to the preset contour information, and the operation information of the touch area does not conform to the preset operation information.
[0053] The preset behavior information may include at least one of long-press behavior information, click behavior information, swipe behavior information, and rotation behavior information.
[0054] The long - press behavior information, rotation behavior information, and sliding behavior information are all behavior information where the touch object remains in contact with the infrared touch screen throughout the first preset time. That is to say, if any of the long - press behavior, rotation behavior, and sliding behavior occurs to the touch object within the first preset time, the optical path network emitted by the infrared touch screen will always be blocked by the touch object, and the device will always recognize the touch area. In the case of short - press behavior information, the contact time between the touch object and the infrared touch screen is less than the first preset time. That is to say, if a short - press behavior occurs to the touch object within the first preset time, the time during which the optical path network emitted by the infrared touch screen is blocked by the touch object is less than the first preset time, and the time during which the device recognizes the existence of the touch area is less than the first preset time. Thus, based on the first preset time and the existence time of the recognized touch area, it can be determined whether the behavior information occurring in the touch area is short - press behavior information or long - press behavior information. Optionally, the first preset time can be selected from 2s - 4s. Additionally, the number of occurrences of short - press behavior information can also be used as the behavior information occurring in different touch areas. For example, two short - press behavior information can be used as a kind of behavior information occurring in a touch area; three short - press behavior information can be used as another kind of behavior information occurring in a touch area;... The number of occurrences of short - press behavior information can be determined by the number of times the touch area is recognized within the second preset time. Optionally, the second preset time can be selected from 2s - 5s.
[0055] In addition, the rotation behavior information can represent the behavior of the touch object rotating and touching around the rotation axis. Among them, the rotation axis can be the axis of the touch object itself, or the rotation axis can be a line parallel to the touch surface of the screen. The sliding behavior information can represent the behavior of the touch object sliding on the screen along a direction parallel to the touch surface of the screen.
[0056] Based on the change in the contour shape, contour size, and contour position of the touch object recognized within the first preset time, it can be determined whether the touch object rotates relative to the touch screen within the first preset time, that is, whether the behavior information occurring in the touch area is rotation behavior information. If the contour position of the touch object recognized within the first preset time remains almost unchanged, but the contour shape and / or contour size of the touch area change, it can be determined that the behavior information occurring in the touch area within the first preset time is rotation behavior information. It should be noted that since the contour shape and contour size of the recognized touch area do not change when a spherical touch object or a cylindrical touch object rotates around its own axis. However, when a spherical touch object or a cylindrical touch object rotates around an axis parallel to the screen axis (such as Figure 4 , Figure 5 and Figure 6 ), the contour shape and contour size of the recognized touch area will change.
[0057] Optionally, the occurrence of the rotation behavior of the touch object can generate multiple rotation angles (such as 90 degrees, ±45 degrees, ±30 degrees, ±60 degrees, etc.). The multiple rotation angles can also be used as the behavior information occurring in different touch areas. For example, the rotation 90-degree behavior information can be used as the behavior information occurring in a touch area; the rotation 180-degree behavior information can be used as the behavior information occurring in another touch area;... The rotation angle can be judged according to the change in the contour shape, the change in the contour size, and the change in the contour position of the touch object recognized within the first preset time. For example, when a cylindrical touch object touches the touch screen vertically as shown in Figure 4 , the contour shape of the recognized touch area is circular, and the rotation angle is 90 degrees; when the cylindrical touch object rotates to touch the touch screen at a 45-degree right tilt as shown in Figure 5 , the contour shape of the recognized touch area is an ellipse biased to the right, and the rotation angle is +45 degrees; when the cylindrical touch object rotates to touch the touch screen at a 45-degree left tilt as shown in Figure 6 , the recognized contour shape is an ellipse biased to the left, and the rotation angle is -45 degrees.
[0058] In addition, according to the change in the contour shape, the change in the contour size, and the change in the contour position of the touch area recognized within the first preset time, it can be judged whether the touch object slides relative to the touch screen within the first preset time, that is, whether the behavior information occurring in the touch area is sliding behavior information. Optionally, the sliding behavior information will generate multiple sliding behavior information (such as linear, polyline, spiral, arc, letter, number, text, symbol, etc.). The multiple sliding behavior information can also be used as the behavior information occurring in different touch areas. For example, the linear sliding behavior information can be used as the behavior information occurring in a touch area; the polyline sliding behavior information can be used as the behavior information occurring in another touch area; the spiral sliding behavior information can be used as the behavior information occurring in another touch area;...
[0059] If the touch object slides linearly relative to the infrared touch screen, the contour shape and contour size of the recognized touch area remain unchanged within the first preset time, but the contour position of the touch object changes, then it can be determined that the behavior information occurring in the touch area is linear sliding behavior information; if the touch object slides in a turn relative to the infrared touch screen, the contour shape and contour size of the touch area will change at the turn.
[0060] Optionally, when the preset behavior information includes long - press behavior information, click behavior information, swipe behavior information, and rotation behavior information, that is, when the preset behavior information includes four types of behavior information, the process of determining whether the behavior information that occurs in the touch area conforms to the preset behavior information in step 1022 can be as follows: Determine whether the behavior information that occurs in the touch area is one of the swipe behavior information and the rotation behavior information; when the behavior information that occurs in the touch area is not one of the swipe behavior information and the rotation behavior information, determine whether the behavior information that occurs in the touch area is long - press behavior information; when the behavior information that occurs in the touch area is not long - press behavior information, determine whether the behavior information that occurs in the touch area is click behavior information.
[0061] If the preset behavior information includes long - press behavior information and click behavior information, then the process of determining whether the behavior information that occurs in the touch area conforms to the preset behavior information in step 1022 can be as follows: Determine whether the behavior information that occurs in the touch area is long - press behavior information; when the behavior information that occurs in the touch area is not long - press behavior information, determine whether the behavior information that occurs in the touch area is click behavior information.
[0062] If the preset behavior information includes swipe behavior information and long - press behavior information, then the process of determining whether the behavior information that occurs in the touch area conforms to the preset behavior information in step 1022 can be as follows: Determine whether the behavior information that occurs in the touch area is swipe behavior information; when the behavior information that occurs in the touch area is not swipe behavior information, determine whether the behavior information that occurs in the touch area is long - press behavior information.
[0063] If the preset behavior information includes swipe behavior information and rotation behavior information, then the process of determining whether the behavior information that occurs in the touch area conforms to the preset behavior information in step 1022 can be as follows: Determine whether the behavior information that occurs in the touch area is swipe behavior information; when the behavior information that occurs in the touch area is not swipe behavior information, determine whether the behavior information that occurs in the touch area is rotation behavior information. Or, first determine whether it is rotation behavior information, and then determine whether it is swipe behavior information.
[0064] In summary, the combined judgment of the contour information of the touch area and the behavior information that occurs in the touch area can improve the diversity and restrictiveness of the judgment, can increase more quick responses, and can also avoid accidental touches.
[0065] S103. When the operation information of the touch object conforms to the preset operation information, obtain the touch relationship and obtain the response path corresponding to the operation information of the touch object according to the touch relationship, and execute the response path corresponding to the operation information of the touch object. S104. When the operation information of the touch object does not conform to the preset operation information, execute the conventional touch response.
[0066] Among them, the response path corresponding to the operation information of the touch object can be one of the types of switching system settings, opening a preset application, opening an application sub - bar, and displaying a multi - selection window. The touch relationship can be used to represent the corresponding relationship between the operation information and the response path. Users can set, change, etc. the touch relationship according to their own preferences and needs. There can be a one - to - one correspondence between multiple different operation information and multiple different response paths in the touch relationship. The multiple different response paths in the touch relationship can be of the same type or different types. That is to say, the multiple different response paths in the touch relationship can be one of the types of switching system settings, opening a preset application, and displaying a multi - selection window; or, the multiple different response paths in the touch relationship can be at least two of the types of switching system settings, opening a preset application, and displaying a multi - selection window.
[0067] In the type of switching system settings, the system settings can include screen settings of the interface, audio settings, operating system settings, account settings, etc. Among them, the screen settings of the interface can include settings related to screen processing such as the background, icons, layout, fonts, picture quality, etc. of the interface. The audio settings can include settings related to audio processing such as muting, tuning, ringtones, sound effects, etc. The operating system settings can include conversion settings between systems such as Windows system, Android system, HarmonyOS, etc. The account settings can include conversion settings between accounts such as Account 1, Account 2, etc.
[0068] For example, when it is recognized that the contour shape of the touch area is circular, the contour size is 5 cm, and the behavior information that occurs in the touch area is long - press behavior information, and the corresponding response path found according to the touch relationship is to switch to the Windows system, then the system of the infrared touch device is switched to the Windows system; when it is recognized that the contour shape of the touch area is triangular, and the corresponding response path found according to the touch relationship is to switch to the Android system, then the system of the infrared touch device is switched to the Android system.
[0069] Another example is that when it is recognized that the contour shape of the touch area is pentagonal and the behavior information that occurs in the touch area is double - tap behavior information, and the corresponding response path found according to the touch relationship is to switch to Account 1, then the infrared touch device is presented according to the settings of Account 1. Among them, the interface background color of Account 1 can be blue, the color of the text can be orange, the brightness is relatively bright, the icons in the interface are arranged at the bottom, and the Windows system is used, etc.
[0070] For another example, when the recognized contour shape of the touch area is a pentagon and the behavior information of the touch area is triple tap behavior information, and the corresponding response path is found to be switching to Account 2 according to the touch control relationship, the infrared touch device will be presented according to the settings of Account 2. Among them, the interface background color of Account 2 can be gray, the font color is black, the brightness is relatively bright, the icons in the interface are centered and arranged in a circular layout, and the Android system is used, etc.
[0071] For another example, there are two touch objects in the shape of cuboids, one large and one small, and the touch area of the small cuboid touch object is smaller than that of the large cuboid touch object. When the recognized contour shape of the touch object is a quadrilateral and the area of the quadrilateral is large, and the behavior information of the touch area is swipe behavior information, and the corresponding response path is found to be the mute mode according to the touch control relationship, the infrared touch device will be set to the mute mode; when the recognized contour shape of the touch object is a quadrilateral and the area of the quadrilateral is large, and the behavior information of the touch area is swipe behavior information, and the corresponding response path is found to be the maximum volume mode according to the touch control relationship, the infrared touch device will be set to the maximum output volume.
[0072] In summary, through the above method, on the current interface, the user uses the touch object to perform specific touch operations on the infrared touch screen, and the device can respond to the touch operations and switch the corresponding system settings, avoiding the user having to enter the settings interface first and then change one or more settings as in the related art. In this way, the touch response method provided by the embodiments of the present application can provide more convenient services for users. In one application scenario, the touch response method provided by the embodiments of the present application can be applied to interactive large screens in teaching or conference scenarios. Different teachers or different speakers can set their own usage styles in the interactive large screen in advance and set them as Account 1, Account 2,.... The corresponding teacher (or speaker) can, before class (or speech), perform corresponding operations through the corresponding touch object to change the interactive large screen to an account suitable for their own style.
[0073] When opening a preset application, the preset application can be an application that the infrared touch device has; or, the preset application can be a certain file opened by using the preset application. For example, when the recognized contour shape of the touch area is a triangle, the contour position of the touch area is up, and the behavior information of the touch area is long press behavior information, and the corresponding response path is found to be opening the whiteboard application according to the touch control relationship, the whiteboard application will be opened; when the recognized contour shape of the touch area is a triangle, the contour position of the touch area is down, and the behavior information of the touch area is long press behavior information, and the corresponding response path is found to be opening the chat application according to the touch control relationship, the chat application will be opened.
[0074] For another example, when the recognized contour shape of the touch area is a pentagon and the behavior information that occurs in the touch area is linear sliding behavior information, the corresponding response path found according to the touch control relationship is to open the PPT named XX1 in the folder, so the PPT named XX1 is opened; when the recognized contour shape of the touch area is a pentagon and the behavior information that occurs in the touch area is polyline sliding behavior information, the corresponding response path found according to the touch control relationship is the text document named XX2 in the folder, so the text document named XX2 is opened using the word application.
[0075] In summary, through the above method, on the current interface, the user uses a touch object to perform specific touch operations on the infrared touch screen, and the device can respond to the touch operations and open the corresponding application, avoiding the user from exiting the current application first and then searching for and clicking on the target application or target file as in the related art.
[0076] In one application scenario, the touch response method provided by the embodiments of the present application can be applied to an interactive large screen in teaching or conference scenarios. For example, if an operator wants to switch from a PPT file to a whiteboard application (or other files), corresponding operations can be performed through a corresponding touch object to quickly find the whiteboard application.
[0077] In the application sub-identifier for opening, the application sub-identifier represents the sub-identifier included in the application. For example, the theme sub-identifier, background sub-identifier, paragraph sub-identifier, highlight sub-identifier... in the Word application; for another example, the quick access link sub-identifier, theme setting sub-identifier, etc. in the browser application; for another example, in the conference application, the mute sub-identifier, screen switching sub-identifier, etc.
[0078] For example, when recognizing the operation information of the touch object on the application interface of the touch control Word, the contour shape of the touch area is a triangle and the behavior information that occurs in the touch area is sliding behavior information. The corresponding response path found according to the touch control relationship is: set the line spacing of the paragraph selected by sliding the touch object to A and the front and back paragraph spacing to B. Then, set the line spacing of the paragraph selected by sliding the touch object in the application interface to A and the front and back paragraph spacing to B; for another example, when recognizing the operation information of the touch object on the application interface of the touch control browser, the contour shape of the touch area is a triangle and the behavior information that occurs in the touch area is long-press behavior information. The corresponding response path found according to the touch control relationship is: quickly enter link C. Then, quickly open link C in the browser interface.
[0079] It can be understood that the more contour information and behavior information of the touch area set by the user, the more inconvenient it is for the user to remember. Based on this, in the touch response method provided by the embodiments of the present application, the difficulty of user memory and selection can be reduced by setting a display multiple-selection window as a primary response path.
[0080] Specifically, in the multi-selection window display class, the multi-selection window is the primary response path, and the multi-selection window can have multiple secondary response paths distributed in different regions. The user can select the secondary response paths in the multi-selection window through behaviors such as tapping, long-pressing, rotating, and swiping.
[0081] For example, when it is recognized that the contour shape of the touch area is a triangle and the behavior information that occurs in the touch area is a 90-degree rotation behavior information, the corresponding response path obtained according to the touch control relationship is to display a primary response path of the multi-selection window as shown in Figure 7 Then, in the interface of the touch screen, a primary response path of the multi-selection window as shown in Figure 7 is displayed. This multi-selection window has three secondary quick commands: Application 1, Application 2, and Application 3. When it is recognized that a touch object (the touch object here can be the touch object that triggered the quick command of the multi-selection window in the previous step, and the touch object here can also be other touch objects) selects the area where Application 1 is located, the secondary response path of Application 1 is activated.
[0082] Another example is that when it is recognized that the contour shape of the touch area is a triangle and the behavior information that occurs in the touch area is a 180-degree rotation behavior information, the corresponding response path obtained according to the touch control relationship is to display a primary response path of the multi-selection window as shown in Figure 8 Then, in the interface of the touch screen, a primary response path of the multi-selection window as shown in Figure 8 is displayed. This multi-selection window has three secondary quick commands: Account 1, Account 2, and Account 3. When it is recognized that there is a long-press behavior information of a touch object in the area where Account 3 is located, the secondary response path of Account 3 is activated.
[0083] In summary, through the above method, on the current interface, the user uses a touch object to perform specific touch operations on the infrared touch screen, and the device can respond to the touch operations and display a multi-selection window. The user can select and open a certain secondary response path in the multi-selection window, avoiding the situation where the user, as in the related technology, first exits the current application and then searches for and clicks on the target application or target file.
[0084] In one application scenario, the touch response method provided by the embodiments of the present application can be applied to an interactive large screen in the teaching or conference category. The operator can pre-set all the files used in this teaching (or speech) in the multi-selection window in advance. If the operator wants to switch from one file to another file, corresponding operations can be performed through the corresponding touch object to quickly find the other file.
[0085] In summary, the touch response method provided by the embodiments of the present application can not only keep the interface clean, but also increase the diversity of quick responses, and prevent the occurrence of setting conflicts or accidental touches, which is convenient for users to use.
[0086] It should be noted that the above-mentioned various examples are only for illustration and are not specifically limited.
[0087] Optionally, before identifying the operation information of the touch object of the touch infrared device, the touch response method provided by the embodiments of the present application may further include responding to the shape recognition instruction input by the user to trigger the behavior recognition mode, that is, triggering steps S101, S102, and S103. In this way, the user can select according to needs to avoid accidental touches.
[0088] Specifically, an entity button or a virtual button for shape recognition can be set on the infrared touch device. When the user turns on the shape recognition button, the above-mentioned steps S101, S102, and S103 will be executed. When the user turns off the shape recognition button, steps S101, S102, and S103 will not be executed. In this way, accidental touches by the user during normal use can be avoided. That is to say, during normal use, the shape recognition button is turned off, the shape recognition instruction is in the off state, the response paths included in the touch relationship will not be displayed on the interface of the touch screen, and any operation information included in the touch relationship will not trigger the response path. When there is a need for one or several response paths included in the touch relationship, the shape recognition button is turned on, the shape recognition instruction is in the on state, and the user can operate the touch object to touch the touch screen with specific operation information according to the needs. After the touch screen recognizes the specific operation information, according to the touch relationship, the response path corresponding to the specific operation information is obtained, and the response path corresponding to the specific operation information is executed.
[0089] The embodiments of the present application also provide a touch response device 200. Refer to Figure 9, the touch response device 200 may include a first recognition module 210, a first judgment module 220, and a first processing module 230. Among them, the first recognition module 210 may be used to recognize the operation information of the touch object on the current interface of the touch infrared touch device. The operation information of the touch object may be determined by the touch area formed by the touch object blocking the optical path network of the infrared touch device. The first judgment module 220 may be used to judge whether the operation information of the touch object conforms to the preset operation information. The first processing module 230 may be used to obtain the touch relationship and obtain the response path corresponding to the operation information of the touch object according to the touch relationship, and execute the response path corresponding to the operation information of the touch object when the operation information of the touch object conforms to the preset operation information. The touch relationship may be used to characterize the corresponding relationship between the operation information and the response path, and the response path corresponding to the operation information of the touch object may be one of the types of switching system settings, opening a preset application, and displaying a multi-selection window.
[0090] Optionally, the operation information includes the contour information of the touch area and the behavior information that occurs in the touch area; the first judgment module 220 is used to judge whether the operation information of the touch object conforms to the preset operation information may include: the first judgment module 220 judges whether the contour information of the touch area conforms to the preset contour information; the first judgment module 220 judges whether the behavior information that occurs in the touch area conforms to the preset behavior information; the first judgment module 220 determines that the operation information of the touch object conforms to the preset operation information when the contour information of the touch area conforms to the preset contour information and the behavior information that occurs in the touch area conforms to the preset behavior information; when the contour information of the touch area does not conform to the preset contour information, and / or, the behavior information that occurs in the touch area does not conform to the preset behavior information, it is determined that the operation information of the touch object does not conform to the preset operation information.
[0091] Optionally, the first judgment module 220 judges whether the contour information of the touch area conforms to the preset contour information may include: the first judgment module 220 judges whether the contour shape of the touch area conforms to the preset shape, the first judgment module 220 judges whether the contour size of the touch area conforms to the preset size, and the first judgment module 220 judges whether the contour position of the touch area conforms to the preset position at least one of them.
[0092] Optionally, the first judgment module 220 judges whether the behavior information that occurs in the touch area conforms to the preset behavior information may include: the first judgment module 220 judges whether the behavior information that occurs in the touch area is one of the sliding behavior information and the rotation behavior information; the first judgment module 220 judges whether the behavior information that occurs in the touch area is the long-press behavior information when the behavior information that occurs in the touch area is not one of the sliding behavior information and the rotation behavior information; the first judgment module 220 judges whether the behavior information that occurs in the touch area is the click behavior information when the behavior information that occurs in the touch area is not the long-press behavior information.
[0093] Optionally, before the first recognition module 210 recognizes the operation information of the touch object on the current interface of the touch infrared touch device, it can also respond to the shape recognition instruction input by the user to trigger the behavior recognition mode.
[0094] Embodiment 2
[0095] Figure 10 The flowchart of another touch response method provided by the embodiments of the present application. The touch response method provided by the embodiments of the present application can be applied to an infrared touch device. Refer to Figure 10 , the touch response method provided by the embodiments of the present application may include:
[0096] S301. When the current application is an application capable of drawing graphics, recognize the operation information of the touch object on the current application interface of the touch infrared touch device;
[0097] Among them, the application capable of drawing graphics can be an application that can directly draw graphics, such as a whiteboard application, Visio, etc.; or, the application capable of drawing graphics can be an application that can draw graphics by triggering the drawing identifier of the application, such as a PDF, PPT editor / viewer, etc.
[0098] The operation information of the touch object can be determined by the touch area formed by the touch object blocking the optical path network of the touch infrared touch device. The operation information of the touch object may include the contour information of the touch area. Among them, the contour information of the touch area may include at least one of the shape, size, and position of the touch area. And, the contour information of the current touch area can be determined by the touch infrared touch device performing multiple scan directions at the current moment.
[0099] S302. Determine whether the operation information of the touch object conforms to the preset operation information;
[0100] Specifically, the operation information may include the contour information of the touch area. The preset operation information may include the preset contour information. Step S302 may include:
[0101] S3021. Determine whether the contour information of the touch area conforms to the preset contour information; S3022. When the contour information of the touch area conforms to the preset contour information, determine that the operation information of the touch object conforms to the preset operation information; S3023. When the contour information of the touch area does not conform to the preset contour information, determine that the operation information of the touch object does not conform to the preset operation information.
[0102] Specifically, the contour information of the touch area may include at least one of the contour shape of the touch area, the contour size of the touch area, and the position of the touch area. Determining whether the contour information of the touch area conforms to the preset contour information in step 3021 may include: determining whether the contour shape of the touch area conforms to the preset shape, determining whether the contour size of the touch area conforms to the preset size, and determining whether the contour position of the touch area conforms to the preset position, at least one of them.
[0103] It should be noted that for a touch control device, the most common touch objects are the tip of a stylus or the fingertip of a finger. The tip of a stylus or the fingertip of a finger is often assigned relatively conventional operations in the touch control settings of a touch control device, such as painting, writing, selecting commands, etc. To avoid conflicts, in the touch control response method provided by the embodiments of the present application, the touch object avoids selecting the tip of a stylus and the fingertip of a finger. That is to say, in step 3021 of determining whether the contour information of the touch area conforms to the preset contour information, the situations where the touch object is the tip of a touch pen and the fingertip of a finger should be filtered out. In other words, if the recognized contour information of the touch area conforms to the contour information of the touch area formed by the tip of a touch pen and the fingertip of a finger, it is determined that the contour information of the touch area does not conform to the preset contour information.
[0104] The shape of the touch area formed by the tip of a stylus is generally circular or oval, and the radial length of the circle or oval is generally about 30 mm; the shape of the touch area formed by the fingertip of a finger is generally approximately oval, and the radial length of the oval is generally about 1 - 3 cm. In view of this, in order to avoid responding to the operations of the tip of a stylus and the fingertip of a finger, the preset shape can be set to non-circular and non-oval shapes such as triangles, quadrilaterals, trapezoids, pentagons, etc.; or, the preset size can be set to be greater than the preset length. The value of the preset length can be taken as a value greater than or equal to 3 cm.
[0105] Exemplarily, the preset contour information includes: the preset shapes are triangle and quadrilateral, and the preset size is that the width is greater than 5 cm; when the tip of a stylus is used as the touch object for touch control, if the recognized contour shape of the touch area is circular and the circle does not conform to the preset shape, it is determined that the contour information of the touch area does not conform to the preset contour information, and the operation information of the touch area does not conform to the preset operation information.
[0106] Another exemplarily, the preset contour information includes: the preset shapes are circle, triangle, and quadrilateral, and the preset size is that the width is greater than 5 cm; when the tip of a stylus is used as the touch object for touch control, if the recognized contour shape of the touch area is circular and the circle conforms to the preset shape, but the diameter of the circle is less than the preset length, it is determined that the contour information of the touch area does not conform to the preset contour information, and the operation information of the touch area does not conform to the preset operation information.
[0107] S303. When the operation information of the touch object conforms to the preset operation information, obtain the touch relationship, obtain the drawing effect corresponding to the operation information of the touch object according to the touch relationship, and draw the drawing effect corresponding to the operation information of the touch object in the current application. S304. When the operation information of the touch object does not conform to the preset operation information, perform a conventional touch response.
[0108] Among them, the touch relationship represents the corresponding relationship between the operation information and the drawing effect. The drawing effect corresponding to the operation information of the touch object can be a graphic effect type and a brush effect type. Among them, the graphic effect means that the operation information corresponds to an image. For example, in the current application that can draw graphics, when it is recognized that the contour shape of the touch area is a circle and the diameter of the circle is 8 cm, the corresponding drawing effect found according to the touch relationship is: draw a circle with a diameter of 8 cm, and then draw a circle with a diameter of 8 cm on the current application interface that can draw graphics; another example, in the current application interface for drawing patterns, when it is recognized that the contour shape of the touch area is a triangle, the corresponding drawing effect found according to the touch relationship is: draw a like graphic, and then draw a like graphic on the current application interface that can draw graphics.
[0109] In the brush effect type, the brush effect means that based on a certain image as the basic graphic, when the touch object moves, the basic graphic moves with the movement of the touch object to form a trajectory. For example, in the current application interface that can draw patterns, when it is recognized that the contour shape of the touch area is a triangle, the corresponding drawing effect found according to the touch relationship is: using the triangle as the basic graphic, and draw the trajectory formed by the movement of the triangle with the touch area. Then, detect the behavior information that occurs in the touch area, and draw the trajectory formed by the movement of the triangle with the touch area on the current application interface that can draw graphics. Among them, if the detected behavior information of the touch area is sliding behavior information, then in the current application interface that can draw patterns, draw the trajectory formed by the sliding of the triangle with the touch area. If the detected behavior information of the touch area is rotational behavior information, then in the current application interface that can draw patterns, draw the trajectory formed by the rotation of the triangle with the touch area. The detection of the occurring behavior information can be obtained by detecting the shape, size, and position of the touch area during the movement time of the touch object, which will not be elaborated here.
[0110] For another example, in the current application interface capable of drawing patterns, when the contour shape of the touched area is recognized as a pentagon, the corresponding drawing effect found according to the touch relationship is: taking the pentagon as the basic figure and drawing the trajectory formed by the movement of the pentagram along with the touched area. Then, detect the behavior information occurring in the touched area, and in the current application interface capable of drawing patterns, draw the trajectory formed by the movement of the pentagon along with the touched area. Among them, if the behavior information detected in the touched area is sliding behavior information, then in the application interface capable of drawing patterns, draw the trajectory formed by the sliding of the pentagon along with the touched area. If the behavior information detected in the touched area is rotational behavior information, then in the application interface capable of drawing patterns, draw the trajectory formed by the rotation of the pentagon along with the touched area.
[0111] Through the above method, on the current interface, the user uses a touch object to perform specific touch operations on the infrared touch screen, and the device can respond to the touch operations and draw specific graphics, avoiding the user searching for and inserting graphics as in the related art. In this way, the touch response method provided by the embodiments of the present application can provide more convenient services for user use. In one application scenario, the touch response method provided by the embodiments of the present application can be applied to an interactive large screen in teaching or conference scenarios. If it is necessary to highlight a certain content, or to praise a certain person, or to emboss an artistic signature, or to input a famous quote, or to insert a cartoon picture, or to insert a scene, or to insert a ruler, etc., corresponding graphics can be obtained in the application interface capable of drawing graphics through specific touch operations of the touch object.
[0112] It should be noted that the operation information in the touch response method provided by the embodiments of the present application may also include the behavior information occurring in the touched area, or the contour information and behavior information of the touched area may be combined as the operation information, but it has limitations in use in drawing applications.
[0113] Optionally, before recognizing the operation information of the touch object of the touch infrared device, the touch response method provided by the embodiments of the present application may further include responding to a shape recognition instruction input by the user to trigger a behavior recognition mode, that is, trigger steps S301, S302, and S303.
[0114] Specifically, physical buttons or virtual buttons for shape recognition can be set on the infrared touch device. When the user activates the shape recognition button, steps S301, S302, and S303 mentioned above will be executed. When the user deactivates the shape recognition button, steps S301, S302, and S303 will not be executed. In this way, accidental touch during normal use can be avoided. That is to say, during normal use, the shape recognition button is deactivated, the shape recognition instruction is in the off state, the graphics included in the touch relationship will not be displayed on the interface of the touch screen, and any operation information included in the touch relationship will not trigger the display of the graphics. When there is a need for one or several graphics included in the touch relationship, the shape recognition button is activated, the shape recognition instruction is in the on state, and the user can operate the touch object to touch the touch screen with specific operation information as required. After the touch screen recognizes the specific operation information, according to the touch relationship, the graphics corresponding to the specific operation information are obtained and displayed.
[0115] An embodiment of the present application further provides a touch response device 400. Referring to Figure 11 , the touch response device 400 may include a second recognition module 410, a second judgment module 420, and a second processing module 430. Among them, when the current application is an application capable of drawing graphics, the second recognition module 410 is used to recognize the operation information of the touch object on the current application interface of the touch infrared touch device. The operation information of the touch object can be determined by the touch area formed by the touch object blocking the optical path network of the infrared touch device. The second judgment module 420 is used to judge whether the operation information of the touch object conforms to the preset operation information. When the operation information of the touch object conforms to the preset operation information, the second processing module 430 is used to obtain the drawing effect corresponding to the operation information of the touch object according to the touch relationship and draw the drawing effect corresponding to the operation information of the touch object in the application capable of drawing graphics. The touch relationship is used to characterize the corresponding relationship between the operation information and the drawing effect.
[0116] Optionally, the operation information includes the contour information of the touch area and the behavior information that occurs in the touch area; the second judgment module 420 is used to judge whether the operation information of the touch object conforms to the preset operation information may include: the second judgment module 420 judges whether the contour information of the touch area conforms to the preset contour information, and is used to judge whether the operation information of the touch object conforms to the preset operation information when the contour information of the touch area conforms to the preset contour information. The second judgment module 420 is further used to judge that the operation information of the touch object does not conform to the preset operation information when the contour information of the touch area does not conform to the preset contour information.
[0117] Optionally, the second determination module 420 determines whether the contour information of the touch area conforms to the preset contour information, which may include: the second determination module 420 determines whether the contour shape of the touch area conforms to the preset shape, the second determination module 420 determines whether the contour size of the touch area conforms to the preset size, and the second determination module 420 determines whether the contour position of the touch area conforms to the preset position, at least one of which.
[0118] Optionally, before the second recognition module 410 recognizes the operation information of the touch object on the current interface of the touch infrared touch device, it may also respond to the shape recognition instruction input by the user to trigger the behavior recognition mode.
[0119] The embodiment of the present application also provides an infrared touch device 500. Refer to Figure 12 , the infrared touch device 500 may further include a memory 520 and a processor 510. Each component of the infrared touch device 500 may be connected to each other using different buses, and may be installed on a common main board or installed in other ways as needed. The processor 510 may process the instructions executed within the infrared touch device 500, including instructions for graphic information stored in the memory or on the memory to be displayed on an external input / output device (such as a receiving device coupled to the interface). In other embodiments, if necessary, multiple processors and / or multiple buses may be used together with multiple memories and multiple memories. Figure 12 In
[0120] The memory 520, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as the corresponding program instructions / modules in the touch response method of the embodiment of the present application (such as, Figure 9 the first recognition module 210, the first determination module 220, and the first processing module 230 shown; or, as Figure 11 shown, the second recognition module 410, the second determination module 420, and the second processing module 430). The processor 510 executes various functional applications and electronic processing methods by running the non-transitory software programs, instructions, and modules stored in the memory 520, that is, implements the touch response method mentioned above.
[0121] The embodiment of the present application also provides an infrared interaction system, which may include the above-mentioned infrared touch device 500 and a touch object. Optionally, for the recognition of the operation information of the touch object by the infrared touch device 500, the shape of the touch object may be a conventional shape such as a sphere, a triangle, or a cuboid.
[0122] The embodiments of the present application also provide a computer-readable storage medium. The embodiments of the present application also provide a computer storage medium. The computer storage medium can store multiple instructions, and the instructions are suitable for being loaded and executed by a processor to perform the method steps of the embodiments as described above Figure 2 as shown in the embodiments. For the specific execution process, reference can be made to the specific description of the embodiments Figure 2 as shown, and details are not described herein again; or, the instructions are suitable for being loaded and executed by a processor to perform the method steps of the embodiments as described above Figure 10 as shown in the embodiments. For the specific execution process, reference can be made to the specific description of the embodiments Figure 10 as shown, and details are not described herein again. The device where the storage medium is located can be an intelligent interactive flat panel.
[0123] The embodiments of the present application also provide a computer program product, including a computer program. When the computer program is executed by a processor, it is used to implement the touch response method mentioned above.
[0124] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can adopt the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0125] The present application is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram can be implemented by computer program instructions, and the combination of the processes and / or blocks in the flowchart and / or block diagram can also be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the specified functions in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.
[0126] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device implements the specified functions in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.
[0127] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process. Thus, the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 steps of the functions specified in one block or multiple blocks.
[0128] In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and memory.
[0129] The memory may include non-permanent memory in the computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
[0130] The computer-readable medium includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data.
[0131] Examples of the computer's storage medium include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tapes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible by a computing device. As defined herein, the computer-readable medium does not include transitory computer-readable media, such as modulated data signals and carrier waves.
[0132] It should also be noted that the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, commodity or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent in such process, method, commodity or device. Without further limitation, an element defined by the statement "comprising one..." does not exclude the existence of additional identical elements in the process, method, commodity or device comprising the element.
[0133] The above are only the embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.
[0134] Among them, terms such as "upper" and "lower" are used to describe the relative positional relationship of each structure in the drawings. They are only for the sake of clarity in narration and are not used to limit the scope of implementation of the present application. The change or adjustment of their relative relationship, without substantial change in the technical content, should also be regarded as the scope of implementation of the present application.
[0135] It should be noted that in the present application, unless otherwise clearly specified and limited, the first feature being "on" or "under" the second feature may be that the first and second features are in direct contact, or the first and second features are indirectly in contact through an intermediate medium. Moreover, the first feature being "above", "over" and "on top of" the second feature may be that the first feature is directly above or obliquely above the second feature, or simply means that the first feature has a higher horizontal height than the second feature. The first feature being "under", "beneath" and "underneath" the second feature may be that the first feature is directly below or obliquely below the second feature, or simply means that the first feature has a lower horizontal height than the second feature.
[0136] In addition, in the present application, unless otherwise clearly specified and limited, terms such as "installed", "connected", "connected to", "fixed" and other terms should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or integrated; it may be directly connected, or indirectly connected through an intermediate medium, and may be the internal communication of two components or the interaction relationship between two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to specific circumstances.
[0137] In the description of this specification, the description with reference to terms such as "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples.
[0138] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than limiting them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A touch response method for an infrared touch device, characterized in that The method includes: Identifying operation information of a touch object touching the current interface of the infrared touch device; the operation information of the touch object is determined by a touch area formed by the touch object blocking the optical path network of the infrared touch device; Judging whether the operation information of the touch object conforms to preset operation information; When the operation information of the touch object conforms to the preset operation information, obtaining a touch control relationship and obtaining a response path corresponding to the operation information of the touch object according to the touch control relationship, and executing the response path corresponding to the operation information of the touch object; The touch control relationship is used to represent the corresponding relationship between operation information and a response path; the response path corresponding to the operation information of the touch object is one of a system setting switching type, a preset application opening type, an application sub-identifier opening type, and a multi-selection window displaying type.
2. The method according to claim 1, wherein The operation information includes contour information of the touch area and behavior information occurring in the touch area; The judging whether the operation information of the touch object conforms to the preset operation information includes: Judging whether the contour information of the touch area conforms to preset contour information; Judging whether the behavior information occurring in the touch area conforms to preset behavior information; When the contour information of the touch area conforms to the preset contour information and the behavior information occurring in the touch area conforms to the preset behavior information, it is determined that the operation information of the touch object conforms to the preset operation information; when the contour information of the touch area does not conform to the preset contour information, and / or, the behavior information occurring in the touch area does not conform to the preset behavior information, it is determined that the operation information of the touch object does not conform to the preset operation information.
3. The method according to claim 2, wherein The judging whether the contour information of the touch area conforms to the preset contour information includes: Judging whether the contour shape of the touch area conforms to a preset shape, judging whether the contour size of the touch area conforms to a preset size, and judging whether the contour position of the touch area conforms to a preset position, at least one of which.
4. The method according to claim 2, characterized in that, The judging whether the behavior information occurring in the touch area conforms to the preset behavior information includes: Judging whether the behavior information occurring in the touch area is one of sliding behavior information and rotating behavior information; When the behavior information occurring in the touch area is not one of sliding behavior information and rotating behavior information, judging whether the behavior information occurring in the touch area is long-press behavior information; When the behavior information occurring in the touch area is not long-press behavior information, judging whether the behavior information occurring in the touch area is click behavior information.
5. The method according to any one of claims 1-4, characterized in that, Before the identifying operation information of the touch object touching the current interface of the infrared touch device, the method further includes: responding to a shape recognition instruction input by a user to trigger a behavior recognition mode.
6. A touch response method for an infrared touch device, characterized in that The method includes: When the current application is an application capable of drawing graphics, identifying operation information of a touch object touching the current application interface of the infrared touch device; the operation information of the touch object is determined by a touch area formed by the touch object blocking the optical path network of the infrared touch device; Judging whether the operation information of the touch object conforms to the preset operation information; When the operation information of the touch object conforms to the preset operation information, obtain the touch relationship, obtain the rendering effect corresponding to the operation information of the touch object according to the touch relationship, and render the rendering effect corresponding to the operation information of the touch object in the current application; the touch relationship is used to represent the corresponding relationship between the operation information and the rendering effect.
7. The method according to claim 6, characterized in that, The operation information includes the contour information of the touch area; the determination of whether the operation information of the touch object conforms to the preset operation information includes: Determine whether the contour information of the touch area conforms to the preset contour information; When the contour information of the touch area conforms to the preset contour information, determine that the operation information of the touch object conforms to the preset operation information; when the contour information of the touch area does not conform to the preset contour information, determine that the operation information of the touch object does not conform to the preset operation information.
8. The method according to claim 7, wherein The determination of whether the contour information of the touch area conforms to the preset contour information includes: Determine whether at least one of the following is true: whether the contour shape of the touch area conforms to the preset shape, whether the contour size of the touch area conforms to the preset size, and whether the contour position of the touch area conforms to the preset position.
9. The method according to claim 7 or 8, characterized in that, Before identifying the operation information of the touch object that touches the current interface of the infrared touch device, the method further includes: responding to a shape recognition instruction input by the user to trigger a behavior recognition mode.
10. A touch response device for an infrared touch device, characterized in that, The device includes: A first recognition module, configured to recognize the operation information of the touch object that touches the current interface of the infrared touch device; the operation information of the touch object is determined by the touch area formed by the touch object blocking the optical path network of the infrared touch device; A first judgment module, configured to judge whether the operation information of the touch object conforms to the preset operation information; A first processing module, configured to obtain a touch relationship and obtain a response path corresponding to the operation information of the touch object according to the touch relationship, and execute the response path corresponding to the operation information of the touch object when the operation information of the touch object conforms to the preset operation information; The touch relationship is used to represent the corresponding relationship between the operation information and the response path, and the response path corresponding to the operation information of the touch object is one of the following types: switching system settings, opening a preset application, opening an application sub-identifier, and displaying a multi-selection window.
11. A touch response device for an infrared touch device, characterized in that, The device includes: A second recognition module, when the current application is an application capable of drawing graphics, configured to recognize the operation information of the touch object that touches the current application interface of the infrared touch device; the operation information of the touch object is determined by the touch area formed by the touch object blocking the optical path network of the infrared touch device; A second judgment module, configured to judge whether the operation information of the touch object conforms to the preset operation information; A second processing module, configured to obtain a rendering effect corresponding to the operation information of the touch object according to the touch relationship, and render the rendering effect corresponding to the operation information of the touch object in the current application when the operation information of the touch object conforms to the preset operation information; the touch relationship is used to represent the corresponding relationship between the operation information and the rendering effect.
12. An infrared touch device, characterized in that, Including a memory and a processor; The memory stores a computer program, and the computer program is adapted to be loaded and executed by the processor to perform the touch response method according to any one of claims 1-9.
13. A computer-readable storage medium, characterized in that, Computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, they are used to implement the touch response method according to any one of claims 1-9.
14. A computer program product, characterized in that, It includes a computer program which, when executed by a processor, implements the touch response method according to any one of claims 1-9.