Method and device for detecting touch screen touch failure area and touch device
Patent Information
- Application Number
- CN202211110209.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-13
- Publication Date
- 2026-09-25
- Estimated Expiration
- 2042-09-13
AI Technical Summary
[0005]本申请示例性的实施方式提供一种触摸屏触控失效区的检测方法、装置及触摸设备,用于解决现有技术中测试过程耗时较长,且检测结果不够准确的问题
[0044]本申请提供的触摸屏触控失效区的检测方法、装置及触摸设备。通过每隔预设时间轮询检测触摸屏中是否存在触摸上报点,若存在,确定触摸上报点的标识id及位置信息。获取触摸上报点在触摸屏上的感应参数变化量,根据触摸上报点的标识id、位置信息及感应参数变化量,确定触摸上报点的所在区域是否为触控失效区。本申请的方法,缩短了检测时长,提高了检测结果的准确性。
Smart Images

Figure CN117743039B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of touch detection technology. More specifically, it relates to a method, apparatus, and touch device for detecting touch failure areas of a touchscreen. Background Technology
[0002] With the rapid development of touch technology, touch screens are becoming increasingly popular as a medium for human-computer interaction. Users interact by touching the touch screen, and the higher the sensitivity of the touch screen's touch function, the better the user experience.
[0003] When a touch device is operating normally, a sudden malfunction in the communication port can cause data loss at the touch points. This data loss can easily lead to touch malfunction, resulting in dead touch areas (or dead pixels) appearing in certain areas of the touchscreen. In existing technologies, the detection of touch failure areas on a touchscreen is performed by testers manually or using robotic arms to simulate finger tapping.
[0004] However, the existing technology testing process is time-consuming and the test results are not accurate enough. Summary of the Invention
[0005] This application provides an exemplary embodiment of a method, apparatus, and touch device for detecting touch failure areas of a touchscreen, which solves the problems of long testing time and inaccurate detection results in the prior art.
[0006] In a first aspect, embodiments of this application provide a method for detecting touch failure areas on a touchscreen, including:
[0007] The system polls and checks the touchscreen at preset intervals to detect whether there are any reported touch points.
[0008] If it exists, determine the identifier (id) and location information of the touch reporting point;
[0009] Obtain the change in sensing parameters of the touch reporting point on the touchscreen;
[0010] Based on the ID of the touch reporting point, the location information, and the change in the sensing parameters, determine whether the area where the touch reporting point is located is a touch failure zone.
[0011] In some possible implementations, the change in the sensing parameter includes scanning optical path information or capacitive sensing quantity;
[0012] The step of determining whether the area where the touch reporting point is located is a touch failure zone based on the touch reporting point's identifier ID, the location information, and the change in the sensing parameters includes:
[0013] Based on the scanned optical path information, determine whether there is optical path obstruction in the area where the touch reporting point is located, or determine whether it is less than a preset threshold based on the capacitance sensing value;
[0014] If there is no light path obstruction or the value is less than the preset threshold, a query instruction for the touch reporting point is sent to the operating system of the touch device. The query instruction contains the identifier ID and location information. The query instruction is used by the operating system to query whether there is abnormal touch landing data at the touch reporting point.
[0015] Receive the query results returned by the operating system;
[0016] If the query results contain abnormal touch landing data, then the area where the touch reporting point is located is a touch failure zone.
[0017] In some possible implementations, determining the identifier ID and location information of the touch reporting point includes:
[0018] If the detected touch reporting point is a discrete point, the touch reporting point is numbered to obtain an identifier (id), and its location information is recorded;
[0019] If a motion trajectory is detected as being formed by connecting consecutive touch reporting points, the touch reporting point at the starting point of the trajectory is numbered to obtain an identifier (id), and the location information of the ending point of the trajectory is recorded.
[0020] In some possible implementations, sending a query command for the touch reporting point to the operating system of the touch device includes:
[0021] Obtain the attribute configuration of the touch device;
[0022] Based on the attribute configuration, a query command for the touch reporting point is sent to the operating system of the touch device.
[0023] In some possible implementations, the attribute configuration includes configuring the touch device as driverless and single-operating system;
[0024] The step of sending a query command for the touch reporting point to the operating system of the touch device according to the attribute configuration includes:
[0025] Send a query command for the touch reporting point to the single operating system.
[0026] In some possible implementations, the attribute configuration also includes configuring the touch device as driverless and with a dual operating system;
[0027] The step of sending a query command for the touch reporting point to the operating system of the touch device according to the attribute configuration includes:
[0028] Send query commands for the touch reporting points to the dual operating systems respectively.
[0029] In some possible implementations, the attribute configuration further includes the touch device being configured to have a driver, a first operating system, and a second operating system, wherein the first operating system is used to obtain landing point data based on scanning optical path information or capacitive sensing amount, and send the landing point data to the second operating system;
[0030] The step of sending a query command for the touch reporting point to the operating system of the touch device according to the attribute configuration includes:
[0031] Send a query command for the touch reporting point to the second operating system.
[0032] In some possible implementations, after determining whether the area where the touch reporting point is located is a touch failure zone based on the identifier ID of the touch reporting point, the location information, and the change in the sensing parameters, the method further includes:
[0033] If the area where the reported touch point is located is determined to be a touch failure zone, a correction command is sent to the touch screen to eliminate the touch failure zone.
[0034] Secondly, embodiments of this application provide a device for detecting touch failure areas of a touchscreen, comprising:
[0035] The detection module is used to poll the touchscreen at preset time intervals to detect whether there are any touch reporting points.
[0036] The determination module is used to determine the identifier ID and location information of the touch reporting point if it exists.
[0037] The acquisition module is used to acquire the change in sensing parameters of the touch reporting point on the touch screen;
[0038] The determining module is further configured to determine whether the area where the touch reporting point is located is a touch failure zone based on the identifier ID of the touch reporting point, the location information, and the change in the sensing parameters.
[0039] Thirdly, embodiments of this application provide a touch device, including: at least one processor, and a memory communicatively connected to the processor;
[0040] The memory stores computer-executed instructions;
[0041] The processor executes computer execution instructions stored in the memory to implement the touch screen touch failure area detection method according to any one of the first aspects.
[0042] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the touchscreen touch failure area detection method described in any of the first aspects.
[0043] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the method for detecting touch failure areas of a touchscreen as described in any of the first aspects of this application.
[0044] This application provides a method, apparatus, and touch device for detecting touch failure zones on a touchscreen. It polls the touchscreen at preset time intervals to detect the presence of touch reporting points. If a point exists, its identifier (ID) and location information are determined. The change in sensing parameters of the touch reporting point on the touchscreen is acquired. Based on the ID, location information, and change in sensing parameters of the touch reporting point, it is determined whether the area where the touch reporting point is located is a touch failure zone. This method shortens the detection time and improves the accuracy of the detection results.
[0045] These and other aspects of this application will become more apparent in the description of the following embodiments(s). Attached Figure Description
[0046] To more clearly illustrate the implementation methods in the embodiments of this application or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings.
[0047] Figure 1 A flowchart illustrating a method for detecting touch failure areas on a touchscreen, provided in an embodiment of this application;
[0048] Figure 2 A flowchart illustrating a method for determining whether the area where a touch reporting point is located is a touch failure zone, as provided in this application;
[0049] Figure 3 This is a schematic diagram of the structure of a touch screen touch failure area detection device provided in an embodiment of this application;
[0050] Figure 4 This is a schematic diagram of the structure of a touch device provided in an embodiment of this application. Detailed Implementation
[0051] To make the objectives, implementation methods and advantages of this application clearer, the exemplary implementation methods of this application will be clearly and completely described below with reference to the accompanying drawings of the exemplary embodiments of this application. Obviously, the described exemplary embodiments are only some embodiments of this application, and not all embodiments.
[0052] Based on the exemplary embodiments described in this application, all other embodiments obtained by those skilled in the art without inventive effort are within the scope of protection of the appended claims. Furthermore, although the disclosures in this application are presented by way of one or more exemplary examples, it should be understood that each aspect of these disclosures can also constitute a complete implementation on its own.
[0053] It should be noted that the brief descriptions of terms in this application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.
[0054] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar or related objects or entities and do not necessarily imply a specific order or sequence, unless otherwise indicated. It should be understood that such terms can be used interchangeably where appropriate, for example, in situations where implementation is possible in a sequence other than those given in the embodiments illustrated or described in this application.
[0055] Furthermore, the terms “including” and “having”, and any variations thereof, are intended to cover but not exclusively include, for example, a product or device that includes a series of components is not necessarily limited to those components that are clearly listed, but may include other components that are not clearly listed or that are inherent to such product or device.
[0056] As used in this application, the term "module" refers to any known or subsequently developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code capable of performing the functions associated with that element.
[0057] With the rapid development of touch technology, more and more electronic products are using touchscreens as the medium for user interaction. As a positioning and input device, touchscreens allow users to interact with computers more conveniently and quickly through touch, swiping, or gestures. The higher the sensitivity of the touchscreen's touch function, the better the user experience.
[0058] When a touch device is operating normally, touch point information is transmitted through a serial communication port, also known as a serial port. Alternatively, it can be transmitted via a Universal Serial Bus (USB) connector. The touchscreen displays the information based on the positions and lines indicated in the transmitted data. During transmission, if a serial port or USB communication malfunctions, causing data loss at the touch points, this loss can easily lead to touch device malfunction. This results in dead zones (unresponsive areas) on the touchscreen, rendering subsequent single-click, double-click, and other touch operations ineffective and impacting user experience.
[0059] In existing technologies, the detection of touch failure areas on touchscreens involves testers manually or using robotic arms to simulate finger tapping. However, current testing processes are time-consuming and the results are not accurate enough, leading to prolonged recovery times for touch failure areas.
[0060] Therefore, to address the aforementioned technical problems of the prior art, this application proposes a method, apparatus, and touch device for detecting touch failure zones on a touchscreen. The method involves polling the touchscreen at preset time intervals to detect the presence of touch reporting points. If a point exists, its identifier (id) and location information are determined. The change in sensing parameters of the touch reporting point on the touchscreen is obtained. Based on the touch reporting point's identifier, location information, and the change in sensing parameters, it is determined whether the area where the touch reporting point is located is a touch failure zone. If the area where the touch reporting point is located is determined to be a touch failure zone, a correction command is sent to the touchscreen to eliminate the touch failure zone. This method can automatically identify and correct touch failure zones, shortening the detection time, improving the accuracy of the detection results, and enabling faster recovery of touch failure zones.
[0061] This application can be used in various types of electronic devices with touch functionality, such as infrared touchscreens, capacitive touchscreens, resistive touchscreens, and acoustic wave touchscreens. It is understood that the touchscreen touch failure area detection method proposed in this application includes, but is not limited to, the above scenarios, and these scenarios are not intended to limit this application. Furthermore, this application does not limit the specific use or size of the touch device.
[0062] Figure 1 This is a flowchart illustrating a method for detecting touch failure areas in a touchscreen according to an embodiment of this application. The executing entity of this method can be a touch-enabled all-in-one machine or other electronic devices with touch functionality, such as an infrared touchscreen or a capacitive touchscreen. The method in this embodiment can be implemented through software, hardware, or a combination of both. Figure 1 As shown, the method specifically includes the following steps:
[0063] S101. At preset intervals, poll and detect whether there are any touch reporting points on the touch screen.
[0064] When the touch device is in operation, if data is lost due to a serial port or USB communication failure, the touch function of the touch screen will be disabled. If more than a preset number of touches are detected on the touch screen within a certain time period, the touch device will be triggered to poll and check for touch reporting points at preset intervals. These touch reporting points can be either Touch (without a physical stylus) or Pen (with a physical stylus), and the information of the touch reporting points can be obtained from the touch device's background database.
[0065] S102. If it exists, determine the ID and location information of the touch reporting point.
[0066] If the detected touch reporting point is a discrete point, the touch reporting point is numbered to obtain an identifier (IdentityDocument, id), and its location information is recorded.
[0067] If a motion trajectory is detected as a continuous series of touch reporting points, the touch reporting points at the starting point of the trajectory are numbered to obtain an identifier (id), and the location information of the trajectory's ending point is recorded. It's important to note that because a motion trajectory is detected, according to the storage function settings in the touch device, the location information detected later will overwrite the previous location information. Therefore, the final result will be the location information of the motion trajectory's ending point.
[0068] S103. Obtain the change in sensing parameters of the touch reporting point on the touch screen.
[0069] For example, taking an infrared touchscreen as an example, an infrared touchscreen has infrared emitters and receivers installed around the screen to form an infrared light matrix. When a touch occurs, the touch point is located by continuously scanning and detecting in both horizontal and vertical directions, based on the infrared light obstruction, i.e., scanning light path information. Therefore, the change in sensing parameters in an infrared touchscreen can be represented as scanning light path information.
[0070] For example, a capacitive touchscreen uses electric field induction to sense the touchscreen surface. When a grounded object touches the screen, charge transfer occurs, causing a change in the capacitance distribution on the screen. The location of the touch point is determined based on the change in capacitance distribution, i.e., the capacitance induction. Therefore, the change in sensing parameters in a capacitive touchscreen can be expressed as the capacitance induction.
[0071] It is understandable that touchscreens can also be other types of touch devices. Depending on the different touch recognition principles of touch devices, the corresponding changes in sensing parameters will vary, which will not be elaborated here.
[0072] S104. Based on the ID, location information, and change in sensing parameters of the touch reporting point, determine whether the area where the touch reporting point is located is a touch failure zone.
[0073] After determining the identifier ID, location information, scanning optical path information, or capacitive sensing quantity of the touch reporting point according to steps S102 and S103, the touch failure area is determined.
[0074] After identifying the touch failure area, a correction command is sent to the touchscreen to eliminate the failure area. This correction command can be a Touch type command or a Pen type command. The failure area is eliminated according to the command content, thereby restoring the touchscreen's touch functionality.
[0075] In the above embodiments of this application, the presence of touch reporting points on the touchscreen is detected by polling at preset time intervals. If a touch reporting point exists, its identifier (id) and location information are determined. The change in sensing parameters of the touch reporting point on the touchscreen is obtained. Based on the identifier (id), location information, and change in sensing parameters of the touch reporting point, it is determined whether the area where the touch reporting point is located is a touch failure zone. This embodiment shortens the detection time and improves the accuracy of the detection results. After the touch failure zone is determined, the touchscreen sends a correction command to eliminate the touch failure zone, enabling the touch failure zone to recover as quickly as possible and greatly shortening the touchscreen repair time.
[0076] Furthermore, based on the above embodiments, the process of determining whether the area where the touch reporting point is located is a touch failure zone according to the identifier ID, location information, and change in sensing parameters of the touch reporting point in step S104 will be explained in detail below. Figure 2 As shown, Figure 2 This is a flowchart illustrating a method for determining whether the area where a touch reporting point is located is a touch failure zone, as provided in this application.
[0077] The changes in sensing parameters include scanning optical path information or capacitive sensing quantity.
[0078] S1041. Determine whether there is light path obstruction in the area where the touch reporting point is located based on the scan light path information, or determine whether it is less than a preset threshold based on the capacitance sensing value.
[0079] S1042. If there is no light path obstruction or the value is less than a preset threshold, it indicates that the touchscreen is currently untouched. A query command for the touch reporting point is sent to the operating system of the touch device. The query command contains the identifier ID and location information. The query command is used by the operating system to check whether there is any abnormal touch landing data at the touch reporting point. The query command is shown in Table 1.
[0080] Table 1
[0081] 0 Operating system identifier 1 Query command
[0082] After receiving the query command, the operating system responds accordingly, checking whether there is any abnormal touch landing data at the reported touch points. If so, the results are shown in Table 2. The query command can send 64 bytes at a time, where n represents the nth reported touch point, and the value of n ranges from 0 to 10.
[0083] Table 2
[0084]
[0085]
[0086] If it does not exist, see Table 3.
[0087] Table 3
[0088] 0 Operating system identifier 1 Query command 2 00 3 00
[0089] S1043. Receive the query results from the operating system.
[0090] S1044. If abnormal touch landing data is found in the query results, the area where the touch reporting point is located is the touch failure zone.
[0091] If it does not exist, re-execute the query command for the touch reporting point sent to the operating system of the touch device.
[0092] In the above embodiments of this application, by sending a query command to the operating system and determining whether the area where the touch reporting point is located is a touch failure area based on whether there is abnormal touch landing data in the query results returned by the operating system, the result is more accurate.
[0093] Furthermore, the following embodiment illustrates a method for detecting touch failure areas of a touchscreen device under different attribute configurations. First, the attribute configuration of the touchscreen device is obtained, including configurations such as the touchscreen device being driverless and operating system-only, driverless and operating system-dual, and driver-enabled and operating system-dual. This embodiment uses an infrared touchscreen as an example.
[0094] One possible approach is:
[0095] The infrared touchscreen is configured to be driverless and have a single operating system. Driverless means that the scanning function and calculation function based on the scanned data of the infrared touchscreen are all completed by its internal main chip with data processing capabilities, rather than an operating system.
[0096] Specifically,
[0097] The control system polls the touchscreen at preset intervals to detect whether there are any reported touch points and determines their identifier ID and location information.
[0098] The main chip of the infrared touchscreen controls the scanning module to scan the light path of the touchscreen and obtain scanning light path information. Based on this information, if it determines that no one is currently touching the screen, it sends a query command to the operating system.
[0099] The operating system responds to the query command and returns the query result.
[0100] The infrared touchscreen determines whether the area where the reported touch point is located is a touch failure zone based on the query result. If so, it sends a correction command to the touchscreen control circuit to eliminate the touch failure zone.
[0101] Another option is:
[0102] The infrared touchscreen is configured to be driverless and have a dual operating system.
[0103] Specifically,
[0104] The dual operating systems are controlled to poll the touchscreen at preset intervals to detect whether there are any reported touch points and determine their identifiers (IDs) and location information.
[0105] The main chip of the infrared touchscreen controls the scanning module to scan the light path of the touchscreen and obtain scanning light path information. Based on this information, if it determines that no one is currently touching the screen, it sends query commands to both operating systems.
[0106] The two operating systems should each respond to the query command and provide the query results.
[0107] The infrared touchscreen determines whether the area where the reported touch point is located is a touch failure zone based on the query result. If so, it sends a correction command to the touchscreen control circuit to eliminate the touch failure zone.
[0108] Another option is:
[0109] The infrared touchscreen is configured with a driver and a dual operating system, consisting of a first operating system and a second operating system. The driver means that the scanning function of the infrared touchscreen is handled by its internal main chip, while the calculations based on the scan data are performed by the operating system.
[0110] The main chip of the infrared touch screen controls the scanning module to scan the light path of the touch screen and send it to the first operating system. The first operating system calculates the landing point data based on the scanned light path information and sends the landing point data to the second operating system through the touch screen. Abnormal touch landing point data will be included in the landing point data.
[0111] The second operating system controls the system to poll and detect the touch screen at preset intervals to determine whether there are any reported touch points and to identify their ID and location information.
[0112] When the main chip of the infrared touchscreen determines that no one is touching it based on the landing point data calculated by the first operating system, it sends a query command to the second operating system.
[0113] The second operating system responds to the query command and returns the query result.
[0114] The infrared touchscreen determines whether the area where the reported touch point is located is a touch failure zone based on the query result. If so, it sends a correction command to the touchscreen control circuit to eliminate the touch failure zone.
[0115] In the above embodiments of this application, a method for detecting touch failure areas of a touch device under different attribute configurations is described. The method of this embodiment improves the applicability to touch devices with different attribute configurations.
[0116] Figure 3 This is a schematic diagram of a touch screen touch failure area detection device provided in an embodiment of this application, as shown below. Figure 3 As shown, the device provided in this application embodiment includes: a detection module 301, a determination module 302, and an acquisition module 303.
[0117] The detection module 301 is used to poll and detect whether there are any touch reporting points on the touch screen at preset time intervals.
[0118] The determination module 302 is used to determine the identifier ID and location information of the touch reporting point if it exists.
[0119] The acquisition module 303 is used to acquire the change in sensing parameters of the touch reporting point on the touch screen.
[0120] The determination module 302 is also used to determine whether the area where the touch reporting point is located is a touch failure zone based on the ID, location information and change in sensing parameters of the touch reporting point.
[0121] In some possible implementations, the changes in sensing parameters include scanning optical path information or capacitive sensing values, and the determining module 302 can be specifically used for:
[0122] The system can determine whether there is light path obstruction in the area where the touch reporting point is located based on the scanned light path information, or whether it is less than a preset threshold based on the capacitance sensing value.
[0123] If there is no light path obstruction or the threshold is less than the preset threshold, a query command for the touch reporting point is sent to the operating system of the touch device. The query command contains the identifier ID and location information. The query command is used by the operating system to check whether there is abnormal touch landing data at the touch reporting point.
[0124] Receive query results from the operating system.
[0125] If the query results contain abnormal touch landing data, then the area where the touch reporting point is located is the touch failure zone.
[0126] In some possible implementations, the determining module 302 can be specifically used for:
[0127] If the detected touch reporting point is a discrete point, the touch reporting point is numbered to obtain an identifier (id), and its location information is recorded.
[0128] If a motion trajectory is detected as being formed by a series of consecutive touch reporting points, the touch reporting point at the starting point of the trajectory is numbered to obtain an identifier (id), and the location information of the trajectory's ending point is recorded.
[0129] In some possible implementations, the determining module 302 can also be specifically used for:
[0130] Get the property configuration of the touch device.
[0131] Based on the attribute configuration, a query command for the touch reporting points is sent to the operating system of the touch device.
[0132] In some possible implementations, the attribute configuration includes configuring the touch device as driverless and operating system-single. The determination module 302 can also be specifically used for:
[0133] Send a query command for the touch reporting point to a single operating system.
[0134] In some possible implementations, the attribute configuration also includes configuring the touch device as driverless and dual-operating system. The determination module 302 can also be specifically used for:
[0135] Send query commands for touch-reported points to both operating systems respectively.
[0136] In some possible implementations, the attribute configuration also includes configuring the touch device as having a driver, a first operating system, and a second operating system. The first operating system is used to obtain the landing point data based on the scanning optical path information or the capacitive sensing amount, and send the landing point data to the second operating system. The determining module 302 can also be specifically used for:
[0137] Send a query command for the touch reporting points to the second operating system.
[0138] In some possible implementations, the device also includes a processing module for sending a correction command to the touchscreen to eliminate the touch failure area if the area where the reported touch point is located is determined to be a touch failure area.
[0139] The touch screen touch failure area detection device provided in this embodiment is used to execute the aforementioned method embodiment. Its implementation principle and technical effect are similar, and will not be described again.
[0140] Figure 4 This is a schematic diagram of the structure of a touch device provided in an embodiment of this application, such as... Figure 4 As shown, the device may include: at least one processor 401 and a memory 402 communicatively connected to the processor 401.
[0141] The memory 402 is used to store programs. Specifically, the program may include program code, which includes computer operation instructions.
[0142] Memory 402 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0143] The processor 401 is used to execute computer execution instructions stored in the memory 402 to implement the method described in the foregoing method embodiments. The processor 401 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.
[0144] Optionally, the refrigerator may also include a communication interface 403. In specific implementations, if the communication interface 403, memory 402, and processor 401 are implemented independently, they can be interconnected via a bus to complete communication. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc., but this does not imply that there is only one bus or one type of bus.
[0145] Optionally, in a specific implementation, if the communication interface 403, memory 402, and processor 401 are integrated onto a single chip, then the communication interface 403, memory 402, and processor 401 can communicate through an internal interface. It is understandable that... Figure 4 The locations of the devices in this example are for illustrative purposes only and are not intended to be limiting.
[0146] The touch device provided in this embodiment is used to execute the method executed in the aforementioned embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.
[0147] This application also provides a computer-readable storage medium, which may include various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. Specifically, the computer-readable storage medium stores computer-executable instructions, which are used by a processor to execute the methods described in the above embodiments.
[0148] This application also provides a computer program product including executable instructions stored in a readable storage medium. At least one processor of an electronic device can read the executable instructions from the readable storage medium, and the at least one processor executes the executable instructions to cause the electronic device to perform the methods provided in the various embodiments described above.
[0149] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
[0150] For ease of explanation, the above description has been provided in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Various modifications and variations can be obtained based on the above teachings. The selection and description of the above embodiments are for the purpose of better explaining the principles and practical applications, thereby enabling those skilled in the art to better utilize the embodiments and various different variations of embodiments suitable for specific application considerations.
Claims
1. A method for detecting touch failure areas in a touchscreen, characterized in that, include: The system polls and checks the touchscreen at preset intervals to detect whether there are any reported touch points. If it exists, determine the identifier (id) and location information of the touch reporting point; The change in sensing parameters of the reported touch point on the touchscreen is obtained. The change in sensing parameters includes scanning optical path information or capacitive sensing information. The scanning optical path information is obtained by the infrared touchscreen through scanning detection and is used to locate the touch point position based on the occlusion of infrared light. The capacitive sensing information is sensed by the capacitive touchscreen and is used to locate the touch point position based on the change in capacitance distribution on the screen. Based on the scanned optical path information, determine whether there is optical path obstruction in the area where the touch reporting point is located, or determine whether it is less than a preset threshold based on the capacitance sensing value; If there is no light path obstruction or the value is less than the preset threshold, a query instruction for the touch reporting point is sent to the operating system of the touch device. The query instruction contains the identifier ID and location information. The query instruction is used by the operating system to query whether there is abnormal touch landing data at the touch reporting point. Receive the query results returned by the operating system; If abnormal touch landing data is found in the query results, the area where the touch reporting point is located is determined to be a touch failure zone.
2. The method according to claim 1, characterized in that, Determining the identifier ID and location information of the touch reporting point includes: If the detected touch reporting point is a discrete point, the touch reporting point is numbered to obtain an identifier (id), and its location information is recorded; If a motion trajectory is detected as being formed by connecting consecutive touch reporting points, the touch reporting point at the starting point of the trajectory is numbered to obtain an identifier (id), and the location information of the ending point of the trajectory is recorded.
3. The method according to claim 1 or 2, characterized in that, Sending a query command for the touch reporting point to the operating system of the touch device includes: Obtain the attribute configuration of the touch device; Based on the attribute configuration, a query command for the touch reporting point is sent to the operating system of the touch device.
4. The method according to claim 3, characterized in that, The attribute configuration includes configuring the touch device as driverless and single operating system; The step of sending a query command for the touch reporting point to the operating system of the touch device according to the attribute configuration includes: Send a query command for the touch reporting point to the single operating system.
5. The method according to claim 3, characterized in that, The attribute configuration also includes configuring the touch device as driverless and with dual operating systems; The step of sending a query command for the touch reporting point to the operating system of the touch device according to the attribute configuration includes: Send query commands for the touch reporting points to the dual operating systems respectively.
6. The method according to claim 3, characterized in that, The attribute configuration also includes configuring the touch device as having a driver, a first operating system, and a second operating system. The first operating system is used to obtain landing point data based on scanning optical path information or capacitive sensing amount, and send the landing point data to the second operating system. The step of sending a query command for the touch reporting point to the operating system of the touch device according to the attribute configuration includes: Send a query command for the touch reporting point to the second operating system.
7. The method according to claim 1, characterized in that, After determining whether the area where the touch reporting point is located is a touch failure zone based on the touch reporting point's identifier ID, the location information, and the change in the sensing parameters, the process further includes: If the area where the reported touch point is located is determined to be a touch failure zone, a correction command is sent to the touch screen to eliminate the touch failure zone.
8. A device for detecting touch failure areas of a touchscreen, characterized in that, include: The detection module is used to poll the touchscreen at preset time intervals to detect whether there are any touch reporting points. The determination module is used to determine the identifier ID and location information of the touch reporting point if it exists. The acquisition module is used to acquire the change in sensing parameters of the touch reporting point on the touch screen; The determining module is further configured to determine whether the area where the touch reporting point is located is a touch failure zone based on the identifier ID of the touch reporting point, the location information, and the change in the sensing parameters; The changes in the sensing parameters include scanning optical path information or capacitive sensing quantity; wherein, the scanning optical path information is information obtained by the infrared touchscreen through scanning detection, used to locate the touch point position based on the occlusion of infrared light; the capacitive sensing quantity is information sensed by the capacitive touchscreen, used to locate the touch point position based on the changes in the capacitance distribution on the screen. The determining module is specifically used to determine whether there is light path obstruction in the area where the touch reporting point is located based on the scanning light path information, or to determine whether the capacitance sensing amount is less than a preset threshold based on the capacitance sensing amount. If there is no light path obstruction or the value is less than the preset threshold, a query instruction for the touch reporting point is sent to the operating system of the touch device. The query instruction contains the identifier ID and location information. The query instruction is used by the operating system to query whether there is abnormal touch landing data at the touch reporting point. Receive the query results returned by the operating system; If abnormal touch landing data is found in the query results, the area where the touch reporting point is located is determined to be a touch failure zone.
9. A touch device, characterized in that, include: At least one processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the touch screen touch failure area detection method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method for detecting a touchscreen failure area as described in any one of claims 1 to 7.
11. A computer program product, characterized in that, The method includes a computer program that, when executed by a processor, implements the method for detecting a touchscreen failure area as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Touch screen failure processing method, storage medium and mobile terminal
CN107608521A
Abnormity detection method and device, storage medium and terminal equipment
CN110703937A
Touch detection method, electronic equipment and detection chip
CN113157121A