[go: up one dir, main page]

CN113918396A - A system, method, device and medium for testing a touch panel - Google Patents

A system, method, device and medium for testing a touch panel Download PDF

Info

Publication number
CN113918396A
CN113918396A CN202111165051.6A CN202111165051A CN113918396A CN 113918396 A CN113918396 A CN 113918396A CN 202111165051 A CN202111165051 A CN 202111165051A CN 113918396 A CN113918396 A CN 113918396A
Authority
CN
China
Prior art keywords
touch panel
connector
control unit
testing
micro
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111165051.6A
Other languages
Chinese (zh)
Other versions
CN113918396B (en
Inventor
蔡烈波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Shandong Computer Technology Co Ltd
Original Assignee
Inspur Shandong Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Shandong Computer Technology Co Ltd filed Critical Inspur Shandong Computer Technology Co Ltd
Priority to CN202111165051.6A priority Critical patent/CN113918396B/en
Publication of CN113918396A publication Critical patent/CN113918396A/en
Application granted granted Critical
Publication of CN113918396B publication Critical patent/CN113918396B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)

Abstract

The application discloses a system, a method, a device and a medium for testing a touch pad, which comprise the following steps: the touch panel testing device comprises a touch panel testing part, a micro control unit and an indicating circuit, wherein one end of the micro control unit is connected with the touch panel testing part, the other end of the micro control unit is connected with the indicating circuit, the micro control unit sends a detection signal to the touch panel testing part when acquiring a trigger signal, acquires a return signal of the touch panel testing part, judges whether the return signal of the touch panel testing part meets a preset condition or not, determines that the touch panel is abnormal in function if the return signal meets the preset condition, and controls the indicating circuit to be connected with a power supply. Therefore, according to the technical scheme provided by the invention, the micro control unit is used for sending the detection signal to the to-be-tested part of the touch pad, and judging whether the return signal of the to-be-tested part of the touch pad meets the preset condition so as to detect whether the function of the touch pad is abnormal or not, so that the time for waiting for entering a test interface when the touch pad is started when the traditional tool is set up for testing the touch pad is saved, and the test efficiency of the to-be-tested touch pad is improved.

Description

