CN110837012A - Inverter testing method, agent actuator, testing platform and system - Google Patents

Inverter testing method, agent actuator, testing platform and system Download PDF

Info

Publication number
CN110837012A
CN110837012A CN201911056294.9A CN201911056294A CN110837012A CN 110837012 A CN110837012 A CN 110837012A CN 201911056294 A CN201911056294 A CN 201911056294A CN 110837012 A CN110837012 A CN 110837012A
Authority
CN
China
Prior art keywords
test
inverter
case result
platform
suite
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.)
Pending
Application number
CN201911056294.9A
Other languages
Chinese (zh)
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.)
Sungrow Power Supply Co Ltd
Original Assignee
Sungrow Power Supply 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 Sungrow Power Supply Co Ltd filed Critical Sungrow Power Supply Co Ltd
Priority to CN201911056294.9A priority Critical patent/CN110837012A/en
Publication of CN110837012A publication Critical patent/CN110837012A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a test method, an agent executor, a test platform and a system of an inverter. The method is executed by a test system of the inverter, the test platform issues a test suite to the agent executor, the agent executor receives the test suite issued by the test platform, generates a first communication instruction according to the test suite and sends the first communication instruction to the inverter, the agent executor receives a communication response corresponding to the first communication instruction, generates a test case result according to the communication response and the test suite and sends the test case result to the test platform, the test platform receives the test case result uploaded by the agent executor, compares the test case result with an expected value according to the test case result and outputs the execution case result. According to the inverter testing method provided by the embodiment, through automatic parameter testing, the testing efficiency of the inverter is effectively improved, and the testing quality of the inverter is improved.

Description

