Test item detection method and related device based on cnas detection laboratory

CN115795319BActive Publication Date: 2026-09-22GUIZHOU POWER GRID CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211558031.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-06
Publication Date
2026-09-22
Estimated Expiration
2042-12-06

AI Technical Summary

Technical Problem

[0004]本申请提供了基于CNAS检测实验室的试验项检测方法及相关装置,用于解决现有技术的检测时间周期太长,且无法保证检测结果的准确性的技术问题

Benefits of technology

[0044]本申请中,提供了基于CNAS检测实验室的试验项检测方法,包括:采用爬虫技术在资源平台上实时抓取检测和标准实验室网页,并获取到CNAS标准试验项清单,CNAS标准试验项清单包括标准试验项、文本内容和网页标题;将本地实验室的当前试验项与CNAS标准试验项清单进行比对计算,得到对比匹配度和参数差值;基于对比匹配度、参数差值和预设权重计算得到的验证结果与预设标准区间范围进行比对,得到实验室验证结果。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115795319B_ABST
    Figure CN115795319B_ABST
Patent Text Reader

Abstract

The application discloses a test item detection method based on a CNAS detection laboratory and related devices, and the method comprises the following steps: adopting a crawler technology to capture detection and standard laboratory webpages in real time on a resource platform, and obtaining a CNAS standard test item list, wherein the CNAS standard test item list comprises standard test items, text content and webpage titles; comparing and calculating current test items of a local laboratory with the CNAS standard test item list, obtaining a comparison matching degree and a parameter difference value; comparing a verification result calculated based on the comparison matching degree, the parameter difference value and a preset weight with a preset standard interval range, and obtaining a laboratory verification result. The direct comparison and verification of each test item can quickly obtain a verification result, shorten a detection time period, and ensure the accuracy of the detection result. Therefore, the application can solve the technical problems that the detection time period is too long in the prior art, and the accuracy of the detection result cannot be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of laboratory testing technology, and in particular to testing methods and related apparatus for test items based on CNAS testing laboratories. Background Technology

[0002] To enhance market competitiveness, gain the trust of government departments and the public, obtain recognition from accreditation bodies in countries and regions that have signed mutual recognition agreements, have opportunities to participate in bilateral and multilateral cooperation and exchanges on international conformity assessment body accreditation, and be included in the list of accredited bodies to enhance visibility, laboratory testing becomes particularly important. Laboratory testing refers to a series of tests conducted in a standard laboratory according to relevant regulations, standards, or personally defined criteria. Laboratory testing is generally performed by testing organizations on the laboratory's test items. The China National Accreditation Service for Conformity Assessment (CNAS) is a national accreditation body established and authorized by the Certification and Accreditation Administration of the People's Republic of China in accordance with the "Regulations of the People's Republic of China on Certification and Accreditation," and is uniformly responsible for the accreditation of certification bodies, laboratories, and inspection bodies.

[0003] Existing laboratory testing methods require obtaining relevant testing information and placing orders within the registered laboratory system, then conducting the tests and uploading the results to the testing platform. This undoubtedly results in a long testing time and cannot guarantee the accuracy of the test results. Summary of the Invention

[0004] This application provides a testing method and related apparatus based on a CNAS testing laboratory to address the technical problems of excessively long testing time and inability to guarantee the accuracy of test results in existing technologies.

[0005] In view of this, the first aspect of this application provides a testing method for test items based on a CNAS testing laboratory, including:

[0006] The web crawler technology is used to crawl the web pages of testing and standard laboratories on the resource platform in real time and obtain the list of CNAS standard test items. The list of CNAS standard test items includes standard test items, text content and web page title.

[0007] The local laboratory's current test items are compared and calculated with the CNAS standard test item list to obtain the comparison matching degree and parameter difference;

[0008] The verification results calculated based on the comparison matching degree, the parameter difference, and the preset weight are compared with the preset standard interval range to obtain the laboratory verification results. The calculation process of the verification results according to the preset weight is as follows:

[0009]

[0010] in, For test item categories, This represents the test items under each category. This indicates the first item in the CNAS test item set. The y-th test item in the category, The first one extracted from the test items of the local laboratory The y-th text content in the category; , , The weighting ratio of the test items, i.e., the preset weights. This indicates the text content matching degree of the corresponding test item. This represents the parameter difference for the corresponding test item. For the interval range corresponding to the test item, that is, the preset standard interval range, if:

[0011]

[0012] The calculation results are located at If the result falls within the specified range, it indicates that the local laboratory test item meets the requirements; otherwise, it does not.

[0013] Preferably, the step of using web crawler technology to crawl the web pages of testing and standard laboratories on the resource platform in real time and obtain the list of CNAS standard test items includes:

[0014] The web crawler technology is used to crawl the web pages of testing and standard laboratories on the resource platform in real time to obtain the initial CNAS web page, which includes an initial title and initial content.

[0015] Based on title matching degree and content difference degree, the initial title and the initial content are subjected to redundancy filtering processing according to title keywords and content attributes respectively to obtain web page title and text content;

[0016] A list of CNAS standard test items is constructed based on the standard test items in the initial CNAS webpage, the webpage title, and the text content.

[0017] Preferably, the step of comparing and calculating the current test items of the local laboratory with the CNAS standard test item list to obtain the comparison matching degree and parameter difference includes:

[0018] Extract the text content and parameters to be compared from the current test items of the local laboratory and the CNAS standard test item list, respectively;

[0019] The comparison matching degree is calculated based on the text content to be compared, and the parameter difference is calculated based on the comparison parameters.

[0020] Preferably, the verification result calculated based on the comparison matching degree, the parameter difference, and the preset weight is compared with a preset standard interval range to obtain the laboratory verification result, and then the process further includes:

[0021] The current test item and the special test item whose comparison matching degree is less than the matching threshold are subjected to a second comparison operation to obtain the defect detection result. The special test item includes the test item of the local laboratory that was missed, or the test item of the latest updated local laboratory.

[0022] The second aspect of this application provides a testing device for test items based on a CNAS testing laboratory, including:

[0023] The information crawling unit is used to crawl the web pages of testing and standard laboratories on the resource platform in real time using crawler technology, and obtain the CNAS standard test item list, which includes standard test items, text content and web page title;

[0024] The comparison calculation unit is used to compare and calculate the current test items of the local laboratory with the CNAS standard test item list to obtain the comparison matching degree and parameter difference.

[0025] The comparison and verification unit is used to compare the verification result calculated based on the comparison matching degree, the parameter difference, and the preset weight with a preset standard range to obtain the laboratory verification result. The calculation process of the verification result according to the preset weight is as follows:

[0026]

[0027] in, For test item categories, This represents the test items under each category. This indicates the first item in the CNAS test item set. The y-th test item in the category, The first one extracted from the test items of the local laboratory The y-th text content in the category; , , The weighting ratio of the test items, i.e., the preset weights. This indicates the text content matching degree of the corresponding test item. This represents the parameter difference for the corresponding test item. For the interval range corresponding to the test item, that is, the preset standard interval range, if:

[0028]

[0029] The calculation results are located at If the result falls within the specified range, it indicates that the local laboratory test item meets the requirements; otherwise, it does not.

[0030] Preferably, the information crawling unit is specifically used for:

[0031] The web crawler technology is used to crawl the web pages of testing and standard laboratories on the resource platform in real time to obtain the initial CNAS web page, which includes an initial title and initial content.

[0032] Based on title matching degree and content difference degree, the initial title and the initial content are subjected to redundancy filtering processing according to title keywords and content attributes respectively to obtain web page title and text content;

[0033] A list of CNAS standard test items is constructed based on the standard test items in the initial CNAS webpage, the webpage title, and the text content.

[0034] Preferably, the comparison calculation unit is specifically used for:

