WO2024066784A1 - Method and apparatus for monitoring stability of test device, and electronic device and storage medium - Google Patents

Method and apparatus for monitoring stability of test device, and electronic device and storage medium Download PDF

Info

Publication number
WO2024066784A1
WO2024066784A1 PCT/CN2023/113394 CN2023113394W WO2024066784A1 WO 2024066784 A1 WO2024066784 A1 WO 2024066784A1 CN 2023113394 W CN2023113394 W CN 2023113394W WO 2024066784 A1 WO2024066784 A1 WO 2024066784A1
Authority
WO
WIPO (PCT)
Prior art keywords
test
target
outlier factor
data
test data
Prior art date
Application number
PCT/CN2023/113394
Other languages
French (fr)
Chinese (zh)
Inventor
夏雪
韩冰
张加民
崔巍
卜有照
黄灏
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2024066784A1 publication Critical patent/WO2024066784A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software

Definitions

  • the embodiments of the present disclosure relate to the technical field of production quality control, and in particular to a monitoring method, device, electronic device and storage medium for testing the stability of equipment.
  • the embodiments of the present disclosure provide a monitoring method, apparatus, electronic device and storage medium for testing equipment stability, so as to solve the problem that in general technology, the stability of testing equipment is determined by using MSA, and experimental determination can only be performed on a single testing equipment one by one, resulting in a complex experimental scheme and a long cycle.
  • an embodiment of the present disclosure provides a method for monitoring stability of a test device, comprising:
  • the test device corresponding to the target outlier factor is determined to be an abnormal test device, and the target outlier factor is the outlier factor that does not meet a preset condition.
  • an embodiment of the present disclosure provides a monitoring device for testing the stability of a device, comprising:
  • An acquisition module configured to acquire target test data respectively sent by at least two test devices
  • a first determination module configured to determine a characteristic value of each of the test devices according to the target test data, wherein the characteristic value is used to indicate a discreteness of the target test data
  • a second determination module is configured to determine an outlier factor of each of the eigenvalues, wherein the outlier factor is used to indicate a sparse or dense relationship between the eigenvalue and other eigenvalues;
  • the third determination module is used to determine that the test device corresponding to the outlier factor that does not meet the preset condition is an abnormal test device.
  • an embodiment of the present disclosure provides an electronic device, comprising: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;
  • the memory is configured to store a computer program
  • the processor is configured to execute the program stored in the memory to implement the method for monitoring the stability of the testing equipment described in the first aspect.
  • an embodiment of the present disclosure provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the method for monitoring the stability of the test equipment described in the first aspect is implemented.
  • FIG1 is an application scenario diagram of a method for monitoring stability of a test device provided by an embodiment of the present disclosure
  • FIG2 is a flow chart of a method for monitoring the stability of a test device provided in an embodiment of the present disclosure
  • FIG3 is a two-dimensional scatter plot of characteristic values in a method for monitoring stability of a test device provided in an embodiment of the present disclosure
  • FIG4 is a schematic diagram showing a test device display of a method for monitoring the stability of a test device provided by an embodiment of the present disclosure
  • FIG5 is a structural diagram of a monitoring device for testing equipment stability provided by an embodiment of the present disclosure.
  • FIG. 6 is a structural diagram of an electronic device provided in an embodiment of the present disclosure.
  • the inventors of the present disclosure have found that the test equipment for different models of products are different but have the same characteristics: they are all machined assemblies. During use, the various parts have different degrees of wear and tear over time, which manifests as the instability of the test equipment.
  • the TS16949 quality management system standard uses the classic quality tool - measurement system analysis (MSA) to determine the stability of test equipment. It uses statistical analysis to conduct statistical variation analysis and research on the various influencing factors that constitute the measurement system to obtain a conclusion on whether the measurement system is accurate and reliable. This is a quality tool. MSA is an important task in quality improvement. Before determining the stability of equipment, a series of preparations need to be made, including preparing experimental samples, formulating experimental plans, and implementing experimental plans.
  • MSA can be used to determine the stability of test equipment. Through experimental verification and the performance of product quality-related data, the results show that the poor quality of test equipment (a certain degree of loss) will cause misjudgment of product testing, resulting in unnecessary waste of manpower and production capacity.
  • MSA usually involves testing individual test equipment one by one, with complex experimental schemes and long cycles. It is usually conducted every six months or a year, and cannot provide continuous and effective monitoring of the test equipment. There are hundreds of test equipment involved in the actual industrial production process, and it is time-consuming and labor-intensive to use MSA to determine each one, and the application value is relatively small.
  • the present disclosure provides a monitoring method, device, electronic device and storage medium for testing equipment stability, so as to solve the problem that in general technology, the stability of testing equipment is determined by MSA, and experimental determination can only be performed on a single testing equipment one by one, resulting in complex experimental schemes and long cycles.
  • a monitoring method for the stability of a test device can be applied to a hardware environment composed of a terminal 101 and a server 102 as shown in Figure 1.
  • the server 102 is connected to the terminal 101 via a network, and can be configured to provide services (such as application services, etc.) for the terminal or a client installed on the terminal.
  • a database can be set on the server or independently of the server, and is configured to provide data storage services for the server 102.
  • the above network includes but is not limited to: a wide area network, a metropolitan area network or a local area network, and the terminal 101 is not limited to a PC, a mobile phone, a tablet computer, etc.
  • the monitoring method for the stability of the test equipment of the embodiment of the present disclosure may be executed by the server 102, or by the terminal 101, or by both the server 102 and the terminal 101.
  • the terminal 101 may execute the monitoring method for the stability of the test equipment of the embodiment of the present disclosure, or the client installed thereon.
  • FIG. 2 is a flow chart of an optional monitoring method of the stability of the test device according to the embodiment of the present disclosure. As shown in FIG2 , the process of the method may include the following steps:
  • Step 201 Obtain target test data respectively sent by at least two test devices.
  • each test device may test more than one abnormal item, and may obtain more than one test result for each abnormal item.
  • the test device is usually configured to determine that the tested product is qualified after meeting the preset test conditions.
  • the abnormal item may be generated during the production or testing process of the product.
  • the test equipment first selects the test data with qualified test results from the obtained test data, and selects the target test data from the qualified test data, which can reduce the computational complexity of the test equipment monitoring process and improve the monitoring efficiency of the test equipment.
  • the target test data may be the test data corresponding to the test item that is most associated with the abnormality of the test device. Therefore, the target test data may be obtained by screening the test data.
  • the acquiring target test data respectively sent by at least two test devices includes:
  • test equipment by testing the test equipment with determined target test data, it is not necessary to calculate the test data corresponding to each test item, which can reduce the amount of calculation in the monitoring process of the test equipment and improve the monitoring efficiency of the test equipment.
  • Acquire experimental data wherein the experimental data is obtained after conducting an experiment on the test equipment having at least one abnormal item, and the experimental data includes the at least one test item; calculate the correlation between the abnormal item and the at least one test item based on the experimental data; and determine that the test item with the largest correlation is the target test item.
  • the components that are prone to loss or abnormality in the structure are sorted out to form points to be identified (i.e. abnormal items).
  • the test data is collected, the test items are sorted out and sorted according to the proportion. Whether there is some connection between the points to be identified and the test items needs to be identified by establishing the correlation between the two.
  • the identification method adopts the correlation analysis method of the spearman test.
  • the abnormal points of its test equipment i.e. abnormal items
  • a total of five types of abnormal points to be identified are sorted out, including poor contact of the RF ejector pin, dirty connector RF head, loose connector, cover plate not pressed in place, and large line loss.
  • test items for the product among which the difference between the rated power and the transmission power, the ACPR value, and the channel attenuation value are prone to failure in daily work, but whether there is a strong correlation with the abnormality of the test equipment and the degree of correlation need to be identified.
  • the Spearman test can be effectively identified, and the specific operations are as follows:
  • Step 1 Collect data and obtain the test value of each test item based on the abnormal point of the test equipment. 1 represents the occurrence of this abnormality, and 0 represents the absence of this abnormality. Record the test result values corresponding to the three test items under each abnormal combination, as shown in Table 1 below.
  • Step 2 Write the code for the core calculation formula of the spearman test.
  • x is the independent variable, representing the abnormal points of the test equipment, and y is the dependent variable, representing the three affected test items.
  • x and y are used as the input of the model for calculation to obtain the correlation coefficient and probability value between the two.
  • i represents the i-th test data in each set of test data
  • x represents the abnormal point data
  • y represents the test item data
  • Table 2 is the spearman correlation coefficient table. The larger the value, the higher the correlation between the abnormal point and the test item. It can be seen from the table that the test item of rated power and transmission power difference is correlated with each abnormal point and the correlation is high.
  • the probability value of the correlation between the outlier and the test item can be calculated based on the chi-square distribution.
  • Table 3 is the probability value result table, also known as the P value. P ⁇ 0.05 indicates a strong correlation between the two. The larger the P value, the lower the correlation between the outlier and the test item, which corresponds to the spearman correlation coefficient.
  • Step 202 Determine a characteristic value of each of the test devices according to the target test data, wherein the characteristic value is used to indicate a discreteness of the target test data.
  • each of the target test data includes at least two test data, and determining the characteristic value of each of the test devices according to the target test data includes:
  • test mean and a test standard deviation are calculated based on the at least two test data; and the test mean and the test standard deviation are determined as the characteristic values.
  • a feature engineering construction method is used to obtain better data features from the target test data to improve the detection effect. Since the test equipment determines whether the product is qualified through the test data, the identification of abnormal test equipment can also be converted into abnormal fluctuations in the test data of the test item, and the manifestation of abnormal fluctuations is represented by the feature vector of the target test data.
  • the origin moment and central moment indicators commonly used in statistics can be used to characterize it, which are also called mean and standard deviation in mathematics. Therefore, the origin moment and central moment of a set of test data of the test equipment can be used to characterize the level of the test equipment.
  • This set of characteristic values is used as the input of outlier detection, thereby converting the identification of test equipment anomalies into anomaly identification of multiple sets of characteristic values.
  • Step 203 determine an outlier factor for each eigenvalue, where the outlier factor is used to indicate a close or sparse relationship between the eigenvalue and other eigenvalues.
  • the corresponding test items are selected according to the above method, and the test values corresponding to the test items fluctuate within the range of passing the test. From the above analysis, it can be seen that a set of production test data tested by the test equipment can represent the test to a certain extent. Equipment level, and the quality level of a set of data can be reflected by the mean and standard deviation from a statistical perspective. Therefore, based on the test equipment dimension, the mean and standard deviation of a set of data tested by each test equipment are calculated. For the same type of products that pass the test, the data fluctuation is within the set range and conforms to the same normal distribution.
  • test data i.e., target test data of at least two test devices
  • a degree of deviation which is manifested as a deviation of the mean and the standard deviation
  • the fluctuation of the test data is caused by the abnormality of the test device.
  • the test data of all test devices are calculated and analyzed simultaneously, and one or several deviations are manifested as abnormal points in the group, so an abnormal point detection algorithm can be used for identification.
  • a local outlier factor (LOF) detection algorithm is used to detect abnormal test equipment.
  • LEF local outlier factor
  • the target test data is screened, and the mean and standard deviation are calculated according to the test equipment to form a two-dimensional scatter plot, see Figure 3.
  • a point represents the mean and standard deviation obtained by a test equipment testing a group of target test data.
  • d(p,o) the distance between p and o
  • C all points to be determined (i.e., the points where the eigenvalues of all target test data are located).
  • the kth distance of p is the distance of the point that is kth farthest from p.
  • the kth reachable distance from point o to point p is at least the kth distance of o or the true distance between o and p.
  • the reachable distances from o to the k points closest to o are considered equal and are all equal to d k (o).
  • the calculation formula for the sum of the distances from the points in the kth region of point p to p is:
  • the local reachability density of a point p is expressed as the inverse of the average reachability distance of point p:
  • the local reachability density of point o in the domain of point p is lrd k (o), and the sum of the ratios of the local reachability density of all points in the domain to the local reachability density of point p is:
  • the local outlier factor of point p is expressed as the average of the ratio of the local reachability density in the area of point p to the local reachability density of point p:
  • the outlier factor value of each point is calculated.
  • the outlier feature of p can be determined by the relationship between the outlier factor value and the value 1. If the ratio is closer to 1, it means that the density of p and its domain points is similar, and p may belong to the same cluster as the domain; if the ratio is less than 1, it means that the density of p is higher than the density of its domain points, and p is a dense point; if the ratio is greater than 1, it means that the density of p is less than the density of its domain points, and p is more likely to be an outlier.
  • Step 204 Determine that the test device corresponding to the target outlier factor is an abnormal test device, and the target outlier factor is the outlier factor that does not meet a preset condition.
  • the target outlier factor that does not meet the preset condition can be determined, so that the test device corresponding to the target outlier factor is determined to be an abnormal test device, thereby achieving monitoring of the test device.
  • determining the target outlier factor includes:
  • a preset threshold may be set so that an outlier factor greater than a first preset threshold is regarded as an abnormal outlier factor.
  • the confidence level is increased based on optimizing the parameter adjustment of the outlier threshold.
  • LOF is used to detect outliers.
  • the distribution of most data is regarded as the current capability. Data that is different from the current capability is more likely to be caused by abnormal conditions, and the cause needs further analysis.
  • the confidence level reaches 99.73% before it is judged as outliers, further optimizing the outlier judgment results.
  • the 3sigma principle can be used to deal with outlier factors.
  • 3sigma is also called the standard deviation method.
  • the standard deviation itself can reflect the degree of dispersion of the factor, which is based on the mean value Xmean of the factor.
  • the 3sigma principle means that there is a 99.73% probability that the value falls in the group. Any error exceeding this interval is not a random error but a gross error, and therefore is an outlier.
  • the confidence level is set to 99.73%, and the results of tracking the abnormality are used to investigate and analyze the test equipment corresponding to the abnormal point. It is found that the RF cable of the corresponding channel of the test equipment is loose, which causes poor contact of the cable. The transmission power value read by the instrument is small, and the index value is smaller than normal. In addition to causing the test data to shift, the loose phenomenon will increase the retest rate of the test equipment if it is not discovered in time, resulting in an increase in test hours and labor costs. After the test equipment was rectified, the test data of the test equipment was observed, and the overall data returned to normal.
  • the method further includes:
  • the equipment information of the abnormal test equipment is displayed, so that relevant personnel can understand the equipment information of the abnormal test equipment more intuitively and then take corresponding measures to perform maintenance.
  • the backend can obtain production test data through the API interface, filter the product bill code, channel and frequency one by one according to the product characteristics, obtain the required data, and input abnormal Calculations are performed in the point detection model, and the Python interface is implemented according to the data content that needs to be displayed on the front-end interface.
  • the front-end interface is implemented with IOT drag-and-drop components, which has the characteristics of simple operation, fast development, and clear interface display.
  • the multi-product selection function must be implemented to complete the configuration of the interface input parameters.
  • the results calculated by the algorithm are displayed in the form of a scatter plot.
  • the horizontal and vertical axes are the mean and standard deviation of a set of test data calculated by the test equipment after screening and filtering.
  • the calculation results of the abnormal points are reflected by the third feature, as shown in Figure 4.
  • the black solid points in the figure are normal data points determined by the algorithm, and the black hollow points are abnormal test equipment obtained by the judgment.
  • the abnormal station information contained in the abnormal point must also be displayed for subsequent investigation and analysis.
  • Each test device will perform multiple tests on each product, and each item has a test value and a set range. After the test is completed, a judgment will be made on whether the product has passed the test. If the product is judged to have passed the test, its test value is within the set range. For products that fail the test, their test values will exceed the range and have a large deviation. There are many reasons for the failure, including abnormal performance of the product itself, unstable test environment, etc., which will be analyzed and determined by the maintenance personnel. The test values of products that pass the test are within the set range. Therefore, for products of the same type/model, even if they are tested on different devices, according to statistical principles, their test values conform to the same normal distribution for a sufficient sample size.
  • the present disclosure analyzes the relationship between the loss of the test equipment and the fluctuation of the test value of the tested products, and based on the requirement of sufficient sample size (optional, the number is greater than 30), selects a group of test data of products that have passed the test of each test equipment, and calculates the mean and standard deviation of each group of data, respectively, to characterize the level of the test equipment.
  • the statistical calculation value (mean and standard deviation) of each group of data forms a two-dimensional data point, and multiple groups of data form multiple data points.
  • the degree of outlier of each data point is calculated based on the local outlier factor detection (LOF) algorithm, and the outlier is determined according to the set threshold, that is, the test equipment that causes fluctuations in the group or groups of test data is found, and the algorithm is improved in combination with actual applications to achieve simultaneous monitoring of multiple test equipment, which is used to identify equipment loss in advance, make corrections in time, and avoid equipment loss.
  • LEF local outlier factor detection
  • the disclosed monitoring method for the stability of test equipment analyzes the correlation between production test data and test equipment, and uses a local outlier factor detection algorithm in combination with the characteristics of production test data to identify abnormalities in test equipment, thereby continuously and effectively monitoring all test equipment, thus solving the current shortcomings of only using the measurement system to analyze and determine test equipment.
  • threshold adjustment and limiting conditions based on the 3sigma abnormality judgment principle are adopted to make its application more accurate and complete.
  • This method provides a series of principle methods from test equipment analysis, test data calculation and processing to optimization, making test equipment monitoring a new management model, promoting the maintenance and upgrade of test equipment, and further optimizing the guarantee mechanism.
  • a monitoring device for testing the stability of equipment is provided in an embodiment of the present disclosure.
  • the implementation of the device can refer to the description of the method embodiment part, and the repeated parts will not be repeated.
  • the device mainly includes:
  • An acquisition module 501 is configured to acquire target test data respectively sent by at least two test devices;
  • a first determination module 502 is configured to determine a characteristic value of each of the test devices according to the target test data, wherein the characteristic value is used to indicate a discreteness of the target test data;
  • a second determination module 503 is configured to determine an outlier factor for each of the eigenvalues, where the outlier factor is used to indicate a sparse or dense relationship between the eigenvalue and other eigenvalues;
  • the third determination module 504 is configured to determine that the test device corresponding to the outlier factor that does not meet the preset condition is an abnormal test device.
  • the electronic device mainly includes: a processor 601, a memory 602 and a communication bus 603, wherein the processor 601 and the memory 602 communicate with each other through the communication bus 603.
  • the memory 602 stores a program executable by the processor 601, and the processor 601 executes the program stored in the memory 602 to implement the following steps:
  • the characteristic value is used to indicate the discreteness of the target test data
  • the test device corresponding to the target outlier factor is determined to be an abnormal test device, and the target outlier factor is the outlier factor that does not meet a preset condition.
  • the communication bus 603 mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the communication bus 603 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in FIG6 , but it does not mean that there is only one bus or one type of bus.
  • the memory 602 may include a random access memory (RAM) or a non-volatile memory, such as at least one disk storage.
  • RAM random access memory
  • non-volatile memory such as at least one disk storage.
  • the memory may also be at least one storage device located away from the processor 601.
  • the above-mentioned processor 601 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc., and can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • CPU central processing unit
  • NP network processor
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • the above technical solution provided by the embodiment of the present disclosure has the following advantages: the method provided by the embodiment of the present disclosure obtains target test data respectively sent by at least two test devices; determines the characteristic value of each test device according to the target test data, and the characteristic value is used to indicate the discreteness of the target test data; determines the outlier factor of each characteristic value, and the outlier factor is used to indicate the sparseness relationship between the characteristic value and other characteristic values; determines the test device corresponding to the target outlier factor as an abnormal test device; The target outlier factor is the outlier factor that does not meet the preset conditions.
  • the outlier factor calculated by the characteristic value of the acquired target test data determines the density relationship between the test data of each test equipment and other test data, thereby determining the abnormal test equipment, realizing real-time monitoring of the test equipment, improving the monitoring efficiency of the test equipment, and thus reducing the defective rate of the equipment shipped out of the factory.
  • a computer-readable storage medium in which a computer program is stored.
  • the computer program runs on a computer, the computer executes the method for monitoring the stability of the test equipment described in the above embodiment.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device.
  • the computer instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instruction is transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, microwave, etc.) mode to another website site, computer, server or data center.
  • the computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integration.
  • the available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape, etc.), an optical medium (e.g., a DVD) or a semiconductor medium (e.g., a solid-state hard disk), etc.
  • a magnetic medium e.g., a floppy disk, a hard disk, a tape, etc.
  • an optical medium e.g., a DVD
  • a semiconductor medium e.g., a solid-state hard disk