Inverter testing method, agent actuator, testing platform and system
Technical Field
The embodiment of the invention relates to the technical field of photovoltaic modules, in particular to a test method, an agent executor, a test platform and a system of an inverter.
Background
With the rapid development of photovoltaic power stations, the installed photovoltaic power is also larger and larger, the iteration of photovoltaic modules is accelerated, the requirement on the research and development efficiency of inverters in the photovoltaic modules is higher and higher, and the acceleration of the test efficiency of the inverters in the later research and development period becomes more important.
The inverter parameter setting and testing method in the existing inverter testing method is that the setting is issued manually and then read back, a large amount of manpower and material resources are wasted in the testing process, the parameters set by manual issuing are limited by tools, a protocol template needs to be configured every time, and the testing efficiency is low.
How to improve the testing efficiency of the inverter becomes a problem to be solved urgently in the testing industry of the inverter.
Disclosure of Invention
The embodiment of the invention provides a test method, an agent executor, a test platform and a system of an inverter, so as to improve the test efficiency of the inverter.
In order to realize the technical problem, the invention adopts the following technical scheme:
in a first aspect, an embodiment of the present invention provides a method for testing an inverter, which is performed by a test system of the inverter, and includes:
the test platform issues a test suite to the agent executor;
the agent executor receives a test suite issued by the test platform, generates a first communication instruction according to the test suite, and sends the first communication instruction to the inverter;
the agent executor receives the communication response corresponding to the first communication instruction, generates a test case result according to the communication response and the test suite, and sends the test case result to the test platform;
and the test platform receives the test case result uploaded by the agent executor, compares the test case result with the expected value according to the test case result, and outputs an execution case result.
Furthermore, the test suite is a set of test cases;
a test case is a collection of parameters that are tested.
Further, the agent executor generates a first communication command according to the test suite, including:
and the agent executor encapsulates the protocol template corresponding to the test case in the test suite into a first communication instruction identified by the inverter according to the test suite.
Further, the agent executor generates a first communication command according to the test suite and sends the first communication command to the inverter, including:
if the system is in a non-network or intranet state, the agent executor sends a first communication instruction to the inverter through the near-end protocol template.
Further, after the agent executor generates a first communication command according to the test suite and sends the first communication command to the inverter, the method further includes:
if the response time is out when waiting for receiving the communication, the agent executor issues an instruction exception.
Further, before the test platform issues the test suite to the agent executor, the method includes:
the test platform pulls a test template corresponding to the inverter from the cloud platform according to the type of the inverter to be tested; or,
and the test platform creates a test template corresponding to the inverter.
Further, the test platform compares the test case result with the expected value and outputs an execution case result, including:
if the test case result is consistent with the expected value, the test platform outputs the execution case result as success;
if the test case result is not consistent with the expected value, the test platform outputs the execution case result as failure;
further, the test platform compares the test case result with the expected value, and after outputting the execution case result, the method further includes:
and generating a test report according to the execution case result, and counting and displaying the test suite and the test case execution condition by the test platform.
In a second aspect, an embodiment of the present invention further provides a method for testing an inverter, where the method is executed by an agent executor, and includes:
receiving a test suite issued by a test platform;
generating a first communication instruction according to the test suite, and sending the first communication instruction to the inverter;
receiving a communication response corresponding to the first communication instruction, and generating a test case result according to the communication response and the test suite;
and sending the test case result to the test platform.
In a third aspect, an embodiment of the present invention further provides a method for testing an inverter, which is executed by a test platform and includes:
issuing a test suite to an agent executor;
receiving a test case result uploaded by an agent executor;
and comparing the test case result with the expected value, and outputting an execution case result.
In a fourth aspect, an embodiment of the present invention further provides a proxy executor, including:
the receiving module is used for receiving a test suite issued by the test platform;
the communication instruction generating module is used for generating a first communication instruction according to the test suite and sending the first communication instruction to the inverter;
the test case result generation module is used for receiving the communication response corresponding to the first communication instruction and generating a test case result according to the communication response and the test suite;
and the result sending module is used for sending the test case result to the test platform.
In a fifth aspect, an embodiment of the present invention further provides a test platform, including:
the test suite issuing module is used for issuing a test suite to the agent executor;
the receiving module is used for receiving the test case result uploaded by the agent executor;
and the comparison module is used for comparing the test case result with the expected value and outputting an execution case result.
In a sixth aspect, an embodiment of the present invention further provides a test system for an inverter, including: the agent executor provided by the fourth aspect, the test platform provided by the fifth aspect and the cloud platform;
the cloud platform is used for providing a test template;
the test platform is used for issuing a test suite to the agent executor; receiving a test case result uploaded by an agent executor; comparing the test case result with the expected value and outputting an execution case result;
the agent executor is used for receiving a test suite issued by the test platform; generating a first communication instruction according to the test suite, and sending the first communication instruction to the inverter; and receiving a communication response corresponding to the first communication instruction, generating a test case result according to the communication response and the test suite, and sending the test case result to the test platform.
The test method for the inverter provided by this embodiment is executed by a test system of the inverter, where a test platform issues a test suite to an agent executor, the agent executor receives the test suite issued by the test platform, generates a first communication instruction according to the test suite, and sends the first communication instruction to the inverter, the agent executor receives a communication response corresponding to the first communication instruction, generates a test case result according to the communication response and the test suite, and sends the test case result to the test platform, the test platform receives the test case result uploaded by the agent executor, compares the test case result with an expected value according to the test case result, and outputs an execution case result. According to the inverter testing method provided by the embodiment, through automatic parameter testing, the testing efficiency of the inverter is effectively improved, and the testing quality of the inverter is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the contents of the embodiments of the present invention and the drawings without creative efforts.
Fig. 1 is a flowchart of a testing method of an inverter according to an embodiment of the present invention;
fig. 2 is a flowchart of another inverter testing method provided by the embodiment of the invention;
fig. 3 is a flowchart of a testing method of another inverter according to an embodiment of the present invention;
fig. 4 is a flowchart of a testing method of another inverter according to an embodiment of the present invention;
fig. 5 is a flowchart of a testing method of another inverter according to an embodiment of the present invention;
fig. 6 is a flowchart of a testing method of another inverter according to an embodiment of the present invention;
fig. 7 is a flowchart of a testing method of another inverter according to an embodiment of the present invention;
fig. 8 is a flowchart of a testing method of another inverter according to an embodiment of the present invention;
fig. 9 is a flowchart of a testing method of another inverter according to an embodiment of the present invention;
fig. 10 is a flowchart of a testing method of another inverter according to an embodiment of the present invention;
FIG. 11 is a schematic structural diagram of a proxy executor provided by an embodiment of the present invention;
FIG. 12 is a schematic structural diagram of a proxy executor provided by an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a test system of an inverter according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Fig. 1 is a flowchart of a testing method of an inverter according to an embodiment of the present invention. Referring to fig. 1, a method for testing an inverter according to an embodiment of the present invention is performed by a test system for an inverter, and includes:
s101, the test platform issues a test suite to the agent executor.
Specifically, the test suite includes a set of test cases, the test cases are established on a test platform, and the test platform issues the test suite corresponding to the test template to the agent executor according to the test template.
S102, the agent executor receives a test suite issued by the test platform, generates a first communication instruction according to the test suite, and sends the first communication instruction to the inverter.
Specifically, the test suite comprises a test template matched with the inverter to be tested, receives the test suite issued by the test platform, and prepares for parameter testing of the inverter according to the test suite. The first communication command can be a Modbus response, and the agent executor sends the Modbus response to the inverter after generating the Modbus response according to the test suite.
S103, the agent executor receives the communication response corresponding to the first communication instruction, generates a test case result according to the communication response and the test suite, and sends the test case result to the test platform.
Specifically, after the agent actuator receives and sends the first communication instruction to the inverter, the inverter receives the first communication instruction, the first communication instruction is analyzed, the communication response cannot be sent to the first communication instruction which does not need to be responded according to the first communication instruction, namely a modbus protocol function code of modbus response, and the corresponding communication response of the agent actuator is replied to the first communication instruction which needs to be replied to. And the agent executor receives the communication response of the first communication instruction sent by the inverter, analyzes the communication response, and combines a corresponding test case result according to the analyzed communication response and the received test suite issued by the test platform. The test case result comprises a test result of each test parameter of the test template in the test suite. And the agent executor returns the test case result to the test platform.
And S104, the test platform receives the test case result uploaded by the agent executor, compares the test case result with the expected value according to the test case result, and outputs an execution case result.
Specifically, the test case includes test parameters of the inverter, the test case result includes a detection result of the test parameters of the inverter, and the test platform receives the test case result uploaded by the agent executor, that is, receives the detection result of the test parameters of the inverter uploaded by the agent executor. The expected value may be a threshold corresponding to a preset inverter test parameter, and the comparison result may be output as an execution case result by comparing the test case result with the expected value.
The test method for the inverter provided by this embodiment is executed by a test system of the inverter, a test suite is issued to an agent executor through a test platform, the agent executor receives the test suite issued by the test platform, generates a first communication instruction according to the test suite, and sends the first communication instruction to the inverter, the agent executor receives a communication response corresponding to the first communication instruction, generates a test case result according to the communication response and the test suite, and sends the test case result to the test platform, the test platform receives the test case result uploaded by the agent executor, compares the test case result with an expected value according to the test case result, and outputs an execution case result. According to the inverter testing method provided by the embodiment, through automatic parameter testing, the testing efficiency of the inverter is effectively improved, and the testing quality of the inverter is improved.
Optionally, the test suite is a set of test cases, and the test cases are a set of tested parameters.
Specifically, the test suite is a set of test cases, the test cases are established on a test platform, and the tested parameters include protection parameters, initialization parameters, interaction parameters and the like of the inverter, as well as upper limit values, lower limit values, threshold crossing values, parameters of segment protection, parameters of current protection or overvoltage protection and the like of the tested parameters.
Optionally, fig. 2 is a flowchart of another inverter testing method provided in the embodiment of the present invention. On the basis of the above embodiments, referring to fig. 2, the inverter testing method provided by the present embodiment is executed by an inverter testing system, and includes:
s201, the test platform issues a test suite to the agent executor.
S202, the agent executor receives a test suite issued by the test platform.
S203, according to the test suite, the agent executor encapsulates the protocol template corresponding to the test case in the test suite into a first communication instruction identified by the inverter, and sends the first communication instruction to the inverter.
Specifically, under the condition that a wireless network exists, after a test suite issued by a test platform is received, a proxy actuator performs software packaging on a protocol template corresponding to a test case in the test suite through network transmission, the protocol template corresponding to the test case is packaged into a Modbus response which can be identified by an inverter, and the proxy actuator issues the Modbus response to the inverter.
And S204, the agent executor receives the communication response corresponding to the first communication instruction, generates a test case result according to the communication response and the test suite, and sends the test case result to the test platform.
S205, the test platform receives the test case result uploaded by the agent executor, compares the test case result with the expected value according to the test case result, and outputs an execution case result.
Optionally, fig. 3 is a flowchart of a testing method of another inverter according to an embodiment of the present invention. On the basis of the above embodiments, referring to fig. 3, the inverter testing method provided by the present embodiment is executed by an inverter testing system, and includes:
s301, the test platform issues a test suite to the agent executor.
And S302, the agent executor receives a test suite issued by the test platform.
And S303, if the network is not available or the intranet is not available, the agent executor sends a first communication instruction to the inverter through the near-end protocol template.
Specifically, in order to support that the agent executor can still be used in the non-network state or the intranet state, a built-in near-end protocol template of the agent executor may be set, and a Modbus response is sent to the inverter through the near-end protocol template, so that a first communication instruction is generated and sent in the non-network state or the intranet state, and higher test efficiency on the inverter is ensured.
S304, the agent executor receives the communication response corresponding to the first communication instruction, generates a test case result according to the communication response and the test suite, and sends the test case result to the test platform.
S305, the test platform receives the test case result uploaded by the agent executor, compares the test case result with the expected value according to the test case result, and outputs an execution case result.
Optionally, fig. 4 is a flowchart of a testing method of another inverter according to an embodiment of the present invention. On the basis of the above embodiments, referring to fig. 4, the inverter testing method provided by the present embodiment is executed by an inverter testing system, and includes:
s401, the test platform issues a test suite to the agent executor.
S402, the agent executor receives a test suite issued by the test platform, generates a first communication instruction according to the test suite, and sends the first communication instruction to the inverter.
And S403, if the response time is overtime after waiting for receiving the communication, the agent executor issues an instruction exception.
Specifically, when the agent executor issues the first communication instruction through the near-end protocol template, generally, the issue failure does not exist, but under a special condition, the link is not through, for example, in the process of issuing the first communication instruction, if the inverter connected to the serial port is unplugged, and the receiving communication response is waited for overtime, an abnormal instruction is issued, and the issue failure is displayed. Under the condition that a wireless network exists, in the process that the agent executor issues the Modbus response to the inverter, special conditions such as message loss exist, overtime mechanism processing is carried out, no response reply is carried out for a long time, the communication response receiving time is overtime, and after the agent executor receives the communication response time, the issued command is abnormal.
S404, the agent executor receives the communication response corresponding to the first communication instruction, generates a test case result according to the communication response and the test suite, and sends the test case result to the test platform.
S405, the test platform receives the test case result uploaded by the agent executor, compares the test case result with the expected value according to the test case result, and outputs an execution case result.
Optionally, fig. 5 is a flowchart of a testing method of another inverter according to an embodiment of the present invention. On the basis of the above embodiments, referring to fig. 5, the inverter testing method provided by the present embodiment is executed by an inverter testing system, and includes:
s501, the test platform pulls a test template corresponding to the inverter from the cloud platform according to the type of the inverter to be tested; or, a new test template corresponding to the inverter is established.
Specifically, the cloud platform comprises a test template corresponding to the inverter, and when the test template corresponding to the inverter type to be tested is in the slave cloud platform, the test template corresponding to the inverter type to be tested, namely a test case, is pulled from the cloud platform to form a test suite; a test template corresponding to the inverter is newly built on the test platform, namely a test case is newly built, when the test case is newly built, the test case can be added into different test kits, the test kits can also be managed in the kit management module, and the test case is edited, added or deleted, so that the test kit meets the test requirement of the type of the inverter to be tested.
And S502, the test platform issues a test suite to the agent executor.
S503, the agent executor receives a test suite issued by the test platform, generates a first communication instruction according to the test suite, and sends the first communication instruction to the inverter.
S504, the agent executor receives the communication response corresponding to the first communication instruction, generates a test case result according to the communication response and the test suite, and sends the test case result to the test platform.
And S505, the test platform receives the test case result uploaded by the agent executor, compares the test case result with the expected value according to the test case result, and outputs an execution case result.
Optionally, fig. 6 is a flowchart of a testing method of another inverter according to an embodiment of the present invention. On the basis of the above embodiments, referring to fig. 6, the inverter testing method provided by the embodiment of the present invention is executed by an inverter testing system, and includes:
s601, the test platform issues a test suite to the agent executor.
S602, the agent executor receives a test suite issued by the test platform, generates a first communication instruction according to the test suite, and sends the first communication instruction to the inverter.
And S603, the agent executor receives the communication response corresponding to the first communication instruction, generates a test case result according to the communication response and the test suite, and sends the test case result to the test platform.
And S604, the test platform receives the test case result uploaded by the agent executor.
S605, if the test case result is consistent with the expected value, outputting the execution case result as success; and if the test case result is not consistent with the expected value, outputting the execution case result as failure.
Specifically, the test case result is compared with the expected value on the test platform, if the test case result is consistent with the expected value, the inverter passes the test, the execution case result is successfully output, and if the test case result is inconsistent with the expected value, the inverter fails the test, and the execution case result is failed output. Illustratively, the expected value is a preset value, for example, the expected value may be 5, the output execution case result is compared with the preset value, and if the output execution case result is 5 and the output execution case result is consistent with the preset value, the output execution case result is successful; if the output execution case result is not 5, and the output execution case result is inconsistent with the preset value, the output execution case result is failed.
Optionally, fig. 7 is a flowchart of a testing method of another inverter according to an embodiment of the present invention. On the basis of the above embodiments, referring to fig. 7, the inverter testing method provided by the embodiment of the present invention is executed by an inverter testing system, and includes:
and S701, the test platform issues a test suite to the agent executor.
S702, the agent executor receives a test suite issued by the test platform, generates a first communication instruction according to the test suite, and sends the first communication instruction to the inverter.
And S703, the agent executor receives the communication response corresponding to the first communication instruction, generates a test case result according to the communication response and the test suite, and sends the test case result to the test platform.
S704, the test platform receives the test case result uploaded by the agent executor, compares the test case result with the expected value, and outputs an execution case result.
S705, generating a test report according to the execution case result, and counting and displaying the test suite and the test case execution condition.
Specifically, the test platform arranges the test comparison results and generates a test report, the test report is displayed in a test report module, the test suite and the test case execution condition are counted, the parameter value of each test point in the test case result is obtained, and the parameter value of each test point of the inverter is displayed.
Optionally, fig. 8 is a flowchart of a testing method of another inverter according to an embodiment of the present invention. On the basis of the above embodiment, referring to fig. 8, the method for testing the inverter provided by the present embodiment includes:
s801, the test platform pulls a test template corresponding to the inverter from the cloud platform according to the type of the inverter to be tested; or, a new test template corresponding to the inverter is established.
And S802, the test platform issues a test suite to the agent executor.
Specifically, the test platform can pull a test template corresponding to the inverter from the cloud platform according to the type of the inverter to be tested; or, a test template corresponding to the inverter is newly built on the test platform. And the test platform issues a test suite corresponding to the test template to the agent executor according to the test template.
And S803, the agent executor receives a test suite issued by the test platform, generates a first communication instruction according to the test suite, and sends the first communication instruction to the inverter.
Specifically, the agent executor receives a test suite issued by the test platform, and according to the test suite, the agent executor encapsulates a protocol template corresponding to a test case in the test suite into a first communication instruction recognized by the inverter and sends the first communication instruction to the inverter; if the inverter is in a non-network or intranet state, sending a first communication instruction to the inverter through a near-end protocol template; if the response time is out when waiting for receiving the communication, the command is sent abnormally.
S804, the inverter receives the first communication instruction, analyzes the first communication instruction, does not send communication response to the first communication instruction which does not need to be responded according to the first communication instruction, and replies the corresponding communication response of the proxy actuator to the first communication instruction which needs to reply the response.
And S805, the agent executor receives the communication response corresponding to the first communication instruction, generates a test case result according to the communication response and the test suite, and sends the test case result to the test platform.
S806, the test platform receives the test case result uploaded by the agent executor, compares the test case result with the expected value and outputs an execution case result.
Specifically, if the test case result is consistent with the expected value, the execution case result is output as success; and if the test case result is not consistent with the expected value, outputting the execution case result as failure.
And S807, generating a test report by the test platform according to the execution case result, and counting and displaying the test suite and the test case execution condition.
Fig. 9 is a flowchart of a testing method of another inverter according to an embodiment of the present invention. Referring to fig. 9, a method for testing an inverter according to an embodiment of the present invention is executed by an agent executor, and includes:
and S901, receiving a test suite issued by the test platform.
S902, generating a first communication command according to the test suite, and sending the first communication command to the inverter.
And S903, receiving a communication response corresponding to the first communication instruction, and generating a test case result according to the communication response and the test suite.
And S904, sending the test case result to the test platform.
Fig. 10 is a flowchart of a testing method of another inverter according to an embodiment of the present invention. Referring to fig. 10, a method for testing an inverter according to an embodiment of the present invention is executed by a test platform, and includes:
and S1001, issuing a test suite to the agent executor.
And S1002, receiving a test case result uploaded by the agent executor.
And S1003, comparing the test case result with the expected value, and outputting an execution case result.
Fig. 11 is a schematic structural diagram of a proxy executor according to an embodiment of the present invention. On the basis of the above embodiment, referring to fig. 11, an agent executor provided by an embodiment of the present invention includes:
a receiving module 81, configured to receive a test suite issued by the test platform;
the communication instruction generating module 82 is used for generating a first communication instruction according to the test suite and sending the first communication instruction to the inverter;
the test case result generating module 83 is configured to receive a communication response corresponding to the first communication instruction, and generate a test case result according to the communication response and the test suite;
and a result sending module 84, configured to send the test case result to the test platform.
The agent executor provided by the embodiment comprises a receiving module, a communication instruction generating module, a test case result generating module and a result sending module, wherein a test suite issued by a test platform is received through the receiving module, the communication instruction generating module generates a first communication instruction according to the test suite and sends the first communication instruction to the inverter, the test case result generating module receives a communication response corresponding to the first communication instruction and generates a test case result according to the communication response and the test suite, and the result sending module sends the test case result to the test platform, so that the automatic parameter test of the inverter is realized, the test efficiency of the inverter is effectively improved, and the test quality of the inverter is improved.
Fig. 12 is a schematic structural diagram of an agent executor according to an embodiment of the present invention. On the basis of the above embodiment, referring to fig. 12, the test platform provided in the embodiment of the present invention includes:
the test suite issuing module 91 is used for issuing a test suite to the agent executor;
a receiving module 92, configured to receive a test case result uploaded by the agent executor;
and the comparison module 93 is configured to compare the test case result with the expected value and output an execution case result.
The test platform provided by the embodiment comprises a test suite issuing module, a receiving module and a comparison module, the test suite is issued to the agent actuator through the test suite issuing module, the test case result uploaded by the agent actuator is received through the receiving module, the comparison module is used for comparing the test case result with an expected value, and the execution case result is output, so that the automatic parameter test of the inverter is realized, the test efficiency of the inverter is effectively improved, and the test quality of the inverter is improved.
Fig. 13 is a schematic structural diagram of a test system of an inverter according to an embodiment of the present invention. On the basis of the above embodiment, referring to fig. 13, the test system of the inverter provided by the embodiment of the present invention includes: the agent executor 100 according to any of the embodiments, the test platform 200 according to any of the embodiments, and the cloud platform 300.
And the cloud platform 300 is used for providing a test template.
The test platform 200 is used for issuing a test suite to the agent executor; receiving a test case result uploaded by an agent executor; and comparing the test case result with the expected value, and outputting an execution case result.
The agent executor 100 is used for receiving a test suite issued by the test platform; generating a first communication instruction according to the test suite, and sending the first communication instruction to the inverter; receiving a communication response corresponding to the first communication instruction, and generating a test case result according to the communication response and the test suite; and sending the test case result to the test platform.
In the test system for the inverter provided by this embodiment, the cloud platform provides the test template, the test platform issues the test suite to the agent executor, receives the test case result uploaded by the agent executor, compares the test case result with the expected value, and outputs the execution case result. The agent executor receives a test suite issued by the test platform, generates a first communication instruction according to the test suite, sends the first communication instruction to the inverter, receives a communication response corresponding to the first communication instruction, generates a test case result according to the communication response and the test suite, and sends the test case result to the test platform. The inverter testing system provided by the embodiment carries out automatic parameter testing on the inverter through the cloud platform, the testing platform and the agent executor, so that the testing efficiency of the inverter is effectively improved, and the testing quality of the inverter is improved.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (13)

1. A method of testing an inverter, performed by a test system for the inverter, comprising:
the test platform issues a test suite to the agent executor;
the agent executor receives a test suite issued by a test platform, generates a first communication instruction according to the test suite, and sends the first communication instruction to the inverter;
the agent executor receives a communication response corresponding to the first communication instruction, generates a test case result according to the communication response and the test suite, and sends the test case result to the test platform;
and the test platform receives the test case result uploaded by the agent executor, compares the test case result with an expected value according to the test case result, and outputs an execution case result.
2. The method of claim 1,
the test suite is a set of test cases;
the test case is a set of tested parameters.
3. The method of claim 1, wherein the agent executor generates a first communication instruction according to the test suite, comprising:
and the agent executor encapsulates a protocol template corresponding to a test case in the test suite into a first communication instruction identified by the inverter according to the test suite.
4. The method of claim 1, wherein the agent executor generates a first communication command according to the test suite and sends the first communication command to the inverter, comprising:
and if the inverter is in a non-network or intranet state, the agent executor sends the first communication instruction to the inverter through a near-end protocol template.
5. The method of claim 1, wherein after the agent executor generating a first communication command according to the test suite and sending the first communication command to the inverter, further comprising:
and if the response of the received communication is overtime, the agent executor issues an instruction exception.
6. The method of claim 1, wherein before the testing platform issues the test suite to the agent executor, the method comprises:
the test platform pulls a test template corresponding to the inverter from the cloud platform according to the type of the inverter to be tested; or,
and the test platform creates a test template corresponding to the inverter.
7. The method of claim 1, wherein the comparing, by the test platform, the test case result with the expected value and outputting an execution case result comprises:
if the test case result is consistent with the expected value, the test platform outputs an execution case result as success;
and if the test case result is not consistent with the expected value, the test platform outputs the execution case result as failure.
8. The method of claim 1, wherein after the testing platform compares the test case result with an expected value and outputs an execution case result according to the comparison result, the method further comprises:
and generating a test report according to the execution case result, and counting and displaying the test suite and the test case execution condition by the test platform.
9. A method for testing an inverter, the method being performed by an agent executor, comprising:
receiving a test suite issued by a test platform;
generating a first communication instruction according to the test suite, and sending the first communication instruction to the inverter;
receiving a communication response corresponding to the first communication instruction, and generating a test case result according to the communication response and the test suite;
and sending the test case result to the test platform.
10. A method for testing an inverter, the method being performed by a test platform and comprising:
issuing a test suite to an agent executor;
receiving a test case result uploaded by the agent executor;
and comparing the test case result with an expected value, and outputting an execution case result.
11. A proxy executor, comprising:
the receiving module is used for receiving a test suite issued by the test platform;
the communication instruction generating module is used for generating a first communication instruction according to the test suite and sending the first communication instruction to the inverter;
the test case result generation module is used for receiving the communication response corresponding to the first communication instruction and generating a test case result according to the communication response and the test suite;
and the result sending module is used for sending the test case result to the test platform.
12. A test platform, comprising:
the test suite issuing module is used for issuing a test suite to the agent executor;
the receiving module is used for receiving the test case result uploaded by the agent executor;
and the comparison module is used for comparing the test case result with the expected value and outputting an execution case result.
13. A test system for an inverter, comprising: the agent executor of claim 11, the test platform of claim 12, and a cloud platform;
the cloud platform is used for providing a test template;
the test platform is used for issuing a test suite to the agent executor; receiving a test case result uploaded by the agent executor; comparing the test case result with an expected value and outputting an execution case result;
the agent executor is used for receiving a test suite issued by the test platform; generating a first communication instruction according to the test suite, and sending the first communication instruction to the inverter; and receiving a communication response corresponding to the first communication instruction, generating a test case result according to the communication response and the test suite, and sending the test case result to the test platform.
CN201911056294.9A 2019-10-31 2019-10-31 Inverter testing method, agent actuator, testing platform and system Pending CN110837012A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911056294.9A CN110837012A (en) 2019-10-31 2019-10-31 Inverter testing method, agent actuator, testing platform and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911056294.9A CN110837012A (en) 2019-10-31 2019-10-31 Inverter testing method, agent actuator, testing platform and system

Publications (1)

Publication Number Publication Date
CN110837012A true CN110837012A (en) 2020-02-25

Family

ID=69575797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911056294.9A Pending CN110837012A (en) 2019-10-31 2019-10-31 Inverter testing method, agent actuator, testing platform and system

Country Status (1)

Country Link
CN (1) CN110837012A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105572564A (en) * 2015-12-17 2016-05-11 中广核核电运营有限公司 Nuclear power station nuclear-grade inverter card integrated testing system and method
KR20160122376A (en) * 2015-04-14 2016-10-24 엘에스산전 주식회사 Apparatus for testing inverter performance
CN106936658A (en) * 2015-12-30 2017-07-07 中兴通讯股份有限公司 The method of testing and test platform of test case, simulation test equipment
CN109992513A (en) * 2019-03-29 2019-07-09 携程计算机技术(上海)有限公司 The automatization test system and method for mobile terminal APP

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160122376A (en) * 2015-04-14 2016-10-24 엘에스산전 주식회사 Apparatus for testing inverter performance
CN105572564A (en) * 2015-12-17 2016-05-11 中广核核电运营有限公司 Nuclear power station nuclear-grade inverter card integrated testing system and method
CN106936658A (en) * 2015-12-30 2017-07-07 中兴通讯股份有限公司 The method of testing and test platform of test case, simulation test equipment
CN109992513A (en) * 2019-03-29 2019-07-09 携程计算机技术(上海)有限公司 The automatization test system and method for mobile terminal APP

