A multi-protocol test platform based on configuration files and its test method

The multi-protocol test platform based on configuration files simplifies the detection environment construction and protocol consistency test business design, solves the problems of resource waste and complex environment construction in the existing technology, improves the degree of automation and R&D efficiency, and reduces costs and Risks of misinformation and omissions.

CN115550231BActive Publication Date: 2024-09-13XUCHANG KETOP DETECTION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210328765.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-31
Publication Date
2024-09-13
Estimated Expiration
2042-03-31

AI Technical Summary

Technical Problem

The existing IEC 61850 protocol conformance automatic test platform has problems with resource waste, complex environment construction, high development and maintenance costs, inability to manage uniformly, and misinformation and missing transmissions caused by manual report uploading in terms of protocol testing.

Method used

Provides a multi-protocol testing platform based on configuration files, obtains sample information through the commissioning system, parses protocol type identification, drives the communication module, loads model files, filters case plug-ins, builds a test environment, and generates reports and records compatible with multi-protocols.

Benefits of technology

It simplifies the construction of the testing environment, reduces the difficulty of protocol conformance test business design and development, improves automation and R&D efficiency, reduces labor and equipment costs, and improves work efficiency and platform scalability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115550231B
    Figure CN115550231B
Patent Text Reader

Abstract

A multi-protocol test platform based on configuration files and a test method thereof, comprising a commission system, obtaining sample information of a sample to be tested containing at least a protocol type identifier, and sending the sample information to the protocol consistency test platform; the protocol consistency test platform identifies the protocol type identifier in the received sample information, parses the protocol type identifier to obtain the configuration file parsing result, drives the communication module, loads the model file, screens the case plug-in, and constructs the information address table according to the configuration file parsing result to form a test environment, and transmits the test environment to a test device; the test device tests the sample under the test environment and returns the test result to the protocol consistency test platform, the protocol consistency test platform generates a report and record, and finally uploads the report and record to the commission system. The simplified detection environment of the present invention reduces the difficulty of designing and developing protocol consistency test services.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of protocol testing platforms, and in particular to a multi-protocol testing platform based on configuration files and a testing method thereof. Background Art

[0002] The existing IEC 61850 protocol conformance automatic test platform implements the UCA test case business run-in test based on the MMS protocol and IEC61850 standard. It can monitor, output and record the entire test process, has complete data, business management logic and a full set of intelligent testing ideas, and has a high degree of automation.

[0003] However, currently, protocol inspectors still receive samples through the entrusted system platform, manually identify the protocol type based on the sample information, conduct tests by selecting different test tools, and upload the generated reports and records to the entrusted system based on the final test results to complete the test.

[0004] In the existing testing methods, there are many types of protocol testing tools, the experimental environment is relatively complex to build, and the development and maintenance costs are high. The IEC 61850 protocol consistency test platform is highly targeted at the protocol, and the platform test can only complete the test work of one type of protocol, resulting in waste of resources and insufficient utilization, and the test platform cannot be managed uniformly. In addition, the test platform is independent of the commissioning system, and currently only samples can be received and report records uploaded manually, which can easily cause problems such as mistransmission and omission of reports and records.

[0005] Therefore, in view of the shortcomings of the prior art, it is necessary to provide a multi-protocol test platform and a test method based on a configuration file to solve the shortcomings of the prior art. Summary of the invention

[0006] One of the purposes of the present invention is to avoid the shortcomings of the prior art and provide a multi-protocol test platform based on configuration files. The multi-protocol test platform based on configuration files simplifies the construction of the detection environment and reduces the difficulty of designing and developing protocol consistency test services.

[0007] The above-mentioned purpose of the present invention is achieved by the following technical measures:

[0008] Provided is a multi-protocol test platform based on a configuration file, which is provided with a delegation system and a protocol consistency test platform.

[0009] The entrusting system obtains sample information of the sample to be tested, which at least contains a protocol type identifier, and sends the sample information to the protocol consistency testing platform.

[0010] The protocol consistency test platform identifies the protocol type identifier in the received sample information, parses the protocol type identifier to obtain the configuration file parsing result, drives the communication module, loads the model file, screens the case plug-in, and constructs the information address table according to the configuration file parsing result to form a test environment, and transmits the test environment requirements to the test device.

[0011] The test device tests the sample under the test environment and returns the test result to the protocol consistency test platform, the protocol consistency test platform generates a report and a record, and finally uploads the report and the record to the entrusted system.