[0035] Extract the text content and parameters to be compared from the current test items of the local laboratory and the CNAS standard test item list, respectively;

[0036] The comparison matching degree is calculated based on the text content to be compared, and the parameter difference is calculated based on the comparison parameters.

[0037] Preferably, it further includes:

[0038] The defect detection unit is used to perform a secondary comparison operation on the current test item and the special test item whose comparison matching degree is less than the matching threshold, respectively, to obtain the defect detection result. The special test item includes the test item of the local laboratory that was missed, or the test item of the local laboratory that was recently updated.

[0039] The third aspect of this application provides a test item testing device based on a CNAS testing laboratory, the device including a processor and a memory;

[0040] The memory is used to store program code and transmit the program code to the processor;

[0041] The processor is used to execute the test item testing method based on the CNAS testing laboratory as described in the first aspect, according to the instructions in the program code.

[0042] The fourth aspect of this application provides a computer-readable storage medium for storing program code for executing the test item testing method based on the CNAS testing laboratory described in the first aspect.

[0043] As can be seen from the above technical solutions, the embodiments of this application have the following advantages:

[0044] This application provides a testing method for test items based on CNAS testing laboratories, including: using web crawling technology to crawl the web pages of testing and standard laboratories on a resource platform in real time, and obtaining a list of CNAS standard test items, which includes standard test items, text content, and web page titles; comparing and calculating the current test items of the local laboratory with the list of CNAS standard test items to obtain the comparison matching degree and parameter difference; and comparing the verification results calculated based on the comparison matching degree, parameter difference, and preset weights with a preset standard range to obtain the laboratory verification results.

[0045] The testing method based on CNAS testing laboratories provided in this application uses the test items of CNAS testing laboratories as a benchmark, directly comparing and verifying the current test items of local laboratories to obtain the comparison matching degree and parameter difference. Then, the laboratory capability is verified according to a preset standard range. While ensuring the reliability of the CNAS testing laboratory benchmark, the direct comparison and verification of each test item also allows for faster verification results, shortening the testing cycle and ensuring the accuracy of the test results to a certain extent. Therefore, this application solves the technical problems of excessively long testing cycles and the inability to guarantee the accuracy of test results in existing technologies. Attached Figure Description

[0046] Figure 1 A schematic flowchart illustrating the testing method for test items based on a CNAS testing laboratory, provided in this application embodiment;

[0047] Figure 2 A schematic diagram of the structure of the test item testing device based on the CNAS testing laboratory provided in the embodiments of this application;

[0048] Figure 3 A schematic diagram of the test item testing system based on a CNAS testing laboratory, provided as an application example of this application. Detailed Implementation

[0049] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.

[0050] For easier understanding, please refer to Figure 1 The embodiments of the test item testing methods based on CNAS testing laboratories provided in this application include:

[0051] Step 101: Use web crawling technology to capture the web pages of testing and standard laboratories on the resource platform in real time, and obtain the list of CNAS standard test items. The list of CNAS standard test items includes standard test items, text content and web page title.

[0052] Further, step 101 includes:

[0053] The web crawler technology is used to capture the web pages of testing and standard laboratories on the resource platform in real time to obtain the initial CNAS web page, which includes the initial title and initial content.

[0054] Based on title matching degree and content difference degree, the initial title and initial content are redundancy-filtered according to title keywords and content attributes respectively to obtain the web page title and text content;

[0055] Construct a list of CNAS standard test items based on the standard test items, page title, and text content in the initial CNAS webpage.

[0056] It should be noted that CNAS specifically tests the following items: accredited laboratory key locations, accredited authorized signatories and fields, accredited testing capabilities, accredited "Energy Star" testing capabilities, accredited calibration and measurement capabilities, and accredited laboratory judgment criteria.

[0057] Using web crawling technology, the web pages of accredited testing and calibration laboratories and accredited inspection bodies under the China Proficiency Testing Resource Platform were used as the starting point. Then, a traversal web content extraction was performed according to the crawling framework. Initially, the web page title, subtitles, tags, text content within tags, document information, images, and tables were extracted. The extracted title, subtitles, text content, and document information were used as feature information to be processed.