Similar Documents

Publication Publication Date Title
KR101314994B1 (en) Communication system and communication apparatus status determining method
CN106254199B (en) Unidirectional ring network fault point positioning method, concentrator, terminal equipment and system
CN101877659B (en) Method, device and system for monitoring packet loss
US11496368B2 (en) Dynamically identifying criticality of services and data sources
CN113612654B (en) Vehicle-mounted gateway function test method based on database
CN110046383B (en) Power system information physical hybrid simulation method based on event synchronization and screening
CN113572560B (en) Method, electronic device, and storage medium for determining clock synchronization accuracy
CN111865745B (en) Non-delay polling method and system for automatically identifying slave equipment
KR20150119554A (en) Apparatus and method for application log data processing
CN105515890A (en) OpenFlow protocol consistency testing method and equipment
CN108768995B (en) Substation self-adaptive master station access method
CN110166322A (en) A kind of detection method and relevant apparatus of metering automation terminal
CN105765909A (en) Link switching method and device
CN106953809B (en) 485 time-sharing communication-based equipment resource acquisition method
CN110837012A (en) Inverter testing method, agent actuator, testing platform and system
CN110602265B (en) 61850 model short address configuration and resource mapping method suitable for IED equipment
CN110855003A (en) Method and device for calling and comparing self-adaptive configuration of main station
CN107579871B (en) Method and system for generating distributed test script based on model detection
CN107968722B (en) Method for converting interface control file into AFDX (avionics full Duplex switched Ethernet) network equipment configuration file
CN102882720A (en) Indicating message sending method, indicating message receiving method, equipment and system
CN113031569B (en) Monitoring method, system, terminal and medium of nuclear fusion control system
CN103414595A (en) Power scheduling data network link monitoring system topological graph generation method
CN105530141A (en) Link state detection method and device
CN111078302A (en) Automatic deployment method and terminal of distribution network monitoring platform system
CN116743617B (en) Method, computing device, and storage medium for network testing

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200225