System, method, device and medium for testing touch panel
Technical Field
The present application relates to the field of computer control technologies, and in particular, to a system, a method, an apparatus, and a medium for testing a touch panel.
Background
The touch pad is an input device for controlling a pointer of an electronic device by using finger movement of a user, and with the continuous development of the internet, the touch pad is widely applied to various fields such as a vehicle-mounted touch screen, a medical touch screen, an educational touch screen, a tablet computer and the like. At present, whether normal test of touch pad function, need set up a PC frock, wherein, PC frock includes PC mainboard and touch pad equipment, and the touch pad one end that will await measuring is connected with the PC mainboard, and the other end is connected with touch pad equipment, and whether normal effective to the left and right buttons of touch pad that awaits measuring, whether short circuit and connector between the pin of connector can normally switch on between the test, and then confirm whether normal touch pad function awaits measuring.
A PC tool is set up to test the functions of the touch pad, a PC mainboard is required to be started to wait for entering a test interface, the test is finished, the PC tool is required to be shut down to avoid the occurrence of hot plugging and unplugging to cause the function abnormality of the touch pad, therefore, the process of waiting for changing the machine is long in time, and the test efficiency of the whole touch pad to be tested is influenced.
Therefore, how to cancel the waiting time for power on and power off in the tooling test and improve the test efficiency of the touch pad to be tested is a problem to be solved urgently by the technical personnel in the field.
Disclosure of Invention
The application aims to provide a system, a method, a device and a medium for testing a touch pad, which utilize a micro-control unit to match with an indicating circuit to test the performance of the touch pad, save the time for waiting for starting up to enter a test interface when the traditional building work is used for testing, and improve the efficiency of testing the touch pad.
In order to solve the above technical problem, the present application provides a system for testing a touch panel, including: the touch panel comprises a to-be-tested part, a micro control unit and an indicating circuit;
one end of the micro control unit is connected with the touch pad to-be-tested part and is used for sending a detection signal to the touch pad to-be-tested part when a trigger signal is obtained, obtaining a return signal of the touch pad to-be-tested part and judging whether the return signal meets a preset condition or not;
the other end of the micro control unit is connected with the indicating circuit and used for controlling the indicating circuit to be connected with a power supply if the return signal meets the preset condition.
Preferably, the touch panel to-be-tested part comprises a first connector, a second connector and a key;
the first connector is connected with the second connector, and free ends of the first connector and the second connector are respectively connected with the micro control unit;
one end of the key is connected with the micro control unit, the other end of the key is grounded, when the key is triggered, the micro control unit sends a detection signal to the key to detect whether the key is normal, and meanwhile, the micro control unit sends the detection signal to the first connector and the second connector to detect whether the first connector and the second connector are connected or not.
Preferably, the indicating circuit comprises a switch, an indicating lamp, a buzzer, a first resistor, a second resistor, a third resistor, a power supply and an MOS (metal oxide semiconductor) tube;
one end of the switch is connected with the micro control unit, the other end of the switch is grounded, and when the switch is triggered, the micro control unit sends detection signals to the first connector and the second connector to detect whether a short circuit exists between pins of the first connector and the second connector;
one end of the indicator light is connected with one end of the first resistor, the other end of the indicator light is connected with the micro control unit, the other end of the first resistor is connected with the power supply, and when a short circuit exists between pins of the first connector and/or the second connector, the micro control unit controls the indicator light to be connected with the power supply;
one end of the second resistor is connected with the drain electrode of the MOS tube, the other end of the second resistor is connected with the power supply, one end of the third resistor is connected with the grid electrode of the MOS tube, and the other end of the third resistor is connected with the micro control unit;
one end of the buzzer is connected with the source electrode of the MOS tube, the other end of the buzzer is grounded, and when the first connector and the second connector are not conducted, the micro control unit controls the buzzer to be connected with the power supply.
Preferably, the system for testing a touch panel further includes a connection circuit;
the connecting circuit is connected between the micro control unit and the part to be tested of the touch pad and used for transmitting signals between the micro control unit and the part to be tested of the touch pad.
Preferably, the connection circuit comprises a third connector and a fourth connector;
one end of the third connector is connected with the first connector, and the other end of the third connector is connected with the micro control unit;
one end of the fourth connector is connected with the second connector, and the other end of the fourth connector is connected with the micro control unit.
Preferably, the system for testing the touch panel further comprises a human-computer interaction module, and the human-computer interaction module is connected with the micro control unit.
In order to solve the above technical problem, the present application further provides a method for testing a touch panel, which is applied to the system, and includes:
acquiring a trigger signal;
sending a detection signal to a to-be-tested part of the touch panel;
acquiring a return signal of the to-be-tested part of the touch panel;
and judging whether the return signal meets a preset condition, and if so, controlling an indicating circuit to be connected with a power supply.
In order to solve the above technical problem, the present application further provides an apparatus for testing a touch panel, including:
the first acquisition module is used for acquiring a trigger signal;
the sending module is used for sending a detection signal to a to-be-tested part of the touch panel;
the second acquisition module is used for acquiring a return signal of the to-be-tested part of the touch panel;
and the judging module is used for judging whether the return signal meets a preset condition or not, and if so, controlling the indicating circuit to be connected with the power supply.
In order to solve the above technical problem, the present application further provides an apparatus for testing a touch panel, including a memory for storing a computer program;
a processor for implementing the steps of the method of testing a touch panel as described when executing said computer program.
In order to solve the above technical problem, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when being executed by a processor, implements the steps of the method of testing a touch panel as described.
The system for testing a touch panel provided by the present application includes: the touch panel testing device comprises a touch panel testing part, a micro control unit and an indicating circuit, wherein one end of the micro control unit is connected with the touch panel testing part, the other end of the micro control unit is connected with the indicating circuit, the micro control unit sends a detection signal to the touch panel testing part when acquiring a trigger signal, acquires a return signal of the touch panel testing part, judges whether the return signal of the touch panel testing part meets a preset condition or not, determines that the touch panel is abnormal if the return signal meets the preset condition, and controls the indicating circuit to be connected with a power supply. Therefore, according to the technical scheme provided by the invention, the micro control unit is directly utilized to match the indicating circuit, the detection signal is sent to the to-be-tested part of the touch pad, whether the return signal of the to-be-tested part of the touch pad meets the preset condition or not is judged to detect whether the function of the touch pad is abnormal or not, the time for starting up the traditional PC tool to test the touch pad to wait for entering a test interface is saved, and the test efficiency of the touch pad to be tested is further improved.
In addition, the method, the device and the medium for testing the touch panel provided by the invention correspond to the system, and the effect is the same as that of the system.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
FIG. 1 is a block diagram of a test touch panel system according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a micro control unit according to an embodiment of the present invention;
FIG. 3(a) is a schematic diagram of an indicating circuit according to an embodiment of the present invention;
FIG. 3(b) is a schematic diagram of another indicating circuit according to an embodiment of the present invention;
FIG. 4(a) is a schematic diagram of a first connector in a to-be-tested part of a touch panel provided by an embodiment of the invention;
FIG. 4(b) is a diagram illustrating a second connector of a to-be-tested part of a touch panel according to an embodiment of the present invention;
FIG. 4(c) is a schematic diagram of a key of a to-be-tested part of a touch panel according to an embodiment of the present invention;
FIG. 5(a) is a schematic diagram of a third connector in the connection circuit according to the embodiment of the invention;
FIG. 5(b) is a schematic diagram of a fourth connector in the connection circuit according to the embodiment of the invention;
FIG. 6 is a flowchart of a method for testing a touch pad according to an embodiment of the present invention;
fig. 7 is a diagram illustrating a structure of an apparatus for testing a touch panel according to an embodiment of the present invention;
fig. 8 is a block diagram of an apparatus for testing a touch panel according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The core of the application is to provide a system, a method, a device and a medium for testing the touch pad, a detection signal is sent to a to-be-tested part of the touch pad through a micro control unit, a return signal of the to-be-tested part of the touch pad is obtained, whether the to-be-tested part of the touch pad is abnormal or not is judged according to the return signal, whether the function of the touch pad is normal or not is further judged, and compared with the means that a traditional building tool needs to be started to wait for entering a test interface for testing, the testing efficiency is improved.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings.
The touch pad can be regarded as a mouse substitute, and controls a pointer by sensing the movement of a user's finger, and as the times develop, the touch pad is applied to various aspects of life, such as medical treatment, education, various electronic products, and the like. Whether the function of the touch pad is normal or not directly influences the experience of a user, so that the function test of the touch pad is very important. At present, a waiting PC tool is generally used for testing a touch pad, wherein the PC tool comprises a PC motherboard and a touch pad device, one end of the touch pad to be tested is connected with the PC motherboard, the other end of the touch pad to be tested is connected with the touch pad device, and then the touch pad to be tested is tested to ensure that keys of the touch pad are normally effective, that is, a short circuit cannot occur between connector pins in the touch pad, and the connector must be normally conducted. The test is carried out on the tool, a test interface needs to be waited for entering, and after the test is finished, the shutdown is needed to avoid the abnormal function of the touch pad caused by hot plugging, so that the whole test time is long, the test efficiency of the touch pad is influenced, and meanwhile, the labor cost is increased.
In order to avoid waiting time for entering a tool test interface and improve the test efficiency of the touch panel, the invention provides a system for testing the touch panel, which comprises the following steps: the touch panel comprises a to-be-tested part, a micro control unit and an indicating circuit. Fig. 1 is a structural diagram of a system for testing a touch panel according to an embodiment of the present invention, as shown in fig. 1, where one end of a micro control unit 2 is connected to an indication circuit 3, and the other end is connected to a to-be-tested part 1 of the touch panel, when the micro control unit 2 obtains a trigger signal, the micro control unit transmits a detection signal to the to-be-tested part 1 of the touch panel, obtains a return signal of the to-be-tested part 1 of the touch panel, determines whether a preset condition is met according to the return signal, and if the preset condition is met, determines that the to-be-tested part 1 of the touch panel is abnormal, and controls the indication circuit 3 to be connected to a power supply. Therefore, according to the technical scheme provided by the invention, the micro control unit 2 is matched with the indicating circuit 3 to test the touch pad, so that the waiting time that the tool test needs to be started to enter a test interface is avoided, the labor cost is saved, and the test efficiency of the touch pad is improved.
It should be noted that the to-be-tested part 1 of the touch panel includes a key, a first connector, and a second connector. Whether the functions of the keys are normal, whether the pins of the first connector and the second connector are short-circuited or not and whether the first connector and the second connector are conducted or not are detected by combining the micro control unit 2 with the indicating circuit 3, and whether the functions of the touch pad are normal or not is further determined.
In addition, it should be noted that the indication circuit 3 is provided with an indication lamp, a buzzer and other elements, and is used for switching on the indication circuit 3 with a power supply when the micro control unit 2 detects that the part to be tested 1 of the touch pad is abnormal, that is, the buzzer or the indication lamp is on, so as to warn a worker that the function of the touch pad is abnormal. Of course, the indicating circuit 3 may include other elements besides the indicating lamp and the buzzer, and the present invention is not limited thereto.
In the specific embodiment, in order to facilitate the connection between the to-be-tested part 1 of the touch panel and the micro control unit 2 and further improve the testing efficiency, the system for testing the touch panel provided by the invention can also be provided with a connecting circuit, wherein the connecting circuit is connected between the micro control unit 2 and the to-be-tested part 1 of the touch panel and is used for transmitting signals between the micro control unit 2 and the to-be-tested part 1 of the touch panel.
In order to enable the detection personnel to observe the detection result of the touch pad more intuitively, the system for testing the touch pad provided by the invention can be further provided with a human-computer interaction module, wherein the human-computer interaction module can comprise a mouse, a keyboard, a display and the like, and the invention is not limited to this.
The system for testing a touch panel provided by the present application includes: the touch panel testing device comprises a touch panel testing part, a micro control unit and an indicating circuit, wherein one end of the micro control unit is connected with the touch panel testing part, the other end of the micro control unit is connected with the indicating circuit, the micro control unit sends a detection signal to the touch panel testing part when acquiring a trigger signal, acquires a return signal of the touch panel testing part, judges whether the return signal of the touch panel testing part meets a preset condition or not, determines that the touch panel is abnormal if the return signal meets the preset condition, and controls the indicating circuit to be connected with a power supply. Therefore, according to the technical scheme provided by the invention, the micro control unit is directly utilized to match the indicating circuit, the detection signal is sent to the to-be-tested part of the touch pad, whether the return signal of the to-be-tested part of the touch pad meets the preset condition or not is judged to detect whether the function of the touch pad is abnormal or not, the time for starting up the traditional PC tool to test the touch pad to wait for entering a test interface is saved, and the test efficiency of the touch pad to be tested is further improved.
Fig. 2 is a schematic diagram of a micro control unit according to an embodiment of the present invention, fig. 3(a) is a schematic diagram of an indication circuit according to an embodiment of the present invention, fig. 3(b) is a schematic diagram of another indication circuit according to an embodiment of the present invention, fig. 4(a) is a schematic diagram of a first connector in a to-be-tested part of a touch pad according to an embodiment of the present invention, fig. 4(b) is a schematic diagram of a second connector in the to-be-tested part of the touch pad according to an embodiment of the present invention, and fig. 4(c) is a schematic diagram of a key in the to-be-tested part of the touch pad according to an embodiment of the present invention. Among them, fig. 3(a) and 3(b) constitute an indication circuit.
As shown in fig. 2, the mcu has pins 1 to 40, pin 18 and pin 19 connected to the crystal oscillator circuit, pin 20 grounded, resistor R2 connected to pin 31 and pin 40, switch SW, capacitor C3 and resistor R1 connected in parallel, and common terminal connected to pin 9.
In a specific embodiment, the touch panel to-be-tested part includes a first connector, a second connector and a key, and for easy understanding, the following description will be made in detail with reference to fig. 4(a), 4(b) and 4 (c). As shown in fig. 4(a), 4(b) and 4(c), the touch panel to be tested includes a first connector J1, a second connector J2, and left and right keys S2 and S3 of the touch panel. Pins T1.0-T1.2 of the first connector J1 are correspondingly connected with pins P1.4-P1.6 of the micro control unit one by one, pin T1.3 is grounded, pins T2.0-T2.2 of the second connector J2 are correspondingly connected with pins P3.0-P3.2 of the micro control unit one by one, pin T2.4 and pin T2.5 are respectively connected with pin P3.3 and pin P3.4 of the micro control unit, wherein, pins T2.0-T2.2 are all connected with a capacitor, the other end of the capacitor is grounded, and in addition, pin T2.3 is grounded. One end of the key S2 is connected with the pin P3.3 of the micro control unit, the other end is grounded, one end of the key S3 is connected with the pin P3.4 of the micro control unit, and the other end is grounded. When the keys S2 and S3 are activated, i.e., S2 and S3 are closed, the mcu sends detection signals to the keys S2 and S3, and determines whether the returned detection signals satisfy preset conditions, and if so, determines that the keys S2 and S3 are normally activated, and for understanding, the detection key S2 will be used as an example for detailed description. For example, when S2 is closed, the mcu sends a high level to the S2, since the other end of the S2 is grounded, when the high level received by the S2 is pulled low, when the mcu detects that the high level sent to the S23 changes, it can determine that the S2 is valid, and if the high level sent does not change, it determines that the S2 is out of function, and at this time, the mcu controls the indication circuit to be connected to the power supply to alert the inspector that the S2 is out of function. It should be noted that the preset condition is whether the high level is pulled low. It should be noted that, the level value sent to the key S2 or the key S3 by the mcu is not limited in the present invention.
In an embodiment, when the key S2 or the key S3 is activated, i.e., S2 or S3 is closed, the mcu further transmits a detection signal to the first connector J1 and the second connector J2 to detect whether there is conduction between the first connector J1 and the second connector J2. As can be seen from fig. 4(c), one end of the keys S2 and S3 is connected to pin P3.3 and pin P3.4 of the mcu, and as can be seen from fig. 4(b), pin T2.4 and pin T2.5 of the connector J2 are also connected to the mcu via pin P3.3 and pin P3.4. When S2 or S3 is closed, the micro control unit respectively sends a high level signal and a low level signal to any one pin of the first connector J1 and the second connector J2, judges whether the pin receiving the high level is pulled down by the pin receiving the low level, and if the pin receiving the high level is pulled down, the conduction between the detected pins is determined. Also, it should be noted that the level value sent by the mcu is not limited in the present invention, but there is a voltage difference between the levels sent to any one of the pins of the first connector J1 and the second connector J2.
The system for testing the touch pad directly detects the transmission detection signal of the part to the touch pad through the micro control unit, acquires the return signal of the part to be detected by the touch pad, judges whether the return signal meets the preset condition to determine whether the function of the touch pad is normal or not, is simple to operate, can save the time for the traditional tool to wait for the part to be detected by the touch pad to wait for entering the test interface, and improves the test efficiency of the touch pad.
On the basis of the above embodiment, when the key S2 or the key S3 is detected to be abnormal in function, or the first connector J1 and the second connector J2 are not conducted, the micro control unit controls the indicating circuit to be connected with the power supply, so as to inform a tester of the detection result of the part to be detected on the touch panel. As shown in fig. 3(a) and 3(b), the indicating circuit includes a switch S1, an indicator light L1 and an indicator light L2, a buzzer Bell, resistors R3-R6, a power supply and a MOS transistor M1. One end of a switch S1 is connected with a pin P1.0 of the micro control unit, the other end is grounded, an indicator light L1 is connected with an indicator light L2 in parallel, one ends of the indicator light L1 and the indicator light L2 are respectively connected with a pin P1.1 and a pin P1.2 of the micro control unit, the other ends of the indicator light L1 and the indicator light L2 are respectively connected with a resistor R3 and a resistor R4, a common end of the resistor R3 and the resistor R4 is connected with one end of a resistor R5, the other end of the resistor R5 is connected with a drain electrode of a MOS transistor M1, one end of the resistor R6 is connected with a pin P1.3 of the micro control unit, the other end of the resistor R6 is connected with a gate electrode of a MOS transistor M1, one end of a buzzer Bell is connected with a source electrode of the MOS transistor M1, and the other end of the buzzer is grounded.
When the switch S1 is closed, that is, the mcu receives the signal that the switch S1 is triggered, the mcu transmits a detection signal to the first connector J1 or the second connector J2 to detect whether there is a short circuit between the respective pins of the first connector J1 or the second connector J2. For ease of understanding, the following description will be made in detail by taking the example of detecting the first connector J1. For example, when any one of the keys S2 or S3 is triggered, the mcu transmits a high level and a low level to any two pins T1.0-T1.2 of the pin T1.0-T1.6 of the first connector J1 through the pins P1.4-P1.6, and determines whether the pin receiving the high level is pulled down by the pin receiving the low level, if the high level is pulled down, it is determined that there is a short circuit between the pins of the first connector J1, and at this time, the mcu controls the buzzer Bell to be connected to the power supply, so as to alert the operator that there is a short circuit in the connector. It should be noted that, since the pin T1.3 of the first connector J1 is grounded, when detecting whether a short circuit occurs between the pin T1.3 and any one of the pins T1.0 to T1.2, it is only necessary to send a high level to any one of the pins T1.0 to T1.2. It should be noted that, detection is required to be performed between every two pins of the first connector J1, and it is determined that the first connector functions normally only if there is no short circuit between any two pins. It should also be noted that the microcontroller unit likewise transmits the level values to the connectors of the to-be-detected parts of the touchpad, without limiting the invention.
In addition, when the key S2 or the key S3 is activated, i.e., S2 or S3 is closed, the mcu transmits a detection signal to the first connector J1 and the second connector J2 to detect whether there is conduction between the first connector J1 and the second connector J2. For example, the micro control unit sends a high level signal and a low level signal to any one of the first connector J1 and the second connector J2, and determines whether the pin receiving the high level is pulled to a low level by the pin receiving the low level, if the pin receiving the high level is pulled to the low level, it is determined that the detected pins are connected, at this time, the micro control unit controls the indicator light L1 to be connected with the power supply, if the level is not pulled to the low level, it is determined that the detected pins are not connected, and the micro control unit controls the indicator light L2 to be connected with the power supply, so that the detection result can be observed by the detection personnel.
The utility model provides a system for test touch pad, the pilot lamp is provided with bee calling organ and two pilot lamps, bee calling organ is used for with the power switch-on in order to inform measurement personnel when there is the short circuit between the connector self pin of touch pad, two pilot lamps show respectively for switching on the pilot lamp and not switching on the pilot lamp, when the testing result switches on for between the connector, switch on pilot lamp and power switch-on, if the testing result is not switched on between the connector, then not switch on pilot lamp and power switch-on, it is thus visible, the pilot lamp is provided with bee calling organ and two pilot lamps, be convenient for measurement personnel visual observation testing result.
In a specific embodiment, a part to be tested of the touch pad is directly connected with the micro control unit and needs to be welded, the welding possibly causes inaccurate test results due to improper connection, and meanwhile, the welding is not beneficial to improving the test efficiency, so that the system for testing the touch pad provided by the invention can be further provided with a connecting circuit. Fig. 5(a) is a schematic diagram of a third connector in the connection circuit provided in the embodiment of the present invention, and fig. 5(b) is a schematic diagram of a fourth connector in the connection circuit provided in the embodiment of the present invention. Fig. 2, 3(a), 3(b), 4(a), 4(b), 4(c), 5(a) and 5(b) together constitute a system for testing a touch panel.
As shown in fig. 5(a) and 5(b), the connection circuit is provided with a third connector J3 and a fourth connector J4, pins T3.0-T3.2 of the third connector J3 being connected to pins T1.0-T1.2 of the first connector J1, respectively, and pins P1.4-P1.6 of the micro control unit. Pins T4.0-T4.2 of the fourth connector J3 are connected to pins T2.0-T2.2 of the second connector J2, respectively, and to pins P3.0-P3.2 of the MCU, pin T4.3 is grounded, and pins T4.4 and T4.5 are connected to pins T2.4 and T2.5 of the second connector J2, respectively, and to pins P3.3 and P3.4 of the MCU. The micro control unit sends the detection signal to the part to be detected of the touch pad through the connecting circuit so as to detect whether the part to be detected of the touch pad is abnormal or not.
The system for testing the touch pad provided by the application is additionally provided with the connecting circuit between the micro control unit and the touch pad part to be detected, the problem that the micro control unit and the touch pad part to be detected are not accurately tested and are not convenient to weld is avoided, and the testing efficiency of the touch pad is further improved.
On the basis of the above embodiment, in order to facilitate the detection personnel to observe the detection result more intuitively, and meanwhile, the detection signal transmitted to the part to be detected of the touch pad can be controlled, so that the system for testing the touch pad can also be provided with a human-computer interaction module, wherein the human-computer interaction module can comprise elements such as a mouse, a keyboard, a display and the like, and the invention is not limited to this. The detection personnel can input the required transmission to the part to be detected of the touch pad through a mouse and a keyboard, and meanwhile, the display can directly display the detection result.
The system for testing the touch pad provided by the application has the advantages that through the arrangement of the human-computer interaction module, detection personnel can visually observe detection results, and the detection efficiency is improved.
In the above embodiments, the system for testing a touch panel is described in detail, and the present invention also provides an embodiment corresponding to the method for testing a touch panel. Fig. 6 is a flowchart of a method for testing a touch panel according to an embodiment of the present invention, and as shown in fig. 6, the method includes:
s10: a trigger signal is acquired.
S11: and sending a detection signal to the to-be-tested part of the touch panel.
S12: and acquiring a return signal of the to-be-tested part of the touch panel.
S13: and judging whether the return signal meets a preset condition, and if so, entering the step S14.
S14: the control indication circuit is connected with the power supply.
Since the embodiment of the system part corresponds to the embodiment of the method part, the embodiment of the method part is described with reference to the embodiment of the system part, and is not repeated here.
The method for testing the touch panel comprises the following steps: the micro control unit acquires a trigger signal, sends a detection signal to the to-be-tested part of the touch panel after acquiring the trigger signal, acquires a return signal of the to-be-tested part of the touch panel, judges whether the return signal meets a preset condition or not, determines that the touch panel is abnormal if the return signal meets the preset condition, and controls the indication circuit to be connected with the power supply. Therefore, according to the technical scheme provided by the invention, the micro control unit is directly utilized to match the indicating circuit, the detection signal is sent to the to-be-tested part of the touch pad, whether the return signal of the to-be-tested part of the touch pad meets the preset condition or not is judged to detect whether the function of the touch pad is abnormal or not, the time for starting up the traditional PC tool to test the touch pad to wait for entering a test interface is saved, and the test efficiency of the touch pad to be tested is further improved.
In the above embodiments, a method for testing a touch panel is described in detail, and the present application also provides embodiments corresponding to an apparatus for testing a touch panel. It should be noted that the present application describes the embodiments of the apparatus portion from two perspectives, one is based on the functional module, and the other is based on the hardware structure.
Fig. 7 is a structural diagram of an apparatus for testing a touch panel according to an embodiment of the present invention, and as shown in fig. 7, the apparatus includes:
a first obtaining module 10, configured to obtain a trigger signal;
the sending module 11 is used for sending a detection signal to a to-be-tested part of the touch panel;
the second obtaining module 12 is configured to obtain a return signal of the to-be-tested part of the touch panel;
and the judging module 13 is used for judging whether the return signal meets a preset condition, and if so, controlling the indicating circuit to be connected with the power supply.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
The device of test touch pad that this application provided includes: the micro control unit acquires a trigger signal, sends a detection signal to the to-be-tested part of the touch panel after acquiring the trigger signal, acquires a return signal of the to-be-tested part of the touch panel, judges whether the return signal meets a preset condition or not, determines that the touch panel is abnormal if the return signal meets the preset condition, and controls the indication circuit to be connected with the power supply. Therefore, according to the technical scheme provided by the invention, the micro control unit is directly utilized to match the indicating circuit, the detection signal is sent to the to-be-tested part of the touch pad, whether the return signal of the to-be-tested part of the touch pad meets the preset condition or not is judged to detect whether the function of the touch pad is abnormal or not, the time for starting up the traditional PC tool to test the touch pad to wait for entering a test interface is saved, and the test efficiency of the touch pad to be tested is further improved.
Fig. 8 is a structural diagram of an apparatus for testing a touch panel according to another embodiment of the present application, where as shown in fig. 8, the apparatus for testing a touch panel includes: a memory 20 for storing a computer program;
a processor 21 for implementing the steps of the method of testing a touch panel as mentioned in the above embodiments when executing the computer program.
The device for testing the touch panel provided by the embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, or the like.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 21 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with an image processor (GPU), and the GPU is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 21 may further include an Artificial Intelligence (AI) processor for processing computing operations related to machine learning.
The memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing the following computer program 201, wherein after being loaded and executed by the processor 21, the computer program can implement the relevant steps of the method for testing a touch panel disclosed in any one of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202, data 203, and the like, and the storage manner may be a transient storage manner or a permanent storage manner. Operating system 202 may include, among others, Windows, Unix, Linux, and the like. Data 203 may include, but is not limited to, relevant data related to the method of testing the touchpad, and the like.
In some embodiments, the device for testing a touch panel may further include a display 22, an input/output interface 23, a communication interface 24, a power source 25, and a communication bus 26.
Those skilled in the art will appreciate that the configuration shown in FIG. 8 does not constitute a limitation on the means for testing a touch pad and may include more or fewer components than those shown.
The device for testing the touch panel comprises a memory and a processor, wherein when the processor executes a program stored in the memory, the following method can be realized: a method of testing a touch panel.
According to the device for testing the touch pad, the micro control unit is directly utilized to match with the indicating circuit, the detection signal is sent to the to-be-tested part of the touch pad, whether the return signal of the to-be-tested part of the touch pad meets the preset condition or not is judged to detect whether the function of the touch pad is abnormal or not, the time for starting up the device to wait for entering a test interface when the traditional PC tool is set up to test the touch pad is saved, and the test efficiency of the touch pad to be tested is improved.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps as set forth in the above-mentioned method embodiments.
It is to be understood that if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods described in the embodiments of the present application, or all or part of the technical solutions. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description provides a system, method, apparatus and medium for testing a touch panel. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1.一种测试触摸板的系统,其特征在于,包括:触摸板待测试部件,微控制单元,指示电路;1. A system for testing a touch panel, comprising: a touch panel component to be tested, a micro-control unit, an indication circuit; 所述微控制单元的一端与所述触摸板待测试部件连接,用于在获取到触发信号时向所述触摸板待测试部件发送检测信号,以及获取所述触摸板待测试部件的返回信号,并判断所述返回信号是否满足预设条件;One end of the micro-control unit is connected to the component to be tested on the touch panel, and is used to send a detection signal to the component to be tested on the touch panel when a trigger signal is obtained, and to obtain a return signal from the component to be tested on the touch panel, and determine whether the return signal satisfies a preset condition; 所述微控制单元的另一端与所述指示电路连接,用于若所述返回信号满足所述预设条件,控制所述指示电路与电源接通。The other end of the micro-control unit is connected to the indication circuit, and is used for controlling the indication circuit to be connected to the power supply if the return signal satisfies the preset condition. 2.根据权利要求1所述的测试触摸板的系统,其特征在于,所述触摸板待测试部件包括第一连接器,第二连接器和按键;2. The system for testing a touch panel according to claim 1, wherein the component to be tested for the touch panel comprises a first connector, a second connector and a button; 所述第一连接器与所述第二连接器连接,且所述第一连接器和所述第二连接器的自由端分别与所述微控制单元连接;the first connector is connected with the second connector, and the free ends of the first connector and the second connector are respectively connected with the micro-control unit; 所述按键的一端与所述微控制单元连接,另一端接地,当所述按键被触发时,所述微控制单元向所述按键发送检测信号以检测所述按键是否正常,同时,所述微控制单元向所述第一连接器和所述第二连接器发送所述检测信号以检测所述第一连接器和所述第二连接器间是否导通。One end of the button is connected to the micro-control unit, and the other end is grounded. When the button is triggered, the micro-control unit sends a detection signal to the button to detect whether the button is normal. The control unit sends the detection signal to the first connector and the second connector to detect whether there is continuity between the first connector and the second connector. 3.根据权利要求2所述的测试触摸板的系统,其特征在于,所述指示电路包括开关,指示灯,蜂鸣器,第一电阻,第二电阻,第三电阻,电源和MOS管;3. The system for testing a touch panel according to claim 2, wherein the indication circuit comprises a switch, an indicator light, a buzzer, a first resistor, a second resistor, a third resistor, a power supply and a MOS tube; 所述开关的一端与所述微控制单元连接,另一端接地,当触发所述开关时,所述微控制单元向所述第一连接器和所述第二连接器发送检测信号以检测所述第一连接器和所述第二连接器各自引脚间是否存在短路;One end of the switch is connected to the micro-control unit, and the other end is grounded. When the switch is triggered, the micro-control unit sends a detection signal to the first connector and the second connector to detect the Whether there is a short circuit between the respective pins of the first connector and the second connector; 所述指示灯的一端与所述第一电阻的一端连接,另一端与所述微控制单元连接,所述第一电阻的另一端与所述电源连接,当所述第一连接器和/或所述第二连接器的引脚间存在短路时,所述微控制单元控制所述指示灯与电源接通;One end of the indicator light is connected to one end of the first resistor, the other end is connected to the micro-control unit, and the other end of the first resistor is connected to the power supply, when the first connector and/or When there is a short circuit between the pins of the second connector, the micro-control unit controls the indicator light to be connected to the power supply; 所述第二电阻的一端与所述MOS管的漏极连接,另一端与所述电源连接,所述第三电阻的一端与所述MOS管的栅极连接,另一端与所述微控制单元连接;One end of the second resistor is connected to the drain of the MOS tube, the other end is connected to the power supply, one end of the third resistor is connected to the gate of the MOS tube, and the other end is connected to the micro-control unit connect; 所述蜂鸣器的一端与所述MOS管的源极连接,另一端接地,当所述第一连接器和所述第二连接器不导通时,所述微控制单元控制所述蜂鸣器与所述电源接通。One end of the buzzer is connected to the source of the MOS transistor, and the other end is grounded. When the first connector and the second connector are not conducting, the micro-control unit controls the buzzer connected to the power supply. 4.根据权利要求1所述的测试触摸板的系统,其特征在于,还包括连接电路;4. The system for testing a touch panel according to claim 1, further comprising a connection circuit; 所述连接电路连接于所述微控制单元与所述触摸板待测试部件之间,用于传输所述微控制单元与所述触摸板待测试部件之间的信号。The connection circuit is connected between the micro-control unit and the component to be tested on the touch panel, and is used for transmitting signals between the micro-control unit and the component to be tested on the touch panel. 5.根据权利要求4所述的测试触摸板的系统,其特征在于,所述连接电路包括第三连接器和第四连接器;5. The system for testing a touch panel according to claim 4, wherein the connection circuit comprises a third connector and a fourth connector; 所述第三连接器的一端与所述第一连接器连接,另一端与所述微控制单元连接;One end of the third connector is connected with the first connector, and the other end is connected with the micro-control unit; 所述第四连接器的一端与所述第二连接器连接,另一端与所述微控制单元连接。One end of the fourth connector is connected with the second connector, and the other end is connected with the micro-control unit. 6.根据权利要求1所述的测试触摸板的系统,其特征在于,还包括人机交互模块,所述人机交互模块与所述微控制单元连接。6 . The system for testing a touch panel according to claim 1 , further comprising a human-computer interaction module, wherein the human-computer interaction module is connected to the micro-control unit. 7 . 7.一种测试触摸板的方法,应用于权利要求1至6任意一项所述的系统,其特征在于,包括:7. A method for testing a touch panel, applied to the system according to any one of claims 1 to 6, characterized in that, comprising: 获取触发信号;Get trigger signal; 发送检测信号至触摸板待测试部件;Send a detection signal to the touchpad component to be tested; 获取所述触摸板待测试部件的返回信号;Obtain the return signal of the component to be tested of the touch panel; 判断所述返回信号是否满足预设条件,若满足,控制指示电路与电源接通。It is judged whether the return signal satisfies the preset condition, and if so, the control instruction circuit is connected to the power supply. 8.一种测试触摸板的装置,其特征在于,包括:8. A device for testing a touch panel, comprising: 第一获取模块,用于获取触发信号;a first acquisition module, used for acquiring a trigger signal; 发送模块,用于发送检测信号至触摸板待测试部件;The sending module is used to send the detection signal to the component to be tested on the touch panel; 第二获取模块,用于获取所述触摸板待测试部件的返回信号;The second acquisition module is used to acquire the return signal of the component to be tested of the touch panel; 判断模块,用于判断所述返回信号是否满足预设条件,若满足,控制指示电路与电源接通。The judgment module is used for judging whether the return signal satisfies the preset condition, and if so, the control instruction circuit is connected to the power supply. 9.一种测试触摸板的装置,其特征在于,包括存储器,用于存储计算机程序;9. A device for testing a touch panel, comprising a memory for storing a computer program; 处理器,用于执行所述计算机程序时实现如权利要求7所述的测试触摸板的方法的步骤。A processor for implementing the steps of the method for testing a touch panel according to claim 7 when executing the computer program. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求7所述的测试触摸板的方法的步骤。10. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for testing a touch panel according to claim 7 is implemented. step.
CN202111165051.6A 2021-09-30 2021-09-30 System, method, device and medium for testing touch panel Active CN113918396B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111165051.6A CN113918396B (en) 2021-09-30 2021-09-30 System, method, device and medium for testing touch panel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111165051.6A CN113918396B (en) 2021-09-30 2021-09-30 System, method, device and medium for testing touch panel

