CN116126161B - Touch screen testing method and touch screen testing system based on artificial intelligence - Google Patents

Touch screen testing method and touch screen testing system based on artificial intelligence Download PDF

Info

Publication number
CN116126161B
CN116126161B CN202211531867.0A CN202211531867A CN116126161B CN 116126161 B CN116126161 B CN 116126161B CN 202211531867 A CN202211531867 A CN 202211531867A CN 116126161 B CN116126161 B CN 116126161B
Authority
CN
China
Prior art keywords
data
test
touch screen
data chain
points
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.)
Active
Application number
CN202211531867.0A
Other languages
Chinese (zh)
Other versions
CN116126161A (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.)
Shenzhen Antouch Technology Co ltd
Original Assignee
Shenzhen Antouch 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 Shenzhen Antouch Technology Co ltd filed Critical Shenzhen Antouch Technology Co ltd
Priority to CN202211531867.0A priority Critical patent/CN116126161B/en
Publication of CN116126161A publication Critical patent/CN116126161A/en
Application granted granted Critical
Publication of CN116126161B publication Critical patent/CN116126161B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/0412Digitisers structurally integrated in a display
    • 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
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a touch screen testing method and a touch screen testing system based on artificial intelligence, comprising the following steps: step 1: controlling a designated stylus to click a test point on a tested touch screen, and step 2: after the designated stylus finishes clicking, clicking coordinate data corresponding to each clicking action is obtained, and step 3: acquiring sample coordinate data pre-stored in the tested touch screen, and step 4: comparing the click coordinate data with the sample coordinate data to obtain the accuracy corresponding to each test point, and step 5: and generating a test report according to the accuracy corresponding to each test point, transmitting the test report to a designated terminal for display, and reading touch coordinate data stored by the touch screen device after all touch actions are finished in the touch screen detection process, so that the problem of data transmission loss caused by line shaking due to vibration of the touch actions in the touch test process is avoided.

Description

