Patent ID: 11971959
Assignee: HON HAI PRECISION INDUSTRY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 10:
11. A non-transitory storage medium having stored thereon instructions that, when executed by a processor of an electronic device, causes the processor of the electronic device to perform a data test method based on image analysis, the method comprising:
in response to a received data test instruction for triggering the data test, obtaining parameters to be tested from the data test instruction;
determining a target working station that the parameters to be tested belongs to;
acquiring data of a previous working station corresponding to the target working station;
constructing an initial data set by using the acquired data;
obtaining target data corresponding to the parameters to be tested from the initial data set;
based on a Density-Based Spatial Clustering of Applications with Noise (DBSCAN), obtaining at least one cluster by removing discrete points in the target data and performing clustering, which comprises: obtaining core points, boundary points and noise points by marking target data; determining the noise points as discrete points, and deleting the discrete points; calculating a first distance between every two core points; obtaining at least one initial cluster by connecting all the core points within epsilon (Eps) at a first distance; for each boundary point, calculating a second distance between the each boundary point and a center point of each of the at least one initial cluster; dividing the boundary points into initial clusters corresponding to a smallest second distance; obtaining the at least one cluster by integrating all divided initial clusters;
determining a number of the at least one cluster;
in response that the determined number is greater than a preset threshold, constructing a scatter chart based on at least one cluster;
obtaining an objective function by inputting the scatter chart into a pre-trained prediction model for performing a comparison;
using the target data as an independent variable of the target function to calculate a function value and obtaining a calculation result, and verifying the parameters to be tested according to the calculation result.