Five-defense rule writing method, device and storage medium

By recording the remote signal name, operation flow direction and operating conditions, a standardized five-defense rule file was formed, and the problem of high complexity in writing the existing five-defense rule was solved, and the concise writing and analysis of the five-defense rule was realized, which improved the power grid operation Security.

CN112906354BActive Publication Date: 2025-01-07QINGYUAN POWER SUPPLY BUREAU OF GUANGDONG POWER GRID CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011492267.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-16
Publication Date
2025-01-07
Estimated Expiration
2040-12-16

AI Technical Summary

Technical Problem

Due to the different formats of the existing five defense rules, the writing and analysis are high in complexity, which affects the safety of power grid workers.

Method used

By recording remote message names, operation flow directions and operating conditions, a standardized five-defense rule file is composed, and the name recording module, rule recording module and file generation module are used to simplify the writing and analysis process of five-defense rule.

Benefits of technology

It improves the standardization of writing five defense rules, reduces the complexity of writing and parsing, enhances the ease of reading and atomicity of the five defense rules, and ensures the safety of power grid operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112906354B_ABST
    Figure CN112906354B_ABST
Patent Text Reader

Abstract

The present invention discloses a five-defense rule writing method, device and storage medium. A five-defense rule writing method includes: for each remote signal that needs to be recorded, record the remote signal name; for each remote signal that needs to be recorded, record each operation flow after the remote signal name, and record the corresponding operation condition after each operation flow; each remote signal name, each operation flow corresponding to the remote signal name, and each operation flow corresponding to the operation condition constitutes a five-defense rule file. The five-defense rule writing method, device and storage medium disclosed in the embodiment of the present invention can improve the standardization of the five-defense rule writing and reduce the complexity of writing and parsing the five-defense rules.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to electric power technology, and more particularly to a method, device and storage medium for writing five-defense rules. Background Art

[0002] In order to ensure the safe operation of power equipment in the power grid, each manufacturer needs to compile the five-prevention rules for the equipment. The five-prevention usually refers to the abbreviation of the five anti-error functions that high-voltage electrical equipment should have to ensure personal safety. It is one of the important measures for power safety. The five-prevention is to prevent the circuit breaker from opening and closing by mistake; to prevent the disconnector from opening and closing with load; to prevent the grounding wire (grounding switch) from being hung (closed) with power on; to prevent power transmission with the grounding wire; and to prevent entering the live interval by mistake.

[0003] The accurate writing of the five-defense rules has a great impact on the safety of power grid workers. However, the current five-defense rules are written in different formats from different manufacturers and are incompatible with each other, which leads to high complexity in the writing and parsing of the five-defense rules, and is not conducive to the reading of the five-defense rules by power grid workers. Summary of the invention

[0004] The present invention provides a five-defense rule writing method, device and storage medium, which improve the standardization of the five-defense rule writing and reduce the complexity of the five-defense rule writing and parsing.

[0005] In a first aspect, an embodiment of the present invention provides a five-defense rule writing method, comprising:

[0006] For each remote signal that needs to be recorded, record the remote signal name;

[0007] For each remote signal that needs to be recorded, record each operation flow after the remote signal name, and record the corresponding operation conditions after each operation flow;

[0008] The five-defense rule file is composed of each remote signal name, each operation flow corresponding to the remote signal name, and the operation conditions corresponding to each operation flow.

[0009] In a possible implementation of the first aspect, for each remote signal that needs to be recorded, each operation flow is recorded after the remote signal name, and the corresponding operation condition is recorded after each operation flow, including:

[0010] For each remote signal that needs to be recorded, determine whether there is a remote signal operation that needs to be recorded;

[0011] If it exists, the operation direction will be recorded after the recorded remote signal name, otherwise, continue to determine whether other remote signals that need to be recorded have remote signal operations that need to be recorded;

[0012] Determine whether the recorded operation flow has operation conditions that need to be recorded;

[0013] If so, the corresponding operation condition is recorded after the recorded operation flow, otherwise, it is continued to determine whether there are other operation conditions in the recorded operation flow.

[0014] In a possible implementation of the first aspect, a five-prevention rule file is composed of each remote signal name, each operation flow corresponding to the remote signal name, and an operation condition corresponding to each operation flow, including:

[0015] Each operation flow direction corresponding to the remote signal name is recorded after each remote signal name, wherein each operation flow direction is located in a separate line, and the last operation flow direction corresponding to each remote signal name includes the first terminator, and the other operation flows include the second terminator;

[0016] Between each operation flow and the terminator, there are a separator and an operation condition corresponding to the operation flow, wherein the logical relationship between the multiple operation conditions corresponding to each operation flow is represented by a logical operator;

[0017] The five-defense rule file is composed of the records corresponding to each remote signal.

[0018] In a possible implementation of the first aspect, for each remote signal that needs to be recorded, the remote signal name is recorded, including:

[0019] Traverse the remote signal name list and determine in turn whether each remote signal is the remote signal that needs to be recorded;

[0020] If the current telesignal is determined to be the telesignal that needs to be recorded, the name of the telesignal is recorded.

[0021] In a possible implementation manner of the first aspect, the remote signal name is the abbreviation of remote signal.

[0022] In a second aspect, an embodiment of the present invention provides a five-defense rule writing device, including:

[0023] The name recording module is used to record the name of each remote signal that needs to be recorded;

[0024] The rule recording module is used to record each operation flow after the remote signal name for each remote signal that needs to be recorded, and to record the corresponding operation conditions after each operation flow;

[0025] The file generation module is used to form a five-defense rule file by each remote signal name, each operation flow direction corresponding to the remote signal name, and the operation conditions corresponding to each operation flow direction.

[0026] In a possible implementation of the second aspect, the rule recording module is specifically used to determine whether there is a telesignaling operation that needs to be recorded for each telesignaling that needs to be recorded; if so, record the operation flow after the recorded telesignaling name, otherwise continue to determine whether other telesignals that need to be recorded have telesignaling operations that need to be recorded; determine whether there are operating conditions that need to be recorded in the recorded operation flow; if so, record the corresponding operating conditions after the recorded operation flow, otherwise continue to determine whether there are other operating conditions in the recorded operation flow.

[0027] In a possible implementation of the second aspect, a file generation module is specifically used to record each operation flow corresponding to a telesignal name after each telesignal name, wherein each operation flow is located in a separate line, and the last operation flow corresponding to each telesignal name includes a first terminator, and other operation flows include a second terminator; between each operation flow and the terminator, there are separators and operation conditions corresponding to the operation flow, wherein the logical relationship between the multiple operation conditions corresponding to each operation flow is represented by logical operators; and a five-defense rule file is composed of records corresponding to each telesignal.

[0028] In a possible implementation of the second aspect, the name recording module is specifically used to traverse the remote signal name list, and determine in turn whether each remote signal is a remote signal that needs to be recorded; if the current remote signal is determined to be a remote signal that needs to be recorded, the remote signal name is recorded.

[0029] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the five-defense rule writing methods of the first aspect.

[0030] The five-defense rule writing method, device and storage medium provided in the embodiments of the present invention first record the name of each remote signal that needs to be recorded, then record each operation flow after the remote signal name for each remote signal that needs to be recorded, and record the corresponding operation conditions after each operation flow, and finally form a five-defense rule file consisting of each remote signal name, each operation flow corresponding to the remote signal name, and the operation conditions corresponding to each operation flow, thereby improving the standardization of the five-defense rule writing and reducing the complexity of writing and parsing the five-defense rules. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A flowchart of a method for writing five-defense rules provided in an embodiment of the present invention;

[0032] Figure 2 A flowchart of another five-defense rule writing method provided by an embodiment of the present invention;

[0033] Figure 3 A schematic diagram of the structure of a five-defense rule writing device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0034] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0035] Figure 1 A flowchart of a five-defense rule writing method provided in an embodiment of the present invention is shown in FIG. Figure 1 As shown, the five-defense rule writing method provided in this embodiment includes:

[0036] Step S101, for each remote signal that needs to be recorded, record the remote signal name.

[0037] The five-defense rule writing method provided in this embodiment is used to provide a standardized process for writing five-defense rules. The five-defense rule writing method provided in this embodiment can be used to write five-defense rules in a simple, fast and standardized manner, so that the writing and parsing complexity of the written five-defense rules are relatively low.

[0038] First, it is necessary to determine the telesignals that need to be recorded in the five-defense rules to be written, and record the names of each telesignal. Telesignals are remote signals in the power system. They collect and transmit various protection and switch quantity information, that is, remote status signals. A telesignal represents an operable device in the power grid, such as protection, switch, etc. In the five-defense rules, the operating specifications of each operable device are recorded. Among them, the telesignal name can be replaced by the abbreviation of the telesignal to make the five-defense rule file more concise.

[0039] For the power grid, the telesignal name list can be traversed to determine in turn whether each telesignal is the telesignal that needs to be recorded; if the current telesignal is determined to be the telesignal that needs to be recorded, the telesignal name is recorded.

[0040] Step S102, for each remote signal that needs to be recorded, record each operation flow after the remote signal name, and record the corresponding operation condition after each operation flow.

[0041] For each telesignal that needs to be recorded, it is first necessary to record the operation flow of the telesignal. The operation flow refers to the change in the operation state of the telesignal. For example, when the telesignal corresponds to a switch, the operation flow records the switch from open to closed or from closed to open. In addition, various operation flows may have corresponding operation conditions, and various operation conditions are the guarantee for ensuring the safety of the power grid and the personal safety of operators. Different operation flows corresponding to each telesignal may correspond to different operation conditions. For example, when the first switch changes from open to closed, the required operation condition is that the second switch is closed.

[0042] Each operation direction is recorded after the corresponding remote signal name, and the operation conditions corresponding to each operation direction are recorded after the corresponding operation direction. In this way, the operation direction and operation conditions corresponding to each remote signal constitute their own five-defense rules.

[0043] Step S103, a five-defense rule file is composed of each remote signal name, each operation flow corresponding to the remote signal name, and the operation conditions corresponding to each operation flow.

[0044] According to each telesignal that needs to be recorded, each telesignal name, each operation flow corresponding to the telesignal name, and the operation conditions corresponding to each operation flow are summarized together to form a five-defense rule file. According to the five-defense rule file, the power grid operator can accurately and clearly know the operation conditions of the power grid operation device corresponding to each telesignal under different operation flows, so as to avoid danger during operation. Since the five-defense rule writing method provided in this embodiment has clear logic and simple method, the readability and atomicity of the five-defense rules are greatly improved. Atomicity, and it contains a detailed description of the telesignal operation flow, any number of telesignal rules, telesignal operation flow rules, and specific conditions of the telesignal operation flow in the rule can be simply and quickly written and parsed at any time, reducing the complexity of rule file writing and parsing.

[0045] It should be noted that in order to ensure the standardization of the five-defense rule file, for the five-defense rule file, each operation flow corresponding to the remote signal name can be recorded after each remote signal name, where each operation flow is located in a separate line, and the last operation flow corresponding to each remote signal name includes the first terminator, and the other operation flows include the second terminator; then between each operation flow and the terminator, a separator and the operation condition corresponding to the operation flow are included, where the logical relationship between the multiple operation conditions corresponding to each operation flow is represented by a logical operator; finally, the five-defense rule file is composed of the records corresponding to each remote signal. The information corresponding to each remote signal name in the five-defense rule file can become a remote signal rule.

[0046] For example: "Telesignal abbreviation" is used as the beginning of each telesignal rule in the five-defense rule file to record the telesignals that need to be restricted by the rules in the current project. "Telesignal abbreviation" is followed by " " (space) to distinguish "Telesignal abbreviation" from "operation flow"; "operation flow" (pre-operation status -> post-operation status) is used to record which operations of the telesignal need to be restricted by the rules; "operation flow" is followed by ":" (colon) (i.e. separator) to indicate the beginning of the operation condition; ";" (semicolon) (i.e. second end symbol) is used to indicate that the telesignal also has "operation flow" rules; "!" (exclamation mark) (i.e. first end symbol) is used to indicate that all "operation flows" of the telesignal have been recorded (i.e. the rules of the telesignal have ended). After the “:” (colon) and before the “;” (semicolon) or “!” (exclamation mark) of the “operation direction”, it is used to record the specific conditions of the “operation direction”; various logical operators are used to represent the logical relationship between the operation conditions, for example, “&” (and) represents the “and” relationship, and “|” (or) represents the “or” relationship.

[0047] According to the above five-defense rule file writing example, the five-defense rule file written is as follows:

[0048] rt1 0->1:rt2=0&rt3=0;

[0049] 1->0:rt2=1&rt3=1!

[0050] rt4 0->1:rt5=0&rt6=0;

[0051] 1->0:rt5=1&rt6=1!

[0052] The above five-prevention rule file indicates that the remote signal "rt1" has two "operations" that need to be restricted by the rules, namely:

[0053] When executing the operation of changing the remote signal state from state 0 to state 1, it is necessary to meet the following conditions: the state of remote signal "r2" is 0 and the state of remote signal "r3" is 0.

[0054] When executing the operation of changing the remote signal status from status 1 to status 2, it is necessary to meet the following conditions: the status of remote signal "r2" is 1 and the status of remote signal "r3" is 1.

[0055] Remote signal "rt4" has two "operations" that need to be restricted by rules, namely:

[0056] When executing the operation of changing the remote signal state from state 0 to state 1, it is necessary to meet the following conditions: the state of remote signal "r5" is 0 and the state of remote signal "r6" is 0.

[0057] When executing the operation of changing the remote signal status from status 1 to status 2, it is necessary to meet the following conditions: the status of remote signal "r5" is 1 and the status of remote signal "r6" is 1.

[0058] The method for writing five-defense rules provided in this embodiment first records the name of each remote signal that needs to be recorded, then records each operation flow after the remote signal name for each remote signal that needs to be recorded, and records the corresponding operation conditions after each operation flow. Finally, a five-defense rule file is composed of each remote signal name, each operation flow corresponding to the remote signal name, and the operation conditions corresponding to each operation flow, which improves the standardization of the writing of the five-defense rules and reduces the complexity of writing and parsing the five-defense rules.

[0059] Figure 2 A flowchart of another five-defense rule writing method provided by an embodiment of the present invention, such as Figure 2 As shown, the five-defense rule writing method provided in this embodiment includes:

[0060] Step S201, determine whether there is a remote signal that needs to be recorded.

[0061] This embodiment provides a logic flow chart for judging when writing the five-defense rule. First, each remote signal in the power grid is traversed to determine whether there is a remote signal that needs to be recorded. If so, the remote signal name is recorded, that is, step S202 is executed. If it is determined after the traversal that there is no remote signal that needs to be recorded, it means that all remote signals have been recorded, and the writing of the five-defense rule can be completed.

[0062] Step S202, record the remote signal name.

[0063] Step S203, determining whether there is any remote signaling operation that needs to be recorded.

[0064] For each remote signaling name, it is necessary to determine whether there is a remote signaling operation that needs to be recorded. Each remote signal may correspond to one or more remote signaling operations. If there is, step S204 is executed. Otherwise, it means that the current remote signaling name has no remote signaling operation that needs to be recorded, and the next remote signaling name can be recorded and determined, that is, step S201 is executed.

[0065] Step S204, recording the operation flow.

[0066] Each telesignaling operation is represented by an operation flow.

[0067] Step S205, determining whether there are any operating conditions that need to be recorded.

[0068] After recording the operation flow, randomly determine whether the operation flow corresponding to the current telesignal name has an operation condition that needs to be recorded. The operation condition may exist or not, that is, the operation flow of the telesignal operation can be executed in any case or needs to be executed under specific conditions. If there is an operation condition that needs to be recorded, execute step S206, otherwise execute step S203 to record and determine whether there are other telesignal operations that need to be recorded for the current telesignal name.

[0069] Step S206, recording corresponding operating conditions.

[0070] Each operation flow direction may correspond to one or more operation conditions, and multiple operation conditions may be separated by logical operators.

[0071] Figure 3 A schematic diagram of the structure of the five-defense rule writing device provided in an embodiment of the present invention, such as Figure 3 As shown, the five-defense rule writing device provided in this embodiment includes:

[0072] The name recording module 31 is used to record the name of each remote signal that needs to be recorded.

[0073] The rule recording module 32 is used to record each operation flow after the name of each remote signal that needs to be recorded, and to record the corresponding operation condition after each operation flow.

[0074] The file generation module 33 is used to form a five-defense rule file by including each remote signal name, each operation flow direction corresponding to the remote signal name, and the operation condition corresponding to each operation flow direction.

[0075] The five-defense rule writing device provided in this embodiment is used to implement Figure 1 The technical solution of the five-defense rule writing method shown has similar implementation principles and technical effects, which will not be repeated here.

[0076] exist Figure 3 On the basis of the illustrated embodiment, the rule recording module 32 is specifically used to determine whether there is a telesignaling operation that needs to be recorded for each telesignaling that needs to be recorded; if so, record the operation flow after the recorded telesignaling name, otherwise continue to determine whether other telesignals that need to be recorded have telesignaling operations that need to be recorded; determine whether there are operation conditions that need to be recorded in the recorded operation flow; if so, record the corresponding operation conditions after the recorded operation flow, otherwise continue to determine whether there are other operation conditions in the recorded operation flow.

[0077] exist Figure 3On the basis of the illustrated embodiment, the file generation module 33 is specifically used to record each operation flow corresponding to the telesignal name after each telesignal name, wherein each operation flow is located in a separate line, and the last operation flow corresponding to each telesignal name includes a first terminator, and other operation flows include a second terminator; between each operation flow and the terminator, there are separators and operation conditions corresponding to the operation flow, wherein the logical relationship between the multiple operation conditions corresponding to each operation flow is represented by logical operators; the records corresponding to each telesignal constitute a five-defense rule file.

[0078] exist Figure 3 On the basis of the illustrated embodiment, the name recording module 31 is specifically used to traverse the remote signal name list, and judge in turn whether each remote signal is a remote signal that needs to be recorded; if the current remote signal is judged to be a remote signal that needs to be recorded, the remote signal name is recorded.

[0079] The present invention also provides a storage medium containing computer executable instructions, which are used to execute a five-defense rule writing method when executed by a computer processor. The method includes: for each remote signal that needs to be recorded, record the remote signal name; for each remote signal that needs to be recorded, record each operation flow after the remote signal name, and record the corresponding operation condition after each operation flow; a five-defense rule file is composed of each remote signal name, each operation flow corresponding to the remote signal name, and the operation condition corresponding to each operation flow.

[0080] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A five-defense rule writing method, characterized in that: include: For each remote signal that needs to be recorded, record the remote signal name; For each remote signal that needs to be recorded, record each operation flow after the remote signal name, and record the corresponding operation conditions after each operation flow. The operation flow includes the state before the operation and the state after the operation; The five-prevention rule file is composed of each remote signal name, each operation flow direction corresponding to the remote signal name, and the operation conditions corresponding to each operation flow direction; The five-prevention rule file is composed of each remote signal name, each operation flow corresponding to the remote signal name, and the operation conditions corresponding to each operation flow, including: Each operation flow direction corresponding to the remote signal name is recorded after each remote signal name, wherein each operation flow direction is located in a separate line, and the last operation flow direction corresponding to each remote signal name includes the first terminator, and the other operation flows include the second terminator; Between each operation flow and the terminator, there are a separator and an operation condition corresponding to the operation flow, wherein the logical relationship between the multiple operation conditions corresponding to each operation flow is represented by a logical operator, wherein the logical relationship includes "and" and "or" relationships; The five-defense rule file is composed of records corresponding to each remote signal; For each remote signal that needs to be recorded, each operation flow is recorded after the remote signal name, and the corresponding operation conditions are recorded after each operation flow, including: For each remote signal that needs to be recorded, determine whether there is a remote signal operation that needs to be recorded; If it exists, the operation direction will be recorded after the recorded remote signal name, otherwise, continue to determine whether other remote signals that need to be recorded have remote signal operations that need to be recorded; Determine whether the recorded operation flow has operation conditions that need to be recorded; If so, the corresponding operation condition is recorded after the recorded operation flow, otherwise, it is continued to determine whether there are other operation conditions in the recorded operation flow.

2. The method according to claim 1, characterized in that For each remote signal that needs to be recorded, record the remote signal name, including: Traverse the remote signal name list and determine in turn whether each remote signal is the remote signal that needs to be recorded; If the current telesignal is determined to be the telesignal that needs to be recorded, the name of the telesignal is recorded.

3. The method according to claim 1, characterized in that The remote signal name is the abbreviation of remote signal.

4. A five-defense rule writing device, characterized in that: include: The name recording module is used to record the name of each remote signal that needs to be recorded; A rule recording module is used to record each operation flow after the remote signal name for each remote signal that needs to be recorded, and to record the corresponding operation conditions after each operation flow, wherein the operation flow includes a pre-operation state and a post-operation state; A file generation module is used to form a five-defense rule file by each remote signal name, each operation flow direction corresponding to the remote signal name, and the operation conditions corresponding to each operation flow direction; The file generation module is specifically used to record each operation flow corresponding to the remote signal name after each remote signal name, wherein each operation flow is located in a separate line, and the last operation flow corresponding to each remote signal name includes a first terminator after it, and other operation flows include a second terminator after them; Between each operation flow and the terminator, there are a separator and an operation condition corresponding to the operation flow, wherein the logical relationship between the multiple operation conditions corresponding to each operation flow is represented by a logical operator, wherein the logical relationship includes "and" and "or" relationships; The five-defense rule file is composed of records corresponding to each remote signal; The rule recording module is specifically used to determine whether there is a telesignaling operation that needs to be recorded for each telesignaling that needs to be recorded; if so, record the operation flow after the recorded telesignaling name, otherwise continue to determine whether other telesignals that need to be recorded have telesignaling operations that need to be recorded; determine whether there are operation conditions that need to be recorded in the recorded operation flow; if so, record the corresponding operation conditions after the recorded operation flow, otherwise continue to determine whether there are other operation conditions in the recorded operation flow.

5. The device according to claim 4, characterized in that The name recording module is specifically used to traverse the remote signal name list, and judge in turn whether each remote signal is a remote signal that needs to be recorded; if the current remote signal is judged to be a remote signal that needs to be recorded, the remote signal name is recorded.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the five-defense rule writing method as described in any one of claims 1 to 3 is implemented.

Citation Information

Patent Citations

  • Method and system for automatically generating anti-sabotage, anti-blocking, water irrigation, breathing, fire burning logic rules of substation

    CN101923346A