Touch screen testing method and touch screen testing system based on artificial intelligence
Technical Field
The invention relates to the field of touch screen testing, in particular to a touch screen testing method and a touch screen testing system based on artificial intelligence.
Background
The touch screen device is convenient to operate and control, is visual in display and control, becomes necessary use equipment in the society at present, and comprises at least one touch screen regardless of a mobile phone, a flat plate, a smart watch, a smart television and the like, and each touch screen needs to be tested before leaving a factory so as to detect the quality of the touch screen and the stability of a connecting line between the touch screen and a main board. In the traditional touch screen testing process, coordinate data of a point is recorded immediately after clicking one test point, however, when clicking, a circuit in the touch screen can be lost due to data transmission caused by circuit shaking caused by vibration of touch action, so that the test point with abnormal original coordinate data cannot be distinguished, and the unqualified touch screen is put into the next use, so that a new product manufactured by the touch screen is easy to appear in a phenomenon of screen failure, and the use feeling is influenced.
Therefore, the invention provides an artificial intelligence-based touch screen testing method and a touch screen testing system.
Disclosure of Invention
The invention provides a touch screen testing method and a touch screen testing system based on artificial intelligence, which are used for reading touch coordinate data stored by touch screen equipment after all touch actions are finished in the touch screen detection process, so that the problem of data transmission loss caused by line shaking due to vibration of the touch actions in the touch testing process is avoided.
The invention provides a touch screen testing method based on artificial intelligence, which comprises the following steps:
step 1: controlling a designated stylus to click a test point on the tested touch screen;
step 2: after the appointed stylus finishes clicking, acquiring clicking coordinate data corresponding to each clicking action;
step 3: acquiring sample coordinate data pre-stored in the tested touch screen;
step 4: comparing the click coordinate data with the sample coordinate data to obtain the accuracy corresponding to each test point;
step 5: and generating a test report according to the accuracy corresponding to each test point and transmitting the test report to a designated terminal for display.
In one embodiment of the present invention, in one possible implementation,
the step 1 comprises the following steps:
step 11: acquiring a position image of the tested touch screen, and acquiring a current placement position of the tested touch screen to obtain a distance vector between the current placement position and a preset placement position;
step 12: adjusting the placement position of the tested touch screen based on the distance vector until the tested touch screen is at a preset placement position;
step 13: marking test points on the tested touch screen, and controlling the appointed stylus to click each test point on the tested touch screen in sequence according to a preset click sequence.
In one embodiment of the present invention, in one possible implementation,
the step 2 comprises the following steps:
step 21: recording the clicking times of the touch pen, and determining that the designated touch pen finishes clicking when the clicking times are consistent with the number of the test points;
step 22: and acquiring feedback information of the tested touch screen on each clicking action, and acquiring clicking coordinate data corresponding to each clicking action according to the feedback information.
In one embodiment of the present invention, in one possible implementation,
step 4 comprises:
step 41: acquiring the sequence of clicking each test point on a tested touch screen by the designated stylus, obtaining a test data chain by combining the click coordinate data, and establishing a sample data chain according to sample coordinate data;
step 42: marking each test point in the test data chain to obtain a marked data chain;
step 43: overlapping the marked data chain and the sample data chain to obtain different points of the marked data chain and the sample data chain, obtaining test points corresponding to the different points of each data, and marking the test points as first test points and the rest test points as second test points;
step 44: and acquiring the data difference value corresponding to different points of each data, combining the preset difference function to acquire the accuracy corresponding to the first test point, and acquiring the initial function value of the preset difference function to acquire the accuracy corresponding to the second test point.
In one embodiment of the present invention, in one possible implementation,
the step 5 comprises the following steps:
step 51: acquiring the accuracy corresponding to each test point, and establishing an accuracy corresponding list;
step 52: the test points with the extraction accuracy within the preset accuracy range are marked as qualified test points in the accuracy corresponding list, and the test points with the extraction accuracy outside the preset accuracy range are marked as abnormal test points;
step 53: acquiring the positions of the abnormal test points on the tested touch screen to obtain the distribution information of the abnormal test points;
step 54: and generating a test report based on the abnormal test point distribution information and transmitting the test report to a designated terminal for display.
In one embodiment of the present invention, in one possible implementation,
step 43 comprises:
step 431: respectively sampling the marked data chain and the sample data chain to obtain corresponding marked sampling points and sample sampling points, respectively taking the marked data chain and the sample data chain as real parts of the data chain, and taking the marked sampling points and the sample sampling points as imaginary parts of the data chain to establish a first conjugated data chain and a second conjugated data chain;
step 432: aligning the imaginary part of a first data chain of the first conjugate data chain with the imaginary part of a second data chain of the second conjugate data chain, and drawing an alignment result in a rectangular coordinate system to obtain a corresponding first conjugate line and a corresponding second conjugate line;
step 433: when the first conjugate line and the second conjugate line are not overlapped, obtaining a phase separation point of the first conjugate line and the second conjugate line, and obtaining a corresponding phase separation degree;
step 434: and acquiring corresponding first test points on the marked data chain according to the position of each phase separation point on the marked data chain on the first conjugate line, and recording the remaining test points as second test points.
In one embodiment of the present invention, in one possible implementation,
step 44 includes:
step 441: acquiring an allowable error range of the touch screen, establishing a difference value screening model, acquiring data difference values corresponding to different points of each data, and inputting the data difference values into the difference value screening model to obtain error grades corresponding to the data difference values;
step 442: establishing corresponding grade parameters according to the error grade, and correcting a preset difference function by utilizing the grade parameters to obtain the accuracy corresponding to the first test point;
step 443: operating the preset difference function to obtain an initial function value, and generating a mean error parameter of the touch screen according to the allowable error range;
step 444: and performing mutual adaptation training on the initial function value and the mean error parameter to obtain the accuracy corresponding to the second test point.
The invention provides a touch screen testing system based on artificial intelligence, which comprises:
the clicking module is used for controlling the appointed stylus to click the test point on the tested touch screen;
the acquisition module is used for acquiring click coordinate data corresponding to each click action after the designated stylus finishes clicking;
the analysis module is used for acquiring sample coordinate data prestored in the tested touch screen;
the comparison module is used for comparing the click coordinate data with the sample coordinate data to obtain the accuracy corresponding to each test point;
and the execution module is used for generating a test report according to the accuracy corresponding to each test point and transmitting the test report to a designated terminal for display.
In one embodiment of the present invention, in one possible implementation,
the contrast module comprises:
the preprocessing unit is used for acquiring the sequence of clicking each test point on the tested touch screen by the designated stylus, obtaining a test data chain by combining the click coordinate data, and establishing a sample data chain according to the sample coordinate data;
the marking unit marks each test point in the test data chain by English to obtain a marked data chain;
the processing unit is used for carrying out overlapping processing on the marked data chain and the sample data chain, obtaining different points of the marked data chain and the sample data chain, obtaining test points corresponding to the different points of each data, and marking the test points as first test points and the rest test points as second test points;
and acquiring the data difference value corresponding to different points of each data, combining the preset difference function to acquire the accuracy corresponding to the first test point, and acquiring the initial function value of the preset difference function to acquire the accuracy corresponding to the second test point.
In one embodiment of the present invention, in one possible implementation,
the processing unit includes:
the data processing component is used for respectively sampling the marked data chain and the sample data chain to obtain corresponding marked sampling points and sample sampling points, respectively taking the marked data chain and the sample data chain as real parts of the data chain, and taking the marked sampling points and the sample sampling points as imaginary parts of the data chain to establish a first conjugated data chain and a second conjugated data chain;
the data drawing component is used for aligning the imaginary part of a first data chain of the first conjugate data chain with the imaginary part of a second data chain of the second conjugate data chain, and drawing an alignment result in a rectangular coordinate system to obtain a corresponding first conjugate line and a corresponding second conjugate line;
the data analysis component is used for acquiring the phase separation points of the first conjugate line and the second conjugate line when the first conjugate line and the second conjugate line are not coincident, and acquiring the corresponding phase separation degree;
the data execution assembly is used for acquiring corresponding first test points on the marked data chain according to the position of each phase separation point on the marked data chain on the first conjugate line, and the remaining test points are marked as second test points.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention. In the drawings:
FIG. 1 is a schematic diagram of a workflow of an artificial intelligence based touch screen testing method in an embodiment of the invention;
FIG. 2 is a schematic diagram of a workflow of step 4 in an artificial intelligence based touch screen testing method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an artificial intelligence based touch screen testing system in an embodiment of the invention.
Detailed Description
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings, it being understood that the preferred embodiments described herein are for illustration and explanation of the present invention only, and are not intended to limit the present invention.
Example 1
The embodiment provides a touch screen testing method and a touch screen testing system based on artificial intelligence, as shown in fig. 1, including:
step 1: controlling a designated stylus to click a test point on the tested touch screen;
step 2: after the appointed stylus finishes clicking, acquiring clicking coordinate data corresponding to each clicking action;
step 3: acquiring sample coordinate data pre-stored in the tested touch screen;
step 4: comparing the click coordinate data with the sample coordinate data to obtain the accuracy corresponding to each test point;
step 5: and generating a test report according to the accuracy corresponding to each test point and transmitting the test report to a designated terminal for display.
In this example, the test point is from the tested touch screen, is a point on the tested touch screen, and may be an edge position and a center position of the tested touch screen, or any other remaining position;
in this example, the click coordinate data represents data presented by the touch screen under test in the click state when the touch screen under test is clicked;
in the example, the sample coordinate data represents click coordinate data generated when a qualified tested touch screen is clicked on a test point, and the sample coordinate data is recorded for distinguishing the click coordinate data generated by each test;
in this example, the accuracy is generated from the difference between click coordinate data generated by the touch screen under test under the action of the click and sample coordinate data.
The working principle of the technical scheme has the beneficial effects that: in order to ensure the quality of the touch screen, a designated stylus is utilized to click a test point of the tested touch screen before the touch screen is put into use, then click coordinate data corresponding to each clicking action is obtained, the click coordinate data is compared with sample coordinate data, so that the accuracy corresponding to each test point can be obtained, finally, a test report can be generated, and the click coordinate data is collected only after the stylus finishes clicking, so that the problem of data transmission loss caused by line shaking due to vibration of the touch action in the touch test process is avoided.
Example 2
Based on embodiment 1, the method for testing a touch screen based on artificial intelligence, step 1 includes:
step 11: acquiring a position image of the tested touch screen, and acquiring a current placement position of the tested touch screen to obtain a distance vector between the current placement position and a preset placement position;
step 12: adjusting the placement position of the tested touch screen based on the distance vector until the tested touch screen is at a preset placement position;
step 13: marking test points on the tested touch screen, and controlling the appointed stylus to click each test point on the tested touch screen in sequence according to a preset click sequence.
In this example, the position image represents an image taken after the touch screen under test is placed in the test area;
in this example, the distance vector represents a vector pointing to a preset placement position from the current placement position;
in this example, the preset click sequence indicates the sequence of clicking the test points, and since the number of the test points is plural, the click sequence is established when clicking.
The working principle of the technical scheme has the beneficial effects that: in order to eliminate interference of objective factors on a test result, the current placement position of the tested touch screen is acquired before the test, then the relation between the current placement position and the preset placement position of the tested touch screen is analyzed, then the position adjustment is carried out, the tested touch screen is ensured to be at the preset placement position, and then the test is carried out, so that the interference of external factors is eliminated, and the erroneous test is avoided.
Example 3
Based on embodiment 1, the method for testing a touch screen based on artificial intelligence, step 2 includes:
step 21: recording the clicking times of the touch pen, and determining that the designated touch pen finishes clicking when the clicking times are consistent with the number of the test points;
step 22: and acquiring feedback information of the tested touch screen on each clicking action, and acquiring clicking coordinate data corresponding to each clicking action according to the feedback information.
The working principle of the technical scheme has the beneficial effects that: in order to avoid line shaking in the clicking process, data acquisition is required after the designated stylus clicks all test points, so that the clicking times of the stylus are analyzed, and whether clicking work is completed can be reflected on the side face.
Example 4
Based on embodiment 1, the method for testing a touch screen based on artificial intelligence, as shown in fig. 2, includes:
step 41: acquiring the sequence of clicking each test point on a tested touch screen by the designated stylus, obtaining a test data chain by combining the click coordinate data, and establishing a sample data chain according to sample coordinate data;
step 42: marking each test point in the test data chain to obtain a marked data chain;
step 43: overlapping the marked data chain and the sample data chain to obtain different points of the marked data chain and the sample data chain, obtaining test points corresponding to the different points of each data, and marking the test points as first test points and the rest test points as second test points;
step 44: and acquiring the data difference value corresponding to different points of each data, combining the preset difference function to acquire the accuracy corresponding to the first test point, and acquiring the initial function value of the preset difference function to acquire the accuracy corresponding to the second test point.
In this example, the test data chain represents a data chain obtained by arranging click coordinate data according to a click sequence;
in this example, the order of the test points in the sample data chain is identical to the order of the test points in the test data chain;
in this example, the tag data chain is consistent with the click coordinate data in the test data chain;
in this example, the data difference points represent that the coordinate data at the same location on the marker data chain and the sample data chain are different.
The working principle of the technical scheme has the beneficial effects that: in order to obtain the accuracy of each test point, a test data chain and a sample data chain are firstly established according to the sequence of clicking the test point, and then the test data chain is marked to obtain a marked data chain, so that overlapping treatment can be carried out on the marked data chain and the sample data chain, the accuracy corresponding to each test point is analyzed, the accuracy can be analyzed in a chain comparison mode, the data disorder can be avoided, the intuitiveness of comparison is improved, and the comparison blind area interference comparison result is avoided.
Example 5
Based on embodiment 1, the method for testing a touch screen based on artificial intelligence, step 5 includes:
step 51: acquiring the accuracy corresponding to each test point, and establishing an accuracy corresponding list;
step 52: the test points with the extraction accuracy within the preset accuracy range are marked as qualified test points in the accuracy corresponding list, and the test points with the extraction accuracy outside the preset accuracy range are marked as abnormal test points;
step 53: acquiring the positions of the abnormal test points on the tested touch screen to obtain the distribution information of the abnormal test points;
step 54: and generating a test report based on the abnormal test point distribution information and transmitting the test report to a designated terminal for display.
In this example, the abnormal test point distribution information represents the distribution of the abnormal test points on the tested touch screen, wherein the distribution information comprises the position of each abnormal test point on the tested touch screen.
The working principle of the technical scheme has the beneficial effects that: in order to intuitively present the real situation of the tested touch screen to related personnel, a test report is generated by using the accuracy of each test point and the distribution information of the abnormal test points, and the related personnel can see the report at a designated terminal to help the related personnel find out the problem.
Example 6
Based on embodiment 4, the method for testing a touch screen based on artificial intelligence, step 43 includes:
step 431: respectively sampling the marked data chain and the sample data chain to obtain corresponding marked sampling points and sample sampling points, respectively taking the marked data chain and the sample data chain as real parts of the data chain, and taking the marked sampling points and the sample sampling points as imaginary parts of the data chain to establish a first conjugated data chain and a second conjugated data chain;
step 432: aligning the imaginary part of a first data chain of the first conjugate data chain with the imaginary part of a second data chain of the second conjugate data chain, and drawing an alignment result in a rectangular coordinate system to obtain a corresponding first conjugate line and a corresponding second conjugate line;
step 433: when the first conjugate line and the second conjugate line are not overlapped, obtaining a phase separation point of the first conjugate line and the second conjugate line, and obtaining a corresponding phase separation degree;
step 434: and acquiring corresponding first test points on the marked data chain according to the position of each phase separation point on the marked data chain on the first conjugate line, and recording the remaining test points as second test points.
In this example, the marked sampling points represent sampling points acquired on a marked data chain, each marked sampling point containing click coordinate data;
in this example, the sample sampling points represent sampling points acquired on a sample data chain, each sample sampling point containing one sample coordinate data;
in this example, the first conjugate data chain is composed of a plurality of conjugate numbers, wherein each conjugate number is composed of a click coordinate data as a data real part and a mark sampling point as a data imaginary part;
in this example, the second conjugate data chain is composed of a plurality of conjugate numbers, wherein each conjugate number is composed of a sample coordinate data as a data real part and a sample sampling point as a data imaginary part;
in this example, the first conjugate line represents a combination of each conjugate number in the first conjugate data chain being input into the rectangular coordinate system and the corresponding points of each conjugate number being connected;
in this example, the second conjugate line represents a combination of the points corresponding to each conjugate number in the second conjugate data chain after each conjugate number is input into the rectangular coordinate system;
in this example, the separation point represents an unqualified point of the first conjugate line and the second conjugate line.
The working principle of the technical scheme has the beneficial effects that: in order to ensure the validity of the test, the data chains are in an aligned state, firstly, the marked data chains are sampled by the sample data chains respectively, then two conjugated data chains are established, and the imaginary parts of the two conjugated data chains are aligned, so that the real parts of the two conjugated data chains are also in an aligned state, and the first test point and the second test point can be distinguished.
Example 7
Based on embodiment 4, the method for testing a touch screen based on artificial intelligence, step 44 includes:
step 441: acquiring an allowable error range of the touch screen, establishing a difference value screening model, acquiring data difference values corresponding to different points of each data, and inputting the data difference values into the difference value screening model to obtain error grades corresponding to the data difference values;
step 442: establishing corresponding grade parameters according to the error grade, and correcting a preset difference function by utilizing the grade parameters to obtain the accuracy corresponding to the first test point;
step 443: operating the preset difference function to obtain an initial function value, and generating a mean error parameter of the touch screen according to the allowable error range;
step 444: and performing mutual adaptation training on the initial function value and the mean error parameter to obtain the accuracy corresponding to the second test point.
In this example, the process of obtaining the allowable error range of the touch screen and establishing the difference value screening model includes: firstly, acquiring an allowable error range of a touch screen, and then obtaining three error levels according to the allowable error range, wherein the three error levels are respectively as follows: setting up a screening layer by utilizing each error level, and combining the obtained three screening layers from high to low to obtain a difference value screening model;
in this example, the difference screening model contains a plurality of error levels.
The working principle of the technical scheme has the beneficial effects that: in order to obtain the accuracy of each test point, a difference value screening model is firstly established according to the allowable error range of the touch screen, then the error grades of different points of each data are analyzed, and then the accuracy of each test point is obtained by combining a preset function.
Example 8
The invention provides a touch screen testing system based on artificial intelligence, as shown in fig. 3, comprising:
the clicking module is used for controlling the appointed stylus to click the test point on the tested touch screen;
the acquisition module is used for acquiring click coordinate data corresponding to each click action after the designated stylus finishes clicking;
the analysis module is used for acquiring sample coordinate data prestored in the tested touch screen;
the comparison module is used for comparing the click coordinate data with the sample coordinate data to obtain the accuracy corresponding to each test point;
and the execution module is used for generating a test report according to the accuracy corresponding to each test point and transmitting the test report to a designated terminal for display.
In this example, the position image represents an image taken after the touch screen under test is placed in the test area;
in this example, the distance vector represents a vector pointing to a preset placement position from the current placement position;
in this example, the preset click sequence indicates the sequence of clicking the test points, and since the number of the test points is plural, the click sequence is established when clicking.
The working principle of the technical scheme has the beneficial effects that: in order to eliminate interference of objective factors on a test result, the current placement position of the tested touch screen is acquired before the test, then the relation between the current placement position and the preset placement position of the tested touch screen is analyzed, then the position adjustment is carried out, the tested touch screen is ensured to be at the preset placement position, and then the test is carried out, so that the interference of external factors is eliminated, and the erroneous test is avoided.
Example 9
Based on embodiment 8, the touch screen testing system based on artificial intelligence, the comparing module includes:
the preprocessing unit is used for acquiring the sequence of clicking each test point on the tested touch screen by the designated stylus, obtaining a test data chain by combining the click coordinate data, and establishing a sample data chain according to the sample coordinate data;
the marking unit marks each test point in the test data chain by English to obtain a marked data chain;
the processing unit is used for carrying out overlapping processing on the marked data chain and the sample data chain, obtaining different points of the marked data chain and the sample data chain, obtaining test points corresponding to the different points of each data, and marking the test points as first test points and the rest test points as second test points;
and acquiring the data difference value corresponding to different points of each data, combining the preset difference function to acquire the accuracy corresponding to the first test point, and acquiring the initial function value of the preset difference function to acquire the accuracy corresponding to the second test point.
In this example, the test data chain represents a data chain obtained by arranging click coordinate data according to a click sequence;
in this example, the order of the test points in the sample data chain is identical to the order of the test points in the test data chain;
in this example, the tag data chain is consistent with the click coordinate data in the test data chain;
in this example, the data difference points represent that the coordinate data at the same location on the marker data chain and the sample data chain are different.
The working principle of the technical scheme has the beneficial effects that: in order to obtain the accuracy of each test point, a test data chain and a sample data chain are firstly established according to the sequence of clicking the test point, and then the test data chain is marked to obtain a marked data chain, so that overlapping treatment can be carried out on the marked data chain and the sample data chain, the accuracy corresponding to each test point is analyzed, the accuracy can be analyzed in a chain comparison mode, the data disorder can be avoided, the intuitiveness of comparison is improved, and the comparison blind area interference comparison result is avoided.
Example 10
Based on embodiment 9, the touch screen testing system based on artificial intelligence, the processing unit includes:
the data processing component is used for respectively sampling the marked data chain and the sample data chain to obtain corresponding marked sampling points and sample sampling points, respectively taking the marked data chain and the sample data chain as real parts of the data chain, and taking the marked sampling points and the sample sampling points as imaginary parts of the data chain to establish a first conjugated data chain and a second conjugated data chain;
the data drawing component is used for aligning the imaginary part of a first data chain of the first conjugate data chain with the imaginary part of a second data chain of the second conjugate data chain, and drawing an alignment result in a rectangular coordinate system to obtain a corresponding first conjugate line and a corresponding second conjugate line;
the data analysis component is used for acquiring the phase separation points of the first conjugate line and the second conjugate line when the first conjugate line and the second conjugate line are not coincident, and acquiring the corresponding phase separation degree;
the data execution assembly is used for acquiring corresponding first test points on the marked data chain according to the position of each phase separation point on the marked data chain on the first conjugate line, and the remaining test points are marked as second test points.
In this example, the marked sampling points represent sampling points acquired on a marked data chain, each marked sampling point containing click coordinate data;
in this example, the sample sampling points represent sampling points acquired on a sample data chain, each sample sampling point containing one sample coordinate data;
in this example, the first conjugate data chain is composed of a plurality of conjugate numbers, wherein each conjugate number is composed of a click coordinate data as a data real part and a mark sampling point as a data imaginary part;
in this example, the second conjugate data chain is composed of a plurality of conjugate numbers, wherein each conjugate number is composed of a sample coordinate data as a data real part and a sample sampling point as a data imaginary part;
in this example, the first conjugate line represents a combination of each conjugate number in the first conjugate data chain being input into the rectangular coordinate system and the corresponding points of each conjugate number being connected;
in this example, the second conjugate line represents a combination of the points corresponding to each conjugate number in the second conjugate data chain after each conjugate number is input into the rectangular coordinate system;
in this example, the separation point represents an unqualified point of the first conjugate line and the second conjugate line.
The working principle of the technical scheme has the beneficial effects that: in order to ensure the validity of the test, the data chains are in an aligned state, firstly, the marked data chains are sampled by the sample data chains respectively, then two conjugated data chains are established, and the imaginary parts of the two conjugated data chains are aligned, so that the real parts of the two conjugated data chains are also in an aligned state, and the first test point and the second test point can be distinguished.
Example 11
Based on embodiment 10, the touch screen testing system based on artificial intelligence includes:
the data drawing component is further used for acquiring a first real number chain and a first imaginary number chain in the first conjugated data chain and a second real number chain and a second imaginary number chain in the second conjugated data chain;
analyzing a first conjugate of the first conjugate data chain according to the first real chain and the first imaginary chain, and analyzing a second conjugate of the second conjugate data chain according to the second real chain and the second imaginary chain;
calculating chain directions of the first conjugated data chain and the second conjugated data chain respectively according to a formula (1);
wherein K is i The value of the representation is 1 or 2, the ith conjugated data chain is represented, when i=1, the first conjugated data chain is represented, when i=2, the second conjugated data chain is represented, and a i Representing the real chain corresponding to the ith conjugated data chain, b i Represents the imaginary number chain corresponding to the ith conjugated data chain, epsilon represents the conjugated parameter, a it Representing the ith conjugated data chain corresponds to the t th real number, a, in the real number chain it-1 Representing the ith conjugated data chain corresponding to the (t-1) th real number in the real number chain, b it Representing the ith imaginary number, b, in the ith conjugated data chain to the real number chain it-1 Represents the ith conjugated data chain corresponds to the (t-1) th imaginary number in the real number chain, n represents the number of real numbers and also represents the number of imaginary numbers, a i ·b i Representing the conjugate relation corresponding to the ith conjugate data chain and representing the Euclidean norm;
respectively obtaining a first chain direction and a second chain direction corresponding to the first conjugated data chain and the second conjugated data chain according to the calculation result of the formula (1);
and obtaining first initial data of first conjugate data according to the first chain direction, obtaining second initial data of second conjugate data according to the second chain direction, performing first alignment on a first imaginary part in the first initial data and a second imaginary part in the second initial data, and performing second alignment on the remaining imaginary parts until all the imaginary parts are aligned.
The working principle of the technical scheme has the beneficial effects that: because the data has two data ends, in order to avoid the phenomenon that the head and the tail are not corresponding when the data are aligned, the head data of each conjugated data chain is calculated through a formula and then the alignment is carried out, so that the situation of data dislocation is effectively avoided.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (7)