[0058] It should be noted that the web crawling technology used in this embodiment for traversal web content extraction means that the content of the title page and the pages contained in the subheadings under the title of the current webpage must be extracted; the main content information includes the webpage content summary, metadata description information, text description of the webpage content, keywords and other relevant main content information; the webpage document information refers to the documents in the current webpage in formats such as pdf, doc, excel, etc., which include the document type, name, size, creation time, modification time, crawling time and other relevant attribute information.

[0059] To ensure the completeness of the crawled information, the above traversal crawling operation is often performed multiple times. In order to reduce the redundancy of the crawled information, this embodiment needs to perform a redundancy filtering operation on the crawled information. This mainly involves analyzing the similarity or similarity of the title and text content based on the title matching degree and content difference degree, and merging or normalizing the two types of information with high similarity, thereby improving the accuracy and reliability of the information.

[0060] Initial CNAS webpage-related information was obtained by extracting content from web pages using web crawling technology. , ,in, This indicates the title information of the webpage; These represent the subheading information of the webpage, which together serve as the initial title; This indicates the main content of the webpage; The webpage document information represents the webpage and together they form the initial content.

[0061] First, we can define the set of titles crawled from the webpage content as follows: ,in, The number of page titles. Indicates the first The first heading defines the page content. The set of subheadings under each heading is ,in, For the first The number of subheadings under each heading. Indicates the first The first subheading defines the first element crawled from the webpage content. The first in the title The collection of webpage content under each subheading is ,in, The number of content elements in the main body of the webpage. No. The first title The first under each subheading Each webpage content element.

[0062] Secondly, TF-IDF technology crawls the set of titles from web page content. Extract keywords from each title element to obtain the corresponding keyword set. ,in, The number of keywords in each title.

[0063] After deleting and integrating all child elements in the keyword set, the set of all keywords in the title crawled from the webpage content is obtained. Where n represents the total number of keywords, Let represent the nth keyword. For the keyword set, calculate the keyword match between the first and second titles:

[0064]

[0065] in, The i-th keyword in the first subset of the keyword set and The j-th keyword The relevance, i.e. the matching degree; and:

[0066]

[0067] in, This represents the path length between the two keywords in the semantic primitive hierarchy. It is an adjustable parameter; Represents the calculation of keyword set The relevance of the keywords in the first subset to the keyword elements in the keyword set KW is greater than 1%. The position, that is:

[0068]

[0069] in, express Each keyword in the text has a relevance greater than KW. The number of keywords, the relevance of keywords in the second subset to keywords in the keyword set KW is greater than 100%. The position, that is:

[0070]

[0071] Among them, it means express Each keyword in the text has a relevance greater than KW. The number of keywords indicates a higher relevance than The number of keywords.

[0072] Normalizing the calculated title matching score yields a range. Title matching degree, for setting a threshold If the title matches If the two headings are similar or identical, they can be combined into one. If the two headings are inconsistent, they are two independent headings.

[0073] Next, the web page document in the initial content... Perform the following processing:

[0074] The set of document content under the n2nd subheading of the n1st heading obtained from the webpage content is: Where m represents the total number of documents on the page. This represents the m-th document, which contains information such as document type, name, size, creation time, modification time, crawling time, and other relevant attributes. VBA technology is used to retrieve all information attributes of each document in the document content set, resulting in an attribute information set.

[0075]

[0076] in, This represents all attributes contained in the m-th document. This represents the number of information attributes in the m documents within the document content set. (Calculation and...) and The difference score is used to represent the similarity between two documents. Its value ranges from 0 to 1. When the difference score is 1, it means the two documents are completely different. The smaller the difference score, the closer the two documents are. The specific process is as follows:

[0077] The document attributes of the two documents include type, name, size, creation time, modification time, crawling time, and other relevant attribute information;