[0012] Preferably, the above-mentioned protocol consistency test platform includes a sample receiving module, a sample management module, a configuration file parsing module, a model file loading module, a case library management module, an address information configuration module, a test control module, a communication module, a report record generation module and a report record sending module.

[0013] Preferably, the sample receiving module receives sample information of the sample to be tested, which at least contains a protocol type identifier, from the entrusting system, and sends the sample information to the sample management module.

[0014] Preferably, the sample management module performs information modification and improvement operations on the sample information, and sends the modified and improved sample information to the configuration file parsing module.

[0015] Preferably, the configuration file parsing module obtains the configuration file parsing result according to the protocol type identifier of the modified and improved sample information, and then sends the configuration file parsing result to the communication module, the model file loading module and the address information configuration module respectively.

[0016] Preferably, the model file loading module performs model file parsing according to the configuration file parsing result to obtain a model loading parsing result, and sends the model loading parsing result to the case library management module.

[0017] Preferably, the address information configuration module calls the corresponding address information configuration file for analysis according to the configuration file analysis result, obtains the address information analysis result, and sends the address information analysis result to the case library management module.

[0018] Preferably, the case library management module obtains case screening results by loading the protocol static configuration table, address information parsing results and model loading parsing results, and filtering case plug-ins, matching registration and case parameters from the test case library according to the mapping relationship between protocols, cases and case parameters, and sends the case screening results to the test control module.

[0019] Preferably, the above-mentioned test control module sends the case screening result to the communication module, the communication module determines the communication type and calls the corresponding serial port driver or Ethernet driver to complete the information communication interaction with the test device according to the parsing module processing result of the configuration file parsing module, the communication module sends the case screening result to the test device, the test device completes the test according to the case screening result, the communication module sends the test result obtained by the test device to the test control module, and the test control module sends the test result to the report record generation module.

[0020] Preferably, the above-mentioned report record generation module receives the test results sent by the test control module, selects the corresponding report and record template table and bookmark mapping table according to the protocol and template mapping relationship, automatically fills the test results to the corresponding position of the template file through the bookmark index, generates reports and records compatible with multiple protocols, and sends the reports and records to the report record sending module.

[0021] Preferably, the report record sending module sends the report and record of the report record generating module to the entrusting system.

[0022] Preferably, the above-mentioned configuration file parsing module parses the configuration file based on the protocol type information identifier in the modified and improved sample information sent by the sample management module, and obtains the configuration file parsing result, wherein the configuration file parsing result includes communication parameter configuration information, model configuration information and address information configuration information; then the configuration file parsing module sends the communication parameter configuration information to the communication module, sends the model configuration information to the model file loading module, and sends the address information configuration information to the address information configuration module.

[0023] Preferably, the configuration file parsing module matches the protocol type of the communication parameters in the configuration file according to the protocol type identifier, determines the network port or the serial port, and then obtains the communication parameter configuration information according to the network port or the serial port identifier.

[0024] When the communication parameter configuration information is serial port information, it includes port number, baud rate, check bit or stop bit; when the communication parameter configuration information is network port information, it includes IP and port information.

[0025] Preferably, the configuration file parsing module obtains the model configuration information by matching the protocol type identifier with the protocol type of the model loading parameter in the configuration file.

[0026] When the model loading flag ICDload_Flg is obtained as TRUE, the configuration file parsing module loads the model file, obtains the path of the ICD model file in the configuration file, defines the path of the ICD model file in the configuration file as the model configuration information, and then the configuration file parsing module sends the model configuration information to the model file loading module; when the model loading flag ICDload_Flg is obtained as FALSE, the configuration file parsing module does not load.

[0027] Preferably, the configuration file parsing module distinguishes the protocol type, automatically matches the protocol type identifier to obtain the address information configuration file path, and defines the address information configuration file path as the address information configuration information.

[0028] Preferably, the model file loading module parses the model file through the model configuration information to obtain a model loading and parsing result, and sends the model loading and parsing result to the case library management module.

[0029] Preferably, the address information configuration module performs analysis based on the address information configuration information to obtain an address information analysis result.

[0030] In the address information analysis result, the DL / T645 protocol is used as the information identifier, the Modbus protocol is the coil and register address, the 101 protocol and the 104 protocol are the information body address, and the address information configuration module sends the address information analysis result to the case library management module.

[0031] Preferably, the above-mentioned protocol static configuration table includes a Protocol table, a Case table, a CasePar table and a type description table, wherein the Protocol table is used to index the protocol type corresponding to the sample, the Case table is used to find the test case corresponding to the protocol type, and the CasePar table is used to find the corresponding case parameters.