1. The touch screen testing method based on the artificial intelligence is characterized by comprising the following steps of:
step 1: controlling a designated stylus to click a test point on the tested touch screen;
step 2: after the appointed stylus finishes clicking, acquiring clicking coordinate data corresponding to each clicking action;
step 3: acquiring sample coordinate data pre-stored in the tested touch screen;
step 4: comparing the click coordinate data with the sample coordinate data to obtain the accuracy corresponding to each test point;
step 5: generating a test report according to the accuracy corresponding to each test point and transmitting the test report to a designated terminal for display;
wherein, the step 4 includes:
step 41: acquiring the sequence of clicking each test point on a tested touch screen by the designated stylus, obtaining a test data chain by combining the click coordinate data, and establishing a sample data chain according to sample coordinate data;
step 42: marking each test point in the test data chain to obtain a marked data chain;
step 43: overlapping the marked data chain and the sample data chain to obtain different points of the marked data chain and the sample data chain, obtaining test points corresponding to the different points of each data, and marking the test points as first test points and the rest test points as second test points;
step 44: acquiring data difference values corresponding to different points of each data, combining a preset difference function to obtain accuracy corresponding to a first test point, and acquiring an initial function value of the preset difference function to obtain accuracy corresponding to a second test point;
wherein, the step 44 includes:
step 441: acquiring an allowable error range of the touch screen, establishing a difference value screening model, acquiring data difference values corresponding to different points of each data, and inputting the data difference values into the difference value screening model to obtain error grades corresponding to the data difference values;
step 442: establishing corresponding grade parameters according to the error grade, and correcting a preset difference function by utilizing the grade parameters to obtain the accuracy corresponding to the first test point;
step 443: operating the preset difference function to obtain an initial function value, and generating a mean error parameter of the touch screen according to the allowable error range;
step 444: and performing mutual adaptation training on the initial function value and the mean error parameter to obtain the accuracy corresponding to the second test point.
2. The method for testing an artificial intelligence based touch screen of claim 1, wherein step 1 comprises:
step 11: acquiring a position image of the tested touch screen, and acquiring a current placement position of the tested touch screen to obtain a distance vector between the current placement position and a preset placement position;
step 12: adjusting the placement position of the tested touch screen based on the distance vector until the tested touch screen is at a preset placement position;
step 13: marking test points on the tested touch screen, and controlling the appointed stylus to click each test point on the tested touch screen in sequence according to a preset click sequence.
3. The method for testing an artificial intelligence based touch screen of claim 1, wherein step 2 comprises:
step 21: recording the clicking times of the touch pen, and determining that the designated touch pen finishes clicking when the clicking times are consistent with the number of the test points;
step 22: and acquiring feedback information of the tested touch screen on each clicking action, and acquiring clicking coordinate data corresponding to each clicking action according to the feedback information.
4. The method for testing an artificial intelligence based touch screen of claim 1, wherein step 5 comprises:
step 51: acquiring the accuracy corresponding to each test point, and establishing an accuracy corresponding list;
step 52: the test points with the extraction accuracy within the preset accuracy range are marked as qualified test points in the accuracy corresponding list, and the test points with the extraction accuracy outside the preset accuracy range are marked as abnormal test points;
step 53: acquiring the positions of the abnormal test points on the tested touch screen to obtain the distribution information of the abnormal test points;
step 54: and generating a test report based on the abnormal test point distribution information and transmitting the test report to a designated terminal for display.
5. The method of claim 1, wherein step 43 comprises:
step 431: respectively sampling the marked data chain and the sample data chain to obtain corresponding marked sampling points and sample sampling points, respectively taking the marked data chain and the sample data chain as real parts of the data chain, and taking the marked sampling points and the sample sampling points as imaginary parts of the data chain to establish a first conjugated data chain and a second conjugated data chain;
step 432: aligning the imaginary part of a first data chain of the first conjugate data chain with the imaginary part of a second data chain of the second conjugate data chain, and drawing an alignment result in a rectangular coordinate system to obtain a corresponding first conjugate line and a corresponding second conjugate line;
step 433: when the first conjugate line and the second conjugate line are not overlapped, obtaining a phase separation point of the first conjugate line and the second conjugate line, and obtaining a corresponding phase separation degree;
step 434: and acquiring corresponding first test points on the marked data chain according to the position of each phase separation point on the marked data chain on the first conjugate line, and recording the remaining test points as second test points.
6. An artificial intelligence based touch screen testing system, comprising:
the clicking module is used for controlling the appointed stylus to click the test point on the tested touch screen;
the acquisition module is used for acquiring click coordinate data corresponding to each click action after the designated stylus finishes clicking;
the analysis module is used for acquiring sample coordinate data prestored in the tested touch screen;
the comparison module is used for comparing the click coordinate data with the sample coordinate data to obtain the accuracy corresponding to each test point;
the execution module is used for generating a test report according to the accuracy corresponding to each test point and transmitting the test report to a designated terminal for display;
wherein, the contrast module includes:
the preprocessing unit is used for acquiring the sequence of clicking each test point on the tested touch screen by the designated stylus, obtaining a test data chain by combining the click coordinate data, and establishing a sample data chain according to the sample coordinate data;
the marking unit marks each test point in the test data chain by English to obtain a marked data chain;
the processing unit is used for carrying out overlapping processing on the marked data chain and the sample data chain, obtaining different points of the marked data chain and the sample data chain, obtaining test points corresponding to the different points of each data, and marking the test points as first test points and the rest test points as second test points;
acquiring data difference values corresponding to different points of each data, combining a preset difference function to obtain accuracy corresponding to a first test point, and acquiring an initial function value of the preset difference function to obtain accuracy corresponding to a second test point;
the process of obtaining the accuracy corresponding to the second test point includes the steps of:
acquiring an allowable error range of the touch screen, establishing a difference value screening model, acquiring data difference values corresponding to different points of each data, and inputting the data difference values into the difference value screening model to obtain error grades corresponding to the data difference values;
establishing corresponding grade parameters according to the error grade, and correcting a preset difference function by utilizing the grade parameters to obtain the accuracy corresponding to the first test point;
operating the preset difference function to obtain an initial function value, and generating a mean error parameter of the touch screen according to the allowable error range;
and performing mutual adaptation training on the initial function value and the mean error parameter to obtain the accuracy corresponding to the second test point.
7. The artificial intelligence based touch screen testing system of claim 6, wherein the processing unit comprises:
the data processing component is used for respectively sampling the marked data chain and the sample data chain to obtain corresponding marked sampling points and sample sampling points, respectively taking the marked data chain and the sample data chain as real parts of the data chain, and taking the marked sampling points and the sample sampling points as imaginary parts of the data chain to establish a first conjugated data chain and a second conjugated data chain;
the data drawing component is used for aligning the imaginary part of a first data chain of the first conjugate data chain with the imaginary part of a second data chain of the second conjugate data chain, and drawing an alignment result in a rectangular coordinate system to obtain a corresponding first conjugate line and a corresponding second conjugate line;
the data analysis component is used for acquiring the phase separation points of the first conjugate line and the second conjugate line when the first conjugate line and the second conjugate line are not coincident, and acquiring the corresponding phase separation degree;
the data execution assembly is used for acquiring corresponding first test points on the marked data chain according to the position of each phase separation point on the marked data chain on the first conjugate line, and the remaining test points are marked as second test points.
CN202211531867.0A 2022-12-01 2022-12-01 Touch screen testing method and touch screen testing system based on artificial intelligence Active CN116126161B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211531867.0A CN116126161B (en) 2022-12-01 2022-12-01 Touch screen testing method and touch screen testing system based on artificial intelligence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211531867.0A CN116126161B (en) 2022-12-01 2022-12-01 Touch screen testing method and touch screen testing system based on artificial intelligence

