Screen touch control method and device, control equipment and touch control large-screen equipment
The distance data is obtained through the distance measuring sensor and the target touch point is determined, and the screen control without contact and handheld controller is realized, improving control convenience.
Patent Information
- Application Number
- CN202411865859.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2025-05-02
AI Technical Summary
Existing screen control methods require users to touch the screen or handheld controller, resulting in less control convenience.
Several ranging sensors obtain the distance data between the target object in the preset touch space and the ranging sensor, determine the target touch point in the screen, and control the screen according to this point.
Users can control the screen through hand or contact pen in the preset touch space to avoid the need to touch the screen and handheld controller, which improves the convenience of controlling the screen.
Smart Images

Figure CN119916933A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of screen technology, and in particular relates to a screen touch control method, device, control equipment and touch-controlled large-screen equipment. Background Art
[0002] At present, the touch control method of the screen is usually a contact touch control method, that is, the user needs to touch the screen with a finger or a stylus to control the screen. In addition, the user can also send a control command through a handheld controller to control the screen.
[0003] It can be seen that the above two screen control methods require the user to touch the screen or hold a controller to control the screen, and the convenience of controlling the screen is low. Summary of the invention
[0004] In view of this, the embodiments of the present application provide a screen touch method, device, control device and touch-screen large-screen device to solve the technical problem of low convenience in existing screen control.
[0005] In a first aspect, an embodiment of the present application provides a touch control method for a screen, comprising:
[0006] Using a plurality of distance measuring sensors, first distance data between a target object in a preset touch control space and each of the distance measuring sensors is respectively obtained;
[0007] Determine a target touch point on the screen according to each of the first distance data, wherein the relative position of the screen and the plurality of distance measuring sensors is fixed;
[0008] The screen is controlled according to the target touch point.
[0009] Optionally, each of the distance measuring sensors includes a Fresnel lens; and the method further includes:
[0010] The angle of the Fresnel lens of each of the distance measuring sensors is controlled to change the touch control space.
[0011] Optionally, determining the target touch point on the screen according to each of the first distance data includes:
[0012] Acquire a first correspondence between each of the first distance data and each of the touch points on the screen;
[0013] The target touch point is determined according to each of the first distance data and the first corresponding relationship.
[0014] Optionally, the first corresponding relationship is determined in the following manner:
[0015] According to a preset positioning accuracy, the screen is divided into a plurality of first areas, and the touch control space is divided into a plurality of touch control planes parallel to each other;
[0016] For each of the touch planes, the touch plane is divided into a plurality of second areas, and a second correspondence between each of the second areas and each of the first areas is determined; for each of the second areas of the touch plane, second distance data of the training object when the training object touches the second area is obtained through the plurality of distance measuring sensors;
[0017] The first corresponding relationship is determined according to the second distance data corresponding to each of the second areas on each of the touch planes and the second corresponding relationship.
[0018] Optionally, the shape of the touch plane is the same as that of the screen, the number of the first regions is the same as the number of the second regions, and the shape of the first regions is the same as the shape of the second regions.
[0019] Optionally, determining the first corresponding relationship according to the second distance data corresponding to each of the second areas on each of the touch planes and the second corresponding relationship includes:
[0020] For each second area on each touch plane, determine the first area corresponding to the second area according to the second correspondence, and determine a sub-correspondence of the second area according to the first area corresponding to the second area and the second distance data corresponding to the second area; each first area corresponds to one touch point;
[0021] The first corresponding relationship is determined according to the sub-corresponding relationships corresponding to the second areas on the touch planes.
[0022] Optionally, determining the sub-correspondence relationship of the second area according to the first area corresponding to the second area and the second distance data corresponding to the second area includes:
[0023] Determining an error range according to the distances between the touch planes;
[0024] Determine a distance data range corresponding to the second area according to the second distance data corresponding to the second area and the error range;
[0025] The sub-correspondence relationship of the second area is determined according to the first area corresponding to the second area and the distance data range corresponding to the second area.
[0026] In a second aspect, an embodiment of the present application provides a touch control device for a screen, comprising:
[0027] A data acquisition unit, used to respectively acquire first distance data between a target object in a preset touch control space and each of the distance measuring sensors through a plurality of distance measuring sensors;
[0028] A determination unit, configured to determine a target touch point on a screen according to each of the first distance data, wherein a relative position between the screen and the plurality of distance measuring sensors is fixed;
[0029] A control unit is used to control the screen according to the target touch point.
[0030] In a third aspect, an embodiment of the present application provides a control device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the touch control method of the screen as described in the first aspect when executing the computer program.
[0031] In a fourth aspect, an embodiment of the present application provides a large touch-screen device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the touch-screen method as described in the first aspect when executing the computer program.
[0032] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the screen touch control method described in the first aspect above are implemented.
[0033] In a sixth aspect, an embodiment of the present application provides a computer program, which, when executed on a control device, enables the control device to execute the steps of the touch control method for a screen as described in the first aspect above.
[0034] The touch control method, device, control device and touch-control large-screen device provided by the embodiments of the present application have the following beneficial effects:
[0035] The touch control method of the screen provided in the embodiment of the present application can be applied to the control device of the screen, specifically comprising: firstly, using a plurality of distance measuring sensors, respectively obtaining the first distance data between the target object in the preset touch control space and each distance measuring sensor, and then determining the target touch point in the screen according to each first distance data, the relative position of the screen and the plurality of distance measuring sensors is fixed, and finally the screen is controlled according to the target touch point. Through the method of the present application, the user can control the screen in the preset touch control space through the hand or the object such as the stylus, so the screen can be controlled without touching the screen or holding a controller, which improves the convenience of controlling the screen. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0037] Figure 1 A flowchart of a touch control method for a screen provided in an embodiment of the present application;
[0038] Figure 2 A schematic diagram of a target object controlling a screen within a touch space provided in an embodiment of the present application;
[0039] Figure 3 A schematic diagram of dividing a screen into a plurality of first areas provided in an embodiment of the present application;
[0040] Figure 4 A schematic diagram of dividing a touch space into a plurality of parallel touch planes provided in an embodiment of the present application;
[0041] Figure 5 A schematic diagram of the structure of a touch control device for a screen provided in an embodiment of the present application;
[0042] Figure 6 A schematic diagram of the structure of a control device provided in an embodiment of the present application;
[0043] Figure 7 A schematic diagram of the structure of a large touch screen device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] It should be noted that the terms used in the embodiments of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application. In the description of the embodiments of the present application, unless otherwise specified, "multiple" refers to two or more than two, and "at least one", "one or more" refers to one, two or more. The terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, it is defined that the "first" and "second" features can explicitly or implicitly include one or more of the features.
[0045] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0046] The screen touch control method provided in the embodiment of the present application can be applied to various scenarios where the screen needs to be controlled. In the embodiment of the present application, the screen can be a large touch screen device, and the large touch screen device can be composed of several sub-screens.
[0047] The execution subject of the touch control method of the screen provided in the embodiment of the present application can be a control device of the screen. The control device can be connected to the screen, and the control device can also be connected to each ranging sensor. When the user needs to control the screen, the various steps of the touch control method of the screen provided in the embodiment of the present application can be executed by the control device, so that the screen can be controlled more conveniently.
[0048] See also Figure 1 , Figure 1 The present invention provides a flowchart of a touch control method for a screen according to an embodiment of the present invention. The touch control method for a screen according to an embodiment of the present invention may include steps S101 to S103, which are described in detail as follows:
[0049] In S101, first distance data between a target object in a preset touch space and each distance measuring sensor is obtained through a plurality of distance measuring sensors.
[0050] The distance measuring sensor may be used to obtain first distance data between a target object in a preset touch space and the distance measuring sensor. Exemplarily, the distance measuring sensor may be a time of flight (TOF) distance measuring sensor.
[0051] Each time-of-flight ranging sensor can obtain the first distance data in the following manner:
[0052] The time-of-flight ranging sensor may include a photon signal transmitter and a photon signal receiver. Based on this, the time-of-flight ranging sensor can transmit a photon signal to a target object in a preset touch space through the photon signal transmitter. After the photon signal flies to the target object, it will be reflected by the target object and can be received by the photon signal receiver. Based on this, the time difference between the first time and the second time can be obtained by obtaining the first time when the photon signal transmitter transmits the photon signal and the second time when the photon signal receiver receives the photon signal, thereby obtaining the first distance data.
[0053] Each ranging sensor can be arranged at a preset position, and the relative position of the preset position and the screen is fixed. In an optional implementation, each ranging sensor can be arranged at a fixed position on the screen, and illustratively, each ranging sensor can be arranged at the edge of the housing on the screen.
[0054] In this embodiment, the number of each ranging sensor can be three, so that by measuring the distance to the target object, the target object can be better located. The number of each ranging sensor can also be set according to actual needs, for example, greater than three, which is not limited here.
[0055] The preset touch space may be a virtual space determined according to the performance and parameters of each ranging sensor. When the target object is in the touch space, each ranging sensor may respectively obtain first distance data with the target object, and send the first distance data to the control device, so that the control device may respectively obtain the first distance data between the target object in the preset touch space and each ranging sensor. When the target object is not in the touch space, each ranging sensor may not be able to obtain the first distance data with the target object.
[0056] The target object may be a user's hand or a user's stylus or other object. The user may control the screen by placing the target object at a target position in the touch control space, or the user may control the screen by moving the target object in the touch control space.
[0057] See also Figure 2 , Figure 2 A schematic diagram of a target object controlling a screen in a touch space provided in an embodiment of the present application. Figure 2 As shown, the user can use his hand to gesture "ABCD" at the target position in the touch space. At this time, each distance sensor will obtain the first distance data between the hand and each distance sensor at each moment. Figure 2 In the embodiment, the touch space may be a rectangular space in front of the screen.
[0058] In an embodiment of the present application, the control device can obtain the first distance data between the target object in the preset touch space and the ranging sensor through each ranging sensor, thereby obtaining the first distance data between the target object in the preset touch space and each ranging sensor.
[0059] In a possible implementation, each ranging sensor may include a Fresnel lens. The Fresnel lens in each ranging sensor may be connected to a control device. The control device may change the touch space by controlling the angle of the Fresnel lens in each ranging sensor.
[0060] In S102, a target touch point on the screen is determined according to each piece of first distance data.
[0061] The relative positions of the screen and the plurality of distance measuring sensors are fixed.
[0062] In the embodiment of the present application, after the control device obtains the first distance data between the target object and each distance measuring sensor, the control device can determine the target touch point on the screen according to each first distance data.
[0063] In a possible implementation manner, the control device may first obtain a first correspondence between each first distance data and each touch point on the screen, and then determine the target touch point according to each first distance data and the first correspondence.
[0064] The first corresponding relationship includes the first distance data corresponding to each touch point on the screen. It should be noted that, since the touch space in the embodiment of the present application includes multiple contact planes, each touch point corresponds to multiple corresponding points on the contact planes, and the multiple first distance data corresponding to the corresponding points on each contact plane are different. Therefore, in the embodiment of the present application, each touch point can correspond to multiple first distance data.
[0065] In a possible implementation, the control device may determine the first corresponding relationship through steps a to c, as described in detail as follows:
[0066] In step a, the screen is divided into a plurality of first areas, and the touch control space is divided into a plurality of touch control planes parallel to each other, according to a preset positioning accuracy.
[0067] In this implementation, the control device may divide the screen into a plurality of first areas according to a preset positioning accuracy. Figure 3 , Figure 3 A schematic diagram of dividing a screen into a plurality of first areas is provided in an embodiment of the present application, such as Figure 3As shown, when the screen is rectangular, the control device may divide the screen into a number of small rectangles of the same size as the second area.
[0068] In addition, the control device can also divide the touch space into a number of parallel touch planes according to the preset positioning accuracy. Figure 4 , Figure 4 A schematic diagram of dividing a touch space into a plurality of parallel touch planes is provided in an embodiment of the present application, such as Figure 4 As shown, a touch plane can be divided into a touch space at a preset distance. It should be noted that the shape of the touch plane is the same as that of the screen, but the length and width of the touch plane can be different from the length and width of the screen. In addition, each touch plane can be parallel to each other.
[0069] In step b, for each touch plane, the touch plane is divided into a plurality of second areas, and a second corresponding relationship between each second area and each first area is determined; for each second area of the touch plane, second distance data of the training object when touching the second area is obtained by using a plurality of distance measuring sensors.
[0070] In this implementation, after dividing the first area and the touch plane, the control device can divide each touch plane into a plurality of second areas and determine a second correspondence between each second area and each first area. In the second correspondence, one second area can correspond to one first area.
[0071] Specifically, the control device may divide the touch plane into a plurality of second regions according to the characteristics of the target object and the training object. For example, when the target object and the training object are fingers, the touch plane may be divided into a plurality of second regions according to the width of the fingers.
[0072] It should be noted that the number of first areas can be the same as the number of second areas, and there is a one-to-one correspondence between each second area and each first area, and the shape of each first area is the same as the shape of each second area, but when the length and width of the touch plane are different from the length and width of the screen, the length and width of the first area are also different from the length and width of the second area.
[0073] After dividing the touch plane into a plurality of second areas, the control device may further respectively acquire, for each second area of the touch plane, second distance data of the training object when the training object touches the second area through a plurality of distance measuring sensors.
[0074] Specifically, the user can touch each second area of the touch plane through a training object, and after each touching of a second area, obtain the second distance data of the training object when touching the second area through a plurality of distance measuring sensors, thereby obtaining the second distance data corresponding to each second area in the touch plane.
[0075] The above method can be applied to each touch plane, so as to obtain the second distance data corresponding to each second area in each touch plane.
[0076] It should be noted that the training object can be a user's hand and a stylus. The difference between the training object and the target object is that the training object is used to enable the control device to obtain the second distance data corresponding to each second area in each touch plane, while the target object is used to be placed or moved in the touch space so that the control device can obtain the first distance data between the target object and each distance measuring sensor.
[0077] In step c, the first corresponding relationship is determined according to the second distance data corresponding to each second area on each touch plane and the second corresponding relationship.
[0078] In this implementation, after the control device determines the second correspondence between each second area and each first area, and obtains the second distance data corresponding to each second area on each touch plane, the control device can determine the first correspondence based on the second distance data corresponding to each second area on each touch plane, and the second correspondence.
[0079] Specifically, the control device can determine the first area corresponding to each second area on each touch plane according to the second correspondence, and determine the sub-correspondence of the second area according to the first area corresponding to the second area and the second distance data corresponding to the second area. It should be noted that each first area corresponds to a touch point.
[0080] Since the second distance data obtained above are obtained by training the object to touch the second area on each touch plane, in actual application, the target object sometimes does not touch each touch plane very accurately, but may touch the boundary between the touch planes.
[0081] Based on this, in a possible implementation, the sub-correspondence relationship of any second region can be determined through steps d to f, as described in detail as follows:
[0082] In step d, the error range is determined according to the distances between the touch planes.
[0083] In this implementation, the control device may determine the error range according to the distance between each touch plane.
[0084] In actual applications, the relationship between the distance between each touch plane and the error range can be determined based on a pre-trained error range prediction model stored in the control device. Specifically, the error range prediction model can be trained through a deep learning algorithm, so that the distance between each touch plane can be input into the error range prediction model to instruct the error range prediction model to output the error range according to the distance between each touch plane, so that the control device can obtain the error range.
[0085] In step e, the distance data range corresponding to the second area is determined according to the second distance data and the error range corresponding to the second area.
[0086] In this implementation, after the error range is determined, the control device may determine the distance data range corresponding to the second area according to the second distance data corresponding to the second area and the error range.
[0087] In step f, the sub-correspondence relationship of the second area is determined according to the distance data range of the first area corresponding to the second area and the distance data range of the second area corresponding to the second area.
[0088] In this implementation, after determining the distance data range corresponding to the second area, the control device may determine the sub-correspondence relationship of the second area according to the first area corresponding to the second area and the distance data range corresponding to the second area.
[0089] In the above manner, the sub-correspondence relationship of each second area can be determined, so that when the target object touches the boundary between each touch plane, the target touch point can be accurately determined, thereby improving the touch accuracy.
[0090] Through the above method, the sub-correspondence relationship of each second area is obtained, and then the control device can determine the first correspondence relationship according to the sub-correspondence relationship corresponding to each second area on each touch plane.
[0091] In the following, the second area S1 on the touch plane Q1 is taken as an example. The control device can determine the first area S2 corresponding to the second area S1 according to the second correspondence. Since the touch point corresponding to the first area S2 is S3, the control device can obtain that the touch point corresponding to the second distance data corresponding to the second area S1 is S3, thereby obtaining the sub-correspondence corresponding to the second area S1. The above method is applied to each second area of each touch plane, so that the sub-correspondence corresponding to each second area can be obtained, and then the first correspondence can be obtained.
[0092] The control device may store the first corresponding relationship in advance, so that after acquiring each first distance data, the target touch point may be determined according to each first distance data and the first corresponding relationship.
[0093] In S103, the screen is controlled according to the target touch point.
[0094] In the embodiment of the present application, after determining the target touch point, the control device can control the screen according to the target touch point.
[0095] In actual applications, the specific method in which the control device controls the screen according to the target touch point can be set according to actual needs and is not limited here.
[0096] It can be seen from the above that the touch control method of the screen provided in the embodiment of the present application can be applied to the control device of the screen, specifically including: firstly, using a plurality of distance measuring sensors, respectively obtaining the first distance data between the target object in the preset touch control space and each distance measuring sensor, and then determining the target touch point in the screen according to each first distance data, the relative position of the screen and the plurality of distance measuring sensors is fixed, and finally the screen is controlled according to the target touch point. Through the method of the present application, the user can control the screen in the preset touch control space through the hand or the stylus and other objects, so the screen can be controlled without touching the screen or holding a controller, which improves the convenience of controlling the screen.
[0097] Based on the touch control device for a screen provided in the above embodiment, the present application further provides a touch control device for a screen that implements the above method embodiment. Figure 5 , Figure 5 This is a schematic diagram of the structure of a touch control device for a screen provided in an embodiment of the present application. Figure 5 As shown, the touch control device 50 for the screen may include: a data acquisition unit 51, a determination unit 52 and a control unit 53. Among them:
[0098] The data acquisition unit 51 is used to respectively acquire first distance data between a target object in a preset touch control space and each of the distance measuring sensors through a plurality of distance measuring sensors.
[0099] The determination unit 52 is used to determine the target touch point on the screen according to each of the first distance data, and the relative positions of the screen and the plurality of distance measuring sensors are fixed.
[0100] The control unit 53 is used to control the screen according to the target touch point.
[0101] Optionally, each of the distance measuring sensors includes a Fresnel lens, and the touch control device 50 of the screen may further include a touch space adjustment unit.
[0102] The touch space adjustment unit is used to control the angle of the Fresnel lens of each of the distance measuring sensors to change the touch space.
[0103] Optionally, the determining unit 52 is specifically configured to:
[0104] Acquire a first correspondence between each of the first distance data and each of the touch points on the screen;
[0105] The target touch point is determined according to each of the first distance data and the first corresponding relationship.
[0106] Optionally, the touch control device 50 for the screen may further include a corresponding relationship determination unit.
[0107] The corresponding relationship determination unit is specifically used for:
[0108] According to a preset positioning accuracy, the screen is divided into a plurality of first areas, and the touch control space is divided into a plurality of touch control planes parallel to each other;
[0109] For each of the touch planes, the touch plane is divided into a plurality of second areas, and a second correspondence between each of the second areas and each of the first areas is determined; for each of the second areas of the touch plane, second distance data of the training object when the training object touches the second area is obtained through the plurality of distance measuring sensors;
[0110] The first corresponding relationship is determined according to the second distance data corresponding to each of the second areas on each of the touch planes and the second corresponding relationship.
[0111] The shape of the touch plane is the same as that of the screen, the number of the first regions is the same as that of the second regions, and the shape of the first regions is the same as that of the second regions.
[0112] Optionally, the corresponding relationship determining unit is specifically used for:
[0113] For each second area on each touch plane, determine the first area corresponding to the second area according to the second correspondence, and determine a sub-correspondence of the second area according to the first area corresponding to the second area and the second distance data corresponding to the second area; each first area corresponds to one touch point;
[0114] The first corresponding relationship is determined according to the sub-corresponding relationships corresponding to the second areas on the touch planes.
[0115] Optionally, the corresponding relationship determining unit is specifically used for:
[0116] Determining an error range according to the distances between the touch planes;
[0117] Determine a distance data range corresponding to the second area according to the second distance data corresponding to the second area and the error range;
[0118] The sub-correspondence relationship of the second area is determined according to the first area corresponding to the second area and the distance data range corresponding to the second area.
[0119] See also Figure 6 , Figure 6 This is a schematic diagram of the structure of a control device provided in an embodiment of the present application. Figure 6 As shown, the control device 6 provided in this embodiment may include: a processor 60, a memory 61, and a computer program 62 stored in the memory 61 and executable on the processor 60, such as a program corresponding to the touch control method for the screen. When the processor 60 executes the computer program 62, the steps in the above-mentioned touch control method embodiment for the screen are implemented, such as Figure 1 Alternatively, when the processor 60 executes the computer program 62, the functions of each module / unit in the above-mentioned touch control device embodiment of the screen are realized, for example Figure 5 The functions of the units 51 to 53 are shown.
[0120] Exemplarily, the computer program 62 may be divided into one or more modules / units, one or more modules / units are stored in the memory 61 and executed by the processor 60 to complete the present application. The one or more modules / units may be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program 62 in the control device 6. For example, the computer program 62 may be divided into a data acquisition unit 51, a determination unit 52, and a control unit 53. The specific functions of each unit can be found in Figure 5 The relevant descriptions in the corresponding embodiments are not repeated here.
[0121] Those skilled in the art will understand that Figure 6 The control device 6 is merely an example and does not constitute a limitation on the control device 6 , and may include more or less components than those shown in the figure, or may combine certain components, or may include different components.
[0122] The processor 60 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.
[0123] The memory 61 may be an internal storage unit of the control device 6, such as a hard disk or memory of the control device 6. The memory 61 may also be an external storage device of the control device 6, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, or a flash card, etc., equipped on the control device 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the control device 6. The memory 61 is used to store computer programs and other programs and data required by the control device. The memory 61 may also be used to temporarily store data that has been output or is to be output.
[0124] See also Figure 7 , Figure 7 This is a schematic diagram of the structure of a touch screen device provided in an embodiment of the present application. Figure 7 As shown, the touch screen device 7 provided in this embodiment may include: a processor 70, a memory 71, and a computer program 72 stored in the memory 71 and executable on the processor 70, such as a program corresponding to the touch control method for the screen. When the processor 70 executes the computer program 72, the steps in the above-mentioned touch control method embodiment for the screen are implemented, such as Figure 1 Alternatively, when the processor 70 executes the computer program 72, the functions of each module / unit in the above-mentioned touch control device embodiment of the screen are realized, for example Figure 5 The functions of the units 51 to 53 are shown.
[0125] Exemplarily, the computer program 72 may be divided into one or more modules / units, one or more modules / units are stored in the memory 71 and executed by the processor 70 to complete the present application. One or more modules / units may be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program 72 in the touch screen device 7. For example, the computer program 72 may be divided into a data acquisition unit 51, a determination unit 52, and a control unit 53. For the specific functions of each unit, please refer to Figure 5 The relevant descriptions in the corresponding embodiments are not repeated here.
[0126] Those skilled in the art will understand that Figure 7 It is only an example of the large touch screen device 7 and does not constitute a limitation on the large touch screen device 7. It may include more or less components than shown in the figure, or a combination of certain components, or different components.
[0127] The processor 70 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.
[0128] The memory 71 may be an internal storage unit of the touch-screen device 7, such as a hard disk or memory of the touch-screen device 7. The memory 71 may also be an external storage device of the touch-screen device 7, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, or a flash card, etc., equipped on the touch-screen device 7. Further, the memory 71 may also include both an internal storage unit and an external storage device of the touch-screen device 7. The memory 71 is used to store computer programs and other programs and data required by the touch-screen device. The memory 71 may also be used to temporarily store data that has been output or is to be output.
[0129] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units is used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional units as needed, that is, the internal structure of the touch device of the screen can be divided into different functional units to complete all or part of the functions described above. The functional units in the embodiment can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0130] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0131] An embodiment of the present application provides a computer program product. When the computer program product is executed on a terminal device, the terminal device implements the steps in the above-mentioned method embodiments.
[0132] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0133] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0134] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A touch control method for a screen, characterized in that: include: Using a plurality of distance measuring sensors, first distance data between a target object in a preset touch control space and each of the distance measuring sensors is respectively obtained; Determine a target touch point on the screen according to each of the first distance data, wherein the relative position of the screen and the plurality of distance measuring sensors is fixed; The screen is controlled according to the target touch point.
2. The method according to claim 1, characterized in that Each of the distance measuring sensors includes a Fresnel lens; the method further includes: The angle of the Fresnel lens of each of the distance measuring sensors is controlled to change the touch control space.
3. The method according to claim 1, characterized in that: The step of determining a target touch point on the screen according to each of the first distance data includes: Acquire a first correspondence between each of the first distance data and each of the touch points on the screen; The target touch point is determined according to each of the first distance data and the first corresponding relationship.
4. The method according to claim 3, characterized in that The first corresponding relationship is determined by: According to a preset positioning accuracy, the screen is divided into a plurality of first areas, and the touch control space is divided into a plurality of touch control planes parallel to each other; For each of the touch planes, the touch plane is divided into a plurality of second areas, and a second correspondence between each of the second areas and each of the first areas is determined; for each of the second areas of the touch plane, second distance data of the training object when the training object touches the second area is obtained through the plurality of distance measuring sensors; The first corresponding relationship is determined according to the second distance data corresponding to each of the second areas on each of the touch planes and the second corresponding relationship.
5. The method according to claim 4, characterized in that The shape of the touch plane is the same as that of the screen, the number of the first regions is the same as that of the second regions, and the shape of the first regions is the same as that of the second regions.
6. The method according to claim 4, characterized in that The determining the first corresponding relationship according to the second distance data corresponding to each of the second areas on each of the touch planes and the second corresponding relationship includes: For each second area on each touch plane, determine the first area corresponding to the second area according to the second correspondence, and determine a sub-correspondence of the second area according to the first area corresponding to the second area and the second distance data corresponding to the second area; each first area corresponds to one touch point; The first corresponding relationship is determined according to the sub-corresponding relationships corresponding to the second areas on the touch planes.
7. The method according to claim 6, characterized in that The determining, according to the first area corresponding to the second area and the second distance data corresponding to the second area, the sub-corresponding relationship of the second area includes: Determining an error range according to the distances between the touch planes; Determine a distance data range corresponding to the second area according to the second distance data corresponding to the second area and the error range; The sub-correspondence relationship of the second area is determined according to the first area corresponding to the second area and the distance data range corresponding to the second area.
8. A touch device for a screen, characterized in that: include: A data acquisition unit, used to respectively acquire first distance data between a target object in a preset touch control space and each of the distance measuring sensors through a plurality of distance measuring sensors; A determination unit, configured to determine a target touch point on a screen according to each of the first distance data, wherein a relative position between the screen and the plurality of distance measuring sensors is fixed; A control unit is used to control the screen according to the target touch point.
9. A control device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, each step in the touch control method of the screen as described in any one of claims 1 to 7 is implemented.
10. A large touch screen device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, each step in the touch control method of the screen as described in any one of claims 1 to 7 is implemented.