A touch screen detection method, device and touch screen
By configuring a dual-set detection terminal switching design in the train touch screen, the problem of non-responsive operation caused by electromagnetic compatibility interference and faults is solved, safe redundancy switching is achieved, the safety level and fault location capability of the touch screen are improved, and the reliability of train operation is ensured.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CRRC ZHUZHOU ELECTRIC LOCOMOTIVE RESEARCH INSTITUTE CO LTD
- Filing Date
- 2022-05-17
- Publication Date
- 2026-06-26
AI Technical Summary
In the field of rail transit, train touch screens are susceptible to electromagnetic compatibility interference and may malfunction, resulting in unresponsive operation and affecting driving safety.
It adopts a dual-set detection terminal design, including a first set and a second set of detection terminals. The first control unit and the second control unit switch to detect the touch screen signal, and the main control unit determines the touch screen status, providing a safe and redundant switching function.
The touchscreen has improved safety and reliability, enabling rapid fault location, ensuring normal train operation, and enhancing driving safety.
Smart Images

Figure CN117111759B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of touch screen technology, and in particular to a touch screen testing method, apparatus and touch screen. Background Technology
[0002] In the rail transit sector, drivers can control trains and handle abnormal situations via touchscreens. However, due to the complex operating environment of trains and the fact that train power supplies are high-voltage electricity, which is converted into weak electrical signals usable by display terminals through various devices, serious electromagnetic compatibility issues arise during this conversion process. Some devices may emit radiation, all of which can interfere with the touchscreen display. Furthermore, with increased usage time, touchscreens or wiring may malfunction, leading to unresponsive touchscreens and ineffective train operation, severely impacting driving safety. Summary of the Invention
[0003] In view of this, the purpose of this application is to provide a touch screen detection method, apparatus and touch screen, which can realize touch screen detection.
[0004] To achieve the above objectives, this application provides a touchscreen detection device, including a first set of detection terminals for detecting touchscreen signals under the control of a first control unit, and further comprising:
[0005] The second set of detection terminals is used to detect the touch screen signal under the control of the second control unit when the first set of detection terminals does not detect the touch screen signal in the touch state.
[0006] The main control unit is used to determine the touchscreen state based on the touchscreen signals.
[0007] Optionally, the main control unit is configured to send a switching command to the second control unit when it does not receive a touchscreen signal detected by the first group of detection terminals in the touch state, so that the second control unit controls the second group of detection terminals to detect the touchscreen signal according to the switching command.
[0008] Optionally, the main control unit is used to output a screen abnormality signal when it is determined that the touch screen signal has reached a preset abnormal condition.
[0009] Optionally, the touchscreen signal includes a voltage signal of the contact resistance;
[0010] The main control unit is configured to output a screen touch error signal when it determines that the voltage signal is greater than a preset first voltage threshold, and to output a screen damage signal when it determines that the voltage signal is less than a preset second voltage threshold and the duration of the voltage signal reaching the second voltage threshold reaches a preset time threshold.
[0011] Optionally, the touchscreen signal includes a voltage signal at the touch position;
[0012] The main control unit is used to record the touch time at the touch position based on the voltage signal, and predict the lifespan of the touch screen based on the touch time.
[0013] Optionally, the first set of detection terminals and the second set of detection terminals are respectively connected to the input and output terminals of the first control unit and the second control unit through an inner perimeter circuit for adjusting linearity, a conductive film disposed at a predetermined position on the touch screen, and an outer perimeter circuit.
[0014] Optionally, the second set of detection terminals includes four detection terminals extending from the first conductive layer of the five-wire resistive touchscreen and one active terminal extending from the second conductive layer of the five-wire resistive touchscreen.
[0015] Optionally, the first set of detection terminals and / or the second set of detection terminals may further include alignment terminals for positioning the welding position.
[0016] Optionally, the peripheral circuitry, the first control unit, and the second control unit are arranged on a flexible circuit board.
[0017] This application embodiment also provides a touchscreen detection method, including: using a first control unit to control a first group of detection terminals to detect touchscreen signals, and further including:
[0018] In touch mode, when the first set of detection terminals does not detect a touchscreen signal, the second control unit controls the second set of detection terminals to detect the touchscreen signal; and
[0019] The main control unit determines the touchscreen state based on the touchscreen signals.
[0020] This application also provides a touch screen, including the aforementioned touch screen detection device.
[0021] As can be seen from the above, the touch screen detection method, apparatus and touch screen provided in this application include a first set of detection terminals for detecting touch screen signals under the control of a first control unit, a second set of detection terminals for detecting touch screen signals under the control of a second control unit when the first set of detection terminals does not detect touch screen signals in the touch state, and a main control unit for determining the touch screen state based on the touch screen signals; by configuring two sets of detection terminals, it is beneficial to locate touch screen faults, and the provided touch screen has a safe redundancy switching function, which improves the safety level of the display screen. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in this application or related technologies, the drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 This is a schematic diagram of the device structure according to an embodiment of this application;
[0024] Figure 2 This is a schematic diagram of the touchscreen structure according to an embodiment of this application;
[0025] Figure 3 This is a schematic cross-sectional view of the touchscreen structure according to an embodiment of this application;
[0026] Figure 4 This is a schematic diagram of the method flow of an embodiment of this application;
[0027] Figure 5 This is a schematic diagram of the electronic device structure according to an embodiment of this application. Detailed Implementation
[0028] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with specific embodiments and the accompanying drawings.
[0029] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this application should have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms "first," "second," and similar terms used in the embodiments of this application do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are only used to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0030] In related technologies, a five-wire resistive touch screen includes a base layer, a first conductive layer, an insulating layer, a second conductive layer, and a protective layer arranged sequentially. The X electrode and Y electrode are attached to the first conductive layer and four detection terminals RT, RL, LL, and LT are led out from the first conductive layer. The active electrode is attached to the second conductive layer and an active terminal SG is led out from the second conductive layer. The four detection terminals and one active terminal constitute a set of detection terminals for the five-wire resistive touch screen.
[0031] When a five-wire resistive touchscreen is working, a driving voltage is applied to the RT detection terminal, and the RL detection terminal is grounded. The X and Y coordinates of the touch point are measured. To measure the X coordinate, a driving voltage is applied to the LL detection terminal, and the LT detection terminal is grounded. The voltage signal from the SG active terminal is output, and the X coordinate value is determined based on this voltage. To measure the Y coordinate, a driving voltage is applied to the LT detection terminal, and the LL detection terminal is grounded. The voltage signal from the SG active terminal is output, and the Y coordinate value is determined based on this voltage. To measure the contact resistance, the RT and LT detection terminals are shorted, and the RL and LL detection terminals are connected to the negative terminal of the driving power supply. The voltage signal from the SG active terminal is output, and the contact resistance value is calculated based on this voltage.
[0032] In some application scenarios, five-wire resistive touchscreens may experience temporary unresponsiveness or insensitivity due to various factors such as usage duration, complex external environments, the presence of foreign objects, or damage. Unresponsiveness may also be caused by firmware failures, wiring faults, interface failures, or control system malfunctions. Another possibility is that the touchscreen itself is not faulty, but the software running on it has a problem, leading to unresponsiveness during touch operations. To ensure safe train operation, the touchscreen must be able to operate normally so that the driver can perform timely and effective operations, ensuring driving safety.
[0033] A five-wire resistive touchscreen with a set of detection terminals is not very reliable. When a valid voltage signal cannot be detected through this set of detection terminals, it is impossible to determine whether the fault is with the touchscreen itself or with the circuitry, interface, or control system of the detection terminals. Further testing of the touchscreen firmware, circuitry, interface, and control system is required to determine the cause of the fault.
[0034] In view of this, the present application provides a touch screen detection device, including a first set of detection terminals and a second set of detection terminals. During use, when the first set of detection terminals cannot detect a valid touch screen signal, the first set of detection terminals is switched to the second set of detection terminals, and the touch screen signal is detected by the second set of detection terminals. The touch screen state is determined based on the touch screen signal detected by the first or second set of detection terminals.
[0035] The touch screen testing device provided in this application will be described in detail below with reference to the accompanying drawings and embodiments.
[0036] like Figure 1 As shown, this application embodiment provides a touch screen detection device, including:
[0037] The first set of detection terminals 20 is used to detect touch screen signals under the control of the first control unit 21;
[0038] The second set of detection terminals 30 is used to detect the touch screen signal under the control of the second control unit 31 when the first set of detection terminals 20 does not detect the touch screen signal in the touch state.
[0039] The main control unit 40 is used to determine the touch screen status based on the touch screen signal.
[0040] The touchscreen detection device provided in this application embodiment is applied to a five-wire resistive touchscreen. The five-wire resistive touchscreen includes a first set of detection terminals 20, which includes four detection terminals (RT, RL, LL, LT) leading out from a first conductive layer and an active terminal (SG) leading out from a second conductive layer. A first control unit 21 applies a driving voltage to the RT detection terminal and grounds the RL detection terminal to detect the touchscreen signal of the five-wire resistive touchscreen. The first control unit 21 applies a driving voltage to the LL detection terminal and grounds the LT detection terminal. The first control unit 21 receives the voltage signal output from the active terminal (SG) and determines the X-coordinate value of the touch point based on the voltage signal. The first control unit 21 applies a driving voltage to the LT detection terminal and grounds the LL detection terminal. The first control unit 21 receives the voltage signal output from the active terminal (SG) and determines the Y-coordinate value of the touch point based on the voltage signal. The first control unit 21 short-circuits the RT and LT detection terminals and connects the RL and LL detection terminals to the negative terminal of the driving power supply. The first control unit 21 receives the voltage signal output from the active terminal (SG) and determines the contact resistance based on the voltage signal. The touchscreen pressing state (pressed, released, etc.) is determined based on the magnitude of the contact resistance.
[0041] When the touchscreen is touched and the first set of detection terminals 20 does not detect the touchscreen signal (voltage signals at the X and Y coordinates of the touch position), it could be due to a touchscreen malfunction, a wiring or interface fault in the first set of detection terminals 20, or a problem with the first control unit 21. Therefore, using only the first set of detection terminals 20 is not sufficient to pinpoint the fault.
[0042] In this embodiment, the touchscreen detection device further includes a second set of detection terminals 30. When the screen is touched and the first set of detection terminals 20 does not detect a touchscreen signal, the system switches to the second set of detection terminals 30, which is controlled by the second control unit 31 to detect the touchscreen signal. The second set of detection terminals 30 includes four detection terminals (RT, RL, LL, LT) extending from the first conductive layer and an active terminal (SG) extending from the second conductive layer. The second control unit 31 applies a driving voltage to the RT detection terminal and grounds the RL detection terminal to detect the touchscreen signal of the five-wire resistive touchscreen. The second control unit 31 applies a driving voltage to the LL detection terminal and grounds the LT detection terminal. The second control unit 31 receives the voltage signal output from the active terminal (SG) and determines the X-coordinate value of the touch point based on this voltage signal. The second control unit 31 applies a driving voltage to the LT detection terminal and grounds the LL detection terminal. The second control unit 31 receives the voltage signal output from the active terminal (SG) and determines the Y-coordinate value of the touch point based on this voltage signal. The second control unit 31 short-circuit the RT detection terminal and the LT detection terminal, and connects the RL detection terminal and the LL detection terminal to the negative terminal of the drive power supply. The second control unit 31 receives the voltage signal output by the SG active terminal, determines the contact resistance based on the voltage signal, and determines the touch screen pressing state based on the magnitude of the contact resistance.
[0043] The main control unit 40 receives touchscreen signals detected by the first set of detection terminals 20 or the second set of detection terminals 30, and determines the touchscreen state based on the touchscreen signals. When the first set of detection terminals 20 can detect the touchscreen signal, the first control unit 21 receives the touchscreen signal, processes the touchscreen signal to obtain the X-coordinate value, Y-coordinate value, and contact resistance of the touch position, and transmits the X-coordinate value, Y-coordinate value, and contact resistance to the main control unit 40. The main control unit 40 determines the touchscreen state based on the received touch position and contact resistance. If the first set of detection terminals 20 does not detect the touchscreen signal, the second set of detection terminals 30 detects the touchscreen signal. The second control unit 31 receives the touchscreen signal, processes the touchscreen signal to obtain the X-coordinate value, Y-coordinate value, and contact resistance of the touch position, and transmits the X-coordinate value, Y-coordinate value, and contact resistance to the main control unit 40. The main control unit 40 determines the touchscreen state based on the received touch position and contact resistance. Optionally, the touchscreen state includes states such as pressed, released, and no press at the touch position.
[0044] In some embodiments, the main control unit 40 is configured to send a switching command to the second control unit 31 when it does not receive a touchscreen signal detected by the first set of detection terminals 20 in the touch state, so that the second control unit 31 controls the second set of detection terminals 30 to detect the touchscreen signal according to the switching command.
[0045] In this embodiment, during detection, the first set of detection terminals 20 is used to detect the touchscreen signal. When the touchscreen is touched, the main control unit 40 receives the touch position and contact resistance sent by the first control unit 21. If the touchscreen is detected, but the main control unit 40 does not receive the touch position from the first set of detection terminals 20, the main control unit 40 sends a switching command to the second control unit 30 to switch the second set of detection terminals 30 in a timely manner. After receiving the switching command, the second control unit 30 controls the second set of detection terminals 30 to detect the touchscreen signal by applying a driving voltage to the corresponding terminals or grounding them. This seamless switching safety redundancy design enables effective touchscreen detection.
[0046] In some embodiments, the main control unit 40 is used to output a screen abnormality signal when it determines that the touchscreen signal has reached a preset abnormality condition. During the detection process, the main control unit 40 receives the touchscreen signal detected by the first set of detection terminals 20 or the second set of detection terminals 30, determines whether the touchscreen is abnormal based on the received touchscreen signal, and when the touchscreen signal reaches the set abnormality condition, it determines that the touchscreen is abnormal and outputs a screen abnormality signal.
[0047] In some embodiments, the touchscreen signal includes a voltage signal of the contact resistance; when the main control unit determines that the voltage signal is greater than a preset first voltage threshold, it outputs a screen mis-touch signal; when the main control unit determines that the voltage signal is less than a preset second voltage threshold, and the duration of the voltage signal reaching the second voltage threshold reaches a preset time threshold, it outputs a screen abnormal press signal.
[0048] In this embodiment, based on the voltage signal of the detected contact resistance, the main control unit can set multiple thresholds for determining the type of fault. If the detected voltage signal is greater than the first voltage threshold, the screen may be accidentally touched, and an accidental screen touch signal is output to remind the user. If the detected voltage signal is less than the preset second voltage threshold, and the duration reaches the preset time threshold, it can be determined that the screen is in a pressed state, the touch position may be damaged, or a foreign object is pressing the screen continuously. In this case, an abnormal screen press signal is output to remind the user.
[0049] Optionally, when a screen malfunction is detected, the main control unit 40 can output a signal indicating accidental screen contact or abnormal screen press to the alarm unit, which then outputs an alarm signal. For example, when an accidental touch is detected, the control indicator light flashes red; when an abnormal screen press is detected, the control indicator light flashes yellow. The specific method of alarm notification is not limited.
[0050] In some embodiments, the touchscreen signal includes a voltage signal at the touch location; the main control unit is used to record the touch time at the touch location based on the voltage signal, and predict the lifespan of the touchscreen based on the touch time.
[0051] In this embodiment, the main control unit 40 can also predict the lifespan of the touchscreen based on the received touchscreen signals. After receiving the voltage signal at the touch position, the main control unit 40 determines the touch position, records the touch position and the touch time at each touch position, statistically analyzes the touch positions and their touch times over a certain period of time, determines the used time of the touchscreen based on the statistical results, and predicts the lifespan of the touchscreen. When the predicted lifespan of the touchscreen reaches the preset lifespan, an alarm prompt can be output to remind the user that the touchscreen needs to be replaced in a timely manner, ensuring that the touchscreen does not affect normal use.
[0052] like Figure 1 , 2 As shown in Figure 3, this application embodiment provides a five-wire resistive touchscreen 10 including a touchscreen detection device. The five-wire resistive touchscreen 10 has a multi-layer structure, which includes a base layer 11, a first conductive layer 12, an insulating layer 13, a second conductive layer 14, and a protective layer 15 arranged sequentially.
[0053] The base layer 11 can be made of glass or a flexible transparent material (e.g., PET, polyethylene terephthalate) to support the multi-layer structure. A first conductive layer 12, which can be a transparent ITO film, is coated on the base layer 11. The protective layer 15 can be made of polyester or PET material, and a second conductive layer 14, which can be a transparent ITO film or conductive glass, is coated below the protective layer 15. An insulating layer 13, which can be an elastic insulating gasket, is placed between the base layer 11 and the protective layer 15 (the first conductive layer 12 and the second conductive layer 14) to maintain an air gap between them. The lifespan of the screen can be adjusted by changing the thickness of the elastic insulating gasket. When the screen is touched, pressure is applied to the protective layer 15, causing it to contact the base layer 11. A drive signal is then applied to the detection terminal via the control unit to detect the voltage signal at the touch point. The above is an example of the layer structure of a five-wire resistive touchscreen; the specific configuration of the layer structure is not limited.
[0054] Combination Figure 2As shown, in some embodiments, the first set of detection terminals 20 and the second set of detection terminals 30 are respectively connected to the input / output terminals of the first control unit 21 and the second control unit 31 through an inner perimeter circuit 22 for adjusting linearity, a conductive film 23 disposed at a predetermined position on the touch screen, and an outer perimeter circuit 24. Specifically, the first set of detection terminals 20 is connected to the input / output terminals of the first control unit 21 through a set of inner perimeter circuits, a conductive film, and outer perimeter circuits, and the second set of detection terminals 30 is connected to the input / output terminals of the second control unit 31 through another set of inner perimeter circuits, a conductive film, and outer perimeter circuits. That is, the circuits, interfaces, and control units of the first set of detection terminals 20 and the second set of detection terminals 30 are all independently configured and do not interfere with each other. When there is a problem with the circuits, interfaces, or control unit of the first set of detection terminals 20, the touch screen signal can be detected using the second set of detection terminals 30.
[0055] In some configurations, the inner perimeter circuitry 22 is arranged around the first conductive layer 12 to adjust the linearity of the resistive touchscreen. The conductive film 23 is located at the four corners of the first conductive layer 12. The inner perimeter circuitry 22 is connected to the conductive film 23, and one end of the outer perimeter circuitry 24 extends from the conductive film 23, while the other end connects to the input / output terminals of the first control unit 21 or the second control unit 31, thus achieving an electrical connection between the detection terminals and the control unit.
[0056] In some embodiments, the peripheral circuit 24, the first control unit 21 and the second control unit 31 are arranged on the flexible circuit board. To achieve accurate installation, the first set of detection terminals 20 and / or the second set of detection terminals 30 also include alignment terminals 25 for positioning the welding position.
[0057] This application provides a touchscreen detection device applied to a five-wire resistive touchscreen. The device includes a first set of detection terminals and a second set of detection terminals. During touchscreen use, the first set of detection terminals detects touchscreen signals. When the first set of detection terminals does not detect a touchscreen signal, the second set of detection terminals is switched to detect the touchscreen signal. The main control unit is used to switch to the second set of detection terminals when no touchscreen signal is received from the first set of detection terminals. It also processes the received touchscreen signals from either the first or second set of detection terminals to determine the touchscreen status. For example, if the first set of detection terminals detects a touchscreen signal, it determines that the touchscreen is functioning normally and can determine the pressed / released state of a certain touch position based on the touchscreen signal. If the second set of detection terminals detects a touchscreen signal, it determines that there is a problem such as misoperation or screen damage. Further, the circuitry, interfaces, or control unit of the first set of detection terminals can be inspected to determine the fault location. If neither set of detection terminals detects a touchscreen signal, the touchscreen firmware can be further inspected to determine the fault location. Thus, configuring two sets of detection terminals facilitates the location of touchscreen faults.
[0058] As described above, the first set of detection terminals, under the control of the first control unit, detects the touchscreen signal. In abnormal situations, when the first control unit fails to detect the touchscreen signal, the main control unit promptly switches to the second control unit, achieving safe redundancy switching. In designs and systems with high safety requirements for some display products, this touchscreen redundancy design can improve the safety level of the display product and extend its service life. Optionally, the safe redundancy design of this application can be applied to various types of touchscreen products, such as resistive touchscreens and capacitive touchscreens, to improve product safety and extend product service life.
[0059] Based on the same inventive concept, corresponding to any of the above-described embodiments, this application also provides a touch screen detection method.
[0060] refer to Figure 4 The touchscreen detection method includes:
[0061] S401: The first control unit controls the first set of detection terminals to detect touch screen signals;
[0062] S402: In touch mode, determine whether the first group of detection terminals detects a touch screen signal;
[0063] S403: If the first set of detection terminals does not detect the touch screen signal, the second control unit controls the second set of detection terminals to detect the touch screen signal.
[0064] S404: The main control unit determines the touch screen status based on the touch screen signal.
[0065] The methods described above are implemented based on the corresponding touchscreen detection devices in any of the foregoing embodiments, and have the beneficial effects of the corresponding device embodiments, which will not be repeated here.
[0066] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the touch screen detection method described in any of the above embodiments.
[0067] Figure 5 This embodiment illustrates a more specific hardware structure of an electronic device, which may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.
[0068] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0069] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.
[0070] The input / output interface 1030 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.
[0071] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0072] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.
[0073] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.
[0074] The electronic devices described above are used to implement the corresponding touchscreen detection methods in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0075] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides a non-transitory computer-readable storage medium that stores computer instructions for causing the computer to execute the touchscreen detection method as described in any of the above embodiments.
[0076] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.
[0077] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute the touch screen detection method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0078] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this application (including the claims) is limited to these examples; within the framework of this application, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this application as described above, which are not provided in the details for the sake of brevity.
[0079] Additionally, to simplify the description and discussion, and to avoid obscuring the embodiments of this application, the well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the embodiments of this application, and this also takes into account the fact that the details of the implementation of these block diagram apparatuses are highly dependent on the platform on which the embodiments of this application will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuits) have been set forth to describe exemplary embodiments of this application, it will be apparent to those skilled in the art that the embodiments of this application can be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0080] Although this application has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.
[0081] The embodiments of this application are intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the embodiments of this application should be included within the protection scope of this application.
Claims
1. A touchscreen detection device, comprising a first set of detection terminals for detecting touchscreen signals under the control of a first control unit, characterized in that, Also includes: The second set of detection terminals is used to detect the touch screen signal under the control of the second control unit when the first set of detection terminals does not detect the touch screen signal in the touch state; wherein, the first set of detection terminals and the second set of detection terminals include terminals led out from the first conductive layer and the second conductive layer of the five-wire resistive touch screen. The main control unit is used to determine the touch screen state based on the touch screen signal, including: if the first set of detection terminals detects the touch screen signal, determining that the touch screen function is normal, and determining the pressed / released state of a certain touch position based on the touch screen signal; if the second set of detection terminals detects the touch screen signal, determining that a misoperation or screen damage has occurred based on the touch screen signal, and testing the lines, interfaces, or the first control unit of the first set of detection terminals to determine the location of the fault; if neither set of detection terminals detects the touch screen signal, testing the touch screen firmware to determine the location of the fault.
2. The apparatus according to claim 1, characterized in that, The main control unit is configured to send a switching command to the second control unit when it does not receive a touchscreen signal detected by the first group of detection terminals in touch mode, so that the second control unit controls the second group of detection terminals to detect the touchscreen signal according to the switching command.
3. The apparatus according to claim 1, characterized in that, The main control unit is used to output a screen abnormality signal when it determines that the touch screen signal has reached a preset abnormal condition.
4. The apparatus according to claim 3, characterized in that, The touchscreen signals include voltage signals related to the contact resistance; The main control unit is configured to output a screen touch error signal when it determines that the voltage signal is greater than a preset first voltage threshold, and to output a screen press error signal when it determines that the voltage signal is less than a preset second voltage threshold and the duration of the voltage signal reaching the second voltage threshold reaches a preset time threshold.
5. The apparatus according to claim 1, characterized in that, The touchscreen signals include voltage signals at the touch location; The main control unit is used to record the touch time at the touch position based on the voltage signal, and predict the lifespan of the touch screen based on the touch time.
6. The apparatus according to claim 1, characterized in that, The first set of detection terminals and the second set of detection terminals are respectively connected to the input and output terminals of the first control unit and the second control unit through an inner perimeter circuit for adjusting linearity, a conductive film disposed at a predetermined position on the touch screen, and an outer perimeter circuit.
7. The apparatus according to claim 6, characterized in that, The second set of detection terminals includes four detection terminals extending from the first conductive layer of the five-wire resistive touchscreen and one active terminal extending from the second conductive layer of the five-wire resistive touchscreen.
8. The apparatus according to claim 7, characterized in that, The first set of detection terminals and / or the second set of detection terminals also include alignment terminals for positioning the welding position.
9. A touchscreen detection method, comprising: The first control unit controls the first set of detection terminals to detect touchscreen signals, characterized in that it further includes: In touch mode, when the first set of detection terminals does not detect a touch screen signal, the second control unit controls the second set of detection terminals to detect the touch screen signal; wherein, the first set of detection terminals and the second set of detection terminals include terminals led out from the first conductive layer and the second conductive layer of the five-wire resistive touch screen. The main control unit determines the touchscreen state based on the touchscreen signal, including: if the first set of detection terminals detects the touchscreen signal, it is determined that the touchscreen function is normal, and the pressed / released state of a certain touch position is determined based on the touchscreen signal; if the second set of detection terminals detects the touchscreen signal, it is determined that a misoperation or screen damage has occurred based on the touchscreen signal, and the circuit, interface, or first control unit of the first set of detection terminals is tested to determine the location of the fault; if neither set of detection terminals detects the touchscreen signal, the touchscreen firmware is tested to determine the location of the fault.
10. A touchscreen, characterized in that, Includes the touchscreen detection device as described in any one of claims 1-8.