A method, system and medium for automatic matching of specification range based on MES

Through the MES-based automatic matching method of specification range, the problem of inefficient manual matching software parameters and test items specification range in the prior art is solved, automatic matching detection is realized, detection accuracy and efficiency are improved, information silos are eliminated, and data interoperability is ensured.

CN119202755BActive Publication Date: 2025-03-14SHENZHEN ANSHI NEW ENERGY TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411715445.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-03-14
Estimated Expiration
2044-11-27

AI Technical Summary

Technical Problem

In the prior art, in the refined management of specifications, data statistical analysis and version management of the specifications, manpower is required to match the software parameters and test items specification ranges item by item, which are inefficient and prone to errors, resulting in product production problems. At the same time, the test specifications were not notified in time, resulting in the production line using the old version of the specifications for production, causing the production line to be mass reworked. The data of each system are independent of each other, forming information islands, which is not conducive to data interoperability and utilization.

Method used

Through the MES-based specification range automatic matching method, the specification range rule matching parameter information is obtained, including the test item name, matching rule number, verification mark, rule description, effective time and failure time, and a specification range rule matching list is generated. Then, obtain the software parameter configuration list information, extract the test item name information, obtain the matching rule number based on the test item name information, perform specification parameters matching, and record the matching results. This method improves detection accuracy and efficiency by automatically matching software parameters and test item specification ranges, and realizes data interoperability between various systems and eliminates information silos.

Benefits of technology

Automatic matching detection of software parameters and test item specification ranges is realized, detection accuracy and efficiency are improved, information islands are eliminated, data interoperability and utilization are ensured, and production line rework problems caused by untimely update of specifications is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119202755B_ABST
    Figure CN119202755B_ABST
Patent Text Reader

Abstract

The present application provides a method, system and medium for automatic specification range matching based on MES. The method includes: obtaining specification range rule matching parameter information, generating a first specification range rule matching list, then obtaining software parameter configuration list information, extracting test item name information, obtaining the corresponding matching rule number through the first specification range rule matching list according to the test item name information, matching the specification parameters of the test item according to the matching rule number, and recording the matching results, and determining whether the production line test software meets the requirements according to the matching results; the present application realizes automatic matching detection of software parameters and test item specification ranges by matching test rules according to the test item name, and further determining the rule description in combination with the verification mark, thereby improving detection accuracy and detection efficiency, and at the same time realizing data intercommunication and utilization between systems, eliminating information islands.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information technology, and in particular to a method, system and medium for automatic matching of specification ranges based on MES. Background Art

[0002] Manufacturing Execution System, or MES for short, is a workshop-level information management system located between the upper-level planning management system and the lower-level industrial control. In order to carry out refined management of specifications, statistical analysis of data, and version management, many companies mostly use digital systems for test specifications. However, they need to manually match software parameters and test item specification ranges one by one, which is inefficient and prone to errors, leading to problems in product production. Test specification updates are not notified to production in a timely manner, resulting in the use of old versions of specifications for production, causing batch rework of production lines. The data of each system are independent of each other, forming information islands, which is not conducive to data interoperability.

[0003] In view of the above problems, effective technical solutions are urgently needed. Summary of the invention

[0004] The purpose of the present application is to provide a method, system and medium for automatic matching of specification ranges based on MES, which can realize automatic matching detection of software parameters and test item specification ranges by matching test rules according to test item names and further determining rule descriptions in combination with verification identifiers, thereby improving detection accuracy and detection efficiency, and realizing data interoperability between systems to eliminate information islands.

[0005] The present application also provides a method for automatically matching specification ranges based on MES, comprising the following steps:

[0006] Obtain specification range rule matching parameter information, including test item name information, matching rule number information, verification identification information, rule description information, extended parameter name information, effective time information and expiration time information, and generate a first specification range rule matching list;

[0007] Obtain software parameter configuration list information and extract test item name information;