Abstract

A method and apparatus for monitoring the stability of a test device, and an electronic device and a storage medium, which are applied to the technical field of production quality control. The method comprises: acquiring target test data, which is respectively sent by at least two test devices (201); determining a feature value of each test device according to the target test data, wherein the feature value is used for indicating the dispersion of the target test data (202); determining an outlier factor of each feature value, wherein the outlier factor is used for indicating a density relationship between the feature value and other feature values (203); and determining that a test device corresponding to a target outlier factor is an abnormal test device, wherein the target outlier factor is an outlier factor that does not meet a preset condition (204).

Description

测试设备稳定性的监控方法、装置、电子设备和存储介质Monitoring method, device, electronic device and storage medium for testing device stability
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本公开基于2022年9月27日提交的发明名称为“测试设备稳定性的监控方法、装置、电子设备和存储介质”的中国专利申请202211181015.3,并且要求该专利申请的优先权,通过引用将其所公开的内容全部并入本公开。The present disclosure is based on Chinese patent application 202211181015.3, filed on September 27, 2022, entitled “Monitoring method, device, electronic device and storage medium for testing equipment stability”, and claims the priority of the patent application, and all the contents disclosed therein are incorporated into the present disclosure by reference.
技术领域Technical Field
本公开实施例涉及生产质量控制技术领域,尤其涉及一种测试设备稳定性的监控方法、装置、电子设备和存储介质。The embodiments of the present disclosure relate to the technical field of production quality control, and in particular to a monitoring method, device, electronic device and storage medium for testing the stability of equipment.
背景技术Background technique
为提高产品出厂的合格率,产品在生产加工过程中通常存在测试环节,随着智能化的发展,大量生产自动化设备导入,质量关注点由人员执行力向设备稳定性聚焦,意味着质量要求升级,测试设备稳定性能否及时被识别评估显得至关重要。In order to improve the qualified rate of products leaving the factory, there is usually a testing link in the production and processing process of products. With the development of intelligence and the introduction of a large number of production automation equipment, the focus of quality has shifted from personnel execution to equipment stability, which means that quality requirements have been upgraded. Whether the stability of test equipment can be identified and evaluated in time is crucial.
发明内容Summary of the invention
本公开实施例提供了一种测试设备稳定性的监控方法、装置、电子设备和存储介质,用以解决一般技术中,采用MSA判定测试设备的稳定性的方式,只能针对单个测试设备逐一进行实验判定,实验方案复杂,周期较长的问题。The embodiments of the present disclosure provide a monitoring method, apparatus, electronic device and storage medium for testing equipment stability, so as to solve the problem that in general technology, the stability of testing equipment is determined by using MSA, and experimental determination can only be performed on a single testing equipment one by one, resulting in a complex experimental scheme and a long cycle.
第一方面,本公开实施例提供了一种测试设备稳定性的监控方法,包括:In a first aspect, an embodiment of the present disclosure provides a method for monitoring stability of a test device, comprising:
获取至少两个测试设备各自发送的目标测试数据;Obtain target test data respectively sent by at least two test devices;
根据所述目标测试数据确定各所述测试设备的特征值,所述特征值用于指示所述目标测试数据的离散度; Determine a characteristic value of each of the test devices according to the target test data, wherein the characteristic value is used to indicate the discreteness of the target test data;
确定每个所述特征值的离群因子,所述离群因子用于指示所述特征值与其他特征值之间的疏密关系;Determine an outlier factor for each eigenvalue, where the outlier factor is used to indicate a close or sparse relationship between the eigenvalue and other eigenvalues;
确定目标离群因子对应的所述测试设备为异常测试设备,所述目标离群因子为不满足预设条件的所述离群因子。The test device corresponding to the target outlier factor is determined to be an abnormal test device, and the target outlier factor is the outlier factor that does not meet a preset condition.
第二方面,本公开实施例提供了一种测试设备稳定性的监控装置,包括:In a second aspect, an embodiment of the present disclosure provides a monitoring device for testing the stability of a device, comprising:
获取模块,设置为获取至少两个测试设备各自发送的目标测试数据;An acquisition module, configured to acquire target test data respectively sent by at least two test devices;
第一确定模块,设置为根据所述目标测试数据确定各所述测试设备的特征值,所述特征值用于指示所述目标测试数据的离散度;A first determination module, configured to determine a characteristic value of each of the test devices according to the target test data, wherein the characteristic value is used to indicate a discreteness of the target test data;
第二确定模块,设置为确定每个所述特征值的离群因子,所述离群因子用于指示所述特征值与其他特征值之间的疏密关系;A second determination module is configured to determine an outlier factor of each of the eigenvalues, wherein the outlier factor is used to indicate a sparse or dense relationship between the eigenvalue and other eigenvalues;
第三确定模块,用于确定不满足预设条件的所述离群因子对应的所述测试设备为异常测试设备。The third determination module is used to determine that the test device corresponding to the outlier factor that does not meet the preset condition is an abnormal test device.
第三方面,本公开实施例提供了一种电子设备,包括:处理器、通信接口、存储器和通信总线,其中,处理器、通信接口和存储器通过通信总线完成相互间的通信;In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;
所述存储器,设置为存储计算机程序;The memory is configured to store a computer program;
所述处理器,设置为执行所述存储器中所存储的程序,实现第一方面所述的测试设备稳定性的监控方法。The processor is configured to execute the program stored in the memory to implement the method for monitoring the stability of the testing equipment described in the first aspect.
第四方面,本公开实施例提供了一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现第一方面所述的测试设备稳定性的监控方法。In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the method for monitoring the stability of the test equipment described in the first aspect is implemented.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
为了更清楚地说明本发明实施例或一般技术中的技术方案,下面 将对实施例或一般技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the general technology, The drawings required for use in the embodiments or general technical descriptions will be briefly introduced. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
图1为本公开一实施例提供的测试设备稳定性的监控方法的应用场景图;FIG1 is an application scenario diagram of a method for monitoring stability of a test device provided by an embodiment of the present disclosure;
图2为本公开一实施例提供的测试设备稳定性的监控方法的流程图;FIG2 is a flow chart of a method for monitoring the stability of a test device provided in an embodiment of the present disclosure;
图3为本公开一实施例提供的测试设备稳定性的监控方法中特征值构成的二维散点图;FIG3 is a two-dimensional scatter plot of characteristic values in a method for monitoring stability of a test device provided in an embodiment of the present disclosure;
图4为本公开一实施例提供的测试设备稳定性的监控方法的测试设备显示示意图;FIG4 is a schematic diagram showing a test device display of a method for monitoring the stability of a test device provided by an embodiment of the present disclosure;
图5为本公开一实施例提供的测试设备稳定性的监控装置的结构图;FIG5 is a structural diagram of a monitoring device for testing equipment stability provided by an embodiment of the present disclosure;
图6为本公开一实施例提供的电子设备的结构图。FIG. 6 is a structural diagram of an electronic device provided in an embodiment of the present disclosure.
具体实施方式Detailed ways
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开的一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.
本公开发明人发现,不同型号的产品其测试设备各不相同但具有同一特性:均为机加组合件。使用过程中随着时间流逝各部分存在不同程度的损耗,表现为测试设备的不稳定性。TS16949质量管理体系标准中对测试设备稳定性的判定采用经典的质量工具-测量系统分析(MSA)。其通过统计分析的手段,对构成测量系统的各个影响因子进行统计变差分析和研究以得到测量系统是否准确可靠的结论,是质 量改进中的一项重要工作。MSA在进行设备稳定性判定前需要进行一系列的准备工作,包括准备实验样本、制定实验方案、实施实验方案等,获取实验数据后输入minitab软件中获得稳定性判定结果。MSA可以用来判定测试设备的稳定性,通过实验验证和产品质量相关数据的表现,结果表明测试设备的不良(一定程度的损耗)会引起产品测试误判,造成人力产能等不必要的浪费。The inventors of the present disclosure have found that the test equipment for different models of products are different but have the same characteristics: they are all machined assemblies. During use, the various parts have different degrees of wear and tear over time, which manifests as the instability of the test equipment. The TS16949 quality management system standard uses the classic quality tool - measurement system analysis (MSA) to determine the stability of test equipment. It uses statistical analysis to conduct statistical variation analysis and research on the various influencing factors that constitute the measurement system to obtain a conclusion on whether the measurement system is accurate and reliable. This is a quality tool. MSA is an important task in quality improvement. Before determining the stability of equipment, a series of preparations need to be made, including preparing experimental samples, formulating experimental plans, and implementing experimental plans. After obtaining experimental data, input them into Minitab software to obtain the stability determination results. MSA can be used to determine the stability of test equipment. Through experimental verification and the performance of product quality-related data, the results show that the poor quality of test equipment (a certain degree of loss) will cause misjudgment of product testing, resulting in unnecessary waste of manpower and production capacity.
但MSA通常是针对单个测试设备逐一进行实验判定,实验方案复杂,周期较长。且一般每半年/年进行一次,无法对测试设备进行持续有效的监控。实际工业生产过程中涉及的测试设备上百台,逐一采用MSA进行判定耗时耗力,应用价值较小。However, MSA usually involves testing individual test equipment one by one, with complex experimental schemes and long cycles. It is usually conducted every six months or a year, and cannot provide continuous and effective monitoring of the test equipment. There are hundreds of test equipment involved in the actual industrial production process, and it is time-consuming and labor-intensive to use MSA to determine each one, and the application value is relatively small.
基于上述技术问题,本公开提供了一种测试设备稳定性的监控方法、装置、电子设备和存储介质,用以解决一般技术中,采用MSA判定测试设备的稳定性的方式,只能针对单个测试设备逐一进行实验判定,实验方案复杂,周期较长的问题。Based on the above technical problems, the present disclosure provides a monitoring method, device, electronic device and storage medium for testing equipment stability, so as to solve the problem that in general technology, the stability of testing equipment is determined by MSA, and experimental determination can only be performed on a single testing equipment one by one, resulting in complex experimental schemes and long cycles.
根据本公开一实施例提供了一种测试设备稳定性的监控方法。在本公开实施例中,上述测试设备稳定性的监控方法可以应用于如图1所示的由终端101和服务器102所构成的硬件环境中。如图1所示,服务器102通过网络与终端101进行连接,可设置为为终端或终端上安装的客户端提供服务(如应用服务等),可在服务器上或独立于服务器设置数据库,设置为为服务器102提供数据存储服务,上述网络包括但不限于:广域网、城域网或局域网,终端101并不限定于PC、手机、平板电脑等。According to an embodiment of the present disclosure, a monitoring method for the stability of a test device is provided. In an embodiment of the present disclosure, the monitoring method for the stability of the test device can be applied to a hardware environment composed of a terminal 101 and a server 102 as shown in Figure 1. As shown in Figure 1, the server 102 is connected to the terminal 101 via a network, and can be configured to provide services (such as application services, etc.) for the terminal or a client installed on the terminal. A database can be set on the server or independently of the server, and is configured to provide data storage services for the server 102. The above network includes but is not limited to: a wide area network, a metropolitan area network or a local area network, and the terminal 101 is not limited to a PC, a mobile phone, a tablet computer, etc.
本公开实施例的测试设备稳定性的监控方法可以由服务器102来执行,也可以由终端101来执行,还可以是由服务器102和终端101共同执行。其中,终端101执行本公开实施例的测试设备稳定性的监控方法,也可以是由安装在其上的客户端来执行。The monitoring method for the stability of the test equipment of the embodiment of the present disclosure may be executed by the server 102, or by the terminal 101, or by both the server 102 and the terminal 101. The terminal 101 may execute the monitoring method for the stability of the test equipment of the embodiment of the present disclosure, or the client installed thereon.
以终端执行本公开实施例的测试设备稳定性的监控方法为例,图2是根据本公开实施例的一种可选的测试设备稳定性的监控方法的流程 示意图,如图2所示,该方法的流程可以包括以下步骤:Taking the terminal executing the monitoring method of the stability of the test device according to the embodiment of the present disclosure as an example, FIG. 2 is a flow chart of an optional monitoring method of the stability of the test device according to the embodiment of the present disclosure. As shown in FIG2 , the process of the method may include the following steps:
步骤201、获取至少两个测试设备各自发送的目标测试数据。Step 201: Obtain target test data respectively sent by at least two test devices.
一些实施例中,对于每个测试设备其测试的异常项目可能不止一项,对每个异常项目得到的测试结果可能也不止一项。测试设备通常配置为满足预设测试条件后,判定被测产品为合格。其中,异常项目可以是在产品在生产或测试程中产生的。In some embodiments, each test device may test more than one abnormal item, and may obtain more than one test result for each abnormal item. The test device is usually configured to determine that the tested product is qualified after meeting the preset test conditions. The abnormal item may be generated during the production or testing process of the product.
基于此,测试设备在每次测试后,从得到的测试数据中先选取出测试结果为合格的测试数据,从合格的测试数据中,选择目标测试数据,能够降低测试设备监控过程的计算量,提高测试设备的监控效率。Based on this, after each test, the test equipment first selects the test data with qualified test results from the obtained test data, and selects the target test data from the qualified test data, which can reduce the computational complexity of the test equipment monitoring process and improve the monitoring efficiency of the test equipment.
其中,目标测试数据可以是,与所述测试设备异常关联性最高的测试项目对应测试数据。因此,可以通过从测试数据中进行筛选的方式,得到所述目标测试数据。The target test data may be the test data corresponding to the test item that is most associated with the abnormality of the test device. Therefore, the target test data may be obtained by screening the test data.
在一个实施例中,所述获取至少两个测试设备各自发送的目标测试数据,包括:In one embodiment, the acquiring target test data respectively sent by at least two test devices includes:
获取每个所述测试设备发送的至少一个测试项目的初始测试数据;从所述初始测试数据中,筛选得到目标测试项目对应所述目标测试数据,所述目标测试项目为至少一个所述测试项目中与所述测试设备异常关联性最高的测试项目。Acquire initial test data of at least one test item sent by each of the test devices; and filter out a target test item corresponding to the target test data from the initial test data, wherein the target test item is a test item that is most highly correlated with an abnormality of the test device among at least one of the test items.
一些实施例中,通过确定的目标测试数据对测试设备进行测试,不必对每个测试项目对应的测试数据都进行计算,能够降低测试设备监控过程的计算量,提高测试设备的监控效率。In some embodiments, by testing the test equipment with determined target test data, it is not necessary to calculate the test data corresponding to each test item, which can reduce the amount of calculation in the monitoring process of the test equipment and improve the monitoring efficiency of the test equipment.
在一个可选实施例中,确定目标测试项目的方式有多种,例如可以采用如下方式:In an optional embodiment, there are multiple ways to determine the target test items, for example, the following ways can be used:
获取实验数据,所述实验数据是基于具有至少一个异常项目的所述测试设备进行实验后得到的,所述实验数据中包括所述至少一个测试项目;基于所述实验数据计算所述异常项目与所述至少一个测试项目间的关联度;确定所述关联度最大的所述测试项目为所述目标测试项目。 Acquire experimental data, wherein the experimental data is obtained after conducting an experiment on the test equipment having at least one abnormal item, and the experimental data includes the at least one test item; calculate the correlation between the abnormal item and the at least one test item based on the experimental data; and determine that the test item with the largest correlation is the target test item.
针对测试设备结构设计,整理结构中易出现损耗或异常的组成部件,形成待识别点(即异常项目)。同时收集测试数据,梳理测试项目并按照占比排序。待识别点和测试项目之间是否存在某些联系,需要通过建立两者之间的相关性来识别。识别方法采用spearman检验的相关性分析方法。In view of the structural design of the test equipment, the components that are prone to loss or abnormality in the structure are sorted out to form points to be identified (i.e. abnormal items). At the same time, the test data is collected, the test items are sorted out and sorted according to the proportion. Whether there is some connection between the points to be identified and the test items needs to be identified by establishing the correlation between the two. The identification method adopts the correlation analysis method of the spearman test.
示例性的,以某一5G重点产品为例,对其测试设备异常点(即异常项目)进行梳理,总共整理出射频顶针接触不良、连接器射频头脏污、连接器松动、盖板压合不到位和线损偏大五类异常的待识别点。产品的测试项较多,其中额定功率与发射功率差值、ACPR值和通道衰减值这三项在日常工作中易出现失败项,但与测试设备异常是否存在强相关性以及相关程度的大小需要进行识别。Spearman检验可以有效进行识别,具体操作如下:For example, taking a key 5G product as an example, the abnormal points of its test equipment (i.e. abnormal items) are sorted out, and a total of five types of abnormal points to be identified are sorted out, including poor contact of the RF ejector pin, dirty connector RF head, loose connector, cover plate not pressed in place, and large line loss. There are many test items for the product, among which the difference between the rated power and the transmission power, the ACPR value, and the channel attenuation value are prone to failure in daily work, but whether there is a strong correlation with the abnormality of the test equipment and the degree of correlation need to be identified. The Spearman test can be effectively identified, and the specific operations are as follows:
第一步:收集数据,以测试设备的异常点获取各测试项的测试值。1代表发生此异常,0为无此异常,记录各异常组合下三个测试项对应的测试结果值,如下表1所示。Step 1: Collect data and obtain the test value of each test item based on the abnormal point of the test equipment. 1 represents the occurrence of this abnormality, and 0 represents the absence of this abnormality. Record the test result values corresponding to the three test items under each abnormal combination, as shown in Table 1 below.
表1:
Table 1:
第二步:编写spearman检验核心计算公式部分的代码,x为自变量,分别代表测试设备的异常点,y为因变量,分别代表受影响的三个测试项。x、y作为模型的输入进行计算,得到两者之间的相关系数和概率值。 Step 2: Write the code for the core calculation formula of the spearman test. x is the independent variable, representing the abnormal points of the test equipment, and y is the dependent variable, representing the three affected test items. x and y are used as the input of the model for calculation to obtain the correlation coefficient and probability value between the two.
计算公式为:The calculation formula is:
相关系数 Correlation coefficient
其中,i表示每组测试数据中的第i条测试数据,x表示异常点数据,y表示测试项目数据。Among them, i represents the i-th test data in each set of test data, x represents the abnormal point data, and y represents the test item data.
基于上述方式,计算得到的测试设备异常和三个测试项之间的相关程度结果表,表2为spearman相关系数表,数值越大表示异常点和测试项之间的相关程度越高,从表中可以看出额定功率与发射功率差这一测试项与每一个异常点均有相关性且相关程度较高。Based on the above method, the correlation result table between the test equipment abnormality and the three test items is calculated. Table 2 is the spearman correlation coefficient table. The larger the value, the higher the correlation between the abnormal point and the test item. It can be seen from the table that the test item of rated power and transmission power difference is correlated with each abnormal point and the correlation is high.
表2:
Table 2:
进一步的,异常点和测试项之间的相关性的概率值可以基于卡方分布进行计算。Furthermore, the probability value of the correlation between the outlier and the test item can be calculated based on the chi-square distribution.
表3为概率值结果表,也为P值,P<0.05,表示两者之间存在强相关性,P值越大,异常点和测试项之间的相关程度越低,与spearman相关系数呈对应关系。Table 3 is the probability value result table, also known as the P value. P<0.05 indicates a strong correlation between the two. The larger the P value, the lower the correlation between the outlier and the test item, which corresponds to the spearman correlation coefficient.
表3:

