CN113011771A - Rapid ticketing method, device, equipment and storage medium - Google Patents

Rapid ticketing method, device, equipment and storage medium Download PDF

Info

Publication number
CN113011771A
CN113011771A CN202110353010.3A CN202110353010A CN113011771A CN 113011771 A CN113011771 A CN 113011771A CN 202110353010 A CN202110353010 A CN 202110353010A CN 113011771 A CN113011771 A CN 113011771A
Authority
CN
China
Prior art keywords
rule
power grid
matching
ticket
rules
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.)
Pending
Application number
CN202110353010.3A
Other languages
Chinese (zh)
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.)
Guangdong Power Grid Co Ltd
Electric Power Dispatch Control Center of Guangdong Power Grid Co Ltd
Original Assignee
Guangdong Power Grid Co Ltd
Electric Power Dispatch Control Center of Guangdong Power Grid 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 Guangdong Power Grid Co Ltd, Electric Power Dispatch Control Center of Guangdong Power Grid Co Ltd filed Critical Guangdong Power Grid Co Ltd
Priority to CN202110353010.3A priority Critical patent/CN113011771A/en
Publication of CN113011771A publication Critical patent/CN113011771A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06312Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24564Applying rules; Deductive queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Abstract

The invention discloses a method, a device, equipment and a storage medium for quickly forming a ticket, wherein the method comprises the following steps: acquiring an actual equipment object set needing to be operated according to an operation task rule, and recording an initial state of a power grid, wherein the operation task rule comprises an electrical equipment switching operation rule, a special operation rule and a power grid operation mode rule; and judging whether the actual equipment object set contains unprocessed rules, if not, directly generating an operation ticket, if so, activating the unprocessed rules, recording operation contents and corresponding explanations according to the operation task rules, updating the state of the power grid, and generating the operation ticket. According to the method, the refined rule knowledge base of the operation ticket is established, the mutually independent knowledge base and the inference machine are adopted to carry out dynamic matching verification on the content of the distribution network scheduling operation ticket, the ticket simulating efficiency and the accuracy of the operation ticket are improved, and the operation safety of a power grid is improved.

Description

