Nuclear power spare part data effective detection method and device and computer equipment
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-28
- Publication Date
- 2026-08-11
AI Technical Summary
[0004]该方式虽然能够完成核电备件数据的检测,但人工核查有效性通常与核查人员的工作经验有关,具有较强的不确定性,因此,存在检测不准确的问题
[0057]The aforementioned method, apparatus, and computer equipment for validly detecting nuclear power spare parts data comprehensively understand the spare parts status by including descriptive fields under multiple target dimensions. For descriptive fields under different target dimensions, the first error identifier for each descriptive field under a target dimension is determined based on its correlation with descriptive fields under other dimensions, thereby accurately locating correlation errors between descriptive fields. Based on each descriptive field and its corresponding first error identifier, the correlation validity detection results for nuclear power spare parts are determined. This helps to promptly and accurately identify problems in the spare parts data, improve the accuracy and reliability of the spare parts data, and provide solid data support for the management, maintenance, and safe operation of nuclear power spare parts.
Smart Images

Figure CN120973794B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of nuclear power technology, and in particular to a method, apparatus and computer equipment for valid detection of nuclear power spare parts data. Background Technology
[0002] Nuclear power spare parts data refers to a collection of basic information related to materials used in nuclear power plants. This data contains multiple fields, each representing spare parts information across different dimensions. The fields within the nuclear power spare parts data can be generated automatically by the system, generated based on specified data configurations, or input by the user. Due to the logical relationships between different fields in the nuclear power spare parts data, data entry errors may occur between the generated fields.
[0003] In traditional technology, after generating nuclear power spare parts data, it is necessary to manually check the content of different fields in the nuclear power spare parts data, as well as the logical relationships between the fields, to ensure the correctness of the nuclear power spare parts data.
[0004] While this method can complete the detection of nuclear power spare parts data, the effectiveness of manual verification is usually related to the work experience of the verifiers and has a high degree of uncertainty. Therefore, there is a problem of inaccurate detection. Summary of the Invention
[0005] Therefore, it is necessary to provide a method, apparatus, and computer equipment for effectively detecting nuclear power spare parts data, which can accurately detect nuclear power spare parts data, in response to the above-mentioned technical problems.
[0006] Firstly, this application provides a method for valid detection of nuclear power spare parts data, including:
[0007] Obtain spare parts data for nuclear power spare parts; the spare parts data includes at least one description field under the target dimension; the description field is used to describe the spare parts information of nuclear power spare parts under the target dimension;
[0008] For each target dimension's description field, the first error flag for the description field under the target dimension is determined based on the correlation between the description field under the target dimension and the description fields under other dimensions; the other dimensions are those that have not undergone correlation detection with the description fields under the target dimension.
[0009] Based on each description field and the first error identifier of the corresponding description field, determine the correlation validity test results of nuclear power spare parts.
[0010] In one embodiment, a first error identifier for the description field under the target dimension is determined based on the association between the description field under the target dimension and the description fields under other dimensions, including:
[0011] Based on the preset association criteria, the association conflict of the description fields under the target dimension is determined according to the relationship between the description fields under the target dimension and the description fields under other dimensions. The association conflict is when there is a situation where the description fields under the target dimension do not conform to the preset association criteria.
[0012] In the event of a conflict of association in the description field under the target dimension, the first error identifier of the description field is determined based on the dimension identifier of the target dimension and the number of conflicts that occur under the target dimension.
[0013] In one embodiment, the target dimension includes a state dimension and a description dimension, and the method further includes:
[0014] For each target dimension, determine the complete details of the description field.
[0015] Assuming all description fields under all target dimensions are complete, determine the cases where the description field under the state dimension is the same as the state standard field, and the cases where the description field under the description dimension is the same as the description standard field.
[0016] When the conditions and descriptions are the same and the preset error conditions are met, a second error identifier for the nuclear power spare parts is determined; the second error identifier is used to determine the validity test result of the preset condition of the nuclear power spare parts.
[0017] The preset error conditions include at least one of the following:
[0018] The same state is considered different, but the same description is considered the same;
[0019] The same state is considered the same, but the same description is considered different;
[0020] The same state is considered different, and the same description is also considered different.
[0021] In one embodiment, the method further includes:
[0022] If the description field under any target dimension is incomplete, determine the supplementary field information for nuclear power spare parts; the supplementary field information is used to describe the missing field content in the description field;
[0023] All description fields under all target dimensions are complete. In the case that the description field of the status dimension is obsolete or obsolete, a third error identifier for the spare part is determined, and a description field of the alternative dimension is added. The description field of the alternative dimension is a preset description field. The third error identifier is used to determine the specific standard validity test result of the nuclear power spare part.
[0024] In one embodiment, the description dimension further includes a first language description dimension and a second language description dimension; both the first language description dimension and the second language description dimension are used to describe nuclear power spare parts, and the first language description dimension and the second language description dimension use different languages. The method further includes:
[0025] If all description fields under all target dimensions are complete, find the first language description field that is the same as the description field under the first language description dimension from the preset first language description library;
[0026] If the first language description field exists, find the second language description field that has a preset mapping relationship with the first language description field from the preset second language description library;
[0027] When the second language description field and the description field under the second language description dimension are different, a fourth error identifier for nuclear power spare parts is determined, and the second language description field is used as a candidate language field to replace the description field under the second language description dimension; the fourth error identifier is used to determine the name validity detection result of nuclear power spare parts under different language description dimensions.
[0028] In one embodiment, the target dimension further includes an identifiable source dimension and an unidentifiable source dimension, and the method further includes:
[0029] If the description field under the unidentified source dimension is not empty, and the description field under the identified source dimension is empty, search for the source field that is the same as the description field under the unidentified source dimension from the preset source field library;
[0030] In the absence of a source field identical to the description field under the unidentified source dimension, a fifth error identifier is determined for the nuclear power spare parts; the fifth error identifier is used to determine the source validity test result of the nuclear power spare parts.
[0031] In one embodiment, the method further includes:
[0032] If the description field under the unidentified source dimension is empty, and the description field under the identified source dimension is not empty, search the preset source field library for a source field that contains the description field under the identified source dimension; the source field library includes at least one source field.
[0033] In the case where there is a source field that is the same as the description field under the identified source dimension, the sixth error identifier of the nuclear power spare part is determined, and the source field is used as the target field; the sixth error identifier is used to characterize the detection error result that the nuclear power spare part still has a non-unique source when the source is valid;
[0034] For each target field, the source matching degree of the target field is determined based on the ranking of the number of spare parts in the same series and the ranking of the number of spare parts in the same category.
[0035] The target field with the highest source match is used as the candidate source field to replace the description field under the identified source dimension.
[0036] In one embodiment, the target dimension further includes a material dimension; the description field under the material dimension includes a prefix subfield; the method further includes:
[0037] Determine the similarity between material fields and description fields under material dimensions in the preset standard material library;
[0038] Material fields whose similarity exceeds a preset similarity threshold are selected as standard fields;
[0039] For each standard field, the material matching degree between the standard field and the description field is determined based on the prefix subfield, the standard field length of the standard field, and the description field length of the description field under the material dimension.
[0040] If the material matching degree is greater than the preset matching threshold, the seventh error identifier of the nuclear power spare parts is determined, and the standard field with the highest material matching degree is used as the material candidate field to replace the description field under the material dimension; the seventh error identifier is used to determine the material validity test result of the nuclear power spare parts.
[0041] Secondly, this application also provides a nuclear power spare parts data validity detection device, comprising:
[0042] The data acquisition module is used to acquire spare parts data for nuclear power spare parts; the spare parts data includes at least one description field under the target dimension; the description field is used to describe the spare parts information of nuclear power spare parts under the target dimension;
[0043] The identifier determination module is used to determine the first error identifier of the description field under the target dimension based on the association relationship between the description field under the target dimension and the description fields under other dimensions for each target dimension; other dimensions are those dimensions that have not been associated with the description fields under the target dimension.
[0044] The validity detection module is used to determine the associated validity detection results of nuclear power spare parts based on each description field and the first error identifier of the corresponding description field.
[0045] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0046] Obtain spare parts data for nuclear power spare parts; the spare parts data includes at least one description field under the target dimension; the description field is used to describe the spare parts information of nuclear power spare parts under the target dimension;
[0047] For each target dimension's description field, the first error flag for the description field under the target dimension is determined based on the correlation between the description field under the target dimension and the description fields under other dimensions; the other dimensions are those that have not undergone correlation detection with the description fields under the target dimension.
[0048] Based on each description field and the first error identifier of the corresponding description field, determine the correlation validity test results of nuclear power spare parts.
[0049] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0050] Obtain spare parts data for nuclear power spare parts; the spare parts data includes at least one description field under the target dimension; the description field is used to describe the spare parts information of nuclear power spare parts under the target dimension;
[0051] For each target dimension's description field, the first error flag for the description field under the target dimension is determined based on the correlation between the description field under the target dimension and the description fields under other dimensions; the other dimensions are those that have not undergone correlation detection with the description fields under the target dimension.
[0052] Based on each description field and the first error identifier of the corresponding description field, determine the correlation validity test results of nuclear power spare parts.
[0053] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps:
[0054] Obtain spare parts data for nuclear power spare parts; the spare parts data includes at least one description field under the target dimension; the description field is used to describe the spare parts information of nuclear power spare parts under the target dimension;
[0055] For each target dimension's description field, the first error flag for the description field under the target dimension is determined based on the correlation between the description field under the target dimension and the description fields under other dimensions; the other dimensions are those that have not undergone correlation detection with the description fields under the target dimension.
[0056] Based on each description field and the first error identifier of the corresponding description field, determine the correlation validity test results of nuclear power spare parts.
[0057] The aforementioned method, apparatus, and computer equipment for validly detecting nuclear power spare parts data comprehensively understand the spare parts status by including descriptive fields under multiple target dimensions. For descriptive fields under different target dimensions, the first error identifier for each descriptive field under a target dimension is determined based on its correlation with descriptive fields under other dimensions, thereby accurately locating correlation errors between descriptive fields. Based on each descriptive field and its corresponding first error identifier, the correlation validity detection results for nuclear power spare parts are determined. This helps to promptly and accurately identify problems in the spare parts data, improve the accuracy and reliability of the spare parts data, and provide solid data support for the management, maintenance, and safe operation of nuclear power spare parts. Attached Figure Description
[0058] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0059] Figure 1 This embodiment provides an application environment diagram for a method for valid detection of nuclear power spare parts data.
[0060] Figure 2 A flowchart illustrating the first method for valid detection of nuclear power spare parts data provided in this embodiment;
[0061] Figure 3 This embodiment provides a flowchart illustrating a step for determining a second error identifier.
[0062] Figure 4 This embodiment provides a flowchart illustrating the step of determining a third error identifier.
[0063] Figure 5 This embodiment provides a flowchart illustrating the step of determining the fourth error identifier.
[0064] Figure 6 This embodiment provides a flowchart illustrating the step of determining the fifth error identifier.
[0065] Figure 7 This embodiment provides a flowchart illustrating the step of determining the seventh error identifier.
[0066] Figure 8 This embodiment provides a structural block diagram of a nuclear power spare parts data validity detection device.
[0067] Figure 9This is an internal structural diagram of a computer device provided in this embodiment. Detailed Implementation
[0068] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0069] The nuclear power spare parts data validity detection method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated on server 104 or placed on the cloud or other network servers. The computer device acquires spare parts data for nuclear power spare parts; the spare parts data includes at least one description field under a target dimension; the description field describes the spare parts information of the nuclear power spare parts under the target dimension; for each description field under the target dimension, based on the association relationship between the description field under the target dimension and description fields under other dimensions, a first error identifier for the description field under the target dimension is determined; other dimensions are dimensions that have not undergone association detection with the description fields under the target dimension; based on each description field and the corresponding first error identifier, the association validity detection result of the nuclear power spare parts is determined. The computer device can be either a terminal or a server. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can be smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. Portable wearable devices can be smartwatches, smart bracelets, head-mounted devices, etc. Server 104 can be implemented using a standalone server or a server cluster consisting of multiple servers.
[0070] In one exemplary embodiment, such as Figure 2 As shown, a method for valid detection of nuclear power spare parts data is provided, which is applied to... Figure 1 Taking a computer device as an example, the explanation includes the following steps S201 to S203. Wherein:
[0071] S201 obtains spare parts data for nuclear power spare parts.
[0072] The spare parts data includes at least one descriptive field under a target dimension. A target dimension can be understood as a specific attribute category dimension used to classify, refine, and system-organize nuclear power spare parts. The descriptive field describes the spare parts information of the nuclear power spare parts under the target dimension. For example, the spare parts data could be {target dimension: descriptive field}.
[0073] In some embodiments, for each nuclear power spare part, the spare part data stored locally for that nuclear power spare part is obtained. For example, spare parts data can be {"Material":"Basic Material (Material)","Lifetime":"Total Shelf Life","Inventory Unit":"Basic Unit of Measurement","Manufacturer Drawing Number":"Power Plant Manufacturer Drawing Number","Power Plant Drawing Number":"Power Plant Drawing","EOMM Manual Number":"EOMM Manual","Manufacturer Drawing Number":"Power Plant Manufacturer Drawing Number","Manufacturer Reference Number":"Manufacturer Part Number","Manufacturer":"Manufacturer","Storage Level":"Storage Conditions","Power Plant Using":"Plant","Importance Level":"Spare Part Criticality Classification","CCM Spare Part Reserve Inventory":"CCM Spare Part Reserve Inventory?"","CCM No Reserve Required Reason":"Reason for No Reserve Required","Storage Placement Method":"Storage Method","Batch Type":"Batch Size","Maximum Inventory":"Maximum Inventory Level","Fixed Batch":"Fixed Batch Size","Minimum Batch":"Minimum Batch Size","Is it nuclear grade":"Is it nuclear grade spare parts","Specific Plant Status":"Material status of specific plant"}.
[0074] S202 For each target dimension's description field, based on the association between the description field in the target dimension and description fields in other dimensions, determine the first error identifier for the description field in the target dimension.
[0075] Among these, "other dimensions" refers to dimensions for which no correlation check was performed with the description fields under the target dimension. The first error identifier indicates an error indicating a correlation between the description fields under the target dimension and the description fields under other dimensions.
[0076] In one optional embodiment, for each description field under the target dimension, it is determined whether the association between the description field under the target dimension and the description fields under other dimensions is correct; if the association between the description field under the target dimension and the description fields under other dimensions is correct, it is determined that there is no error in the description field under the target dimension; if the association between the description field under the target dimension and the description fields under other dimensions is incorrect, a first error identifier for the description field under the target dimension is determined.
[0077] In another optional embodiment, based on a preset association standard, the association conflict of the description field under the target dimension is determined according to the relationship between the description field under the target dimension and the description field under other dimensions; if there is an association conflict of the description field under the target dimension, a first error identifier of the description field is determined according to the dimension identifier of the target dimension and the number of association conflicts under the target dimension.
[0078] Among them, the association conflict situation is when there is a situation where the description field under the target dimension does not meet the preset association standard with the description field under other dimensions.
[0079] For example, it is determined whether the relationship between the description field under the target dimension and the description fields under other dimensions conforms to a preset association standard; if the relationship between the description field under the target dimension and the description fields under other dimensions conforms to the preset association standard, it is proven that the description field under the target dimension is correct; if the relationship between the description field under the target dimension and the description fields under other dimensions does not conform to the preset association standard, it is determined that there is an association conflict in the description field under the target dimension; for the description field with an association conflict, the dimension identifier of the target dimension and the number of conflicts in the target dimension are fused to obtain a fusion result; the fusion result is used as the first error identifier of the description field.
[0080] For example, in order to quickly locate the standardization status of the description field under the corresponding target dimension, the description field and the standardization requirements in the description field can be numbered and named as error ID, and represented by XXX-XX. The first three digits represent the corresponding description field, and the last two digits represent the error situation corresponding to the description field. For example, error ID 10202 means that the "quality grade" field (102) is wrong. The error reason (02, the second error ID of the description field) is: "Whether CCM" (field) is Y, and the quality grade is equal to C3 (that is, the quality grade of the nuclear power spare part is C3, whether CCM is Y, but based on the preset association standard, when whether CCM is Y, the quality grade cannot be C3, so the description field is determined to be wrong). In addition, some preset association standards can use data from the benchmark list (such as to determine whether the material information is standardized, it is necessary to read the standard material description list). The benchmark list data includes: supplier code and name, spare part classification relationship, invalid national / industry standards, standard spare part name, standard Chinese and English relationship, standard material, etc.
[0081] It should be noted that due to the large number of spare parts involved in nuclear power scenarios (hundreds of thousands), and the fact that dozens of fields in a single spare part's data involve associated standards (each field may have multiple associated standards, i.e., error IDs), to improve the execution speed of spare part association validity verification, batch processing can be prioritized for verification (unless batch processing is difficult). For example, when verifying the "quality grade" field, two verifications are required: 1) The quality grade can only be one of C1 / C2 / C3; 2) Whether the quality grade cannot be C3 when CCM is Y. Each verification is a batch process (batch processing corresponds to item-by-item processing; item-by-item processing means processing one row at a time, starting from the first row; batch processing means processing all tasks simultaneously. For example, to identify that a column of data in a table cannot be empty, item-by-item processing means searching from the first row downwards, marking empty data if found, until all searches are completed; batch processing means selecting the title bar, clicking filter, and filtering out blank data all at once). If a spare part with an associated error is found, the first error identifier for the nuclear power spare part is output.
[0082] It should be noted that, since newly entered nuclear power spare parts do not yet have a description field under the material number dimension during the batch coding process, the spare part code of the nuclear power spare parts is used for tracking. Its format is different from the 10 Arabic numerals of the material number. The interface program can map the spare part code to the material number.
[0083] S203 determines the association validity test results of nuclear power spare parts based on each description field and the first error identifier of the corresponding description field.
[0084] Among them, the correlation validity detection results can be sorted according to the error ID and material number corresponding to the description field, including information such as description field, error ID, ID description and remarks, so as to assist manual correction of spare parts data.
[0085] In some embodiments, for each description field, if a first error identifier exists in the description field, the description field and the first error identifier of the corresponding description field are concatenated to obtain a concatenation result; the concatenation result is used as the correlation validity detection result of the nuclear power spare parts.
[0086] The aforementioned method for validly detecting nuclear power spare parts data comprehensively understands the spare parts status by including descriptive fields under multiple target dimensions. For descriptive fields under different target dimensions, it determines the first error identifier of each descriptive field under the target dimension based on the correlation between the descriptive fields and descriptive fields under other dimensions, thereby accurately locating correlation errors between descriptive fields. Based on each descriptive field and its corresponding first error identifier, it determines the correlation validity detection results for nuclear power spare parts. This helps to promptly and accurately identify problems in the spare parts data, improves the accuracy and reliability of the spare parts data, and provides solid data support for the management, maintenance, and safe operation of nuclear power spare parts.
[0087] Figure 3 This is a flowchart illustrating the step of determining the second error identifier in one embodiment. The target dimensions in this embodiment include a state dimension and a description dimension. Based on this, this embodiment provides an optional method for determining the second error identifier, including the following steps:
[0088] S301 determines the complete details of the description field for each target dimension.
[0089] In some embodiments, for each target dimension's description field, it is determined whether the description field contains all the content of the fields to be validated; if yes, the description field is determined to be complete; if no, the description field is determined to be incomplete.
[0090] It should be noted that, after determining that the description field is incomplete, this embodiment can further output a reminder that the description field is incomplete, so as to prompt the user to complete the description field and then perform data verification again.
[0091] S302, assuming all description fields under all target dimensions are complete, determines the case where the description field under the state dimension is the same as the state standard field, and the case where the description field under the description dimension is the same as the description standard field.
[0092] The "Status Dimension" can be understood as the dimension representing the status of the nuclear power spare parts as described in the description field. Examples include whether it is radioactive, valid according to national standards, obsolete according to national standards, or obsolete according to national standards. The "Description Dimension" can be understood as the dimension used to describe the spare parts' status. For example, if the description field for the corresponding status dimension of a nuclear power spare part is "contains radioactivity," then the description field for that dimension can be the type of radioactive source and its description. The "Status Standard Field" can be understood as the description field under the corresponding status dimension of the nuclear power spare parts in the status standard list. The "Description Standard Field" can be understood as the description field under the corresponding description dimension of the nuclear power spare parts in the description standard field list. For example, if the nuclear power spare part is a national standard spare part, then the description field for that dimension can be the alternative standard number corresponding to the corresponding national standard status. For obsolete national standard spare parts, if the description field for the description dimension is "GB / T 5267.2-2017," then the alternative standard number corresponding to that description field is "GB / T 5267.2-2021." It should be noted that the substitution operation includes partial substitution and complete substitution, where "GB / T 5267.2-2021" is a complete replacement for "GB / T 5267.2-2017".
[0093] In some embodiments, it is determined whether the description field under the status dimension is consistent with the status standard field; if they are consistent, it is determined that the status of the description field under the status dimension and the status standard field are the same; if they are inconsistent, it is determined that the status of the description field under the status dimension and the status standard field are different. For example, if the status standard field of a nuclear power spare part is "obsolete", and the description field of the nuclear power spare part under the status dimension is "valid", then it is determined that the status of the description field under the status dimension and the status standard field are different.
[0094] In some embodiments, it is determined whether the description field under the description dimension is consistent with the description standard field; if they are consistent, it is determined that the description field under the description dimension and the description standard field are the same; if they are inconsistent, it is determined that the description field under the description dimension and the description standard field are different. For example, when the status standard field of a nuclear power spare part is "valid," the description standard field under the description dimension is determined to be GB / T 5267.2-2021; if the description field of the nuclear power spare part under the description dimension is GB / T 5267.2-2021, then it is determined that the status of the description field under the description dimension and the description standard field are different.
[0095] S303 determines the second error identifier for nuclear power spare parts when the conditions and descriptions are the same and the preset error conditions are met.
[0096] The second error identifier is used to determine the validity test result of the preset state of nuclear power spare parts. The preset error conditions include at least one of the following: the same state is different, but the same description is the same; the same state is the same, but the same description is different; the same state is different, and the same description is different.
[0097] In some embodiments, when the states are the same but the descriptions are different, or when the states are the same but the descriptions are different, it is determined that there is ambiguity between the description fields under the state dimension and the description fields under the description dimension. Therefore, it is determined that there is an error in the nuclear power spare part. When the states are the same but the descriptions are different, it is determined that the description fields under both the state description field and the description dimensions of the nuclear power spare part do not meet the standard and need to be re-entered. Therefore, it is determined that there is an error in the nuclear power spare part.
[0098] For example, in cases where the states are the same but the conditions are different (e.g., the description field under the state dimension is "valid" and the description standard field under the state dimension is "invalid"), but the descriptions are the same (e.g., the description field under the description dimension is "description number GB / T 5267.2-2021 corresponding to the valid state" and the description standard field under the description dimension is also "description number GB / T 5267.2-2021 corresponding to the valid state"), or in cases where the states are the same (e.g., the description field under the state dimension is "invalid" and the description standard field under the state dimension is "invalid"), but the descriptions are the same but the conditions are different (e.g., the description field under the description dimension is "description number GB / T 5267.2-2021 corresponding to the valid state" and the description standard field under the description dimension is also "description number GB / T 5267.2-2017 corresponding to the invalid state"), it is determined that there is ambiguity between the description fields under the state dimension and the description fields under the description dimension. Therefore, a second error identifier for the nuclear power spare parts is determined.
[0099] For example, if the states are the same but the conditions are different (e.g., the description field under the state dimension is "valid" and the description standard field under the state dimension is "invalid"), and the descriptions are the same but the conditions are different (e.g., the description field under the description dimension is "description number GB / T 5267.2-2021 corresponding to the valid state" and the description standard field under the description dimension is also "description number GB / T 5267.2-2017 corresponding to the invalid state"), it is determined that the nuclear power spare parts do not conform to the standards in both the state description field and the description field under the description dimension, and need to be re-entered. Therefore, it is determined that there is an error in the nuclear power spare parts.
[0100] It should be noted that this embodiment can further simplify the validity detection method of the description fields under the state dimension and description dimension to improve the efficiency of spare parts data validity detection. Specifically, the preset state validity detection result of the nuclear power spare parts is determined based on the consistency between the description fields under the state dimension and the description fields under the description dimension.
[0101] It should be noted that, taking nuclear power spare parts as an example of radioactive spare parts, the description fields under the state dimension and the description fields under the description dimension must maintain logical consistency. For example, if the description field under the state dimension is "radioactive exists", the description field under the description dimension must contain a description standard field (i.e., radioactive source). The description standard field can include: class source, exempt source, radioactive source, mixed source, neutron source, and RADIOACTIVE SOURCE.
[0102] Specifically, in this embodiment, if the description field in the status dimension is detected as "radioactivity exists", but the description field in the description dimension does not have a description standard field, a second error identifier can be output. At this time, the second error identifier may include "Error field: radioactivity exists", "Error ID: 19101", "ID description: The material description or purchase order text contains a radioactive description, whether it contains radioactivity is N", and "Remarks: Contains a description of a radioactive source, whether it contains radioactivity must be Y".
[0103] Specifically, in this embodiment, if the description field under the status dimension is detected as "no radioactivity", but the description field under the description dimension contains a description standard field, a second error identifier can also be output. In this case, the second error identifier may include "Error field: no radioactivity", "Error ID: 19102", "ID description: whether it has radioactivity is Y, the material description or purchase order text must contain a radioactive source description", and "Remarks: whether it has radioactivity is Y, it must contain a radioactive source description".
[0104] In the above embodiments, the completeness of the description fields under each target dimension is first determined to ensure the basic integrity of spare parts data and avoid subsequent analysis deviations due to missing information. Assuming all description fields are complete, the consistency between the fields under the status and description dimensions and their corresponding standard fields is further checked to accurately identify whether the spare parts status and description conform to specifications. Only when the same status and description meet preset error conditions is a second error identifier determined. The preset status validity detection result derived based on this can efficiently and accurately determine whether the nuclear power spare parts status is normal, providing a reliable guarantee for the reasonable use, maintenance management, and safe operation of nuclear power spare parts, and reducing safety risks and operating costs caused by abnormal spare parts status.
[0105] Figure 4This is a flowchart illustrating the step of determining the third error identifier in one embodiment. Based on the above embodiments, this embodiment provides an optional method for determining the third error identifier, including the following steps:
[0106] S401 determines supplementary information for nuclear power spare parts in cases where the description field under any target dimension is incomplete.
[0107] The supplementary information is used to describe any missing field content within a given field.
[0108] In some embodiments, if the description field under any target dimension is incomplete, a standard field matching the target dimension is selected from a preset verification table; and supplementary information for the nuclear power spare parts is determined based on the differences between the standard field and the description field.
[0109] It should be noted that if the description field under any target dimension is incomplete, supplementary data reminders corresponding to nuclear power spare parts can be output.
[0110] For example, if the nuclear power spare part is a radioactive spare part, a reminder can be output: "191 Radioactivity Field Validation Not Performed, {} Data Missing," where the {} contains supplementary information for the field. If the nuclear power spare part is a non-radioactive spare part, a reminder can be output: "101 Material Description (Chinese) Field Validation Not Performed, {} Data Missing," where the {} contains supplementary information for the field.
[0111] S402 ensures that the description fields under all target dimensions are complete, and that if the description field of the status dimension is obsolete or obsolete, a third error identifier for the spare part is determined, and a description field of the alternative dimension is added.
[0112] Among them, the description field of the alternative dimension is a preset description field; the third error identifier is used to determine the specific standard validity test results of nuclear power spare parts.
[0113] In some embodiments, if the description fields under all target dimensions are complete, and if the description field under the status dimension is obsolete or invalid, it is determined that there is an error in the status of the nuclear power spare part. Therefore, it is determined that there is a third error identifier for the nuclear power spare part, and a description field under the alternative dimension is added.
[0114] For example, when the nuclear power spare parts are national standard spare parts, their spare part data may include standard number, standard status, alternative standard, and alternative status. The status dimension is the standard status, and the description dimension is the standard number. If the standard status is obsolete or obsolete, a third error identifier is output. At this point, the third error identifier may include "Error Field: Material Description (Chinese)", "Error ID: 10101", "ID Description: The standard number in the material description (Chinese) has been invalidated or abolished", and "Remarks: Standard number is {a}, standard status is {b}, replacement standard is {c}, replacement status is {d}, please verify and modify.", where {a}, {d}, {c}, and {d} are the standard number, standard status, replacement standard, and replacement status data in the national standard spare parts database, respectively (for example, if the material description (Chinese) of a spare part contains "GB / T 5267.2-2017", then the remarks information is: standard number is GB / T 5267.2-2017, standard status is invalid, replacement standard is GB / T 5267.2-2021, replacement status is complete replacement, please verify and modify).
[0115] It should be noted that due to the large number of standards, exceeding 100,000 in total, to improve the efficiency of the model library operation, based on the characteristics of nuclear power spare parts, only the standards used in nuclear power spare parts can be extracted to establish a standard benchmark list. This involves extracting the standard information (standard numbers) contained in the current nuclear power spare parts database. For each extracted standard number X, the status of the standard is determined, and a standard database (benchmark list) is established accordingly: If the standard status is "obsolete," a new row is added to the standard database (benchmark list) with standard number X, standard status "obsolete," and the replacement standard and replacement status are empty; if the standard status is "invalid," a new row is added to the standard database (benchmark list) with standard number X, standard status "invalid," and the replacement standard and replacement status for X are found and added to the replacement standard and replacement status; if the standard status is "valid," it is checked whether a previous standard existed for standard number X (e.g., the previous standard for "GB / T 5267.2-2021" was "GB / T... If a standard prior to the replacement exists (e.g., 5267.2-2017), the status of that standard and its replacement status are searched, and a new row is added to the standard database (benchmark list). The standard number is the standard prior to the replacement, the standard status is the corresponding search information, the replacement standard is X, and the replacement status is the corresponding search information. If no standard prior to the replacement exists, no processing is performed (no need to add a new row to the standard database (benchmark list)).
[0116] It should be noted that, based on the above embodiments, since the established standard database (benchmark list) may contain duplicate rows, it is necessary to delete duplicate items, that is, delete duplicate row data in the standard database (benchmark list). For example, the master data of spare part 1 contains the information "GB / T 5267.2-2017", and the master data of spare part 2 contains the information "GB / T5267.2-2021". Based on the information of spare part 1, in scenario 2 of the above method, a new row of data is created in the standard database as "GB / T 5267.2-2017", "Obliterated", "GB / T 5267.2-2021", and "Complete Replacement"; based on the information of spare part 2, in scenario 3 of the above method, a new row of data is created in the standard database as "GB / T 5267.2-2017", "Obliterated", "GB / T5267.2-2021", and "Complete Replacement". Therefore, after establishing the standard database (benchmark list), if new data is added, a deduplication operation can be performed after the data addition is completed to delete duplicate rows in the list.
[0117] It should be noted that because the status of standards can change, the data in the benchmark list needs to be continuously updated. For example, if standard "GB / T 5267.2-2025" comes into effect in any year, the status of standard "GB / T 5267.2-2021" will become "obsolete". A new line of data needs to be added to the standard database (benchmark list): "GB / T 5267.2-2021", "obsolete", "GB / T 5267.2-2025", "completely replace". At the same time, the original data "GB / T 5267.2-2017", "obsolete", "GB / T 5267.2-2021", "completely replace" needs to be modified to: "GB / T 5267.2-2017", "obsolete", "GB / T 5267.2-2025", "completely replace".
[0118] In the above embodiments, when any target dimension description field is incomplete, supplementary information is determined to improve the spare parts data in a timely manner, avoiding the impact of incomplete information on subsequent management and usage decisions. When all description fields are complete and the status dimension is obsolete or invalid, a third error identifier is determined and a preset alternative dimension description field is added. This can accurately identify spare parts that do not meet specific standards, providing a clear basis for subsequent processing. It can also ensure data integrity and consistency through alternative fields, which helps maintain the standardization and effectiveness of the nuclear power spare parts data system and improve the overall quality and safety level of nuclear power spare parts management.
[0119] Figure 5This is a flowchart illustrating the step of determining the fourth error identifier in one embodiment. Based on the above embodiments, this embodiment further includes a first language description dimension and a second language description dimension. Both the first and second language description dimensions are used to describe nuclear power spare parts, and the languages used in the first and second language description dimensions are different. Therefore, this embodiment provides an optional method for determining the fourth error identifier, including the following steps:
[0120] S501 If the description fields under all target dimensions are complete, find the first language description field that is the same as the description field under the first language description dimension from the preset first language description library.
[0121] The first language description library can be understood as a database that stores the status of nuclear power spare parts described in the first language, such as a Chinese language description library. The first language description library includes both non-standard and standard spare part names for the corresponding nuclear power spare parts.
[0122] In some embodiments, if the description fields under all target dimensions are complete, the specification spare part name that is the same as the description field under the first language description dimension is found from the preset first language description library; and the specification spare part name is used as the first language description field.
[0123] It should be noted that if no standardized spare part name matching the description field under the first language description dimension is found in the preset first language description library, or if a non-standard spare part name matching the description field under the first language description dimension is found in the preset first language description library, it proves that there is an error in the description field under the first language description dimension for the nuclear power spare part. Therefore, a name error identifier can be further output. In this case, the name error identifier may include "Error Field: Material Description (Chinese)", "Error ID: 10102", "ID Description: The spare part name in the material description (Chinese) is non-standard", and "Remarks: The current spare part name is {a}, and the standardized spare part name is {b}. Please verify and modify.", where {a} and {b} are the spare part name in the "Material Description (Chinese)" and the standardized spare part name in the first language description library, respectively.
[0124] S502 If the first language description field exists, find the second language description field that has a preset mapping relationship with the first language description field from the preset second language description library.
[0125] The second language description library can be understood as a database storing the mapping relationship between the first language description fields and the second language description fields. The second language description fields can be understood as fields that describe the corresponding nuclear power spare parts in a language different from the first language, such as English description fields. It should be noted that since both "Material Description (Chinese)" and "Material Description (English)" are user-entered information, errors may occur when entering the English name of the spare part. For example, "Temperature Gauge" might be entered in "Material Description (Chinese)" and "Pressure Gauge" in "Material Description (English)". Since both "Temperature Gauge" and "Pressure Gauge" are standardized spare part names, the current standardization check method for the "Material Description (Chinese)" and "Material Description (English)" fields cannot identify such errors. Therefore, this embodiment establishes both a first language description library and a second language description library.
[0126] In some embodiments, if the first language description field exists, it proves that the spare part name of the nuclear power spare part in the first language is correct. Therefore, it is necessary to check whether the spare part name of the nuclear power spare part in the second language is also correct. Therefore, a description field with a preset mapping relationship with the first language description field is found from a preset second language description library; this description field is then used as the second language description field. For example, if the standard spare part name in Chinese exists, a standard spare part name (in English) with a preset mapping relationship with the standard spare part name (in Chinese) is found from a preset English description library.
[0127] S503 determines the fourth error identifier for nuclear power spare parts when the second language description field and the description field under the second language description dimension are different, and uses the second language description field as a candidate language field to replace the description field under the second language description dimension.
[0128] The fourth error identifier is used to determine the validity test results of the names of nuclear power spare parts under different language description dimensions.
[0129] In some embodiments, the cases where the second language description field and the description field under the second language description dimension are the same are determined; if the second language description field and the description field under the second language description dimension are the same, it is proven that the description fields of the nuclear power spare parts under the first language and the second language are both correct; if the second language description field and the description field under the second language description dimension are different, it is proven that the description field of the nuclear power spare parts under the second language is incorrect. Therefore, a fourth error identifier of the nuclear power spare parts is determined, and the second language description field is used as a language candidate field to replace the description field under the second language description dimension.
[0130] For example, the fourth error identifier may include "Error Field: Material Description (Chinese)", "Error ID: 10103", "ID Description: Spare part names in Material Description (Chinese) and Material Description (English) do not correspond", and "Remarks: The current spare part Chinese name is {a}, and the standard spare part Chinese name is {b}; the current spare part English name is {c}, and the standard spare part English name is {d}. Please verify and modify.", where {a}, {b}, {c}, and {d} are the spare part name in "Material Description (Chinese)", the standard spare part name (Chinese) in the first language description library, the spare part name in the second language description library, and the standard spare part name (English), respectively.
[0131] It should be noted that the standardized spare part names in the first language description library of this embodiment can be selected from a large number of potential spare part names based on expert experience. These potential spare part names consist of spare part names categorized into three levels and high-frequency spare part names from the database. After determining the standardized spare part names, text clustering methods are applied to calculate spare part names in the database that belong to the same category as the standardized spare part names. These are then treated as non-standard spare part names, and a mapping relationship between non-standard and standardized spare part names is established, thereby building the first language description library. To avoid omissions in clustering analysis, such as not including "O-ring" and "O-ring seal" in the same category, users can directly review spare part names of the same category to identify and fill any gaps. For example, if the standard spare part name is "O-ring seal", it accounts for 93% of the O-ring category (40204), 4% of the butterfly valve spare parts category (030602), and 3% of the other three-level categories. Therefore, the three-level category with the highest proportion is O-ring (40204). All spare parts lists of these three categories can be extracted and used as spare parts names of the same category.
[0132] For example, by applying clustering methods and combining expert experience, the non-standard spare parts names identified include: “O-ring”, “O-ring”, “O-ring”, “O-ring”, “O-ring”, “O-ring seal”, and “O-ring seal”. These names are mapped to the standard spare parts name “O-ring seal”, and a first language description library is jointly established.
[0133] In the above embodiments, based on the completeness of all target dimension description fields, the system first accurately searches for fields matching the description fields under the first language description dimension from the first language description library to ensure the accuracy of the basic language description. If a matching field exists, the corresponding field is then obtained from the second language description library using a preset mapping relationship to achieve cross-language correspondence. When the second language description field is inconsistent with the description field under the second language description dimension, a fourth error identifier is determined and a replacement candidate field is provided. This effectively detects the differences in the names of nuclear power spare parts under different language description dimensions, ensuring the standardization and consistency of spare part names in a multilingual environment. This provides strong support for the management, sharing, and accurate identification of nuclear power spare parts, and improves the level of refinement in nuclear power spare part management.
[0134] Figure 6 This is a flowchart illustrating the step of determining the fifth error identifier in one embodiment. The target dimension in this embodiment also includes a dimension with an identifier source and a dimension without an identifier source. Based on this, this embodiment provides an optional method for determining the fifth error identifier, including the following steps:
[0135] S601 If the description field under the unidentified source dimension is not empty, and the description field under the identified source dimension is empty, it searches for the same source field as the description field under the unidentified source dimension from the preset source field library.
[0136] The "unidentified source" dimension can be understood as indicating that the source of the nuclear power spare parts is not clearly identified; for example, the manufacturer or supplier of the nuclear power spare parts only has a name, without a clear code. The "identified source" dimension can be understood as indicating that the source of the nuclear power spare parts is clearly identified. The pre-defined source library can be understood as a database used to store identified sources and their corresponding source names.
[0137] In some embodiments, if the description field under the unidentified source dimension is not empty and the description field under the identified source dimension is empty, it proves that the nuclear power spare part is provided by a provider with an ambiguous identification. Therefore, it is necessary to search for a source field that is the same as the description field under the unidentified source dimension from the preset source field library.
[0138] It should be noted that when the description field under the unidentified source dimension is empty, but the description field under the identified source dimension is not empty, the source field containing the description field under the identified source dimension is searched from the preset source field library. The source field library includes at least one source field.
[0139] Specifically, if the description field under the unidentified source dimension is empty, but the description field under the identified source dimension is not empty, it proves that the nuclear power spare part was provided by a clearly identified provider. Therefore, a source field containing the description field under the identified source dimension can be searched from the preset source field library. It should be noted that if no source field exists that is identical to the description field under the identified source dimension, it proves that the nuclear power spare part originates from an identified source and there is no missing identification. Therefore, the description field of the nuclear power spare part under the identified source dimension is correct.
[0140] S602 determines the fifth error identifier for nuclear power spare parts in the absence of a source field that is identical to the description field under the unidentified source dimension.
[0141] The fifth error identifier is used to determine the source validity test results of nuclear power spare parts.
[0142] For example, in the absence of a source field identical to the description field under the unidentified source dimension, a fifth error identifier for the nuclear power spare part is determined. In this case, the fifth error identifier may include an error ID of 10501.
[0143] It should be noted that if the description field under the unidentified source dimension is not empty, and the description field under the identified source dimension is also not empty, a duplicate source identifier can be further output, i.e., the error ID is 10502.
[0144] S604 determines the sixth error identifier for nuclear power spare parts in the case where there is a source field that is the same as the description field under the identified source dimension, and uses the source field as the target field.
[0145] The sixth error identifier is used to characterize the detection error result that is not unique to nuclear power spare parts even when the source is valid.
[0146] In some embodiments, if a source field exists that is identical to the description field under the identified source dimension, it indicates that the source of the nuclear power spare part has been entered incorrectly. Therefore, a sixth error identifier for the nuclear power spare part is determined, and the source field is used as the target field. In this case, the sixth error identifier may include "Error ID: 10503" and "Note: The manufacturer name without code is XXXX, and its supplier code in the source field library is XXXXXX. Please verify and modify."
[0147] S605 determines the source matching degree of each target field based on its ranking in the quantity of spare parts in the same series and the quantity of spare parts in the same category.
[0148] In some embodiments, for each identifiable source, based on a fuzzy matching algorithm, the number of series of spare parts that are in the same series as the target field and the number of categories of spare parts that are in the same category as the target field are determined; the ranking of the number of series of spare parts in different identifiable sources is used as the ranking of the target field in the number of spare parts in the same series; the ranking of the number of categories of spare parts in different identifiable sources is used as the ranking of the target field in the number of spare parts in the same category; based on the ranking of the target field in the number of spare parts in the same series and the ranking of the target field in the number of spare parts in the same category, the source matching degree of the target field is determined by the following formula (1).
[0149] (1)
[0150] Where p represents the source matching degree of the target field, Ranked by the number of spare parts in the same series. The ranking coefficient for the quantity of spare parts in the same series (can be set to 0.5~1). Ranked by the number of spare parts in the same category. This is a ranking coefficient for the quantity of spare parts of the same category (it can be set from 0 to 0.5). .
[0151] It should be noted that if the number of matching results from the same series of spare parts and / or from the same category of spare parts is less than the preset number (e.g., 3), it proves that there are no spare parts of the same series or category as the nuclear power spare parts, and a spare parts source error flag will be output. In this case, the spare parts source error flag includes "Error ID: 10504" and "The spare parts manufacturer name without code is XXXX, suspected abbreviation, its full name is in the supplier code and name list, supplier code is XXXXXX, supplier name is XXXXX, it contains X spare parts of the same series, X spare parts of the same category; supplier code is XXXXXX, supplier name is XXXXX, it contains X spare parts of the same series, X spare parts of the same category; supplier code is XXXXXX, supplier name is XXXXX, it contains X spare parts of the same series, X spare parts of the same category; supplier code is XXXXXX, supplier name is XXXXX, it contains X spare parts of the same series, X spare parts of the same category; please verify and modify."
[0152] S606 uses the target field with the highest source match as the candidate source field to replace the description field under the identified source dimension.
[0153] In some embodiments, the target field with the highest source matching degree is selected; the target field with the highest source matching degree is used as the source candidate field to replace the description field under the identified source dimension.
[0154] For example, the material description of the spare part is "gate valve [VANSSH0100]", and the name of the spare part is "gate valve". Calculate the spare parts named "gate valve" for each supplier (with identified source). In these spare parts lists, compare the spare part model with "[VANSSH0100]", and calculate the spare parts with a similarity greater than a set threshold (which can be set to 0.8). If supplier A has 10 qualified spare parts, supplier B has 2 qualified spare parts, supplier C has 2 qualified spare parts, supplier D has 1 qualified spare part, and supplier E has 0 qualified spare parts, then supplier A's ranking is 1, suppliers B and C's rankings are 2, and supplier D's ranking is 4. Therefore, in Formula 1, supplier A's... For suppliers 1, B and C For supplier 2, D For 4,E supplier It is 5.
[0155] In this context, model similarity is calculated by matching two model numbers to determine their similarity (strings). Currently, there are many methods for calculating text (string) similarity, such as cosine similarity, Jaccard similarity, and the Longest Common Subsequence (LCS) algorithm. This application uses LCS as an example, and its determination method is shown in Equation 2. The core content is to find all non-overlapping longest matching blocks in the two sequences, and calculate the similarity ratio between the two sequences based on the total length of the matching blocks. In Equation 2, S is the similarity ratio value between the two sequences, and M is the total length of all matching blocks in the two sequences (strings). (A matching block is a subsequence in both sequences with the same starting position and length, i.e., ...) T is the sum of the lengths of the two sequences (strings). For example, if the text is "abd" and the text b is "abcd", the matching block is "ab" (position). and Referring to the notation methods in languages like Python, a 0 on the left represents the first index, and a 2 on the right represents the third index, inclusive of the left but exclusive of the right. Therefore... The first and second indices correspond to "d" (positions a[2] and b[3]). Therefore, the total length M of all matching blocks in the two sequences (strings) is 3, and the sum T of the lengths of the two sequences (strings) is 7 (3+4). and text The similarity ratio is 0.85 (6 / 7).
[0156] (2)
[0157] The supplier's ranking of spare parts of the same type is calculated by calculating the quantity of spare parts of the same type. Spare parts of the same type refer to spare parts of the same category. For example, the spare parts of a nuclear power plant are classified into three levels. The first level is: rotating machinery, pumps, valves, general machinery, chemical consumables, instruments and meters, and electrical. Each first level category has a corresponding second level category. For example, the second level categories of the instrument category (6) are temperature instruments (601), pressure instruments (602), flow instruments (603), and level instruments (604). Each second level category has a corresponding third level category. For example, the third level categories under temperature instruments (601) include: resistance temperature detectors (60101), thermocouples (60102), thermometers (local display) (60103), thermometers (electric contacts), temperature switches (60105), and temperature transmitters (60106). Each spare part has a corresponding spare part category. Taking the material description of the spare part as "gate valve [VANSSH0100]" as an example, its spare part category is gate valve complete unit (30301). If supplier A has 5 spare part codes for gate valve complete unit (30301), supplier B has 15 spare part codes for gate valve complete unit (30301), supplier C has 5 spare part codes for gate valve complete unit (30301), supplier D has 10 spare part codes for gate valve complete unit (30301), and supplier E has 2 spare part codes for gate valve complete unit (30301), then supplier A's ranking is 3, supplier B's ranking is 1, supplier C's ranking is 3, supplier D's ranking is 2, and supplier E's ranking is 5. Therefore, in Formula 1, supplier A's r² is 3, supplier B's r² is 1, supplier C's r² is 3, supplier D's r² is 2, and supplier E's r² is 5.
[0158] In the case where the material description is "gate valve [VANSSH0100]", let's assume... Set to 0.7, Setting the value to 0.3, based on Formula 1, we can obtain the comprehensive probability value p for supplier A as 0.62 (1 / (1*0.7+3*0.3)), supplier B as 0.58, supplier C as 0.43, supplier D as 0.29, and supplier E as 0.18. Returning to the top three suppliers in terms of comprehensive probability—supplier A, supplier B, and supplier C—supplier A can ultimately be selected as the final source for the gate valve, a nuclear power spare part.
[0159] In the above embodiments, precise processing is implemented for special cases of the nuclear power spare parts source description field. When the unidentified source dimension has content while the identified source dimension is empty, a matching field is searched from the source field library. If no match is found, a fifth error flag is identified, which effectively detects the problem of missing or invalid spare parts source information. If a source field identical to the identified source dimension field is found, a sixth error flag is identified, revealing the potential risk of non-unique spare parts sources. Simultaneously, the source matching degree is determined by calculating the ranking of the target field in the same series and category of spare parts, and the field with the highest matching degree is selected as the candidate source field. This provides a scientific basis for optimizing spare parts source information, helping to improve the accuracy, completeness, and uniqueness of nuclear power spare parts source information, and ensuring the reliability and standardization of nuclear power spare parts management.
[0160] Figure 7 This is a flowchart illustrating the step of determining the seventh error identifier in one embodiment. The target dimension in this embodiment also includes a material dimension; the description field under the material dimension includes a prefix subfield. Based on this, this embodiment provides an optional method for determining the seventh error identifier, including the following steps:
[0161] S701 determines the similarity between the material fields and the description fields under the material dimension in the preset standard material library.
[0162] In some embodiments, for each material field in the standard material library, the similarity between the material field and the description field under the material dimension in the preset standard material library is determined based on the field length of the material field and the field length of the description field under the material dimension.
[0163] It should be noted that when entering the description field under the material dimension, according to the common material naming convention, elements are usually represented by uppercase letters and lowercase letters. However, errors in capitalization are inevitable. For example, "0Cr17Ni12Mo2" is mistakenly entered as "0CR17NI12MO2". Similarly, other errors exist, such as "nitrile rubber" being mistakenly entered as "nitrile rubber". "Nitrile rubber" is an alternative name for "nitrile butadiene rubber". Although they refer to the same material, it should still be correctly named "nitrile butadiene rubber" (Nitrile Butadiene Rubber, abbreviated as NBR). "0Cr17N14Cu4Nb (where Ni represents nickel)" is mistakenly entered as "0Cr17Ni4Cu4Nb", that is, Ni is mistakenly entered as N1.
[0164] It should be noted that, due to the large number of material fields in the standard material library, to improve the efficiency of similarity calculation, the scope of material fields can be narrowed down based on the description fields under the material dimension, thereby increasing the calculation speed; that is, only the materials in the standard material library are considered. The standard material for the string at the beginning. The calculation method is shown in Formula 3 below. For example, S1 is the description field "abcdefg" under the material dimension, and ln(d) is 1.94. 2, based on The string "ab" can be used to search for materials that begin with "ab" in the standard material library, thus narrowing down the list of standard materials.
[0165] (3)
[0166] Where k1 is the first preset coefficient (which can be set to 1.3), and k2 is the second preset coefficient (which can be set to 1). The length of the description field under the material dimension. The natural logarithm with base e (the base of the natural logarithm).
[0167] S702 selects material fields whose similarity exceeds a preset similarity threshold as standard fields.
[0168] The preset similarity threshold can be a single value or a preset range. This application does not limit the specific form of the similarity threshold.
[0169] In some embodiments, for each material field, it is determined whether the similarity exceeds a preset similarity threshold; material fields whose similarity exceeds the preset similarity threshold are used as standard fields.
[0170] S703 determines the material matching degree between the standard field and the description field for each standard field based on the prefix subfield, the standard field length of the standard field, and the description field length of the description field under the material dimension.
[0171] In some embodiments, for each standard field, the material matching degree between the standard field and the description field is determined based on a preset material matching determination function, according to the prefix subfield, the standard field length of the standard field, and the description field length of the description field under the material dimension.
[0172] S704 determines the seventh error identifier of nuclear power spare parts when the material matching degree is greater than the preset matching threshold, and uses the standard field with the highest material matching degree as the material candidate field to replace the description field under the material dimension.
[0173] The preset similarity threshold can be a single value or a preset range, such as [θ4,1). This application does not limit the specific form of the similarity threshold. The seventh error identifier is used to determine the material validity test results of nuclear power spare parts.
[0174] In some embodiments, if the material matching degree is greater than a preset matching threshold, a seventh error identifier for the nuclear power spare part is determined, and the standard field with the highest material matching degree is used as a candidate material field to replace the description field under the material dimension. At this time, the seventh error identifier includes "Error ID: 10601" and "ID description: Material information is incorrect or non-standard".
[0175] For example, if the user enters the material as "0CR17NI12MO2", its string length is 12. It is 2. The similarity score is 0.69. Searching the standard list for materials starting with "0C", the similarity ratio between "0Cr17Ni12Mo2" and "0CR17NI12MO2" is 0.75, which meets the threshold range. Therefore, the materials in the standard material list The material is "0Cr17Ni12Mo2". Note: The basic material of this spare part is 0Cr17Ni12Mo2. The material information is incorrect or non-standard. The standard material is suspected to be 0Cr17Ni12Mo2. Please verify and correct it.
[0176] It should be noted that the endpoint value in the preset matching threshold in this embodiment can be determined by the following formula (3):
[0177] (3)
[0178] in, The endpoint of the matching threshold is represented by k3, which is a preset coefficient (which can be set to 0.27), d is the length of the description field under the material dimension, and log(d) is the logarithm of d to the base 10.
[0179] In the above embodiments, by calculating the similarity between material fields and description fields under the material dimension in the preset standard material library, and filtering out standard fields with similarity exceeding the threshold, possible matching material information can be quickly located, improving detection efficiency. Then, the material matching degree is determined based on the prefix subfield and field length, which can more accurately measure the degree of fit between the standard field and the description field. When the material matching degree is greater than the preset threshold, a seventh error identifier is determined, which can effectively detect possible errors or non-standard situations in the material information of nuclear power spare parts. At the same time, the standard field with the highest matching degree is used as the replacement candidate field, providing a reliable basis for correcting the material information, thereby ensuring the accuracy and effectiveness of the material information of nuclear power spare parts and improving the quality and safety of nuclear power spare parts management.
[0180] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0181] Based on the same inventive concept, this application also provides a nuclear power spare parts data validity detection device for implementing the above-mentioned nuclear power spare parts data validity detection method. The solution provided by this device is similar to the solution described in the above method. Therefore, the specific limitations of one or more embodiments of the nuclear power spare parts data validity detection device provided below can be found in the limitations of the nuclear power spare parts data validity detection method above, and will not be repeated here.
[0182] In one exemplary embodiment, such as Figure 8 As shown, a nuclear power spare parts data validity detection device is provided, comprising: a data acquisition module 10, an identification determination module 11, and a validity detection module 12, wherein:
[0183] Data acquisition module 10 is used to acquire spare parts data of nuclear power spare parts; the spare parts data includes at least one description field under the target dimension; the description field is used to describe the spare parts information of nuclear power spare parts under the target dimension;
[0184] The identifier determination module 11 is used to determine the first error identifier of the description field under the target dimension based on the correlation between the description field under the target dimension and the description fields under other dimensions for each target dimension; the other dimensions are those dimensions that have not been correlated with the description fields under the target dimension.
[0185] The effective detection module 12 is used to determine the associated effectiveness detection results of nuclear power spare parts based on each description field and the first error identifier of the corresponding description field.
[0186] In some embodiments, the identifier determination module 11 is further configured to determine the association conflict situation of the description field under the target dimension based on a preset association standard and the relationship between the description field under the target dimension and the description field under other dimensions; the association conflict situation is that there is a situation where the description field under the target dimension does not conform to the preset association standard with the description field under other dimensions; in the case where there is an association conflict of the description field under the target dimension, a first error identifier of the description field is determined based on the dimension identifier of the target dimension and the number of conflicts that occur under the target dimension.
[0187] In some embodiments, the nuclear power spare parts data validity detection device further includes: a status detection module, configured to determine the completeness of the description field for each target dimension; if the description fields under all target dimensions are complete, determine if the status of the description field under the status dimension is the same as that of the status standard field, and if the description field under the description dimension is the same as that of the description standard field; if the status and description satisfy a preset error condition, determine a second error identifier for the nuclear power spare parts; the second error identifier is used to determine a preset status validity detection result for the nuclear power spare parts; wherein the preset error condition includes at least one of the following: the status is different, but the description is the same; the status is the same, but the description is different; the status is different, and the description is different.
[0188] In some embodiments, the status detection module is further configured to determine supplementary field information for nuclear power spare parts when the description field under any target dimension is incomplete; the supplementary field information is used to describe the missing field content within the description field; when the description fields under all target dimensions are complete, and the description field of the status dimension is in obsolete or obsolete state, a third error identifier for the spare part is determined, and a description field of an alternative dimension is added; the description field of the alternative dimension is a preset description field; the third error identifier is used to determine the specific standard validity test result of the nuclear power spare part.
[0189] In some embodiments, the nuclear power spare parts data validity detection device further includes: a name detection module, configured to, when all description fields under all target dimensions are complete, find a first language description field that is the same as the description field under the first language description dimension from a preset first language description library; if the first language description field exists, find a second language description field that has a preset mapping relationship with the first language description field from a preset second language description library; if the second language description field and the description field under the second language description dimension are different, determine a fourth error identifier for the nuclear power spare parts, and use the second language description field as a language candidate field to replace the description field under the second language description dimension; the fourth error identifier is used to determine the name validity detection result of the nuclear power spare parts under different language description dimensions.
[0190] In some embodiments, the nuclear power spare parts data validity detection device further includes: a source detection module, configured to, when the description field under the unidentified source dimension is not empty and the description field under the identified source dimension is empty, search for a source field in a preset source field library that is the same as the description field under the unidentified source dimension; and when there is no source field that is the same as the description field under the unidentified source dimension, determine a fifth error identifier for the nuclear power spare parts; the fifth error identifier is used to determine the source validity detection result of the nuclear power spare parts.
[0191] In some embodiments, the source detection module is further configured to: search a preset source field library for a source field containing a description field under the identified source dimension when the description field under the unidentified source dimension is empty and the description field under the identified source dimension is not empty; the source field library includes at least one source field; if a source field identical to the description field under the identified source dimension exists, determine the sixth error identifier of the nuclear power spare part and use the source field as the target field; the sixth error identifier is used to characterize the detection error result that the nuclear power spare part still has a non-unique source when the source is valid; for each target field, determine the source matching degree of the target field according to the ranking of the number of spare parts in the same series and the ranking of the number of spare parts in the same category; and use the target field with the highest source matching degree as the source candidate field to replace the description field under the identified source dimension.
[0192] In some embodiments, the nuclear power spare parts data validity detection device further includes: a material detection module, used to determine the similarity between material fields in a preset standard material library and description fields under the material dimension; select material fields whose similarity exceeds a preset similarity threshold as standard fields; for each standard field, determine the material matching degree between the standard field and the description field based on the prefix subfield, the standard field length of the standard field, and the description field length of the description field under the material dimension; if the material matching degree is greater than a preset matching threshold, determine the seventh error identifier of the nuclear power spare parts, and use the standard field with the highest material matching degree as a material candidate field to replace the description field under the material dimension; the seventh error identifier is used to determine the material validity detection result of the nuclear power spare parts.
[0193] Each module in the aforementioned nuclear power spare parts data validity detection device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0194] In one exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 9 As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores data. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When executed by the processor, the computer program implements a method for effectively detecting nuclear power spare parts data.
[0195] Those skilled in the art will understand that Figure 9 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0196] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.
[0197] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.
[0198] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0199] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0200] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0201] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0202] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for valid detection of nuclear power spare parts data, characterized in that, The method includes: Obtain spare parts data for nuclear power spare parts; the spare parts data includes at least one description field under a target dimension; the description field is used to describe the spare parts information of the nuclear power spare parts under the target dimension; For each description field under a target dimension, a first error identifier for the description field under the target dimension is determined based on the correlation between the description field under the target dimension and description fields under other dimensions; the other dimensions are those dimensions that have not undergone correlation detection with the description field under the target dimension. Based on each description field and the first error identifier of the corresponding description field, the association validity detection result of the nuclear power spare parts is determined; The target dimensions include state dimensions and description dimensions. The method further includes: for each target dimension's description field, determining the completeness of the description field; if all target dimensions' description fields are complete, determining if the state of the description field in the state dimension is the same as that of the state standard field, and if the description field in the description dimension is the same as that of the description standard field; if the state and description match a preset error condition, determining a second error identifier for the nuclear power spare part; the second error identifier is used to determine the preset state validity detection result of the nuclear power spare part. The target dimension further includes a material dimension; the description field under the material dimension includes a prefix subfield; the method further includes: determining the similarity between material fields in a preset standard material library and description fields under the material dimension; selecting material fields with similarity exceeding a preset similarity threshold as standard fields; for each standard field, determining the material matching degree between the standard field and the description field based on the prefix subfield, the standard field length of the standard field, and the description field length of the description field under the material dimension; if the material matching degree is greater than a preset matching threshold, determining a seventh error identifier for the nuclear power spare part, and using the standard field with the highest material matching degree as a material candidate field to replace the description field under the material dimension; the seventh error identifier is used to determine the material validity detection result of the nuclear power spare part.
2. The method according to claim 1, characterized in that, The step of determining the first error identifier of the description field under the target dimension based on the association between the description field under the target dimension and the description fields under other dimensions includes: Based on a preset association standard, the association conflict situation of the description field under the target dimension is determined according to the relationship between the description field under the target dimension and the description field under other dimensions; the association conflict situation is when there is a situation where the description field under the target dimension does not conform to the preset association standard with the description field under other dimensions. In the event of a conflict of association in the description field under the target dimension, a first error identifier for the description field is determined based on the dimension identifier of the target dimension and the number of conflicts that occur under the target dimension.
3. The method according to claim 1, characterized in that, The preset error condition includes at least one of the following: The same state is considered different, but the same description is considered the same; The same state is considered the same, but the same description is considered different; The same state is considered different, and the same description is also considered different.
4. The method according to claim 3, characterized in that, The method further includes: If the description field under any target dimension is incomplete, determine the supplementary field information for the nuclear power spare part; the supplementary field information is used to describe the missing field content in the description field; If all description fields under all target dimensions are complete, and if the description field of the status dimension is obsolete or invalid, determine the third error identifier of the spare part and add a description field of the alternative dimension; the description field of the alternative dimension is a preset description field; the third error identifier is used to determine the specific standard validity test result of the nuclear power spare part.
5. The method according to claim 3, characterized in that, The description dimension further includes a first language description dimension and a second language description dimension; both the first language description dimension and the second language description dimension are used to describe the nuclear power spare parts, and the first language description dimension and the second language description dimension use different languages. The method further includes: If all description fields under all target dimensions are complete, find the first language description field that is the same as the description field under the first language description dimension from the preset first language description library; If the first language description field exists, a second language description field that has a preset mapping relationship with the first language description field is found from the preset second language description library; If the second language description field and the description field under the second language description dimension are different, a fourth error identifier is determined for the nuclear power spare part, and the second language description field is used as a candidate language field to replace the description field under the second language description dimension; the fourth error identifier is used to determine the name validity detection result of the nuclear power spare part under different language description dimensions.
6. The method according to claim 1, characterized in that, The target dimension also includes a dimension with an identified source and a dimension without an identified source, and the method further includes: If the description field under the unidentified source dimension is not empty, and the description field under the identified source dimension is empty, search for the source field that is the same as the description field under the unidentified source dimension from the preset source field library; In the absence of a source field identical to the description field under the unidentified source dimension, a fifth error identifier is determined for the nuclear power spare part; the fifth error identifier is used to determine the source validity detection result of the nuclear power spare part.
7. The method according to claim 6, characterized in that, The method further includes: If the description field under the unidentified source dimension is empty, and the description field under the identified source dimension is not empty, search the preset source field library for a source field that contains the description field under the identified source dimension; the source field library includes at least one source field. If a source field exists that is identical to the description field under the identified source dimension, the sixth error identifier of the nuclear power spare part is determined, and the source field is used as the target field; the sixth error identifier is used to characterize that the nuclear power spare part still has a detection error result with a non-unique source even when the source is valid; For each target field, the source matching degree of the target field is determined based on the ranking of the number of spare parts in the same series and the ranking of the number of spare parts in the same category. The target field with the highest source matching degree is selected as the candidate source field to replace the description field under the identified source dimension.
8. A device for valid detection of nuclear power spare parts data, characterized in that, The device includes: The data acquisition module is used to acquire spare parts data for nuclear power spare parts; the spare parts data includes at least one description field under a target dimension; the description field is used to describe the spare parts information of the nuclear power spare parts under the target dimension; The identifier determination module is used to determine a first error identifier for the description field under each target dimension based on the association relationship between the description field under the target dimension and description fields under other dimensions; the other dimensions are dimensions that have not been associated with the description field under the target dimension; the target dimension includes a state dimension, a description dimension, and a material dimension; the description field under the material dimension includes a prefix subfield; The effective detection module is used to determine the association effectiveness detection result of the nuclear power spare parts based on each description field and the first error identifier of the corresponding description field; The status detection module is used to determine the completeness of the description field for each target dimension; if the description fields under all target dimensions are complete, it determines whether the status of the description field under the status dimension is the same as that of the status standard field, and whether the description field under the description dimension is the same as that of the description standard field; if the status and description match a preset error condition, it determines a second error identifier for the nuclear power spare part; the second error identifier is used to determine the preset status validity detection result of the nuclear power spare part. The material detection module is used to determine the similarity between material fields in a preset standard material library and description fields under the material dimension; select material fields whose similarity exceeds a preset similarity threshold as standard fields; for each standard field, determine the material matching degree between the standard field and the description field based on the prefix subfield, the standard field length of the standard field, and the description field length of the description field under the material dimension; if the material matching degree is greater than a preset matching threshold, determine the seventh error identifier of the nuclear power spare part, and use the standard field with the highest material matching degree as a material candidate field to replace the description field under the material dimension; the seventh error identifier is used to determine the material validity detection result of the nuclear power spare part.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Quality detection method and device for semi-structured data, storage medium and equipment
CN110704686A
Method, equipment and device for data detection of management information base
CN114531335A