table 3:

因此,通过上述两张结果表2和表3,可以得出额定功率与发射功率差最易受工位环境影响,其测试值可以用于后续分析。针对每一类型/机型产品都可采用以上方式选择合适的待分析数据。Therefore, through the above two result tables 2 and 3, it can be concluded that the difference between the rated power and the transmitted power is most susceptible to the workstation environment, and its test value can be used for subsequent analysis. The above method can be used to select appropriate data to be analyzed for each type/model of product.
步骤202、根据所述目标测试数据确定各所述测试设备的特征值,所述特征值用于指示所述目标测试数据的离散度。Step 202: Determine a characteristic value of each of the test devices according to the target test data, wherein the characteristic value is used to indicate a discreteness of the target test data.
一些实施例中,各所述目标测试数据中包括至少两条测试数据,所述根据所述目标测试数据确定各所述测试设备的特征值,包括:In some embodiments, each of the target test data includes at least two test data, and determining the characteristic value of each of the test devices according to the target test data includes:
基于所述至少两条测试数据计算得到测试均值和测试标准差;确定所述测试均值和测试标准差为所述特征值。A test mean and a test standard deviation are calculated based on the at least two test data; and the test mean and the test standard deviation are determined as the characteristic values.
为使后续异常检测时的数据特征更加显著,本实施例中,采用特征工程构造的方法,从目标测试数据中获取更好的数据特征,以提升检测效果。由于,测试设备通过测试数据确定产品是否合格,同样的,异常测试设备的识别也可以转化为测试项测试数据的异常波动,而异常波动的体现则由目标测试数据的特征向量来表征。In order to make the data features more significant during subsequent anomaly detection, in this embodiment, a feature engineering construction method is used to obtain better data features from the target test data to improve the detection effect. Since the test equipment determines whether the product is qualified through the test data, the identification of abnormal test equipment can also be converted into abnormal fluctuations in the test data of the test item, and the manifestation of abnormal fluctuations is represented by the feature vector of the target test data.
为了更好描述一组数据的特征分布,可以采用统计学中常用原点矩和中心矩指标来表征,数学中也称为均值和标准差。因此,可以用测试设备的一组测试数据的原点矩和中心矩这两个特征,用于表征测试设备的水平,这组特征值作为异常点检测的输入,从而,将测试设备异常的识别转化为多组特征值的异常识别。In order to better describe the characteristic distribution of a set of data, the origin moment and central moment indicators commonly used in statistics can be used to characterize it, which are also called mean and standard deviation in mathematics. Therefore, the origin moment and central moment of a set of test data of the test equipment can be used to characterize the level of the test equipment. This set of characteristic values is used as the input of outlier detection, thereby converting the identification of test equipment anomalies into anomaly identification of multiple sets of characteristic values.
步骤203、确定每个所述特征值的离群因子,所述离群因子用于指示所述特征值与其他特征值之间的疏密关系。Step 203: determine an outlier factor for each eigenvalue, where the outlier factor is used to indicate a close or sparse relationship between the eigenvalue and other eigenvalues.
其中,对于每种产品和其各个测试工序,按照上述方式选择对应的测试项,测试项对应的测试值在测试通过的范围内波动。由上述分析可知,测试设备测试的一组生产测试数据在一定程度上可代表测试 设备水平,而一组数据的质量水平从统计学角度分析可通过均值和标准差体现。因此以测试设备维度,计算每个测试设备测试的一组数据的均值和标注差,对于测试通过的同一类型产品,其数据波动是在设定的范围内且符合同一正态分布的。Among them, for each product and each test process, the corresponding test items are selected according to the above method, and the test values corresponding to the test items fluctuate within the range of passing the test. From the above analysis, it can be seen that a set of production test data tested by the test equipment can represent the test to a certain extent. Equipment level, and the quality level of a set of data can be reflected by the mean and standard deviation from a statistical perspective. Therefore, based on the test equipment dimension, the mean and standard deviation of a set of data tested by each test equipment are calculated. For the same type of products that pass the test, the data fluctuation is within the set range and conforms to the same normal distribution.
基于上述实施例,在设定范围内波动的多组数据(即至少两个测试设备的目标测试数据)中如果出现一组或少数几组较大程度的偏移,表现为均值和标注差的偏移,则可认为是由测试设备异常导致测试数据的波动。对所有测试设备的测试数据同时进行计算和分析,其中某一个或几个的偏移在群体中表现为异常点,因此可采用异常点检测算法进行识别。Based on the above embodiment, if one or a few groups of data (i.e., target test data of at least two test devices) fluctuating within a set range have a large degree of deviation, which is manifested as a deviation of the mean and the standard deviation, it can be considered that the fluctuation of the test data is caused by the abnormality of the test device. The test data of all test devices are calculated and analyzed simultaneously, and one or several deviations are manifested as abnormal points in the group, so an abnormal point detection algorithm can be used for identification.
本实施例中,采用局部离群因子(LOF)检测算法进行应用,以检测异常测试设备。按照上述相关实施例,筛选出的目标测试数据,并按照测试设备计算均值和标准差,形成二维散点图,参见图3。图3中,一个点代表一个测试设备测试一组目标测试数据得到的均值和标准差。In this embodiment, a local outlier factor (LOF) detection algorithm is used to detect abnormal test equipment. According to the above-mentioned related embodiments, the target test data is screened, and the mean and standard deviation are calculated according to the test equipment to form a two-dimensional scatter plot, see Figure 3. In Figure 3, a point represents the mean and standard deviation obtained by a test equipment testing a group of target test data.
假设p为待判定的点,定义d(p,o)为p和o两点之间的距离,集合C为所有待判定的点(即所有目标测试数据的特征值所在的点)。定义k-distance为第k距离,dk(p)=d(p,o),并且满足:Assume that p is the point to be determined, define d(p,o) as the distance between p and o, and set C as all points to be determined (i.e., the points where the eigenvalues of all target test data are located). Define k-distance as the kth distance, d k (p) = d(p,o), and satisfy:
在集合C中至少有不包括p在内的k个点o’,满足d(p,o,)≤d(p,o);There are at least k points o' in the set C that do not include p, satisfying d(p,o , )≤d(p,o);
在集合C中最多有不包括p在内的k-1个点o’,满足d(p,o,)<d(p,o);In the set C, there are at most k-1 points o', not including p, satisfying d(p,o , )<d(p,o);
则p的第k距离也就是距离p第k远的点的距离。设定p的第k距离内(包括第k距离)的所有点为点p的第k距离领域Nk(p)。点o到点p的第k可达距离定义为:
reach-distancek(p,o)=max{k-distance(o),d(p,o)}
Then the kth distance of p is the distance of the point that is kth farthest from p. Set all points within (including) the kth distance of p as the kth distance domain N k (p) of point p. The kth reachable distance from point o to point p is defined as:
reach-distance k (p,o)=max{k-distance(o),d(p,o)}
点o到点p的第k可达距离,至少是o的第k距离或者为o、p之间的真实距离。其中离o最近的k个点,o到它们的可达距离被认为相等,且都等于dk(o),则点p的第k领域内的点到p的距离之和的计算公式为:
The kth reachable distance from point o to point p is at least the kth distance of o or the true distance between o and p. The reachable distances from o to the k points closest to o are considered equal and are all equal to d k (o). The calculation formula for the sum of the distances from the points in the kth region of point p to p is:
点p的局部可达密度表示为点p的平均可达距离的倒数:
The local reachability density of a point p is expressed as the inverse of the average reachability distance of point p:
同理,可得到点p的领域内点o的局部可达密度为lrdk(o),领域内的所有点的局部可达密度与点p的局部可达密度之比的和为:
Similarly, the local reachability density of point o in the domain of point p is lrd k (o), and the sum of the ratios of the local reachability density of all points in the domain to the local reachability density of point p is:
点p的局部离群因子则表示为点p的领域内的局部可达密度与点p的局部可达密度之比的平均数:
The local outlier factor of point p is expressed as the average of the ratio of the local reachability density in the area of point p to the local reachability density of point p:
根据以上公式计算出每一个点的离群因子值,可通过离群因子值与值1的关系判定p的离群特征,若比值越接近1,说明p的其领域点的密度差不多,p可能与领域同属一簇;若比值越小于1,说明p的密度高于其领域点的密度,p为密集点;若比值越大于1,说明p的密度小于其领域点密度,p越可能为异常点。According to the above formula, the outlier factor value of each point is calculated. The outlier feature of p can be determined by the relationship between the outlier factor value and the value 1. If the ratio is closer to 1, it means that the density of p and its domain points is similar, and p may belong to the same cluster as the domain; if the ratio is less than 1, it means that the density of p is higher than the density of its domain points, and p is a dense point; if the ratio is greater than 1, it means that the density of p is less than the density of its domain points, and p is more likely to be an outlier.
步骤204、确定目标离群因子对应的所述测试设备为异常测试设备,所述目标离群因子为不满足预设条件的所述离群因子。Step 204: Determine that the test device corresponding to the target outlier factor is an abnormal test device, and the target outlier factor is the outlier factor that does not meet a preset condition.
一些实施例中,在计算得到离群因子后,可以通过确定其中不满足预设条件的目标离群因子,从而确定目标离群因子对应的测试设备为异常测试设备,进而实现测试设备的监控。In some embodiments, after the outlier factor is calculated, the target outlier factor that does not meet the preset condition can be determined, so that the test device corresponding to the target outlier factor is determined to be an abnormal test device, thereby achieving monitoring of the test device.
在一个可选实施例中,所述确定目标离群因子,包括:In an optional embodiment, determining the target outlier factor includes:
筛选所述离群因子中大于预设阈值的第一离群因子;Screening a first outlier factor that is greater than a preset threshold value among the outlier factors;
确定所述第一离群因子为所述目标离群因子;或,确定置信度高于第二预设阈值的所述第一离群因子为所述目标离群因子。Determine the first outlier factor as the target outlier factor; or determine the first outlier factor whose confidence level is higher than a second preset threshold as the target outlier factor.
一些实施例中,在计算得到离群因子后,可以通过设置预设阈值的方式,将大于第一预设阈值的离群因子作为异常的离群因子。 In some embodiments, after the outlier factor is calculated, a preset threshold may be set so that an outlier factor greater than a first preset threshold is regarded as an abnormal outlier factor.
为提高目标离群因子确定的准确性及精度,优化参数调整判异阈值的基础上增加置信度的方式。In order to improve the accuracy and precision of determining the target outlier factor, the confidence level is increased based on optimizing the parameter adjustment of the outlier threshold.
LOF用于检测离群点,把大部分数据的分布情况作为目前能力,不同于当前能力的数据,由异常情况产生的可能性较大,原因需进一步分析。当数据离群后,置信度达到99.73%才判异,进一步优化离群判断结果。LOF is used to detect outliers. The distribution of most data is regarded as the current capability. Data that is different from the current capability is more likely to be caused by abnormal conditions, and the cause needs further analysis. When the data is outliers, the confidence level reaches 99.73% before it is judged as outliers, further optimizing the outlier judgment results.
优选的,可以采用3sigma原则对离群因子进行处理,3sigma又称为标准差法,在统计学上,标准差本身可以体现因子的离散程度,是基于因子的平均值Xmean而定的。3sigma原则表示数值有99.73%的概率落在群体中,凡超过这个区间的误差,就不属于随机误差而是粗大误差,因此属于异常点。Preferably, the 3sigma principle can be used to deal with outlier factors. 3sigma is also called the standard deviation method. In statistics, the standard deviation itself can reflect the degree of dispersion of the factor, which is based on the mean value Xmean of the factor. The 3sigma principle means that there is a 99.73% probability that the value falls in the group. Any error exceeding this interval is not a random error but a gross error, and therefore is an outlier.
示例性的,将置信度设置为99.73%,跟踪判异的结果对该异常点对应的测试设备进行排查分析,发现该测试设备的对应通道的射频线缆有松动现象,松动现象导致线缆接触不良,仪表读取到的发射功率值偏小,该指标值与正常相比偏小。松动现象除了造成测试数据偏移外,未及时发现的情况下会增加该测试设备复测率,造成测试工时和人力成本增加。对该测试设备进行整改后,观察该测试设备的测试数据,整体数据恢复正常。Exemplarily, the confidence level is set to 99.73%, and the results of tracking the abnormality are used to investigate and analyze the test equipment corresponding to the abnormal point. It is found that the RF cable of the corresponding channel of the test equipment is loose, which causes poor contact of the cable. The transmission power value read by the instrument is small, and the index value is smaller than normal. In addition to causing the test data to shift, the loose phenomenon will increase the retest rate of the test equipment if it is not discovered in time, resulting in an increase in test hours and labor costs. After the test equipment was rectified, the test data of the test equipment was observed, and the overall data returned to normal.
在一个可选实施例中,所述确定不满足预设条件的所述离群因子对应的所述测试设备为异常测试设备之后,还包括:In an optional embodiment, after determining that the test device corresponding to the outlier factor that does not meet the preset condition is an abnormal test device, the method further includes:
获取所述异常测试设备的设备信息;将所述特征值的分布情况与所述设备信息进行显示。Acquire device information of the abnormal test device; and display the distribution of the characteristic value and the device information.
一些实施例中,在监测到异常测试设备后,为便于相关人员及时获知,通过将异常测试设备的设备信息进行显示,能够使相关人员更加直观的了解到异常测试设备的设备信息,进而采取相应的手段进行维修。In some embodiments, after abnormal test equipment is detected, in order to facilitate relevant personnel to be informed in time, the equipment information of the abnormal test equipment is displayed, so that relevant personnel can understand the equipment information of the abnormal test equipment more intuitively and then take corresponding measures to perform maintenance.
后端可以通过API接口获取生产测试数据,根据产品特点对产品料单代码、通道和频率进行逐一筛选过滤,得到所需数据,输入异常 点检测模型中进行计算,并根据前端界面所需展现的数据内容完成python接口的实现。The backend can obtain production test data through the API interface, filter the product bill code, channel and frequency one by one according to the product characteristics, obtain the required data, and input abnormal Calculations are performed in the point detection model, and the Python interface is implemented according to the data content that needs to be displayed on the front-end interface.
前端界面采用IOT拖拽式组件实现,具有操作简单,开发快速,界面显示清晰明了的特点。首先要实现多产品选择功能,完成接口输入参数的配置。在选择好对应的产品及测试项参数配置后,显示算法计算得到的结果,以散点图的模式呈现。横轴和纵轴分别为测试设备经过筛选过滤得到一组测试数据计算的均值和标准差,异常点的计算结果通过第三特征体现,如图4所示,图中黑色实心的点为算法判定的正常数据点,黑色空心的点为判异得到的异常测试设备。除了散点图直观展示异常点的离群程度外,还要显示该异常点所包含的异常工位信息以便后续的排查分析。The front-end interface is implemented with IOT drag-and-drop components, which has the characteristics of simple operation, fast development, and clear interface display. First, the multi-product selection function must be implemented to complete the configuration of the interface input parameters. After selecting the corresponding product and test item parameter configuration, the results calculated by the algorithm are displayed in the form of a scatter plot. The horizontal and vertical axes are the mean and standard deviation of a set of test data calculated by the test equipment after screening and filtering. The calculation results of the abnormal points are reflected by the third feature, as shown in Figure 4. The black solid points in the figure are normal data points determined by the algorithm, and the black hollow points are abnormal test equipment obtained by the judgment. In addition to the scatter plot that intuitively displays the degree of outlier of the abnormal point, the abnormal station information contained in the abnormal point must also be displayed for subsequent investigation and analysis.
每个测试设备对每一个产品都会进行多项测试,每一项都有一个测试值及设定的范围。测试完成后会对产品测试通过与否进行一个判定。若产品判定为测试通过,则其测试值在设定的范围内。测试失败的产品,其测试值会超过范围出现较大的偏移,其失败原因有很多,包括产品本身性能异常、测试环境不稳定等,由维修员进行分析判定。而测试通过的产品其测试值在设定的范围内,因此对于同一类型/机型的产品即使在不同的设备进行测试,根据统计学原理,对于测试足够的样本量而言其测试值是符合同一正态分布。Each test device will perform multiple tests on each product, and each item has a test value and a set range. After the test is completed, a judgment will be made on whether the product has passed the test. If the product is judged to have passed the test, its test value is within the set range. For products that fail the test, their test values will exceed the range and have a large deviation. There are many reasons for the failure, including abnormal performance of the product itself, unstable test environment, etc., which will be analyzed and determined by the maintenance personnel. The test values of products that pass the test are within the set range. Therefore, for products of the same type/model, even if they are tested on different devices, according to statistical principles, their test values conform to the same normal distribution for a sufficient sample size.
基于以上条件,本公开通过分析测试设备的损耗与测试通过产品的测试值波动之间的关系,基于足够样本量的要求(可选的,数量大于30),选取每个测试设备测试通过的一组产品的测试数据,分别计算每组数据的均值和标准差,用于表征测试设备水平。每组数据的统计量计算值(均值和标准差)形成一个二维数据点,多组数据形成多个数据点,基于局部离群因子检测(LOF)算法对每个数据点计算其离群程度,根据设定的阈值确定离群点,即找到对该组或几组测试数据造成波动的测试设备,并结合实际应用进行算法改进,实现多个测试设备同时监控,用于提前识别设备损耗,及时修正,避免因设备损 耗持续恶化造成的产品批量测试不过,从而降低在线生产质量和测试产能的影响。Based on the above conditions, the present disclosure analyzes the relationship between the loss of the test equipment and the fluctuation of the test value of the tested products, and based on the requirement of sufficient sample size (optional, the number is greater than 30), selects a group of test data of products that have passed the test of each test equipment, and calculates the mean and standard deviation of each group of data, respectively, to characterize the level of the test equipment. The statistical calculation value (mean and standard deviation) of each group of data forms a two-dimensional data point, and multiple groups of data form multiple data points. The degree of outlier of each data point is calculated based on the local outlier factor detection (LOF) algorithm, and the outlier is determined according to the set threshold, that is, the test equipment that causes fluctuations in the group or groups of test data is found, and the algorithm is improved in combination with actual applications to achieve simultaneous monitoring of multiple test equipment, which is used to identify equipment loss in advance, make corrections in time, and avoid equipment loss. The continuous deterioration of power consumption causes the failure of product batch testing, thereby reducing the impact of online production quality and testing capacity.
本公开的测试设备稳定性的监控方法,通过分析生产测试数据和测试设备的相关性,结合生产测试数据特点采用局部离群因子检测算法进行测试设备异常的识别,对所有测试设备进行持续有效的监控,解决了当前仅有测量系统分析判定测试设备的不足之处。同时针对算法应用过程中的精度问题,采用阈值调整和基于3sigma判异原理的限定条件,使其应用更加精确完善。本方法提供从测试设备分析、测试数据计算处理到优化的一系列原理方法,使测试设备监控成为一种全新的管理模式,推动测试设备维护保养升级,进而优化保障机制。The disclosed monitoring method for the stability of test equipment analyzes the correlation between production test data and test equipment, and uses a local outlier factor detection algorithm in combination with the characteristics of production test data to identify abnormalities in test equipment, thereby continuously and effectively monitoring all test equipment, thus solving the current shortcomings of only using the measurement system to analyze and determine test equipment. At the same time, in order to address the accuracy issues in the algorithm application process, threshold adjustment and limiting conditions based on the 3sigma abnormality judgment principle are adopted to make its application more accurate and complete. This method provides a series of principle methods from test equipment analysis, test data calculation and processing to optimization, making test equipment monitoring a new management model, promoting the maintenance and upgrade of test equipment, and further optimizing the guarantee mechanism.
基于同一构思,本公开实施例中提供了一种测试设备稳定性的监控装置,该装置的实施可参见方法实施例部分的描述,重复之处不再赘述,如图5所示,该装置主要包括:Based on the same concept, a monitoring device for testing the stability of equipment is provided in an embodiment of the present disclosure. The implementation of the device can refer to the description of the method embodiment part, and the repeated parts will not be repeated. As shown in FIG5, the device mainly includes:
获取模块501,设置为获取至少两个测试设备各自发送的目标测试数据;An acquisition module 501 is configured to acquire target test data respectively sent by at least two test devices;
第一确定模块502,设置为根据所述目标测试数据确定各所述测试设备的特征值,所述特征值用于指示所述目标测试数据的离散度;A first determination module 502 is configured to determine a characteristic value of each of the test devices according to the target test data, wherein the characteristic value is used to indicate a discreteness of the target test data;
第二确定模块503,设置为确定每个所述特征值的离群因子,所述离群因子用于指示所述特征值与其他特征值之间的疏密关系;A second determination module 503 is configured to determine an outlier factor for each of the eigenvalues, where the outlier factor is used to indicate a sparse or dense relationship between the eigenvalue and other eigenvalues;
第三确定模块504,设置为确定不满足预设条件的所述离群因子对应的所述测试设备为异常测试设备。The third determination module 504 is configured to determine that the test device corresponding to the outlier factor that does not meet the preset condition is an abnormal test device.
基于同一构思,本公开实施例中还提供了一种电子设备,如图6所示,该电子设备主要包括:处理器601、存储器602和通信总线603,其中,处理器601和存储器602通过通信总线603完成相互间的通信。其中,存储器602中存储有可被处理器601执行的程序,处理器601执行存储器602中存储的程序,实现如下步骤:Based on the same concept, an electronic device is also provided in an embodiment of the present disclosure, as shown in FIG6 , the electronic device mainly includes: a processor 601, a memory 602 and a communication bus 603, wherein the processor 601 and the memory 602 communicate with each other through the communication bus 603. The memory 602 stores a program executable by the processor 601, and the processor 601 executes the program stored in the memory 602 to implement the following steps:
获取至少两个测试设备各自发送的目标测试数据;Obtain target test data respectively sent by at least two test devices;
根据所述目标测试数据确定各所述测试设备的特征值,所述特征 值用于指示所述目标测试数据的离散度;Determine the characteristic value of each of the test devices according to the target test data, the characteristic The value is used to indicate the discreteness of the target test data;
确定每个所述特征值的离群因子,所述离群因子用于指示所述特征值与其他特征值之间的疏密关系;Determine an outlier factor for each eigenvalue, where the outlier factor is used to indicate a close or sparse relationship between the eigenvalue and other eigenvalues;
确定目标离群因子对应的所述测试设备为异常测试设备,所述目标离群因子为不满足预设条件的所述离群因子。The test device corresponding to the target outlier factor is determined to be an abnormal test device, and the target outlier factor is the outlier factor that does not meet a preset condition.
上述电子设备中提到的通信总线603可以是外设部件互连标准(Peripheral Component Interconnect,简称PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,简称EISA)总线等。该通信总线603可以分为地址总线、数据总线、控制总线等。为便于表示,图6中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus 603 mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 603 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in FIG6 , but it does not mean that there is only one bus or one type of bus.
存储器602可以包括随机存取存储器(Random Access Memory,简称RAM),也可以包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。存储器还可以是至少一个位于远离前述处理器601的存储装置。The memory 602 may include a random access memory (RAM) or a non-volatile memory, such as at least one disk storage. The memory may also be at least one storage device located away from the processor 601.
上述的处理器601可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等,还可以是数字信号处理器(Digital Signal Processing,简称DSP)、专用集成电路(Application Specific Integrated Circuit,简称ASIC)、现场可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The above-mentioned processor 601 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc., and can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
本公开实施例提供的上述技术方案与一般技术相比具有如下优点:本公开实施例提供的该方法,通过获取至少两个测试设备各自发送的目标测试数据;根据所述目标测试数据确定各所述测试设备的特征值,所述特征值用于指示所述目标测试数据的离散度;确定每个所述特征值的离群因子,所述离群因子用于指示所述特征值与其他特征值之间的疏密关系;确定目标离群因子对应的所述测试设备为异常测 试设备,所述目标离群因子为不满足预设条件的所述离群因子。如此,在需要对测试设备进行稳定性判定时,能够基于多个测试设备的测试数据进行判定,提高了测试设备稳定性判定的准确性,通过获取的目标测试数据的特征值计算得到的离群因子,确定每个测试设备的测试数据与其他测试数据间的疏密关系,从而确定异常测试设备,能够实现测试设备的实时监控,提高了测试设备的监控效率,进而能够减少出厂设备的次品率。Compared with the general technology, the above technical solution provided by the embodiment of the present disclosure has the following advantages: the method provided by the embodiment of the present disclosure obtains target test data respectively sent by at least two test devices; determines the characteristic value of each test device according to the target test data, and the characteristic value is used to indicate the discreteness of the target test data; determines the outlier factor of each characteristic value, and the outlier factor is used to indicate the sparseness relationship between the characteristic value and other characteristic values; determines the test device corresponding to the target outlier factor as an abnormal test device; The target outlier factor is the outlier factor that does not meet the preset conditions. In this way, when it is necessary to determine the stability of the test equipment, it can be determined based on the test data of multiple test equipment, which improves the accuracy of the stability determination of the test equipment. The outlier factor calculated by the characteristic value of the acquired target test data determines the density relationship between the test data of each test equipment and other test data, thereby determining the abnormal test equipment, realizing real-time monitoring of the test equipment, improving the monitoring efficiency of the test equipment, and thus reducing the defective rate of the equipment shipped out of the factory.
在本公开的又一实施例中,还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,当该计算机程序在计算机上运行时,使得计算机执行上述实施例中所描述的测试设备稳定性的监控方法。In another embodiment of the present disclosure, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program runs on a computer, the computer executes the method for monitoring the stability of the test equipment described in the above embodiment.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行该计算机指令时,全部或部分地产生按照本公开实施例所述的流程或功能。该计算机可以是通用计算机、专用计算机、计算机网络或者其他可编程装置。该计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、微波等)方式向另外一个网站站点、计算机、服务器或数据中心进行传输。该计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。该可用介质可以是磁性介质(例如软盘、硬盘、磁带等)、光介质(例如DVD)或者半导体介质(例如固态硬盘)等。In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instruction is loaded and executed on a computer, the process or function described in the embodiment of the present disclosure is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instruction is transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape, etc.), an optical medium (e.g., a DVD) or a semiconductor medium (e.g., a solid-state hard disk), etc.
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语 仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as "first" and "second" It is used only to distinguish one entity or operation from another entity or operation, and does not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
以上所述仅是本发明的具体实施方式,使本领域技术人员能够理解或实现本发明。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。 The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

  1. 一种测试设备稳定性的监控方法,包括:A monitoring method for testing the stability of equipment, comprising:
    获取至少两个测试设备各自发送的目标测试数据;Obtain target test data respectively sent by at least two test devices;
    根据所述目标测试数据确定各所述测试设备的特征值,所述特征值用于指示所述目标测试数据的离散度;Determine a characteristic value of each of the test devices according to the target test data, wherein the characteristic value is used to indicate the discreteness of the target test data;
    确定每个所述特征值的离群因子,所述离群因子用于指示所述特征值与其他特征值之间的疏密关系;Determine an outlier factor for each eigenvalue, where the outlier factor is used to indicate a close or sparse relationship between the eigenvalue and other eigenvalues;
    确定目标离群因子对应的所述测试设备为异常测试设备,所述目标离群因子为不满足预设条件的所述离群因子。The test device corresponding to the target outlier factor is determined to be an abnormal test device, and the target outlier factor is the outlier factor that does not meet a preset condition.
  2. 根据权利要求1所述的方法,其中,所述获取至少两个测试设备各自发送的目标测试数据,包括:The method according to claim 1, wherein the obtaining target test data respectively sent by at least two test devices comprises:
    获取每个所述测试设备发送的至少一个测试项目的初始测试数据;Acquire initial test data of at least one test item sent by each of the test devices;
    从所述初始测试数据中,筛选得到目标测试项目对应所述目标测试数据,所述目标测试项目为至少一个所述测试项目中与所述测试设备异常关联性最高的测试项目。A target test item corresponding to the target test data is screened out from the initial test data, and the target test item is a test item that is most highly correlated with the abnormality of the test device among at least one of the test items.
  3. 根据权利要求2所述的方法,其中,确定与所述测试设备异常关联性最高的测试项目的过程,包括:The method according to claim 2, wherein the process of determining the test item most associated with the abnormality of the test device comprises:
    获取实验数据,所述实验数据是基于具有至少一个异常项目的所述测试设备进行实验后得到的,所述实验数据中包括所述至少一个测试项目;Acquiring experimental data, wherein the experimental data is obtained after conducting an experiment based on the test device having at least one abnormal item, and the experimental data includes the at least one test item;
    基于所述实验数据计算所述异常项目与所述至少一个测试项目间的关联度;Calculating the correlation between the abnormal item and the at least one test item based on the experimental data;
    确定所述关联度最大的所述测试项目为所述目标测试项目。The test item with the greatest correlation is determined as the target test item.
  4. 根据权利要求1所述的方法,其中,各所述目标测试数据中包括至少两条测试数据,所述根据所述目标测试数据确定各所述测试设备的特征值,包括: The method according to claim 1, wherein each of the target test data includes at least two test data, and determining the characteristic value of each of the test devices according to the target test data comprises:
    基于所述至少两条测试数据计算得到测试均值和测试标准差;Calculate a test mean and a test standard deviation based on the at least two test data;
    确定所述测试均值和测试标准差为所述特征值。The test mean and the test standard deviation are determined as the characteristic values.
  5. 根据权利要求1所述的方法,其中,所述确定每个所述特征值的离群因子,包括:The method according to claim 1, wherein determining the outlier factor of each of the eigenvalues comprises:
    计算每个所述特征值与邻域特征值间的可达距离,所述邻域特征值为所述特征值预设邻域内的特征值;Calculate the reachable distance between each of the eigenvalues and a neighborhood eigenvalue, wherein the neighborhood eigenvalue is a eigenvalue within a preset neighborhood of the eigenvalue;
    基于所述可达距离计算得到所述特征值的第一局部可达密度;Calculate a first local reachable density of the eigenvalue based on the reachable distance;
    计算每个所述邻域特征值的第二局部可达密度;Calculate the second local reachable density of each of the neighborhood eigenvalues;
    基于所述第一局部可达密度和所述第二局部可达密度,计算得到所述离群因子。The outlier factor is calculated based on the first local reachable density and the second local reachable density.
  6. 根据权利要求1所述的方法,其中,所述确定目标离群因子,包括:The method according to claim 1, wherein determining the target outlier factor comprises:
    筛选所述离群因子中大于预设阈值的第一离群因子;Screening a first outlier factor that is greater than a preset threshold value among the outlier factors;
    确定所述第一离群因子为所述目标离群因子;或,确定置信度高于第二预设阈值的所述第一离群因子为所述目标离群因子。Determine the first outlier factor as the target outlier factor; or determine the first outlier factor whose confidence level is higher than a second preset threshold as the target outlier factor.
  7. 根据权利要求1所述的方法,其中,所述确定不满足预设条件的所述离群因子对应的所述测试设备为异常测试设备之后,还包括:The method according to claim 1, wherein after determining that the test device corresponding to the outlier factor that does not meet the preset condition is an abnormal test device, it also includes:
    获取所述异常测试设备的设备信息;Acquire device information of the abnormal test device;
    将所述特征值的分布情况与所述设备信息进行显示。The distribution of the characteristic values and the device information are displayed.
  8. 一种测试设备稳定性的监控装置,包括:A monitoring device for testing the stability of equipment, comprising:
    获取模块,设置为获取至少两个测试设备各自发送的目标测试数据;An acquisition module, configured to acquire target test data respectively sent by at least two test devices;
    第一确定模块,设置为根据所述目标测试数据确定各所述测试设备的特征值,所述特征值用于指示所述目标测试数据的离散度;A first determination module, configured to determine a characteristic value of each of the test devices according to the target test data, wherein the characteristic value is used to indicate a discreteness of the target test data;
    第二确定模块,设置为确定每个所述特征值的离群因子,所述离群因子用于指示所述特征值与其他特征值之间的疏密关系;A second determination module is configured to determine an outlier factor of each of the eigenvalues, wherein the outlier factor is used to indicate a sparse or dense relationship between the eigenvalue and other eigenvalues;
    第三确定模块,设置为确定不满足预设条件的所述离群因子对应的所述测试设备为异常测试设备。 The third determination module is configured to determine that the test device corresponding to the outlier factor that does not meet the preset condition is an abnormal test device.
  9. 一种电子设备,其中,包括:处理器、通信接口、存储器和通信总线,其中,处理器、通信接口和存储器通过通信总线完成相互间的通信;An electronic device, comprising: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
    所述存储器,设置为存储计算机程序;The memory is configured to store a computer program;
    所述处理器,设置为执行所述存储器中所存储的程序,实现权利要求1-7任一项所述的测试设备稳定性的监控方法。The processor is configured to execute the program stored in the memory to implement the method for monitoring the stability of the testing equipment according to any one of claims 1 to 7.
  10. 一种计算机可读存储介质,存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1-7任一项所述的测试设备稳定性的监控方法。 A computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the method for monitoring the stability of a test device according to any one of claims 1 to 7 is implemented.
