CN110138613B - Network test template construction method, power network test method and related device - Google Patents

Network test template construction method, power network test method and related device Download PDF

Info

Publication number
CN110138613B
CN110138613B CN201910409904.2A CN201910409904A CN110138613B CN 110138613 B CN110138613 B CN 110138613B CN 201910409904 A CN201910409904 A CN 201910409904A CN 110138613 B CN110138613 B CN 110138613B
Authority
CN
China
Prior art keywords
test
information
network
template
testing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910409904.2A
Other languages
Chinese (zh)
Other versions
CN110138613A (en
Inventor
张延旭
高雅
胡春潮
冯善强
何英发
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Power Grid Co Ltd
Electric Power Research Institute of Guangdong Power Grid Co Ltd
Original Assignee
Guangdong Power Grid Co Ltd
Electric Power Research Institute of Guangdong Power Grid Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Power Grid Co Ltd, Electric Power Research Institute of Guangdong Power Grid Co Ltd filed Critical Guangdong Power Grid Co Ltd
Priority to CN201910409904.2A priority Critical patent/CN110138613B/en
Publication of CN110138613A publication Critical patent/CN110138613A/en
Application granted granted Critical
Publication of CN110138613B publication Critical patent/CN110138613B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/14Arrangements for monitoring or testing data switching networks using software, i.e. software packages

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Automation & Control Theory (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a network test template construction method, a power network test method and a related device, wherein the network test template construction method comprises the following steps: acquiring an evaluation specification file of the power network equipment; through a text recognition mode, recognizing preset fields in the power network equipment evaluation specification file, and extracting file content information corresponding to key fields, wherein the file content information comprises: the method comprises the following steps of testing project information, testing interface information, testing configuration parameter information, testing index information and index type information; and creating a network test template according to the file content information, and associating each test item of the network test template with each interface of the test tool software one by one according to the test interface information. All test contents can be automatically connected with corresponding test software for testing according to the network test template, so that the human factors of the test are reduced to the greatest extent, and the technical problem that the accuracy of the test result is influenced due to higher human operation error rate is solved.

Description

Network test template construction method, power network test method and related device
Technical Field
The present application relates to the field of device operation and maintenance, and in particular, to a network test template construction method, a power network test method, and a related device.
Background
With the rapid development of information and communication technologies in recent years, various services of the power grid increasingly depend on the network, such as various services of protection, automation, metering, online monitoring and the like, and if the network has problems, the key services of the power grid can be seriously affected.
In order to ensure the safety and stability of the power network, a manager must regularly test the power network equipment according to the standard of the power network test, however, with the continuous innovation of the technology, the standard of the power network test is continuously changed, and every time a new standard of the test specification is provided, the manager needs to manually input test parameters according to the latest standard of the test, so that the risk of human operation errors is high.
Disclosure of Invention
The application provides a network test template construction method, a power network test method and a related device, which are used for solving the technical problem that at present, when a new test standard is provided, a manager needs to manually input test parameters according to the latest standard for testing, and the risk of human misoperation is high.
In view of this, the first aspect of the present application provides a method for constructing a network test template, including:
acquiring an evaluation specification file of the power network equipment;
identifying fields preset in the power network equipment evaluation specification file in a text identification mode, and extracting file content information corresponding to the key fields, wherein the file content information comprises: the method comprises the following steps of testing project information, testing interface information, testing configuration parameter information, testing index information and index type information;
and creating a network test template according to the file content information, and associating each test item of the network test template with each interface of the test tool software one by one according to the test interface information.
Preferably, identifying a key field in the power network device evaluation specification file by a text identification method, and extracting file content information corresponding to the key field specifically includes:
identifying a primary field preset in the power network equipment evaluation specification file, determining test item information corresponding to the primary field, and extracting file content information corresponding to the primary field;
and deeply identifying the lower-level field corresponding to the first-level field according to the extracted file content information, and determining and extracting test software interface information, test configuration parameter information, test index information and index type information corresponding to the test item.
Preferably, the index types include: quantitative indicators and non-quantitative indicators.
Preferably, the test items include: network storm suppression, Virtual Local Area Network (VLAN), priority QoS, port mirroring, static multicasting, GMRP testing, SNTP time synchronization accuracy, time delay jitter, back-to-back frames, PTP time synchronization, flow control, exchange delay accumulation, throughput, store-and-forward rate, address caching capability, store-and-forward delay, frame loss rate and head of line blocking.
The second aspect of the present application provides a power network testing method based on a network testing template, including:
establishing communication connection with each testing software according to the one-to-one incidence relation between each testing item of the network testing template and each interface of the testing tool software, wherein the network testing template is established by the network testing template establishing method provided by the first aspect of the application;
extracting test configuration parameter information in the network test template, and sending the test configuration parameter information to corresponding test software one by one, so that each test software generates a test message according to the test configuration parameter information to test the power network;
receiving a test result returned by each piece of test software, and writing the test result into each text control in the network test template;
and converting the network test template into a document file with a preset format by a visual editing tool, and outputting the document file.
A third aspect of the present application provides a network test template constructing apparatus, including:
the standard file acquisition unit is used for acquiring an evaluation standard file of the power network equipment;
the text recognition unit is used for recognizing preset fields in the power network equipment evaluation specification file in a text recognition mode and extracting file content information corresponding to the key fields, wherein the file content information comprises: the method comprises the following steps of testing project information, testing interface information, testing configuration parameter information, testing index information and index type information;
and the test interface association unit is used for creating a network test template according to the file content information and associating each test item of the network test template with each interface of the test tool software one by one according to the test interface information.
Preferably, the text recognition unit is specifically configured to:
identifying a primary field preset in the power network equipment evaluation specification file, determining test item information corresponding to the primary field, and extracting file content information corresponding to the primary field;
and deeply identifying the lower-level field corresponding to the first-level field according to the extracted file content information, and determining and extracting test software interface information, test configuration parameter information, test index information and index type information corresponding to the test item.
Preferably, the index types include: quantitative indicators and non-quantitative indicators.
Preferably, the test items include: network storm suppression, Virtual Local Area Network (VLAN), priority QoS, port mirroring, static multicasting, GMRP testing, SNTP time synchronization accuracy, time delay jitter, back-to-back frames, PTP time synchronization, flow control, exchange delay accumulation, throughput, store-and-forward rate, address caching capability, store-and-forward delay, frame loss rate and head of line blocking.
The present application fourth aspect provides a power network testing device based on network testing template, including:
the test connection unit is used for establishing communication connection with each piece of test software according to the one-to-one incidence relation between each test item of the network test template and the interface of each piece of test tool software;
the test parameter sending unit is used for extracting the test configuration parameter information in the network test template and sending the test configuration parameter information to corresponding test software one by one, so that each test software generates a test message according to the test configuration parameter information and tests the power network;
the test result receiving unit is used for receiving the test results returned by the test software and writing the test results into the text controls in the network test template;
and the test report visualization unit is used for converting the network test template into a document file with a preset format through a visualization editing tool and outputting the document file.
According to the technical scheme, the method has the following advantages:
the application provides a network test template construction method, which comprises the following steps: acquiring an evaluation specification file of the power network equipment; identifying preset fields in the power network equipment evaluation specification file in a text identification mode, and extracting file content information corresponding to the key fields, wherein the file content information comprises: the method comprises the following steps of testing project information, testing interface information, testing configuration parameter information, testing index information and index type information; and creating a network test template according to the file content information, and associating each test item of the network test template with the interface of each test tool software one by one according to the test interface information.
According to the method, a text recognition mode is adopted, the issued power network test specification file is subjected to text recognition, corresponding test items and test related information are extracted, a network test template is established according to the extracted information, and each test item of the network test template is in one-to-one association with an interface of each test tool software, so that all test contents can be automatically connected with corresponding test software according to the network test template for testing, the test human factors are reduced to the greatest extent, and the technical problem that the accuracy of a test result is influenced due to high human operation error rate is solved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a network test template building method according to a first embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a power network testing method based on a network testing template according to the present application;
fig. 3 is a schematic structural diagram of a network test template building apparatus according to a first embodiment of the present application;
fig. 4 is a schematic structural diagram of a power network testing apparatus based on a network testing template according to a first embodiment of the present disclosure.
Detailed Description
The embodiment of the application provides a network test template construction method, a power network test method and a related device, which are used for solving the technical problem that at present, when a new test standard is provided, a manager needs to manually input test parameters according to the latest standard to perform a test, and the risk of manual misoperation is high.
In order to make the objects, features and advantages of the present invention more apparent and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the embodiments described below are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, an embodiment of the present application provides a method for constructing a network test template, including:
step 101, obtaining an evaluation specification file of the power network equipment.
It should be noted that, after the evaluation specification file of the power network device issued by the upper unit is acquired, the text file is imported into the template construction system through the corresponding interface, so as to execute the process of step 102.
The evaluation specification file of the power network equipment in the embodiment includes, but is not limited to, industry standard "test specification of ethernet switches of intelligent substations", test specification of relevant switches of southern power grids and national power grids, and the like, and the supported specification formats are DOC and PDF.
And 102, identifying preset fields in the power network equipment evaluation specification file in a text identification mode, and extracting file content information corresponding to key fields.
Wherein, the file content information includes: the method comprises the following steps of testing project information, testing interface information, testing configuration parameter information, testing index information and index type information.
It should be noted that after the evaluation specification file of the power network device is obtained, a text recognition algorithm is adopted to search the specific field, and then the content of the specific field is extracted. And the identification field is further positioned according to the sequence of identification.
More specifically, a first-level field preset in the power network equipment evaluation specification file is identified, test item information corresponding to the first-level field is determined, and file content information corresponding to the first-level field is extracted.
Wherein, the primary field of this embodiment includes: the method comprises at least one of network storm suppression, virtual local area network VLAN, priority QoS, port mirroring, static multicast, GMRP test, SNTP time synchronization accuracy, time delay jitter, back-to-back frames, PTP time synchronization, flow control, exchange delay accumulation, throughput, store-and-forward rate, address caching capacity, store-and-forward delay, frame loss rate and head-of-line blocking.
And deeply identifying the lower-level field corresponding to the first-level field according to the extracted file content information, and determining and extracting test software interface information, test configuration parameter information, test index information and index type information corresponding to the test item.
It should be noted that, in the extraction process, first-level fields are identified, then the test items are further identified, next more specific content identification is performed through identification of lower-level fields corresponding to the first-level fields, and then corresponding parameters, pictures and other test related content are extracted. Wherein, the lower field in this embodiment includes: the system comprises a second-level field and a third-level field, wherein the second-level field is the specific test content of the test item of the first-level field and comprises the information of a test software tool and interface information; the specific test information of the test content of which the third-level field is the second-level field comprises the following steps: test configuration parameter information, test index information, and index type information.
Step 103, creating a network test template according to the file content information, and associating each test item of the network test template with each interface of the test tool software one by one according to the test interface information.
It should be noted that, a network test template is generated according to the test-related information extracted from the test specification in step 102, and the generated template may include the following information:
1) the test environment connection mode is as follows: the part of content is directly extracted from a test environment diagram in the test specification and is used as content which is visually displayed to a tester in the test template;
2) testing configuration parameters: the test parameters are acquired from the content extraction module by the template automatic generation module, and can be extracted and sent to a test software tool to generate a test message without manually filling when network test is carried out;
3) and (3) testing: the part of content is directly extracted from the testing step in the testing specification and is used as the content which is visually displayed to a tester in the testing template;
4) the expected results are: the result content which can be quantitatively evaluated can be directly obtained from the content extraction module and can be used for comparing with the output result of the test; for the result which cannot be quantitatively evaluated, the part of the content is directly extracted from the expected result of the test in the test specification and is used as the content which is visually shown to the tester in the test template.
5) The text control can write data into the control, for the test item which can be quantitatively evaluated, the comparison result after the output result of the test is compared with the expected result can be written into the text control, and for the result which can not be quantitatively evaluated, the test result can be directly written into the text control, so that a tester can analyze the test result.
According to the embodiment of the application, a text recognition mode is adopted, the issued power network test specification file is subjected to text recognition, corresponding test items and test related information are extracted, a network test template is established according to the extracted information, and each test item of the network test template is associated with the interface of each test tool software one by one, so that all test contents can be automatically connected with corresponding test software according to the network test template for testing, the test human factors are reduced to the greatest extent, and the technical problem that the accuracy of a test result is influenced due to high human operation error rate is solved.
The above is a detailed description of a first embodiment of a method for constructing a network test template provided by the present application, and the following is a detailed description of a first embodiment of a method for testing a power network based on a network test template provided by the present application.
Referring to fig. 2, an embodiment of the present application provides a power network testing method based on a network testing template, including:
step 201, establishing communication connection with each testing software according to the one-to-one incidence relation between each testing item of the network testing template and the interface of each testing tool software.
It should be noted that, after the network test is triggered, the system will detect whether each test software is in an online state according to the association relationship between the network test template and each related function in the existing test tool, and if so, establish a communication connection with each test software. And then the test parameters extracted by the content extraction module are directly input into the test software without manual operation, so that all test contents can be automatically carried out according to the test template, and the test result is automatically compared with the expected result.
Step 202, extracting the test configuration parameter information in the network test template, and sending the test configuration parameter information to the corresponding test software one by one, so that each test software generates a test message according to the test configuration parameter information, and tests the power network.
And 203, receiving the test result returned by each piece of test software, and writing the test result into each text control in the network test template.
It should be noted that, after the test project is completed, the result output by the test is directly compared with the expected test result extracted from the content extraction module, whether the test meets the specification requirement is automatically judged, and the comparison result is written into the text control for storage.
And if the test item is a test item with an unquantized result, directly writing the test result into the text control for storage, so that later testers can analyze the test result in the test template as a prediction result visually displayed to the testers.
And step 204, converting the network test template into a document file with a preset format through a visual editing tool, and outputting the document file.
It should be noted that, the network test template storing the test result may be converted into a document file with a preset format by a visual editing tool, and the document file is output, where the preset format supports doc and PDF.
By the power network testing method, the testing efficiency is improved by 70% compared with the prior art, and the cost of acceptance work is effectively reduced.
The above is a detailed description of the power network testing method based on the network testing template provided by the present application, and the following is a detailed description of a first embodiment of a network testing template constructing apparatus provided by the present application.
Referring to fig. 3, the present application provides a network test template constructing apparatus, including:
a specification file obtaining unit 301, configured to obtain an evaluation specification file of the power network device;
a text recognition unit 302, configured to recognize, in a text recognition manner, a preset field in the power network device evaluation specification file, and extract file content information corresponding to the key field, where the file content information includes: the method comprises the following steps of testing project information, testing interface information, testing configuration parameter information, testing index information and index type information;
and the test interface association unit 303 is configured to create a network test template according to the file content information, and associate each test item of the network test template with each interface of the test tool software one by one according to the test interface information.
Preferably, the text recognition unit 302 is specifically configured to:
identifying a first-level field preset in the power network equipment evaluation specification file, determining test item information corresponding to the first-level field, and extracting file content information corresponding to the first-level field;
and deeply identifying a lower field corresponding to the first-level field according to the extracted file content information, and determining and extracting test software interface information, test configuration parameter information, test index information and index type information corresponding to a test project.
The above is a detailed description of a network test template construction apparatus provided in the present application, and the following is a detailed description of an embodiment of a power network test apparatus based on a network test template provided in the present application.
Referring to fig. 4, an embodiment of the present application provides a power network testing apparatus based on a network testing template, including:
the test connection unit 401 is configured to establish communication connection with each test software according to a one-to-one association relationship between each test item of the network test template and an interface of each test tool software;
a test parameter sending unit 402, configured to extract test configuration parameter information in the network test template, and send the test configuration parameter information to corresponding test software one by one, so that each test software generates a test packet according to the test configuration parameter information, and tests the power network;
a test result receiving unit 403, configured to receive a test result returned by each piece of test software, and write the test result into each text control in the network test template;
and the test report visualization unit 404 is configured to convert the network test template into a document file in a preset format through a visualization editing tool, and output the document file.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The terms "first," "second," "third," "fourth," and the like (if any) in the description of the present application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is substantially or partly contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (8)