Publications (2)

Publication Number Publication Date
CN113918396A true CN113918396A (en) 2022-01-11
CN113918396B CN113918396B (en) 2023-12-26

Family

ID=79237890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111165051.6A Active CN113918396B (en) 2021-09-30 2021-09-30 System, method, device and medium for testing touch panel

Country Status (1)

Country Link
CN (1) CN113918396B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114062906A (en) * 2022-01-17 2022-02-18 苏州浪潮智能科技有限公司 A power board test device
CN114791559A (en) * 2022-04-28 2022-07-26 浪潮(山东)计算机科技有限公司 Method and system for testing power management chip and related components

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200986700Y (en) * 2006-10-26 2007-12-05 比亚迪股份有限公司 Four wire system resistor type touch screen testing circuit
JP2009048604A (en) * 2007-08-14 2009-03-05 Trendon Touch Technology Corp Adaptable non-contact type touch pad inspecting-testing method
US20120062247A1 (en) * 2010-09-14 2012-03-15 Himax Technologies Limited Test system and method
CN104237773A (en) * 2013-06-17 2014-12-24 鸿富锦精密工业(深圳)有限公司 Touch key testing system and method
WO2020127242A1 (en) * 2018-12-21 2020-06-25 Jt International Sa Device for use in a commercial outlet

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200986700Y (en) * 2006-10-26 2007-12-05 比亚迪股份有限公司 Four wire system resistor type touch screen testing circuit
JP2009048604A (en) * 2007-08-14 2009-03-05 Trendon Touch Technology Corp Adaptable non-contact type touch pad inspecting-testing method
US20120062247A1 (en) * 2010-09-14 2012-03-15 Himax Technologies Limited Test system and method
CN104237773A (en) * 2013-06-17 2014-12-24 鸿富锦精密工业(深圳)有限公司 Touch key testing system and method
WO2020127242A1 (en) * 2018-12-21 2020-06-25 Jt International Sa Device for use in a commercial outlet

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114062906A (en) * 2022-01-17 2022-02-18 苏州浪潮智能科技有限公司 A power board test device
CN114062906B (en) * 2022-01-17 2022-04-22 苏州浪潮智能科技有限公司 A power board test device
CN114791559A (en) * 2022-04-28 2022-07-26 浪潮(山东)计算机科技有限公司 Method and system for testing power management chip and related components