PCT/CN2023/113394 2022-09-27 2023-08-16 Method and apparatus for monitoring stability of test device, and electronic device and storage medium WO2024066784A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211181015.3 2022-09-27
CN202211181015.3A CN117827568A (en) 2022-09-27 2022-09-27 Monitoring method and device for stability of test equipment, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2024066784A1 true WO2024066784A1 (en) 2024-04-04

Family

ID=90475974

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/113394 WO2024066784A1 (en) 2022-09-27 2023-08-16 Method and apparatus for monitoring stability of test device, and electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN117827568A (en)
WO (1) WO2024066784A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140189086A1 (en) * 2013-01-03 2014-07-03 Microsoft Corporation Comparing node states to detect anomalies
CN109947625A (en) * 2019-03-27 2019-06-28 阿里巴巴集团控股有限公司 The recognition methods of abnormal single machine and device in a kind of cluster
US10509847B1 (en) * 2019-02-11 2019-12-17 Sas Institute Inc. Local outlier factor hyperparameter tuning for data outlier detection
CN113191432A (en) * 2021-05-06 2021-07-30 中国联合网络通信集团有限公司 Outlier factor-based virtual machine cluster anomaly detection method, device and medium
CN114417090A (en) * 2022-01-27 2022-04-29 北京奇艺世纪科技有限公司 Data screening method and device, electronic equipment and storage medium
CN114662602A (en) * 2022-03-25 2022-06-24 中国银联股份有限公司 Outlier detection method and device, electronic equipment and storage medium
CN114860525A (en) * 2022-04-29 2022-08-05 济南浪潮数据技术有限公司 Hard disk fault detection method, device, equipment and storage medium
CN115008818A (en) * 2022-08-05 2022-09-06 金成技术股份有限公司 Stamping process optimization method capable of promoting production efficiency of sheet metal structural part

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140189086A1 (en) * 2013-01-03 2014-07-03 Microsoft Corporation Comparing node states to detect anomalies
US10509847B1 (en) * 2019-02-11 2019-12-17 Sas Institute Inc. Local outlier factor hyperparameter tuning for data outlier detection
CN109947625A (en) * 2019-03-27 2019-06-28 阿里巴巴集团控股有限公司 The recognition methods of abnormal single machine and device in a kind of cluster
CN113191432A (en) * 2021-05-06 2021-07-30 中国联合网络通信集团有限公司 Outlier factor-based virtual machine cluster anomaly detection method, device and medium
CN114417090A (en) * 2022-01-27 2022-04-29 北京奇艺世纪科技有限公司 Data screening method and device, electronic equipment and storage medium
CN114662602A (en) * 2022-03-25 2022-06-24 中国银联股份有限公司 Outlier detection method and device, electronic equipment and storage medium
CN114860525A (en) * 2022-04-29 2022-08-05 济南浪潮数据技术有限公司 Hard disk fault detection method, device, equipment and storage medium
CN115008818A (en) * 2022-08-05 2022-09-06 金成技术股份有限公司 Stamping process optimization method capable of promoting production efficiency of sheet metal structural part

