CN111581965B - Operation ticket generation method and device - Google Patents
Operation ticket generation method and device Download PDFInfo
- Publication number
- CN111581965B CN111581965B CN202010337310.8A CN202010337310A CN111581965B CN 111581965 B CN111581965 B CN 111581965B CN 202010337310 A CN202010337310 A CN 202010337310A CN 111581965 B CN111581965 B CN 111581965B
- Authority
- CN
- China
- Prior art keywords
- ticket
- task
- target operation
- target
- map
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 230000011218 segmentation Effects 0.000 claims description 38
- 238000000605 extraction Methods 0.000 claims description 22
- 239000002689 soil Substances 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 238000012546 transfer Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000002411 adverse Effects 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000004140 cleaning Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/279—Recognition of textual entities
- G06F40/289—Phrasal analysis, e.g. finite state techniques or chunking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/36—Creation of semantic tools, e.g. ontology or thesauri
- G06F16/367—Ontology
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/237—Lexical tools
- G06F40/242—Dictionaries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Economics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Animal Behavior & Ethology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Public Health (AREA)
- Water Supply & Treatment (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application provides an operation ticket generation method and device, wherein in the method, a typical ticket is obtained, words are obtained by segmenting texts of operation tasks and operation steps in the typical ticket, and parts of speech tagging is carried out on the words to obtain parts of speech tagging results; extracting the initial state and the end state of the operation task, respectively taking the initial state and the end state as a start node and an end node, taking the operation steps corresponding to the operation task as intermediate nodes, and generating and storing an operation ticket map according to the sequence executed by the intermediate nodes; the method comprises the steps of obtaining a target operation task, identifying the target operation task, extracting target operation equipment in the target operation task, searching a stored operation order map, obtaining a pre-stored equipment relation map, searching a connection relation of the target operation equipment in the equipment relation map, filling the target operation equipment in the operation order map, generating a target operation order, and improving the efficiency and the accuracy of operation order invoicing.
Description
Technical Field
The present application relates to the field of detection and management technologies of power systems, and in particular, to an operation ticket generating method and apparatus.
Background
A power system is generally provided with a plurality of types of power devices, and the power devices have specific connection relationships therebetween, and a device relationship map is generated based on these connection relationships. When an operation such as schedule change or power transformation is performed on an electric power system, a series of operations are generally required to be performed on an electric power device in accordance with a specific execution order. For convenience of management, a specific execution sequence is issued in the form of an operation ticket, on one hand, the operation ticket is a basis for an actual operator to operate on site, and on the other hand, the retained operation ticket can be used as historical data for subsequent use.
In practical applications, the operation of issuing the operation ticket is called ticket drawing. Aiming at an operation task, a worker checks whether a historical operation ticket which is consistent with the operation task exists in historical data or not, if yes, the historical operation ticket which is consistent with the operation task is determined to be a target operation ticket, and ticket simulating operation is executed; and if not, referring to the specific connection relation between the electric power equipment presented in the equipment relation map, editing a new operation ticket according to the requirement of the operation task, and executing ticket-drawing operation. In order to facilitate ticket drawing operation, the historical operation ticket and the new operation ticket are jointly stored in a ticket drawing system as a typical ticket.
However, when there is no historical operation ticket that conforms to the operation task in the typical ticket, the worker usually takes the historical operation tickets that are relatively close to the operation task, refers to these close historical operation tickets, and edits a new operation ticket in conjunction with experience. Because the new operation ticket is greatly influenced by personal subjective factors of workers, errors are easy to occur, and adverse consequences are brought; in addition, in practical application, in most cases, a worker is required to edit a new operation ticket, and the ticket simulation workload is huge, so that the working efficiency is low.
Disclosure of Invention
The application provides an operation order generation method and device, and aims to solve the problems that adverse consequences and low working efficiency are caused by the fact that the existing operation order is greatly influenced by personal subjective factors of workers in the process of issuing the operation order.
In a first aspect of the present application, there is disclosed an operation ticket generating method including:
acquiring a typical ticket prestored in an electric power system;
extracting operation tasks and operation steps in the typical ticket;
according to word segmentation rules, performing word segmentation on the operation steps to obtain words;
according to the arrangement sequence of the words in the operation steps and the sentence sequence of each operation step, performing part-of-speech tagging on the words to obtain part-of-speech tagging results;
extracting an initial state and an end state of the operation task, respectively taking the initial state and the end state as a starting node and an end node, taking operation steps corresponding to the operation task as intermediate nodes, and generating an operation ticket graph according to the sequence executed by the intermediate nodes, wherein the intermediate nodes are expressed according to the form of the part-of-speech tagging result;
acquiring a target operation task;
searching a target operation order map corresponding to the target operation task according to the operation order map;
extracting a target operation in the target operation order map;
searching target operation equipment corresponding to the target operation steps according to an equipment relation map prestored in the power system;
and generating a target operation ticket according to a preset template.
Optionally, according to a word segmentation rule, performing word segmentation on the operation steps, and obtaining words includes:
acquiring a professional dictionary in the power field;
and performing word segmentation on the operation task and the operation steps corresponding to the operation task by adopting a forward maximum matching method to obtain words.
Optionally, after the target operation task is obtained, the method further includes:
extracting target operation equipment corresponding to the target operation task;
judging whether the target operation equipment exists in an equipment relation map or not;
and if so, continuing to execute the step of searching the target operation ticket map corresponding to the target operation task.
Optionally, before searching the target operation order map corresponding to the target operation task, the method further includes:
performing word segmentation and part-of-speech tagging on the text of the target operation task, and extracting an operation task to be identified;
judging whether an operation ticket map corresponding to the operation task to be identified exists in the typical ticket or not, and searching whether the target operation task exists in the typical ticket or not;
and if the operation order map exists, extracting the operation order map corresponding to the operation task to be identified from the typical order.
In a second aspect of the present application, there is disclosed an operation ticket generating apparatus comprising:
the first acquisition module is used for acquiring a typical ticket prestored in the power system;
the first extraction module is used for extracting operation tasks and operation steps in the typical ticket;
the word segmentation module is used for segmenting the operation steps according to word segmentation rules to obtain words;
a part-of-speech tagging module, configured to perform part-of-speech tagging on the word according to the sequence of the word in the operation steps and the sentence sequence of each operation step, so as to obtain a part-of-speech tagging result;
a second extraction module, configured to extract a starting state and an ending state of the operation task, use the starting state and the ending state as a starting node and an ending node, respectively, use an operation step corresponding to the operation task as an intermediate node, and generate an operation ticket graph according to an execution sequence of the intermediate node, where the intermediate node represents according to a form of the part-of-speech tagging result;
the second acquisition module is used for acquiring the target operation task;
the first searching module is used for searching a target operation order map corresponding to the target operation task;
the third extraction module is used for extracting the target operation steps in the target operation ticket map;
the second searching module is used for searching target operation equipment corresponding to the target operation steps according to an equipment relation map prestored in the power system;
and the generating module is used for generating the target operation ticket according to a preset template.
Optionally, the word segmentation module includes:
the acquisition unit is used for acquiring a professional dictionary in the power field;
and the word segmentation unit is used for segmenting the operation task and the operation steps corresponding to the operation task by adopting a forward maximum matching method to obtain words.
Optionally, the operation ticket generating device further includes:
the fourth extraction module is used for extracting the target operation equipment corresponding to the target operation task after the second acquisition module acquires the target operation task;
the first judging module is used for judging whether the target operating equipment exists in the equipment relation map.
Optionally, the operation ticket generating device further includes:
the fifth extraction module is used for performing word segmentation and part-of-speech tagging on the text of the target operation task before the first search module searches the target operation ticket map corresponding to the target operation task, and extracting the operation task to be identified;
the second judging module is used for judging whether the typical ticket has an operation ticket map corresponding to the operation task to be identified;
a sixth extraction module, configured to, when the second determination module determines that the operation ticket map corresponding to the operation task to be identified exists in the typical ticket, extract the operation ticket map corresponding to the operation task to be identified from the typical ticket.
The method comprises the steps of firstly using a text of an operation step in a typical ticket as a corpus, then segmenting the text of the operation step to obtain words to form the corpus with the words as linguistic data, then carrying out part-of-speech tagging on the obtained words to obtain part-of-speech tagging results, extracting an initial state and an end state of an operation task, respectively using the initial state and the end state as a starting node and a terminating node, using the operation step corresponding to the operation task as an intermediate node, and generating and storing an operation ticket graph according to the sequence executed by the intermediate node. After the target operation task is obtained, the target operation task is identified, target operation equipment in the target operation task is extracted, a stored operation ticket map is searched, a pre-stored equipment relation map is obtained, whether the target operation equipment is completely in the equipment relation map is searched, and if yes, the target operation equipment is filled in the operation ticket map to generate a target operation ticket. According to the operation ticket generating method, the words in the typical ticket are utilized, the words are subjected to part-of-speech tagging, the text of the target operation task can be identified, the target operation equipment in the target operation task is extracted and filled in the operation ticket map, the target operation ticket is generated, and the efficiency and the accuracy of operation ticket billing are improved.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic workflow diagram of an operation ticket generating method disclosed in an embodiment of the present application;
fig. 2 is a schematic view of an operation ticket map of an operation ticket generation method disclosed in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an operation ticket generating apparatus disclosed in an embodiment of the present application;
fig. 4 is an exemplary diagram of a typical ticket.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The application provides an operation ticket generating method, referring to a workflow diagram shown in fig. 1, the method includes:
in step S11, a typical ticket pre-stored in the power system is acquired.
Before a ticket-drawing operation is carried out on an operation task to be executed, a large number of typical tickets are stored in a power system, one typical ticket only has one operation task, and one operation task corresponds to a plurality of operation steps with a specific sequence. If a series of operations are to be performed on the text of the operation task and the text of the operation step, a typical ticket that is already stored in the power system needs to be acquired.
And step S12, extracting the operation tasks and operation steps in the typical ticket.
Fig. 4 shows an example of a typical ticket, including a starting ticket number, an operation location, an operation task, an operation sequence, and operation steps. Wherein, the initial ticket number is numbered according to 7 digits of Arabic numerals, wherein the first two digits are the last two digits (00 to 99) of the year number, and the last five digits are typical ticket sequence numbers (00001 to 99999); the operation place is a place where the operation task is executed; the operation task is to switch a 10kV spring BaiII loop from cold standby to overhaul; the operation steps are executed according to the operation sequence, and the operation tasks of all typical tickets and the texts of the operation steps are directly used as the corpus to form a corpus. For example, the operation task of "route the 10kV spring baii loop for cold standby to overhaul" is a corpus, and the operation step of "check that the 10kV spring baii loop breaker handcart is in a test position" is also a corpus.
Step S13, according to word segmentation rules, carrying out word segmentation on the operation steps to obtain words;
the text of the operation steps comprises the name, operation action, proper noun, connecting word, preposition, auxiliary word, adverb and the like of the operation equipment, the words are longer in character string formed according to Chinese grammar, the words in the text of each operation step are separated to obtain a large number of words, and a corpus with the words as corpus is formed. In the operation ticket, grammars of texts of an operation task and an operation step are the same, a word segmentation rule for the text of the operation step is also suitable for segmenting the text of the operation task, the text of a target operation task needs to be segmented in the later period, if a character string in the text of the operation step is directly taken as a word, as long as any character in the text of the target operation task is different from a character in the text of the operation step, the text of the target operation task in the later period cannot be identified.
And step S14, performing part-of-speech tagging on the words according to the sentence sequence of each operation step, and obtaining a part-of-speech tagging result.
After the text in the operation step is segmented, the segmented words comprise the parts of speech such as the names of operation equipment, operation action words, proper nouns, conjunctions, prepositions, auxiliary words, adverbs and the like, and the parts of speech of the words are stored in the power system after being artificially labeled. The specific notation is that "b" represents the beginning of the word, "m" represents the middle of the word, "e" represents the end of the word, "ms" represents the kilovolt level, "ns" represents the line, such as "10 kV stadium line"; "nr 1" denotes primary devices such as "circuit breakers", "disconnectors"; "nr 2" represents secondary equipment, such as "10 kV backup power automatic switching and line protection measurement and control screen"; "nr 1 s" denotes a sub-device 1, such as a "motor storage air switch"; "nr 2 s" denotes child device 2, for example, "station No. 1 controls the switch with transformer 410"; "mr 1" represents a primary device number, such as "410", "1011"; "mr 2" represents a secondary device number, such as "1 LP 23", "1 QK"; "nz" denotes a proper noun such as "voltage indication", "overload"; "v" represents operation verbs such as "pull", "exit", "disconnect"; "ad" represents status words such as "on", "off", "service location"; "d" represents an assistant or adverb such as "about"; "c" represents conjunctions such as "and", "and"; "p" represents a preposition, such as "via", "at", "by"; "f" represents an orientation word, such as "closing side", "line side", and "main transformer side".
For example, the operation step of "opening the circuit breaker of the 10kV soil heap village line 084" is shown in table 1, and the result of the part of speech tagging sequence is obtained.
TABLE 1 part-of-speech tagging sequence Listing
Breaking off | Switch (C) | 1 | 0 | k | V | Soil for planting | Stack | Village | Wire(s) | 0 | 8 | 4 | Breaking off | Road surface | Device for cleaning the skin |
b_v | e_v | b_ms | m_ms | m_ms | e_ms | b_ns | m_ns | m_ns | e_ns | b_mr1 | m_mr1 | e_mr1 | b_nr1 | m_nr1 | e_nr1 |
And converting the part-of-speech tagging sequence into a part-of-speech tagging result, namely disconnecting the 10kV soil dump village line 084 breaker. The obtained part-of-speech tagging result is also suitable for words obtained after the words of the text of the operation task are segmented.
And step S15, extracting the initial state and the end state of the operation task, respectively using the initial state and the end state as a start node and an end node, using the operation steps corresponding to the operation task as intermediate nodes, and generating an operation order graph according to the sequence executed by the intermediate nodes, wherein the intermediate nodes are expressed according to the form of the part-of-speech tagging result.
Referring to table 2, information is extracted from the operation tasks and operation steps, such as the operation task and operation steps of "turn 10kV chun baii back to 072 breaker from running to cold standby" obtained from typical tickets, according to the corpus using words as corpus and word part-of-speech tagging results.
TABLE 2 exemplary Ticket
The information extracted from the specific operation task is "the breaker is switched from running to cold standby".
Referring to table 3, the operation step extraction information is obtained from the specific operation steps.
Table 3 operation task extraction information and operation step extraction information
The initial state extracted from the operation task is 'running', the end state is 'cold standby', the information extracted from the operation task according to the word part-of-speech tagging result is 'breaker is changed from running to cold standby', the information extracted from the operation task does not include a line, the information extracted from the specific operation step does not include a line, and the information extracted from the typical ticket operation task and the information extracted from the specific operation step are stored. Referring to fig. 2, the operation is used as a start node, the cold standby is used as a stop node, the information extracted in the specific operation steps is used as an intermediate node, and the operation order graph is generated according to the sequence of the information extracted in the specific operation steps.
In step S16, a target operation task is acquired.
The target operation task is an operation task to be executed.
And step S17, searching a target operation ticket map corresponding to the target operation task according to the operation ticket map.
Extracting an initial state and an end state in a target operation task according to a corpus using words as linguistic data and word part-of-speech tagging results, extracting information from the target operation task, searching the information extracted in the corresponding operation step from the stored information extracted in the operation task as the information extracted in the target operation step according to the information extracted in the target operation task, and generating a target operation ticket graph according to the sequence of execution of the information extracted in the target operation step by taking the initial state in the target operation task as an initial node, the end state as a termination node and the information extracted in the target operation step as an intermediate node.
And step S18, extracting the target operation steps in the target operation ticket map.
According to a corpus which takes words as linguistic data and word part-of-speech tagging results, firstly extracting a target operation step in a target operation ticket map so as to extract target operation equipment in the target operation step.
And step S19, searching the target operation equipment corresponding to the target operation step according to the equipment relation map prestored in the power system.
And extracting target operation equipment from the target operation step, wherein the target operation equipment is also divided into primary equipment and secondary equipment, and searching the target operation equipment and the connection relation between the target operation equipment in the equipment relation map by using a map search mode.
In step S20, a target operation ticket is generated according to a preset template.
The preset template is information extracted from the operation steps of the typical ticket, the name of a line and the number of the line in the target operation task are extracted according to a corpus with words as linguistic data and word part-of-speech tagging results, and the name of the line, the number of the line and other numbers are filled in the information extracted from the operation steps of the typical ticket. For example, the target operation task "change the circuit breaker of the 10kV soil heap village line 084 from running to cold standby", extract the circuit from the target operation task as "10 kV soil heap village line", extract the information of the circuit with the circuit number "084" from the target operation task as "change the circuit breaker from running to cold standby", refer to table 3, and find the extracted information of the stored operation steps according to the information extracted from the target operation task.
And (3) finding out the position of a disconnecting switch of the '10 kV soil heap village' on the side 0846 of the 10kV soil heap village line in the equipment relation map, numbering a measurement and control screen as 'III', filling the '10 kV soil heap village line', the line number '084' and other numbers '0846' and 'III' of the line into the stored operation step extraction information, and generating a target operation ticket by referring to a table 4.
TABLE 4 destination tickets
The method comprises the steps of firstly using a text of an operation step in a typical ticket as a corpus, then segmenting the text of the operation step to obtain words to form the corpus using the words as linguistic data, then carrying out part-of-speech tagging on the obtained words to obtain part-of-speech tagging results, extracting an initial state and an end state of an operation task, respectively using the initial state and the end state as a starting node and a terminating node, using an operation step corresponding to the operation task as an intermediate node, and generating and storing an operation ticket graph according to the sequence executed by the intermediate node. After the target operation task is obtained, the target operation task is identified, target operation equipment in the target operation task is extracted, a stored operation order map is searched, a pre-stored equipment relation map is obtained, whether the target operation equipment is completely in the equipment relation map is searched, if yes, the target operation equipment is filled in the operation order map, and a target operation order is generated. According to the operation ticket generating method, the words in the typical ticket are utilized, the words are subjected to part-of-speech tagging, the text of the target operation task can be identified, the target operation equipment in the target operation task is extracted and filled in the operation ticket map, the target operation ticket is generated, and the efficiency and the accuracy of operation ticket billing are improved.
In the word segmentation process, the accuracy of word segmentation needs to be improved, and step S13 includes:
and step 131, acquiring a professional dictionary in the power field.
And 132, performing word segmentation on the operation task and the operation steps corresponding to the operation task by adopting a forward maximum matching method to obtain words.
And segmenting the texts in the operation steps according to words stored in the professional dictionary in the power field. In the embodiment of the present application, the word segmentation is performed by using the word segmentation rule based on the forward maximum matching method, and other word segmentation rules may also be used.
In order to execute the target operation task, a series of operations must be executed on the target operation device, and in practical applications, because the number of the electric power devices included in the electric power system is huge, and the electric power devices are usually managed in a partition manner, different ticketing systems may correspondingly manage different electric power devices. Therefore, after the target operation task is acquired in step S16, in order to confirm whether the target operation device is affiliated to the ticket system, the method further includes the following steps:
and 161, extracting the target operation equipment corresponding to the target operation task.
And step 162, judging whether the target operation equipment exists in the equipment relation map.
And 163, if so, continuing to execute the step of searching the target operation ticket map corresponding to the target operation task.
The target operation device extracted in the target operation task does not necessarily exist in the device relationship map, and through the operations in the steps 161 to 163, it is necessary to determine that the target operation device is in the device relationship map before the target operation ticket map is extracted, and if the target operation device does not exist in the device relationship map, the target operation task is considered as a failed task, that is, a subsequent ticket drawing operation is not performed.
In order to execute the target operation task, the initial state and the end state in the target operation task are determined, the operation ticket map is extracted from all the typical tickets, one typical ticket comprises one operation task, one operation task corresponds to a group of the initial state and the end state, and a group of the initial state and the end state corresponds to one operation ticket map. Therefore, before step S17, in order to confirm whether the starting state transition ending state in the target operation task exists in the typical ticket, the following steps are further included:
and 171, performing word segmentation and part-of-speech tagging on the text of the target operation task, and extracting the operation task to be identified.
And 172, judging whether an operation ticket map corresponding to the operation task to be identified exists in the typical ticket.
And 173, if the operation ticket map exists, extracting the operation ticket map corresponding to the operation task to be identified from the typical ticket.
After the target operation task is acquired, through the operations in the steps 171 to 173, the initial state and the end state in the target operation task can be extracted, for example, the target operation task is "transfer the 10kV earth heap village line 084 breaker from running to cold standby", the initial state is extracted as "running", the end state is "cold standby", the "transfer to cold standby" is extracted according to the part of speech tagging result, whether the "transfer to cold standby" exists in the operation task of the typical ticket is searched, and if the "transfer to cold standby" does not exist, the target operation task is considered as a failed task, that is, the subsequent ticket-booking operation is not performed.
The foregoing describes a method embodiment of the present application, and an operation ticket generating apparatus is described below with reference to an apparatus embodiment. For details which are not disclosed in the device embodiments, reference is made to the method embodiments of the present application.
A second embodiment of the present application discloses an operation ticket generating apparatus, and referring to fig. 3, the operation ticket generating apparatus includes:
a first obtaining module 10, configured to obtain a typical ticket pre-stored in the power system;
a first extraction module 20, configured to extract operation tasks and operation steps in the typical ticket;
a word segmentation module 30, configured to perform word segmentation on the operation steps according to word segmentation rules to obtain words;
a part-of-speech tagging module 40, configured to perform part-of-speech tagging on the words according to the sequence of the words in the operation steps and the sentence sequence of each operation step, so as to obtain a part-of-speech tagging result;
a second extraction module 50, configured to extract a starting state and an ending state of the operation task, use the starting state and the ending state as a starting node and an ending node, respectively, use an operation step corresponding to the operation task as an intermediate node, and generate an operation ticket map according to a sequence executed by the intermediate node, where the intermediate node represents according to a form of the part-of-speech tagging result;
a second obtaining module 60, configured to obtain a target operation task;
the first searching module 70 is configured to search a target operation order map corresponding to the target operation task according to the operation order map;
a third extraction module 80, configured to extract a target operation step in the target operation ticket map;
the second searching module 90 is configured to search, according to an equipment relationship map prestored in the power system, a target operating equipment corresponding to the target operating step;
the generating module 100 is configured to generate an object operation ticket according to a preset template.
Further, the word segmentation module comprises:
and the acquisition unit is used for acquiring the professional dictionary in the power field.
And the word segmentation unit is used for segmenting the operation task and the operation steps corresponding to the operation task by adopting a forward maximum matching method to obtain words.
Further, the operation ticket generating apparatus further includes:
the fourth extraction module is used for extracting the target operation equipment corresponding to the target operation task after the second acquisition module acquires the target operation task;
the first judging module is used for judging whether the target operating equipment exists in the equipment relation map.
Further, the operation ticket generating apparatus further includes:
the fifth extraction module is used for performing word segmentation and part-of-speech tagging on the text of the target operation task before the first search module searches the target operation ticket map corresponding to the target operation task, and extracting the operation task to be identified;
the second judging module is used for judging whether the typical ticket has an operation ticket map corresponding to the operation task to be identified;
and the sixth extraction module is used for extracting the operation ticket map corresponding to the operation task to be identified from the typical ticket when the second judgment module determines that the operation ticket map corresponding to the operation task to be identified exists in the typical ticket.
The present application has been described in detail with reference to specific embodiments and illustrative examples, but the description is not intended to limit the application. Those skilled in the art will appreciate that various equivalent substitutions, modifications or improvements may be made to the embodiments and implementations thereof without departing from the spirit and scope of the present application, and are within the scope of the present application. The protection scope of this application is subject to the appended claims.
Claims (8)
1. An operation ticket generating method, comprising:
acquiring a typical ticket prestored in a power system;
extracting operation tasks and operation steps in the typical ticket;
performing word segmentation on the operation steps according to word segmentation rules to obtain words;
according to the arrangement sequence of the words in the operation step, performing part-of-speech tagging on the words to obtain part-of-speech tagging results;
extracting the initial state and the end state of the operation task, respectively taking the initial state and the end state as a start node and an end node, taking the operation steps corresponding to the operation task as intermediate nodes, and generating an operation ticket graph according to the sequence executed by the intermediate nodes, wherein the intermediate nodes are expressed according to the form of the part-of-speech tagging result;
acquiring a target operation task;
searching a target operation ticket map corresponding to the target operation task;
extracting a target operation in the target operation order map;
searching target operation equipment corresponding to the target operation step according to an equipment relation map prestored in the power system;
and generating a target operation ticket according to a preset template.
2. The operation ticket generating method of claim 1, wherein the step of performing word segmentation on the operation steps according to a word segmentation rule to obtain a word comprises:
acquiring a professional dictionary in the power field;
and performing word segmentation on the operation task and the operation steps corresponding to the operation task by adopting a forward maximum matching method to obtain words.
3. The operation ticket generating method according to claim 1, further comprising, after acquiring the target operation task:
extracting target operation equipment corresponding to the target operation task;
judging whether the target operation equipment exists in an equipment relation map or not;
and if so, continuing to execute the step of searching the target operation ticket map corresponding to the target operation task.
4. The operation ticket generating method according to claim 1, wherein before searching for the target operation ticket map corresponding to the target operation task, the method further comprises:
performing word segmentation and part-of-speech tagging on the text of the target operation task, and extracting an operation task to be identified;
judging whether an operation order map corresponding to the operation task to be identified exists in the typical order;
and if the operation order map exists, extracting the operation order map corresponding to the operation task to be identified from the typical order.
5. An operation ticket generating apparatus, characterized in that the apparatus comprises:
the first acquisition module is used for acquiring a typical ticket prestored in the power system;
the first extraction module is used for extracting operation tasks and operation steps in the typical ticket;
the word segmentation module is used for segmenting the operation steps according to word segmentation rules to obtain words;
a part-of-speech tagging module, configured to perform part-of-speech tagging on the word according to the sequence of the word in the operation steps and the sentence sequence of each operation step, so as to obtain a part-of-speech tagging result;
a second extraction module, configured to extract a starting state and an ending state of the operation task, use the starting state and the ending state as a starting node and an ending node, respectively, use an operation step corresponding to the operation task as an intermediate node, and generate an operation order graph according to a sequence executed by the intermediate node, where the intermediate node represents according to a form of the part-of-speech tagging result;
the second acquisition module is used for acquiring a target operation task;
the first searching module is used for searching a target operation order map corresponding to the target operation task;
a third extraction module, configured to extract a target operation step in the target operation ticket map;
the second searching module is used for searching target operation equipment corresponding to the target operation step according to an equipment relation map prestored in the power system;
and the generating module is used for generating the target operation ticket according to a preset template.
6. The operation ticket generating apparatus of claim 5 wherein the word segmentation module comprises:
the acquisition unit is used for acquiring a professional dictionary in the power field;
and the word segmentation unit is used for segmenting the operation tasks and the operation steps corresponding to the operation tasks by adopting a forward maximum matching method to obtain words.
7. The operation ticket generating apparatus according to claim 5, further comprising:
the fourth extraction module is used for extracting the target operation equipment corresponding to the target operation task after the second acquisition module acquires the target operation task;
the first judgment module is used for judging whether the target operation equipment exists in the equipment relation map.
8. The operation ticket generating apparatus according to claim 5, further comprising:
the fifth extraction module is used for performing word segmentation and part-of-speech tagging on the text of the target operation task before the first search module searches the target operation ticket map corresponding to the target operation task, and extracting the operation task to be identified;
the second judgment module is used for judging whether the typical ticket has an operation ticket map corresponding to the operation task to be identified;
a sixth extraction module, configured to, when the second determination module determines that the operation ticket map corresponding to the operation task to be identified exists in the typical ticket, extract the operation ticket map corresponding to the operation task to be identified from the typical ticket.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010337310.8A CN111581965B (en) | 2020-04-26 | 2020-04-26 | Operation ticket generation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010337310.8A CN111581965B (en) | 2020-04-26 | 2020-04-26 | Operation ticket generation method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111581965A CN111581965A (en) | 2020-08-25 |
CN111581965B true CN111581965B (en) | 2022-07-15 |
Family
ID=72124526
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010337310.8A Active CN111581965B (en) | 2020-04-26 | 2020-04-26 | Operation ticket generation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111581965B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112382901B (en) * | 2020-11-02 | 2023-03-10 | 珠海优特电力科技股份有限公司 | Device quick grounding method, quick grounding control device and quick grounding device |
CN113991843B (en) * | 2021-10-21 | 2024-06-07 | 广东电网有限责任公司 | Error prevention method, system, equipment and medium for power grid dispatching operation |
CN116484826B (en) * | 2023-06-19 | 2024-04-26 | 广东电网有限责任公司 | Operation ticket generation method, device, equipment and storage medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180300657A1 (en) * | 2017-04-18 | 2018-10-18 | Nasdaq Technology Ab | Systems and methods of distributing event tickets |
CN108021552A (en) * | 2017-11-09 | 2018-05-11 | 国网浙江省电力公司电力科学研究院 | A kind of power system operation ticket method for extracting content and system |
CN109345072A (en) * | 2018-08-30 | 2019-02-15 | 国网浙江省电力有限公司杭州供电公司 | Dispatching method for distribution branch line scheduling scenario |
CN109376353B (en) * | 2018-09-04 | 2022-09-16 | 国家电网公司华东分部 | Natural language processing-based power grid starting operation ticket generation device and method |
CN109617241B (en) * | 2018-12-29 | 2022-04-22 | 北京四方继保自动化股份有限公司 | Intelligent sequential control system and method based on panoramic data in transformer substation |
CN110175324B (en) * | 2019-04-11 | 2023-05-23 | 贵州电网有限责任公司 | Power grid operation instruction verification method and system based on data mining |
-
2020
- 2020-04-26 CN CN202010337310.8A patent/CN111581965B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN111581965A (en) | 2020-08-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111581965B (en) | Operation ticket generation method and device | |
CN109376353B (en) | Natural language processing-based power grid starting operation ticket generation device and method | |
US7191177B2 (en) | Keyword extracting device | |
US5649215A (en) | Language parsing device and method for same | |
CN111985653B (en) | Power grid fault knowledge recommendation and knowledge management system and method based on knowledge graph | |
CN108549650B (en) | Intelligent substation anti-misoperation lockout logic rule source end configuration method and system | |
US8032531B2 (en) | Section identification and distribution system monitoring system, method and program product | |
CN102693244B (en) | Method and device for identifying information in non-structured text | |
CN110377901B (en) | Text mining method for distribution line trip filling case | |
CN107844466B (en) | System and method for automatically generating fault recording file analysis model | |
CN106780110A (en) | The method that whole station CONFIG.SYS void loop based on ATL automatically generates | |
Zaghouani et al. | Adapting a resource-light highly multilingual named entity recognition system to Arabic. | |
CN105677833A (en) | Method for extracting circuit breaker fault characteristic information on basis of text mining technology | |
CN111339766A (en) | Operation ticket compliance checking method and device | |
Romero et al. | Constructive heuristic algorithm in branch-and-bound structure applied to transmission network expansion planning | |
CN110399463A (en) | The Similarity Match Method and device of work ticket | |
EP0887748B1 (en) | Multilingual terminology extraction system | |
CN115544207A (en) | Method and system for rapidly matching template library types in device in SCD file | |
CN106296456B (en) | Intelligent substation secondary maintenance safety measure support system and construction method | |
CN112597748A (en) | Corpus generation method, apparatus, device and computer readable storage medium | |
CN112148897A (en) | Automatic retrieval and classification method and system for fault information of power system | |
KR20010016679A (en) | System and method for translating foreign language phonetic presentation of korean word to korean word and retrieving information related to translated korean word | |
Holan et al. | A prototype of a grammar checker for Czech | |
EP1080424A1 (en) | A method and arrangement for translation of information | |
Collier | A system for automating concordance line selection |
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 |