Rapid ticketing method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of intelligent operation tickets, in particular to a quick ticket forming method, a quick ticket forming device, quick ticket forming equipment and a storage medium.
Background
The traditional ticket-drawing dispatcher compiles an operation ticket by memorizing the displacement process of a circuit breaker and a disconnecting link, on the whole, foreign power grid primary equipment is relatively strong, a running system generally has more spare capacity, the configuration of a secondary system is relatively weak, and the configuration of protection is not as complicated as that of the domestic, so that the operation generally only needs to consider the primary equipment, the problems of protection and complex switching of a safety automatic device are not involved, the implementation is relatively simple, a complex intelligent operation ticket system is not needed, the intelligent operation ticket-drawing system is relatively lagged due to the defects of low performance of an inference machine, insufficient universality, high maintenance difficulty and lack of flexibility, and under the existing state, the dispatcher can only rely on manual retrieval when checking the scheduling history records before the operation, and searches the equipment state from mass records, so that the cost is higher and the accuracy is not high.
Disclosure of Invention
The invention aims to provide a method, a device, equipment and a storage medium for rapidly generating a ticket, which are used for verifying online matching of distribution network scheduling operation tickets by constructing an operation ticket refinement rule knowledge base so as to solve the problems of low ticket simulation efficiency and low accuracy.
In order to achieve the purpose, the invention provides a quick ticketing method, which comprises the following steps:
acquiring an actual equipment object set needing to be operated according to an operation task rule, and recording an initial state of a power grid;
and judging whether the actual equipment object set contains unprocessed rules, if not, directly generating an operation ticket, if so, activating the unprocessed rules, recording operation contents and corresponding explanations according to the operation task rules, updating the state of the power grid, and generating the operation ticket.
Preferably, the system further comprises a context database for storing operation object data, state data before and after operation and equipment operation mode data.
Preferably, an actual device object set required to be operated is obtained according to an operation task rule, and an initial state of the power grid is recorded, wherein the operation task rule includes an electrical device switching operation rule, a special operation rule and a power grid operation mode rule, and the method includes the steps of:
the special operation rule is matched with the context database;
if the matching is successful, matching the switching operation rule of the electrical equipment with a context database, acquiring the state change of an operation object, activating the rule, and searching and matching the special operation rule again after the switching operation is executed;
and if the matching is unsuccessful, acquiring a final reasoning result through multiple recursive matching, wherein when the switching operation rule of the electrical equipment is operated, the operation mode rule of the power grid is activated simultaneously, and the operation node sequence is ensured.
Preferably, the determining whether the actual device object set contains an unprocessed rule, if not, directly generating an operation ticket, if yes, activating the unprocessed rule, recording operation content and a corresponding explanation according to the operation task rule, updating a power grid state, and generating the operation ticket includes:
and matching the unprocessed rule with the context database, judging whether the unprocessed rule is respectively matched with the switching operation rule of the electrical equipment, the special operation rule and the power grid operation mode rule, if the matching is successful, updating the power grid state, acquiring a reasoning result, converting the reasoning result into an operation ticket, and if the matching is unsuccessful, iterating and matching again.
The invention also provides a quick ticketing device, comprising:
the operation module is used for acquiring an actual equipment object set needing to be operated according to the operation task rule and recording the initial state of the power grid;
and the judging module is used for judging whether the actual equipment object set contains unprocessed rules or not, if not, directly generating an operation ticket, and if so, activating the unprocessed rules, recording operation contents and corresponding explanations according to the operation task rules, updating the state of the power grid and generating the operation ticket.
Preferably, the quick ticketing device further comprises:
and the second submodule is used for storing a context database of the operation object data, the state data before and after the operation and the equipment running mode data.
Preferably, the operation module is further configured to:
the special operation rule is matched with the context database;
if the matching is successful, matching the switching operation rule of the electrical equipment with a context database, acquiring the state change of an operation object, activating the rule, and searching and matching the special operation rule again after the switching operation is executed;
and if the matching is unsuccessful, acquiring a final reasoning result through multiple recursive matching, wherein when the switching operation rule of the electrical equipment is operated, the operation mode rule of the power grid is activated simultaneously, and the operation node sequence is ensured.
Preferably, the determining module is further configured to:
and matching the unprocessed rule with the context database, judging whether the unprocessed rule is respectively matched with the switching operation rule of the electrical equipment, the special operation rule and the power grid operation mode rule, if the matching is successful, updating the power grid state, acquiring a reasoning result, converting the reasoning result into an operation ticket, and if the matching is unsuccessful, iterating and matching again.
The invention also provides a computer terminal device comprising one or more processors and a memory. A memory coupled to the processor for storing one or more programs; when executed by the one or more processors, cause the one or more processors to implement a fast ticketing method as described in any of the embodiments above.
The present invention also provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements a fast ticketing method as described in any of the above embodiments.
According to the method, the refined knowledge base of the operation tickets is established, the refined knowledge base comprises three types of rules in the rule base, the state conversion matrix and the state evolution linked list, the contents of the distribution network scheduling operation tickets are dynamically verified on line, the ticket simulating efficiency and the accuracy are improved, and the operation safety of a power grid is improved.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram of a method for fast ticketing according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a fast ticketing method provided by another embodiment of the present invention;
FIG. 3 is a schematic flow chart diagram of a fast ticketing method provided by yet another embodiment of the present invention;
fig. 4 is a schematic structural diagram of a fast ticketing apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the present invention will be described clearly and completely with reference to the accompanying drawings, and it is obvious that the described embodiments are only some embodiments of the present invention, 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 invention.
It should be understood that the step numbers used herein are for convenience of description only and are not intended as limitations on the order in which the steps are performed.
It is to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
The terms "comprises" and "comprising" indicate the presence of the described features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
The term "and/or" refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1 and 2, the present invention provides a fast ticketing method, including the following steps:
s101, acquiring an actual equipment object set needing to be operated according to an operation task rule, and recording an initial state of a power grid, wherein the operation task rule comprises an electrical equipment switching operation rule, a special operation rule and a power grid operation mode rule.
Specifically, a knowledge base rule system is researched, the operation mode of a power grid system, the coordination of various protection and automatic devices and the dispatching operation regulation of the power grid are researched, and the basic dispatching operation rules in the power grid are decomposed, classified and modeled according to different dispatching grades of the power grid and the relevant operation requirements of relevant 'power grid dispatching regulations' of dispatching organizations. The knowledge base contains three types of knowledge: network model, rules, state transition matrix and state evolutionary key table.
The network model describes a network structure and a network operation state, data describing the network structure in the database are static data and reflect a topological structure of a power grid and a simulation wiring diagram of a plant station, when the network topological structure changes, the data need to be adjusted in a man-machine interaction mode, data describing the network operation state are dynamic data and reflect the working states of various components in the power grid structure, and when inference is carried out, on one hand, an operation ticket is generated, and on the other hand, state data of corresponding electrical equipment need to be updated, so that the operation process and the state after operation of the network can be correctly reflected.
And matching the special operation rule with the context database, if the matching is successful, matching the switching operation rule of the electrical equipment with the context database, acquiring the state change of an operation object, activating the rule, searching and matching the special operation rule again after the switching operation is executed, and acquiring a reasoning result through multiple recursive matching, wherein when the switching operation rule of the electrical equipment is operated, the operation mode rule of a power grid is simultaneously activated, so that the node sequence of the operation is ensured.
The operation task rules comprise an electrical equipment switching operation rule, a special operation rule and a power grid operation mode rule, and comprise the following steps:
(1) switching operation rule of electrical equipment:
the switching operation rule of the electrical equipment is the most basic rule in the scheduling operation, and comprises operation rules of equipment such as a line, a main transformer, a bus, a switch, relay protection and a safety automatic device, the switching operation rule of the electrical equipment is executed, the switching operation rule of the electrical equipment needs to consider that an object is converted from one running state to another state, and a corresponding operation command is formed, the conclusion part of the rules is reflected, due to the orderliness of the switching operation, the switching operation rule set of the electrical equipment needs to reflect the sequence of the operation of each equipment element (such as a switch and a knife switch), the operation of the line needs to consider the matching of related nodes, the switching operation rules are reflected in the premise part of the rules, and the switching operation rule of the electrical equipment is expressed in the form of a rule describing the action of a robot in the robot-like problem solving, and the form is as follows:
c _ RULE (RULE sequence number, prerequisite, delete table, add table, operation command table);
the "prerequisite condition" in the expression is a prerequisite part of the rule, and is a state expression, including a state identifier and a state combination of related elements, when the current state of the operation object matches with the prerequisite condition of a certain rule, the rule is activated, and the operations specified by the rule are executed, namely the following two actions are completed:
the operation is completed by the deletion table and the addition table.
Secondly, according to the content of the operation command table in the rule, operation commands are formed one by one and added into an operation command text library, and the operation command text library can be used as a complete operation command ticket of the current operation for disk storage, display or printing after the system works, so that the serial numbers of the operation commands are stored in the operation command table to reduce data redundancy.
(2) Special operation rules:
when the power grid equipment is operated, the operation of non-primary equipment such as power flow control, relay protection, switching on/off of safety automatic devices and fixed value change of a network and other technical measures need to be considered, some additional operations need to be carried out before primary equipment operation, and some additional operations need to be carried out after primary equipment operation and need to be expressed in an operation command ticket, and the form of the additional operations is as follows:
c _ RULE (RULE serial number, equipment name, station name, state expression, operation command list);
the preconditions of the rules are: AND when the name of the operation object, the plant site name AND the current state are matched with the rule preconditions, executing the content of the operation command table in the rule to form a corresponding operation command AND adding the corresponding operation command into the operation command text base.
(3) And (3) power grid operation mode regulation:
the power grid operation mode rule reflects that when certain equipment is in switching operation, operation coordination of other equipment in a power grid is involved, and means that when certain equipment is operated, loop closing operation or loop opening operation of an electromagnetic ring or an electrical ring is required, so that the operation mode of a network is changed in a large range, for this reason, a power supply path of the power grid needs to be selected to determine a node sequence needing to be operated, and the rule is in the form of:
p _ RULE (RULE serial number, device name, operation task, path serial number, device characteristics, node-operation table);
the preconditions of the rules are: the device name &. operation task &. path serial number &. device characteristics, the rule back-part is a table, the table is a node-operation table, each table element is composed of nodes and operations, the operations are legal operations specified in the state conversion matrix S, and the table elements are arranged according to the sequence of the operations of the nodes.
S102, judging whether the actual equipment object set contains unprocessed rules or not, if not, directly generating an operation ticket, if so, activating the unprocessed rules, recording operation contents and corresponding explanations according to the operation task rules, updating the state of the power grid, and generating the operation ticket.
Specifically, the unprocessed rule is matched with the context database, whether the unprocessed rule is matched with the switching operation rule of the electrical equipment, the special operation rule and the power grid operation mode rule or not is judged, if the unprocessed rule is matched with the switching operation rule of the electrical equipment, the special operation rule and the power grid operation mode rule, the power grid state is updated, the inference result is obtained, and the inference result is converted into an operation ticket.
The method comprises the steps of obtaining an operation order task, analyzing an operation type according to the operation order task, recording an initial state of a power grid, obtaining a rule sequence according to the operation type, judging whether rules are unprocessed or not, activating a first unprocessed rule if the rules are unprocessed, directly searching the first unprocessed rule because the rule sequence is arranged in sequence, obtaining an invoicing fact, judging whether conditions of the rules are all met or not, judging whether conditions of sub-rules are all met or not, recording operation contents and explanation, updating the state of the power grid, converting an inference result into an operation order to be output, and providing corresponding explanation, wherein the conditions of the sub-rules refer to whether each rule is matched with context data or not.
For each node to be operated, the inference machine adopts forward inference driven by a target (namely a terminal state), starts from the initial state of the node, searches a rule of which the precondition is matched with a context database from a special operation rule base, if the rule exists, the inference machine is activated, then searches a switching operation rule base to find a rule which is consistent with the fact in the context database, after the rule is executed, the state of an operation object is changed, after the switching operation is executed, the special rule base is searched, if the proper rule exists, the inference machine is executed through multiple recursions, finally the state of the node reaches the terminal state required by a user, the inference is ended, a switching operation rule needs to be activated for each recursion, the special rule is not necessarily used for each recursion, the special rule needs to be determined according to the operation object, the current state and the operation process, in order to reduce the search workload of the rule base, the backtracking search caused by improper rule selection in rule conflict is avoided, a state evolution linked list is designed for each legal operation, and the system activates the rule only when the state identifier of the conclusion part in a certain node switching operation rule appears in the currently considered state evolution linked list.
The invention respectively matches the rules of the rule base with the context database, finds the terminal state which leads the state of the node to meet the requirements of the user through multiple recursions, finishes reasoning, generates the operation ticket and restores the initial state of the power grid, reduces the searching workload of the rule base, and improves the ticket-drawing rate and the ticket-drawing accuracy of the power grid.
Referring to FIG. 3, in another embodiment, the validity of the operation is determined according to the state matrix as follows:
Figure BDA0003002405090000061
in the formula, SijI is 1,2, …, n, j is 1,2, …, n is SijWhen the operation is 1, it indicates that the operation is legal to change from the device state before the operation to the device state after the operation, and when S isijIf the operation is judged to be legal, the operation is represented by a state evolution linked list, and the state evolution linked list is represented by SiTo SjAnd controlling the operation process through the state evolution linked list by the passing intermediate state. The system also comprises an input context database, wherein the context database comprises stored operation object data, state data before and after operation and equipment operation mode data.
Specifically, the number of power grid dispatching operation commands is large, the characters of the commands are long, and if an operation command text is directly adopted in an operation command table of each operation rule, the data volume is huge. An operation dictionary is designed for this purpose, the operation dictionary is actually used for classifying and coding standard operation terms according to functions thereof, and organizing an operation command dictionary according to the format of an operation ticket, and entries in each dictionary correspond to an operation command in the form of:
OPERATIN (serial number, opcode, operation phrase);
the table elements of each rule operation command table are represented by sequence numbers in the entries, when the system runs, related dictionary entries are retrieved according to the sequence numbers, the entry contents are converted into corresponding operation command texts through a natural language processing module, a power grid operation cognitive model is researched and constructed, various objects in the power grid are classified and defined into power grid operation objects according to topological relations and equipment types, the power grid operation objects comprise uniform power grid resource codes and operation rules, the operated equipment objects need to complete structured recording, and a knowledge model foundation is laid for subsequent instruction decomposition and automatic ordering.
The typical states of the power grid equipment are an operation state and a maintenance state, and the corresponding typical operations are a power transmission operation and a power failure operation, wherein the power transmission operation is that the equipment starts from the maintenance state, passes through a series of intermediate states and ends at the operation state, and the power failure operation is conversely from the operation state to the maintenance state.
Assume that the operating device may appear in the following states: s1,S2,S3,…,Sn。S1The method is characterized in that the method is a maintenance state of equipment, a shaft is a power transmission running state of the equipment, and n states are combined in pairs to obtain n operations, but the n operations are not all legal, and in order to avoid misoperation, an n state matrix is defined in the invention, and the method comprises the following steps:
Figure BDA0003002405090000071
in the formula, at that time, it means that the operation of converting the device state before the operation into the device state after the operation is legal, and at that time, it means that the operation of converting the device state before the operation into the device state after the operation is illegal, and if the operation is judged to be legal, then the state evolution linked list is adopted for representation, the state evolution linked list gives an intermediate state from the device state before operation to the device state after operation, the operation process is controlled by the state evolution linked list, the S matrix is used for judging the legality of the operation input by the user, designing a state evolution linked list for each legal operation, giving an intermediate state which is required to pass from the device state before the operation to the device state after the operation in the linked list, the inference process is controlled by the state evolution linked list, the search range of the inference engine in the rule base is narrowed, and extra backtracking is avoided.
Based on a mode recognition theory, an intelligent inference machine is built by adopting a layered mechanism to realize automatic ordering of an operation ticket, a high-level intelligent inference process of a scheduling task is firstly researched, the scheduling task is decomposed until the scheduling task is decomposed into a most basic comprehensive order task or an operation task, then a low-level intelligent inference process is researched, the comprehensive order task and the operation task are respectively inferred in low-level inference to realize combination of similar operation tasks (the similar operation comprises independent actions of equipment such as switching, disconnecting, closing-loop operation or opening-loop operation and the like), an actual equipment object set needing to be operated is inferred by using an operation task rule, an actual operation sequence is inferred according to an operation constraint rule and an operation selection rule, and the intelligent ordering of the command ticket is completed to replace the traditional manual ticket-imitating work.
Aiming at the generation of the operation ticket, firstly judging the legality of the operation, if the operation is legal, stopping power transmission operation to prompt an inference engine to adopt a target and drive forward inference, on the basis, selecting a power supply path to provide a legal node sequence to be operated, finally updating related contents of a context database, and generating the operation ticket by the inference engine, wherein the generation process of the operation ticket is as follows:
(1) and judging the validity of the operation, inquiring an S matrix by the system according to the initial state and the final state of the equipment operation object input by the user, and if the element value of the matrix is l, judging that the operation is legal.
(2) The context database initialization context database is a working database of the inference engine and stores data such as an operation object, states before and after operation, related plant names, plant equipment operation modes and the like, meanwhile, the context database also comprises name numbers of operated equipment and corresponding data reflecting the operation states of the operated equipment, and the data are automatically acquired from a network model database by a system according to operation requirements after human-computer interaction input is finished. In the reasoning process, the reasoning machine does not directly modify the data of the network database, only updates the related content of the context database, only modifies the corresponding part of the network model database according to the content of the context database after the reasoning process is finished and the user confirms that the operation is successful, in addition, the result of searching the power supply path and the adjustment result of the operation mode of each node of the power supply path are also temporarily stored in the context database, and the contents also need to be written back to the network model database after the user confirms that the operation is successful.
(3) The power supply path selection provides a legal (existing and feasible) node sequence to be operated for the power-on/power-off operation module, a complex loop operation problem can be decomposed into a plurality of ordered node operation subproblem sets through the power supply path selection, a user inputs a constraint condition of the loop operation through man-machine interaction, and the system searches an operation mode rule base according to a prerequisite condition, activates a corresponding rule and generates the node operation sequence.
(4) The stopping operation module is a core module of the inference engine, for each node to be operated, the inference engine adopts forward inference driven by a target (namely a terminal state), the system starts from an initial state of the node, searches a rule of which the precondition is matched with a context database from a special operation rule base, if the rule exists, the system is activated, then searches a switching operation rule base to find a rule which is consistent with the fact in the context database, after the rule is executed, the state of an operation object is changed, after the switching operation is executed, the special rule base is searched, if the proper rule exists, the system is executed through multiple recursions, finally the state of the node reaches the terminal state required by a user, the inference is finished, a switching operation rule needs to be activated in each recursion, the special rule does not need to be used in each recursion, power transmission needs to be carried out along with the operation object, And determining the current state and the operation process, designing a state evolution linked list for each legal operation in order to reduce the search workload of the rule base and avoid backtracking search caused by improper rule selection in rule conflict, and activating the rule by the system only when the state identifier of a conclusion part in a certain node switching operation rule appears in the currently considered state evolution linked list.
The invention adopts a standard operation ticket knowledge representation method and a production system to describe the equipment operation rule, researches the knowledge representation method of the power grid dispatching operation ticket expert system, once the power grid wiring and the operation rule of a user change, the user can conveniently modify the database and the knowledge base, thereby ensuring the power grid data to be real and reliable and having stronger adaptability, simultaneously reducing the search workload of the rule base and improving the ticket-drawing speed of the power grid and the ticket-drawing accuracy.
Referring to fig. 4, the present invention provides a fast ticketing apparatus, including:
the operation module 11 is configured to obtain an actual device object set to be operated according to an operation task rule, and record an initial state of the power grid, where the operation task rule includes an electrical device switching operation rule, a special operation rule, and a power grid operation mode rule.
And the judging module 12 is configured to judge whether the actual device object set contains an unprocessed rule, if not, directly generate an operation ticket, and if yes, activate the unprocessed rule, record operation content and a corresponding explanation according to the operation task rule, update a power grid state, and generate an operation ticket.
For specific limitations of the fast ticketing apparatus, reference may be made to the above limitations, which are not described in detail herein. The modules in the quick ticketing apparatus can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
The invention provides a computer terminal device comprising one or more processors and a memory. The memory is coupled to the processor for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the fast ticketing method as in any of the above embodiments.
The processor is used for controlling the overall operation of the computer terminal equipment so as to complete all or part of the steps of the quick ticketing method. The memory is used to store various types of data to support the operation at the computer terminal device, which data may include, for example, instructions for any application or method operating on the computer terminal device, as well as application-related data. The memory may be implemented by any type or combination of volatile or non-volatile storage devices, such as static random access memory
Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk.
In an exemplary embodiment, the computer terminal Device may be implemented by one or more Application Specific 1 integrated circuits (AS 1C), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components, for performing the above-mentioned fast ticketing method, and achieving technical effects consistent with the above-mentioned method.
In another exemplary embodiment, there is also provided a computer readable storage medium comprising program instructions which, when executed by a processor, implement the steps of the fast ticketing method in any of the above embodiments. For example, the computer readable storage medium may be the above-mentioned memory including program instructions executable by a processor of a computer terminal device to perform the above-mentioned fast ticketing method, and to achieve technical effects consistent with the above-mentioned method.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (10)

1. A quick ticketing method is characterized by comprising the following steps:
acquiring an actual equipment object set needing to be operated according to an operation task rule, and recording an initial state of a power grid, wherein the operation task rule comprises an electrical equipment switching operation rule, a special operation rule and a power grid operation mode rule;
and judging whether the actual equipment object set contains unprocessed rules, if not, directly generating an operation ticket, if so, activating the unprocessed rules, recording operation contents and corresponding explanations according to the operation task rules, updating the state of the power grid, and generating the operation ticket.
2. The fast ticketing method of claim 1, further comprising a context database that stores operand data, pre-and post-operational state data, and device operating mode data.
3. The quick ticketing method according to claim 2, wherein the actual device object set required to be operated is obtained according to operation task rules, and the initial state of the power grid is recorded, wherein the operation task rules include electrical device switching operation rules, special operation rules and power grid operation mode rules, and include:
the special operation rule is matched with the context database;
if the matching is successful, matching the switching operation rule of the electrical equipment with a context database, acquiring the state change of an operation object, activating the rule, and searching and matching the special operation rule again after the switching operation is executed;
and if the matching is unsuccessful, acquiring a final reasoning result through multiple recursive matching, wherein when the switching operation rule of the electrical equipment is operated, the operation mode rule of the power grid is activated simultaneously, and the operation node sequence is ensured.
4. The method for rapidly forming the ticket according to claim 3, wherein the judging whether the actual device object set contains unprocessed rules or not directly generates an operation ticket if not, and activates the unprocessed rules if so, records operation contents and corresponding explanations according to the operation task rules, updates a power grid state, and generates the operation ticket comprises:
and matching the unprocessed rule with the context database, judging whether the unprocessed rule is respectively matched with the switching operation rule of the electrical equipment, the special operation rule and the power grid operation mode rule, if the matching is successful, updating the power grid state, acquiring a reasoning result, converting the reasoning result into an operation ticket, and if the matching is unsuccessful, iterating and matching again.
5. A quick ticketing apparatus, comprising:
the operation module is used for acquiring an actual equipment object set needing to be operated according to an operation task rule and recording the initial state of the power grid, wherein the operation task rule comprises an electrical equipment switching operation rule, a special operation rule and a power grid operation mode rule;
and the judging module is used for judging whether the actual equipment object set contains unprocessed rules or not, if not, directly generating an operation ticket, and if so, activating the unprocessed rules, recording operation contents and corresponding explanations according to the operation task rules, updating the state of the power grid and generating the operation ticket.
6. The quick ticketing apparatus of claim 5, further comprising:
and the second submodule is used for storing a context database of the operation object data, the state data before and after the operation and the equipment running mode data.
7. The quick ticketing apparatus of claim 6, wherein the operating module is further configured to:
the special operation rule is matched with the context database;
if the matching is successful, matching the switching operation rule of the electrical equipment with a context database, acquiring the state change of an operation object, activating the rule, and searching and matching the special operation rule again after the switching operation is executed;
and if the matching is unsuccessful, acquiring a final reasoning result through multiple recursive matching, wherein when the switching operation rule of the electrical equipment is operated, the operation mode rule of the power grid is activated simultaneously, and the operation node sequence is ensured.
8. The quick ticketing apparatus of claim 7, wherein the determining module is further configured to:
and matching the unprocessed rule with the context database, judging whether the unprocessed rule is respectively matched with the switching operation rule of the electrical equipment, the special operation rule and the power grid operation mode rule, if the matching is successful, updating the power grid state, acquiring a reasoning result, converting the reasoning result into an operation ticket, and if the matching is unsuccessful, iterating and matching again.
9. A computer terminal device, comprising:
one or more processors;
a memory coupled to the processor for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the fast ticketing method of any one of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a fast ticketing method as claimed in any one of claims 1 to 4.
CN202110353010.3A 2021-03-31 2021-03-31 Rapid ticketing method, device, equipment and storage medium Pending CN113011771A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110353010.3A CN113011771A (en) 2021-03-31 2021-03-31 Rapid ticketing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110353010.3A CN113011771A (en) 2021-03-31 2021-03-31 Rapid ticketing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113011771A true CN113011771A (en) 2021-06-22