Also Published As

Publication number Publication date
CN113918396B (en) 2023-12-26

Similar Documents

Publication Publication Date Title
CN113918396A (en) A system, method, device and medium for testing a touch panel
US20110173502A1 (en) Universal serial bus system and method
CN112463502B (en) Method, device and system for detecting pin state of programmable logic device
US20080172578A1 (en) Detection device capable of detecting main-board and method therefor
CN112067970B (en) Plate intelligent test system with verification function
CN106407059A (en) Server node testing system and method
CN104571670B (en) Detection method and system of touch device
US20120143538A1 (en) Energy consumption detection system for electronic device
CN211236018U (en) Touch-control type automatic resistance testing device
JPH0750139B2 (en) Measuring device and measuring method
CN101187891A (en) Detection device for detecting mainboard and detection method thereof
CN118191462A (en) Converter transformer state detection method, device and computer equipment
TWI491898B (en) Testing system of membrane switch circuit
CN114089079A (en) An anti-interference test system
CN113741672B (en) Method, system, and related components for detecting leakage of main board power supply
CN110554812B (en) Sensing method and sensing module of touch recognition device
CN109361192B (en) A kind of terminal equipment, constant value modification method and device
CN115695159B (en) Equipment diagnosis method, device, equipment and storage medium
CN117783839B (en) Chip testing method, device, computer equipment and storage medium
CN112380077B (en) Test method, device, test equipment, storage medium and RTC integrated module
CN112181744A (en) Fault detection method, system, terminal and storage medium of converter interface
TWI547700B (en) Method for distinguishing i/o port of chip
CN218885146U (en) Temperature detection circuit with diagnosis function
CN116577551B (en) SSD power consumption testing method and system and electronic equipment
RU227674U1 (en) DEVICE FOR DIAGNOSTICS OF INPUT NORMALIZER BOARDS

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant