Patent ID: 9716597
Date: 2017-07-25
CPC Classifications: H04B,H04L,Y04S

Claim:
1. An automatic detection method based on a GOOSE communication scheme, comprising: 1) importing an input source of a substation configuration document SCD file, and obtaining a list and configuration information of all intelligent electronic devices IED within a substation through parsing the SCD file; 2) selecting an IED to be detected, and obtaining GOOSE binary input signals and GOOSE binary output signals of the IED through analyzing a logic association configuration of the IED; 3) selecting a group of detection scripts, reading a plurality of variables defined in the group of scripts, and setting association between the variables and the GOOSE binary input signals and the GOOSE binary output signals; 4) selecting automatically a detection script from the group of scripts and starting automatic detection of the script; 5) performing simulation based on initial values of all the variables in the script and sending a corresponding GOOSE packet; 6) waiting for a period of time, and obtaining a locking output result of the IED to be detected; 7) determining whether the locking output result is correct; in the case that the locking output result is correct, printing information indicating the result is correct and proceeding to step 8); in the case that the locking output result is not correct, printing information indicating the result is incorrect and selecting whether to continue to perform subsequent detection of the script; and proceeding to step 8) in the case that continuing the detection is selected, or proceeding to step 13) in the case that ending the detection is selected; 8) inverting an initial value of a variable not previously inverted in the script, performing simulation and sending a corresponding GOOSE packet; 9) waiting for a period of time, and obtaining a locking output result of the IED to be detected; 10) determining whether the locking output result obtained in step 9) is correct; in the case that the locking output result is correct, printing information indicating the result is correct and proceeding to step 11); in the case that the locking output result is not correct, printing information indicating the result is incorrect and proceeding to step 11); 11) restoring the variable in the script to the initial value, performing simulation and sending a corresponding GOOSE packet; 12) determining whether initial values of all the variables in the script have ever been changed; proceeding to step 13) in the case that the initial values of all the variables in the script have ever been changed, or proceeding to step 8) in the case that the initial value of any variable in the script has not ever been changed; 13) determining whether all the scripts in the group of scripts are detected; proceeding to step 14) in the case that all the scripts are detected, or proceeding to step 4) in the case that any script is not detected; and 14) printing all the detection results of the group of scripts, and ending the automatic detection.