CN108802512A - A kind of distribution system test method and device - Google Patents
A kind of distribution system test method and device Download PDFInfo
- Publication number
- CN108802512A CN108802512A CN201710309705.5A CN201710309705A CN108802512A CN 108802512 A CN108802512 A CN 108802512A CN 201710309705 A CN201710309705 A CN 201710309705A CN 108802512 A CN108802512 A CN 108802512A
- Authority
- CN
- China
- Prior art keywords
- operating status
- area
- switching equipment
- controller switching
- operating
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
Abstract
The invention discloses a kind of distribution system test method and devices, to improve the accuracy of distribution system test.This method includes:According to selected in the first operating status figure of distribution system first area, second area, and input controller switching equipment mark, establish first area, second area and the controller switching equipment correspondence;Wherein, the operating parameter of the controller switching equipment is shown in first area, and the controller switching equipment operating status is shown in second area;The operating parameter and/or operating status of first area and the corresponding controller switching equipment of second area are set, the second operating status figure of the distribution system after the setting is obtained;According to the operating status that second area is shown in the operating parameter and the first operating status figure and the second operating status figure that first area is shown in the first operating status figure and the second operating status figure, determine whether the controller switching equipment is correct to the response of the setting.
Description
Technical field
The present invention relates to technical field of electric power more particularly to a kind of distribution system test method and devices.
Background technology
With the development of distribution system, controller switching equipment and information access amount are also multiplied in distribution system, how to realize
Main website distribution system is effectively monitored, an important factor for restricting distribution system development is had become.Also, this restriction
Factor will have a direct impact on the test and evaluation of distribution system performance.
When distribution system is tested, by the way that the parameter of one or more controller switching equipments in electrical power distribution automatization system is arranged, according to
The parameter of set controller switching equipment and determine distribution system with the parameter of the set relevant other equipment of controller switching equipment
Performance.Since the equipment of test distribution system cannot be communicated with distribution system main website and substation, distribution system is surveyed
It, can not be by obtaining the parameter of controller switching equipment with interacting for distribution system main website or distribution system substation when examination, power distribution system at present
The parameter of controller switching equipment is obtained in unified test examination using following two methods:
Method one, operating personnel are manually between the distribution system substation where each controller switching equipment and distribution system main website
Switching, will read with the parameter of the relevant other equipment of set controller switching equipment from corresponding distribution system substation, and defeated
Enter into distribution system main website.
In method two, simulation main website distribution system in addition to set controller switching equipment other equipment, with obtain with it is set
The parameter for the relevant other equipment of controller switching equipment set.
But method one is inconvenient for operation, do not link effect, and only has operating personnel's opportunity to hold in some cases
Final test could be completed in place, operating personnel are required relatively high, and then increase human cost.In addition, people in method one
More to operate, the probability of maloperation can also increase therewith, and hidden danger is brought for the accuracy of test.In method two, distribution is simulated
It introduces excessively ideal factor in system when other equipment in addition to set controller switching equipment, has in the presence of certain with true environment
Gap influences the accuracy of test.
Invention content
A kind of distribution system test method of offer of the embodiment of the present invention and device, to improve the accurate of distribution system test
Property.
Specific technical solution provided in an embodiment of the present invention is as follows:
In a first aspect, an embodiment of the present invention provides a kind of electric system test method, the distribution system includes at least
One controller switching equipment, the distribution system output have operating status figure, the fortune of controller switching equipment are shown in the operating status figure
Row parameter and operating status, the method includes:
According to selected in the first operating status figure of the distribution system first area, second area, and input
Controller switching equipment mark, establish the first area, the second area and the controller switching equipment correspondence;Wherein, institute
The operating parameter for showing the controller switching equipment in first area is stated, the controller switching equipment operation is shown in the second area
State;
The operating parameter and/or operating status of the first area and the corresponding controller switching equipment of the second area are set,
Obtain the second operating status figure of the distribution system after the setting;
According to the operating parameter that first area is shown in the first operating status figure and the second operating status figure, with
And the operating status that second area is shown in the first operating status figure and the second operating status figure, determine the distribution
Whether equipment is correct to the response of the setting.
Optionally, the operating parameter and/or fortune of the first area and the corresponding controller switching equipment of the second area are set
Row state, including:According to the operating parameter and the first operation shape that first area is shown in the first operating status figure
The operating status that second area is shown in state figure sends control command, the control to the corresponding simulator of the controller switching equipment
System order is used to indicate operating parameter and/or operating status that the simulator changes the controller switching equipment.
Optionally it is determined that before whether the controller switching equipment is correct to the response of the setting, further include:
For first area in first area in the first operating status figure and the second operating status figure, execute
Following steps:
Identify the corresponding subgraph of each character in the image in the first area, wherein the character is for characterizing
The operating parameter of the controller switching equipment;
The subgraph is matched with the Character mother plate image pre-saved respectively, determines the word in the subgraph
Symbol, obtains the operating parameter that the first area is shown.
Optionally it is determined that before whether the controller switching equipment is correct to the response of the setting, further include:
For second area in second area in the first operating status figure and the second operating status figure, execute
Following steps:If the operating status of the controller switching equipment is in the operating status figure that the distribution system exports with different colors
Value characterization, then identify the region where controller switching equipment described in the second area, the region where the controller switching equipment
The correspondence of the operating status and color value of the color value of middle pixel and the controller switching equipment determines that the second area is aobvious
The operating status shown.
Optionally, if only there are two types of operating statuses for the controller switching equipment, sound of the controller switching equipment to the setting is determined
Should whether it is correct before, further include:
According to the color value of each pixel and second operating status in second area in the first operating status figure
In figure in second area each pixel color value, determine that color value changes in second area in the second operating status figure
Pixel number;
If the number of the changed pixel of color value and pixel in second area in the second operating status figure
The ratio of sum is more than given threshold, it is determined that the operating status of the controller switching equipment changes.
Second aspect, an embodiment of the present invention provides a kind of electric system test device, the distribution system includes at least
One controller switching equipment, the distribution system output have operating status figure, the fortune of controller switching equipment are shown in the operating status figure
Row parameter and operating status, described device include:
First processing module, the first area selected in the first operating status figure of the distribution system for basis,
Second area, and the controller switching equipment of input identify, and establish the first area, the second area and the controller switching equipment
Correspondence;Wherein, the operating parameter of the controller switching equipment is shown in the first area, is shown in the second area
The controller switching equipment operating status;
Second processing module, the operation for the first area and the corresponding controller switching equipment of the second area to be arranged are joined
Number and/or operating status, obtain the second operating status figure of the distribution system after the setting;
Determining module, for being shown according to first area in the first operating status figure and the second operating status figure
Operating parameter and the first operating status figure and the second operating status figure in the operation shape that shows of second area
State determines whether the controller switching equipment is correct to the response of the setting.
Optionally, the Second processing module is specifically used for:It is shown according to first area in the first operating status figure
Operating parameter and the first operating status figure in the operating status that shows of second area, it is corresponding to the controller switching equipment
Simulator sends control command, and the control command is used to indicate the operation ginseng that the simulator changes the controller switching equipment
Number and/or operating status.
Optionally, the determining module is additionally operable to:For first area in the first operating status figure and described
First area in two operating status figures identifies institute before determining whether the controller switching equipment is correct to the response of the setting
State the corresponding subgraph of each character in the image in first area, wherein the character is for characterizing the controller switching equipment
Operating parameter;The subgraph is matched with the Character mother plate image pre-saved respectively, is determined in the subgraph
Character obtains the operating parameter that the first area is shown.
Optionally, the determining module is additionally operable to:For second area in the first operating status figure and described
Second area in two operating status figures, before determining whether the controller switching equipment is correct to the response of the setting, if described
The operating status of controller switching equipment is characterized in the operating status figure that the distribution system exports with different color values, then identifies institute
State the region where controller switching equipment described in second area, in the region where the controller switching equipment color value of pixel with
And the operating status of the controller switching equipment and the correspondence of color value, determine the operating status that the second area is shown.
Optionally, if the controller switching equipment is only there are two types of operating status, the determining module is additionally operable to:
Before determining whether the controller switching equipment is correct to the response of the setting, according to the first operating status figure
In middle second area in the color value of each pixel and the second operating status figure in second area each pixel color value,
Determine the number of the changed pixel of color value in second area in the second operating status figure;
If the number of the changed pixel of color value and pixel in second area in the second operating status figure
The ratio of sum is more than given threshold, it is determined that the operating status of the controller switching equipment changes.
Based on the above-mentioned technical proposal, it in the embodiment of the present invention, is selected according in the first operating status figure of distribution system
First area, second area, and input controller switching equipment mark, establish first area, second area and the controller switching equipment
Correspondence;The operating parameter and/or operating status of first area and the corresponding controller switching equipment of second area are set, and acquisition is set
Postpone the second operating status figure of the distribution system;It is aobvious according to first area in the first operating status figure and the second operating status figure
The operating status that second area is shown in the operating parameter shown and the first operating status figure and the second operating status figure determines
Whether the controller switching equipment is correct to the response of the setting, and obtaining distribution by the operating status figure of distribution system reality output sets
Standby operating parameter and operating status, avoids tester and frequently operates, and to controller switching equipment in simulation distribution system
When the desirable factors that introduce, the influence to distribution system test result improves the accuracy of distribution system test.Also, this
The operating parameter and operating status of controller switching equipment are obtained in inventive embodiments by the operating status figure of distribution system reality output,
The distribution system of monitoring system using different vendor's exploitation can be tested, shield the power distribution system of different vendor's exploitation
The otherness of the monitoring test system of system, versatility are good.
Description of the drawings
Fig. 1 is the flow diagram of distribution system test method provided in an embodiment of the present invention;
Fig. 2 is system architecture schematic diagram in the embodiment of the present invention;
Fig. 3 is that showing for the operating parameter region of controller switching equipment in the first operating status figure is selected in the embodiment of the present invention
It is intended to;
Fig. 4 is the schematic diagram that selected region is arranged in the embodiment of the present invention;
Fig. 5 be selected in the first operating status figure in the embodiment of the present invention the corresponding image region of controller switching equipment and
The schematic diagram in the region is set;
Fig. 6 is the operating parameter location of controller switching equipment in the first operating status figure in the embodiment of the present invention after binaryzation
The correspondence schematic diagram of image and nstatus arrays in domain;
Fig. 7 is the operating parameter location of controller switching equipment in the first operating status figure in the embodiment of the present invention after binaryzation
Image in domain splits effect diagram;
Fig. 8 is the structural schematic diagram of distribution system test device provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of equipment provided in an embodiment of the present invention.
Specific implementation mode
The distribution system test method provided in the embodiment of the present invention is executed by test equipment, which can obtain
And the operating status figure of the distribution system of the server output of display monitoring distribution system, the operating status figure of the distribution system
In show the operating parameter of each controller switching equipment in the distribution system, such as the fortune of voltage, electric current parameter and each controller switching equipment
Row state, such as be closed, disconnect state.Wherein, controller switching equipment includes the equipment such as breaker, transformer, and test equipment can be
The equipment such as personal computer, industrial personal computer.
Test equipment can test the progress of one or more of distribution system controller switching equipment simultaneously in the embodiment of the present invention
Test, for any one controller switching equipment in distribution system, distribution system test method flow provided in an embodiment of the present invention
As shown in Figure 1, including the following steps:
Step 101:According to selected in the first operating status figure of distribution system first area, second area, and
The controller switching equipment of input identifies, establish the first area, the second area and the controller switching equipment correspondence.
Wherein, the operating parameter of the controller switching equipment is shown in first area, and controller switching equipment fortune is shown in second area
Row state.
Specifically, first area and the secondth area are selected in the first operating status figure that tester gets from test equipment
Domain, and select or input in the human-computer interaction interface of test equipment type and the firstth area of first area and second area
The mark in domain and the corresponding controller switching equipment of second area so that test equipment can be according to the class of first area and second area
Type determines that the content shown in first area and second area is operating parameter or operating status, and according to controller switching equipment
Mark, determine the controller switching equipment corresponding specific equipment in a power distribution system.
Step 102:The operating parameter and/or operating status of first area and the corresponding controller switching equipment of second area are set,
Obtain the second operating status figure of the distribution system after being arranged.
In one specific embodiment, test equipment is joined according to the operation that first area is shown in the first operating status figure
The operating status that second area is shown in number and the first operating status figure sends control to the corresponding simulator of controller switching equipment
Order, the control command are used to indicate the operating parameter and/or operating status that the simulator changes the controller switching equipment.For example,
Test equipment determines that the voltage for the controller switching equipment that first area is shown in the first operating status figure is 220V, is shown in second area
Operating status be closed state, sent to the corresponding simulator of controller switching equipment and set the voltage of the controller switching equipment to 300V
Control command, after simulator receives the control command, on the controller switching equipment apply 300V voltage.
Specifically, test equipment and the corresponding simulator of controller switching equipment are connect with Cloud Server, and test equipment passes through
Cloud Server sends control command to the corresponding simulator of controller switching equipment.
Step 103:According to the operating parameter that first area is shown in the first operating status figure and the second operating status figure, with
And first operating status that shows of second area in operating status figure and the second operating status figure, determine that the controller switching equipment sets this
Whether the response set is correct.
Optionally, before test equipment determines whether the controller switching equipment is correct to the response of the setting, first is determined
The operating status and the second operating status figure that the operating parameter and second area that first area is shown in operating status figure are shown
The operating status that the operating parameter and second area that middle first area is shown are shown.Wherein it is determined that in the first operating status figure
The operating parameter that first area is shown in operating parameter that one region is shown and the second operating status figure includes the following steps:Know
Each corresponding subgraph of character in image in other first area, wherein the character is used to characterize the operation ginseng of controller switching equipment
Number;The subgraph is matched with the Character mother plate image pre-saved respectively, the character in the subgraph is determined, obtains
The operating parameter that first area is shown.Wherein, which can be number, letter etc..
In implementation, due to the word in the operating status figure of the monitoring test system output of the distribution system of different manufacturers exploitation
The font of symbol may be different, therefore the test equipment operating parameter that first area is shown in obtaining the first operating status figure and the
Before the operating status that two regions are shown, need to characterize controller switching equipment operation ginseng in the operating status figure for exporting the distribution system
Several characters are learnt.Specifically, in the operating status figure for the distribution system that tester's selection is got from test equipment
The subgraph is carried out binaryzation by the subgraph of a character of the selection comprising characterization controller switching equipment operating parameter, test equipment,
It extracts pixel of the rgb value more than 0 in the subgraph and generates the corresponding template image of the character, according to being somebody's turn to do for tester's input
The title of the corresponding template image of character is named and preserves to the corresponding template image of the character, wherein template image
Size can be default value or be configured according to the operation of tester, and so on, to characterizing controller switching equipment operating parameter
All characters learnt, and obtain characterization controller switching equipment operating parameter the corresponding template image of all characters (such as 0-9).
In one specific embodiment, the operating parameter and second that first area is shown in the first operating status figure is determined
The operating status that region is shown, including:For in first area in the first operating status figure and the second operating status figure first
Region traverses the every row pixel of image in first area successively, if the color value of the pixel is more than first threshold, it is determined that the picture
Element is the pixel of the character of composition characterization controller switching equipment operating parameter, and by element identical with the row where the pixel in array
It is set to the first setting value, otherwise, it is determined that the pixel is not the pixel of the character of composition characterization controller switching equipment operating parameter, and will
Element identical with the row where the pixel is set to the second setting value in array, wherein the array is that columns is not less than first
The one-dimension array of the columns of the corresponding image in region;Image in first area is divided into one or more subgraphs, wherein
One subgraph be in the corresponding image in first area be continuously that row where the element of the first setting value are identical in the array
All row pixel composition image;Obtained subgraph is carried out with the template image of character pre-saved respectively
Match, determine the character in the subgraph, obtains the operating parameter that first area is shown.
Specifically, test equipment carries out binary conversion treatment to the image in first area so that the pixel that rgb value is 255
For the pixel of the character of composition characterization controller switching equipment operating parameter in the image, the pixel that rgb value is 0 is in the image except composition
Characterize other pixels outside the pixel of the character of controller switching equipment operating parameter.
Optionally it is determined that in second area is shown in the first operating status figure operating status and the second operating status figure
The operating status that second area is shown, including but not limited to following two methods:
Method one, for second area in second area in the first operating status figure and the second operating status figure, if matching
The operating status of electric equipment is characterized in the operating status figure that distribution system exports with different color values, then identifies second area
In region where the controller switching equipment, the color value and the controller switching equipment of pixel in the region where the controller switching equipment
The correspondence of operating status and color value determines the operating status that second area is shown.
If method two, controller switching equipment are only there are two types of operating status, according to each picture in second area in the first operating status figure
In the color value and the second operating status figure of element in second area each pixel color value, determine in the second operating status figure
The number of the changed pixel of color value in second area;If the number of the changed pixel of color value and the second operation shape
The ratio of sum of all pixels is more than given threshold in second area in state figure, it is determined that the operating status of the controller switching equipment becomes
Change.
In one specific embodiment, the operating status of controller switching equipment can be according to tester in the first operating status figure
The running state information that member inputs when selecting second area from the first operating status figure determines.
In implementation, test equipment determines that the operating parameter that first area is shown in the first operating status figure and second area are aobvious
The operation shape that the operating parameter and second area that first area is shown in the operating status shown and the second operating status figure are shown
After state, according to the operating status that the operating parameter and second area that first area is shown in the first operating status figure are shown,
Operating status that the operating parameter and second area that first area is shown in two operating status figures are shown and the controller switching equipment
Specified operating parameter determines whether the controller switching equipment is correct to the response of the setting.For example, test equipment determines the first operation shape
The voltage for the controller switching equipment that first area is shown in state figure is 220V, and the operating status that first area is shown is closed state, to
After the corresponding simulator transmission of controller switching equipment sets the voltage of the controller switching equipment to the control command of 300V, if test equipment
Determine that the difference of first area is shown in the second operating status figure operating parameter and set 300V are less than preset value, and the
The operating status that second area is shown in two operating status figures is off-state (assuming that the rated voltage of the controller switching equipment is
280V), it is determined that the controller switching equipment is correct to the response of the setting.
Based on the above-mentioned technical proposal, it in the embodiment of the present invention, is selected according in the first operating status figure of distribution system
First area, second area, and input controller switching equipment mark, establish first area, second area and the controller switching equipment
Correspondence;The operating parameter and/or operating status of first area and the corresponding controller switching equipment of second area are set, and acquisition is set
Postpone the second operating status figure of the distribution system;It is aobvious according to first area in the first operating status figure and the second operating status figure
The operating status that second area is shown in the operating parameter shown and the first operating status figure and the second operating status figure determines
Whether the controller switching equipment is correct to the response of the setting, and obtaining distribution by the operating status figure of distribution system reality output sets
Standby operating parameter and operating status, avoids tester and frequently operates, and to controller switching equipment in simulation distribution system
When the desirable factors that introduce, the influence to distribution system test result improves the accuracy of distribution system test.Also, this
The operating parameter and operating status of controller switching equipment are obtained in inventive embodiments by the operating status figure of distribution system reality output,
The distribution system of the monitoring test system of distribution system using different vendor's exploitation can be tested, versatility is good.
For the main website of test below distribution system, distribution system test method provided by the invention is described in detail.
For distribution system test system architecture as shown in Fig. 2, the system by failure simulation device, controller switching equipment, number
According to acquisition server, data acquisition and monitoring control (Supervisory Control And Data Aqusition, SCADA)
Server, interchanger, three screen dispatching workstations and test equipment.
Wherein, the control command that failure simulation device is used to be sent according to test equipment changes the operation ginseng of controller switching equipment
Number and/or operating status.Data acquisition server be used for obtain controller switching equipment relevant parameter (including operating parameter, operation shape
State etc.), and interacted by interchanger and SCADA servers.Interchanger is for realizing SCADA servers and controller switching equipment
Communication between corresponding data acquisition server.Three screen dispatching workstations are used to be supervised according to the data that SCADA servers obtain
The operating status of distribution system is controlled, and shows the operating status figure of the operating status of distribution system.It is equipped with and matches in test equipment
Electric system test software, test equipment execute power distribution system unified test provided in an embodiment of the present invention by the distribution system test software
Method for testing.
Based on system architecture shown in Fig. 2, test equipment tests main website distribution system by the distribution system test software,
Include the following steps:
(1) test equipment obtains the distribution system that three screen dispatching workstations are shown by the Extraction of Image device in test equipment
The first operating status figure, and the first operating status figure got is shown on the interface of the distribution system test software.
In implementation, test equipment is using computer vision library (the Open Source Computer Vision that increase income
Library, OpenCV) plug-in unit, Extraction of Image device the image collected is obtained by call back function, and show.Wherein, shadow is obtained
As the structure of extractor the image collected is as follows:
(2) test equipment selects one or more of the distribution system according to tester in the first operating status figure
Region where the operating parameter (being identified with Arabic numerals) of controller switching equipment, and at the interface of the distribution system test software
The mark of the type in the region being arranged in the dialog box of upper display controller switching equipment corresponding with the region, establishes the distribution of selection
The correspondence in region and the controller switching equipment where the operating parameter of equipment.
For example, tester selects the operating parameter institute of the controller switching equipment in the distribution system in the first operating status figure
Region, as shown in Figure 3, wherein the rectangle frame of 300.0 outside of number indicates the operating parameter institute of selected controller switching equipment
Region, the dialog box of the mark of the type in the region of setting controller switching equipment corresponding with the region as shown in figure 4, its
In, remote signalling indicates to include the operating parameter of controller switching equipment in selected region, and telemetering indicates to include to match in selected region
The operating status of electric equipment, serial number indicate that the mark of the corresponding controller switching equipment in selected region, state indicate selected area
The current operating status of the corresponding controller switching equipment in domain, at this point, " telemetering " in Selective type option, and selected in serial number option
The mark of " 300.0 " corresponding controller switching equipment.
(3) test equipment selects one or more of the distribution system according to tester in the first operating status figure
It is set in region where the corresponding figure of controller switching equipment, and the dialog box that is shown on the interface of the distribution system test software
The mark of the type in the region set controller switching equipment corresponding with the region is established where the corresponding image of controller switching equipment of selection
Region and the controller switching equipment correspondence.
In the operating status figure of distribution system, when the operating status difference of controller switching equipment, the corresponding figure of the controller switching equipment
Color it is different.It should be noted that the fortune of selected controller switching equipment is not established in the embodiment of the present invention to test equipment
The correspondence in region and the controller switching equipment where row parameter, and establish where the corresponding image of controller switching equipment of selection
Region and the sequencing of the correspondence of the controller switching equipment are defined.
In implementation, test equipment obtains the operating parameter for the controller switching equipment that tester selects in the first operating status figure
The data structure of the information in region where the region at place and the corresponding image of the controller switching equipment of selection is as follows:
For example, tester selects the corresponding figures of controller switching equipment A3 in the distribution system in the first operating status figure
The region at place, as shown in Figure 5, wherein the rectangle frame outside the corresponding figures of controller switching equipment A3 indicates that selected distribution is set
Region where standby corresponding figure, in the dialog box of the mark for the type controller switching equipment corresponding with the region that the region is arranged
" remote signalling " in middle Selective type option, and the mark of the corresponding controller switching equipment of the figure is selected in serial number option, according to selected
The corresponding controller switching equipment of image state, the state of the controller switching equipment is selected in state options.
(4) in the operating parameter region of the controller switching equipment selected in the first operating status figure of test equipment identification
Number determines the operating parameter of the controller switching equipment and display in the first operating status figure, and obtains institute in the first operating status figure
The color value of each pixel in region where the corresponding figure of controller switching equipment of selection.
Specifically, test equipment identifies the operating parameter region of the controller switching equipment selected in the first operating status figure
In number, include the following steps:A) two-value is carried out to the image in the operating parameter region of selected controller switching equipment
Change is handled, and color value in the image in the operating parameter region of selected controller switching equipment is less than to the pixel of setting value
Color value is set to 0, is otherwise set to 255;B) the often row pixel traversed successively, if the color value of pixel is set to 255, by a dimension
Element identical with the row in pixel image after binarization is set to 1 in group nstatus, is otherwise set to 0, wherein
Pixel of the nstatus arrays for forming number in the image after marking binaryzation, nstatus arrays and the image after binaryzation
Correspondence it is as shown in Figure 6;C) nstatus arrays are traversed, if the number in nstatus arrays continuously for 1 element is more than
The occupied number of pixels of width of preset individual digit, then by the image after binaryzation with this it is continuous for 1 element institute
It is determined as the corresponding subgraph of a number in all pixels for arranging identical row, and so on, the image after binaryzation is torn open
It is divided into multiple subgraphs;D) obtained subgraph is matched with the digital picture template pre-saved respectively, is determined each
Number in subgraph, and determining number is subjected to group according to putting in order in each digital image after binarization
It closes, obtains the number in the operating parameter region of the controller switching equipment selected in the first operating status figure.For example, by two-value
Image in the operating parameter region of the controller switching equipment selected in the first operating status figure after change is split as multiple sons
The effect of image is as shown in Figure 7.
If including decimal point in the operating parameter region of selected controller switching equipment, through but not limited to following two
Kind method identifies decimal point:If it fails to match for method one, subgraph and the digital picture template that pre-saves, it is determined that the son
Image is decimal point.Method two is usually less than the size of digital region due to the size in the occupied region of decimal point, because
After image after binaryzation is split as multiple subgraphs by this, the size of digital region in each subgraph is determined, if sub
The size of digital region is less than preset value in image, it is determined that the image subsection is decimal point.
(5) operating parameter and operating status of controller switching equipment of the test equipment selected by the first operating status figure, if
The operating parameter and/operating status of the controller switching equipment are set, and obtains the second operating status figure of the distribution system.
Specifically, the operating parameter of controller switching equipment of the test equipment selected by the first operating status figure and operation shape
State sends control command to the corresponding failure simulation device of the controller switching equipment, indicates that the failure simulation device changes the distribution and sets
Standby operating parameter and/operating status.
(6) in the operating parameter region of the controller switching equipment selected in the second operating status figure of test equipment identification
Number, determine the operating parameter of the controller switching equipment and display in the second operating status figure, and obtain in the second operating status figure
The color value of each pixel in region where the corresponding figure of the selected controller switching equipment, according to should in the first operating status figure
Controller switching equipment pair in the color value of each pixel and the second operating status figure in region where the corresponding figure of controller switching equipment
The color value of each pixel in region where the figure answered determines the current operating status of the controller switching equipment.
Specifically, since the controller switching equipment only has two states-closed state and off-state, test equipment if it is determined that
In region in second operating status figure where the corresponding figure of the controller switching equipment number of the changed pixel of color value with
The ratio of sum of all pixels is more than 30% in region in second operating status figure where the corresponding figure of the controller switching equipment, it is determined that
The current operating status of the controller switching equipment is different from the operating status in the first operating status figure, and updates distribution in test equipment
The operating status of the controller switching equipment of system test software interface display.
(7) test equipment is according in the operating parameter of the controller switching equipment, the second operating status figure in the first operating status figure
The operating parameter of the controller switching equipment and the current operating status of the controller switching equipment, determine response of the controller switching equipment to the setting
It is whether correct.
Based on same inventive concept, a kind of distribution system test device 800 is additionally provided in the embodiment of the present invention, such as Fig. 8
Shown, the specific implementation of the device can be found in the description of embodiment of the method part, and overlaps will not be repeated, which mainly wraps
It includes
First processing module 801, for according to the firstth area selected in the first operating status figure of the distribution system
Domain, second area, and the controller switching equipment of input identify, and establish the first area, the second area and the distribution and set
Standby correspondence;Wherein, the operating parameter of the controller switching equipment is shown in the first area, is shown in the second area
It is shown with the controller switching equipment operating status;
Second processing module 802, the fortune for the first area and the corresponding controller switching equipment of the second area to be arranged
Row parameter and/or operating status obtain the second operating status figure of the distribution system after the setting;
Determining module 803, for according to first area in the first operating status figure and the second operating status figure
The operation that second area is shown in the operating parameter of display and the first operating status figure and the second operating status figure
State determines whether the controller switching equipment is correct to the response of the setting.
Optionally, the Second processing module 802 is specifically used for:It is aobvious according to first area in the first operating status figure
The operating status that second area is shown in the operating parameter shown and the first operating status figure is corresponded to the controller switching equipment
Simulator send control command, the control command is used to indicate the operation that the simulator changes the controller switching equipment
Parameter and/or operating status.
Optionally, the determining module 803 is additionally operable to:For first area in the first operating status figure and described
First area in second operating status figure, before determining whether the controller switching equipment is correct to the response of the setting, identification
The corresponding subgraph of each character in image in the first area, wherein the character is for characterizing the controller switching equipment
Operating parameter;The subgraph is matched with the Character mother plate image pre-saved respectively, is determined in the subgraph
Character, obtain the operating parameter that the first area is shown.
Optionally, the determining module 803 is additionally operable to:For second area in the first operating status figure and described
Second area in second operating status figure, before determining whether the controller switching equipment is correct to the response of the setting, if institute
The operating status for stating controller switching equipment is characterized in the operating status figure that the distribution system exports with different color values, then is identified
Region where controller switching equipment described in the second area, the color value of pixel in the region where the controller switching equipment
And the operating status of the controller switching equipment and the correspondence of color value, determine the operating status that the second area is shown.
Optionally, if the controller switching equipment is only there are two types of operating status, the determining module 803 is additionally operable to:
Before determining whether the controller switching equipment is correct to the response of the setting, according to the first operating status figure
In middle second area in the color value of each pixel and the second operating status figure in second area each pixel color value,
Determine the number of the changed pixel of color value in second area in the second operating status figure;
If the number of the changed pixel of color value and pixel in second area in the second operating status figure
The ratio of sum is more than given threshold, it is determined that the operating status of the controller switching equipment changes.
Based on same inventive concept, a kind of equipment is additionally provided in the embodiment of the present invention, the specific implementation of the equipment can be joined
See the description of embodiment of the method part, overlaps will not be repeated, as shown in figure 9, the equipment includes mainly:
Processor 901 executes following process for reading the program in memory 902:
According to selected in the first operating status figure of distribution system first area, second area, and input match
Electric equipment identify, establish the first area, the second area and the controller switching equipment correspondence;Wherein, described
The operating parameter of the controller switching equipment is shown in one region, and the controller switching equipment operation shape is shown in the second area
State;Wherein, the distribution system includes at least one controller switching equipment, and the distribution system output has operating status figure, described
The operating parameter and operating status of controller switching equipment are shown in operating status figure;
The operating parameter and/or operating status of the first area and the corresponding controller switching equipment of the second area are set,
Indicate that transceiver 903 obtains the second operating status figure of the distribution system after the setting;
According to the operating parameter that first area is shown in the first operating status figure and the second operating status figure, with
And the operating status that second area is shown in the first operating status figure and the second operating status figure, determine the distribution
Whether equipment is correct to the response of the setting.
Transceiver 903, for the transceiving data under the control of processor 901.
Optionally, the processor 901 is specifically used for:According to the fortune that first area is shown in the first operating status figure
The operating status that second area is shown in row parameter and the first operating status figure, to the corresponding simulation of the controller switching equipment
Device sends control command, and the control command is used to indicate the operating parameter that the simulator changes the controller switching equipment
And/or operating status.
Optionally, the processor 901 is additionally operable to:For first area in the first operating status figure and described
First area in two operating status figures identifies institute before determining whether the controller switching equipment is correct to the response of the setting
State the corresponding subgraph of each character in the image in first area, wherein the character is for characterizing the controller switching equipment
Operating parameter;The subgraph is matched with the Character mother plate image pre-saved respectively, is determined in the subgraph
Character obtains the operating parameter that the first area is shown.
Optionally, the processor 901 is additionally operable to:For second area in the first operating status figure and described
Second area in two operating status figures, before determining whether the controller switching equipment is correct to the response of the setting, if described
The operating status of controller switching equipment is characterized in the operating status figure that the distribution system exports with different color values, then identifies institute
State the region where controller switching equipment described in second area, in the region where the controller switching equipment color value of pixel with
And the operating status of the controller switching equipment and the correspondence of color value, determine the operating status that the second area is shown.
Optionally, if the controller switching equipment is only there are two types of operating status, the processor 901 is additionally operable to:
Before determining whether the controller switching equipment is correct to the response of the setting, according to the first operating status figure
In middle second area in the color value of each pixel and the second operating status figure in second area each pixel color value,
Determine the number of the changed pixel of color value in second area in the second operating status figure;
If the number of the changed pixel of color value and pixel in second area in the second operating status figure
The ratio of sum is more than given threshold, it is determined that the operating status of the controller switching equipment changes.
Wherein, in fig.9, bus architecture may include the bus and bridge of any number of interconnection, specifically by processor 901
The various circuits for the memory that the one or more processors and memory 902 of representative represent link together.Bus architecture is also
Various other circuits of such as peripheral equipment, voltage-stablizer and management circuit or the like can be linked together, these are all
It is it is known in the art, therefore, it will not be further described herein.Bus interface provides interface.Transceiver 903 can
To be multiple element, that is, includes transmitter and transceiver, the list for being communicated over a transmission medium with various other devices is provided
Member.Processor 901 is responsible for bus architecture and common processing, and memory 902 can store processor 901 and execute operation
When used data.
Optionally, processor 901 can be CPU (centre buries device), ASIC (Application Specific
Integrated Circuit, application-specific integrated circuit), (Field-Programmable Gate Array, scene can compile FPGA
Journey gate array) or CPLD (Complex Programmable Logic Device, Complex Programmable Logic Devices).
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer
The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.)
Formula.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of distribution system test method, the distribution system includes at least one controller switching equipment, which is characterized in that described
Distribution system output has operating status figure, and the operating parameter and operating status of controller switching equipment are shown in the operating status figure,
The method includes:
According to selected in the first operating status figure of the distribution system first area, second area, and input match
Electric equipment identify, establish the first area, the second area and the controller switching equipment correspondence;Wherein, described
The operating parameter of the controller switching equipment is shown in one region, and the controller switching equipment operation shape is shown in the second area
State;
The operating parameter and/or operating status of the first area and the corresponding controller switching equipment of the second area are set, obtained
Second operating status figure of the distribution system after the setting;
According to the operating parameter that first area is shown in the first operating status figure and the second operating status figure, Yi Jisuo
The operating status that second area is shown in the first operating status figure and the second operating status figure is stated, determines the controller switching equipment
It is whether correct to the response of the setting.
2. the method as described in claim 1, which is characterized in that the first area is arranged and the second area is corresponding matches
The operating parameter and/or operating status of electric equipment, including:
According in the operating parameter and the first operating status figure that first area is shown in the first operating status figure
The operating status that two regions are shown sends control command to the corresponding simulator of the controller switching equipment, and the control command is used
Change the operating parameter and/or operating status of the controller switching equipment in the instruction simulator.
3. the method as described in claim 1, which is characterized in that determine the controller switching equipment to the response of the setting whether just
Before really, further include:
For first area in first area in the first operating status figure and the second operating status figure, execute following
Step:
Identify the corresponding subgraph of each character in the image in the first area, wherein the character is described for characterizing
The operating parameter of controller switching equipment;
The subgraph is matched with the Character mother plate image pre-saved respectively, determines the character in the subgraph,
Obtain the operating parameter that the first area is shown.
4. the method as described in claim 1-3 any one, which is characterized in that determine the controller switching equipment to the setting
Before whether response is correct, further include:
For second area in second area in the first operating status figure and the second operating status figure, execute following
Step:
If the operating status of the controller switching equipment is in the operating status figure that the distribution system exports with different color value tables
Sign, then identify the region where controller switching equipment described in the second area, picture in the region where the controller switching equipment
The color value and the operating status of the controller switching equipment and the correspondence of color value of element, determine what the second area was shown
Operating status.
5. the method as described in claim 1-3 any one, which is characterized in that if only there are two types of run shape for the controller switching equipment
State further includes before determining whether the controller switching equipment is correct to the response of the setting:
According in the first operating status figure in second area in the color value of each pixel and the second operating status figure
The color value of each pixel in second area determines in the second operating status figure the changed picture of color value in second area
The number of element;
If the number of the changed pixel of color value and sum of all pixels in second area in the second operating status figure
Ratio be more than given threshold, it is determined that the operating status of the controller switching equipment changes.
6. a kind of distribution system test device, the distribution system includes at least one controller switching equipment, which is characterized in that described
Distribution system output has operating status figure, and the operating parameter and operating status of controller switching equipment are shown in the operating status figure,
Described device includes:
First processing module, for according to the first area selected in the first operating status figure of the distribution system, second
Region, and input controller switching equipment mark, it is corresponding with the controller switching equipment to establish the first area, the second area
Relationship;Wherein, the operating parameter of the controller switching equipment is shown in the first area, is shown in the second area described
Controller switching equipment operating status;
Second processing module, the operating parameter for the first area and the corresponding controller switching equipment of the second area to be arranged
And/or operating status, obtain the second operating status figure of the distribution system after the setting;
Determining module, for according to the fortune that first area is shown in the first operating status figure and the second operating status figure
The operating status that second area is shown in row parameter and the first operating status figure and the second operating status figure, really
Whether the fixed controller switching equipment is correct to the response of the setting.
7. device as claimed in claim 6, which is characterized in that the Second processing module is specifically used for:
According in the operating parameter and the first operating status figure that first area is shown in the first operating status figure
The operating status that two regions are shown sends control command to the corresponding simulator of the controller switching equipment, and the control command is used
Change the operating parameter and/or operating status of the controller switching equipment in the instruction simulator.
8. device as claimed in claim 6, which is characterized in that the determining module is additionally operable to:
For first area in first area in the first operating status figure and the second operating status figure, determining
State controller switching equipment it is whether correct to the response of the setting before, identify each character correspondence in the image in the first area
Subgraph, wherein the character is used to characterize the operating parameter of the controller switching equipment;
The subgraph is matched with the Character mother plate image pre-saved respectively, determines the character in the subgraph,
Obtain the operating parameter that the first area is shown.
9. the device as described in claim 6-8 any one, which is characterized in that the determining module is additionally operable to:
For second area in second area in the first operating status figure and the second operating status figure, determining
State controller switching equipment it is whether correct to the response of the setting before, if the operating status of the controller switching equipment is in the distribution system
It is characterized with different color values in the operating status figure of output, then identifies the area where controller switching equipment described in the second area
Domain, the color value of pixel and the operating status and color value of the controller switching equipment in the region where the controller switching equipment
Correspondence, determine the operating status that the second area is shown.
10. the device as described in claim 6-8 any one, which is characterized in that if only there are two types of operations for the controller switching equipment
State, the determining module are additionally operable to:
Determine the controller switching equipment to the response of the setting it is whether correct before, according in the first operating status figure the
In two regions in the color value of each pixel and the second operating status figure in second area each pixel color value, determine
In the second operating status figure in second area the changed pixel of color value number;
If the number of the changed pixel of color value and sum of all pixels in second area in the second operating status figure
Ratio be more than given threshold, it is determined that the operating status of the controller switching equipment changes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710309705.5A CN108802512B (en) | 2017-05-04 | 2017-05-04 | Power distribution system test method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710309705.5A CN108802512B (en) | 2017-05-04 | 2017-05-04 | Power distribution system test method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108802512A true CN108802512A (en) | 2018-11-13 |
CN108802512B CN108802512B (en) | 2020-02-14 |
Family
ID=64054475
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710309705.5A Active CN108802512B (en) | 2017-05-04 | 2017-05-04 | Power distribution system test method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108802512B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112134357A (en) * | 2020-09-21 | 2020-12-25 | 珠海许继芝电网自动化有限公司 | Power distribution automation master station system based on cloud service |
CN112559314A (en) * | 2019-09-26 | 2021-03-26 | 上海汽车集团股份有限公司 | Testing method and testing device for human-computer interaction interface |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008157695A3 (en) * | 2007-06-20 | 2009-02-19 | S & C Electric Co | Fault protection device with ground trip delay and method |
CN202231491U (en) * | 2011-09-28 | 2012-05-23 | 上海大全赛奥法电气科技有限公司 | Power distribution monitoring system |
CN103795146A (en) * | 2014-01-26 | 2014-05-14 | 国家电网公司 | Power distribution terminal conformance testing method |
CN203800700U (en) * | 2013-12-27 | 2014-08-27 | 山东和远自控技术有限公司 | Power distribution network monitoring system |
CN105322519A (en) * | 2015-11-02 | 2016-02-10 | 湖南大学 | Big data fusion analysis and running state monitoring method for intelligent power distribution network |
CN105958647A (en) * | 2016-06-15 | 2016-09-21 | 国家电网公司 | Comprehensive measurement and regulation-control apparatus and method for active power distribution network |
CN106556766A (en) * | 2016-10-11 | 2017-04-05 | 国网上海市电力公司 | A kind of distribution network failure monitoring system based on distribution line multidate information |
-
2017
- 2017-05-04 CN CN201710309705.5A patent/CN108802512B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008157695A3 (en) * | 2007-06-20 | 2009-02-19 | S & C Electric Co | Fault protection device with ground trip delay and method |
CN202231491U (en) * | 2011-09-28 | 2012-05-23 | 上海大全赛奥法电气科技有限公司 | Power distribution monitoring system |
CN203800700U (en) * | 2013-12-27 | 2014-08-27 | 山东和远自控技术有限公司 | Power distribution network monitoring system |
CN103795146A (en) * | 2014-01-26 | 2014-05-14 | 国家电网公司 | Power distribution terminal conformance testing method |
CN105322519A (en) * | 2015-11-02 | 2016-02-10 | 湖南大学 | Big data fusion analysis and running state monitoring method for intelligent power distribution network |
CN105958647A (en) * | 2016-06-15 | 2016-09-21 | 国家电网公司 | Comprehensive measurement and regulation-control apparatus and method for active power distribution network |
CN106556766A (en) * | 2016-10-11 | 2017-04-05 | 国网上海市电力公司 | A kind of distribution network failure monitoring system based on distribution line multidate information |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112559314A (en) * | 2019-09-26 | 2021-03-26 | 上海汽车集团股份有限公司 | Testing method and testing device for human-computer interaction interface |
CN112134357A (en) * | 2020-09-21 | 2020-12-25 | 珠海许继芝电网自动化有限公司 | Power distribution automation master station system based on cloud service |
Also Published As
Publication number | Publication date |
---|---|
CN108802512B (en) | 2020-02-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105046279B (en) | A kind of analog circuit fault method for classifying modes | |
CN109784369A (en) | H5 page test method and device, electronic equipment, storage medium | |
US11126519B2 (en) | Monitoring device, monitoring method and non-transitory storage medium | |
CN105302413A (en) | UI test method and system for control | |
CN105227873B (en) | A kind of test method and device of on-screen display data | |
CN110794243A (en) | Fault diagnosis method, system and equipment for direct current system | |
CN102768308A (en) | Method for carrying out visual simulation test on dielectric loss of current transformer | |
CN114881989A (en) | Small sample based target object defect detection method and device, and electronic equipment | |
CN114385869A (en) | Method and device for detecting data abnormity, storage medium and computer equipment | |
CN111782524A (en) | Application testing method and device, storage medium and electronic device | |
CN112650808A (en) | Transformer substation anti-error logic visualization method capable of realizing real-time verification and simulation verification | |
CN109905268B (en) | Network operation and maintenance method and device | |
CN108802512A (en) | A kind of distribution system test method and device | |
EP3388909A1 (en) | Display method, display program, and display control device | |
EP3905672A1 (en) | Color space mapping method and device, computer readable storage medium and apparatus | |
CN106815420A (en) | A kind of mode of connection for visualizing auxiliary connection method and electric cabinet | |
CN103514088B (en) | A kind of function regression testing method of terminal application software | |
CN109656810A (en) | A kind of adjustment method of image algorithm, debugging system and terminal device | |
CN109324967A (en) | The method, apparatus and terminal device of application program pop-up components testing | |
US20100172573A1 (en) | Distinguishing Colors of Illuminated Objects Using Machine Vision | |
CN106960188A (en) | Weather image sorting technique and device | |
CN102778664A (en) | Method for carrying out visualized simulation verification on discharge counter for zinc oxide arresters | |
CN112286785B (en) | Abnormality detection method and device for user interface | |
CN111222781B (en) | Fault diagnosis method and device, and storage medium | |
CN109688025B (en) | Test monitoring method, device, terminal and storage medium based on digital KVM |
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 |