CN108762138A - The anti-error logical method of electrical equipment and system are automatically generated based on device numbering - Google Patents

The anti-error logical method of electrical equipment and system are automatically generated based on device numbering Download PDF

Info

Publication number
CN108762138A
CN108762138A CN201810479224.3A CN201810479224A CN108762138A CN 108762138 A CN108762138 A CN 108762138A CN 201810479224 A CN201810479224 A CN 201810479224A CN 108762138 A CN108762138 A CN 108762138A
Authority
CN
China
Prior art keywords
logical formula
error
error logical
target
object module
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
Application number
CN201810479224.3A
Other languages
Chinese (zh)
Other versions
CN108762138B (en
Inventor
徐海
田旭初
龙胜江
熊奇
刘练
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changyuan Contron Power Security Technology Co Ltd
Original Assignee
Zhuhai Changyuan Co Creation Software Technology 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 Zhuhai Changyuan Co Creation Software Technology Co Ltd filed Critical Zhuhai Changyuan Co Creation Software Technology Co Ltd
Priority to CN201810479224.3A priority Critical patent/CN108762138B/en
Publication of CN108762138A publication Critical patent/CN108762138A/en
Application granted granted Critical
Publication of CN108762138B publication Critical patent/CN108762138B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0426Programming the control sequence
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/23Pc programming
    • G05B2219/23146Programmable, reconfigurable via microprocessor or coding switches

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the present application provides one kind and based on device numbering automatically generates the anti-error logical method of electrical equipment and system, wherein anti-error logical formula generation method includes:The equipment account of electrical equipment is obtained, the equipment account includes at least one device name;Determine object module member set corresponding at least one device name, the object module member set includes at least one object module member;Determine the first anti-error logical formula corresponding at least one object module member, according to the described first anti-error logical formula and at least one device name, generate the anti-error logical formula of target, therefore, the embodiment of the present application can automatically generate anti-error logical formula by equipment account, and then improve system effectiveness and the degree of automation to a certain extent.

Description

The anti-error logical method of electrical equipment and system are automatically generated based on device numbering
Technical field
This application involves technical field of electric equipment, and in particular to one kind automatically generating electrical equipment based on device numbering and prevents Mis-logical method and system.
Background technology
At present in substation, the anti-error logical formula of existing electrical equipment relies primarily on manual compiling and immature The anti-error logical formula of automatically generating generate system.It is existing to automatically generate anti-error logical formula generation system in actual use, Whether it is typical electrical connection unit by the current electrical wiring of artificial judgment, if it is typical electrical connection unit just from standard Corresponding template is selected in template library, equipment is substituted into template, to generate the anti-error logical formula of equipment, if judging electricity Gas is connected as atypia wiring units, then uses and turn the anti-mis-logical of manual compiling.The dependence of this method connects with predefined typical case Line is electrically connected unit, is only applicable to that conventional connections applicable surface is narrow, and wiring needs artificial judgment and selection, increases human factor The probability of caused mistake, results in that system effectiveness is relatively low and the degree of automation is relatively low.
Invention content
The embodiment of the present application provides one kind and automatically generating the anti-error logical method of electrical equipment and system, energy based on device numbering Anti-error logical formula is enough automatically generated by equipment account, and then improves system effectiveness and the degree of automation to a certain extent.
The first aspect of the embodiment of the present application provides a kind of anti-error logical formula generation method, the method includes:
The equipment account of electrical equipment is obtained, the equipment account includes at least one device name;
Determine that object module member set corresponding at least one device name, the object module member collect Conjunction includes at least one object module member;
Determine the first anti-error logical formula corresponding at least one object module member;
According to the described first anti-error logical formula and at least one device name, the anti-error logical formula of target is generated.
In conjunction with the embodiment of the present application in a first aspect, in the first possible realization method of first aspect, it is described really Fixed object module member set corresponding at least one device name, the object module member set is including at least One object module member, including:Extract at least one device name;It is parsed using preset device name analytic modell analytical model At least one device name obtains object module member set corresponding at least one device name.
In conjunction with the first aspect of the embodiment of the present application or the first possible realization method of first aspect, in first aspect Second of possible realization method in, the determination corresponding at least one object module member first is anti-error to patrol Formula is collected, including:Extract the object module member set;According to preset anti-error logical formula template, obtain with it is described extremely A few corresponding first anti-error logical formula of object module member.
By establishing the mapping relations between model member and anti-error logical formula, can directly be looked into the mapping relations The anti-error logical formula corresponding to model member is found, so as to improve the generation of anti-error logical formula to a certain extent Efficiency also can improve the accuracy write to a certain extent relative to the anti-error logical formula of manual compiling.
In conjunction with second of possible realization method of the first aspect to first aspect of the embodiment of the present application, in first aspect The third possible realization method in, described according to the described first anti-error logical formula and at least one implementor name Claim, after generating the anti-error logical formula of target, the method further includes:Obtain the second anti-error logical formula;Described second is prevented Mis-logical formula is compared with the anti-error logical formula of the target, if the second anti-error logical formula and the target are anti-error Logical formula is identical, it is determined that the second anti-error logical formula meets preset condition;If the second anti-error logical formula with The anti-error logical formula of target differs, it is determined that the second anti-error logical formula does not meet preset condition.
In conjunction with the embodiment of the present application first aspect to first aspect the third possible realization method, in first aspect The 4th kind of possible realization method in, the method further includes:If mesh corresponding with target device title cannot be determined Model member is marked, then creates reference target member model corresponding with the target device title;It generates and the reference target The anti-error logical formula of the corresponding target of member's model;The reference target member model and the anti-mis-logical of the target is public Formula is added in anti-error logical formula template.
By when that cannot determine object module member corresponding with target device, creating opposite with the target device The object module member answered, and the anti-error logical formula of corresponding target is generated, and be added in anti-error logical formula template, Anti-error logical formula template can be updated, to improve the practicability of system.
The second aspect of the embodiment of the present application provides a kind of anti-error logical formula generating means, and described device includes:
First acquisition unit, the equipment account for obtaining electrical equipment, the equipment account include at least one equipment Title;
Determination unit, it is described for determining object module member set corresponding at least one device name Object module member set includes at least one object module member;
First generation unit, for determining the corresponding at least one object module member first anti-mis-logical public affairs Formula;
Second generation unit, for according to the described first anti-error logical formula and at least one device name, generating The anti-error logical formula of target.
It is described true in the first possible realization method of second aspect in conjunction with the second aspect of the embodiment of the present application Order member is specifically used for:
Extract at least one device name;
At least one device name is parsed using preset device name analytic modell analytical model, obtain with it is described at least one The corresponding object module member set of device name.
In conjunction with the second aspect of the embodiment of the present application or the first possible realization method of second aspect, in second aspect Second of possible realization method in, the generation unit is specifically used for:
Extract the object module member set;
According to preset anti-error logical formula template, obtain and at least one object module member corresponding first Anti-error logical formula.
In conjunction with second of possible realization method of the second aspect to second aspect of the embodiment of the present application, in second aspect The third possible realization method in, described device further includes:
Second acquisition unit, for obtaining the second anti-error logical formula;
First comparing unit, for comparing the described second anti-error logical formula and the anti-error logical formula of the target It is right, if the second anti-error logical formula is identical as the anti-error logical formula of the target, it is determined that the second anti-mis-logical is public Formula meets preset condition regulation;
Second comparing unit, if being differed for the described second anti-error logical formula and the anti-error logical formula of the target, Then determine that the second anti-error logical formula does not meet preset condition regulation.
In conjunction with the embodiment of the present application second aspect to second aspect the third possible realization method, in second aspect The 4th kind of possible realization method in, described device further includes:
Creating unit, if for that cannot determine object module member corresponding with target device title, create with The corresponding reference target member model of the target device title;
Third generation unit, for generating the anti-error logical formula of target corresponding with the reference target member model;
Adding device, it is anti-error for the reference target member model and the anti-error logical formula of the target to be added to In logical formula template.
The embodiment of the present application third aspect provides one kind and automatically generating the anti-mis-logical system of electrical equipment based on device numbering The step of system, the system comprises some or all of the embodiment of the present application first aspects.
Implement the embodiment of the present application, has the advantages that:
As can be seen that by the embodiment of the present application, the equipment account of electrical equipment is obtained first, is then extracted from system Object module member set corresponding with equipment account, then after anti-error logical formula generated according to object module member set, Finally according to the described first anti-error logical formula and at least one device name, the anti-error logical formula of target is generated, relatively In existing scheme, whether be typical electrical connection unit, and then take corresponding if needing currently to be electrically connected by artificial judgment Operation, this programme is capable of the acquisition multiple equipment title of batch, then extract model corresponding with multiple equipment title at Member set, at this point, model member concentrate, there may be multiple equipment title it is corresponding with a model member, then determine and It is public finally to generate the anti-mis-logical of target according to the anti-error logical formula and device name for the corresponding anti-error logical formula of model member Formula, to which the anti-error logical formula of target carries device name, with this, an anti-error logical formula can have suitable for multiple The equipment of identical function, to when being write to the anti-error logical formula of equipment progress, it is not necessary to be compiled to each specific equipment It writes, so as to improve efficiency of the system when carrying out anti-error logical formula and generating to a certain extent, meanwhile, in entire logic During formula generates, reduces the ratio manually participated in, reduce probability wrong caused by human factor, it can be certain The degree of automation of lifting system in degree.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Figure 1A provides a kind of configuration diagram of anti-error flogic system for the embodiment of the present application;
Figure 1B is that an embodiment of the present invention provides a kind of flow diagrams of anti-error logical formula generation method;
Fig. 1 C are a kind of schematic diagram of device name;
Fig. 1 D are that an embodiment of the present invention provides a kind of possible anti-error logical formula templates;
Fig. 2 provides the flow diagram of another anti-error logical formula generation method for the embodiment of the present application;
Fig. 3 provides the flow diagram of another anti-error logical formula generation method for the embodiment of the present application;
Fig. 4 provides the flow diagram of another anti-error logical formula generation method for the embodiment of the present application;
Fig. 5 A provide a kind of structural schematic diagram of anti-error logical formula generating means for the embodiment of the present application;
Fig. 5 B provide another anti-error logical formula generating means for the embodiment of the present application;
Fig. 5 C provide another anti-error logical formula generating means for the embodiment of the present application;
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
Term " first ", " second " in the description and claims of this application and above-mentioned attached drawing etc. are for distinguishing Different objects, rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as process, method, system, product or the equipment for containing series of steps or unit do not have It is defined in the step of having listed or unit, but further includes the steps that optionally not listing or unit, or optionally also wrap It includes for other intrinsic steps of these processes, method, product or equipment or unit.
" embodiment " mentioned in this application is it is meant that a particular feature, structure, or characteristic described can be in conjunction with the embodiments Included at least one embodiment of the application.The phrase, which occurs, in each position in the description might not each mean phase Same embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art are explicitly Implicitly understand, embodiments described herein can be combined with other embodiments.
In order to be better understood from the technical solution of the application, below first to a kind of anti-mis-logical provided by the embodiments of the present application System is briefly introduced.Please refer to Fig.1 A, Figure 1A provides a kind of framework of anti-error flogic system for the embodiment of the present application and shows It is intended to.As shown in Figure 1A, anti-error flogic system includes:Input/output module, device name analysis module, formula generation module and Implementor name template library, wherein input/output module is for input equipment account and exports anti-error logical formula;Implementor name template Library, for the mapping relations between storage device title and model member;Device name analysis module is used for analytical equipment title, Model member corresponding with device name is matched to from implementor name template library;Formula generation module, for leading model member Enter anti-error logical formula to generate in template, to export anti-error logical formula corresponding with the model member.Wherein, table of equipment Account includes device name, equipment amount, device distribution, equipment change conditions of various types equipment etc., and above-mentioned module is only anti-error The part of module of flogic system can also include other modules certainly, be only to schematically illustrate herein.
B is please referred to Fig.1, Figure 1B is that an embodiment of the present invention provides a kind of signals of the flow of anti-error logical formula generation method Figure.As shown in Figure 1B, anti-error logical formula generation method includes the following steps:
101, the equipment account of electrical equipment is obtained, the equipment account includes at least one device name.
Optionally, the equipment account of electrical equipment can obtain at target user, be set from target user to system offer Standby account.
Optionally, C is please referred to Fig.1, Fig. 1 C are a kind of schematic diagram of device name.In fig. 1 c, switch number and voltage Grade is related, and disconnecting link, earthing knife-switch, ground wire, the number of net door are related with switch number, will be spaced according to the requirement for writing five prevention logic Interior device packets:Switch, 1 female knife, 2 female knives, switch earthing knife-switch etc., then can determine variate model, as shown in table 1, specific as follows:
A kind of possible variate model of table 1
Variable name Variate-value
HV 2
MV 1
HMX1 1
Wherein, the naming rule of HV is that voltage levels equipment starts with 2, and the naming rule of MV is middle voltage class equipment With 1 beginning, it is 1 that the naming rule of HMX1, which is No. 1 busbar number of high voltage, only lists Partial Variable, further includes other changes certainly Amount, herein by way of example only.
Optionally, table 2 provides a kind of possible gap model for the embodiment of the present application, specific as follows:
A kind of possible gap model of table 2
Being named as with illustrating in 220KV line segregations in table 2, wherein the Naming conventions of switch are: { this.HV } is the title of 220KV outlet switchs, is started with variable HV, [!9,!0] it is non-9 non-zero numbers, [!0] it is non-zero Number;The Naming conventions of 1 female knife are:{ this. switches } [1], the title of the female knife in this interval 1 are added after this interval switchs name Number 1;The Naming conventions of 2 female knives are:{ this. switches } [2], the title of the female knife in this interval 2 are added after this interval switchs name Number 2, as shown in 1C, it be 201,1 female knife is 2011 to switch.
Optionally, gap model includes medium voltage side gap model, high-pressure side gap model etc., the outgoing line interval of medium voltage side and High-pressure side is identical, therefore in the variate model for writing medium voltage side, can HV be replaced with MV, you can extrusion line interval in completion The foundation of variate model.
By the automatic identification to substation equipment account, it is exactly that 220KV high is extruded to meet the interval that above-mentioned model defines Line interval if equipment account meets other gap models when defining, can determine that as corresponding gap model, know certainly Do not go out equipment account for after specific gap model, then device name parsing can be carried out to the equipment account.
Optionally, mother interval, the intervals PT, capacitor standoff are the wiring of routine, therefore only need to establish a substation Variate model, which can be applied in other different substations, when specific name, it is only necessary to according to specific Substation modifies naming rule.
102, determine object module member set corresponding at least one device name, the object module at Member's set includes at least one object module member.
Optionally, determine that object module member may include step A1-A2, it is specific as follows:
A1, extraction at least one device name;
A2, at least one device name is parsed using preset device name analytic modell analytical model, obtain with it is described at least The corresponding object module member set of one device name.
Optionally, by taking Fig. 1 C as an example, object module member includes:Switch, busbar, bus bar side earthing knife-switch, outgoing line side earthing knife-switch etc., Device name analytic modell analytical model may include that device name analytical algorithm, device name analytical algorithm include:Switch names analytic formula, Female knife name resolving formula etc., switch names analytic formula are " 20?", wherein "?" indicate Any Digit, switch names parsing Formula can be understood as:" with 3 digits of 20 beginnings " female knife name resolving formula is:" switch?", wherein "?" indicate arbitrary number Word, female knife name resolving formula can be understood as behind switch names analytic formula plus "?", wherein "?" indicate arbitrary number Word, for example, target device, then can be resolved to switch by target device entitled 201, target device entitled 2011 can then incite somebody to action Target device resolves to 1 female knife, wherein the device name analytic modell analytical model is adapted with gap model, that is, the device name Analytical algorithm in analytic modell analytical model is obtained according to gap model.
103, the first anti-error logical formula corresponding at least one object module member is determined.
Optionally, the method for generating the first anti-error logical formula may include step B1-B2, specific as follows:
B1, the extraction object module member set;
B2, according to preset anti-error logical formula template, it is anti-error to obtain corresponding with the object module member first Logical formula.
Optionally, by taking Fig. 1 C as an example, anti-error logical formula template is voluntarily arranged by system, and anti-error logical formula template includes At least one anti-error logical formula, anti-error logical formula include:Switch anti-error logical formula, the anti-error logical formula of female knife, busbar The anti-error logical formula of side earthing knife-switch, the anti-error logical formula of outgoing line side earthing knife-switch etc., wherein for switching anti-error logical formula, switch Anti-error logical formula can be:It pulls open:Female knife=0, line knife=mother 0+ knife=1, line knife=1;It closes:Female knife=0, line knife=0+ Female knife=1, line knife=1.
Optionally, a kind of possible anti-error logical formula template please refers to Fig.1 D.In Fig. 1 D, member for indicate model at Member, implementor name formula may finally be obtained for indicating implementor name analytical algorithm between model member and anti-error logical formula Mapping relations.
Wherein, the anti-error logical formula template can be carried out according to different power stations adaptability increase, delete or The operations such as modification so as to which anti-error logical formula template is suitable for different power stations, and then improve the practicability of system.
Optionally, can also include step when being matched to the equipment progress object module member in equipment account C1~C3, it is specific as follows:
If C1, cannot determine that object module member corresponding with target device title, establishment set with the target The corresponding reference target member model of standby title;
Wherein, when creating reference target member's model corresponding with target device title, artificial mode may be used Reference target member's model is created for target device, can also be automatically created by system, when system automatically creates, reference target Member's model is the model member different from object module member, is not specifically limited herein.
C2, the anti-error logical formula of target corresponding with the reference target member model is generated;
Optionally, a kind of mode for generating corresponding with the reference target model member anti-error logical formula of target can be with For, the anti-error logical formula of target is generated by way of manually writing, it then will be in the anti-error logical formula import system of target.
C3, the reference target member model and the anti-error logical formula of the target are added to the anti-mis-logical public affairs In formula template.
By the way that reference target model member and the anti-error logical formula of target are added in anti-error logical formula template, from And realize the update to anti-error logical formula template, and then can be with the practicability of lifting system.
104, according to the described first anti-error logical formula and at least one device name, it is public to generate the anti-mis-logical of target Formula.
Optionally, according to the first anti-error logical formula and at least one device name, when generating the anti-error logical formula of target, It may include following methods:Device name is added in the first anti-error logical formula corresponding with the device name, mesh is obtained Anti-error logical formula is marked, is repeated the above steps, to which the anti-error logical formula of target corresponding with all devices title can be obtained, The anti-error logical formula of target can be used for verifying the anti-error logical formula that user provides.
It, can will be corresponding to model member corresponding with the first anti-error logical formula when generating the anti-error logical formula of target The anti-error logical formula of all devices is generated as the first anti-error logical formula, then according to the first anti-error logical formula with it is corresponding Device name generates the anti-error logical formula of target.With this, relative to individually carrying out anti-error logical formula progress to each equipment It generates, the number of generation can be reduced, to improve the efficiency of system to a certain extent, wherein corresponding with device name The equipment that is characterized for the device name of equipment.
In one possible example, described according to the described first anti-error logical formula and at least one implementor name Claim, after generating the anti-error logical formula of target, the second anti-error logical formula can also be examined, it is public to the second anti-mis-logical Formula, which examine, may include step D1-D3, wherein step D2 and step D3 is to execute side by side, point of no execution sequencing, tool Body is as follows:
D1, the second anti-error logical formula is obtained;
Optionally, the second anti-error logical formula includes the anti-error logical formula of manual compiling, naturally it is also possible to be other systems The anti-error logical formula that system generates, is not specifically limited herein.
D2, the described second anti-error logical formula is compared with the anti-error logical formula of the target, if described second is anti- Mis-logical formula is identical as the anti-error logical formula of the target, it is determined that the second anti-error logical formula meets preset condition;
Optionally, preset condition is the condition examined the anti-error logical formula of manual compiling, in varied situations, With different standards.Second anti-error logical formula can be compared with the anti-error logical formula of target in such a way that semanteme compares It is right.
If D3, the second anti-error logical formula are differed with the anti-error logical formula of the target, it is determined that described second Anti-error logical formula does not meet preset condition.
By the way that in the anti-error logical formula import system by manual compiling, the anti-mis-logical write by system on human work is public Formula is examined, can promote the accuracy of examination to a certain extent, and promote the degree of automation.
Referring to Fig. 2, Fig. 2 provides the flow signal of another anti-error logical formula generation method for the embodiment of the present application Figure.As shown in Fig. 2, anti-error logical formula generation method includes the following steps:
201, the equipment account of electrical equipment is obtained, the equipment account includes at least one device name;
202, at least one device name is parsed using preset device name analytic modell analytical model, obtain with it is described at least The corresponding object module member set of one device name;
203, it according to preset anti-error logical formula template, obtains corresponding at least one object module member First anti-error logical formula;
204, according to the described first anti-error logical formula and at least one device name, it is public to generate the anti-mis-logical of target Formula.
In this example, the equipment account of electrical equipment is obtained, mesh corresponding with equipment account is then extracted from system Mark model member set, then after anti-error logical formula generated according to object module member set, it is finally anti-error according to described first Logical formula and at least one device name, generate the anti-error logical formula of target, relative in existing scheme, need by Whether artificial judgment currently electrical connection is typical electrical connection unit, and then takes corresponding operation, and this programme being capable of batch Acquisition multiple equipment title, corresponding with multiple equipment title model member set is then extracted, at this point, in model member It concentrates, there may be multiple equipment title is corresponding with a model member, then corresponding with the model member anti-mis-logical of determination Formula finally generates the anti-error logical formula of target according to the anti-error logical formula and device name, to which the anti-mis-logical of target is public Formula carries device name, and with this, an anti-error logical formula can be suitable for multiple equipment with the same function, thus When being write to the anti-error logical formula of equipment progress, it is not necessary to be write to each specific equipment, so as to a certain extent Efficiency of the system when carrying out anti-error logical formula and generating is improved, meanwhile, during entire logical formula generates, reduce The ratio of artificial participation, reduces probability wrong caused by human factor, is capable of the automatic of lifting system to a certain extent Change degree.
Referring to Fig. 3, Fig. 3 provides the flow signal of another anti-error logical formula generation method for the embodiment of the present application Figure.As shown in figure 3, anti-error logical formula generation method includes the following steps:
301, the equipment account of electrical equipment is obtained, the equipment account includes at least one device name;
302, at least one device name is parsed using preset device name analytic modell analytical model, obtain with it is described at least The corresponding object module member set of one device name;
303, it according to preset anti-error logical formula template, obtains corresponding at least one object module member First anti-error logical formula;
304, according to the described first anti-error logical formula and at least one device name, it is public to generate the anti-mis-logical of target Formula;
If 305, cannot determine object module member corresponding with target device title, establishment is set with the target The corresponding reference target member model of standby title;
306, the anti-error logical formula of target corresponding with the reference target member model is generated;
307, the reference target member model and the anti-error logical formula of the target are added to anti-error logical formula In template.
In this example, before obtaining equipment account, device name is determined according to high-voltage side outlet wire model, obtains electrical equipment Equipment account, the corresponding model member set of device name is obtained by equipment name analysis module analyzing device title, according to Mapping relations between the model member and anti-error logical formula that pre-set obtain the first anti-error logical formula, relative to existing Have in scheme, whether be typical electrical connection unit, and then take corresponding behaviour if needing currently to be electrically connected by artificial judgment Make, after this programme can be by being named electrical equipment, anti-error logical formula is obtained according to device name, in whole process In reduce the ratio artificially participated in, reduce probability wrong caused by human factor, be to improving to a certain extent Efficiency of uniting and the degree of automation, while anti-error logical formula template is updated, and then the practicability of energy lifting system.
Referring to Fig. 4, Fig. 4 provides the flow signal of another anti-error logical formula generation method for the embodiment of the present application Figure.As shown in figure 4, anti-error logical formula generation method includes the following steps:
401, device name analytic modell analytical model is determined according to five prevention logic;
Wherein, five prevention logic is:It prevents from accidentally dividing, miss combination switch;It prevents from waiting for that load draws, closes isolation switch;Prevent band cable address (conjunction) is grounded (isolation switch);Prevent line with ground (grounding switch) combination switch (isolation switch);Prevent mistakenly entering charged chamber.
Optionally, determine that device name analytic modell analytical model can be according to five prevention logic:First, according to true between voltage class Surely the number switched, wherein voltage class includes:High voltage, middle voltage etc., for example, when voltage class is high voltage, switch is compiled Number for three digits of 2 beginnings, when middle voltage, switch number is with three digits of 1 beginning, and specific implementation can refer to table 2 model carries out obtaining analytic modell analytical model, and details are not described herein again.
402, the equipment account of electrical equipment is obtained, the equipment account includes at least one device name;
403, at least one device name is parsed using the device name analytic modell analytical model, obtained and described at least one The corresponding object module member set of a device name;
404, it according to preset anti-error logical formula template, obtains corresponding at least one object module member First anti-error logical formula;
405, the second anti-error logical formula is obtained;
406, the described second anti-error logical formula is compared with the anti-error logical formula of the target, if described second is anti- Mis-logical formula is identical as the anti-error logical formula of the target, it is determined that the second anti-error logical formula meets preset condition;
If 407, the described second anti-error logical formula is differed with the anti-error logical formula of the target, it is determined that described second Anti-error logical formula does not meet preset condition.
In this example, before obtaining equipment account, gap model determines device name, obtains the table of equipment of electrical equipment Account obtains the corresponding model member set of device name by equipment name analysis module analyzing device title, according to pre-setting Mapping relations between good model member and anti-error logical formula obtain the first anti-error logical formula, anti-error are patrolled obtaining first After collecting formula, the second anti-error logical formula can also be differentiated, judge whether it is eligible, relative to existing scheme In, whether be typical electrical connection unit, and then take corresponding operation if needing currently to be electrically connected by artificial judgment, we After case can be by being named electrical equipment, anti-error logical formula is obtained according to device name, is reduced in the whole process The ratio of artificial participation, reduces probability wrong caused by human factor, can promote the accurate of examination to a certain extent Property, to improve system effectiveness and the degree of automation to a certain extent.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is appreciated that , for electronic device in order to realize above-mentioned function, it comprises execute the corresponding hardware configuration of each function and/or software mould Block.Those skilled in the art should be readily appreciated that, in conjunction with each exemplary unit of embodiment description presented herein And algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function actually with Hardware or computer software drive the mode of hardware to execute, and depend on the specific application and design constraint item of technical solution Part.Professional technician specifically can realize described function to each using distinct methods, but this reality Now it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out electronic device according to the above method example division of functional unit, for example, can Each functional unit is divided with each function of correspondence, two or more functions can also be integrated in a processing unit In.The form that hardware had both may be used in above-mentioned integrated unit is realized, can also be realized in the form of SFU software functional unit.It needs It is noted that be schematical, only a kind of division of logic function to the division of unit in the embodiment of the present application, it is practical real It is current that there may be another division manner.
Fig. 5 A are please referred to, Fig. 5 A provide a kind of structural representation of anti-error logical formula generating means for the embodiment of the present application Figure.As shown in Figure 5A, anti-error logical formula generating means include:First acquisition unit 501, determination unit 502, first generate single Member 503 and the second generation unit 504, it is specific as follows:
First acquisition unit 501, the target device title for obtaining electrical equipment;
Determination unit 502, for determining object module member corresponding with the target device title;
First generation unit 503, for generating the first anti-error logical formula according to the object module member;
Second generation unit 504, for according to the described first anti-error logical formula and at least one device name, life At the anti-error logical formula of target
In this example, before obtaining equipment account, the device name of electrical equipment can be determined according to gap model, then Obtain the equipment account of electrical equipment, then after corresponding with equipment account object module member set is extracted from system, then Anti-error logical formula is generated according to object module member set afterwards, finally according to the described first anti-error logical formula and it is described at least One device name generates the anti-error logical formula of target, relative in existing scheme, needing currently electrically to connect by artificial judgment Whether be typical electrical connection unit, and then take corresponding operation if connecing, this programme is capable of the acquisition multiple equipment title of batch, Then model member set corresponding with multiple equipment title is extracted, at this point, being concentrated in model member, is set there may be multiple Standby title is corresponding with a model member, then determines anti-error logical formula corresponding with model member, finally anti-error according to this Logical formula and device name generate the anti-error logical formula of target, to which the anti-error logical formula of target carries device name, with This, an anti-error logical formula can be suitable for multiple equipment with the same function, to carry out anti-mis-logical to equipment When formula is write, it is not necessary to write to each specific equipment, prevented so as to improve system to a certain extent Efficiency when mis-logical formula generates, meanwhile, during entire logical formula generates, reduce the ratio manually participated in, Probability wrong caused by human factor is reduced, the degree of automation of lifting system to a certain extent is capable of.
Optionally, determination unit 501 is specifically used for:Extract at least one device name;Using preset implementor name Claim analytic modell analytical model to parse at least one device name, obtain object module corresponding at least one device name at Member's set.
Optionally, the first generation unit 503 is specifically used for:Extract the object module member set;According to preset anti- Mis-logical formula template obtains the first anti-error logical formula corresponding at least one object module member.
Optionally, Fig. 5 B, Fig. 5 B are please referred to and provide another anti-error logical formula generating means for the embodiment of the present application. As shown in Figure 5 B, anti-error logical formula generating means further include:Creating unit 505, third generation unit 506 and adding device 507, it is specific as follows:
If creating unit 505 creates for that cannot determine object module member corresponding with target device title Reference target member model corresponding with the target device title;
Third generation unit 506, it is public for generating the anti-mis-logical of target corresponding with the reference target member model Formula;
Adding device 507, for the reference target member model and the anti-error logical formula of the target to be added to In anti-error logical formula template.
Optionally, Fig. 5 C, Fig. 5 C are please referred to and provide another anti-error logical formula generating means for the embodiment of the present application. As shown in Figure 5 C, anti-error logical formula generating means further include:Second acquisition unit 508, the first comparing unit 509 and second ratio It is specific as follows to unit 510:
Second acquisition unit 508, for obtaining the second anti-error logical formula;
First comparing unit 509, for carrying out the described second anti-error logical formula and the anti-error logical formula of the target It compares, if the second anti-error logical formula is identical as the anti-error logical formula of the target, it is determined that the second anti-mis-logical Formula meets preset condition;
Second comparing unit 510, if for the described second anti-error logical formula and the anti-error logical formula of the target not phase Together, it is determined that the second anti-error logical formula does not meet preset condition.
The embodiment of the present application provides one kind and automatically generating the anti-error flogic system of electrical equipment, the system based on device numbering System includes the method and device of some or all of above-described embodiment.
It should be noted that for each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know It knows, embodiment described in this description belongs to preferred embodiment, involved action and module not necessarily the application It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, for example, the unit division, it is only a kind of Division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, Can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in applying for bright each embodiment can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of software program module.
If the integrated unit is realized in the form of software program module and sells or use as independent product When, it can be stored in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the application Step.And memory above-mentioned includes:USB flash disk, read-only memory (read-only memory, ROM), random access memory The various media that can store program code such as (random access memory, RAM), mobile hard disk, magnetic disc or CD.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer-readable memory, memory May include:Flash disk, read-only memory, random access device, disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas; Meanwhile for those of ordinary skill in the art, according to the thought of the application, can in specific embodiments and applications There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (10)

1. a kind of anti-error logical formula generation method, which is characterized in that the method includes:
The equipment account of electrical equipment is obtained, the equipment account includes at least one device name;
Determine that object module member set corresponding at least one device name, the object module member set wrap Include at least one object module member;
Determine the first anti-error logical formula corresponding at least one object module member;
According to the described first anti-error logical formula and at least one device name, the anti-error logical formula of target is generated.
2. according to the method described in claim 1, it is characterized in that, the determination is corresponding at least one device name Object module member set, the object module member set includes at least one object module member, including:
Extract at least one device name;
At least one device name is parsed using preset device name analytic modell analytical model, is obtained and at least one equipment The corresponding object module member set of title.
3. method according to claim 1 or 2, which is characterized in that the determination and at least one object module at The corresponding first anti-error logical formula of member, including:
Extract the object module member set;
According to preset anti-error logical formula template, it is anti-error to obtain corresponding at least one object module member first Logical formula.
4. according to claim 1-3 any one of them methods, which is characterized in that described public according to the described first anti-mis-logical Formula and at least one device name, after generating the anti-error logical formula of target, the method further includes:
Obtain the second anti-error logical formula;
Described second anti-error logical formula is compared with the anti-error logical formula of the target, if the second anti-mis-logical is public Formula is identical as the anti-error logical formula of the target, it is determined that the second anti-error logical formula meets preset condition;
If the second anti-error logical formula is differed with the anti-error logical formula of the target, it is determined that the second anti-mis-logical Formula does not meet preset condition.
5. according to claim 1-4 any one of them methods, which is characterized in that the method further includes:
If object module member corresponding with target device title cannot be determined, create and the target device title pair The reference target member's model answered;
Generate the anti-error logical formula of target corresponding with the reference target member model;
The reference target member model and the anti-error logical formula of the target are added in anti-error logical formula template.
6. a kind of anti-error logical formula generating means, which is characterized in that described device includes:
First acquisition unit, the equipment account for obtaining electrical equipment, the equipment account include at least one device name;
Determination unit, for determining object module member set corresponding at least one device name, the target Model member set includes at least one object module member;
First generation unit, for determining the first anti-error logical formula corresponding at least one object module member;
Second generation unit, for according to the described first anti-error logical formula and at least one device name, generating target Anti-error logical formula.
7. device according to claim 6, which is characterized in that the determination unit is specifically used for:
Extract at least one device name;
At least one device name is parsed using preset device name analytic modell analytical model, is obtained and at least one equipment The corresponding object module member set of title.
8. the device described according to claim 6 or 7, which is characterized in that first generation unit is specifically used for:
Extract the object module member set;
According to preset anti-error logical formula template, it is anti-error to obtain corresponding at least one object module member first Logical formula.
9. according to claim 6-8 any one of them devices, which is characterized in that described device further includes:
Second acquisition unit, for obtaining the second anti-error logical formula;
First comparing unit, for the described second anti-error logical formula to be compared with the anti-error logical formula of the target, if The second anti-error logical formula is identical as the anti-error logical formula of the target, it is determined that the second anti-error logical formula meets Preset condition provides;
Second comparing unit, if being differed for the described second anti-error logical formula and the anti-error logical formula of the target, really The fixed second anti-error logical formula does not meet preset condition regulation.
10. according to claim 6-9 any one of them devices, which is characterized in that described device further includes:
Creating unit, if for that cannot determine object module member corresponding with target device title, create with it is described The corresponding reference target member model of target device title;
Third generation unit, for generating the anti-error logical formula of target corresponding with the reference target member model;
Adding device, for the reference target member model and the anti-error logical formula of the target to be added to anti-mis-logical In formula template.
CN201810479224.3A 2018-05-18 2018-05-18 Method and system for automatically generating anti-error logic of electrical equipment based on equipment number Active CN108762138B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810479224.3A CN108762138B (en) 2018-05-18 2018-05-18 Method and system for automatically generating anti-error logic of electrical equipment based on equipment number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810479224.3A CN108762138B (en) 2018-05-18 2018-05-18 Method and system for automatically generating anti-error logic of electrical equipment based on equipment number

Publications (2)

Publication Number Publication Date
CN108762138A true CN108762138A (en) 2018-11-06
CN108762138B CN108762138B (en) 2020-09-15

Family

ID=64007351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810479224.3A Active CN108762138B (en) 2018-05-18 2018-05-18 Method and system for automatically generating anti-error logic of electrical equipment based on equipment number

Country Status (1)

Country Link
CN (1) CN108762138B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110045653A (en) * 2019-04-24 2019-07-23 珠海长园共创软件技术有限公司 A kind of automatic generation method, device and the equipment of anti-mis-logical

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101154512A (en) * 2006-09-30 2008-04-02 珠海优特电力科技股份有限公司 System and method for preventing misoperation of electrical equipment
CN102957203A (en) * 2011-08-31 2013-03-06 珠海优特电力科技股份有限公司 Electrical equipment anti-misoperation method, device and system
CN106383958A (en) * 2016-09-27 2017-02-08 国网四川省电力公司天府新区供电公司 Intelligent check and acceptance system of substation anti-misoperation locking logic
CN106843041A (en) * 2017-01-10 2017-06-13 珠海优特电力科技股份有限公司 The anti-error logical formula automation generation system and method for electrical equipment
CN106919741A (en) * 2017-02-06 2017-07-04 国网福建省电力有限公司 A kind of anti-misoperation locking logic rules generation and nucleus correcting system
CN107017626A (en) * 2017-05-02 2017-08-04 国电南瑞科技股份有限公司 A kind of anti-incorrect manipulation deadlock regular and synchronized automatic generation method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101154512A (en) * 2006-09-30 2008-04-02 珠海优特电力科技股份有限公司 System and method for preventing misoperation of electrical equipment
CN102957203A (en) * 2011-08-31 2013-03-06 珠海优特电力科技股份有限公司 Electrical equipment anti-misoperation method, device and system
CN106383958A (en) * 2016-09-27 2017-02-08 国网四川省电力公司天府新区供电公司 Intelligent check and acceptance system of substation anti-misoperation locking logic
CN106843041A (en) * 2017-01-10 2017-06-13 珠海优特电力科技股份有限公司 The anti-error logical formula automation generation system and method for electrical equipment
CN106919741A (en) * 2017-02-06 2017-07-04 国网福建省电力有限公司 A kind of anti-misoperation locking logic rules generation and nucleus correcting system
CN107017626A (en) * 2017-05-02 2017-08-04 国电南瑞科技股份有限公司 A kind of anti-incorrect manipulation deadlock regular and synchronized automatic generation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄建林 等: "一种嵌入式配电网防误方案研究", 《供用电》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110045653A (en) * 2019-04-24 2019-07-23 珠海长园共创软件技术有限公司 A kind of automatic generation method, device and the equipment of anti-mis-logical
CN110045653B (en) * 2019-04-24 2021-09-28 珠海长园共创软件技术有限公司 Automatic generation method, device and equipment for anti-error logic

Also Published As

Publication number Publication date
CN108762138B (en) 2020-09-15

Similar Documents

Publication Publication Date Title
Roy et al. PSD based high impedance fault detection and classification in distribution system
CN104360835B (en) A kind of sequence operation ticket automatic generation method based on topological mode
CN114636900B (en) Power distribution network multiple fault diagnosis method
CN111751671A (en) VMD-DTW cluster-based low-current grounding system fault line selection method
CN111598166B (en) Single-phase earth fault classification method and system based on principal component analysis and Softmax function
CN113363980B (en) Automatic topology identification method and equipment suitable for low-voltage distribution network
CN111505434A (en) Method for identifying fault hidden danger of low-voltage distribution meter box line and meter box
CN109710647A (en) A kind of power grid account data fusion method and device based on keyword search
CN110046391A (en) Transforming plant primary wiring diagram automatic generation method based on monitoring information table
CN110739681A (en) method and device for identifying topology of power supply network of low-voltage transformer area
Guomin et al. Deep learning‐based fault location of DC distribution networks
CN112819649A (en) Method and device for determining station area subscriber change relationship
CN113702767B (en) Island direct-current microgrid fault diagnosis method based on wavelet sliding window energy
CN112510817A (en) Intelligent identification method for low-voltage topological relation of transformer area
Ni et al. Faulty feeder detection of single phase-to-ground fault for distribution networks based on improved K-means power angle clustering analysis
CN108762138A (en) The anti-error logical method of electrical equipment and system are automatically generated based on device numbering
Anand et al. Ensemble empirical mode decomposition‐based differential protection scheme for islanded and grid‐tied AC microgrid
CN114912526A (en) Method and system for identifying distribution area, electronic device and storage medium
KR101988670B1 (en) Device for state estimation of power distribution system
CN110190990B (en) Automatic identification method and device for network topological structure of low-voltage distribution area
CN112182499A (en) Low-voltage distribution network topological structure identification method based on time sequence electric quantity data
CN110633268A (en) Configuration system and configuration method for relay protection level difference of automatic switch of distribution line
CN105868792B (en) Electric power maloperation judgment method based on characteristic area set, apparatus and system
KR100527435B1 (en) Determination method for equivalence impedance of power line
CN117405975B (en) Method, system and medium for detecting insulation resistance of PV panel

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221101

Address after: Building a, No. 11, Keji 6th Road, phase III, science and Technology Innovation Coast, hi tech Zone, Zhuhai City, Guangdong Province, 519000

Patentee after: CHANGYUAN GONGCHUANG ELECTRIC POWER SECURITY TECHNOLOGY Co.,Ltd.

Address before: 519000 Room 401 and 402, 4th floor, No.11, Keji 6th Road, phase III, science and Technology Innovation Coast, Tangjiawan Town, high tech Zone, Zhuhai City, Guangdong Province

Patentee before: ZHUHAI CHANGYUAN GONGCHUANG SOFTWARE TECHNOLOGY CO.,LTD.