A control method and device for a touch screen and a touch screen

By setting up both contact and air-based touch modes on the touchscreen and adjusting firmware parameters to switch between them, the problem of touchscreen malfunction when the user has foreign objects in their hands is solved, providing a convenient operating experience and reducing costs.

CN122152173APending Publication Date: 2026-06-05LCFC HEFEI ELECTRONICS TECH

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
LCFC HEFEI ELECTRONICS TECH
Filing Date
2026-02-02
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

Traditional touchscreens are prone to malfunction when there are foreign objects in the user's hand, leading to inconvenience in operation.

Method used

By setting a first mode and a second mode on the touch screen, the first mode is contact touch and the second mode is air touch. By adjusting the firmware parameters, the touch screen can switch modes when a preset condition is detected, thus achieving air touch.

Benefits of technology

It solves the problem of touch screen malfunction when users have foreign objects in their hands, provides a convenient operating experience, expands the application scenarios of touch screens, and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122152173A_ABST
    Figure CN122152173A_ABST
Patent Text Reader

Abstract

The application provides a control method and device for a touch screen and the touch screen. The method comprises the following steps: detecting first sensing data of a first space when the touch screen is in a first mode, the first space being a space within a preset height interval from a first surface, the first surface being a surface of the touch screen that can be touched, and the touch screen responding to a touch signal acting on the first surface in the first mode; and switching the touch screen from the first mode to a second mode in response to the first sensing data meeting a preset condition, the touch screen responding to a touch signal acting on the first space in the second mode. By using the method, the touch screen is configured into the first mode and the second mode based on the existing touch screen hardware, the first sensing data of the first space is detected, and the touch mode of the touch screen is switched from the first mode to the second mode when the first sensing data meets the preset condition. The touch problem of the touch screen in a specific scenario is solved, and the operation is convenient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic devices, and more particularly to a control method, apparatus and touch screen for a touch screen. Background Technology

[0002] Traditional touchscreens control the cursor by touching it. However, in actual use, when users have foreign objects on their hands, such as water or grease, the touchscreen often fails to work, causing inconvenience to the user. Summary of the Invention

[0003] This application provides a control method, device, touch screen, electronic device, and storage medium for a touch screen, to at least solve the above-mentioned technical problems existing in the related art.

[0004] A first aspect of this application provides a control method for a touch screen, the method comprising: when the touch screen is in a first mode, detecting first sensing data of a first space, the first space being a space within a preset height range from a first surface, the first surface being a touchable surface of the touch screen, wherein in the first mode the touch screen responds to a touch signal acting on the first surface; and in response to the first sensing data satisfying a preset condition, switching the touch screen from the first mode to a second mode, wherein in the second mode the touch screen responds to a touch signal acting on the first space.

[0005] In one possible implementation, detecting the first sensing data of the first space when the touch screen is in the first mode includes: detecting the first sensing data of the first space when the first function of the touch screen is enabled and in the first mode, wherein the first function is the function of switching touch modes.

[0006] In one possible implementation, before switching the touch screen from the first mode to the second mode in response to the first sensing data satisfying a preset condition, the method further includes: in response to the first sensing data indicating that the distance between the touch source and the first surface belongs to the preset height range and the duration is greater than a first preset duration, determining that the first sensing data satisfies the preset condition.

[0007] In one possible implementation, before switching the touch screen from the first mode to the second mode in response to the first sensing data satisfying the preset conditions, the method further includes: in response to the first sensing data indicating that the touch source is a palm, the distance between the touch source and the first surface belongs to the preset height range, and the duration of the distance is greater than the first preset duration, determining that the first sensing data satisfies the preset conditions.

[0008] In one embodiment, the method further includes: detecting second sensing data of the first surface; the detection process of the first sensing data and the second sensing data includes: alternately scanning each circuit channel of the first space and the first surface; in response to the first sensing data not meeting a preset condition, the touch screen controls the cursor in response to the second sensing data.