[0008] According to the test item name information, obtain the corresponding matching rule number through the first specification range rule matching list;

[0009] The test items are matched with specification parameters according to the matching rule numbers, and matching results are recorded.

[0010] Optionally, in the MES-based specification range automatic matching method described in the present application, matching the specification parameters of the test items according to the matching rule numbers and recording the matching results include:

[0011] Acquire verification identification information according to the matching rule number, including yes or no;

[0012] If the verification identification information is no, the matching result is recorded as passed;

[0013] If the verification identification information is yes, specification parameter matching is performed according to the matching rule number in combination with the first specification range rule matching list.

[0014] Optionally, in the MES-based specification range automatic matching method described in the present application, if the verification identification information is yes, performing specification parameter matching according to the matching rule number in combination with the first specification range rule matching list includes:

[0015] Obtain rule description information, effective time information, and expiration time information according to the matching rule number;

[0016] The test items are matched with specification parameters according to the rule description information, effective time information and expiration time information, and the matching results are recorded.

[0017] Optionally, in the MES-based specification range automatic matching method described in the present application, matching specification parameters of the test item according to the rule description information, the effective time information, and the expiration time information, and recording the matching result, includes:

[0018] Obtain current matching time information, and compare it with the effective time information and the expiration time information respectively;

[0019] If the current matching time information is within the range of the effective time information and the expiration time information, specification parameter matching is performed;

[0020] If the specification parameters match, it is recorded as passed;

[0021] If the specification parameters do not match, it will be recorded as failed;

[0022] If the current matching time information is not within the range of the effective time information and the expiration time information, the matching result is recorded as abnormal and an early warning is output.

[0023] Optionally, in the MES-based automatic specification range matching method described in the present application, if the specification parameters are inconsistently matched, recording as failure includes:

[0024] If the specification parameters do not match, then the mismatch information and the test software shutdown warning are output;

[0025] An emergency task is generated based on the mismatch information and the test software shutdown warning and displayed on the management background.

[0026] Optionally, the MES-based automatic specification range matching method described in the present application further includes:

[0027] If the obtained matching rule is a custom matching rule;

[0028] Acquire the added matching information, update the specification range rule matching parameter information according to the added matching information, and obtain a second specification range rule matching list;

[0029] The specification parameters of the test item are matched according to the test item name information in combination with the second specification range rule matching list, and the matching result is recorded.

[0030] In a second aspect, the present application provides a system for automatically matching specification ranges based on MES, the system comprising: a memory and a processor, the memory comprising a program for an automatic matching method for specification ranges based on MES, and the program for the automatic matching method for specification ranges based on MES is executed by the processor to implement the following steps:

[0031] Obtain specification range rule matching parameter information, including test item name information, matching rule number information, verification identification information, rule description information, extended parameter name information, effective time information and expiration time information, and generate a first specification range rule matching list;

[0032] Obtain software parameter configuration list information and extract test item name information;

[0033] According to the test item name information, obtain the corresponding matching rule number through the first specification range rule matching list;

[0034] The test items are matched with specification parameters according to the matching rule numbers, and matching results are recorded.

[0035] Optionally, in the MES-based specification range automatic matching system described in the present application, matching the specification parameters of the test items according to the matching rule numbers and recording the matching results include:

[0036] Acquire verification identification information according to the matching rule number, including yes or no;

[0037] If the verification identification information is no, the matching result is recorded as passed;

[0038] If the verification identification information is yes, specification parameter matching is performed according to the matching rule number in combination with the first specification range rule matching list.

[0039] Optionally, in the MES-based specification range automatic matching system described in the present application, if the verification identification information is yes, performing specification parameter matching according to the matching rule number in combination with the first specification range rule matching list includes:

[0040] Obtain rule description information, effective time information, and expiration time information according to the matching rule number;

[0041] The test items are matched with specification parameters according to the rule description information, effective time information and expiration time information, and the matching results are recorded.

[0042] In a third aspect, the present application also provides a computer-readable storage medium, which stores a method program for automatic matching of specification ranges based on MES. When the method program for automatic matching of specification ranges based on MES is executed by a processor, the steps of the method for automatic matching of specification ranges based on MES as described in any one of the above items are implemented.

[0043] From the above, it can be seen that the present application provides an automatic matching method, system and medium for specification range based on MES, which realizes automatic matching detection of software parameters and test item specification ranges by matching test rules according to test item names and further determining rule descriptions in combination with verification identifiers, thereby improving detection accuracy and efficiency, and at the same time realizing data interoperability between systems and eliminating information islands.

[0044] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the embodiments of the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0046] Figure 1 A flowchart of a method for automatically matching specification ranges based on MES provided in an embodiment of the present application;

[0047] Figure 2 A flowchart of obtaining a record matching result of a method for automatically matching specification ranges based on MES provided in an embodiment of the present application;

[0048] Figure 3A flowchart of obtaining a second specification range rule matching list for the MES-based specification range automatic matching method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0050] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0051] Please refer to Figure 1 , Figure 1 The following is a flow chart of a method for automatically matching specification ranges based on MES in some embodiments of the present application. The method for automatically matching specification ranges based on MES is used in terminal devices, such as computers, mobile phone terminals, etc. The method for automatically matching specification ranges based on MES includes the following steps:

[0052] S11, obtaining specification range rule matching parameter information, including test item name information, matching rule number information, verification identification information, rule description information, extended parameter name information, effective time information and expiration time information, and generating a first specification range rule matching list;

[0053] S12, obtaining software parameter configuration list information and extracting test item name information;

[0054] S13, obtaining a corresponding matching rule number through the first specification range rule matching list according to the test item name information;

[0055] S14. Match the specification parameters of the test items according to the matching rule numbers, and record the matching results.

[0056] It should be noted that in order to complete the matching detection between the software parameters and the test specification, the rule matching parameter information of the test specification is first obtained, and a first specification range rule matching list is generated, including test item name information, matching rule number information, verification identification information, rule description information, extended parameter name information, effective time information and expiration time information. Table 1 is one example:

[0057] Table 1

[0058] Rule number Test item name Verification mark Matching rule classification Rule Description Extended Parameters Effective time Expiration time 1 Battery cell maximum temperature accuracy calibration yes Rule 4 Simultaneous verification of upper and lower limits 2 Battery cell minimum temperature accuracy calibration yes Rule 7 Simultaneous verification based on upper and lower limits of effective time 2024 / 8 / 1 2024 / 12 / 31 3 Accelerometer function confirmation (Y axis) yes Rule 2 Check upper limit only 4 First level over discharge recovery voltage (for reference only, not for judgment) yes Rule 3 Check lower limit only 5 Heating film power confirmation yes Rule 5 Upper limit check based on effective time 2024 / 8 / 1 2024 / 12 / 31 6 Battery internal resistance yes Rule 6 Lower limit check based on effective time 2024 / 8 / 1 2024 / 12 / 31 7 No-load voltage yes Rule 8 Add custom parameter validation unit 8 Operational Amplifier Current Calibration no Rule 1 No calibration required

[0059] Then obtain the software parameter configuration list information of the test software, and extract the test item name information, obtain the corresponding matching rule number through the first specification range rule matching list according to the test item name information, match the specification parameters in combination with the rule description, and record the matching results, including no verification mark, such specification parameters do not participate in the matching; there is a verification mark, but only the upper limit needs to be verified, not including the effective time and expiration time; there is a verification mark, but only the lower limit needs to be verified, not including the effective time and expiration time; there is a verification mark, the upper and lower limits need to be verified at the same time, not including the effective time and expiration time; there is a verification mark, but only the upper limit needs to be verified, based on the matching verification of the effective time and expiration time; there is a verification mark, but only the lower limit needs to be verified, based on the matching verification of the effective time and expiration time; there is a verification mark, the upper and lower limits need to be verified at the same time, based on the matching verification of the effective time and expiration time; and support user-defined matching rules, which can be combined with the system default rules to customize the parameters to be matched, such as adding units, typical value matching, etc.

[0060] According to an embodiment of the present invention, matching specification parameters of the test items according to the matching rule numbers and recording matching results includes:

[0061] Acquire verification identification information according to the matching rule number, including yes or no;

[0062] If the verification identification information is no, the matching result is recorded as passed;

[0063] If the verification identification information is yes, specification parameter matching is performed according to the matching rule number in combination with the first specification range rule matching list.

[0064] It should be noted that the first specification range rule matching list includes a verification flag, which is divided into yes and no. If the verification flag is no, it indicates that such specification parameters do not need to participate in parameter matching and are directly recorded as passed. If the verification flag is yes, the next step of parameter matching detection is required according to the rule description.

[0065] According to an embodiment of the present invention, if the verification identification information is yes, then matching specification parameters according to the matching rule number in combination with the first specification range rule matching list includes:

[0066] Obtain rule description information, effective time information, and expiration time information according to the matching rule number;

[0067] The test items are matched with specification parameters according to the rule description information, effective time information and expiration time information, and the matching results are recorded.

[0068] It should be noted that the rule description information, effective time information and expiration time information corresponding to each matching rule number are different. Some numbers do not include effective time and expiration time. Such specifications only need to check the upper and lower limits separately or check the upper and lower limits at the same time. Some numbers correspond to effective time and expiration time. It is necessary to first determine whether the current matching time is within the validity period. If it is within the validity period, continue to perform matching detection. If not, it is necessary to prompt according to the preset requirements.

[0069] Please refer to Figure 2 , Figure 2 The method for automatically matching specification ranges based on MES in some embodiments of the present application is a flowchart for obtaining and recording matching results. According to an embodiment of the present invention, matching specification parameters of the test items according to the rule description information, effective time information and expiration time information, and recording matching results, includes:

[0070] S21, obtaining current matching time information, and comparing it with the effectiveness time information and the expiration time information respectively;

[0071] S22: If the current matching time information is within the range of the effective time information and the expiration time information, then matching of specification parameters is performed;

[0072] S23. If the specification parameters match, record as passed;

[0073] S24. If the specification parameters do not match, record as failed;

[0074] S25. If the current matching time information is not within the range of the effective time information and the expiration time information, the matching result is recorded as abnormal and an early warning is output.

[0075] It should be noted that for the matching rule numbers that include the effective time and the expiration time, it is necessary to determine whether the current matching detection time is between the effective time and the expiration time. If it is between, the matching detection is performed normally to confirm the specification parameter matching result; if it is not within the valid time, it means that the software does not correspond to the test specification, and the matching detection cannot be performed. An early warning is issued through the background to remind the operation and maintenance personnel to update the test specification in time.

[0076] According to an embodiment of the present invention, if the specification parameters do not match each other, recording as failure includes:

[0077] If the specification parameters do not match, then the mismatch information and the test software shutdown warning are output;

[0078] An emergency task is generated based on the mismatch information and the test software shutdown warning and displayed on the management background.

[0079] It should be noted that in order to prevent product failure caused by mismatch between software parameters and test specifications, when any parameter mismatch is detected, the tested software will be locked by the test system, making it unusable, thereby achieving a fool-proofing effect.

[0080] Please refer to Figure 3 , Figure 3 The flowchart of obtaining the second specification range rule matching list of the MES-based specification range automatic matching method in some embodiments of the present application. According to an embodiment of the present invention, it also includes:

[0081] S31. If the obtained matching rule is a custom matching rule;

[0082] S32, acquiring the added matching information, updating the specification range rule matching parameter information according to the added matching information, and obtaining a second specification range rule matching list;

[0083] S33: Match specification parameters of the test item according to the test item name information and the second specification range rule matching list, and record the matching result.

[0084] It should be noted that, in order to better adapt to the continuous changes in software parameters and new requirements, the matching rules can be customized, such as adding unit information or typical value matching.

[0085] It is worth mentioning that, according to an embodiment of the present invention, the obtaining of the corresponding matching rule through the specification range rule matching list according to the name information also includes:

[0086] Obtain the test specification information updated within the preset time period, extract the project number information, specification range list, and workstation code information of the test specification, and establish a test specification range list comparison table;

[0087] According to the project number information and the workstation code information, a software parameter list of the latest version is obtained through a preset software release system;

[0088] According to the test specification range list comparison table and the software parameter list, the name information of the test items is extracted.

[0089] It should be noted that in order to avoid information mismatch between the software and the test specification after update, the update status of the test specification is dynamically scanned. The scanning time is set according to the specific implementation situation, such as 5 minutes. According to the updated information, the project number information, specification range list, and work station code information of the test specification are extracted, and a test specification range list comparison table is established. According to the project number information and the work station code information, the latest version of the software parameter list is obtained through the preset software release system, and then the name information of the test item is extracted to obtain the matching rule number.

[0090] It is worth mentioning that according to an embodiment of the present invention, it also includes:

[0091] Obtain the software parameter configuration information published by the user, extract the project number information, parameter configuration list information, and workstation code information of the software parameters;

[0092] According to the project number information, the workstation code information and the parameter configuration list information, a reverse match is performed on the specification range parameters corresponding to the test specification, and the matching result is recorded.

[0093] It should be noted that after the user publishes the software parameter configuration information, the matching system also needs to determine whether the test specification matches it, extract the project number information, parameter configuration list information, and workstation code information of the software parameter configuration information, and reversely match the specification range parameters corresponding to the test specification based on the project number information, workstation code information and parameter configuration list information, and record whether the matching result passes. If passed, the matching detection operation is executed. If not, the execution is suspended and an early warning is output to the operation and maintenance personnel for processing.

[0094] The present invention also discloses an automatic matching system for specification range based on MES, comprising a memory and a processor, wherein the memory comprises an automatic matching method program for specification range based on MES, and when the automatic matching method program for specification range based on MES is executed by the processor, the following steps are implemented:

[0095] Obtain specification range rule matching parameter information, including test item name information, matching rule number information, verification identification information, rule description information, extended parameter name information, effective time information and expiration time information, and generate a first specification range rule matching list;

[0096] Obtain software parameter configuration list information and extract test item name information;

[0097] According to the test item name information, obtain the corresponding matching rule number through the first specification range rule matching list;

[0098] The test items are matched with specification parameters according to the matching rule numbers, and matching results are recorded.

[0099] It should be noted that, in order to complete the matching detection between the software parameters and the test specification, the rule matching parameter information of the test specification is first obtained, and a first specification range rule matching list is generated, including test item name information, matching rule number information, verification identification information, rule description information, extended parameter name information, effective time information and expiration time information, as shown in Table 1 as one example;

[0100] Then obtain the software parameter configuration list information of the test software, and extract the test item name information, obtain the corresponding matching rule number through the first specification range rule matching list according to the test item name information, match the specification parameters in combination with the rule description, and record the matching results, including no verification mark, such specification parameters do not participate in the matching; there is a verification mark, but only the upper limit needs to be verified, not including the effective time and expiration time; there is a verification mark, but only the lower limit needs to be verified, not including the effective time and expiration time; there is a verification mark, the upper and lower limits need to be verified at the same time, not including the effective time and expiration time; there is a verification mark, but only the upper limit needs to be verified, based on the matching verification of the effective time and expiration time; there is a verification mark, but only the lower limit needs to be verified, based on the matching verification of the effective time and expiration time; there is a verification mark, the upper and lower limits need to be verified at the same time, based on the matching verification of the effective time and expiration time; and support user-defined matching rules, which can be combined with the system default rules to customize the parameters to be matched, such as adding units, typical value matching, etc.

[0101] According to an embodiment of the present invention, matching specification parameters of the test items according to the matching rule numbers and recording matching results includes:

[0102] Acquire verification identification information according to the matching rule number, including yes or no;

[0103] If the verification identification information is no, the matching result is recorded as passed;

[0104] If the verification identification information is yes, specification parameter matching is performed according to the matching rule number in combination with the first specification range rule matching list.

[0105] It should be noted that the first specification range rule matching list includes a verification flag, which is divided into yes and no. If the verification flag is no, it indicates that such specification parameters do not need to participate in parameter matching and are directly recorded as passed. If the verification flag is yes, the next step of parameter matching detection is required according to the rule description.

[0106] According to an embodiment of the present invention, if the verification identification information is yes, then matching specification parameters according to the matching rule number in combination with the first specification range rule matching list includes:

[0107] Obtain rule description information, effective time information, and expiration time information according to the matching rule number;

[0108] The test items are matched with specification parameters according to the rule description information, effective time information and expiration time information, and the matching results are recorded.

[0109] It should be noted that the rule description information, effective time information and expiration time information corresponding to each matching rule number are different. Some numbers do not include effective time and expiration time. Such specifications only need to check the upper and lower limits separately or check the upper and lower limits at the same time. Some numbers correspond to effective time and expiration time. In this case, it is necessary to first determine whether the current matching time is within the validity period. If it is within the validity period, continue to perform matching detection, and there is no need to prompt according to the preset requirements.

[0110] According to an embodiment of the present invention, matching specification parameters of the test items according to the rule description information, the effective time information, and the expiration time information, and recording the matching results, includes:

[0111] Obtain current matching time information, and compare it with the effective time information and the expiration time information respectively;

[0112] If the current matching time information is within the range of the effective time information and the expiration time information, specification parameter matching is performed;

[0113] If the specification parameters match, it is recorded as passed;

[0114] If the specification parameters do not match, it will be recorded as failed;

[0115] If the current matching time information is not within the range of the effective time information and the expiration time information, the matching result is recorded as abnormal and an early warning is output.

[0116] It should be noted that for the matching rule numbers that include the effective time and the expiration time, it is necessary to determine whether the current matching detection time is between the effective time and the expiration time. If it is between, the matching detection is performed normally to confirm the specification parameter matching result; if it is not within the valid time, it means that the software does not correspond to the test specification, and the matching detection cannot be performed. An early warning is issued through the background to remind the operation and maintenance personnel to update the test specification in time.

[0117] According to an embodiment of the present invention, if the specification parameters do not match each other, recording as failure includes:

[0118] If the specification parameters do not match, then the mismatch information and the test software shutdown warning are output;

[0119] An emergency task is generated based on the mismatch information and the test software shutdown warning and displayed on the management background.

[0120] It should be noted that in order to prevent product failure caused by mismatch between software parameters and test specifications, when any parameter mismatch is detected, the tested software will be locked by the test system, making it unusable, thereby achieving a fool-proofing effect.

[0121] According to an embodiment of the present invention, it also includes:

[0122] If the obtained matching rule is a custom matching rule;

[0123] Acquire the added matching information, update the specification range rule matching parameter information according to the added matching information, and obtain a second specification range rule matching list;

[0124] The specification parameters of the test item are matched according to the test item name information in combination with the second specification range rule matching list, and the matching result is recorded.

[0125] It should be noted that, in order to better adapt to the continuous changes in software parameters and new requirements, the matching rules can be customized, such as adding unit information or typical value matching.

[0126] It is worth mentioning that, according to an embodiment of the present invention, the obtaining of the corresponding matching rule through the specification range rule matching list according to the name information also includes:

[0127] Obtain the test specification information updated within the preset time period, extract the project number information, specification range list, and workstation code information of the test specification, and establish a test specification range list comparison table;

[0128] According to the project number information and the workstation code information, a software parameter list of the latest version is obtained through a preset software release system;

[0129] According to the test specification range list comparison table and the software parameter list, the name information of the test items is extracted.

[0130] It should be noted that in order to avoid information mismatch between the software and the test specification after update, the update status of the test specification is dynamically scanned. The scanning time is set according to the specific implementation situation, such as 5 minutes. According to the updated information, the project number information, specification range list, and work station code information of the test specification are extracted, and a test specification range list comparison table is established. According to the project number information and the work station code information, the latest version of the software parameter list is obtained through the preset software release system, and then the name information of the test item is extracted to obtain the matching rule number.

[0131] It is worth mentioning that according to an embodiment of the present invention, it also includes:

[0132] Obtain the software parameter configuration information published by the user, extract the project number information, parameter configuration list information, and workstation code information of the software parameters;

[0133] According to the project number information, the workstation code information and the parameter configuration list information, a reverse match is performed on the specification range parameters corresponding to the test specification, and the matching result is recorded.

[0134] It should be noted that after the user publishes the software parameter configuration information, the matching system also needs to determine whether the test specification matches it, extract the project number information, parameter configuration list information, and workstation code information of the software parameter configuration information, and reversely match the specification range parameters corresponding to the test specification based on the project number information, workstation code information and parameter configuration list information, and record whether the matching result passes. If passed, the matching detection operation is executed. If not, the execution is suspended and an early warning is output to the operation and maintenance personnel for processing.

[0135] A third aspect of the present invention provides a readable storage medium, which stores a method program for automatically matching specification ranges based on MES. When the method program for automatically matching specification ranges based on MES is executed by a processor, the steps of the method for automatically matching specification ranges based on MES as described in any one of the above items are implemented.

[0136] The present invention discloses an automatic matching method, system and medium for specification range based on MES, which realizes automatic matching detection of software parameters and test item specification range by matching test rules according to test item names and further determining rule descriptions in combination with verification identifiers, thereby improving detection accuracy and detection efficiency, and realizing data intercommunication and utilization among systems, eliminating information islands.

[0137] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0138] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0139] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0140] Those skilled in the art can understand that: all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, the aforementioned program can be stored in a readable storage medium, and when the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), disks or optical disks, and other media that can store program codes.

[0141] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

Claims

1. A method for automatic matching of specification range based on MES, characterized in that: The following steps are involved: Obtain specification range rule matching parameter information, including test item name information, matching rule number information, verification identification information, rule description information, extended parameter name information, effective time information and expiration time information, and generate a first specification range rule matching list; Obtain software parameter configuration list information and extract test item name information; According to the test item name information, obtain the corresponding matching rule number through the first specification range rule matching list; Matching the specification parameters of the test items according to the matching rule numbers, and recording the matching results; The matching of the test items with respect to the specification parameters according to the matching rule number and recording the matching result includes: Acquire verification identification information according to the matching rule number, including yes or no; If the verification identification information is no, the matching result is recorded as passed; If the verification identification information is yes, specification parameter matching is performed according to the matching rule number in combination with the first specification range rule matching list; The obtaining of the corresponding matching rule through the specification range rule matching list according to the name information also includes: Obtain the test specification information updated within the preset time period, extract the project number information, specification range list, and workstation code information of the test specification, and establish a test specification range list comparison table; According to the project number information and the workstation code information, a software parameter list of the latest version is obtained through a preset software release system; Extract the name information of the test items according to the test specification range list comparison table and the software parameter list; Also includes: Obtain the software parameter configuration information published by the user, extract the project number information, parameter configuration list information, and workstation code information of the software parameters; According to the project number information, the workstation code information and the parameter configuration list information, a reverse match is performed on the specification range parameters corresponding to the test specification, and the matching result is recorded.

2. The MES-based automatic specification range matching method according to claim 1, characterized in that: If the verification identification information is yes, matching specification parameters according to the matching rule number in combination with the first specification range rule matching list includes: Obtain rule description information, effective time information, and expiration time information according to the matching rule number; The test items are matched with specification parameters according to the rule description information, effective time information and expiration time information, and the matching results are recorded.

3. The MES-based automatic specification range matching method according to claim 2, characterized in that: The matching of specification parameters of the test items according to the rule description information, the effective time information and the expiration time information, and recording the matching results, includes: Obtain current matching time information, and compare it with the effective time information and the expiration time information respectively; If the current matching time information is within the range of the effective time information and the expiration time information, specification parameter matching is performed; If the specification parameters match, it is recorded as passed; If the specification parameters do not match, it will be recorded as failed; If the current matching time information is not within the range of the effective time information and the expiration time information, the matching result is recorded as abnormal and an early warning is output.

4. The MES-based automatic specification range matching method according to claim 3 is characterized in that: If the specification parameters do not match, it will be recorded as failed, including: If the specification parameters do not match, then the mismatch information and the test software shutdown warning are output; An emergency task is generated based on the mismatch information and the test software shutdown warning and displayed on the management background.

5. The MES-based automatic specification range matching method according to claim 4, characterized in that: Also includes: If the obtained matching rule is a custom matching rule; Acquire the added matching information, update the specification range rule matching parameter information according to the added matching information, and obtain a second specification range rule matching list; The specification parameters of the test item are matched according to the test item name information in combination with the second specification range rule matching list, and the matching result is recorded.

6. A specification range automatic matching system based on MES, characterized in that: The method comprises a memory and a processor, wherein the memory comprises a program of a method for automatically matching specification ranges based on MES, and when the method program for automatically matching specification ranges based on MES is executed by the processor, the following steps are implemented: Obtain specification range rule matching parameter information, including test item name information, matching rule number information, verification identification information, rule description information, extended parameter name information, effective time information and expiration time information, and generate a first specification range rule matching list; Obtain software parameter configuration list information and extract test item name information; According to the test item name information, obtain the corresponding matching rule number through the first specification range rule matching list; Matching the specification parameters of the test items according to the matching rule numbers, and recording the matching results; The matching of the test items with respect to the specification parameters according to the matching rule number and recording the matching result includes: Acquire verification identification information according to the matching rule number, including yes or no; If the verification identification information is no, the matching result is recorded as passed; If the verification identification information is yes, specification parameter matching is performed according to the matching rule number in combination with the first specification range rule matching list; The obtaining of the corresponding matching rule through the specification range rule matching list according to the name information also includes: Obtain the test specification information updated within the preset time period, extract the project number information, specification range list, and workstation code information of the test specification, and establish a test specification range list comparison table; According to the project number information and the workstation code information, a software parameter list of the latest version is obtained through a preset software release system; Extract the name information of the test items according to the test specification range list comparison table and the software parameter list; Also includes: Obtain the software parameter configuration information published by the user, extract the project number information, parameter configuration list information, and workstation code information of the software parameters; According to the project number information, the workstation code information and the parameter configuration list information, a reverse match is performed on the specification range parameters corresponding to the test specification, and the matching result is recorded.

7. The MES-based specification range automatic matching system according to claim 6, characterized in that: If the verification identification information is yes, matching specification parameters according to the matching rule number in combination with the first specification range rule matching list includes: Obtain rule description information, effective time information, and expiration time information according to the matching rule number; The test items are matched with specification parameters according to the rule description information, effective time information and expiration time information, and the matching results are recorded.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a method program for automatically matching specification ranges based on MES. When the method program for automatically matching specification ranges based on MES is executed by a processor, the steps of a method for automatically matching specification ranges based on MES as described in any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Parameter processing method and device, computing equipment and storage medium

    CN112308590A