[0078] The two documents are judged based on the type attribute in the extracted attribute information set. If the two documents have different type attributes, the difference between the two documents is 1, and the judgment process ends.

[0079] If the two documents are of the same type, they are distinguished based on the name attribute in the extracted attribute information set. The matching degree calculation method for webpage titles in this embodiment is used to compare the name attributes of the two documents to obtain the matching degree (Match). If the two documents match perfectly in terms of name attributes, the difference between them is 1, and the discrimination process ends.

[0080] If the calculated matching degree If the document names do not match completely, it indicates that the two documents' attributes do not match. Therefore, a determination is made based on the size, creation time, modification time, and crawling time from the extracted attribute information set. If {size} =size & Creation Time =Creation Time &Modified Time =Modified Time If}=1, it means the difference between the two documents is 1, and the discrimination process ends;

[0081] If {size =size & Creation Time =Creation Time &Modified Time =Modified Time If}≠1, then the comparison of the content of the two documents is used for judgment. Specifically, the content of the two documents is first automatically identified and extracted, and keywords are extracted from the extracted content. The keyword matching degree of the two documents is calculated using the webpage title matching degree calculation method in this embodiment. If If the content of the two documents is completely inconsistent, the comparison process will end. If they are consistent, the comparison will end. If they are inconsistent, the comparison will end. If they are inconsistent, the comparison will end. If they are inconsistent, the comparison will end. If they are completely inconsistent, the comparison will end.

[0082] Based on the above operations, a CNAS standard test item list is generated for subsequent comparison and verification, enabling the testing of test items in the local laboratory. The accuracy and completeness of the crawled data further ensure the reliability of the CNAS standard test item list; therefore, the verification results based on this list are more stable and reliable.

[0083] Step 102: Compare and calculate the current test items of the local laboratory with the CNAS standard test item list to obtain the comparison matching degree and parameter difference.

[0084] Further, step 102 includes:

[0085] Extract the text content and parameters to be compared from the current test items of the local laboratory and the list of CNAS standard test items, respectively;

[0086] The comparison matching degree is calculated based on the content of the text to be compared, and the parameter difference is calculated based on the parameters to be compared.

[0087] The text content to be compared and the comparison parameters extracted from the current test item and the CNAS standard test item list can be expressed as follows:

[0088]

[0089] Where M is the set of CNAS test items crawled, and , The total number of categories in the test item set. For the first A subset of class test items, and Let s be the s-th test item in the subset of test items of type k. Let B be the set of all test items in the local laboratory. ,in, ; , These represent the text content extracted from the CNAS test item set and the local laboratory test items, respectively. W is the preset weight of each test item in the detection process, and O is the set of preset standard intervals. To compare or verify the result values.

[0090] Comparing text content allows us to calculate the degree of relevance between the content, i.e., the comparison matching degree; comparing parameters allows us to calculate the difference between the two parameters, i.e., the parameter difference.

[0091] Step 103: Compare the verification results calculated based on the comparison matching degree, parameter difference and preset weight with the preset standard interval range to obtain the laboratory verification results.

[0092] Based on the above calculation results, the verification results can be calculated using preset weights:

[0093]

[0094] in, For test item categories, This represents the test items under each category, for example This indicates the first item in the CNAS test item set. The y-th test item in the category, The first one extracted from the test items of the local laboratory The y-th text content in the category; , , The weighting ratio of the test items. This indicates the text content matching degree of the corresponding test item. This represents the parameter difference for the corresponding test item. For the interval range of the corresponding test item, if:

[0095]

[0096] The calculation results are located at If the result falls within the specified range, it indicates that the local laboratory test item meets the requirements; otherwise, it does not.

[0097] In addition, the ability to calculate local test items can be calculated based on the calculated verification results:

[0098]

[0099] The capability calculation for the test item under the xth category of the laboratory is as follows:

[0100]

[0101] The capability calculation for all laboratory test items is as follows:

[0102]