[0009] In one embodiment, the method further includes: when the touch screen is in a second mode, detecting third sensing data of a first space; and in response to the third sensing data satisfying a preset condition, switching the touch screen from the second mode to the first mode.

[0010] In one embodiment, the method further includes: when the touch screen is in a second mode, detecting fourth sensing data in the first space; and in response to the fourth sensing data indicating that the touch source is a finger, controlling the cursor based on the movement of the finger.

[0011] A second aspect of this application provides a control device for a touch screen, the device comprising: a detection module, configured to detect first sensing data of a first space when the touch screen is in a first mode, the first space being a space within a preset height range from a first surface, the first surface being a touchable surface of the touch screen, wherein in the first mode the touch screen responds to a touch signal acting on the first surface; and a switching module, configured to switch the touch screen from the first mode to a second mode in response to the first sensing data satisfying a preset condition, wherein in the second mode the touch screen responds to a touch signal acting on the first space.

[0012] In one possible implementation, the detection module is specifically used to detect first sensing data in the first space when the first function of the touch screen is enabled and in the first mode, wherein the first function is the function of switching touch modes.

[0013] In one possible implementation, the device further includes a first determining module, configured to determine that the first sensing data satisfies the preset conditions before switching the touch screen from the first mode to the second mode in response to the first sensing data indicating that the distance between the touch source and the first surface belongs to the preset height range and the duration is greater than a first preset duration.

[0014] In one possible implementation, the device further includes a second determining module, configured to determine that the first sensing data satisfies the preset conditions before switching the touch screen from the first mode to the second mode in response to the first sensing data indicating that the touch source is a palm, the distance between the touch source and the first surface belongs to the preset height range, and the duration of the distance is greater than a first preset duration.

[0015] In one embodiment, the device further includes a first control module, and the detection module is used to detect second sensing data of the first surface; the detection process of the first sensing data and the second sensing data includes: alternately scanning each circuit channel of the first space and the first surface; the first control module is used to control the cursor in response to the second sensing data when the first sensing data does not meet a preset condition.

[0016] In one embodiment, the detection module is further configured to detect third sensing data in the first space when the touch screen is in the second mode; the switching module is further configured to switch the touch screen from the second mode to the first mode in response to the third sensing data meeting a preset condition.

[0017] In one embodiment, the device further includes a second control module. The detection module is configured to detect fourth sensing data in the first space when the touch screen is in a second mode. The second control module is configured to control the cursor based on the movement of the finger in response to the fourth sensing data indicating that the touch source is a finger.

[0018] A third aspect of this application provides a touchscreen, comprising:

[0019] At least one processor; and A memory that is communicatively connected to at least one processor; wherein, The memory stores instructions that can be executed by at least one processor, which enables the at least one processor to perform the method of this application.

[0020] A fourth aspect of this application provides an electronic device that includes a touch screen.

[0021] A fifth aspect of this application provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the method of this application.

[0022] This application discloses a touch control method, apparatus, touch screen, electronic device, and storage medium for a touchscreen. The touch screen is configured with a first mode and a second mode. When the touch screen is in the first mode, first sensing data in a first space is detected. In response to the first sensing data meeting a preset condition, the touch screen is switched from the first mode to the second mode. The first space is a space within a preset height range from a first surface, and the first surface is a touchable surface of the touch screen. In the first mode, the touch screen responds to touch signals applied to the first surface, and in the second mode, the touch screen responds to touch signals applied to the first space. Applying this method, based on existing touch screen hardware, the touch screen is configured with a first mode and a second mode. The first mode refers to a contact touch mode, and the second touch mode is an air-based touch mode. First sensing data in the first space is detected, and when the first sensing data meets a preset condition, the touch screen's touch mode is switched from the first mode to the second mode. This solves the touch control problem of touch screens in specific scenarios, offering convenient operation, low cost, strong compatibility, improved user experience, and expanded application scenarios for touch screens.

[0023] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this application, nor is it intended to limit the scope of this application. Other features of this application will become readily apparent from the following description. Attached Figure Description

[0024] The above and other objects, features, and advantages of exemplary embodiments of this application will become readily apparent from the following detailed description taken in conjunction with the accompanying drawings. Several embodiments of this application are illustrated in the drawings by way of example and not limitation, in which: In the accompanying drawings, the same or corresponding reference numerals indicate the same or corresponding parts.

[0025] Figure 1 This illustration shows an implementation flow diagram of a control method for a touch screen according to an embodiment of this application. Figure 1 ; Figure 2 This illustration shows a scenario where the touchscreen is in the first mode according to an embodiment of this application. Figure 1 ; Figure 3 This illustration shows a scenario where the touchscreen is in the first mode according to an embodiment of this application. Figure 2 ; Figure 4 This illustration shows a scenario where the touchscreen is in the second mode according to an embodiment of this application. Figure 1 ; Figure 5 This illustration shows a scenario where the touchscreen is in the second mode according to an embodiment of this application. Figure 2 ; Figure 6This illustration shows the implementation flow of another control method for a touch screen according to an embodiment of this application. Figure 2 ; Figure 7 This illustration shows the implementation flow of another control method for a touch screen according to an embodiment of this application. Figure 3 ; Figure 8 This invention illustrates a schematic diagram of the constituent modules of a control device for a touch screen according to an embodiment of this application; Figure 9 A schematic diagram of the composition structure of an electronic device according to an embodiment of this application is shown. Detailed Implementation

[0026] To make the objectives, features, and advantages of this application more apparent and understandable, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0027] Figure 1 This illustration shows an implementation flow diagram of a control method for a touch screen according to an embodiment of this application. Figure 1 ,include: Step 101: When the touch screen is in the first mode, detect the first sensing data of the first space. The first space is the space within a preset height range from the first surface. The first surface is the surface of the touch screen that can be touched. In the first mode, the touch screen responds to the touch signal acting on the first surface.

[0028] Step 102: In response to the first sensing data meeting the preset conditions, the touch screen is switched from the first mode to the second mode, wherein in the second mode, the touch screen responds to the touch signal acting on the first space.

[0029] The touchscreen includes a dedicated touchscreen integrated circuit with embedded firmware. By modifying the firmware parameters, the touchscreen can sense changes in the amount of charge in different spatial areas. This application, through modification of the firmware parameters, enables the touchscreen to sense changes in the amount of charge on a first surface and in a first space. The first surface is the touchscreen surface that the user can touch, and the first space is the space within a preset height range from the first surface. In this application, the first space is preferably a plane 2 cm above the first surface; however, any location within the sensing range of the touchscreen's sensors can be considered the first space.

[0030] Figure 2 This illustration shows a scenario where the touchscreen is in the first mode according to an embodiment of this application. Figure 1 ; Figure 3 This illustration shows a scenario where the touchscreen is in the first mode according to an embodiment of this application. Figure 2 .like Figure 2 and Figure 3 As shown, the touch screen itself has a reference capacitor. When the touch screen is in the first mode, the touch screen can sense the touch signal on the first surface. The touch signal generates a coupling capacitor. Based on the capacitance change generated by the touch signal on the first surface, the touch function of the touch screen is realized, which can be understood as contact-type touch control of the touch screen. Figure 4 This illustration shows a scenario in the second mode of the embodiments of this application. Figure 1 ; Figure 5 This illustration shows a scenario where the touchscreen is in the second mode according to an embodiment of this application. Figure 2 .like Figure 4 and Figure 5 As shown, when the touchscreen is in the second mode, it no longer senses touch signals from the first surface, but rather from the first space. The touch signals in the first space generate coupling capacitance. Based on the capacitance changes generated by the touch signals in the first space, the touchscreen function is achieved; this can be understood as air-based touch control. When it is inconvenient for users to directly touch the touchscreen, they can switch between touch modes to control it via air-based touch.