1. A network test template construction method is characterized by comprising the following steps:
acquiring an evaluation specification file of the power network equipment;
identifying key fields preset in the power network equipment evaluation specification file in a text identification mode, and extracting file content information corresponding to the key fields, wherein the file content information comprises: the method comprises the following steps of testing project information, testing software interface information, testing configuration parameter information, testing index information and index type information; wherein, the extracting of the file content information corresponding to the key field specifically includes:
identifying a primary field preset in the power network equipment evaluation specification file, and determining and extracting test item information corresponding to the primary field;
deeply identifying a lower field corresponding to the first-level field according to the test item information, and determining and extracting the test software interface information, the test configuration parameter information, the test index information and the index type information corresponding to the test item information;
the lower field includes: a secondary field and a tertiary field; the second-level field is specific test content of the test item information of the first-level field, and the test content comprises the test software interface information; the third-level field is specific test information of the test content of the second-level field, and the test information comprises: the test configuration parameter information, the test index information and the index type information; creating a network test template according to the file content information, and associating each test item of the network test template with each interface of the test tool software one by one according to the test software interface information;
and generating a network test template according to the test software interface information, the test configuration parameter information, the test index information and the index type information, wherein the network test template comprises a test environment connection mode, test configuration parameters, test steps, expected results and a text control.
2. The method of claim 1, wherein the indicator types include: quantitative indicators and non-quantitative indicators.
3. The method of claim 1, wherein the test items comprise: network storm suppression, Virtual Local Area Network (VLAN), priority QoS, port mirroring, static multicasting, GMRP testing, SNTP time synchronization accuracy, time delay jitter, back-to-back frames, PTP time synchronization, flow control, exchange delay accumulation, throughput, store-and-forward rate, address caching capability, store-and-forward delay, frame loss rate and head of line blocking.
4. A power network test method based on a network test template is characterized by comprising the following steps:
establishing communication connection with each testing tool software according to the one-to-one incidence relation between each testing item of a network testing template and the interface of each testing tool software, wherein the network testing template is established by the network testing template establishing method of any one of claims 1 to 3;
extracting test configuration parameter information in the network test template, and sending the test configuration parameter information to corresponding test tool software one by one, so that each test tool software generates a test message according to the test configuration parameter information to test the power network;
receiving test results returned by each piece of test tool software, and writing the test results into each text control in the network test template;
and converting the network test template into a document file with a preset format by a visual editing tool, and outputting the document file.
5. A network test template construction apparatus, comprising:
the standard file acquisition unit is used for acquiring an evaluation standard file of the power network equipment;
the text recognition unit is used for recognizing preset key fields in the power network equipment evaluation specification file in a text recognition mode and extracting file content information corresponding to the key fields, wherein the file content information comprises: the method comprises the following steps of testing project information, testing software interface information, testing configuration parameter information, testing index information and index type information; wherein, the extracting of the file content information corresponding to the key field specifically includes:
identifying a primary field preset in the power network equipment evaluation specification file, and determining and extracting test item information corresponding to the primary field;
deeply identifying a lower field corresponding to the first-level field according to the test item information, and determining and extracting the test software interface information, the test configuration parameter information, the test index information and the index type information corresponding to the test item information;
the lower field includes: a secondary field and a tertiary field; the second-level field is specific test content of the test item information of the first-level field, and the test content comprises the test software interface information; the third-level field is specific test information of the test content of the second-level field, and the test information comprises: the test configuration parameter information, the test index information and the index type information;
the test interface association unit is used for creating a network test template according to the file content information and associating each test item of the network test template with each interface of the test tool software one by one according to the test software interface information;
and generating a network test template according to the test software interface information, the test configuration parameter information, the test index information and the index type information, wherein the network test template comprises a test environment connection mode, test configuration parameters, test steps, expected results and a text control.
6. The apparatus of claim 5, wherein the indicator types comprise: quantitative indicators and non-quantitative indicators.
7. The apparatus of claim 5, wherein the test items comprise: network storm suppression, Virtual Local Area Network (VLAN), priority QoS, port mirroring, static multicasting, GMRP testing, SNTP time synchronization accuracy, time delay jitter, back-to-back frames, PTP time synchronization, flow control, exchange delay accumulation, throughput, store-and-forward rate, address caching capability, store-and-forward delay, frame loss rate and head of line blocking.
8. A power network testing device based on a network testing template is characterized by comprising:
a test connection unit, configured to establish communication connection with each piece of test tool software according to a one-to-one association relationship between each test item of a network test template and an interface of each piece of test tool software, where the network test template is constructed by the network test template construction method according to any one of claims 1 to 3;
the test parameter sending unit is used for extracting the test configuration parameter information in the network test template and sending the test configuration parameter information to corresponding test tool software one by one, so that each test tool software generates a test message according to the test configuration parameter information to test the power network;
the test result receiving unit is used for receiving the test results returned by the test tool software and writing the test results into the text controls in the network test template;
and the test report visualization unit is used for converting the network test template into a document file with a preset format through a visualization editing tool and outputting the document file.
CN201910409904.2A 2019-05-16 2019-05-16 Network test template construction method, power network test method and related device Active CN110138613B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910409904.2A CN110138613B (en) 2019-05-16 2019-05-16 Network test template construction method, power network test method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910409904.2A CN110138613B (en) 2019-05-16 2019-05-16 Network test template construction method, power network test method and related device

