Equipment testing method, computer equipment and storage medium

By communicating with multiple test machines through computer equipment, the test logs are parsed and simulated values ​​are generated and compared with the set interval, which solves the problem of incomplete equipment testing in the existing technology, improves the accuracy and efficiency of equipment testing, and ensures Product quality.

CN118818162APending Publication Date: 2024-10-22HENAN FUCHI TECH CO LTD +4
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310425728.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-18
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

While the existing technology improves the efficiency of equipment testing, it cannot accurately and comprehensively test the equipment. As a result, the factory equipment is prone to abnormal problems during the assembly of the complete machine, making it difficult to ensure product quality.

Method used

Communicate with multiple test machines through computer equipment to obtain test logs, analyze test values, generate simulated values, and compare them with the set interval to determine the test results. If abnormal, retest and calibrate to ensure that the equipment performs well in all test items. The performance is up to standard.

Benefits of technology

It improves the accuracy and efficiency of equipment testing, avoids abnormal problems during assembly of factory equipment, and ensures product quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118818162A_ABST
    Figure CN118818162A_ABST
Patent Text Reader

Abstract

The invention relates to the field of automatic testing, and provides an equipment testing method, computer equipment and a storage medium. The method comprises the following steps: acquiring a test log of any test machine for factory equipment; analyzing the test log to obtain a test value of the factory equipment on the test item of any test machine; generating simulation values of the factory equipment on the rest test items according to the test values, the test items and the corresponding relation of the rest test items except the test items; and comparing the test value and the simulation value with corresponding set intervals to obtain a test result. According to the method, the factory equipment can be accurately tested on the premise of ensuring the test efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automated testing technology, and in particular to a device testing method, a computer device, and a storage medium. Background Art

[0002] At present, in order to improve the testing efficiency of equipment, some items are usually selected from the test items to test the equipment. However, since this method cannot test all test items, it is easy for abnormal problems to occur during the assembly of the whole machine, making it difficult to ensure product quality. Summary of the invention

[0003] The present application provides a device testing method, a computer device and a storage medium to solve the technical problem that the device cannot be accurately tested while ensuring the test efficiency.

[0004] A first aspect of an embodiment of the present application provides a device testing method, which is applied to a computer device, wherein the computer device is communicatively connected to a plurality of test machines in a test station, and each test machine corresponds to a different test item. The method comprises: obtaining a test log of a factory device by any test machine; parsing the test log to obtain a test value of the factory device on a test item corresponding to any test machine; generating a simulation value of the factory device on the remaining test items based on a correspondence between the test value, the test item and the remaining test items except the test item; and comparing the test value and the simulation value with a corresponding set interval to obtain a test result.

[0005] According to an embodiment of the present application, the computer device is also communicatively connected to the control device. After comparing the test value and the simulation value with the corresponding set interval to obtain the test result, the method also includes: if the test result is a first preset result, sending the test result to the control device, and obtaining the re-test value of the factory equipment by the target test machine in the test station except for any one of the test machines; generating a calibration result of the test result based on the simulation value and the re-test value.

[0006] According to an embodiment of the present application, the calibration result of generating the test result based on the simulation value and the re-measurement value includes: generating an estimated value of the factory equipment on the test items of the remaining test machines according to the correspondence between the re-measurement value, the test items of the target test machine and the test items of the remaining test machines except the target test machine; comparing the re-measurement value and the estimated value with the corresponding set interval to obtain a re-measurement result; if the re-measurement result is a second preset result, extracting the target simulation value corresponding to the target test machine from the simulation value; and determining the calibration result according to the change value between the re-measurement value and the target simulation value.

[0007] According to an embodiment of the present application, the test value and the simulation value are compared with the corresponding set intervals to obtain a test result, including: based on the test items of any one of the test machines, a first set interval is selected from the set interval, and based on the remaining test items, a second set interval is selected from the set interval; the test value is compared with the first set interval, and the simulation value is compared with the second set interval; if the test value is not within the first set interval, or the simulation value is not within the second set interval, the test result is determined to be the first preset result.

[0008] According to an embodiment of the present application, before generating the simulation value of the factory equipment on the remaining test items according to the correspondence between the test value, the test item and the remaining test items except the test item, the method also includes: obtaining the parameter value of the trial production equipment on each test machine, the trial production equipment and the factory equipment have the same equipment model; and establishing the correspondence between any two test items according to the parameter value.