Family

ID=76387763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110353010.3A Pending CN113011771A (en) 2021-03-31 2021-03-31 Rapid ticketing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113011771A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113792538A (en) * 2021-08-27 2021-12-14 北京科东电力控制系统有限责任公司 Method and device for quickly generating operation ticket of power distribution network

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1869997A (en) * 1995-02-13 2006-11-29 英特特拉斯特技术公司 Systems and methods for secure transaction management and electronic rights protection
CN101566846A (en) * 2009-05-27 2009-10-28 江西九江供电公司 Distribution grid switching operation bill generation and anti-error system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1869997A (en) * 1995-02-13 2006-11-29 英特特拉斯特技术公司 Systems and methods for secure transaction management and electronic rights protection
CN101566846A (en) * 2009-05-27 2009-10-28 江西九江供电公司 Distribution grid switching operation bill generation and anti-error system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
李恩晶: "电网调度操作票专家系统中知识表示和推理机制的研究", 《电力系统及其自动化》 *
电网调度操作票专家系统中知识表示和推理机制的研究: "电网调度操作票专家系统中知识表示和推理机制的研究" *
程从从、 蔡斌 、张晓华 、周华敏: "一个基于知识的电网调度操作票自动规划系统" *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113792538A (en) * 2021-08-27 2021-12-14 北京科东电力控制系统有限责任公司 Method and device for quickly generating operation ticket of power distribution network