Publications (2)

Publication Number Publication Date
CN116126161A CN116126161A (en) 2023-05-16
CN116126161B true CN116126161B (en) 2023-08-22

Family

ID=86298224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211531867.0A Active CN116126161B (en) 2022-12-01 2022-12-01 Touch screen testing method and touch screen testing system based on artificial intelligence

Country Status (1)

Country Link
CN (1) CN116126161B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102879673A (en) * 2012-09-19 2013-01-16 广州视睿电子科技有限公司 Test method and device for accuracy of touch screen
CN103853640A (en) * 2014-03-31 2014-06-11 广州华欣电子科技有限公司 Touch screen test method and device
CN103870371A (en) * 2014-03-31 2014-06-18 广州华欣电子科技有限公司 Method and device for testing smoothness of touch screen
CN113157504A (en) * 2021-03-26 2021-07-23 歌尔股份有限公司 Touch screen equipment testing method and touch screen equipment testing system
WO2022062148A1 (en) * 2020-09-22 2022-03-31 深圳市奥拓电子股份有限公司 Method, device, and system for setting connection of led display screen using two-dimensional code

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9996189B2 (en) * 2016-05-05 2018-06-12 Nvidia Corporation Detecting a tool used on a touch screen

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102879673A (en) * 2012-09-19 2013-01-16 广州视睿电子科技有限公司 Test method and device for accuracy of touch screen
CN103853640A (en) * 2014-03-31 2014-06-11 广州华欣电子科技有限公司 Touch screen test method and device
CN103870371A (en) * 2014-03-31 2014-06-18 广州华欣电子科技有限公司 Method and device for testing smoothness of touch screen
WO2022062148A1 (en) * 2020-09-22 2022-03-31 深圳市奥拓电子股份有限公司 Method, device, and system for setting connection of led display screen using two-dimensional code
CN113157504A (en) * 2021-03-26 2021-07-23 歌尔股份有限公司 Touch screen equipment testing method and touch screen equipment testing system

Also Published As

Publication number Publication date
CN116126161A (en) 2023-05-16

Similar Documents

Publication Publication Date Title
CN109408384B (en) Software application testing method and device, processor and electronic device
CN112053318B (en) Two-dimensional PCB defect real-time automatic detection and classification device based on deep learning
CN103091331B (en) System and method for visual inspection on burrs and stain defects of radio frequency identification (RFID) antennae
CN101676699B (en) Multipoint temperature acquisition method
CN109690570A (en) A kind of computer lab management method and rotating ring system
US8523052B2 (en) Visualizing and auditing elections and election results
CN108764134A (en) A kind of automatic positioning of polymorphic type instrument and recognition methods suitable for crusing robot
CN102101112B (en) Light emitting diode wafer sorting method
US20110172946A1 (en) Multifunctional distributed analysis tool and method for using same
JP4582038B2 (en) Software automatic test program, software automatic test apparatus, and software automatic test method
CN116126161B (en) Touch screen testing method and touch screen testing system based on artificial intelligence
CN110290203A (en) Artificial intelligence cloud computing carries out Noninvasive production defect recognition and information communication to manufactured goods
CN112415358A (en) Fault tracing method, storage medium, electronic device and system
CN110046009A (en) Method for recording, device, server and readable storage medium storing program for executing
CN105806848B (en) Printed circuit board detection system and its detection method
CN108415886B (en) A kind of data label error correction method and device based on production process
CN107290598A (en) A kind of field strength measured data error concealment and analysis method for aerial pattern measurement
CN106990343B (en) The test method and system of electronic component
CN110162463A (en) Method for testing software, device and electronic equipment based on automated test tool
CN115963379A (en) Automatic test method, device, equipment and storage medium for circuit board
CN113034620A (en) Correction method, correction device, computer-readable storage medium, and computer apparatus
CN107402346A (en) circuit board testing system
CN115379197A (en) Method and device for detecting lens surface of camera product on production line
US8164453B2 (en) Physical audit system with radio frequency identification and method thereof
CN109444622B (en) Automatic fault detection method, system and device for shaft angle sending system

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