[0009] According to an embodiment of the present application, before comparing the test value and the simulation value with the corresponding set interval to obtain the test result, the method also includes: testing batch equipment based on any one of the test machines to obtain sample values ​​of the batch equipment on the test items corresponding to the any one of the test machines, the batch equipment having the same equipment model as the factory equipment; determining the standard deviation, average value, upper limit value and lower limit value based on the sample value; determining the process capability index based on the standard deviation, the average value, the upper limit value and the lower limit value; if the process capability index is greater than or equal to the preset value, generating the set interval based on the average value.

[0010] According to an embodiment of the present application, the method also includes: if the process capability index is less than the preset value, adjusting the average value according to the preset value to obtain an adjusted average value; determining the adjusted process capability index according to the adjusted average value and the sample value until the adjusted process capability index is greater than or equal to the preset value; and generating the set interval according to the adjusted average value.

[0011] According to an embodiment of the present application, parsing the test log to obtain the test value of the factory equipment on the test item corresponding to any one of the test machines includes: determining the log format of the test log; calling a tool script that matches the log format to parse the test log to obtain log information; and extracting information corresponding to a preset tag from the log information as the test value.

[0012] A second aspect of an embodiment of the present application provides a device testing apparatus, which runs on a computer device, wherein the computer device is communicatively connected to a plurality of test machines in a test station, each test machine corresponding to a different test item, and the apparatus comprises:

[0013] An acquisition unit is used to acquire a test log of a factory device by any test machine; a parsing unit is used to parse the test log to obtain a test value of the factory device on a test item corresponding to any test machine; a generation unit is used to generate a simulation value of the factory device on the remaining test items according to a correspondence between the test value, the test item and the remaining test items except the test item; and a comparison unit is used to compare the test value and the simulation value with a corresponding set interval to obtain a test result.

[0014] A third aspect of an embodiment of the present application provides a computer device, comprising: a memory storing computer-readable instructions; and a processor executing the computer-readable instructions stored in the memory to implement the device testing method.

[0015] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, in which computer-readable storage medium is stored computer-readable instructions, and the computer-readable instructions are executed by a processor in a computer device to implement the device testing method.

[0016] The embodiment of the present application can estimate the simulation values ​​of the factory equipment on the remaining test items by combining the test values ​​and corresponding relationships of the factory equipment on the test items. Since there is no need to test all the test items, the test efficiency can be improved. Furthermore, the test values ​​and simulation values ​​are compared with the corresponding set intervals. Since the test values ​​and simulation values ​​of the factory equipment on all the test items are analyzed, the test conditions of the factory equipment on all the test items can be analyzed, thereby avoiding abnormal problems that occur when the factory equipment is assembled, and ensuring the quality of the factory equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is an application scenario diagram of a device testing method provided in an embodiment of the present application.

[0018] Figure 2 It is a flow chart of the device testing method provided in the embodiment of the present application applied to a computer device.

[0019] Figure 3 It is a schematic diagram of the parameter values ​​of the trial production equipment on the test items provided in the embodiment of the present application.

[0020] Figure 4 It is a flowchart of generating a set interval provided in an embodiment of the present application.

[0021] Figure 5 It is a flow chart of a device testing method provided by another embodiment of the present application applied to a computer device.

[0022] Figure 6 It is an interactive flow chart of the device testing method provided in the embodiment of the present application.

[0023] Figure 7 It is a functional module diagram of the equipment testing device provided in the embodiment of the present application.

[0024] Figure 8 It is a structural diagram of a computer device for implementing a device testing method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0025] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application is described in detail below with reference to the accompanying drawings and specific embodiments.

[0026] It should be noted that in this application, "at least one" means one or more, and "more than one" means two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.

[0027] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way. The following embodiments and features in the embodiments may be combined with each other without conflict.

[0028] like Figure 1 As shown, it is an application scenario diagram of a device testing method provided by an embodiment of the present application. The device testing method is applied to a computer device 1, and the computer device 1 is communicatively connected with a plurality of test machines 20 in a test station 2, each test machine 20 corresponds to a different test item, and each test machine 20 can perform different test items on the factory equipment 5. The computer device 1 is also communicatively connected with a control device 3, and the control device 3 is used to control the movement of the operating machine 4. Specifically, the control device 3 can control the operating machine 4 to move the factory equipment 5 to any test machine in the test station 2 for testing.

[0029] In the embodiment of the present application, the computer device 1 is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored computer-readable instructions, and its hardware includes but is not limited to microprocessors, application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), digital signal processors (DSP), embedded devices, etc. The computer device 1 can be any electronic product that can interact with users, such as personal computers, tablet computers, smart phones, personal digital assistants (PDA), game consoles, interactive network televisions (IPTV), smart wearable devices, etc. The computer device 1 may include network devices and / or user devices. Among them, the network device includes, but is not limited to, a single network computer device, a computer device group consisting of multiple network computer devices, or a cloud composed of a large number of hosts or network computer devices based on cloud computing (Cloud Computing). The network where the computer device 1 is located includes, but is not limited to: the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (VPN), etc.