[0031] Specifically, when the touchscreen is in the first mode, first sensing data is obtained by detecting the first space. This first sensing data is capacitance change data or charge change data within the first space. When the first sensing data meets preset conditions, the touchscreen is switched from the first mode to the second mode, that is, from contact touch to air touch. The preset conditions are those that allow the touchscreen to switch modes, such as detecting charge change data that conforms to a preset shape.

[0032] This application configures the touchscreen to support both contact and air-based touch by adjusting the touchscreen firmware parameters. When the touchscreen is in the first mode but contact touch is inconvenient for the user, the system detects the first space. If the first sensing data of the first space meets preset conditions, the system can switch from air-based to contact touch, thus controlling the touchscreen. This solves the touchscreen control problem in specific scenarios, offering convenient operation, low cost, improved user experience, and expanded application scenarios for touchscreens.

[0033] In one possible implementation, when the touchscreen is in a first mode, detecting first sensing data in the first space includes: When the first function of the touch screen is enabled and in the first mode, the first sensing data of the first space is detected, and the first function is the function of switching touch modes.

[0034] Before detecting the first sensing data in the first space, it is first determined whether the first function of the touchscreen is enabled. This first function refers to the function of switching touch modes. When the first function of the touchscreen is enabled, it indicates that the touch mode can be switched. When the touchscreen is in the first mode, the first sensing data in the first space is detected. When the first sensing data meets the preset conditions, the touch mode can be switched from the first mode to the second mode. When the first function of the touchscreen is disabled, regardless of whether the first sensing data in the first space meets the preset conditions, the touch mode cannot be switched, and the touchpad can only be in the first mode, enabling only contact touch.

[0035] In one possible implementation, before switching the touchscreen from a first mode to a second mode in response to the first sensing data satisfying a preset condition, the method further includes: In response to the first sensing data indicating that the distance between the touch source and the first surface is within a preset height range and the duration of the distance is greater than the first preset duration, it is determined that the first sensing data meets the preset conditions.

[0036] In this embodiment, when the touch source causes a change in capacitance or charge in the first space, and the duration of the change in capacitance or charge is greater than a first preset duration, the touch screen can switch from the first mode to the second mode. Therefore, after detecting the first space to obtain the first sensing data, the first sensing data is analyzed to obtain the position corresponding to the first sensing data and the duration of the first sensing data, and the distance between the position corresponding to the first sensing data and the first surface is determined. Then, the duration of the first sensing data is compared with the first preset duration. When the distance between the position where the change in capacitance or charge occurs and the first surface is within a preset height range, and the duration of the change in capacitance and charge is greater than the first preset duration, it is determined that the first sensing data meets the preset conditions, and the screen can switch from the first mode to the second mode. That is, the first sensing data meets the preset conditions only when the position of the change in capacitance or charge is within the first space and the duration meets the first preset duration. This can prevent accidental switching of the touch mode due to misoperation.

[0037] In one possible implementation, before switching the touchscreen from a first mode to a second mode in response to the first sensing data satisfying a preset condition, the method further includes: In response to the first sensing data indicating that the touch source is a palm, the distance between the touch source and the first surface is within a preset height range, and the duration of the distance is greater than the first preset duration, it is determined that the first sensing data meets the preset conditions.

[0038] In this embodiment, when the touch source is a human hand, and the touch source causes a change in capacitance or charge in the first space, and the duration of the capacitance or charge change exceeds a first preset duration, the touch screen can switch from the first mode to the second mode. Therefore, after detecting the first space to obtain first sensing data, the first sensing data is analyzed to obtain the area and contour corresponding to the first sensing data, the position of the first sensing data, and the duration of the first sensing data. The area and contour corresponding to the first sensing data are matched with pre-stored hand features, and the distance between the position corresponding to the first sensing data and the first surface is determined. Then, the duration of the first sensing data is compared with the first preset duration. When the area and contour corresponding to the first sensing data match the pre-stored hand features, the distance between the position where the capacitance or charge change occurs and the first surface belongs to a preset height range, and the duration of the capacitance and charge change exceeds the first preset duration, it is determined that the first sensing data meets the preset conditions, and the screen can switch from the first mode to the second mode.