[0032] Preferably, the above-mentioned bookmark mapping table includes a record bookmark table and a report bookmark table.

[0033] Preferably, the report bookmark table includes a sampleInfo table, a testItem_bookmark table, an internalcase_bookmark table and an addInfo_bookmark table.

[0034] Preferably, the above serial port driver is a 101 serial port driver, a Modbus serial port driver or a DL / T645 serial port driver.

[0035] Preferably, the Ethernet driver is a 61850 Ethernet driver or a 104 Ethernet driver.

[0036] Preferably, the above-mentioned sample information also includes at least one of sample number information, model information, name information, specification information, type information, entrusting unit information, manufacturer information, entrusting unit address information, contact information, telephone information, email information or inspection purpose information.

[0037] Another object of the present invention is to avoid the shortcomings of the prior art and provide a test method for a multi-protocol test platform based on a configuration file. The test method for a multi-protocol test platform based on a configuration file simplifies the construction of a detection environment and reduces the difficulty of designing and developing protocol consistency test services.

[0038] A test method for a multi-protocol test platform based on a configuration file is provided, and testing is performed using the multi-protocol test platform based on the configuration file.

[0039] The present invention discloses a multi-protocol test platform based on a configuration file and a test method thereof, comprising a commission system and a protocol consistency test platform; the commission system obtains sample information containing at least a protocol type identifier of a sample to be tested, and sends the sample information to the protocol consistency test platform; the protocol consistency test platform identifies the protocol type identifier in the received sample information, parses the protocol type identifier to obtain a configuration file parsing result, drives the communication module, loads the model file, screens the case plug-in, and constructs the information address table to form a test environment according to the configuration file parsing result, and transmits the test environment requirements to the test device; the test device tests the sample under the test environment and returns the test result to the protocol consistency test platform, the protocol consistency test platform generates a report and a record, and finally uploads the report and the record to the commission system. The simplified detection environment of the present invention reduces the difficulty of designing and developing the protocol consistency test business, and greatly improves the automation degree and R&D efficiency of the protocol test. At the same time, the present invention can also improve the scalability and business instantiation degree of the protocol test platform, reduce manpower and equipment costs, and ultimately improve work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The present invention is further described with reference to the accompanying drawings, but the contents in the accompanying drawings do not constitute any limitation to the present invention.

[0041] Figure 1 A schematic diagram of a multi-protocol test platform based on configuration files.

[0042] Figure 2 A schematic diagram of a configuration file-based multi-protocol test platform for multiple sample information.

[0043] Figure 3 The signal transmission diagram of a multi-protocol test platform based on configuration files. DETAILED DESCRIPTION

[0044] The technical solution of the present invention is further described in conjunction with the following embodiments.

[0045] Example 1.

[0046] A multi-protocol test platform based on configuration files, such as Figure 1 As shown, it includes a commissioned system and a protocol consistency test platform.

[0047] The entrusting system obtains sample information of the sample to be tested, which at least contains the protocol type identifier, and sends the sample information to the protocol consistency testing platform.

[0048] The protocol consistency test platform identifies the protocol type identifier in the received sample information, parses the protocol type identifier to obtain the configuration file parsing result, drives the communication module, loads the model file, screens the case plug-in, and constructs the information address table according to the configuration file parsing result to form a test environment, and transmits the test environment requirements to the test device.

[0049] The test device tests the sample under the test environment and returns the test results to the protocol consistency test platform. The protocol consistency test platform generates reports and records, and finally uploads the reports and records to the entrusted system.

[0050] It should be noted that the sample information of the entrustment system of the present invention may be a single sample information or may be a case where there are multiple sample information.

[0051] When there are multiple sample information, the protocol consistency test platform parses the protocol type identifier in each sample information to obtain multiple test environments corresponding to each sample information. Each corresponding test device tests the corresponding sample according to the test environment requirements, such as Figure 2 .

[0052] It should be noted that when the protocol consistency test platform receives multiple sample information, it can parse and process the test environment corresponding to each sample in turn according to the order of the received sample information and the protocol type identifier in each sample information, or it can simultaneously process in parallel according to the protocol type identifiers in multiple sample information to synchronously obtain the test environment corresponding to each sample.