[0030] In the embodiment of the present application, the control device 3 includes a robot operating system 30 and a host computer 31. The robot operating system 30 can exchange data and control instructions with the host computer 31 through a communication protocol. The operating system 30 can respond to the robot operating system 30 by connecting to the host computer 31. The host computer 31 is used to control the movement of the operating machine 4. The host computer 31 can also receive feedback information from the operating machine 4.

[0031] The operating machine 4 may be any machine such as a robot that can move the factory equipment 5 . The factory equipment 5 may be a hardware device in the computer device 1 . For example, the factory equipment 5 may be a motherboard.

[0032] like Figure 2 , which is a flowchart of the device testing method provided by the embodiment of the present application applied to a computer device. The device testing method is applied to a computer device, and the computer device is connected to multiple test machines in a test station, and each test machine corresponds to different test items. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.

[0033] 201, obtaining a test log of a factory device by any test machine.

[0034] In at least one embodiment of the present application, any test machine can be a test machine in an idle state in a test station. The test machine in an idle state is a test machine that has no task processing at the current moment. If there are multiple test machines in an idle state, a test machine can be randomly selected from multiple test machines in an idle state as any test machine. The test machine is used to test factory equipment. For example, the test machine can test the radio frequency data of factory equipment. Factory equipment can be a hardware device of a terminal device such as a computer device. For example, the factory equipment can be a motherboard. The test log can be a log generated by any test machine after testing the factory equipment. The test log can record the test value of any test machine on the factory equipment. In this embodiment, the computer device can adopt the Beehive monitoring mechanism. When it monitors that any test machine has completed the test of the factory equipment, the computer device obtains the test log from any test machine.

[0035] 202, parsing the test log to obtain the test value of the factory equipment on the test item corresponding to any test machine.

[0036] In at least one embodiment of the present application, each test machine corresponds to different test items, for example, the test items may be transmission power, TSSI (Target Strength Signal Interface) frequency, and EVM (Error Vector Magnitude) frequency, etc. The test items may be set according to the collected customer complaint information. Specifically, the computer device collects customer complaint information and extracts customer complaint parameters in the customer complaint information. If the number of customer complaints of the customer complaint parameters is greater than the preset number, the customer complaint parameters are determined as test items, wherein the number of customer complaints may be the number of customer complaint information containing the customer complaint parameters, and the preset number may be set according to actual needs. This embodiment can reasonably determine the test items by analyzing the relationship between the number of customer complaints and the preset number of customer complaint parameters in the customer complaint information. The test value is the parameter value obtained after any test machine tests the factory equipment. The test value is the parameter value corresponding to the factory equipment on the test item. For example, if the test item is transmission power, the test value may be 17.02dBm.

[0037] In at least one embodiment of the present application, a computer device parses a test log to obtain a test value of a factory device on a test item corresponding to any test machine, including: the computer device determines the log format of the test log, and calls a tool script that matches the log format, parses the test log, obtains log information, and the computer device extracts information corresponding to a preset tag from the log information as a test value. Among them, the log format may include, but is not limited to: system logs, database logs, application logs, etc. The tool script is a parsing code that matches the log format. The log information may include, but is not limited to: test values, timestamps and other information. The preset tag is used to indicate the key value corresponding to the test item. The embodiment of the present application parses the test log by calling a tool script that matches the log format, thereby ensuring the successful parsing of the test log. In addition, the embodiment of the present application can accurately obtain the test value from the log information through the preset tag.

[0038] 203 , generating simulation values ​​of the factory equipment on the remaining test items according to the corresponding relationship between the test value, the test item and the remaining test items except the test item.

[0039] In at least one embodiment of the present application, the simulation value is the parameter value corresponding to the other test items of the factory equipment. The simulation value is not the parameter value obtained after the test machine actually measures the factory equipment. Therefore, the embodiment of the present application obtains the simulation value through the test value estimation, which can improve the test efficiency of the factory equipment.

[0040] In at least one embodiment of the present application, before generating simulation values ​​of the factory equipment on the remaining test items based on the correspondence between the test values, the test items and the remaining test items except the test items, the method further includes: the computer equipment obtains the parameter values ​​of the trial production equipment on each test machine, the trial production equipment and the factory equipment have the same equipment model, and the computer equipment establishes the correspondence between any two test items based on the parameter values. Among them, the trial production equipment can be the equipment produced by the motherboard in the trial production stage. In the trial production stage, the trial production equipment is tested based on all test machines in the test station to obtain the parameter values ​​of the trial production equipment on the test items of each test machine. The equipment model is used to identify the type of trial production equipment and factory equipment. In combination Figure 3 Explain the corresponding relationship established according to the parameter value, such as Figure 3As shown, there are 500 trial production devices and 2 test machines. The test item corresponding to one test machine is: TSSI frequency, and the test item corresponding to the other test machine is: EVM frequency. The parameter values ​​corresponding to the TSSI frequency of the 500 trial production devices are: 52 to 130, and the parameter values ​​corresponding to the EVM frequency of the 500 trial production devices are: -50 to -20. Among them, the parameter values ​​corresponding to the TSSI frequency of some of the 500 motherboards are: 60 to 70. These motherboards have a certain frequency difference in the EVM frequency. The corresponding parameter value is -31.9 to 35.1. The corresponding parameter value of another part of the 500 mainboards on the TSSI frequency is: 70 to 80, and the corresponding parameter value of another part of the mainboards on the EVM frequency is -35 to 41. The computer equipment establishes a corresponding relationship between the TSSI frequency and the EVM frequency. The specific corresponding relationship is: TSSI frequency of 60 to 70 corresponds to EVM frequency of -31.9 to 35.1; TSSI frequency of 70 to 80 corresponds to EVM frequency of -35 to 41.

[0041] In this embodiment, the computer device obtains the parameter value corresponding to the test value of the test item from the correspondence between the test item and the remaining test items except the test item as the simulation value of the factory equipment on the remaining test items. For example, if the test item is TSSI frequency, and the test value of the factory equipment in the test item TSSI frequency is 75, then the simulation value of the remaining test items EVM frequency is obtained from the correspondence between TSSI frequency and EVM frequency, which is -35 to 41. Through the correspondence and test values, this embodiment can obtain the simulation value of the factory equipment on the remaining test items, thereby improving the test efficiency of the factory equipment. At the same time, it can also obtain the parameter values ​​of the factory equipment on all test items, so as to comprehensively analyze the performance of the factory equipment.

[0042] 204, comparing the test value and the simulation value with the corresponding set interval to obtain the test result.

[0043] In at least one embodiment of the present application, the set interval can be determined according to the sample value of the batch device on the test item. The specific process of the computer device generating the set interval can be referred to the following description. Figure 4 The test result includes a first preset result and a second preset result, wherein the first preset result indicates that the factory equipment test is abnormal, and the second preset result indicates that the factory equipment test is normal.

[0044] In at least one embodiment of the present application, the computer device compares the test value and the simulation value with the corresponding setting interval, and the test result obtained includes: the computer device screens the first setting interval from the setting interval based on the test items of any test machine, and screens the second setting area from the setting interval based on the remaining test items, the computer device compares the test value with the first setting interval, and compares the simulation value with the second setting interval, if the test value is not in the first setting interval, or the simulation value is not in the second setting interval, the test result is determined to be the first preset result, or, if the test value is in the first setting interval, and the simulation value is in the second setting interval, the test result is determined to be the second preset result. Wherein, the first setting interval is the standard parameter range value of the test item, and the second setting interval is the standard parameter range value of the remaining test items. The embodiment of the present application can comprehensively analyze the performance of the factory equipment on all test items by comparing the test value with the first setting interval, and comparing the simulation value with the second setting interval, thereby improving the accuracy of the test results.

[0045] The embodiment of the present application utilizes the above-mentioned equipment testing method. By combining the test values ​​and corresponding relationships of the factory equipment on the test items, the simulation values ​​of the factory equipment on the remaining test items can be estimated. Since there is no need to test all test items, the test efficiency can be improved. Furthermore, the test values ​​and simulation values ​​are compared with the corresponding set intervals. Since the test values ​​and simulation values ​​of the factory equipment on all test items are analyzed, the test conditions of the factory equipment on all test items can be analyzed, thereby avoiding abnormal problems that occur when the factory equipment is assembled and ensuring the quality of the factory equipment.

[0046] like Figure 4 As shown, it is a flow chart of generating a setting interval provided by an embodiment of the present application, and the method for generating a setting interval is applied to a computer device. Figure 4 As shown, the specific steps include:

[0047] 401, testing batch devices based on any test machine to obtain sample values ​​of the batch devices on test items corresponding to any test machine, wherein the batch devices have the same device model as the factory devices.

[0048] In at least one embodiment of the present application, the batch device and the factory device have the same device type and device model, wherein the device type is a specific hardware device. Specifically, the batch device can be a hardware device of a computer device, for example, the batch device can be a motherboard. There are multiple batch devices. The sample value is the test value of the batch device by any test machine. The method for obtaining the sample value is the same as Figure 2 The method for obtaining the test value is similar and will not be described in detail in this application.

[0049] 402, determine the standard deviation, the average value, the upper limit value and the lower limit value according to the sample value.

[0050] In at least one embodiment of the present application, the average value is the mean of all sample values, and the average value is equal to the ratio of the sum of all sample values ​​to the number of all sample values. The standard deviation is the standard deviation of all sample values, and the calculation formula of the standard value is: Among them, σ represents the standard value, x i represents the sample value, n represents the number of sample values, and μ represents the average value. The upper limit is the maximum value of the sample value, and the lower limit is the minimum value of the sample value.

[0051] 403, determine the process capability index based on the standard deviation, mean, upper limit and lower limit.

[0052] In at least one embodiment of the present application, the process capability index is used to measure the stability index of the sample value, and the calculation formula of the process capability index is: y=min((USL-μ) / 3σ,(μ-LSL) / 3σ), wherein y represents the process capability index, USL represents the upper limit value, μ represents the mean value, σ represents the standard deviation, and LSL represents the lower limit value.

[0053] 404, comparing the process capability index with a preset value.

[0054] In at least one embodiment of the present application, the preset value can be set according to actual needs. For example, the preset value can be set to 1.33.

[0055] 405, if the process capability index is greater than or equal to a preset value, a set interval is generated according to the average value.

[0056] In at least one embodiment of the present application, the computer device generates a setting interval according to the average value and the floating ratio. Specifically, the computer device calculates the product of the average value and the floating ratio to obtain a floating value, and constructs the setting interval according to the difference between the average value and the floating value and the sum of the average value and the floating value. In the embodiment of the present application, when the process capability index is greater than or equal to the preset value, it means that the average value meets the requirements. Therefore, the setting interval is generated by the average value, which improves the rationality of the generation of the setting interval.

[0057] 406. If the process capability index is less than a preset value, the average value is adjusted according to the preset value to obtain an adjusted average value, and the adjusted process capability index is determined according to the adjusted average value and the sample value until the adjusted process capability index is greater than or equal to the preset value.

[0058] In at least one embodiment of the present application, the computer device adjusts the average value according to a preset value, and obtaining the adjusted average value includes: the computer device uses the preset value as the process capability index, and determines the adjusted average value according to the calculation formula of the process capability index. The embodiment of the present application can reversely obtain the adjusted average value through the calculation formula of the process capability index, ensuring that the adjusted process capability index is greater than or equal to the preset value. The calculation formula of the process capability index of the present application can determine the adjusted process capability index.

[0059] 407, generating a set interval according to the adjusted average value.

[0060] In at least one embodiment of the present application, the manner in which the present application generates a set interval according to the adjusted average value is similar to the manner in which the present application generates a set interval according to the average value, and the present application will not elaborate on this.

[0061] In the embodiment of the present application, when the process capability index is less than a preset value, it indicates that the sample value does not meet the requirements. Therefore, by adjusting the average value, it is helpful to set the set interval based on the adjusted average value.

[0062] like Figure 5 FIG. 1 is a flowchart of another embodiment of the present invention providing a device testing method applied to a computer device. The device testing method is applied to a computer device, and the computer device is also connected to a control device for communication. According to different requirements, the order of the steps in the flowchart can be changed, and some can be omitted.

[0063] 501, obtain the test log of any test machine on the factory equipment.

[0064] 502, parsing the test log to obtain the test value of the factory equipment on the test item corresponding to any test machine.

[0065] 503 , generating simulation values ​​of the factory equipment on the remaining test items according to the corresponding relationship between the test value, the test item and the remaining test items except the test item.

[0066] 504, comparing the test value and the simulation value with the corresponding set interval to obtain the test result.

[0067] For details of steps 501-504, please refer to the above Figure 2 The detailed description of steps 201-204 is not repeated here.

[0068] 505, detecting whether the test result is the first preset result.

[0069] 506. If the test result is not the first preset result, it is determined that the factory equipment test is normal.

[0070] In at least one embodiment of the present application, the test result is not the first preset result, indicating that the test result is the second preset result, and the second preset result indicates that the factory equipment test is normal.

[0071] 507 , if the test result is the first preset result, the test result is sent to the control device, and a retest value of the factory equipment by a target test machine other than any test machine in the test station is obtained.

[0072] In at least one embodiment of the present application, the test result is a first preset result, indicating that the factory equipment has a test abnormality problem in the current test. The target test machine is a test machine other than any test machine in the test station. For example, the test station includes test machine 1, test machine 2, test machine 3, and test machine 4. If any test machine is test machine 1, the target test machine can be any one of test machine 2, test machine 3, and test machine 4. The re-measured value is the parameter value of the factory equipment on the test item corresponding to the target test machine, and the re-measured value is the parameter value tested by the target test machine on the factory equipment.

[0073] In this embodiment, when the test result is abnormal, retesting the factory equipment by the target test machine can avoid test errors of the factory equipment caused by mistesting the factory equipment by any test machine, thereby improving the test accuracy of the factory equipment.

[0074] 508, generating a calibration result of the test result according to the simulation value and the re-measurement value.

[0075] In at least one embodiment of the present application, the calibration result indicates the test condition of the factory equipment, and the calibration result includes normal test of the factory equipment and abnormal test of the factory equipment. The calibration result is a calibration of the test result.

[0076] In at least one embodiment of the present application, the calibration result of the test result generated by the computer device based on the simulation value and the re-measurement value includes: the computer device generates the estimated value of the factory equipment on the test items of the remaining test machines according to the correspondence between the re-measurement value, the test items of the target test machine and the test items of the remaining test machines except the target test machine, and compares the re-measurement value and the estimated value with the corresponding set interval to obtain the re-measurement result. If the re-measurement result is the second preset result, the computer device extracts the target simulation value corresponding to the target test machine from the simulation value, and determines the calibration result according to the change value of the re-measurement value and the target simulation value. Among them, the estimated value is the parameter value obtained by the computer device according to the re-measurement value and the correspondence. The re-measurement result is the second preset result, indicating that the factory equipment is normal in the re-measurement.

[0077] The method for determining the retest result in this application is similar to the method for determining the test result, and this application will not go into details.

[0078] In this embodiment, the computer device determines the calibration result according to the change value between the re-measured value and the target simulation value, including: the computer device calculates the absolute value of the difference between the re-measured value and the target simulation value as the change value, and the computer device compares the change value with the configuration value. If the change value is less than or equal to the configuration value, the test result is determined as normal for the factory equipment test, and if the change value is greater than the configuration value, the test result is determined as abnormal for the factory equipment test. Among them, the configuration value can be determined according to the size of the allowable deviation value, and this application does not limit the specific setting of the configuration value.

[0079] When the retest of the factory equipment is normal, the embodiment of the present application can further improve the test accuracy of the factory equipment by further comparing the retest value with the change value of the target simulation value, thereby effectively intercepting abnormal factory equipment and ensuring the quality of the factory equipment.

[0080] like Figure 6 , is an interactive flow chart of the device testing method provided in the embodiment of the present application. The device testing method is applied to computer equipment, control equipment, operating machines and testing machines. According to different requirements, the order of the steps in the flow chart can be changed, and some can be omitted.

[0081] 601, if the test result is the first preset result, the computer device sends the test result to the control device.

[0082] 602, the control device receives the test result, analyzes the test result, and obtains analysis information.

[0083] 603, if the analysis information shows that the factory equipment is abnormal, the control device sends a control instruction to the operating machine to control the operating machine to move the factory equipment to the target test machine.

[0084] 604, operating the machine to move the factory equipment to the target testing machine for testing.

[0085] 605, the testing machine tests the factory equipment and obtains a re-test value.

[0086] 606, the computer device obtains the retest value of the factory device by the target test machine except any test machine in the test station.

[0087] At 607 , the computer device generates a calibration result of the test result according to the simulation value and the re-measurement value.

[0088] In the embodiment of the present application, when the test result is abnormal, the test accuracy of the factory equipment can be improved by retesting the factory equipment.

[0089] like Figure 7, is a functional module diagram of the equipment testing device provided in an embodiment of the present application. The equipment testing device 11 runs on a computer device, and the computer device is communicatively connected with a plurality of test machines in a test station, and each test machine corresponds to a different test item. The equipment testing device 11 includes an acquisition unit 110, a parsing unit 111, a generation unit 112, a comparison unit 113, an acquisition unit 114, an establishment unit 115, a test unit 116, a determination unit 117 and an adjustment unit 118. The module / unit referred to in this application refers to a series of computer-readable instruction segments that can be acquired by a processor 13 and can perform fixed functions, which are stored in a memory 12.

[0090] The acquisition unit 110 is used to obtain the test log of the factory equipment by any test machine; the parsing unit 111 is used to parse the test log to obtain the test value of the factory equipment on the test item corresponding to any test machine; the generation unit 112 is used to generate the simulation value of the factory equipment on the remaining test items according to the correspondence between the test value, the test item and the remaining test items except the test item; the comparison unit 113 is used to compare the test value and the simulation value with the corresponding set interval to obtain the test result.

[0091] Furthermore, the acquisition unit 110 is also used to send the test result to the control device if the test result is a first preset result, and obtain the re-test value of the factory equipment by the target test machine other than any test machine in the test station; the generation unit 112 is also used to generate a calibration result of the test result based on the simulation value and the re-test value.

[0092] Furthermore, the acquisition unit 114 is used to obtain the parameter value of the trial production equipment on each test machine, and the equipment model of the trial production equipment is the same as that of the factory equipment; the establishment unit 115 is used to establish the correspondence between any two test items according to the parameter value.

[0093] Furthermore, the testing unit 116 is used to test batch equipment based on any testing machine to obtain sample values ​​of the batch equipment on the test items corresponding to any testing machine, and the equipment model of the batch equipment is the same as that of the factory equipment; the determination unit 117 is used to determine the standard deviation, mean value, upper limit value and lower limit value according to the sample value; the determination unit 117 is also used to determine the process capability index according to the standard deviation, mean value, upper limit value and lower limit value; the generation unit 112 is also used to generate a set interval according to the mean value if the process capability index is greater than or equal to a preset value.

[0094] Furthermore, the adjustment unit 118 is used to adjust the average value according to the preset value to obtain the adjusted average value if the process capability index is less than the preset value, and determine the adjusted process capability index according to the adjusted average value and the sample value until the adjusted process capability index is greater than or equal to the preset value; the generation unit 112 is also used to generate a set interval according to the adjusted average value.

[0095] The embodiment of the present application can estimate the simulation values ​​of the factory equipment on the remaining test items by combining the test values ​​and corresponding relationships of the factory equipment on the test items. Since there is no need to test all the test items, the test efficiency can be improved. Furthermore, the test values ​​and simulation values ​​are compared with the corresponding set intervals. Since the test values ​​and simulation values ​​of the factory equipment on all the test items are analyzed, the test conditions of the factory equipment on all the test items can be analyzed, thereby avoiding abnormal problems that occur when the factory equipment is assembled, and ensuring the quality of the factory equipment.

[0096] like Figure 8 , which is a schematic diagram of the structure of a computer device for implementing a device testing method provided in an embodiment of the present application.

[0097] In one embodiment of the present application, the computer device 1 includes, but is not limited to, a memory 12, a processor 13, and computer-readable instructions stored in the memory 12 and executable on the processor 13, such as a device testing program.

[0098] Those skilled in the art will appreciate that the schematic diagram is merely an example of the computer device 1 and does not constitute a limitation on the computer device 1 . The computer device 1 may include more or fewer components than shown in the diagram, or a combination of certain components, or different components. For example, the computer device 1 may also include input and output devices, network access devices, buses, etc.

[0099] The processor 13 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor 13 is the computing core and control center of the computer device 1, and uses various interfaces and lines to connect various parts of the entire computer device 1, and execute the operating system of the computer device 1 and various installed application programs, program codes, etc.

[0100] Exemplarily, the computer-readable instructions may be divided into one or more modules / units, one or more modules / units are stored in the memory 12, and are executed by the processor 13 to complete the present application. One or more modules / units may be a series of computer-readable instruction segments capable of completing a specific function, and the computer-readable instruction segments are used to describe the execution process of the computer-readable instructions in the computer device 1. For example, the computer-readable instructions may be divided into an acquisition unit 110, a parsing unit 111, a generation unit 112, a comparison unit 113, an acquisition unit 114, a creation unit 115, a test unit 116, a determination unit 117, and an adjustment unit 118.

[0101] The memory 12 can be used to store computer-readable instructions and / or modules. The processor 13 implements various functions of the computer device 1 by running or executing the computer-readable instructions and / or modules stored in the memory 12, and calling the data stored in the memory 12. The memory 12 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the computer device, etc. The memory 12 can include non-volatile and volatile memories, such as: a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other storage devices.

[0102] The memory 12 may be an external memory and / or an internal memory of the computer device 1. Furthermore, the memory 12 may be a memory in a physical form, such as a memory stick, a TF card (Trans-flash Card), and the like.

[0103] If the module / unit integrated in the computer device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also instruct the relevant hardware to complete it through computer-readable instructions. The computer-readable instructions can be stored in a computer-readable storage medium, and when the computer-readable instructions are executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented.

[0104] The computer-readable instructions include computer-readable instruction codes, which may be in source code form, object code form, executable files, or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer-readable instruction codes, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM).