[0039] It is understood that the touch source is not limited to the one method of this application; in addition to the palm, it can also be other gesture features. Furthermore, if the detected first sensing data indicates that the corresponding area and contour show that the touch source is two palm features, and both palms are in the first space, and the duration of the two palms is satisfied with the first preset duration, then either one palm can be selected to respond or both palms can be responded to simultaneously.

[0040] In one possible implementation, the method further includes: The detection process of the first and second sensing data of the first surface includes: alternating scanning of each circuit channel of the first space and the first surface; If the first sensing data does not meet the preset conditions, the touch screen responds to the second sensing data to control the cursor.

[0041] In addition to detecting the sensing data of the first space, this application also needs to detect the second sensing data of the first surface. Specifically, the first and second scans of the touchpad can be alternately performed in each circuit channel at a preset frequency to obtain the first sensing data and the second sensing data. The first scan is used to detect the capacitance change of the first surface to obtain the first sensing data, and the second scan is used to detect the capacitance change of the first space to obtain the second sensing data.

[0042] Traditional touch control methods only offer contact-based touch, requiring only capacitance change detection on the first surface. This is achieved by scanning the circuit channels of the first surface of the touchscreen at a frequency of 100Hz to 140Hz. However, this application time-division multiplexes scanning channels within a complete scan cycle. In one channel, the first surface and the first space are scanned alternately for the first and second scans. Specifically, within a circuit channel, the first surface is scanned first, followed by the first space, or vice versa. Only after both scans are completed for a given channel does the scan proceed to the next channel. This ensures that the capacitance changes of the first surface and the first space are monitored in real-time and synchronously. The scanning frequency is increased from the traditional 100Hz-140Hz for touch only on the first surface to 200Hz or higher, ensuring sufficient time resolution to accommodate both the first and second scans.

[0043] Through this alternating scanning, two sets of capacitance change data can be obtained: one set represents the capacitance change data of the first surface, i.e., the second sensing data, and the other set represents the capacitance change data of the first space, i.e., the first sensing data. When the first sensing data does not meet the preset conditions, the switch from the first mode to the second mode cannot be realized. The touch screen can only perform contact-based touch, that is, respond to the second sensing data to control the cursor and move the cursor to the corresponding position according to the indication of the second sensing data.

[0044] In one possible implementation, such as Figure 6 As shown, the method also includes: Step 601: When the touchscreen is in the second mode, detect the third sensing data of the first space; Step 602: In response to the third sensing data meeting the preset conditions, the touch screen is switched from the second mode to the first mode.

[0045] Similarly, when the touchscreen is in the second mode, third sensing data can be obtained by detecting the first space. This third sensing data is also capacitance change data or charge change data within the first space. When the third sensing data meets preset conditions, the touchscreen is switched from the second mode to the first mode, i.e., from air-touch to contact-touch. The preset conditions are those that allow the touchscreen to switch modes. These preset conditions can be the same as or different from the preset conditions for switching from the first mode to the second mode. For example, the third sensing data might indicate that the distance between the touch source and the first surface is within a preset height range and the duration of this distance is greater than a second preset duration. Of course, the second preset duration and the first preset duration can be the same or different.

[0046] Figure 7This illustration shows a schematic diagram of the implementation flow of another control method for a touch screen according to an embodiment of this application. Figure 7 As shown, when the touchscreen is in the first mode, if the first sensing data of the first space meets the preset conditions, the touchscreen is switched from the first mode to the second mode; if the first sensing data of the first space does not meet the preset conditions, no mode switch is performed, and the touchscreen continues to operate in the first mode. When the touchscreen is in the second mode, if the third sensing data of the first space meets the preset conditions, the touchscreen is switched from the second mode to the first mode; if the third sensing data of the first space does not meet the preset conditions, no mode switch is performed, and the touchscreen continues to operate in the second mode.