[0053] The protocol consistency test platform can input the test environment requirements of the first processed sample into the test device according to the processing order of multiple sample information, and after the test of this test device is completed; then input the test environment requirements of the next sample to be processed into the test device, and perform the test of this sample, ..., and complete the test of multiple samples in sequence. The protocol consistency test platform also simultaneously inputs the sample test environment requirements corresponding to the multiple sample information into the corresponding test devices, so that each test device tests each sample separately according to the test environment corresponding to the sample to be tested.

[0054] The protocol consistency test platform of the present invention includes a sample receiving module, a sample management module, a configuration file parsing module, a model file loading module, a case library management module, an address information configuration module, a test control module, a communication module, a report record generating module and a report record sending module. Figure 3 shown.

[0055] The sample receiving module receives sample information of the sample to be tested, which at least contains the protocol type identifier, from the entrusting system, and sends the sample information to the sample management module.

[0056] The sample management module modifies and improves the sample information, and sends the modified and improved sample information to the configuration file parsing module.

[0057] It should be noted that the sample management module of the present invention modifies and improves the sample information because the sample information is brought in by the entrusting system. The customer service may fill in incomplete or incorrect sample information, and the sample management module performs a series of modification and improvement operations such as checking, adding, deleting or modifying the sample information, thereby ensuring the correctness of the sample information in the report and record issued by the protocol consistency test platform.

[0058] Among them, the configuration file parsing module obtains the configuration file parsing result according to the protocol type identification of the modified and improved sample information, and then sends the configuration file parsing result to the communication module, the model file loading module and the address information configuration module respectively.

[0059] The model file loading module performs model file parsing according to the parsing result of the configuration file, obtains the model loading parsing result, and sends the model loading parsing result to the case library management module.

[0060] The address information configuration module calls the corresponding address information configuration file for parsing according to the parsing result of the configuration file, obtains the address information parsing result, and sends the address information parsing result to the case library management module.

[0061] Among them, the case library management module loads the protocol static configuration table, address information parsing results and model loading parsing results, and according to the mapping relationship between protocols, cases and case parameters, it filters case plug-ins from the test case library, matches registration and case parameters, obtains case screening results, and sends the case screening results to the test control module.

[0062] The test control module sends the case screening results to the communication module. The communication module determines the communication type and calls the corresponding serial port driver or Ethernet driver to complete the information communication interaction with the test device based on the parsing module processing results of the configuration file parsing module. The communication module sends the case screening results to the test device. The test device completes the test based on the case screening results. The communication module sends the test results obtained by the test device to the test control module. The test control module sends the test results to the report record generation module.

[0063] Among them, the report record generation module receives the test results sent by the test control module, selects the corresponding report and record template table and bookmark mapping table according to the protocol and template mapping relationship, indexes the test results to the corresponding position of the template file through the bookmark for automatic filling, generates reports and records compatible with multiple protocols, and sends the reports and records to the report record sending module.

[0064] Among them, the report record sending module sends the report and records of the report record generating module to the entrusting system.

[0065] The configuration file parsing module of the present invention parses the configuration file based on the protocol type information identifier in the modified and improved sample information sent by the sample management module, and obtains the configuration file parsing result, wherein the configuration file parsing result includes communication parameter configuration information, model configuration information and address information configuration information; then the configuration file parsing module sends the communication parameter configuration information to the communication module, sends the model configuration information to the model file loading module, and sends the address information configuration information to the address information configuration module.

[0066] The configuration file parsing module matches the protocol type of the communication parameters in the configuration file according to the protocol type identifier, determines the network port or the serial port, and then obtains the communication parameter configuration information according to the network port or the serial port identifier.

[0067] When the communication parameter configuration information is serial port information, it includes port number, baud rate, check bit or stop bit; when the communication parameter configuration information is network port information, it includes IP and port information.

[0068] The configuration file parsing module obtains the model configuration information by matching the protocol type identifier with the protocol type of the model loading parameter in the configuration file.

[0069] When the model loading flag ICDload_Flg is obtained as TRUE, the configuration file parsing module loads the model file and obtains the path of the ICD model file in the configuration file, defines the path of the ICD model file in the configuration file as the model configuration information, and then the configuration file parsing module sends the model configuration information to the model file loading module; when the model loading flag ICDload_Flg is obtained as FALSE, the configuration file parsing module does not load.

[0070] The configuration file parsing module distinguishes the protocol type, automatically matches the protocol type identifier to obtain the address information configuration file path, and defines the address information configuration file path as the address information configuration information.

[0071] Specifically, the model file loading module parses the model file according to the model configuration information, obtains the model loading parsing result, and sends the model loading parsing result to the case library management module.

[0072] Specifically, the address information configuration module calls the corresponding address information configuration file for parsing according to the address information configuration information to obtain the address information parsing result. In the address information parsing result, the DL / T645 protocol is used as the information identifier, the Modbus protocol is the coil and register address, the 101 protocol and the 104 protocol are the information body address, and the address information configuration module sends the address information parsing result to the case library management module.

[0073] The protocol static configuration table of the present invention is the SYSTEM_TESTCASE_MAP_STATIC_PARAMETER table.

[0074] The protocol static configuration table includes the Protocol table, Case table, CasePar table and type description table, wherein the Protocol table is used to index the protocol type corresponding to the sample, the Case table is used to find the test case corresponding to the protocol type, and the CasePar table is used to find the corresponding case parameters.

[0075] The bookmark mapping table of the present invention includes a record bookmark table and a report bookmark table, wherein the record bookmark table is SYSTEM_TEST_RECORD_BASECASE_BOOKMARK and the report bookmark table is SYSTEM_TEST_REPORT_BASECASE_BOOKMARK. The report bookmark table of the present invention includes a sampleInfo table, a testItem_bookmark table, an internalcase_bookmark table and an addInfo_bookmark table.

[0076] It should be noted that the sampleInfo table, testItem_bookmark table, internalcase_bookmark table and addInfo_bookmark table of the present invention respectively complete the indexing of the report cover page, summary table part, detailed test items and results part and additional information part in the report and record.

[0077] The serial port driver of the present invention is a 101 serial port driver, a Modbus serial port driver or a DL / T645 serial port driver; the Ethernet driver is a 61850 Ethernet driver or a 104 Ethernet driver. The sample information also includes at least one of sample number information, model information, name information, specification information, type information, entrusting unit information, manufacturer information, entrusting unit address information, contact information, telephone information, email information or inspection purpose information. The configuration file is a ProtocolInfo file.

[0078] The multi-protocol test platform based on configuration files simplifies the construction of the detection environment, reduces the difficulty of designing and developing the protocol consistency test service, and greatly improves the automation level and R&D efficiency of the protocol test. At the same time, the present invention can also improve the scalability and service instantiation level of the protocol test platform, reduce manpower and equipment costs, and ultimately improve work efficiency. The multi-protocol test platform based on configuration files of the present invention has the characteristics of low development difficulty, strong maintainability, easy expansion and easy reuse, and can well solve the requirements of low coupling and high cohesion in large-scale software development.

[0079] Example 2.

[0080] A test method for a multi-protocol test platform based on a configuration file, using the multi-protocol test platform based on a configuration file of Example 1 for testing.

[0081] The test method of the multi-protocol test platform based on the configuration file simplifies the construction of the detection environment, reduces the difficulty of designing and developing the protocol consistency test service, and greatly improves the automation level and R&D efficiency of the protocol test. At the same time, the present invention can also improve the scalability and service instantiation level of the protocol test platform, reduce manpower and equipment costs, and ultimately improve work efficiency. The multi-protocol test platform based on the configuration file of the present invention has the characteristics of low development difficulty, strong maintainability, easy expansion and easy reuse, and can well solve the requirements of low coupling and high cohesion in large-scale software development.

[0082] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit the scope of protection of the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the essence and scope of the technical solution of the present invention.

Claims

1. A multi-protocol test platform based on configuration files, characterized in that: A commissioning system and a protocol consistency testing platform are set up; The entrusting system obtains sample information of the sample to be tested, which at least contains a protocol type identifier, and sends the sample information to the protocol consistency testing platform; The protocol consistency test platform identifies the protocol type identifier in the received sample information, parses the protocol type identifier to obtain the configuration file parsing result, drives the communication module, loads the model file, screens the case plug-in, and constructs the information address table to form a test environment according to the configuration file parsing result, and transmits the test environment requirements to the test device; The test device tests the sample under the test environment and returns the test result to the protocol consistency test platform, the protocol consistency test platform generates a report and a record, and finally uploads the report and the record to the entrusting system; The protocol consistency test platform includes a sample receiving module, a sample management module, a configuration file parsing module, a model file loading module, a case library management module, an address information configuration module, a test control module, a communication module, a report record generating module and a report record sending module; The sample receiving module receives sample information of the sample to be tested, which at least contains a protocol type identifier, from the entrusting system, and sends the sample information to the sample management module; The sample management module modifies and improves the sample information, and sends the modified and improved sample information to the configuration file parsing module; The configuration file parsing module obtains the configuration file parsing result according to the protocol type identifier of the modified and improved sample information, and then sends the configuration file parsing result to the communication module, the model file loading module and the address information configuration module respectively; The model file loading module performs model file parsing according to the configuration file parsing result, obtains the model loading parsing result, and sends the model loading parsing result to the case library management module; The address information configuration module calls the corresponding address information configuration file for parsing according to the configuration file parsing result, obtains the address information parsing result, and sends the address information parsing result to the case library management module; The case library management module obtains case screening results by loading the protocol static configuration table, address information parsing results and model loading parsing results, and according to the protocol, case and case parameter mapping relationship, screens case plug-ins from the test case library, matches registration and case parameters, and sends the case screening results to the test control module; The protocol static configuration table includes a Protocol table, a Case table, a CasePar table and a type description table, wherein the Protocol table is used to index the protocol type corresponding to the sample, the Case table is used to find the test case corresponding to the protocol type, and the CasePar table is used to find the corresponding case parameters; The test control module sends the case screening result to the communication module, the communication module determines the communication type and calls the corresponding serial port driver or Ethernet driver to complete the information communication interaction with the test device according to the analysis module processing result of the configuration file analysis module, the communication module sends the case screening result to the test device, the test device completes the test according to the case screening result, the communication module sends the test result obtained by the test device to the test control module, and the test control module sends the test result to the report record generation module; The report record generation module receives the test results sent by the test control module, selects the corresponding report and record template table and bookmark mapping table according to the protocol and template mapping relationship, automatically fills the test results to the corresponding position of the template file through the bookmark index, generates a report and record compatible with multiple protocols, and sends the report and record to the report record sending module; The report record sending module sends the report and record of the report record generating module to the entrusting system.

2. The multi-protocol test platform based on configuration files according to claim 1, characterized in that: The configuration file parsing module parses the configuration file according to the protocol type information identifier in the modified and improved sample information sent by the sample management module, and obtains the configuration file parsing result, wherein the configuration file parsing result includes communication parameter configuration information, model configuration information and address information configuration information; then the configuration file parsing module sends the communication parameter configuration information to the communication module, sends the model configuration information to the model file loading module, and sends the address information configuration information to the address information configuration module.

3. The multi-protocol test platform based on configuration files according to claim 2, characterized in that: The configuration file parsing module matches the protocol type of the communication parameters in the configuration file according to the protocol type identifier, determines the network port or the serial port, and then obtains the communication parameter configuration information according to the network port or the serial port identifier; When the communication parameter configuration information is serial port information, it includes port number, baud rate, check bit or stop bit; when the communication parameter configuration information is network port information, it includes IP and port information; The configuration file parsing module obtains the model configuration information according to the matching of the protocol type identifier with the protocol type of the model loading parameter in the configuration file; When the model loading flag ICDload_Flg is obtained as TRUE, the configuration file parsing module loads the model file, obtains the path of the ICD model file in the configuration file, defines the path of the ICD model file in the configuration file as the model configuration information, and then the configuration file parsing module sends the model configuration information to the model file loading module; when the model loading flag ICDload_Flg is obtained as FALSE, the configuration file parsing module does not load; The configuration file parsing module distinguishes the protocol type, and the configuration file parsing module automatically matches and obtains the address information configuration file path through the protocol type identifier, and defines the address information configuration file path as the address information configuration information.

4. The multi-protocol test platform based on configuration files according to claim 3, characterized in that: The model file loading module performs model file parsing according to the model configuration information, obtains the model loading parsing result, and sends the model loading parsing result to the case library management module.

5. The multi-protocol test platform based on configuration files according to claim 4 is characterized in that: The address information configuration module performs parsing according to the address information configuration information to obtain the address information parsing result; The address information configuration module sends the address information parsing result to the case library management module.

6. The multi-protocol test platform based on configuration files according to claim 5, characterized in that: The bookmark mapping table includes a record bookmark table and a report bookmark table.

7. The multi-protocol test platform based on configuration files according to claim 6, characterized in that: The serial port driver is a 101 serial port driver, a Modbus serial port driver or a DL / T645 serial port driver; The Ethernet driver is a 61850 Ethernet driver or a 104 Ethernet driver; The sample information also includes at least one of sample number information, model information, name information, specification information, type information, entrusting unit information, manufacturer information, entrusting unit address information, contact information, telephone information, email information or inspection purpose information.

8. A test method for a multi-protocol test platform based on a configuration file, characterized in that: The test is performed using the configuration file-based multi-protocol test platform as described in any one of claims 1 to 7.