[0105] Combination Figure 2-6 The memory 12 in the computer device 1 stores computer-readable instructions, and the processor 13 can execute the computer-readable instructions stored in the memory 12 to implement the following Figure 2-6 The device testing method shown.

[0106] Specifically, the specific implementation method of the processor 13 for the above-mentioned computer readable instructions can refer to Figure 2-6 The description of the relevant steps in the corresponding embodiments will not be repeated here.

[0107] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation.

[0108] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0109] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0110] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present application is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present application. Any attached figure mark in the claims should not be regarded as limiting the claims involved.

[0111] In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any specific order.

[0112] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application and are not intended to limit it. Although the present application has been described in detail with reference to the preferred embodiments, a person of ordinary skill in the art should understand that the technical solution of the present application may be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present application.

Claims

1. A device testing method, applied to computer equipment, It is characterized in that The computer device is communicatively connected with a plurality of test machines in a test station, each test machine corresponds to a different test item, and the method includes: Obtain the test log of any test machine on factory equipment; Parsing the test log to obtain the test value of the factory equipment on the test item corresponding to any one of the test machines; Generate simulation values ​​of the factory equipment on the remaining test items according to the corresponding relationship between the test value, the test item and the remaining test items except the test item; The test value and the simulation value are compared with the corresponding set interval to obtain the test result.

2. The method according to claim 1, It is characterized in that The computer device is also in communication with the control device. After comparing the test value and the simulation value with the corresponding set interval to obtain the test result, the method further includes: If the test result is a first preset result, the test result is sent to the control device, and a retest value of the factory device by a target test machine other than any one of the test machines in the test station is obtained; A calibration result of the test result is generated according to the simulated value and the re-measured value.

3. The method according to claim 2, It is characterized in that The calibration result of generating the test result according to the simulation value and the re-measured value includes: Generate estimated values ​​of the factory equipment on the test items of the remaining test machines according to the correspondence between the re-measured values, the test items of the target test machine, and the test items of the remaining test machines except the target test machine; Comparing the re-measured value and the estimated value with the corresponding set interval to obtain a re-measurement result; If the retest result is a second preset result, extracting a target simulation value corresponding to the target test machine from the simulation value; The calibration result is determined according to a change between the re-measured value and the target simulation value.

4. The method according to claim 2, It is characterized in that The comparing the test value and the simulation value with the corresponding set interval to obtain the test result includes: Based on the test items of any one of the test machines, a first set interval is selected from the set intervals, and based on the remaining test items, a second set interval is selected from the set intervals; comparing the test value with the first set interval, and comparing the simulation value with the second set interval; If the test value is not within the first set interval, or the simulation value is not within the second set interval, the test result is determined to be the first preset result.

5. The method according to claim 1, It is characterized in that Before generating the simulation value of the factory equipment on the remaining test items according to the correspondence between the test value, the test item and the remaining test items except the test item, the method further includes: Obtain parameter values ​​of a trial production device on each test machine, wherein the trial production device has the same device model as the factory device; According to the parameter values, a corresponding relationship between any two test items is established.

6. The method according to claim 1, It is characterized in that Before comparing the test value and the simulation value with the corresponding set interval to obtain the test result, the method further includes: Testing batch devices based on any one of the test machines to obtain sample values ​​of the batch devices on the test items corresponding to the any one of the test machines, wherein the batch devices have the same device model as the factory devices; Determine the standard deviation, mean value, upper limit and lower limit according to the sample value; Determine a process capability index according to the standard deviation, the average value, the upper limit value and the lower limit value; If the process capability index is greater than or equal to a preset value, the set interval is generated according to the average value.

7. The method according to claim 6, It is characterized in that The method further comprises: If the process capability index is less than the preset value, adjusting the average value according to the preset value to obtain an adjusted average value; Determining an adjusted process capability index according to the adjusted average value and the sample value until the adjusted process capability index is greater than or equal to the preset value; The set interval is generated according to the adjusted average value.

8. The method according to claim 1, It is characterized in that The parsing of the test log to obtain the test value of the factory equipment on the test item corresponding to any one of the test machines includes: Determining a log format of the test log; Calling a tool script matching the log format, parsing the test log, and obtaining log information; Information corresponding to a preset tag is extracted from the log information as the test value.

9. A computer device, It is characterized in that include: a memory storing computer-readable instructions; and A processor executes the computer-readable instructions stored in the memory to implement the device testing method according to any one of claims 1 to 8.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions are executed by a processor in a computer device to implement the device testing method according to any one of claims 1 to 8.