[0103] Furthermore, step 103, followed by:

[0104] The current test item and special test items with a matching degree less than the matching threshold are compared twice to obtain the defect detection results.

[0105] It should be noted that, to avoid omissions or false positives during the testing process, this embodiment can perform a second comparison and verification test on certain special test items, such as those with low matching scores that have already been tested, omissions from the local laboratory, or the latest updated test items from the local laboratory. The comparison and verification process is as described above and will not be repeated here. The matching threshold can be set according to the actual situation, as long as it is reasonable, and is not limited here.

[0106] This embodiment uses a gap-filling approach to test all test items in the local laboratory one by one, and can also obtain the capability values ​​of the test items, which can meet the various needs of the current test item testing, and can produce results in a timely manner, ensuring testing efficiency.

[0107] This application provides a system that applies the method of this embodiment. Please refer to [link / reference needed]. Figure 3The system includes a crawling module 10, a splitting module 20, a comparison module 30, and a leak detection module 40. First, the crawling module crawls the web pages of testing and calibration laboratories on the China Proficiency Testing Resource Platform to obtain the latest test items for testing laboratories listed in CNAS. Then, the splitting module splits the obtained test items to obtain a classification list. Next, the comparison module compares all test items in the laboratory system locally with the latest test item classification list to analyze whether the testing laboratory meets the CNAS-based testing requirements and obtains the matching degree between the test items and the testing requirements. Finally, the leak detection module re-compares the test items with low matching degrees, missed test items, and real-time updated test items from the comparison module, realizing CNAS-based testing of the laboratory and further verifying the laboratory's capabilities.

[0108] Furthermore, the testing items for high-voltage switches and DC power supplies within the CNAS-accredited testing capabilities specifically include: high-voltage electrical appliances: AC voltage testing, lightning impulse voltage testing, partial discharge measurement, enclosure protection rating (IP code), electrical equipment enclosure protection rating against external mechanical impact (IK code), low temperature and high temperature testing; high-voltage AC circuit breakers and their components: all parameters; high-voltage AC load switches: all parameters; high-voltage disconnect switches and grounding switches: all parameters; etc. Each item / parameter includes relevant documents for the corresponding testing methods / standards.

[0109] The testing method based on CNAS testing laboratories provided in this application uses the test items of CNAS testing laboratories as a benchmark to directly compare and verify the current test items of the local laboratory, obtaining the comparison matching degree and parameter difference respectively. Then, the laboratory capability is verified according to a preset standard range. While ensuring the reliability of the CNAS testing laboratory benchmark, the method of directly comparing and verifying each test item can also obtain verification results quickly, shortening the testing time cycle and ensuring the accuracy of the test results to a certain extent. Therefore, this application embodiment can solve the technical problems of excessively long testing time cycles and inability to guarantee the accuracy of test results in existing technologies.

[0110] For easier understanding, please refer to Figure 2 This application provides an embodiment of a test item testing device based on a CNAS testing laboratory, including:

[0111] The information crawling unit 201 is used to crawl the web pages of testing and standard laboratories on the resource platform in real time using crawling technology, and obtain the CNAS standard test item list, which includes standard test items, text content and web page title;

[0112] The comparison calculation unit 202 is used to compare and calculate the current test items of the local laboratory with the CNAS standard test item list to obtain the comparison matching degree and parameter difference.

[0113] The comparison and verification unit 203 is used to compare the verification result calculated based on the comparison matching degree, parameter difference, and preset weight with the preset standard range to obtain the laboratory verification result. The calculation process of the verification result according to the preset weight is as follows:

[0114]

[0115] in, For test item categories, This represents the test items under each category. This indicates the first item in the CNAS test item set. The y-th test item in the category, The first one extracted from the test items of the local laboratory The y-th text content in the category; , , The weighting ratio of the test items, i.e., the preset weights. This indicates the text content matching degree of the corresponding test item. This represents the parameter difference for the corresponding test item. For the interval range corresponding to the test item, that is, the preset standard interval range, if:

[0116]

[0117] The calculation results are located at If the result falls within the specified range, it indicates that the local laboratory test item meets the requirements; otherwise, it does not.

[0118] Furthermore, the information crawling unit 201 is specifically used for:

[0119] The web crawler technology is used to capture the web pages of testing and standard laboratories on the resource platform in real time to obtain the initial CNAS web page, which includes the initial title and initial content.

[0120] Based on title matching degree and content difference degree, the initial title and initial content are redundancy-filtered according to title keywords and content attributes respectively to obtain the web page title and text content;

[0121] Construct a list of CNAS standard test items based on the standard test items, page title, and text content in the initial CNAS webpage.

[0122] Furthermore, the comparison calculation unit 202 is specifically used for:

[0123] Extract the text content and parameters to be compared from the current test items of the local laboratory and the list of CNAS standard test items, respectively;

[0124] The comparison matching degree is calculated based on the content of the text to be compared, and the parameter difference is calculated based on the parameters to be compared.

[0125] Furthermore, it also includes:

[0126] The defect detection unit 204 is used to perform secondary comparison operations on the current test items and special test items whose comparison matching degree is less than the matching threshold, respectively, to obtain the defect detection results. The special test items include the missing test items of the local laboratory or the latest updated test items of the local laboratory.

[0127] This application also provides a test item testing device based on a CNAS testing laboratory, characterized in that the device includes a processor and a memory;

[0128] The memory is used to store program code and transfer the program code to the processor;

[0129] The processor is used to execute the test item testing method based on the CNAS testing laboratory in the above method embodiment according to the instructions in the program code.

[0130] This application also provides a computer-readable storage medium for storing program code for executing the test item testing method based on the CNAS testing laboratory in the above method embodiments.

[0131] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

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

[0133] Furthermore, the functional units in the various embodiments of this 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 integrated unit can be implemented in hardware or as a software functional unit.

[0134] If the integrated unit is implemented as 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 technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for executing all or part of the steps of the methods described in the various embodiments of this application through a computer device (which may be a personal computer, server, or network device, etc.). The aforementioned storage medium includes: USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media capable of storing program code.

[0135] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A testing method for test items based on a CNAS testing laboratory, characterized in that, include: The web crawler technology is used to crawl the web pages of testing and standard laboratories on the resource platform in real time and obtain the list of CNAS standard test items. The list of CNAS standard test items includes standard test items, text content and web page title. The local laboratory's current test items are compared and calculated with the CNAS standard test item list to obtain the comparison matching degree and parameter difference; The verification results calculated based on the comparison matching degree, the parameter difference, and the preset weight are compared with the preset standard interval range to obtain the laboratory verification results. The calculation process of the verification results according to the preset weight is as follows: in, For test item categories, This represents the test items under each category. This indicates the first item in the CNAS test item set. The y-th test item in the category, The first one extracted from the test items of the local laboratory The y-th text content in the category; , , Let be the total number of categories in the test item set, and s be the s-th test item in the subset of the k-th category. The weighting ratio of the test items, i.e., the preset weights. This indicates the text content matching degree of the corresponding test item. This represents the parameter difference for the corresponding test item. For the interval range corresponding to the test item, that is, the preset standard interval range, if: The calculation results are located at If the result falls within the specified range, it indicates that the local laboratory test item meets the requirements; otherwise, it does not.

2. The test item testing method based on a CNAS testing laboratory according to claim 1, characterized in that, The method employs web crawling technology to retrieve real-time web pages of testing and standard laboratories from resource platforms and obtains a list of CNAS standard test items, including: The web crawler technology is used to crawl the web pages of testing and standard laboratories on the resource platform in real time to obtain the initial CNAS web page, which includes an initial title and initial content. Based on title matching degree and content difference degree, the initial title and the initial content are subjected to redundancy filtering processing according to title keywords and content attributes respectively to obtain web page title and text content; A list of CNAS standard test items is constructed based on the standard test items in the initial CNAS webpage, the webpage title, and the text content.