Similar Documents

Publication Publication Date Title
US20140156282A1 (en) Method and system for controlling target applications based upon a natural language command string
CN110286941A (en) Gray scale dissemination method, device, storage medium and electronic equipment
CN116521893A (en) Control method and control device of intelligent dialogue system and electronic equipment
CN108228762B (en) Method and system for configuring master database universal templates
CN113011771A (en) Rapid ticketing method, device, equipment and storage medium
CN110502530A (en) Database functions call method, system, computer equipment and storage medium
CN111368029A (en) Interaction method, device and equipment based on intention triples and storage medium
MacCaull et al. Correspondence results for relational proof systems with application to the Lambek calculus
CA2398814C (en) System for controlling and monitoring a process
CN116502671A (en) Artificial intelligence model control system and control method
CN115328772A (en) Learning method for excitation combination and module correlation and test script generation method
CN116450246A (en) Event stream configurable method based on state machine
CN116976252A (en) Regression simulation method, device, equipment, medium and program product
CN111858280B (en) SQL information processing method, device, equipment and system
CN113095050A (en) Intelligent ticketing method, system, equipment and storage medium
Xiao et al. Lightweight natural language driven intent translation mechanism for intent based networking
Sugawara et al. Conversation-based support for requirement definition by a Personal Design Assistant
Wachtel et al. Programming in natural language building algorithms from human descriptions
Gomes et al. Selection and Reuse of Software Design Patterns Using CBR and WordNet.
US9535414B2 (en) System and method for distributing and exchanging elements for planning and/or for operating automation operating equipment
CN114138425B (en) Method and device for generating form based on formula
CN117784628A (en) Control method, device, equipment and storage medium
CN117271561B (en) SQL sentence generation method, device and equipment based on large language model
CN117350501A (en) System and method for dispatching man-in-loop power grid driven by large language model
WO2021167480A1 (en) Computerized device and method for software development of a simulation software for simulating a distributed energy system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210622

RJ01 Rejection of invention patent application after publication