[0047] Furthermore, when the touchscreen is in the second mode, by alternately scanning the data channels of the first surface and the first space, when a touch signal is detected on the first surface, the touchscreen can be directly switched from the second mode to the first mode.

[0048] In one possible implementation, the method further includes: When the touchscreen is in the second mode, detect the fourth sensor data of the first space; In response to the fourth sensor data indicating that the touch source is a finger, the cursor is controlled based on the movement of the finger.

[0049] In both the first and second modes, users perform touch operations based on finger swiping. After switching the touch screen from the first mode to the second mode, users can touch the touch screen in the first space. Therefore, when the touch screen is in the second mode, i.e., in the air-touch mode, the fourth sensing data in the first space is detected and analyzed. When the fourth sensing data matches the preset finger shape, the location where the charge changes is determined, and the coordinate information corresponding to the finger is determined. This coordinate information can be used to control the movement of the mouse cursor to achieve contact-based touch control of the touch screen.

[0050] Figure 8 A schematic diagram of the constituent modules of a control device for a touch screen according to an embodiment of this application is shown.

[0051] like Figure 8As shown, according to a second aspect of this application, a control device for a touch screen is provided. The device includes: a detection module 801, configured to detect first sensing data obtained from a first space when the touch screen is in a first mode, wherein the first space is a space within a preset height range from a first surface, and the first surface is a touchable surface of the touch screen, wherein the touch screen responds to a touch signal acting on the first surface in the first mode; and a switching module 802, configured to switch the touch screen from the first mode to a second mode in response to the first sensing data meeting a preset condition, wherein the touch screen responds to a touch signal acting on the first space in the second mode.

[0052] In one embodiment, the detection module 801 is specifically used to detect the first sensing data of the first space when the first function of the touch screen is enabled and in the first mode, wherein the first function is the function of switching the touch mode.

[0053] In one possible implementation, the device further includes a first determining module 803, which is used to determine that the first sensing data meets the preset conditions before switching the touch screen from the first mode to the second mode in response to the first sensing data indicating that the distance between the touch source and the first surface is within a preset height range and the duration is greater than a first preset duration.

[0054] In one possible implementation, the device further includes a second determining module 804, which is used to determine that the first sensing data meets the preset conditions before switching the touch screen from the first mode to the second mode in response to the first sensing data indicating that the touch source is a palm, the distance between the touch source and the first surface is within a preset height range, and the duration of the distance is greater than the first preset duration.

[0055] In one embodiment, the device further includes a first control module 805 and a detection module 801, used to detect second sensing data of the first surface; the detection process of the first sensing data and the second sensing data includes: alternately scanning each circuit channel of the first space and the first surface; the first control module 805 is used to control the cursor in response to the second sensing data when the first sensing data does not meet the preset conditions.

[0056] In one embodiment, the detection module 801 is further configured to detect third sensing data in the first space when the touch screen is in the second mode; the switching module is further configured to switch the touch screen from the second mode to the first mode in response to the third sensing data meeting a preset condition.

[0057] In one embodiment, the device further includes a second control module 806 and a detection module 801, which are used to detect fourth sensing data in the first space when the touch screen is in the second mode; the second control module 806 is used to control the cursor based on the movement of the finger in response to the fourth sensing data indicating that the touch source is a finger.

[0058] According to embodiments of this application, this application also provides a touch screen, an electronic device, and a readable storage medium.

[0059] Figure 9 A schematic block diagram of an example electronic device 900 that can be used to implement embodiments of this application is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the application described and / or claimed herein.

[0060] like Figure 9 As shown, device 900 includes a computing unit 901, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 902 or a computer program loaded from storage unit 908 into random access memory (RAM) 903. RAM 903 may also store various programs and data required for the operation of device 900. The computing unit 901, ROM 902, and RAM 903 are interconnected via bus 904. Input / output (I / O) interface 905 is also connected to bus 904.