Publications (2)

Publication Number Publication Date
CN110138613A CN110138613A (en) 2019-08-16
CN110138613B true CN110138613B (en) 2022-06-14

Family

ID=67574729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910409904.2A Active CN110138613B (en) 2019-05-16 2019-05-16 Network test template construction method, power network test method and related device

Country Status (1)

Country Link
CN (1) CN110138613B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112672370B (en) * 2020-12-23 2023-03-31 中移(杭州)信息技术有限公司 Method, system, equipment and storage medium for automatically detecting network element index data
CN112737875B (en) * 2020-12-24 2022-03-18 中国银联股份有限公司 Method and device for generating test message
CN112949176B (en) * 2021-02-28 2023-06-13 杭州翔毅科技有限公司 Artificial intelligence industry standard test evaluation method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103529377A (en) * 2013-10-11 2014-01-22 国家电网公司 Automatic testing system and method for intelligent transformer substation digital protection device
CN109376069A (en) * 2018-09-03 2019-02-22 中国平安人寿保险股份有限公司 A kind of generation method and equipment of test report

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050125196A1 (en) * 2003-12-09 2005-06-09 Len Swanson Method and system for computer-assisted test construction performing specification matching during test item selection
CN104618955B (en) * 2015-03-04 2017-12-05 上海华东电信研究院 A kind of mobile communication terminal uniformity test project set creation method and its generation system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103529377A (en) * 2013-10-11 2014-01-22 国家电网公司 Automatic testing system and method for intelligent transformer substation digital protection device
CN109376069A (en) * 2018-09-03 2019-02-22 中国平安人寿保险股份有限公司 A kind of generation method and equipment of test report

