A kind of intelligent identification Method and device of electric power operation ticket
Technical field
The present invention relates to the intelligent identification Methods and device of a kind of electric power operation ticket, belong to power scheduling technical field.
Background technique
Currently, the profound change of Operation of Electric Systems characteristic of new generation proposes severe challenge to bulk power grid regulation operation,
It is required that bulk power grid regulation is run to integrative coordinated and active schedule Mode change.Regulator control system of new generation undoubtedly will be this change
Leather provides strong support.Important research content in Dispatching Control System of new generation in the application of dispatching simulation class, will
Completely new panorama, interactive pre-scheduling technical system are provided for Dispatching Control System of new generation.
With the development of dispatching of power netwoks technology, need to realize a kind of Fast simulation preview function of power grid future state,
Show the state change of power grid in following a period of time in the shorter time for dispatcher, carries out operation of power networks prediction scheme for dispatcher
Convenient tool is provided.
Each department's business datums such as pre-scheduling application is intended to, fortune side, new energy, regulation are towards power grid future short-term operation
Trend and analysis are collected, and based on the powerful grid simulation in analysis decision center, analysis, assessment etc. calculate service-Engine into
Row application integration, by carrying out simulation analysis and simulation to the external environment risks such as meteorology, forecast accident and changes of operating modes,
Assess the dangerous point of power grid future short-term operation.Dispatcher can need to start the pre-scheduling function of different periods according to business,
Such as when relieving, start long duration pre-scheduling (such as 8 hours);In temporal fashion, Plan rescheduling, start short time interval pre-scheduling
(such as 1 hour);When power grid meets anticipation risk immediately, start more short time interval pre-scheduling.
The current natural language processing for Chinese has mature case in application scenes, as machine turns over
It translates, the question answering system of spoken dialogue system, complexity, spell check, keyword search, search synonym etc., these are towards nature
The technology majority of Language Processing is to provide technical support by deep learning.By the high new model of design construction performance and algorithm,
It is trained using a large amount of data, this also relies on faster computer and multi-core CPU/GPU.
Operation order refers to the written foundation for carrying out electric operation in the power system, and operation operator is according to prior authorization
Operation order execute item by item, this is conforming equipment operation order, the important means for ensuring personal equipment safety, and operation order language is
With certain working words standardized and constrain.Currently using operation order text as input object, the application of semantics recognition is carried out
Scene is the new demand of electric system pre-scheduling, there is no the research of this respect before this.Moreover, operation order language and natural language phase
Than clause has apparent stylized facts, and vocabulary or phrase have many power equipment titles and number, these device names
It is that natural language is unexistent with number.The characteristics of how being directed to operation order makes optimization, is referred to accurate recognition operation order every
The semanteme of order is power scheduling field problem in urgent need to solve.
Summary of the invention
Purpose: an important content of Fast simulation preview is exactly the preview of inside the plan operation task.Inside the plan operation
Task is usually assigned in the form of operation order, and operation order is a kind of operational order set expressed with word language.In order to overcome
The deficiencies in the prior art, the present invention provide the intelligent identification Method and device of a kind of electric power operation ticket.
Technical solution: in order to solve the above technical problems, the technical solution adopted by the present invention are as follows:
A kind of intelligent identification Method of electric power operation ticket, includes the following steps:
Step 1: identification operational term first determines the sentence operation to be carried out, then identifies operation object;
Step 2: operation object title being segmented, the participle characteristic value of operation object is obtained, remerges as operation object
Segment characteristic value, compared with the participle characteristic value of armamentarium title in scheduling information database pair, the smallest implementor name of error
Title is exactly recognition result.
Preferably, the identification operational term by the feature text of operational terms all kinds of in operation order terminology bank according to
It is secondary to be searched in action statement, until the action statement text with a certain operational term meets a regular expression.
Preferably, the operation order terminology bank is corresponding between standardized operation term and operational order code
Relationship;Wherein, the operational term is established according to the various operation items of operation order;The operational order code is and operation
Functional category belonging to the instruction of ticket is one-to-one;Operation order terminology bank uses form, and table field includes: operational order
Function description, operational term, operational order code.
Preferably, operation object title is segmented using the dynamic dictionary of power equipment title, the electric power
The dynamic dictionary of device name is the name information and unique keyid information for utilizing the facility information in scheduling information database,
The grid equipment dictionary established;The dynamic dictionary of power equipment title uses form, and table field includes: participle class
Not, content, keyid information are segmented.
Preferably, the characteristic value of the operation object is divided using complete name of the dynamic dictionary to equipment
Solution, obtains the participle of each device name, then by the participle classification of participle, participle content, respectively correspond participle classification recording mechanism,
Content record number is segmented, and participle classification recording mechanism, participle content record number are combined, is indicated with vector.
A kind of intelligent identification device of electric power operation ticket, comprising: action statement identification module;Power equipment title identifies mould
Block;
The action statement identification module determines the sentence operation to be carried out, then knows for identifying operational term first
It Chu not operation object;
The power equipment title identification module, for segmenting to operation object title, the participle for obtaining operation object is special
Value indicative remerges the participle characteristic value for operation object, the participle characteristic value with armamentarium title in scheduling information database
Compared to pair, the smallest device name of error is exactly recognition result.
The utility model has the advantages that a kind of intelligent recognition of electric power operation ticket provided by the invention and execution method and apparatus, the present invention
The solution is to the new demand under pre-scheduling technical system, the previous solution without similar demand.Realize computer knowledge
Other operation order word content, is converted into assignment instructions, previews function for the simulation under pre-scheduling technical system and provides operational order.
Detailed description of the invention
Fig. 1 is the flow diagram of the method for the present invention;
Fig. 2 is present device title identification process schematic diagram.
Specific embodiment
The present invention will be further explained with reference to the accompanying drawing.
The core content of operation order instruction is operational motion and operation object, how operation art is extracted from word content
Language identifies operation object, and the operating function and operation object for exporting operational order are numbered, and is that the core that this method solves is asked
Topic.
Embodiment 1:
As shown in Figure 1, a kind of intelligent identification Method of electric power operation ticket, includes the following steps:
Step 1: building operation order terminology bank;
Step 2: the dynamic dictionary of building power equipment title;
Step 3: building power equipment name feature value;
Step 4: action statement identification;
Step 5: the identification of power equipment title.
The building operation order terminology bank is specific as follows:
The operation order terminology bank is pair that standardization term and operational order code is established according to the various operation items of operation order
It should be related to.By the instruction of operation order according to function classification, every a kind of instruct corresponds to an operational order code.
Operation order terminology bank uses form, and table field includes: the description of operational order function, operational term, operation
Instruction code, as table 1 such as shows:
1 operational term library example of table
The same operational order might have different operational terms in different regions, such as disconnect the operation of switch.
One action statement includes that operational term and operation object can determine that this refers to after completing operational term identification
The operational term that order includes, the content except operational term is operation object.
The dynamic dictionary of the power equipment title be using the facility information in scheduling information database, as substation,
The name information of the equipment such as voltage class, route, main transformer, bus, switch, disconnecting link, earthing knife-switch and unique id information, establish an electricity
Net equipment dictionary.Some device names containing multistage name information are successively divided according to participle content existing in dictionary
Solution, the final each word for segmenting content is the device name that can not be split.Such as 50121 disconnecting link of Shunyi station 500kV Wan Shunyi line,
Shunyi station, 500kV, Wan Shunyi line, disconnecting link can be decomposed away, finally retain 50121.Due to switch, disconnecting link and earthing knife-switch it
Between inclusion relation that may be present, disconnecting link device name decomposed without using the participle of Switch, and earthing knife-switch device name does not make
It is decomposed with the participle of switch and disconnecting link class.The dynamic dictionary of power equipment title uses form, and table field includes:
Classification is segmented, content is segmented, as shown in table 2:
Serial number |
Segment classification |
Segment content |
1 |
Power transformation station name |
Shunyi station, north of the city station, Changping station ... |
2 |
Voltage class title |
500kV、220kV、35kV、66kV…… |
3 |
Line name |
Wan Shunyi line, ten thousand are along two wires, suitable one line of city, suitable city two wires ... |
4 |
Main transformer title |
#1 main transformer, #2 main transformer, #3 main transformer ... |
5 |
Bus title |
1M bus, 2M bus, 3M bus, 4M bus ... |
6 |
Switch names |
5011、5012……2201、2202……301、302…… |
7 |
Disconnecting link title |
50111、50112、22011、22012、22013、3011、3013…… |
8 |
Earthing knife-switch title |
501117、501127、220117、22012、220137、30117、30137…… |
9 |
Generator title |
No. 1 machine, No. 2 machines, No. 3 machines ... |
10 |
Capacitor title |
No. 1 capacitor, No. 2 capacitors, No. 3 capacitors ... |
11 |
Reactor title |
No. 1 reactor, No. 2 reactors, No. 3 reactors ... |
12 |
Device class title |
Switch, disconnecting link, earthing knife-switch ... |
The dynamic dictionary content example of 2 power equipment title of table
The substation's dynamic being related to according to operation task establishes the semantics recognition participle dictionary of partial electric grid equipment, can reduce word
Library scale improves participle efficiency.
The device name characteristic value is decomposed using complete name of the dictionary to equipment, obtains each device name
Word segmentation result, and a participle characteristic value is generated, which participle is this feature value expression device name contain.Characteristic value is with electric power
Based on the dynamic dictionary of device name, with the participle classification of device name, participle content, participle classification record is respectively corresponded
Number, participle content record number, and will participle classification recording mechanism, participle content record number combination form device name characteristic value, if
Standby name feature value can be represented by vectors, as shown in table 3, by taking " Shunyi station 500kV ten thousand is along 50112 disconnecting link of two wires " as an example:
Segment classification recording mechanism |
Segment content record number |
Explanation |
01 |
01 |
Shunyi station |
02 |
01 |
500kV |
03 |
02 |
Ten thousand along two wires |
07 |
02 |
50112 |
12 |
02 |
Disconnecting link |
END |
|
End identifier |
The structure and example of 3 device name characteristic value of table
As shown in Fig. 2, the action statement identification, specific as follows:
Action statement identification, carries out the identification of operational term, which type of operation will be carried out by determining the sentence, then first
It identifies accurate operation object, is finally translated into accurate operational order code.
1. identifying operational term
The feature text of operational terms all kinds of in operational term library is successively searched in action statement, until being operated with a certain item
Term matching.The present invention realizes the identification of operational term by regular expression method.
Regular expression is that (including general character is (for example, a for a kind of pair of character string all supporting of various mainstream programming languages
To the letter between z) and spcial character (referred to as " metacharacter ")) operation a kind of logical formula, with the operation of predefined
The combination of term specific character and specific character forms " regular character string ", and " regular character string " is used to express to character string
A kind of filter logic, to describe to want matched one or more character strings in search operation statement text.Language will be operated
The library function of sentence text and a regular expression input regular expression, can be obtained whether action statement text meets this
The filter logic of regular expression.
For example, judging whether operational order is that will switch operation to open position, whether need to identify in instruction containing " drawing
Open ... switch ", any one form in " disconnect ... breaker " or " disconnecting ... switch ", containing term " is pulled open "
It is used as a set of keyword with " switch ", it is as follows to form regular expression:
\u62c9\u5f00\b.*\b\u5f00\u5173
Wherein, u62c9, u5f00, u5173 be respectively " drawing ", "ON", three Chinese characters of "Off" Unicode coding (using just
Then expression formula needs to encode using the Unicode of Chinese character when searching for Chinese character).When inputting some operational order, utilization is above-mentioned
Regular expression can be recognized accurately whether instruction meets that beginning of the sentence is " pulling open " and sentence tail is " switch ".By using each
A operational term keyword identifies action statement, learns the operating function of this action statement.
2. identifying device name
After completing operational term identification to an action statement, the operational term that the action statement includes can be determined, operate
Content except term is operation object.
The operation object title in action statement is segmented using the dynamic dictionary of power equipment title, is operated
The participle characteristic value of object.
Since operation order may be from substation, and the device name of transformer substation side billing system because of system maintenance or
The reasons such as Naming conventions are possible to have differences with the device name of regulation main website side, cannot exactly match.Therefore, operation object
Participle characteristic value and the participle characteristic value of device name of regulation main website side possibly can not exactly match, but the same equipment exists
The device name of operation object and the device name of regulation main website, there are still higher matching degrees for word segmentation result, so it is special
Value indicative is also closest.
The characteristic value of operation object is compared with the characteristic value of armamentarium title in database pair, the feature with operation object
Being worth immediate device name is exactly recognition result.Device name is corresponding with the unique encodings keyid of equipment in database, by
This can obtain the keyid of operation object power equipment.
Step 6: output operational order
Identified from action statement operational term, device type and operation equipment keyid, can to the equipment uniquely determined into
Row operation.
Operation order identification module sends operational order code and operation equipment keyid to simulated operation module, is grasped
Make the analogue simulation implementation procedure instructed.
Embodiment 2:
A kind of intelligent identification device of electric power operation ticket, comprising: action statement identification module;Power equipment title identification module;
The action statement identification module determines the sentence operation to be carried out, then knows for identifying operational term first
It Chu not operation object;
Operation order terminology bank uses form, and table field includes: the description of operational order function, operational term, operational order
Code, as table 1 such as shows:
1 operational term library example of table
The power equipment title identification module, for segmenting to operation object title, the participle for obtaining operation object is special
Value indicative remerges the participle characteristic value for operation object, the participle characteristic value with armamentarium title in scheduling information database
Compared to pair, the smallest device name of error is exactly recognition result.
The dynamic dictionary of the power equipment title be using the facility information in scheduling information database, as substation,
The name information of the equipment such as voltage class, route, main transformer, bus, switch, disconnecting link, earthing knife-switch and unique id information, establish an electricity
Net equipment dictionary.Some device names containing multistage name information are successively divided according to participle content existing in dictionary
Solution, the final each word for segmenting content is the device name that can not be split.Such as 50121 disconnecting link of Shunyi station 500kV Wan Shunyi line,
Shunyi station, 500kV, Wan Shunyi line, disconnecting link can be decomposed away, finally retain 50121.Due to switch, disconnecting link and earthing knife-switch it
Between inclusion relation that may be present, disconnecting link device name decomposed without using the participle of Switch, and earthing knife-switch device name does not make
It is decomposed with the participle of switch and disconnecting link class.The dynamic dictionary of power equipment title uses form, and table field includes:
Classification is segmented, content is segmented, as shown in table 2:
Serial number |
Segment classification |
Segment content |
1 |
Power transformation station name |
Shunyi station, north of the city station, Changping station ... |
2 |
Voltage class title |
500kV、220kV、35kV、66kV…… |
3 |
Line name |
Wan Shunyi line, ten thousand are along two wires, suitable one line of city, suitable city two wires ... |
4 |
Main transformer title |
#1 main transformer, #2 main transformer, #3 main transformer ... |
5 |
Bus title |
1M bus, 2M bus, 3M bus, 4M bus ... |
6 |
Switch names |
5011、5012……2201、2202……301、302…… |
7 |
Disconnecting link title |
50111、50112、22011、22012、22013、3011、3013…… |
8 |
Earthing knife-switch title |
501117、501127、220117、22012、220137、30117、30137…… |
9 |
Generator title |
No. 1 machine, No. 2 machines, No. 3 machines ... |
10 |
Capacitor title |
No. 1 capacitor, No. 2 capacitors, No. 3 capacitors ... |
11 |
Reactor title |
No. 1 reactor, No. 2 reactors, No. 3 reactors ... |
12 |
Device class title |
Switch, disconnecting link, earthing knife-switch ... |
The dynamic dictionary content example of 2 power equipment title of table
The device name characteristic value is decomposed using complete name of the dictionary to equipment, obtains the participle of each device name
As a result, and generate a participle characteristic value, this feature value expression device name contain which segment.Characteristic value is with power equipment
Based on the dynamic dictionary of title, with the participle classification of device name, participle content, respectively corresponds participle classification recording mechanism, divides
Word content record number, and participle classification recording mechanism, participle content record number combination are formed into device name characteristic value, device name
Characteristic value can be represented by vectors, as shown in table 3, by taking " Shunyi station 500kV ten thousand is along 50112 disconnecting link of two wires " as an example:
Segment classification recording mechanism |
Segment content record number |
Explanation |
01 |
01 |
Shunyi station |
02 |
01 |
500kV |
03 |
02 |
Ten thousand along two wires |
07 |
02 |
50112 |
12 |
02 |
Disconnecting link |
END |
|
End identifier |
The structure and example of 3 device name characteristic value of table
It should be understood by those skilled in the art that, embodiments herein can provide as the production of method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or implementation combining software and hardware aspects can be used in the application
The form of example.Moreover, can be used can in the computer that one or more wherein includes computer usable program code by the application
With the computer program product implemented in storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Form.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or 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 counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
The above is only a preferred embodiment of the present invention, it should be pointed out that: for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.