Also Published As

Publication number Publication date
CN117827568A (en) 2024-04-05

Similar Documents

Publication Publication Date Title
CN109491894B (en) Interface test method and equipment
CN112382582B (en) Wafer test classification method and system
CN108667856B (en) Network anomaly detection method, device, equipment and storage medium
US20100161276A1 (en) System and Methods for Parametric Test Time Reduction
CN111177134B (en) Data quality analysis method, device, terminal and medium suitable for mass data
CN110275878B (en) Service data detection method and device, computer equipment and storage medium
CN113037595B (en) Abnormal device detection method and device, electronic device and storage medium
TWI628553B (en) K-nearest neighbor-based method and system to provide multi-variate analysis on tool process data
US20210406727A1 (en) Managing defects in a model training pipeline using synthetic data sets associated with defect types
US9235463B2 (en) Device and method for fault management of smart device
WO2023125272A1 (en) Full-link stress testing method and apparatus in radius environment, computer device and storage medium
CN116245256B (en) Multi-factor-combined capacitor quality prediction method, system and storage medium
CN108399115B (en) Operation and maintenance operation detection method and device and electronic equipment
CN115841046A (en) Accelerated degradation test data processing method and device based on wiener process
WO2024066784A1 (en) Method and apparatus for monitoring stability of test device, and electronic device and storage medium
US11356175B2 (en) Optical module testing method, apparatus and device, and storage medium
US20080206903A1 (en) Adaptive threshold wafer testing device and method thereof
CN111523764A (en) Business architecture detection method, device, tool, electronic equipment and medium
CN116319255A (en) Root cause positioning method, device, equipment and storage medium based on KPI
WO2022133895A1 (en) Equipment supervision-based thermal power equipment quality data processing method and apparatus
WO2022133889A1 (en) Power plant equipment quality data processing method and apparatus based on equipment supervision
CN116467360A (en) Product information analysis method and device and electronic equipment
CN114564853B (en) Evaluation report generation method based on FMEA data and electronic equipment
CN112445632A (en) HPC reliability evaluation method based on fault data modeling
WO2023019947A1 (en) Production process quality control method, electronic device, and computer-readable storage medium