Also Published As

Publication number Publication date
CN110138613A (en) 2019-08-16

Similar Documents

Publication Publication Date Title
CN110138613B (en) Network test template construction method, power network test method and related device
CN109934356B (en) Machine room inspection method based on big data and related equipment
CN105116248B (en) Relay protection device of intelligent substation automated closed-loop test method
CN107478455B (en) Timing truncation reliability test method suitable for Weibull distribution type product
CN109886475B (en) Information security situation perception system of measurement automation system based on AI
CN106408438B (en) Security and stability control strategy automatic Check method based on full dynamic simulation
CN101091354A (en) Binary class based analysis and monitoring
CN103729557A (en) Static N-X batch processing method on basis of PSD-BPA
CN112800637B (en) Intelligent substation simulation test device and method
CN109872112B (en) Full-automatic closed-loop detection method and device for intelligent substation
CN110166483B (en) Power grid fault and network attack identification method, device and equipment
CN105405221A (en) Method and device for automated test
CN112508511A (en) Automatic generation method for stability control strategy test report
CN105207797A (en) Fault locating method and fault locating device
CN109818825B (en) Rack server intelligent test method and system
CN111313399B (en) Method, device and system for confirming topological relation of regional power utilization network
CN108548970B (en) Automatic testing template of relay protection device based on D-S evidence theory
CN106941434A (en) The detecting system and method for a kind of communication message
CN111030882A (en) Network quality measurement method and system based on intelligent substation service message
CN114172271B (en) Intelligent alarm test method, system and equipment for online monitoring control function of master station
CN115642701A (en) State identification method of relay protection device and related device
CN109450103A (en) Condition detection method, device and the intelligent terminal of pressing plate
CN115794624A (en) Closed-loop testing method and system for single automation device of intelligent substation
CN115765153A (en) Method and system for fusion monitoring of Internet of things and online monitoring data of primary electric power equipment
CN115292202A (en) Product test analysis method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant