CN116125176A - Touch precision detection method, device, equipment and storage medium - Google Patents

Touch precision detection method, device, equipment and storage medium Download PDF

Info

Publication number
CN116125176A
CN116125176A CN202310099154.XA CN202310099154A CN116125176A CN 116125176 A CN116125176 A CN 116125176A CN 202310099154 A CN202310099154 A CN 202310099154A CN 116125176 A CN116125176 A CN 116125176A
Authority
CN
China
Prior art keywords
touch
touch point
coordinate information
vehicle
target
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.)
Pending
Application number
CN202310099154.XA
Other languages
Chinese (zh)
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.)
Wuhan Haiwei Technology Co ltd
Original Assignee
Wuhan Haiwei 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 Wuhan Haiwei Technology Co ltd filed Critical Wuhan Haiwei Technology Co ltd
Priority to CN202310099154.XA priority Critical patent/CN116125176A/en
Publication of CN116125176A publication Critical patent/CN116125176A/en
Pending legal-status Critical Current

Links

Images

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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Navigation (AREA)
  • Position Input By Displaying (AREA)

Abstract

The invention relates to the technical field of vehicle detection, and discloses a touch precision detection method, device, equipment and storage medium, wherein the method comprises the following steps: acquiring the position of a target touch point, and determining coordinate information of the target touch point; controlling the mechanical arm to perform touch control on the vehicle-mounted display screen according to the coordinate information of the target touch point; information reading is carried out on a touch chip of the vehicle-mounted display screen, and coordinate information of an actual touch point is obtained; according to the coordinate information of the target touch point and the coordinate information of the actual touch point, analyzing and calculating to obtain touch precision; and displaying the touch precision on the vehicle-mounted display screen. According to the method, the actual touch point coordinate information is obtained by touch control according to the target touch point coordinate information, the touch precision is calculated and displayed according to the target touch point coordinate information and the actual touch point coordinate information, the problem that the consistency of the touch performance of a product is poor due to manual rough calculation is solved, the touch precision data is intuitively and accurately obtained, and the effectiveness of the product is guaranteed.

Description

Touch precision detection method, device, equipment and storage medium
Technical Field
The present invention relates to the field of vehicle detection technologies, and in particular, to a method, an apparatus, a device, and a storage medium for detecting touch accuracy.
Background
With the development of vehicle-mounted technology, vehicle-mounted display screens are increasingly popular with customers, and in order to meet various demands of customers, vehicle-mounted display screens with different sizes, resolutions and display effects are required to be provided. The vehicle-mounted display screen is an external embodiment of the vision and touch sense of the vehicle and is one of the most important experiences of interaction with the vehicle, the driving experience of a customer is very important, the touch precision is one of important parameters for confirming the touch performance, at present, the touch precision test is manually calculated, the test method is very coarse, the consistency of the touch performance of a product is poor, and the effectiveness of the product cannot be ensured.
Disclosure of Invention
The invention mainly aims to provide a touch precision detection method, device, equipment and storage medium, and aims to solve the technical problems that in the prior art, touch precision tests are all manually calculated, the testing method is rough, the consistency of touch performance of products is poor, and the effectiveness of the products cannot be guaranteed.
In order to achieve the above object, the present invention provides a touch precision detection method, which is applied to a touch precision detection system including a mechanical arm connected to an on-vehicle display screen MCU and a touch chip of the on-vehicle display screen, respectively, and the method includes the following steps:
acquiring the position of a target touch point, and determining coordinate information of the target touch point according to the position of the target touch point;
controlling the mechanical arm to touch the vehicle-mounted display screen according to the coordinate information of the target touch point;
information reading is carried out on the touch chip of the vehicle-mounted display screen, and coordinate information of an actual touch point is obtained;
according to the coordinate information of the target touch point and the coordinate information of the actual touch point, analyzing and calculating to obtain touch precision;
and displaying the touch precision on the vehicle-mounted display screen.
Optionally, before the obtaining the position of the target touch point and determining the coordinate information of the target touch point according to the position of the target touch point, the method further includes:
acquiring physical size information of a vehicle-mounted display screen;
determining an effective touch area of the vehicle-mounted display screen according to the physical size information of the vehicle-mounted display screen;
and establishing a coordinate system according to the effective touch area.
Optionally, the obtaining the position of the target touch point, and determining the coordinate information of the target touch point according to the position of the target touch point includes:
selecting a target touch point on the coordinate system;
acquiring the position of the target touch point in the coordinate system;
determining an abscissa and an ordinate of the target touch point according to the position of the target touch point;
and taking the abscissa and the ordinate of the target touch point as coordinate information of the target touch point.
Optionally, the information reading of the touch chip of the vehicle-mounted display screen to obtain coordinate information of an actual touch point includes:
reading information of the touch chip of the vehicle-mounted display screen to obtain the abscissa and the ordinate of a plurality of actual touch points;
and taking the abscissa and the ordinate of the actual touch points as coordinate information of the actual touch points.
Optionally, the analyzing and calculating according to the coordinate information of the target touch point and the coordinate information of the actual touch point to obtain touch accuracy includes:
calculating the center deviation degree and the boundary deviation degree according to the coordinate information of the target touch point and the coordinate information of the actual touch point;
and taking the center deviation degree and the boundary deviation degree as touch precision.
Optionally, the coordinate information of the target touch point includes an abscissa and an ordinate of the target touch point, and the coordinate information of the actual touch point includes an abscissa and an ordinate of a plurality of actual touch points;
the calculating the center deviation degree and the boundary deviation degree according to the coordinate information of the target touch point and the coordinate information of the actual touch point comprises the following steps:
calculating the average value of the abscissa of the plurality of actual touch points to obtain an average value of the abscissa;
calculating the average value of the ordinate of the plurality of actual touch points to obtain an average value of the ordinate;
calculating according to the center deviation degree, the abscissa average value, the ordinate average value and the corresponding relation between the abscissa and the ordinate of the target touch point to obtain the center deviation degree;
calculating according to the corresponding relation between the boundary deviation degree and the abscissa and the ordinate of the actual touch point and the abscissa and the ordinate of the target touch point, and obtaining a plurality of boundary deviation data;
and taking the maximum value in the boundary deviation data of the plurality of numbers as the boundary deviation degree.
Optionally, the touch precision detection system further comprises a vehicle-mounted SOC, and the vehicle-mounted SOC is connected with the vehicle-mounted display screen MCU through a deserializer;
the displaying the touch precision on the vehicle-mounted display screen includes:
analyzing and packaging the touch precision to obtain packaged touch precision;
and sending the packed touch precision to the vehicle-mounted SOC through a deserializer so that the vehicle-mounted SOC displays the packed touch precision on the vehicle-mounted display screen.
In addition, in order to achieve the above object, the present invention also proposes a touch accuracy detecting device including:
the information determining module is used for obtaining the position of a target touch point and determining coordinate information of the target touch point according to the position of the target touch point;
the touch control module is used for controlling the mechanical arm to carry out touch control on the vehicle-mounted display screen according to the coordinate information of the target touch point;
the information reading module is used for reading information of the touch chip of the vehicle-mounted display screen and obtaining coordinate information of an actual touch point;
the analysis and calculation module is used for carrying out analysis and calculation according to the coordinate information of the target touch point and the coordinate information of the actual touch point to obtain touch precision;
and the display module is used for displaying the touch precision on the vehicle-mounted display screen.
In addition, in order to achieve the above object, the present invention also proposes a touch accuracy detecting apparatus including: the touch accuracy detection device comprises a memory, a processor and a touch accuracy detection program stored on the memory and capable of running on the processor, wherein the touch accuracy detection program is configured to realize the steps of the touch accuracy detection method.
In addition, in order to achieve the above object, the present invention also proposes a storage medium having stored thereon a touch accuracy detection program which, when executed by a processor, implements the steps of the touch accuracy detection method as described above.
According to the invention, the actual touch point coordinate information is obtained by touch control according to the target touch point coordinate information, and the touch precision is calculated and displayed according to the target touch point coordinate information and the actual touch point coordinate information, so that the technical problems that in the prior art, the touch precision test is manually calculated, the test method is coarse, the touch performance consistency of a product is poor, the effectiveness of the product cannot be ensured, the touch precision data is intuitively and accurately obtained, and the effectiveness of the product is ensured are solved.
Drawings
FIG. 1 is a schematic diagram of a touch accuracy detection device of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart of a touch accuracy detection method according to a first embodiment of the present invention;
FIG. 3 is a schematic diagram of a touch accuracy detection system according to an embodiment of the present invention;
FIG. 4 is a flowchart of a touch accuracy detection method according to a second embodiment of the present invention;
FIG. 5 is a flowchart of a touch accuracy detection method according to a third embodiment of the present invention;
fig. 6 is a block diagram showing the structure of a touch accuracy detecting apparatus according to a first embodiment of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a touch accuracy detection device in a hardware running environment according to an embodiment of the present invention.
As shown in fig. 1, the touch accuracy detecting apparatus may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a high-speed random access Memory (Random Access Memory, RAM) or a stable nonvolatile Memory (NVM), such as a disk Memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the structure shown in fig. 1 does not constitute a limitation of the touch accuracy detection apparatus, and may include more or fewer components than shown, or may combine certain components, or may have a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a touch accuracy detection program may be included in the memory 1005 as one type of storage medium.
In the touch accuracy detecting apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the touch accuracy detection apparatus of the present invention may be provided in the touch accuracy detection apparatus, which invokes a touch accuracy detection program stored in the memory 1005 through the processor 1001 and executes the touch accuracy detection method provided by the embodiment of the present invention.
An embodiment of the invention provides a touch precision detection method, referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the touch precision detection method of the invention.
In this embodiment, the touch precision detection method is applied to a touch precision detection system including a mechanical arm connected with an on-vehicle display screen MCU and a touch chip of the on-vehicle display screen, and includes the following steps:
step S10: and acquiring the position of the target touch point, and determining coordinate information of the target touch point according to the position of the target touch point.
It should be noted that, the main execution body of the touch precision detection method in this embodiment is a vehicle-mounted display screen MCU, that is, a micro control unit (Microcontroller Unit), also called a single-chip microcomputer or a single-chip microcomputer, which is to properly reduce the frequency and the specification of the central processing unit, integrate peripheral interfaces such as a memory, a counter, a USB, an a/D conversion, UART, PLC, DMA, and the like, and even integrate an LCD driving circuit on a single chip to form a chip-level computer, and perform different combination control for different application occasions, such as control of a mobile phone, a PC periphery, a remote controller, a stepping motor, a robot arm in an automobile, an industrial, and the like.
It may be understood that the target touch point is a point for controlling the mechanical arm to perform analog touch, and the target touch point may be any point of the effective touch area of the vehicle-mounted display screen, which is not particularly limited in this embodiment.
As shown in fig. 3, the touch precision detection method is applied to a touch precision detection system, and fig. 3 is a schematic structural diagram of the touch precision detection system, wherein the touch precision detection system comprises a mechanical arm connected with a vehicle-mounted display screen MCU and a touch chip of the vehicle-mounted display screen, and the touch precision detection system further comprises a vehicle-mounted SOC connected with the vehicle-mounted display screen MCU through a deserializer.
Step S20: and controlling the mechanical arm to touch the vehicle-mounted display screen according to the coordinate information of the target touch point.
The robotic arm is an automated mechanical device which is most widely applied in the technical field of robots, and can receive instructions and accurately position a certain point on a three-dimensional or two-dimensional space for operation.
It can be understood that the target touch point information is input into the mechanical arm control system, and the mechanical arm control system transmits the target touch point information to the vehicle-mounted display screen MCU through IIC communication to perform information synchronization, so that the touch precision calculation operation is facilitated.
It should be understood that the vehicle-mounted display screen MCU controls the mechanical arm to perform simulation touch for a preset number of times according to the coordinate information of the target touch points, so as to obtain a preset number of actual touch points, and the mechanical arm control system and the vehicle-mounted display screen are in synchronous communication in the process of performing the simulation touch.
It should be noted that the vehicle-mounted display screen is a touch screen, which is also called a "touch screen" and a "touch panel", and is an inductive liquid crystal display device capable of receiving input signals such as contacts, and when a graphic button on the screen is touched, the haptic feedback system on the screen can drive various connecting devices according to a preprogrammed program, and can be used to replace a mechanical button panel, and a vivid audio/video effect can be produced by means of a liquid crystal display.
Step S30: and reading information of the touch chip of the vehicle-mounted display screen to obtain coordinate information of an actual touch point.
It should be noted that, the touch chip refers to a single-point or multi-point touch technology, the application range is a mobile phone, a computer, etc., and is an important part of an electronic device, and the touch chip of the vehicle-mounted display screen is used for storing coordinate information of an actual touch point in the embodiment.
The vehicle-mounted display screen is a display screen on the vehicle, namely a vehicle-mounted display, is arranged in the vehicle, is specially used in the vehicle, is divided into two types, namely a television which is placed on a passenger car for watching, is essentially a vehicle-mounted television, is a small-size vehicle-mounted display, generally has two paths of video inputs, one path can be connected with a vehicle-mounted DVD, the other path is connected with a vehicle-mounted camera for reversing an image, and is provided with MP5 video playing and Bluetooth functions, and the vehicle-mounted display screen can be used on similar sports tools of the vehicle, is convenient to use in the vehicle sports, is simply called mobile receiving of a digital television (distinguishing between the digital television) and the vehicle-mounted television, and mainly comprises a set top box, a liquid crystal display screen, an antenna, a vehicle-mounted power supply and the like.
Further, in order to determine the coordinate information of the actual touch point, the step S30 includes: reading information of the touch chip of the vehicle-mounted display screen to obtain the abscissa and the ordinate of a plurality of actual touch points; and taking the abscissa and the ordinate of the actual touch points as coordinate information of the actual touch points.
It should be noted that, the mechanical arm performs simulation touch with preset times to obtain a preset number of actual touch points, and the touch chip of the vehicle-mounted display screen stores abscissa and ordinate data of the preset number of actual touch points.
It can be understood that the vehicle-mounted display screen MCU reads information of the touch chip of the vehicle-mounted display screen to obtain the abscissa and the ordinate of a plurality of actual touch points, and the coordinate information of the actual touch points comprises the abscissa and the ordinate of a plurality of actual touch points.
Step S40: and analyzing and calculating according to the coordinate information of the target touch point and the coordinate information of the actual touch point to obtain touch precision.
It should be noted that, the coordinate information of the target touch point includes an abscissa and an ordinate of the target touch point, and the coordinate information of the actual touch point includes an abscissa and an ordinate of a plurality of actual touch points.
It can be understood that the touch accuracy is obtained by performing analysis and calculation according to the coordinate information of the target touch point and the coordinate information of the actual touch point, that is, performing calculation according to the abscissa and the ordinate of the target touch point and the abscissas and the ordinates of a plurality of actual touch points.
Step S50: and displaying the touch precision on the vehicle-mounted display screen.
It is understood that the vehicle-mounted display screen MCU displays the calculated touch accuracy on the screen of the vehicle-mounted display screen through the vehicle-mounted SOC.
Further, for intuitively displaying the touch accuracy, the step S50 includes: analyzing and packaging the touch precision to obtain packaged touch precision; and sending the packed touch precision to the vehicle-mounted SOC through a deserializer so that the vehicle-mounted SOC displays the packed touch precision on the vehicle-mounted display screen.
It should be noted that the touch precision detection system further comprises a vehicle-mounted SOC, and the vehicle-mounted SOC is connected with the vehicle-mounted display screen MCU through the deserializer.
It should be noted that, the SOC, i.e. the signal operation controller (Signal Operation Control), encapsulates, interfaces and integrates a plurality of practical technologies to form a brand new integrated controller, and the operation can be completed by one controller.
It can be understood that the vehicle-mounted display screen MCU analyzes and packages the touch precision, the packaged touch precision is sent to the vehicle-mounted SOC through the deserializer, and the vehicle-mounted SOC displays the packaged touch precision on the screen of the vehicle-mounted display screen.
According to the embodiment, the actual touch point coordinate information is obtained by touch control according to the target touch point coordinate information, the touch precision is calculated and displayed according to the target touch point coordinate information and the actual touch point coordinate information, the technical problems that in the prior art, the touch precision test is manually calculated, the test method is coarse, the touch performance consistency of a product is poor, the effectiveness of the product cannot be guaranteed are solved, the touch precision data are intuitively and accurately obtained, and the effectiveness of the product is guaranteed.
Referring to fig. 4, fig. 4 is a flowchart illustrating a touch accuracy detecting method according to a second embodiment of the present invention.
Based on the first embodiment, the touch precision detection method of the present embodiment further includes, before the step S10:
step S01: and acquiring physical size information of the vehicle-mounted display screen.
The physical size refers to a size that can be measured by a physical method, and refers to an actual size of a screen, and the physical size information of the vehicle-mounted display screen includes a length and a width of the screen.
Step S02: and determining an effective touch area of the vehicle-mounted display screen according to the physical size information of the vehicle-mounted display screen.
It should be noted that the effective touch area refers to a range of normal operation of the touch screen, in which the touch screen can sense and react correctly, and is generally smaller than the size of the display used.
It can be understood that in this embodiment, the effective touch area is a range of identifiable touch instructions on the vehicle-mounted display screen, and because the display screens are all narrow frames at present, the range of the display screens can be equal to the range of the vehicle-mounted display screen as the effective touch area.
Step S03: and establishing a coordinate system according to the effective touch area.
It should be noted that, the coordinate system is a common auxiliary method in science, there are usually a straight line coordinate system and a plane rectangular coordinate system, the coordinate system is selected to describe the position of the particles, the speed and direction of movement, etc., and in the reference system, a set of ordered data selected according to a specified method is called a coordinate for determining the position of a point in space.
It can be understood that the coordinate system is established with the center of the effective touch area as the origin, and in this embodiment, the coordinate system is established to determine the position of the target touch point on the vehicle-mounted display screen.
Further, to determine the coordinate information of the target touch point, the acquiring the position of the target touch point, and determining the coordinate information of the target touch point according to the position of the target touch point, includes: selecting a target touch point on the coordinate system; acquiring the position of the target touch point in the coordinate system; determining an abscissa and an ordinate of the target touch point according to the position of the target touch point; and taking the abscissa and the ordinate of the target touch point as coordinate information of the target touch point.
It should be noted that, a target touch point is selected from the coordinate system, where the target touch point may be any point on the coordinate system.
It is understood that the coordinate information of the target touch point includes an abscissa and an ordinate of the target touch point.
According to the method and the device, the effective touch area is determined according to the physical size of the vehicle-mounted display screen, the coordinate system is established according to the effective touch area, so that the coordinate information of the target touch point is determined, the touch precision is calculated according to the coordinate information of the target touch point, and the effectiveness of a product is guaranteed.
Referring to fig. 5, fig. 5 is a flowchart of a touch accuracy detecting method according to a third embodiment of the present invention.
Based on the first embodiment, the step S40 in the touch precision detection method of the present embodiment includes:
step S401: and calculating the center deviation degree and the boundary deviation degree according to the coordinate information of the target touch point and the coordinate information of the actual touch point.
It can be understood that the relationship between the coordinate information of the target touch point and the coordinate information of the actual touch point and the center deviation degree is obtained, and the center deviation degree is calculated according to the relationship between the coordinate information of the target touch point and the coordinate information of the actual touch point and the center deviation degree.
It should be understood that the relationship between the coordinate information of the target touch point, the coordinate information of the actual touch point and the boundary deviation degree is obtained, and the center deviation degree is calculated according to the relationship between the coordinate information of the target touch point, the coordinate information of the actual touch point and the boundary deviation degree.
Further, in order to calculate the degree of center deviation and the degree of boundary deviation, the step S401 includes: the calculating the center deviation degree and the boundary deviation degree according to the coordinate information of the target touch point and the coordinate information of the actual touch point comprises the following steps: calculating the average value of the abscissa of the plurality of actual touch points to obtain an average value of the abscissa; calculating the average value of the ordinate of the plurality of actual touch points to obtain an average value of the ordinate; calculating according to the center deviation degree, the abscissa average value, the ordinate average value and the corresponding relation between the abscissa and the ordinate of the target touch point to obtain the center deviation degree; calculating according to the corresponding relation between the boundary deviation degree and the abscissa and the ordinate of the actual touch point and the abscissa and the ordinate of the target touch point, and obtaining a plurality of boundary deviation data; and taking the maximum value in the boundary deviation data of the plurality of numbers as the boundary deviation degree.
It should be noted that, the coordinate information of the target touch point includes an abscissa and an ordinate of the target touch point, and the coordinate information of the actual touch point includes an abscissa and an ordinate of a plurality of actual touch points.
It can be understood that, the coordinates of the 1 st to nth actual touch points are set to be n, (X1, Y1), (X2, Y2) … (Xn-1, yn-1), (Xn, yn), and the coordinates of the target touch point are set to be (X0, Y0), respectively, and then the average value of the abscissa is:
Figure BDA0004072713580000101
wherein Xm is an average value of the abscissa, n is the number of actual touch points, X1, X2, X3 … Xn-1, and Xn is the abscissa from the 1 st actual touch point to the n actual touch point.
The mean value on the ordinate is:
Figure BDA0004072713580000102
wherein Ym is an average value of the abscissa, n is the number of actual touch points, and Y1, Y2, Y3 … Yn-1, yn are the ordinate of the 1 st actual touch point to the nth actual touch point, respectively.
In a specific implementation, the center deviation d is obtained by calculating according to the abscissa average value Xm, the ordinate average value Ym and the correspondence between the abscissa x0 and the ordinate y0 of the target touch point, and the correspondence between the abscissa average value Xm, the ordinate average value Ym and the abscissa x0 and the ordinate y0 of the target touch point is:
Figure BDA0004072713580000103
wherein d is the degree of center deviation, x0 is the abscissa of the target touch point, xm is the abscissa average, y0 is the ordinate of the target touch point, and Ym is the ordinate average.
According to the corresponding relation between the abscissa and the ordinate of the actual touch point and the abscissa x0 and the ordinate y0 of the target touch point, n boundary deviation data are obtained through calculation, and the corresponding relation between the abscissa and the ordinate of the actual touch point and the abscissa x0 and the ordinate y0 of the target touch point is as follows:
Figure BDA0004072713580000104
wherein d1, d2 … dn are boundary deviation data from the 1 st actual touch point to the n-th actual touch point, X0 is an abscissa of the target touch point, Y0 is an ordinate of the target touch point, X1, X2 … Xn are abscissas from the 1 st actual touch point to the n-th actual touch point, and Y1, Y2 … Yn are abscissas from the 1 st actual touch point to the n-th actual touch point.
The n pieces of boundary deviation data d1, d2 … dn are compared, the maximum value from the n pieces of boundary deviation data d1, d2 … dn is selected as the boundary deviation degree dmax, and the center deviation degree d and the boundary deviation degree dmax are used as the touch accuracy.
Step S402: and taking the center deviation degree and the boundary deviation degree as touch precision.
It is understood that touch accuracy includes a degree of center deviation from a degree of boundary deviation.
It is worth to say that the center deviation degree and the boundary deviation degree are obtained through calculation through the vehicle-mounted display screen MCU, manual calculation is avoided, and data are accurate.
According to the method and the device, the vehicle-mounted display screen MCU calculates according to the coordinate information of the target touch point and the coordinate information of the actual touch point, so that the touch precision is obtained, manual calculation is avoided, touch precision data can be obtained more intuitively and accurately, and the effectiveness of a product is effectively guaranteed.
Referring to fig. 6, fig. 6 is a block diagram showing the structure of a first embodiment of the touch accuracy detecting apparatus of the present invention.
As shown in fig. 6, the touch accuracy detecting device according to the embodiment of the present invention includes:
the information determining module 10 is configured to obtain a position of a target touch point, and determine coordinate information of the target touch point according to the position of the target touch point;
the touch module 20 is used for controlling the mechanical arm to touch the vehicle-mounted display screen according to the coordinate information of the target touch point;
the information reading module 30 is configured to read information from the touch chip of the vehicle-mounted display screen, and obtain coordinate information of an actual touch point;
the analysis and calculation module 40 is configured to perform analysis and calculation according to the coordinate information of the target touch point and the coordinate information of the actual touch point, so as to obtain touch accuracy;
and the display module 50 is used for displaying the touch precision on the vehicle-mounted display screen.
In an embodiment, the information determining module 10 is further configured to obtain physical size information of the vehicle-mounted display screen; determining an effective touch area of the vehicle-mounted display screen according to the physical size information of the vehicle-mounted display screen; and establishing a coordinate system according to the effective touch area.
In an embodiment, the information determining module 10 is further configured to select a target touch point on the coordinate system; acquiring the position of the target touch point in the coordinate system; determining an abscissa and an ordinate of the target touch point according to the position of the target touch point; and taking the abscissa and the ordinate of the target touch point as coordinate information of the target touch point.
In an embodiment, the information reading module 30 is further configured to read information from a touch chip of the vehicle-mounted display screen, so as to obtain an abscissa and an ordinate of a plurality of actual touch points; and taking the abscissa and the ordinate of the actual touch points as coordinate information of the actual touch points.
In an embodiment, the analysis and calculation module 40 is further configured to calculate a center deviation degree and a boundary deviation degree according to the coordinate information of the target touch point and the coordinate information of the actual touch point; and taking the center deviation degree and the boundary deviation degree as touch precision.
In an embodiment, the analysis and calculation module 40 is further configured to calculate an average value of the abscissas of the plurality of actual touch points, to obtain an average value of the abscissas; calculating the average value of the ordinate of the plurality of actual touch points to obtain an average value of the ordinate; calculating according to the center deviation degree, the abscissa average value, the ordinate average value and the corresponding relation between the abscissa and the ordinate of the target touch point to obtain the center deviation degree; calculating according to the corresponding relation between the boundary deviation degree and the abscissa and the ordinate of the actual touch point and the abscissa and the ordinate of the target touch point, and obtaining a plurality of boundary deviation data; and taking the maximum value in the boundary deviation data of the plurality of numbers as the boundary deviation degree.
In addition, in order to achieve the above object, the present invention also proposes a touch accuracy detecting apparatus including: the touch accuracy detection device comprises a memory, a processor and a touch accuracy detection program stored on the memory and capable of running on the processor, wherein the touch accuracy detection program is configured to realize the steps of the touch accuracy detection method.
Because the touch precision detection device adopts all the technical schemes of all the embodiments, the touch precision detection device at least has all the beneficial effects brought by the technical schemes of the embodiments, and the description is omitted herein.
In addition, the embodiment of the invention also provides a storage medium, wherein the storage medium stores a touch precision detection program, and the touch precision detection program realizes the steps of the touch precision detection method when being executed by a processor.
Because the storage medium adopts all the technical schemes of all the embodiments, the storage medium has at least all the beneficial effects brought by the technical schemes of the embodiments, and the description is omitted here.
It should be understood that the foregoing is illustrative only and is not limiting, and that in specific applications, those skilled in the art may set the invention as desired, and the invention is not limited thereto.
It should be noted that the above-described working procedure is merely illustrative, and does not limit the scope of the present invention, and in practical application, a person skilled in the art may select part or all of them according to actual needs to achieve the purpose of the embodiment, which is not limited herein.
In addition, technical details not described in detail in the present embodiment may refer to the touch accuracy detection method provided in any embodiment of the present invention, which is not described herein.
Furthermore, it should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. Read Only Memory)/RAM, magnetic disk, optical disk) and including several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. The touch precision detection method is characterized in that the touch precision detection method is applied to a touch precision detection system and comprises a mechanical arm connected with an MCU (micro control unit) of a vehicle-mounted display screen and a touch chip of the vehicle-mounted display screen, and the method comprises the following steps:
acquiring the position of a target touch point, and determining coordinate information of the target touch point according to the position of the target touch point;
controlling the mechanical arm to touch the vehicle-mounted display screen according to the coordinate information of the target touch point;
information reading is carried out on the touch chip of the vehicle-mounted display screen, and coordinate information of an actual touch point is obtained;
according to the coordinate information of the target touch point and the coordinate information of the actual touch point, analyzing and calculating to obtain touch precision;
and displaying the touch precision on the vehicle-mounted display screen.
2. The method of claim 1, wherein the obtaining the position of the target touch point, before determining the coordinate information of the target touch point according to the position of the target touch point, further comprises:
acquiring physical size information of a vehicle-mounted display screen;
determining an effective touch area of the vehicle-mounted display screen according to the physical size information of the vehicle-mounted display screen;
and establishing a coordinate system according to the effective touch area.
3. The method of claim 2, wherein the obtaining the position of the target touch point, and determining the coordinate information of the target touch point according to the position of the target touch point, comprises:
selecting a target touch point on the coordinate system;
acquiring the position of the target touch point in the coordinate system;
determining an abscissa and an ordinate of the target touch point according to the position of the target touch point;
and taking the abscissa and the ordinate of the target touch point as coordinate information of the target touch point.
4. The method of claim 1, wherein the step of reading information from the touch chip of the vehicle-mounted display screen to obtain coordinate information of an actual touch point comprises:
reading information of the touch chip of the vehicle-mounted display screen to obtain the abscissa and the ordinate of a plurality of actual touch points;
and taking the abscissa and the ordinate of the actual touch points as coordinate information of the actual touch points.
5. The method of claim 1, wherein the analyzing and calculating according to the coordinate information of the target touch point and the coordinate information of the actual touch point to obtain the touch precision includes:
calculating the center deviation degree and the boundary deviation degree according to the coordinate information of the target touch point and the coordinate information of the actual touch point;
and taking the center deviation degree and the boundary deviation degree as touch precision.
6. The method of claim 5, wherein the coordinate information of the target touch point includes an abscissa and an ordinate of the target touch point, and the coordinate information of the actual touch point includes an abscissa and an ordinate of a number of actual touch points;
the calculating the center deviation degree and the boundary deviation degree according to the coordinate information of the target touch point and the coordinate information of the actual touch point comprises the following steps:
calculating the average value of the abscissa of the plurality of actual touch points to obtain an average value of the abscissa;
calculating the average value of the ordinate of the plurality of actual touch points to obtain an average value of the ordinate;
calculating according to the center deviation degree, the abscissa average value, the ordinate average value and the corresponding relation between the abscissa and the ordinate of the target touch point to obtain the center deviation degree;
calculating according to the corresponding relation between the boundary deviation degree and the abscissa and the ordinate of the actual touch point and the abscissa and the ordinate of the target touch point, and obtaining a plurality of boundary deviation data;
and taking the maximum value in the boundary deviation data of the plurality of numbers as the boundary deviation degree.
7. The method of claim 1, wherein the touch accuracy detection system further comprises an onboard SOC connected to the onboard display MCU through a deserializer;
the displaying the touch precision on the vehicle-mounted display screen includes:
analyzing and packaging the touch precision to obtain packaged touch precision;
and sending the packed touch precision to the vehicle-mounted SOC through a deserializer so that the vehicle-mounted SOC displays the packed touch precision on the vehicle-mounted display screen.
8. A touch accuracy detection apparatus, the apparatus comprising:
the information determining module is used for obtaining the position of a target touch point and determining coordinate information of the target touch point according to the position of the target touch point;
the touch control module is used for controlling the mechanical arm to carry out touch control on the vehicle-mounted display screen according to the coordinate information of the target touch point;
the information reading module is used for reading information of the touch chip of the vehicle-mounted display screen and obtaining coordinate information of an actual touch point;
the analysis and calculation module is used for carrying out analysis and calculation according to the coordinate information of the target touch point and the coordinate information of the actual touch point to obtain touch precision;
and the display module is used for displaying the touch precision on the vehicle-mounted display screen.
9. A touch accuracy detecting apparatus, characterized by comprising: a memory, a processor, and a touch accuracy detection program stored on the memory and executable on the processor, the touch accuracy detection program configured to implement the touch accuracy detection method of any one of claims 1 to 7.
10. A storage medium having stored thereon a touch accuracy detection program which, when executed by a processor, implements the touch accuracy detection method according to any one of claims 1 to 7.
CN202310099154.XA 2023-01-30 2023-01-30 Touch precision detection method, device, equipment and storage medium Pending CN116125176A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310099154.XA CN116125176A (en) 2023-01-30 2023-01-30 Touch precision detection method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310099154.XA CN116125176A (en) 2023-01-30 2023-01-30 Touch precision detection method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116125176A true CN116125176A (en) 2023-05-16

Family

ID=86300770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310099154.XA Pending CN116125176A (en) 2023-01-30 2023-01-30 Touch precision detection method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116125176A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116301440A (en) * 2023-05-23 2023-06-23 深圳曦华科技有限公司 Signal processing method, device, electronic equipment and storage medium
CN117193566A (en) * 2023-11-02 2023-12-08 广州众远智慧科技有限公司 Touch screen detection method and device, electronic equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116301440A (en) * 2023-05-23 2023-06-23 深圳曦华科技有限公司 Signal processing method, device, electronic equipment and storage medium
CN116301440B (en) * 2023-05-23 2023-08-29 深圳曦华科技有限公司 Signal processing method, device, electronic equipment and storage medium
CN117193566A (en) * 2023-11-02 2023-12-08 广州众远智慧科技有限公司 Touch screen detection method and device, electronic equipment and storage medium
CN117193566B (en) * 2023-11-02 2024-03-01 广州众远智慧科技有限公司 Touch screen detection method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN116125176A (en) Touch precision detection method, device, equipment and storage medium
US9097597B2 (en) Detection device, electronic apparatus, and robot
US9199379B2 (en) Robot system display device
KR20130073621A (en) Method for controlling flexible display in portable terminal and apparatus thereof
EP2786227B1 (en) Application programming interface for a multi-pointer indirect touch input device
US10395389B2 (en) Calibration based on intrinsic parameter selection and a projected calibration target
JP2005038303A5 (en)
CN103176075B (en) Touch panel testing method
CN102955568A (en) Input unit recognizing user's motion
CN103488413A (en) Touch equipment and control method and device for displaying 3D (3-dimensional) interface on touch equipment
US9269004B2 (en) Information processing terminal, information processing method, and program
US9658715B2 (en) Display mapping modes for multi-pointer indirect input devices
CN113553261A (en) Software automation test method, equipment and computer readable storage medium
US20160004379A1 (en) Manipulation input device, portable information terminal, method for control of manipulation input device, and recording medium
JP7211772B2 (en) Area setting method, information equipment
CN113760596B (en) Method, device and medium for controlling display of liquid crystal display screen
US9274642B2 (en) Acceleration-based interaction for multi-pointer indirect input devices
CN112148139B (en) Gesture recognition method and computer readable storage medium
CN115427201A (en) Display device for industrial machine
CN105677139B (en) Information processing system, information processing unit, information processing method
KR20050063469A (en) Three dimensional input device using geo-magnetic sensor and data processing method therefor
JP7485153B2 (en) CONTROL DEVICE, INSPECTION SYSTEM, CONTROL METHOD, AND PROGRAM
US11816293B2 (en) Touch sensing apparatus, touch sensing display system including the same, and touch sensing method
CN113494899B (en) Precision evaluation device and precision evaluation method
KR20140028098A (en) Method for controlling flexible display in portable terminal and apparatus thereof

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