3. The test item testing method based on a CNAS testing laboratory according to claim 1, characterized in that, The step of comparing and calculating the current test items of the local laboratory with the CNAS standard test item list to obtain the comparison matching degree and parameter difference includes: Extract the text content and parameters to be compared from the current test items of the local laboratory and the CNAS standard test item list, respectively; The comparison matching degree is calculated based on the text content to be compared, and the parameter difference is calculated based on the comparison parameters.

4. The test item testing method based on a CNAS testing laboratory according to claim 1, characterized in that, The verification result calculated based on the comparison matching degree, the parameter difference, and the preset weight is compared with the preset standard interval range to obtain the laboratory verification result, and then the process further includes: The current test item and the special test item whose comparison matching degree is less than the matching threshold are subjected to a second comparison operation to obtain the defect detection result. The special test item includes the test item of the local laboratory that was missed, or the test item of the latest updated local laboratory.

5. A testing device for test items based on a CNAS testing laboratory, characterized in that, include: The information crawling unit is used to crawl the web pages of testing and standard laboratories on the resource platform in real time using crawler technology, and obtain the CNAS standard test item list, which includes standard test items, text content and web page title; The comparison calculation unit is used to compare and calculate the current test items of the local laboratory with the CNAS standard test item list to obtain the comparison matching degree and parameter difference. The comparison and verification unit is used to compare the verification result calculated based on the comparison matching degree, the parameter difference, and the preset weight with a preset standard range to obtain the laboratory verification result. The calculation process of the verification result according to the preset weight is as follows: in, For test item categories, This represents the test items under each category. This indicates the first item in the CNAS test item set. The y-th test item in the category, The first one extracted from the test items of the local laboratory The y-th text content in the category; , , Let be the total number of categories in the test item set, and s be the s-th test item in the subset of the k-th category. The weighting ratio of the test items, i.e., the preset weights. This indicates the text content matching degree of the corresponding test item. This represents the parameter difference for the corresponding test item. For the interval range corresponding to the test item, that is, the preset standard interval range, if: The calculation results are located at If the result falls within the specified range, it indicates that the local laboratory test item meets the requirements; otherwise, it does not.

6. The test item testing device based on a CNAS testing laboratory according to claim 5, characterized in that, The information crawling unit is specifically used for: The web crawler technology is used to crawl the web pages of testing and standard laboratories on the resource platform in real time to obtain the initial CNAS web page, which includes an initial title and initial content. Based on title matching degree and content difference degree, the initial title and the initial content are subjected to redundancy filtering processing according to title keywords and content attributes respectively to obtain web page title and text content; A list of CNAS standard test items is constructed based on the standard test items in the initial CNAS webpage, the webpage title, and the text content.

7. The test item testing device based on a CNAS testing laboratory according to claim 5, characterized in that, The comparison calculation unit is specifically used for: Extract the text content and parameters to be compared from the current test items of the local laboratory and the CNAS standard test item list, respectively; The comparison matching degree is calculated based on the text content to be compared, and the parameter difference is calculated based on the comparison parameters.

8. The test item testing device based on a CNAS testing laboratory according to claim 5, characterized in that, Also includes: The defect detection unit is used to perform a secondary comparison operation on the current test item and the special test item whose comparison matching degree is less than the matching threshold, respectively, to obtain the defect detection result. The special test item includes the test item of the local laboratory that was missed, or the test item of the local laboratory that was recently updated.

9. Testing equipment for test items based on CNAS testing laboratories, characterized in that, The device includes a processor and a memory; The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the test item testing method based on any one of claims 1-4 according to the instructions in the program code.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store program code for executing the test item testing method based on the CNAS testing laboratory as described in any one of claims 1-4.

Citation Information

Patent Citations

  • Self-expansion topic crawler implementation method based on topic words

    CN114911998A

  • Search server and search method

    US20150269268A1