[0061] Multiple components in device 900 are connected to I / O interface 905, including: input unit 906, such as keyboard, mouse, etc.; output unit 907, such as various types of monitors, speakers, etc.; storage unit 908, such as disk, optical disk, etc.; and communication unit 909, such as network card, modem, wireless transceiver, etc. Communication unit 909 allows device 900 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0062] The computing unit 901 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 901 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 901 performs the various methods and processes described above, such as a control method for a touch screen. For example, in some embodiments, a control method for a touch screen can be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 908. In some embodiments, part or all of the computer program can be loaded and / or installed on device 900 via ROM 902 and / or communication unit 909. When the computer program is loaded into RAM 903 and executed by the computing unit 901, one or more steps of a control method for a touch screen described above can be performed. Alternatively, in other embodiments, the computing unit 901 may be configured to perform a control method for a touch screen by any other suitable means (e.g., by means of firmware).

[0063] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0064] The program code used to implement the methods of this application may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing device, such that when executed by the processor or controller, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0065] In the context of this application, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0066] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0067] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.

[0068] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.

[0069] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this application can be achieved, and this is not limited herein.

[0070] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified.

[0071] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A control method for a touch screen, characterized in that, The method includes: When the touch screen is in the first mode, the first sensing data of the first space is detected. The first space is the space within a preset height range from the first surface. The first surface is the touch surface that the touch screen can touch. In the first mode, the touch screen responds to the touch signal applied to the first surface. In response to the first sensing data satisfying a preset condition, the touch screen is switched from the first mode to the second mode, wherein in the second mode, the touch screen responds to the touch signal applied to the first space.

2. The control method according to claim 1, characterized in that, When the touchscreen is in the first mode, detecting the first sensing data of the first space includes: When the first function of the touch screen is enabled and in the first mode, the first sensing data of the first space is detected, and the first function is the function of switching touch modes.

3. The control method according to claim 1, characterized in that, Before switching the touchscreen from the first mode to the second mode in response to the first sensing data satisfying a preset condition, the method further includes: In response to the first sensing data indicating that the distance between the touch source and the first surface belongs to the preset height range and the duration of the distance is greater than the first preset duration, it is determined that the first sensing data satisfies the preset condition.

4. The control method according to claim 1, characterized in that, Before switching the touchscreen from the first mode to the second mode in response to the first sensing data satisfying a preset condition, the method further includes: In response to the first sensing data indicating that the touch source is a palm, the distance between the touch source and the first surface is within the preset height range, and the duration of the contact is greater than the first preset duration, it is determined that the first sensing data meets the preset conditions.

5. The control method according to claim 1, characterized in that, The method further includes: Detecting second sensing data of the first surface; the detection process of the first sensing data and the second sensing data includes: alternately scanning each circuit channel of the first space and the first surface; In response to the first sensing data not meeting the preset conditions, the touch screen responds to the second sensing data to control the cursor.

6. The control method according to claim 1, characterized in that, The method further includes: When the touch screen is in the second mode, third sensing data of the first space is detected; In response to the third sensing data meeting preset conditions, the touch screen is switched from the second mode to the first mode.

7. The control method according to claim 1, characterized in that, The method further includes: When the touch screen is in the second mode, the fourth sensor data of the first space is detected; In response to the fourth sensor data indicating that the touch source is a finger, the cursor is controlled based on the movement of the finger.

8. A control device for a touch screen, characterized in that, The device includes: The detection module is used to detect the first sensing data of the first space when the touch screen is in the first mode. The first space is the space within a preset height range from the first surface. The first surface is the touch surface of the touch screen that can be touched. In the first mode, the touch screen responds to the touch signal applied to the first surface. A switching module is used to switch the touch screen from the first mode to the second mode in response to the first sensing data meeting a preset condition, wherein the touch screen responds to a touch signal applied to the first space in the second mode.

9. A touch screen, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.

10. An electronic device comprising a touch screen as described in claim 9.

11. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-7.