Detection method, device, electronic device and storage medium
By establishing a mapping relationship between the detection equipment and the sample detection project, the detection results are automatically judged, and the inefficiency and error problems caused by manual intervention in the prior art are solved, and the detection efficiency and equipment utilization are improved.
Patent Information
- Application Number
- CN202211626654.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-16
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2042-12-16
AI Technical Summary
In the prior art, the detection item cannot be automatically judged, and manual intervention or pre-set matching rules are required, resulting in low detection efficiency and high probability of human error.
By establishing a mapping relationship between the detection capability items of the detection equipment and the detection items of the detection samples, the detection results can be automatically judged and manual intervention will be reduced.
The utilization rate of detection equipment is improved, the workload of personnel and the probability of human error is reduced, and the determination of automated detection results is realized.
Smart Images

Figure CN115856331B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of sample detection, and in particular to a detection method, device, electronic device and storage medium. Background Art
[0002] In the laboratory or manufacturing fields, sample quality evaluation or component analysis often requires the use of a variety of testing equipment. Some sample testing items may be time-consuming, and equipment resources are limited. After the test data is pushed to the quality inspection system, it is often necessary for testers to determine the test results, which increases the tester's workload. For example, a certain type of testing equipment can be used to test the current and resistance values of electrical products. The data detected by the equipment can be converted into the following data through analysis:
[0003] Test item: voltage, test value: 12, unit: V;
[0004] Test item: resistance, test value: 1, unit: Ω.
[0005] After the test data is transmitted to the quality system, the following processing may be performed:
[0006] The results are displayed, and the quality inspector manually determines the results as qualified according to the product requirements (the material output voltage should be 12V and the resistance value should be less than 1.2Ω);
[0007] The quality inspection system identifies the inspected material and calls the pre-set product specification requirements of the inspected material (hereinafter referred to as the inspection item standard):
[0008] "Test item: voltage, standard value: 12, tolerance range: 0.1, unit: V",
[0009] "Test item: resistance, standard value: <1.2, unit: Ω".
[0010] After making a corresponding comparison and testing the corresponding requirement items, if the test value falls within the standard value tolerance range, the result is automatically judged as qualified, otherwise the result is judged as unqualified.
[0011] However, if there is another material whose test item standard is as follows:
[0012] "Test item: output voltage, standard value: 220, tolerance range: 11, unit: V",
[0013] “Test item: resistance, standard value: 100, tolerance range: 5, unit: Ω”.
[0014] Then the quality inspection system may not be able to match the test item "voltage" with the test item standard "output voltage", and thus the system cannot achieve the purpose of automatically determining the test results. At this time, the inspection personnel need to intervene or the system needs to pre-set matching rules, which is not conducive to the execution of automatic detection. Summary of the Invention
[0015] In order to solve the technical problem of realizing automatic determination of detection items during the detection process, the present application provides a detection method, device, electronic device and storage medium.
[0016] In a first aspect, the present application provides a detection method, comprising:
[0017] Obtaining test items for samples to be tested;
[0018] Based on a preset detection item standard mapping relationship, the detection capability item of the detection equipment corresponding to the detection item of the sample to be detected is started to detect the detection item of the sample to be detected; the detection item standard mapping relationship is a mapping relationship between the detection capability item of the detection equipment and the detection item of the detection sample; the sample to be detected belongs to one of the detection samples; and the detection item belongs to one of the detection capability items;
[0019] Optionally, before testing the test items of the sample to be tested based on the preset test item standard mapping relationship, the method further includes:
[0020] Obtaining the test item standard mapping relationship;
[0021] The generation process of the test item standard mapping relationship includes:
[0022] Acquire the testing capability items of testing equipment;
[0023] Obtain test items for test samples;
[0024] Obtaining a mapping relationship between the test item standards according to the test capability items and the test items;
[0025] Optionally, the test item standard mapping relationship further includes a qualification standard for the test item; and based on the preset test item standard mapping relationship, testing the test item of the sample to be tested includes:
[0026] Determining target detection items among the detection items of the sample to be detected;
[0027] Determining the target detection equipment for the sample to be detected and the target qualification standard for the target detection item according to the detection item standard mapping relationship and the target detection item;
[0028] Obtaining a detection result of the target detection device on the sample to be detected;
[0029] Automatically judging the test results according to the target qualification standard;
[0030] Optionally, obtaining a detection result of the target detection device on the sample to be detected includes:
[0031] Obtaining raw data from the target detection device detecting the sample to be detected;
[0032] Converting the original data to obtain target format data; the target format data and the target qualified standard are data in the same format;
[0033] Accordingly, the test results are automatically judged according to the target qualification standard, including:
[0034] Automatically determining the target format data according to the target qualification standard;
[0035] If the target qualification standard is met, the sample to be tested is determined to be qualified;
[0036] If the target qualification standard is not met, the sample to be tested is judged to be unqualified;
[0037] Optionally, determining a target detection device for the sample to be detected according to the detection item standard mapping relationship and the target detection item includes:
[0038] In the detection item standard mapping relationship, determining the detection capability item number corresponding to the target detection item; and determining the capability detection equipment of the sample to be detected according to the detection capability item number;
[0039] Acquiring the state of the capability detection device, and using the capability detection device in an available state as the target detection device for the sample to be detected;
[0040] Optionally, obtaining test items for the sample to be tested includes:
[0041] Obtaining a sample inspection request; the sample inspection request carries a sample number;
[0042] Determine the sample to be tested and the test items of the sample to be tested according to the sample number;
[0043] Optionally, after determining the target detection device of the sample to be detected and the target qualification standard of the target detection item according to the detection item standard mapping relationship and the target detection item of the sample to be detected, and before obtaining the detection result of the target detection device detecting the sample to be detected, the method further includes:
[0044] Acquire detection progress influencing parameters; the detection progress influencing parameters at least include whether the target detection device is idle and the expected detection time of the target detection item;
[0045] Formulate a sample testing plan based on the parameters affecting the testing progress;
[0046] Testing the sample to be tested according to the sample testing plan;
[0047] Optionally, after testing the sample to be tested according to the sample testing plan, the method further includes:
[0048] After completing the test of the sample to be tested, re-obtaining the current test progress influencing parameters;
[0049] The sample testing plan is updated according to the current testing progress influencing parameters.
[0050] In a second aspect, the present application provides a detection device, comprising:
[0051] A determination module is used to obtain the test items of the sample to be tested;
[0052] The detection module is used to start the detection capability items of the detection equipment corresponding to the detection items of the sample to be detected based on the preset detection item standard mapping relationship, and detect the detection items of the sample to be detected; the detection item standard mapping relationship is the mapping relationship between the detection capability items of the detection equipment and the detection items of the detection sample; the sample to be detected belongs to one of the detection samples; and the detection item belongs to one of the detection capability items.
[0053] In a third aspect, the present application 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;
[0054] Memory for storing computer programs;
[0055] The processor is used to implement the steps of the detection method described in any one of the embodiments of the first aspect when executing the program stored in the memory.
[0056] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the detection method as described in any one of the embodiments of the first aspect.
[0057] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art:
[0058] The method provided in the embodiment of the present application obtains the detection items of the sample to be detected; based on a preset detection item standard mapping relationship, the detection capability items of the detection equipment corresponding to the detection items of the sample to be detected are activated, and the detection items of the sample to be detected are detected; the detection item standard mapping relationship is a mapping relationship between the detection capability items of the detection equipment and the detection items of the detection sample; the sample to be detected belongs to one of the detection samples; and the detection item belongs to one of the detection capability items. This method detects the detection items of the sample to be detected based on the detection item standard mapping relationship between the detection capability items of the detection equipment and the detection items of the detection sample. According to the mapping relationship, the detection items can be connected based on the detection capability items of the detection equipment to achieve automatic detection, thereby reducing manual intervention and improving detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] 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.
[0060] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0061] Figure 1 A system architecture diagram of a detection method provided in one embodiment of the present application;
[0062] Figure 2 A system structure diagram of a detection method provided in one embodiment of the present application;
[0063] Figure 3 A schematic diagram of a detection method provided in one embodiment of the present application;
[0064] Figure 4 A schematic diagram of a process for establishing basic data provided in one embodiment of the present application;
[0065] Figure 5 A schematic diagram of a process for automatically formulating and revising a test plan provided in one embodiment of the present application;
[0066] Figure 6 A schematic diagram of a process for automatically determining a test result according to an embodiment of the present application;
[0067] Figure 7 A schematic structural diagram of a detection device provided in one embodiment of the present application;
[0068] Figure 8 A schematic structural diagram of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0069] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0070] In the laboratory or manufacturing fields, sample quality evaluation or component analysis often requires the use of multiple testing equipment. Some sample testing items may be time-consuming, and equipment resources are limited.
[0071] In order to improve the utilization rate of testing equipment and shorten the total testing time of samples, we can make a reasonable plan for the testing tasks based on the testing equipment resources. The traditional approach is to make plans manually, which is a large workload. Deviations generated during actual implementation require manual rearrangement of plans, which involves a wide range of aspects and is prone to errors. In addition, for the test result data of samples, the traditional approach is for the test personnel to manually enter the data into a form or quality system. With the development of technology, the technology of equipment networking has emerged in the field of intelligent manufacturing in recent years, so that the data of the testing equipment can be collected through the acquisition module and pushed to the quality inspection system, which greatly reduces the workload of manual entry and improves the efficiency of testing. However, there is still a need for manual intervention, or it is necessary to write software logic for each sample based on each type / unit of testing equipment to determine whether the test result is qualified. The workload of software development is large, and it is difficult to achieve a fully automatic test result determination process.
[0072] Generally speaking, there is a many-to-many relationship between testing equipment and testing items. One device can perform several types of tests, and one test can be performed on multiple devices. Given limited equipment resources, improving equipment utilization and increasing testing speed requires developing a testing plan. The development of a testing plan requires comprehensive information (but not limited to) such as the equipment's testing capabilities, the equipment's current status, the samples and items to be tested, scheduled testing plans, the duration of test items, and the inspection personnel's shift schedule to formulate a feasible plan. Planning is labor-intensive and often leads to deviations during execution. Therefore, adjustments to existing plans are necessary, which can affect a wide range of issues and is prone to errors. If the plan is not adjusted in a timely manner, it becomes unusable and worthless.
[0073] On the other hand, the quality inspection system may not be able to match the test item "voltage" with the test item standard "output voltage," thus failing to automatically determine the test result. This requires human intervention or pre-set matching rules for the system. However, these rules must be exhaustive in advance; otherwise, mismatches will still occur. Conventional methods of summarizing common test items using standard test item items are extremely labor-intensive. For example, a manufacturer producing different air conditioner models may use hundreds of thousands or even millions of different types and models of spare parts. It's easy to imagine the immense workload required to derive common test items from such a large number of spare parts.
[0074] This application is based on the mapping relationship between the detection capability items of the preset detection equipment and the detection items of the detection samples, so that the software system can automatically judge the inspection results, thereby improving equipment utilization, reducing personnel workload, and reducing the probability of human error.
[0075] The first embodiment of the present application provides a detection method which can be applied to Figure 1 The system architecture shown includes at least a terminal 101 and a server 102 , and the terminal 101 and the server 102 establish a communication connection.
[0076] The method can be applied to the terminal 101 or server 102 in the system architecture, wherein the terminal 101 can be a desktop computer, tablet computer, notebook, industrial computer, supercomputer or other device, and the server 102 can be a local server, a cloud server, or a server cluster.
[0077] This method can also be applied to Figure 2The system structure can include four functional modules: an equipment management module 201, which is responsible for managing equipment records, equipment capabilities and other information; a testing project standard module 202, which is responsible for managing sample testing projects, testing standards and other information; a planning and scheduling module 203, which is responsible for formulating testing plans for samples to be tested; and an equipment data acquisition module 204, which is responsible for receiving equipment data, parsing equipment data and giving test results according to the testing project standards.
[0078] Next, based on Figure 1 system architecture, or Figure 2 A detection method, such as Figure 3 ,include:
[0079] Step 301: Obtain the test items of the sample to be tested.
[0080] There may be multiple test items depending on the sample to be tested, such as voltage, resistance, height, pressure resistance, etc. The sample to be tested can be determined based on the sample number carried in the sample inspection request. The test items can be all the test items of the sample to be tested, or they can be a specified part of the test items. They can be specified in the sample inspection request as needed, or they can be pre-set without restriction.
[0081] In step 302, based on the preset detection item standard mapping relationship, the detection capability item of the detection equipment corresponding to the detection item of the sample to be detected is started to detect the detection item of the sample to be detected; the detection item standard mapping relationship is the mapping relationship between the detection capability item of the detection equipment and the detection item of the detection sample; the sample to be detected belongs to one of the detection samples; the detection item belongs to one of the detection capability items.
[0082] This method detects the detection items of the sample to be detected based on the detection item standard mapping relationship between the detection capability items of the preset detection equipment and the detection items of the detection sample. According to the mapping relationship, the detection items can be connected based on the detection capability items of the detection equipment to realize automatic detection, thereby reducing manual intervention and improving detection efficiency.
[0083] In one embodiment, based on the preset detection item standard mapping relationship, before detecting the detection items of the sample to be detected, the method further includes: obtaining the detection item standard mapping relationship.
[0084] The process of generating the test item-standard mapping relationship includes obtaining the test capability items of the test equipment, obtaining the test items of the test samples, and then obtaining the test item-standard mapping relationship based on the test capability items and the test items. Of course, the test item-standard mapping relationship may also include the qualification criteria of the test items. When the qualification criteria of the test items are included, the test item-standard mapping relationship is obtained based on the test capability items, the test items, and the qualification criteria.
[0085] In this embodiment, the detection capability items can be numbered first. For example, if it has the ability to detect 0V-48V voltage, its detection capability item number is 001. If it has the ability to detect 48V-360V voltage, its detection capability item number is 002. If it has resistance detection capability, its detection capability item number is 003. If it has the ability to detect voltage resistance, its detection capability item number is 004. Then, according to the different detection capability items of the detection equipment, the detection equipment and the detection capability item number are matched. For example, if the corresponding numbers of device A are 001 and 002, it means that it has the ability to detect 0-360V voltage. Then, according to the sample type, the detection items of the detection sample are listed, and the standard value range of the detection item is set to form a detection item standard mapping relationship. The mapping relationship can be a detection item standard table, in which the detection items of the detection sample that needs to be detected by the detection equipment are bound to the detection capability items of the detection equipment, or the detection items of the detection sample are matched with the detection capability items of the detection equipment, so as to facilitate search when using the detection item standard table.
[0086] In this embodiment, by summarizing the detection capability items of the detection equipment to form a device detection capability list, the types of detection equipment are far fewer than the types of materials (test samples), thereby solving the problem of the large workload of summarizing the universalization of detection item standards. By establishing "test item" standards for test samples (also referred to as samples), the detection capability items of the equipment are refined to form the "detection capability items" of the equipment, and through the corresponding relationships in the test item standard table, the software system automatically formulates the inspection plan and automatically determines the inspection results, thereby improving equipment utilization, reducing personnel workload, and reducing the probability of human error.
[0087] In one embodiment, based on a preset mapping relationship of detection item standards, the detection items of the sample to be detected are detected, including: determining the target detection item among the detection items of the sample to be detected, determining the target detection equipment for the sample to be detected and the target qualification standard of the target detection item according to the mapping relationship of detection item standards and the target detection item, obtaining the detection result of the target detection equipment on the sample to be detected, and automatically judging the detection result according to the target qualification standard.
[0088] In this embodiment, the target detection items can be all or part of the detection items, depending on the detection requirements. The detection item standard mapping relationship has the target qualification standard for each target detection item, which can automatically determine the detection results, realize automated detection and result determination, and do not require human intervention, thereby improving detection efficiency.
[0089] It should be noted that the acceptance standard is generally a range of values. This range is generally based on the ideal value (or standard value) of the test item, and the allowable error range (or tolerance range) is added to form a numerical range. For example, if the target test item is resistance, the standard value of the resistor is 25Ω, and the tolerance range is 1.2Ω, then the acceptance standard for the resistor is 25±1.2Ω.
[0090] In one embodiment, obtaining the detection results of the target detection device on the sample to be detected includes: obtaining the original data of the target detection device on the sample to be detected, converting the original data to obtain target format data, and the target format data is data in the same format as the target qualification standard.
[0091] Accordingly, the test results are automatically judged according to the target qualification standards, including: automatically judging the target format data according to the target qualification standards, if it meets the target qualification standards, the sample to be tested is judged to be qualified, if it does not meet the target qualification standards, the sample to be tested is judged to be unqualified.
[0092] In this embodiment, to avoid the problem of inconsistent test item standards for different test samples, the raw test data is converted to obtain data in the same format as the target qualification standard, so that when judging whether the test result is qualified, it is automatically determined that if it meets the target qualification standard, it is qualified, and if it does not meet the target qualification standard, it is unqualified. The target qualification standard is the qualification standard corresponding to the target test item.
[0093] In one embodiment, the target detection device of the sample to be detected is determined based on the detection item standard mapping relationship and the target detection item, including: determining the detection capability item number corresponding to the target detection item in the detection item standard mapping relationship; determining the capability detection device of the sample to be detected based on the detection capability item number; obtaining the status of the capability detection device, and using the capability detection device in an available state as the target detection device of the sample to be detected.
[0094] In this embodiment, a capability testing device refers to a testing device with the specified testing capability. When determining the target testing device for a sample to be tested, it is also necessary to determine whether the testing device is currently available. This prevents situations where the identified testing device is occupied or faulty, preventing timely testing and delaying the testing process. In this embodiment, all target testing devices are available, avoiding unnecessary waiting during the testing process and improving testing efficiency.
[0095] In one embodiment, after determining the target detection equipment for the sample to be detected and the target qualification standard of the target detection item based on the detection item standard mapping relationship and the target detection item of the sample to be detected, and before obtaining the detection result of the target detection equipment on the sample to be detected, the method also includes: obtaining detection progress influencing parameters; the detection progress influencing parameters at least include whether the target detection equipment is idle and the estimated detection time of the target detection item; formulating a sample detection plan based on the detection progress influencing parameters; and detecting the sample to be detected according to the sample detection plan.
[0096] In this embodiment, to improve equipment utilization and detection speed under the condition of limited equipment resources, a sample detection plan can be formulated. The sample detection plan can be formulated based on parameters affecting the detection progress. The detection progress affecting parameters include at least whether the target detection equipment is idle and the expected detection time of the target detection item. Of course, they can also include any parameters that can affect the detection progress, such as equipment detection capabilities, samples and items to be detected, scheduled detection plans, and inspection personnel schedules, without limitation.
[0097] In one embodiment, after testing the sample to be tested according to the sample testing plan, the method further includes: after completing the testing of the sample to be tested, re-obtaining the current testing progress influencing parameter; and updating the sample testing plan according to the current testing progress influencing parameter.
[0098] In this embodiment, the sample testing plan can be adjusted at any time according to the testing completion status of the samples to be tested, so as to make the plan more consistent with the actual testing status and improve the accuracy of the plan.
[0099] Next, the detection method is described in detail based on a more specific embodiment.
[0100] Basic data is established, the flow chart is as follows Figure 4 :
[0101] Step 401 extracts general equipment capability items and forms a basic table. In the equipment management module, basic data for equipment detection capabilities is established. The detection capabilities of all detection equipment are organized and summarized to create a basic table of general equipment detection capability items, as shown in Table 1 below. Number 001 indicates the ability to detect voltages from 0V to 48V, number 002 indicates the ability to detect voltages from 48V to 360V, and so on. This information is not further detailed here.
[0102] Table 1
[0103] serial number Detection capability items Remark 001 Voltage (detection range 0V-48V) 002 Voltage (detection range 48V-360V) 003 resistance 004 Pressure resistance test (100 atmospheres) ……
[0104] According to the equipment model, the detection capability items are listed to form an equipment detection capability table, as shown in Table 2 below. The equipment model YH-12540 has equipment capability items numbered 001 and 003, that is, it can detect voltage (detection range 0V-48V) and resistance. The equipment model YH-52540 has equipment capability items numbered 001, 002 and 003, that is, it can detect voltage (detection range 0V-48V), voltage (detection range 48V-360V) and resistance. They will not be listed one by one.
[0105] Table 2
[0106] Device Model Equipment capability item number Remark YH-12540 001 YH-12540 003 YH-52540 001 YH-52540 002 YH-52540 003 D-01C 004 ……
[0107] Step 402: Formulate a standard list of sample testing items.
[0108] Establish basic data for test item standards in the test item standard module. List sample test items by sample type, set the test item standard value range, and form a test item standard table, as shown in Table 3 below. In this table, bind the test equipment capability items to the sample test item standard items that require the use of test equipment to complete the test.
[0109] Taking the sample number "M10-254" as an example, the test items corresponding to this sample number are numbered 00a1, 00a2, 00a3 and 00a4. Among them, the test item corresponding to 00a2 is output voltage, the standard value is 8V, and the qualified standard is the error range of 8±0.1V. Equipment with equipment capability item numbers 001 and 002 can be used.
[0110] It should be noted that when testing parameters such as voltage and resistance, the test duration is not set due to the short time. However, when comparing the pressure resistance, it is necessary to test the parameter changes of the sample under a set pressure environment. At this time, a test duration needs to be set, such as one hour.
[0111] It should be noted that the specific values and specific detection parameters in the table are for illustration only and do not represent limitations on the embodiments of the present application.
[0112] Table 3
[0113]
[0114] Step 403: Bind the equipment capability item to the inspection item standard item that needs to be inspected by the inspection equipment.
[0115] Create a data parsing script / program in the device data acquisition module. Write a data parsing script / program for each device's output data, converting the raw data into a format of "device capability item: test value: unit" (e.g., 001:8:V). Note that the "device capability item" here refers to the test equipment's test capability.
[0116] Step 404: Write device raw data parsing scripts for various types of detection equipment. After the above basic data is established, specific services are implemented.
[0117] The sample test plan (also referred to as plan) is scheduled by the test plan scheduling module. The scheduling flow chart is shown in Figure 5 ,as follows:
[0118] Step 501, obtaining the required testing equipment according to the sample testing items;
[0119] Step 502: Obtain basic information required for planning and scheduling;
[0120] Step 503, the system formulates a plan;
[0121] Step 504: monitoring the detection completion event of the detection item;
[0122] Step 505, revise the plan.
[0123] During planning and scheduling, the items to be tested are obtained from the test item standard module according to the sample number, and the equipment capable of performing the test is found in the equipment management module according to the equipment capability items corresponding to the test items; the software system formulates the sample test plan according to the rules based on the necessary information such as the idle status of the equipment, the project test duration, the scheduled test plan, the inspection personnel schedule, etc. (but not limited to this information); after each test is completed, the test plan for all samples to be tested is updated, realizing automatic formulation and automatic update of plans, reducing personnel workload and lowering the probability of errors.
[0124] The equipment data acquisition module automatically determines whether the test results are qualified, such as Figure 6 , the process is as follows:
[0125] Step 601, collecting equipment detection data;
[0126] Step 602: Convert the detection data into data in the format of "device capability item: detection value: unit";
[0127] Step 603, obtaining the sample test item standard items according to the sample number and the equipment capability items;
[0128] Step 604: automatically determine whether the test result is qualified according to the test item standard requirements.
[0129] This module's parsing script / program converts raw device data into the "device capability item: test value: unit" format. Based on the sample number and the device capability item in the data, it retrieves relevant information about the test item standard item from the test item standard module. Based on the test item standard item requirements, it automatically determines whether the test result is qualified. The test item standard item refers to the test item standard mapping relationship or the test item standard table.
[0130] In summary, after the above processing steps, the software system can automatically formulate sample testing plans, solving the problems of manual sample testing plan formulation, which are labor-intensive, frequently adjusted, and prone to errors. It can also automatically determine test results, thereby improving the utilization rate of testing equipment, shortening the total sample testing time, improving testing efficiency, and reducing the workload and error probability of testers. Testing items can be integrated through the testing equipment's testing capability items, achieving universal summarization of testing item standards and solving the problem of heavy workload in summarizing testing items.
[0131] Based on the same technical concept, the second embodiment of the present application provides a detection device, such as Figure 7 , the device comprises:
[0132] Determination module 701, for obtaining the test items of the sample to be tested;
[0133] The detection module 702 is used to start the detection capability item of the detection equipment corresponding to the detection item of the sample to be detected based on the preset detection item standard mapping relationship, and detect the detection item of the sample to be detected; the detection item standard mapping relationship is the mapping relationship between the detection capability item of the detection equipment and the detection item of the detection sample; the sample to be detected belongs to one of the detection samples; the detection item belongs to one of the detection capability items.
[0134] The device detects the detection items of the sample to be detected based on the detection item standard mapping relationship between the detection capability items of the preset detection equipment and the detection items of the detection sample. According to the mapping relationship, the detection items can be connected based on the detection capability items of the detection equipment to realize automatic detection, thereby reducing manual intervention and improving detection efficiency.
[0135] like Figure 8As shown, the third embodiment of the present application provides an electronic device, including a processor 111, a communication interface 112, a memory 113 and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114.
[0136] Memory 113, for storing computer programs;
[0137] In one embodiment, the processor 111 is configured to execute a program stored in the memory 113 to implement the detection method provided by any of the aforementioned method embodiments, including:
[0138] Obtaining test items for samples to be tested;
[0139] Based on the preset detection item standard mapping relationship, the detection capability item of the detection equipment corresponding to the detection item of the sample to be detected is started, and the detection item of the sample to be detected is detected; the detection item standard mapping relationship is the mapping relationship between the detection capability item of the detection equipment and the detection item of the detection sample; the sample to be detected belongs to one of the detection samples; the detection item belongs to one of the detection capability items.
[0140] The communication bus mentioned in the terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. This communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is used in the figure, but this does not mean that there is only one bus or only one type of bus.
[0141] The communication interface is used for communication between the above terminal and other devices.
[0142] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage. Alternatively, the memory may be at least one storage device located away from the processor.
[0143] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it 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 gate or transistor logic devices, and discrete hardware components.
[0144] The fourth embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the detection method provided in any of the aforementioned method embodiments are implemented.
[0145] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When software is used for implementation, 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 program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application 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 instructions 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 instructions can be transmitted from a website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. 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 data center that includes one or more available media integrations. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).
[0146] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any 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 comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.
[0147] It should be understood that the specific embodiments described herein are intended only to illustrate the present invention and are not intended to limit the present invention. In the description, suffixes such as "module," "component," or "unit" used to denote elements are used solely to facilitate the description of the present invention and have no specific meaning in themselves. Therefore, "module," "component," or "unit" may be used interchangeably.
[0148] The foregoing description is intended only to provide specific embodiments of the present invention, which will enable those skilled in the art to understand and implement the present invention. Various modifications to these embodiments will be readily 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 is not intended to be limited to the embodiments shown herein, but is intended to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A detection method, characterized in that: The method comprises: Obtaining test items for samples to be tested; Based on a preset detection item standard mapping relationship, the detection capability item of the detection equipment corresponding to the detection item of the sample to be detected is started to detect the detection item of the sample to be detected; the detection item standard mapping relationship is a mapping relationship between the detection capability item of the detection equipment and the detection item of the detection sample; the sample to be detected belongs to one of the detection samples; and the detection item belongs to one of the detection capability items; Wherein, based on the preset mapping relationship of test item standards, before testing the test items of the sample to be tested, the method further includes: Obtaining the test item standard mapping relationship; The generation process of the test item standard mapping relationship includes: Acquire the testing capability items of testing equipment; Obtain test items for test samples; Obtaining a mapping relationship between the test item standards according to the test capability items and the test items; Wherein, the test item standard mapping relationship also includes the qualification standard of the test item; based on the preset test item standard mapping relationship, the test item of the sample to be tested is tested, including: Determining target detection items among the detection items of the sample to be detected; Determining the target detection equipment for the sample to be detected and the target qualification standard for the target detection item according to the detection item standard mapping relationship and the target detection item; Obtaining a detection result of the target detection device on the sample to be detected; Automatically judging the test results according to the target qualification standard; Wherein, obtaining the detection result of the target detection device on the sample to be detected includes: Obtaining raw data of the target detection device detecting the sample to be detected; Converting the original data to obtain target format data; the target format data and the target qualified standard are data in the same format; Accordingly, the test results are automatically judged according to the target qualification standard, including: Automatically determining the target format data according to the target qualification standard; If the target qualification standard is met, the sample to be tested is determined to be qualified; If the target qualification standard is not met, the sample to be tested is determined to be unqualified.
2. The method according to claim 1, characterized in that Determining the target detection device of the sample to be detected according to the detection item standard mapping relationship and the target detection item includes: In the detection item standard mapping relationship, determining the detection capability item number corresponding to the target detection item; and determining the capability detection equipment of the sample to be detected according to the detection capability item number; The state of the capability detection device is obtained, and the capability detection device in an available state is used as the target detection device for the sample to be detected.
3. The method according to claim 1, characterized in that Obtain test items for samples to be tested, including: Obtaining a sample inspection request; the sample inspection request carries a sample number; The sample to be tested and the test items of the sample to be tested are determined according to the sample number.
4. The method according to claim 1, wherein After determining the target detection device for the sample to be detected and the target qualification standard of the target detection item according to the detection item standard mapping relationship and the target detection item of the sample to be detected, and before obtaining the detection result of the target detection device detecting the sample to be detected, the method further includes: Acquire detection progress influencing parameters; the detection progress influencing parameters at least include whether the target detection device is idle and the expected detection time of the target detection item; Formulate a sample testing plan based on the parameters affecting the testing progress; The sample to be tested is tested according to the sample testing plan.
5. The method according to claim 4, characterized in that After testing the sample to be tested according to the sample testing plan, the method further includes: After completing the test of the sample to be tested, re-obtaining the current test progress influencing parameters; The sample testing plan is updated according to the current testing progress influencing parameters.
6. A detection device, characterized in that: The device comprises: A determination module is used to obtain the test items of the sample to be tested; The detection module is used to start the detection capability item of the detection equipment corresponding to the detection item of the sample to be detected based on the preset detection item standard mapping relationship, and detect the detection item of the sample to be detected; the detection item standard mapping relationship is a mapping relationship between the detection capability item of the detection equipment and the detection item of the detection sample; the sample to be detected belongs to one of the detection samples; the detection item belongs to one of the detection capability items; wherein, based on the preset detection item standard mapping relationship, before detecting the detection item of the sample to be detected, the detection module is also used to obtain the detection item standard mapping relationship; wherein, the generation process of the detection item standard mapping relationship includes: obtaining the detection capability item of the detection equipment; obtaining the detection item of the detection sample; obtaining the detection item standard mapping relationship according to the detection capability item and the detection item; wherein, the detection item standard mapping relationship also includes the qualification standard of the detection item; based on the preset detection item standard mapping relationship, the detection item of the sample to be detected is detected. Perform detection, including: determining the target detection item among the detection items of the sample to be detected; determining the target detection device of the sample to be detected and the target qualification standard of the target detection item according to the detection item standard mapping relationship and the target detection item; obtaining the detection result of the sample to be detected by the target detection device; automatically judging the detection result according to the target qualification standard; wherein, obtaining the detection result of the sample to be detected by the target detection device includes: obtaining the original data of the target detection device detecting the sample to be detected; converting the original data to obtain target format data; the target format data and the target qualification standard are data in the same format; accordingly, automatically judging the detection result according to the target qualification standard, including: automatically judging the target format data according to the target qualification standard; if it meets the target qualification standard, the sample to be detected is judged to be qualified; if it does not meet the target qualification standard, the sample to be detected is judged to be unqualified.
7. An electronic device, characterized in that: It includes 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; Memory for storing computer programs; The processor is configured to implement the steps of the detection method according to any one of claims 1 to 5 when executing the program stored in the memory.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the detection method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Transformer quality detection task scheduling method and system
CN114386655A
Network equipment testing system and method, electronic equipment and storage medium
CN114598630A